/* Shared compact controls, preserving comfortable touch targets on phones. */
:root body :is(.button,.secondary-button,.small-button,.plan button,.billing button,.admin-tabs button){min-height:36px;height:auto;padding:8px 15px;line-height:1.35;border-radius:8px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
:root body .billing button{padding:7px 14px}
:root body :is(.cabinet-dropdown,.language-dropdown)>summary{background:transparent;border-color:transparent;box-shadow:none;min-width:0;min-height:38px;height:38px;padding:8px;gap:5px;border-radius:8px;display:flex;align-items:center;justify-content:center}
:root body :is(.cabinet-dropdown,.language-dropdown)>summary:hover{background:var(--surface,#ff5e1f0d);border-color:transparent}
:root body .theme-dropdown>summary [data-theme-label],:root body :is(.theme-dropdown,.user-dropdown)>summary .dropdown-chevron{display:none}
:root body .cabinet-dropdown>summary svg{width:20px;height:20px}
:root body>header{display:flex;align-items:center;gap:16px;min-height:88px}
:root body>header>.logo{margin-right:auto}
:root body>header>.language-dropdown{margin-left:0;margin-right:0}
:root body footer{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px}
:root body .brand-symbol{width:48px;height:44px;object-fit:contain}
:root body .account-sidebar{padding:20px 14px;overflow-y:auto}
:root body .account-sidebar .logo{min-height:44px;display:flex;justify-content:flex-start;padding-left:8px}
:root body .account-sidebar .sidebar-label{margin:26px 10px 14px}
:root body .account-sidebar nav a{padding:10px;gap:10px;min-height:38px}
:root body .account-sidebar nav .nav-text{font-size:12px;line-height:1.4}
.nav-icon{width:19px;height:19px;flex:0 0 19px}
.sidebar-collapse{position:static;justify-self:end;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:5px;border:0;border-radius:6px;background:transparent;color:var(--muted,#947968);cursor:pointer}
.sidebar-collapse svg{width:20px;height:20px}.sidebar-collapse:hover{background:#ff5e1f12}.sidebar-collapse:focus-visible{outline:2px solid #ff5e1f}
:root body .sidebar-bottom a{display:flex;align-items:center;gap:10px;padding:10px}
:root body .admin-tabs{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%}
.admin-tab-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.admin-group-label{flex:0 0 145px;font-size:11px;font-weight:600;color:var(--muted,#947968)}
:root body .admin-toolbar{align-items:flex-start;gap:20px}
@media(min-width:901px){
 :root body .account-layout.sidebar-collapsed{grid-template-columns:78px minmax(0,1fr)}
 :root body .sidebar-collapsed .account-sidebar{padding:20px 12px}
 :root body .sidebar-collapsed .account-sidebar .logo{padding:0;justify-content:center}
 :root body .sidebar-collapsed .sidebar-collapse{position:static;justify-self:center;margin:0 auto}
 :root body .sidebar-collapsed .sidebar-label{display:none}
 :root body .sidebar-collapsed .nav-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 :root body .sidebar-collapsed .nav-heading{font-size:0;height:1px;background:var(--line,#eee);padding:0;margin:14px 10px;display:block}
 :root body .sidebar-collapsed .account-sidebar nav a,:root body .sidebar-collapsed .sidebar-bottom a{justify-content:center;padding:10px}
 :root body .sidebar-collapsed .nav-group{margin:0}
}
@media(max-width:900px){.sidebar-collapse{display:none}:root body :is(.button,.secondary-button,.small-button,.plan button,.billing button,.admin-tabs button){min-height:40px}:root body>header{min-height:76px}.admin-group-label{flex-basis:100%}:root body .admin-toolbar{flex-direction:column}:root body footer{flex-wrap:wrap;padding:24px}:root body .account-sidebar .brand-symbol{width:42px;height:38px}}
:root body [hidden]{display:none!important}
@media(min-width:901px){:root body .mobile-menu-toggle{display:none}}
@media(min-width:901px){:root body .mobile-menu-toggle{display:none!important}}

:root body footer .footer-credits{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 28px;font-size:12px;line-height:1.7;color:#78675c}
:root body footer .footer-copyright{display:inline}
:root body footer .footer-maker{display:inline-flex;align-items:center;gap:6px}
:root body footer .footer-maker a{font-weight:600;color:#9a3b15;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
:root body footer .footer-maker a:hover{color:#cc4715}
@media(max-width:600px){:root body footer .footer-credits{flex-direction:column;align-items:flex-start;gap:6px}}

/* Mobile: readable plan list and a single-column navigation panel. */
.mobile-menu-toggle svg{width:18px;height:18px;flex-shrink:0}.mobile-menu-toggle .menu-cross{display:none}.menu-open>.mobile-menu-toggle .menu-lines{display:none}.menu-open>.mobile-menu-toggle .menu-cross{display:block}
@media(max-width:900px){
 :root body .account-sidebar{overflow:visible;position:relative;padding:12px 16px}
 :root body .account-sidebar nav{grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0 0;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#fff)}
 :root body .account-sidebar .nav-group{display:grid;gap:2px;margin:0}
 :root body .account-sidebar .nav-heading{margin:8px 12px 4px;font-size:10px;letter-spacing:1px}
 :root body .account-sidebar nav a{min-height:44px;padding:10px 12px}
 :root body .account-sidebar nav .nav-text{font-size:14px}
 :root body .account-sidebar .sidebar-bottom{padding-top:8px}
 :root body .account-sidebar .sidebar-bottom a{min-height:44px}
 :root body .account-topbar{min-height:52px;padding:6px 16px;justify-content:flex-end}
 :root body>header.responsive-navigation{padding:12px 16px;gap:10px;min-height:72px}
 :root body>header.responsive-navigation>.logo .brand-horizontal{width:min(200px,52vw);height:auto}
 :root body .mobile-menu-toggle{min-width:44px;min-height:44px;padding:10px 12px;border-color:var(--line);background:transparent}
 :root body>header.responsive-navigation.menu-open nav{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#fff);max-height:65dvh;overflow-y:auto}
 :root body .mobile-menu-actions{padding-top:8px;margin-top:0;gap:8px}
 :root body .mobile-only-navigation .mobile-menu-actions{border:0;padding:0}
 :root body .mobile-menu-actions .language-dropdown summary{height:44px;justify-content:flex-start}
 :root body .mobile-menu-actions .home-auth-actions>*{min-height:44px}
}
@media(max-width:600px){
 :root body .plan-slider #plan-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;overflow:visible;scroll-snap-type:none;margin:0;padding:22px 0 0}
 :root body .plan-slider #plan-grid>.plan{width:100%;padding:22px 18px;flex-basis:auto}
 :root body .plan-slider .plan h3{font-size:22px;margin:0 0 8px}
 :root body .plan-slider .plan .subtitle{min-height:0;font-size:13px;line-height:1.5;margin-bottom:12px}
 :root body .plan-slider .plan .price{font-size:36px;margin:0 0 4px}
 :root body .plan-slider .plan .annual{margin-bottom:14px}
 :root body .plan-slider .plan .specs{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin:14px 0 20px;padding:16px 0 0;border-top:1px solid var(--line)}
 :root body .plan-slider .plan .specs li{display:block;margin:0;font-size:11px;line-height:1.5}
 :root body .plan-slider .plan .specs li:before{display:none}
 :root body .plan-slider .plan .specs b{display:block;font-size:14px}
 :root body .plan-slider .plan>button{width:100%;min-height:44px;justify-content:space-between}
 :root body .plan-slider-controls{display:none!important}
 :root body .billing{display:flex;gap:8px;max-width:100%}
 :root body .billing button{min-height:44px;flex:1;white-space:normal}
}
/* Configurator: one shared control width and equal neighbouring columns. */
:root body .account-configurator{--config-control-width:600px}
:root body .account-configurator :is(.selection-grid,#vps-systems,.datacenter-select,.network-options,.ssh-card){width:100%;max-width:var(--config-control-width);min-width:0;box-sizing:border-box}
:root body .account-configurator :is(.selection-grid,#vps-systems){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
:root body .account-configurator .choice{width:100%;max-width:none;min-width:0;margin:0;padding:12px;box-sizing:border-box;overflow-wrap:anywhere}
:root body .account-configurator #vps-systems .choice{padding:10px 12px;min-height:56px;gap:10px}
:root body .account-configurator .resource-grid .choice{min-height:42px;justify-content:center}
:root body .account-configurator .cpu-types .choice{padding:12px;gap:6px}
:root body .account-configurator .datacenter-select select{width:100%;min-height:42px;padding:9px 12px;margin-top:8px}
:root body .account-configurator .ssh-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
:root body .account-configurator .ssh-actions :is(label,button){width:100%;min-width:0;margin:0;padding:9px 12px;box-sizing:border-box;justify-content:center;text-align:center;white-space:normal}
:root body .account-configurator .ssh-card textarea{width:100%;box-sizing:border-box}
:root body .account-configurator .network-option{display:grid;grid-template-columns:minmax(0,1fr) 100px;padding:14px;gap:12px}
:root body .account-configurator .network-option input[type=checkbox]{justify-self:end}
:root body .account-configurator .ipv4-control{width:100%;min-width:0}
:root body .account-configurator .summary-card>:is(button,.button,.secondary-button){width:100%;box-sizing:border-box}
@media(max-width:600px){
 :root body .account-configurator .choice{padding:10px;font-size:12px}
 :root body .account-configurator #vps-systems .choice{padding:10px;gap:8px}
 :root body .account-configurator .choice-head{font-size:13px;flex-wrap:wrap;gap:6px}
 :root body .account-configurator .choice-head i{font-size:14px}
 :root body .account-configurator .network-option{grid-template-columns:minmax(0,1fr) 80px;padding:12px}
 :root body .account-configurator .ssh-actions :is(label,button){min-height:44px;font-size:12px;padding:8px}
}

/* Keep New visible even when compact pricing overrides card padding. */
:root body .plan-slider #plan-grid>.plan.has-new,:root body .account-configurator .choice.has-new{padding-top:48px}
:root body .plan .new-badge{z-index:2;top:12px;left:14px;background:#fff1e9;border:1px solid #ffb18b;color:#9b350b;font-size:11px}
:root body .location-editor-card{padding:20px;border-radius:12px}
:root body .location-editor-card h3{font-size:17px;line-height:1.5;margin-bottom:16px}
:root body .location-editor-card .editor-fields{gap:12px}
:root body .location-editor-card .editor-fields label{margin:0;gap:6px}
:root body .location-editor-card .check-label{padding:10px 12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;margin:12px 0}
:root body .location-editor-card .field-help{margin-bottom:0}
.toast-region{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:10000;width:min(480px,calc(100% - 32px));display:grid;gap:10px;pointer-events:none}
.fc-toast{display:flex;align-items:center;gap:12px;padding:13px 14px;background:#fff;color:#27352f;border:1px solid #d4e4da;border-radius:12px;box-shadow:0 8px 32px #0002;font-size:13px;line-height:1.5;pointer-events:auto;overflow-wrap:anywhere}
.toast-icon{display:grid;place-items:center;flex:0 0 25px;height:25px;background:#e7f5ec;color:#187345;border-radius:50%;font-weight:800}
.fc-toast.error{border-color:#e6bdbd}.fc-toast.error .toast-icon{background:#ffe9e9;color:#b32d2d}
.fc-toast.info .toast-icon{background:#fff1e7;color:#aa501f}
.fc-toast>span:nth-child(2){flex:1;min-width:0}
:root body .fc-toast>button{display:grid;place-items:center;flex:0 0 32px;height:32px;background:transparent;color:inherit;border:0;border-radius:6px;font-size:22px;padding:0}
html[data-theme=dark] .fc-toast{background:#282522;color:#f4eee9;border-color:#514a43}
@media(max-width:500px){:root body .location-editor-card .editor-fields{grid-template-columns:minmax(0,1fr)}}
.location-publish-status{font-size:12px;line-height:1.6;color:var(--text);border-left:3px solid #ff5e1f;padding:8px 12px;background:#ff5e1f0a;border-radius:0 6px 6px 0}
/* Administration: aligned controls, compact records, and readable actions. */
.admin-page .product-main{max-width:1440px}
:root body.admin-page :is(.editor-fields,.editor-grid){align-items:start}
:root body.admin-page :is(.editor-card,.settings-card,.os-group-manager){border-radius:12px;padding:22px}
:root body.admin-page label:not(.check-label){font-size:12px;line-height:1.5}
:root body.admin-page :is(input:not([type=checkbox]):not([type=radio]),select){height:40px;padding:9px 12px;line-height:20px;border-radius:7px;box-sizing:border-box}
:root body.admin-page textarea{padding:10px 12px;border-radius:7px;resize:vertical}
:root body.admin-page label:has(>input[type=checkbox]),:root body.admin-page .check-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:40px;line-height:1.5;margin:8px 0}
:root body.admin-page :is(input[type=checkbox],input[type=radio]){width:17px;height:17px;min-width:17px;flex:0 0 17px;margin:0;align-self:center;accent-color:#ff5e1f}
:root body.admin-page .editor-fields label:not(.check-label){display:flex;flex-direction:column;gap:7px;margin-bottom:14px}
:root body.admin-page .editor-card fieldset{padding:14px;border-radius:8px}
.os-group-manager{border:1px solid var(--line);margin-bottom:20px;background:var(--panel)}
.os-group-manager h3{margin-top:0;font-size:17px}
#os-group-form,.customer-search{display:flex;gap:12px;align-items:flex-end;margin:18px 0;max-width:680px}
#os-group-form>label,.customer-search>label{display:grid;gap:7px;flex:1;min-width:0;margin:0}
:root body.admin-page :is(#os-group-form,.customer-search)>button{min-height:40px;flex-shrink:0;margin:0}
.os-group-list{display:flex;flex-wrap:wrap;gap:8px}
.os-group-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;font-size:12px}
.os-group-chip button{background:transparent;border:0;color:inherit;font-size:19px;width:24px;height:24px}.os-group-chip button:disabled{opacity:.3;cursor:not-allowed}
.customer-table,.audit-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;border:1px solid var(--line);border-radius:10px;margin:16px 0 24px;background:var(--panel);table-layout:fixed}
.customer-table th,.audit-table th{text-align:left;color:var(--muted);font-size:11px;font-weight:600;background:var(--bg)}
.customer-table :is(th,td),.audit-table :is(th,td){padding:14px 16px;vertical-align:middle;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.customer-table tr:last-child td,.audit-table tr:last-child td{border-bottom:0}
.customer-table strong{display:block;font-size:13px}.customer-table small,.audit-table small{display:block;color:var(--muted);margin-top:5px;font-size:11px}
.customer-table th:nth-child(2){width:28%}.customer-table th:last-child{width:64px}.customer-table th:nth-child(3){width:130px}
.customer-state{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;font-size:11px;line-height:1.5;background:#5a8e7020;color:var(--text)}.customer-state:before{content:'';height:6px;width:6px;border-radius:50%;background:#27965a;margin-right:7px;flex-shrink:0}.customer-state.disabled{background:#bc4b4520}.customer-state.disabled:before{background:#c4473e}
.customer-actions-trigger{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--text);font-size:24px;line-height:1}
.customer-action-dialog{width:min(480px,calc(100% - 28px));max-height:85dvh;overflow-y:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:22px;box-shadow:0 20px 80px #0004}
.customer-action-dialog::backdrop{background:#14100d70;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-heading h3{font-size:18px;margin:0 0 6px}.dialog-heading>button{width:32px;height:32px;border:0;background:transparent;color:inherit;font-size:24px}
.customer-action-menu{display:grid;gap:6px}.customer-action-menu button{min-height:44px;text-align:left;padding:12px;border:0;border-radius:8px;color:var(--text);background:transparent;font:inherit}.customer-action-menu button:hover{background:#ff5e1f10}.customer-action-menu button:disabled{opacity:.45;cursor:not-allowed}.customer-action-menu .danger-action{color:#c7453c}
.customer-action-dialog form label{display:grid;gap:8px}.dialog-actions,.customer-pagination{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.dialog-actions>*{flex:1}
.document-request-notice p{white-space:pre-wrap}.document-request-notice a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.audit-table code{font-size:11px;white-space:normal;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.customer-table thead{display:none}.customer-table,.customer-table tbody{display:block}.customer-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px;border-bottom:1px solid var(--line)}.customer-table td{display:block;border:0;padding:6px;grid-column:1}.customer-table td:last-child{grid-column:2;grid-row:1/5;align-self:start}.customer-table td:nth-child(4){font-size:11px}.audit-table{table-layout:auto}.audit-table :is(th,td){padding:9px 6px;font-size:11px}.audit-table th:nth-child(2),.audit-table td:nth-child(2){display:none}.customer-action-dialog{padding:18px}#os-group-form,.customer-search{gap:8px}}
/* New plan ribbon: shared by public cards, admin preview and legacy choices. */
:root body :is(.plan,.editor-card,.choice).has-new{overflow:visible}
:root body :is(.plan,.editor-card,.choice)>.new-badge{position:absolute;z-index:3;top:-10px;left:-7px;padding:6px 13px;border:1px solid #ffffff40;border-radius:7px 7px 7px 2px;background:linear-gradient(115deg,#6d28d9 0%,#9333ea 52%,#c653cc 100%);color:#fff;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.5px;box-shadow:0 4px 12px #7c3aed30}
:root body .new-badge:after{content:'';position:absolute;left:-1px;top:100%;width:6px;height:5px;background:#55219b;clip-path:polygon(100% 0,100% 100%,0 0)}
:root body .plan-slider #plan-grid{padding-top:18px;padding-left:9px;padding-right:9px}
:root body .map-point{cursor:default;pointer-events:none}
:root body #country-borders{fill:none;stroke:#ad9685;stroke-width:.65;stroke-linejoin:round;stroke-linecap:round;pointer-events:none;opacity:.75}
html[data-theme=dark] #country-borders{stroke:#ad9685;opacity:.6}
@media(min-width:1680px){html:has(body.marketing-page){background:#f7f5f3}body.marketing-page{max-width:1600px;margin-inline:auto;box-shadow:0 0 100px 30px #8c604012}body.marketing-page header{max-width:1600px;margin-inline:auto}.admin-page .product-main{margin-inline:auto}body:not(.marketing-page) .account-main{max-width:1440px;margin-inline:auto}}
.personal-plan-list{border:1px solid var(--line);border-radius:9px;padding:12px;max-height:240px;overflow:auto}.personal-plan-list legend{font-size:12px;padding:0 6px}.customer-action-dialog hr{border:0;border-top:1px solid var(--line);margin:24px 0}.customer-action-dialog h3{font-size:17px}.customer-action-dialog [data-order] label{margin-bottom:14px}.plan-change-preview{background:#ff5e1f08;border:1px solid var(--line);border-radius:9px;padding:12px;font-size:12px;line-height:1.8}.customer-action-dialog:has([data-access]){width:min(620px,calc(100% - 28px))}
.solutions-section{padding:35px 5% 70px}.solutions-section h2{font-size:clamp(26px,3vw,40px);font-weight:500;letter-spacing:-1px}.solution-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}.solution-card{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--panel,#fff);min-width:0}.solution-kind{font-size:10px;letter-spacing:.08em;color:var(--accent)}.solution-card h3{font-size:20px;margin:0;line-height:1.3}.solution-card>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.solution-price{font-size:26px;letter-spacing:-.5px;margin:8px 0}.solution-price small{font-size:11px;letter-spacing:0}.solution-card>a{margin-top:auto;text-align:center}.plan-ipv6{display:block;margin-top:4px;font-size:9px!important}@media(max-width:1100px){.solution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.solution-grid{grid-template-columns:1fr}.solution-card{padding:20px}.solutions-section{padding-block:24px 40px}}
#location-heading{max-width:1000px;font-size:clamp(28px,3.5vw,52px);line-height:1.2;text-wrap:balance}
.location-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0 0}
.location-country{border:1px solid #e8e2dd;background:#fff;border-radius:12px;padding:20px;min-width:0}
.location-country h3{font-size:15px;margin:0 0 12px;display:flex;align-items:center;gap:9px}
.location-country ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 14px}
.location-country li{display:flex;align-items:center;gap:7px;font-size:13px;color:#786c63;overflow-wrap:anywhere}
.location-city-dot{width:5px;height:5px;border-radius:50%;background:#ff5e1f;flex-shrink:0}
@media(max-width:1000px){.location-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.location-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.location-country{padding:14px}}
@media(max-width:380px){.location-directory{grid-template-columns:1fr}}
/* One infrastructure panel; map geometry and marker rendering stay unchanged. */
#locations .map-panel{border:1px solid #e9e1db;border-radius:18px;background:#fefaf8;overflow:hidden;box-shadow:0 12px 40px #6b442608}
#locations .map-panel-header{padding:32px 34px 0}
#locations .map-panel-header .section-top{margin:0;display:block}
#locations .map-panel-header .eyebrow{margin-bottom:14px}
#locations .map-panel-header #location-heading{font-size:clamp(26px,3vw,42px);line-height:1.2;margin:0;max-width:1050px;letter-spacing:-.035em}
#locations .map-panel-header .demo-note{margin:14px 0 4px}
#locations .map-panel .map-layout{border:0;border-radius:0;background:transparent}
#locations .map-panel-directory{padding:24px 34px 30px;background:#ffffffb3;border-top:1px solid #e9e1db}
#locations .map-panel .location-directory{margin:0;gap:0;grid-template-columns:repeat(4,minmax(0,1fr))}
#locations .map-panel .location-country{border:0;border-radius:0;background:transparent;padding:15px 18px;box-shadow:none}
#locations .map-panel .location-country h3{font-size:14px;margin-bottom:8px}
#locations .map-panel .location-country li{font-size:12px}
#locations .map-panel #map-status{margin:0;padding:16px 34px}
@media(max-width:900px){#locations .map-panel .location-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#locations .map-panel{border-radius:12px}#locations .map-panel-header{padding:22px 18px 0}#locations .map-panel-directory{padding:12px 8px 18px}#locations .map-panel .location-directory{grid-template-columns:repeat(2,minmax(0,1fr))}#locations .map-panel .location-country{padding:12px 10px}}
@media(max-width:360px){#locations .map-panel .location-directory{grid-template-columns:1fr}}
/* Integration panels stay usable with long model names and provider IDs. */
.integration-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}.integration-form label{min-width:0;margin:0}.integration-form textarea{width:100%;box-sizing:border-box}.integration-actions{display:flex;gap:10px;flex-wrap:wrap}.integration-actions>*{flex:1;min-width:0}.integration-form .editor-fields{gap:14px}.ai-advisor{margin-top:28px;max-width:850px}.ai-advisor p,[data-servers] p{overflow-wrap:anywhere}[data-servers]{display:grid;gap:14px;margin-top:24px}[data-create]{margin-top:24px}.integration-form [data-resources]{min-width:0}.integration-form [data-network]{display:flex;gap:20px;flex-wrap:wrap}@media(max-width:600px){.integration-form .editor-fields{grid-template-columns:minmax(0,1fr)}.integration-actions{display:grid;grid-template-columns:minmax(0,1fr)}}

.integration-form .editor-fields{align-items:end}
.admin-authorize-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid var(--border,#ddd);border-radius:18px;box-sizing:border-box}
.admin-authorize-dialog form{display:grid;gap:16px}.admin-authorize-dialog label{display:grid;gap:7px}.admin-authorize-dialog [hidden]{display:none!important}.admin-authorize-dialog input{width:100%;box-sizing:border-box}.admin-authorize-dialog .security-actions{display:flex;flex-wrap:wrap;gap:10px}.admin-authorize-dialog::backdrop{background:#10182688;backdrop-filter:blur(4px)}
.admin-authorize-dialog h2{font-size:24px;margin:0 0 12px}.admin-authorize-dialog p{margin:0 0 16px}.admin-authorize-dialog form{margin:0}.admin-authorize-dialog form label{margin:0}.admin-authorize-dialog [role=status]:empty{display:none}.admin-authorize-dialog .security-actions{margin:0;align-items:center}.admin-authorize-dialog .security-actions button{height:38px;min-height:38px;padding:0 14px;margin:0;line-height:1.2;flex:1 1 auto}.admin-authorize-dialog input{height:42px;min-height:42px;margin:0}
/* Compact, consistently aligned form controls. */
.secret-field{position:relative;display:block;width:100%;min-width:0}.secret-field input{width:100%;box-sizing:border-box;padding-right:48px!important}.secret-field .secret-toggle{position:absolute!important;right:4px;top:50%;transform:translateY(-50%);width:36px!important;height:34px!important;min-height:0!important;min-width:0!important;padding:7px!important;margin:0!important;border:0!important;border-radius:7px;background:transparent!important;color:inherit;box-shadow:none!important;display:flex;align-items:center;justify-content:center}.secret-toggle svg{width:20px;height:20px}.secret-toggle:hover{opacity:.7}.secret-toggle:focus-visible{outline:2px solid #ff5e1f;outline-offset:1px}
.communication-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}#communication-form .settings-card{min-width:0;display:flex;flex-direction:column;gap:14px}#communication-form label{margin:0}#communication-form input:not([type=checkbox]),#communication-form select{height:40px;min-height:40px;margin:0;box-sizing:border-box;width:100%}#communication-form p{margin:0}#communication-form h3{margin:5px 0}.admin-page .security-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.admin-page .security-actions>button,.admin-page #communication-form>button{min-height:38px;height:auto;padding:10px 16px;line-height:1.2;margin:0}.admin-page #communication-form>button{margin-top:18px}.admin-page #communication-form+.security-actions{margin-top:12px}
@media(max-width:900px){.admin-page .mobile-menu-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.admin-page .mobile-menu-actions .dropdown-panel{right:0;max-width:calc(100vw - 48px)}.admin-page .mobile-menu-actions [data-theme-control]{display:block}}
@media(max-width:480px){.communication-fields{grid-template-columns:1fr}.admin-page #communication-form+.security-actions{display:grid;grid-template-columns:1fr}.admin-page #communication-form>button{width:100%}}
@media(max-width:900px){:root body.admin-page .mobile-menu-actions{flex-direction:column;align-items:stretch;gap:8px}:root body.admin-page .mobile-menu-actions>*,:root body.admin-page .mobile-menu-actions .cabinet-dropdown{width:100%;margin:0}:root body.admin-page .mobile-menu-actions summary{justify-content:flex-start;gap:10px;min-height:42px;padding:8px 12px}:root body.admin-page .mobile-menu-actions .theme-dropdown>summary [data-theme-label]{display:inline}:root body.admin-page .mobile-menu-actions .dropdown-panel{position:static;width:100%;max-width:100%;box-sizing:border-box;box-shadow:none}:root body.admin-page .admin-tab-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:root body.admin-page .admin-group-label{grid-column:1/-1}:root body.admin-page .admin-tabs button{margin:0;width:100%;min-height:44px;height:100%;box-sizing:border-box;padding:8px 10px}.admin-mobile-user-label{display:inline}}
@media(min-width:901px){.admin-mobile-user-label{display:none}}
.custom-plan-editor{margin:22px 0;padding:18px;border:1px solid var(--line,#e6ded8);border-radius:12px}.custom-plan-editor summary{cursor:pointer;font-weight:600;color:var(--accent,#ff5e1f)}.custom-plan-editor form{display:grid;gap:16px;margin-top:16px}.custom-plan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.custom-plan-editor label{margin:0;min-width:0}.custom-plan-editor input:not([type=checkbox]),.custom-plan-editor select{width:100%;box-sizing:border-box;height:40px}.custom-plan-editor fieldset{max-height:220px;overflow:auto}.personal-plan-list{max-height:280px;overflow:auto}@media(max-width:550px){.custom-plan-fields{grid-template-columns:1fr}}
.customer-plans-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;box-sizing:border-box}

/* Pricing cards: gentle elevation, without changing layout or touch scrolling. */
.marketing-page :is(.plan,.solution-card){
 transition:transform .5s cubic-bezier(.4,0,.2,1),border-color .5s cubic-bezier(.4,0,.2,1),box-shadow .5s cubic-bezier(.4,0,.2,1);
 --plan-hover-shadow:0 10px 22px -12px #9d411d4d,inset 0 0 0 1px #ff5e1f20;
}
html[data-theme=dark] .marketing-page :is(.plan,.solution-card){
 --plan-hover-shadow:0 10px 22px -12px #0009,inset 0 0 0 1px #ff5e1f40;
}
:root body.marketing-page .plan-slider #plan-grid{padding-top:28px;padding-bottom:28px}
@media(hover:hover) and (pointer:fine){
 .marketing-page :is(.plan,.solution-card):hover{
  transform:translateY(-6px);
  border-color:#ff5e1f;
  box-shadow:var(--plan-hover-shadow);
 }
}
.marketing-page :is(.plan,.solution-card):has(:focus-visible){
 border-color:#ff5e1f;
 box-shadow:var(--plan-hover-shadow);
}
@media(prefers-reduced-motion:reduce){
 .marketing-page :is(.plan,.solution-card){transition:none}
 .marketing-page :is(.plan,.solution-card):hover{transform:none}
}

/* Location labels: informational markers, never navigation links. */
:root body .map-point{pointer-events:auto;cursor:default}
:root body .map-point .halo{pointer-events:all}
:root body .map-point:is(:hover,:focus-visible) .halo{fill:#ff5e1f30;stroke:#ff5e1f;stroke-width:2}
.map-tooltip{position:absolute;z-index:5;max-width:calc(100% - 16px);padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel,#fff);color:var(--text);box-shadow:0 6px 20px #0002;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;pointer-events:none}
.map-tooltip[hidden]{display:none}
.admin-staff-list,.admin-role-list{display:grid;gap:12px;margin:18px 0}.admin-staff-row{display:flex;gap:18px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:12px}.admin-staff-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.admin-staff-row small{display:block;color:var(--muted);margin-top:6px}.admin-staff-status{color:#c94740;font-size:12px}.admin-staff-status.is-active{color:#38844b}.admin-role-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-role-list article{padding:18px;border:1px solid var(--line);border-radius:12px}.admin-role-list p{color:var(--muted);font-size:12px;line-height:1.6}.admin-role-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-page [hidden]{display:none!important}@media(max-width:600px){.admin-role-list,.admin-role-permissions{grid-template-columns:1fr}.admin-staff-row{flex-wrap:wrap}.admin-staff-row>div{flex-basis:100%}}
