/* Responsive layouts shared by the storefront, client area and administration. */
.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}
.panel-nav-toggle{display:none}
.mobile-cell-label{display:none}
.mobile-cell-value{min-width:0}
.checkout-grid,.domain-step-grid,.panel-main{overflow-wrap:anywhere}
html:not(.js) [data-menu-toggle]{display:none}

@media screen and (max-width:1024px){
    .header-inner{height:80px;gap:12px}
    .header-account{margin-left:auto}
    .mobile-toggle{display:inline-flex;order:3;width:44px;height:44px;margin:0;padding:10px}
    .main-nav{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:16px 24px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 15px 25px #082b5910}
    .js .main-nav:not(.open){display:none}
    .main-nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:15px;border-radius:8px}
    .main-nav a:hover,.main-nav a.current{background:var(--light-blue)}
    .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .hero .highlight{white-space:normal}
    .hero-grid>*,.checkout-grid>*,.domain-step-grid>*,.form-layout>*,.dashboard-grid>*,.footer-grid>*,.plans-grid>*,.service-grid>*{min-width:0}
    .plan-features li,.plan-description{white-space:normal}
}

@media screen and (max-width:900px){
    .panel-shell{display:block}
    .sidebar{position:relative;inset:auto;width:100%;overflow:visible;border-right:0;border-bottom:1px solid var(--line);padding:12px 20px;background:#fff}
    .sidebar-top{margin:0;min-height:56px}
    .sidebar-top .brand{margin:0}
    .sidebar>.sidebar-label,.side-nav>.sidebar-label,.sidebar-bottom{display:none}
    .panel-nav-toggle{display:inline-flex;gap:8px;min-height:44px;padding:10px 12px;background:var(--light-blue);color:var(--navy);font-size:14px;font-weight:650}
    .side-nav,.js .side-nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--line);overflow:visible}
    .js .side-nav:not(.open){display:none}
    .side-nav>a{min-height:46px;white-space:normal;border-radius:9px;font-size:14px;padding:10px 12px;gap:9px}
    .side-nav>a .icon{width:19px;height:19px}
    .panel-area{margin-left:0;width:100%}
    .panel-header{height:auto;min-height:70px;padding:12px 20px;gap:12px}
    .panel-header>a{min-height:44px;font-size:13px;flex-shrink:0}
    .user-menu{min-width:0;font-size:13px;gap:8px}
    .user-menu>span:not(.avatar){min-width:0;max-width:190px;overflow-wrap:anywhere}
    .user-menu small{font-size:11px}
    .user-menu .avatar{flex-shrink:0;width:34px;height:34px}
    .user-menu form{margin:0;flex-shrink:0}
    .user-menu .icon-button{width:44px;height:44px}
    .panel-main{padding:28px 20px 48px}
    .page-heading{flex-wrap:wrap;align-items:flex-start;gap:16px}
    .page-heading>div{min-width:0}
    .page-heading h1{font-size:30px}
    .page-heading p{font-size:14px}
    .page-heading>.button{font-size:14px;min-height:46px;margin:0;padding:12px 16px}
    .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .stat-card{padding:18px 14px;align-items:flex-start}
    .stat-card>div>span{font-size:12px}
    .stat-card strong{font-size:clamp(20px,3vw,28px);overflow-wrap:anywhere}
    .dashboard-grid,.form-layout,.admin-order-layout{grid-template-columns:minmax(0,1fr)}
    .dashboard-grid>section:nth-child(2),.form-layout>aside{display:block}
    .form-layout>aside{order:2}
    .card-header{gap:12px;flex-wrap:wrap}
    .card-header h2{font-size:18px}
    .card-header>a{font-size:13px;min-height:44px}
    .list-item{flex-wrap:wrap;gap:10px}
    .list-item>div{min-width:0;flex:1 1 180px}
    .list-item>div>strong{font-size:14px;overflow-wrap:anywhere}
    .list-item small{font-size:12px}
    .badge{font-size:12px;padding:5px 9px}
    .tabs{flex-wrap:wrap;gap:6px;overflow:visible;border:0;padding:4px;background:#eaf0f8;border-radius:12px}
    .tabs a{display:flex;justify-content:center;align-items:center;flex:1 1 130px;white-space:normal;min-height:46px;padding:10px 12px;font-size:14px;border:0;border-radius:8px;text-align:center}
    .tabs a.active{background:#fff;box-shadow:0 2px 8px #082b5908}
    .service-grid{grid-template-columns:minmax(0,1fr)}
    .service-card h2,.ticket-card h2,.admin-order-layout h3{overflow-wrap:anywhere}
    .key-value{align-items:flex-start;flex-wrap:wrap;gap:8px 16px;font-size:14px}
    .key-value>*{min-width:0;overflow-wrap:anywhere}
    .key-value>:last-child{margin-left:auto;text-align:right;max-width:100%}
    .message-header strong{font-size:14px;flex-wrap:wrap}
    .message-header time{font-size:12px}
    .message p,.service-card p,.empty-state p,.admin-order-layout p,.support-card-body p{font-size:14px}
    .staff-label{font-size:10px}
    .form-actions{flex-wrap:wrap}
    .form-actions>a{min-height:44px;display:inline-flex;align-items:center}
    .form-layout .stack-form>.button,.profile-card .button{align-self:stretch}
    .domain-admin-price-form{grid-template-columns:minmax(0,1fr);gap:16px}
    .domain-admin-price-form>*{grid-column:1!important;min-width:0}
}

@media screen and (max-width:760px){
    html{scroll-padding-top:24px}
    body{font-size:16px;line-height:1.65}
    .container{width:calc(100% - 32px)}
    .section{padding-block:48px}
    .button{min-height:48px;padding:12px 18px;font-size:14px;white-space:normal;text-align:center;line-height:1.45}
    button,.icon-button{touch-action:manipulation}
    .text-button{min-height:44px;font-size:14px;padding-block:10px}
    .header-inner{height:76px;gap:6px}
    .header-account{min-height:44px;padding:10px 12px;font-size:12px;line-height:1.2}
    .announcement{min-height:32px;height:auto;padding:7px 16px;font-size:10px}
    .announcement-right{display:none}
    .hero{padding:34px 0 24px}
    .hero-grid{grid-template-columns:minmax(0,1fr)}
    .hero-copy{width:100%;padding:0;text-align:left}
    .hero h1{font-size:clamp(34px,9.6vw,48px);line-height:1.12;letter-spacing:-.04em;margin-bottom:20px}
    .hero .highlight{white-space:normal}
    .hero-lead{font-size:16px;line-height:1.75;max-width:none;margin:0 0 24px}
    .hero .pill{font-size:9px;letter-spacing:.07em;margin-bottom:20px}
    .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;justify-items:stretch}
    .hero-actions .button{font-size:15px;min-height:50px}
    .hero-actions .text-link{min-height:44px;justify-content:center;font-size:14px}
    .hero-points{justify-content:flex-start;gap:10px 15px;font-size:11px;margin-top:20px}
    .hero-art{width:100%;min-width:0;left:auto;transform:none;transform-origin:center;margin:20px 0 0;min-height:330px;padding:25px 14px 50px}
    .domain-window{width:min(100%,330px);transform:rotate(-2deg)}
    .orbit{width:90%;height:290px}
    .orbit-two{width:100%;height:220px}
    .tag-py{left:0;top:0;max-width:145px;padding:9px 12px;font-size:15px}
    .tag-host{right:0;bottom:12px;font-size:12px;padding:10px 12px}
    .window-body>strong{font-size:29px}
    .art-caption,.orbit-dot{display:none}
    .domain-section .section-heading h2,.section-heading.centered h2{font-size:30px}
    .section-heading p,.search-note,.migration-inline{font-size:13px}
    .section-heading .eyebrow{font-size:10px}
    .domain-search{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;padding:10px}
    .domain-search>.icon{display:none}
    .domain-search input{width:100%;min-width:0;font-size:16px;padding:12px 8px}
    .domain-search select{width:100%;max-width:none;min-height:48px;font-size:16px;padding:10px 6px}
    .domain-search>.button{grid-column:1/-1;font-size:15px;min-height:48px}
    .extension-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .extension-item{min-height:48px;padding:10px 6px;gap:5px;flex-direction:column;background:var(--paper);border-radius:9px}
    .extension-item b{font-size:18px}
    .extension-item span{font-size:12px}
    .domain-result-head{align-items:stretch}
    .domain-result-actions{display:flex;flex-direction:column;gap:10px}
    .domain-result-actions .button{width:100%;font-size:14px;min-height:48px}
    .domain-results{padding:18px}
    .domain-result-head p,.domain-result-note{font-size:13px}
    .domain-suggestions button{min-height:44px;font-size:13px;padding:9px 13px}
    .trust-strip{gap:18px 10px}
    .trust-strip>div,.trust-strip>span{font-size:12px;max-width:none}
    .plans-grid{grid-template-columns:minmax(0,1fr);max-width:480px;margin-inline:auto;gap:38px}
    .plan-card,.plan-card.featured{padding:24px;--capacity-inset-x:24px;--capacity-inset-y:24px}
    .plan-capacity{padding:20px 22px 16px}
    .plan-card h3{font-size:27px}
    .plan-description,.plan-billing{font-size:14px;white-space:normal}
    .plan-price strong,.plans-grid.annual .plan-price strong{font-size:clamp(32px,10vw,42px)}
    .plan-price>span{font-size:14px}
    .plan-price>span>span{font-size:12px}
    .plan-cta{font-size:15px;min-height:48px}
    .plan-features-title{font-size:13px}
    .plan-features li{font-size:14px;white-space:normal;align-items:flex-start;gap:9px}
    .plan-features .icon{margin-top:4px}
    .plans-note{font-size:12px}
    .billing-control{flex-wrap:wrap;gap:12px;margin-bottom:42px}
    .billing-toggle button{min-height:44px;font-size:14px;padding:10px 22px}
    .discount-pill{font-size:12px}
    .popular-label{font-size:11px}
    .capacity-number strong{font-size:48px}
    .capacity-label{font-size:10px}
    .capacity-caption{font-size:11px}
    .why-grid>div>p,.benefit p,.faq-grid p,.faq-list details p{font-size:14px}
    .benefits-grid{grid-template-columns:minmax(0,1fr);gap:26px}
    .benefit h3{font-size:20px}
    .faq-list summary{min-height:48px;font-size:16px}
    .cta-section{padding:28px 24px}
    .cta-section h2{font-size:30px}
    .cta-section .button{width:100%;font-size:14px}
    .footer-grid{grid-template-columns:minmax(0,1fr);gap:18px}
    .footer-grid>div:first-child{grid-column:auto}
    .footer-grid p,.local-label{font-size:13px}
    .footer-grid h3{font-size:16px;margin-bottom:8px}
    .footer-grid>div>a:not(.brand){font-size:14px;min-height:44px;display:flex;align-items:center;margin:0}
    .footer-bottom{font-size:12px;overflow-wrap:anywhere}
    .auth-section,.domain-step-grid,.checkout-grid{grid-template-columns:minmax(0,1fr);gap:26px;padding-block:36px}
    .auth-intro h1,.domain-step-grid h1,.checkout-grid h1{font-size:34px;line-height:1.15}
    .auth-intro p,.domain-step-grid .lead,.checkout-grid .lead{font-size:15px}
    .auth-card,.padded,.domain-step-grid .padded,.checkout-card{padding:22px}
    .stack-form label,.domain-admin-price-form label{font-size:14px}
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px;min-height:48px;width:100%;max-width:100%}
    .password-field input{width:0!important}
    .password-field button{min-width:52px;min-height:48px;font-size:13px}
    .checkbox,.stack-form label.checkbox{font-size:14px;align-items:flex-start;gap:10px;line-height:1.65}
    input[type=checkbox],input[type=radio]{width:20px;height:20px;flex:0 0 20px;accent-color:var(--blue)}
    .auth-switch,.auth-card>p,.stack-form>p{font-size:14px}
    .form-row{grid-template-columns:minmax(0,1fr)}
    .checkout-card{position:static;align-self:start}
    .checkout-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
    .checkout-steps span{font-size:13px}
    .checkout-total{flex-wrap:wrap;gap:8px;align-items:baseline}
    .checkout-total>span{font-size:14px}
    .checkout-total strong{font-size:30px;margin-left:auto;overflow-wrap:anywhere}
    .checkout-service{gap:12px;align-items:flex-start}
    .checkout-service>div{min-width:0}
    .checkout-service h2{font-size:23px}
    .checkout-card p,.checkout-card>.muted,.bundle-note,.checkout-service p{font-size:14px;overflow-wrap:anywhere}
    .checkout-breakdown .key-value{font-size:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
    .checkout-breakdown strong{font-size:14px}
    .checkout-tariffs>div{grid-template-columns:minmax(0,1fr)}
    .checkout-tariffs>div>span{font-size:13px}
    .checkout-tariffs strong{font-size:22px}
    .hosting-assignment>strong{font-size:18px}
    .hosting-assignment p,.hosting-assignment a{font-size:14px}
    .selected-hosting{align-items:flex-start;gap:14px}
    .selected-hosting>div{min-width:0}
    .selected-hosting h2{font-size:24px}
    .selected-hosting p{font-size:14px}
    .domain-mode-option strong{font-size:15px}
    .domain-mode-option small,.domain-mode-options legend{font-size:13px}
    .migration-steps h3{font-size:19px}
    .migration-steps p{font-size:14px}
    .panel-migration{flex-direction:column;align-items:stretch}
    .panel-migration .button{font-size:14px;min-height:46px}
    .domain-price-grid{grid-template-columns:minmax(0,1fr)}
    .domain-price-card .button{min-height:46px;font-size:14px}
    .local-domain-card{grid-template-columns:minmax(0,1fr)}
    .local-domain-card .domain-price-heading,.local-domain-card>.button{grid-column:auto}
    .domain-price-offer>span,.domain-price-regular>span{font-size:13px}
    .domain-price-offer>strong,.local-domain-card .domain-price-offer>strong,.local-domain-card .domain-price-regular>strong{font-size:27px}
    .domain-price-regular>strong{font-size:20px}
    .info-box{min-width:0;padding:16px;gap:10px}
    .info-box>div{min-width:0;overflow-wrap:anywhere}
    .info-box p,.info-box a{font-size:14px}
    .invoice-actions{flex-wrap:wrap;gap:12px}
    .invoice-actions .button,.invoice-actions>a{font-size:14px;min-height:44px}
    .invoice-document{padding:20px 16px}
    .invoice-top{flex-direction:column;gap:18px}
    .invoice-number{text-align:left}
    .invoice-meta{padding-block:22px}
    .invoice-meta>div{font-size:14px}
    .invoice-document table{min-width:0;table-layout:fixed}
    .invoice-document table td,.invoice-document table th{font-size:12px;padding:14px 4px}
    .invoice-document table th{font-size:11px!important;white-space:normal}
    .invoice-document th:first-child{width:58%}
    .invoice-document th:nth-child(2){width:12%}
    .invoice-document th:last-child{width:30%}
    .invoice-document td:last-child{white-space:normal;overflow-wrap:anywhere}
    .invoice-total{align-items:baseline;flex-wrap:wrap;gap:8px}
    .invoice-total>span{font-size:14px}
    .invoice-total strong{font-size:27px;margin-left:auto}
    .invoice-disclaimer{font-size:12px}
    .mobile-table,.mobile-table tbody,.mobile-table tr{display:block;width:100%;white-space:normal}
    .mobile-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
    .mobile-table tbody{padding:14px}
    .mobile-table tbody tr{border:1px solid var(--line);border-radius:12px;padding:8px 14px;margin-bottom:14px;background:#fff}
    .mobile-table tbody tr:last-child{margin-bottom:0}
    .mobile-table td{display:grid;grid-template-columns:minmax(75px,30%) minmax(0,1fr);gap:12px;padding:11px 0;font-size:14px;border-bottom:1px solid #edf0f5;align-items:start;white-space:normal}
    .mobile-table tbody tr:last-child td{border-bottom:1px solid #edf0f5}
    .mobile-cell-label{display:block;color:var(--muted);font-size:12px;padding-top:2px}
    .mobile-cell-value{overflow-wrap:anywhere}
    .mobile-cell-value a{font-size:14px}
    .mobile-table td:last-child{border-bottom:0!important}
    .mobile-table td.mobile-actions{display:block;padding-bottom:8px}
    .mobile-actions .mobile-cell-label{display:none}
    .mobile-actions a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 14px;background:var(--light-blue);border-radius:8px;color:var(--blue);font-weight:650}
    .mobile-table td[colspan]{display:block}
}

@media screen and (max-width:380px){
    .panel-header{flex-wrap:wrap;gap:4px;padding:8px 16px}
    .user-menu{width:100%;justify-content:flex-end}
    .user-menu>span:not(.avatar){max-width:none;flex:1}
    .side-nav,.js .side-nav.open{grid-template-columns:minmax(0,1fr)}
    .stats-grid{grid-template-columns:minmax(0,1fr)}
    .stat-card strong{font-size:25px}
    .header-account{font-size:11px;padding:9px}
    .header-inner .brand-logo{width:122px}
    .brand-logo img{width:200px;left:-36px;top:-29px}
    .header-inner .brand-logo img{width:188px;left:-34px;top:-28px}
    .capacity-number strong{font-size:44px}
    .checkout-breakdown .key-value{grid-template-columns:minmax(0,1fr)}
    .checkout-breakdown .key-value strong{justify-self:end}
}

@media print{
    .panel-nav-toggle,.mobile-cell-label{display:none!important}
}
