/* Hostrava 1.5.8 — dark mode. Theme choice: system/light/dark.
   All overrides are scoped to [data-theme="dark"]: the original light palette remains intact. */
.theme-picker{position:relative;display:inline-flex;align-items:center;flex:none;z-index:120}
.theme-toggle{width:40px;height:40px;padding:0;border:1px solid #dce3e5;border-radius:9px;background:#fff;color:#4b5a64;display:grid;place-items:center;transition:background .18s,border-color .18s,color .18s}
.theme-toggle:hover,.theme-toggle[aria-expanded="true"]{background:#fff6e8;border-color:#dda96d;color:#9b642e}
.theme-toggle:focus-visible,.theme-menu button:focus-visible{outline:2px solid #e3a766;outline-offset:3px}
.theme-menu[hidden]{display:none!important}
.theme-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:180;width:212px;padding:8px;background:#fff;border:1px solid #e0e5e7;border-radius:11px;box-shadow:0 18px 55px rgba(17,29,39,.19);color:#24313b}
.theme-menu-label{padding:7px 10px 10px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700;color:#8d9ba5}
.theme-menu button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 10px;border:0;border-radius:7px;background:transparent;color:#384b55;text-align:left;font-size:13px;font-weight:590;cursor:pointer}
.theme-menu button svg:first-child{color:#8999a3}
.theme-menu button span{flex:1}
.theme-menu button svg:last-child{visibility:hidden;color:#c58b51}
.theme-menu button[aria-pressed="true"]{background:#fff3e5;color:#75451f}
.theme-menu button[aria-pressed="true"] svg:last-child{visibility:visible}
.theme-menu button:hover{background:#f4f6f7}
.public-header .theme-toggle{background:#212c33;color:#f1f4f6;border-color:#3b4650}
.public-header .theme-toggle:hover,.public-header .theme-toggle[aria-expanded="true"]{border-color:#d2a06a;background:#344149;color:#f6c188}
@media(max-width:740px){.theme-toggle{width:36px;height:36px}.nav-actions{gap:9px}.topbar-right{gap:8px}.public-header .theme-menu{right:-4px}}
@media(max-width:390px){.public-header .nav-actions .btn{padding:8px 8px}.public-header .nav-public{gap:8px}.topbar .theme-toggle{width:34px;height:34px}}

html[data-theme="dark"]{color-scheme:dark;--ink:#0e1218;--ink-2:#181e26;--ink-3:#262f3a;--text:#e9edf3;--muted:#9ba7b6;--muted-dark:#aab7c5;--light:#11161e;--line:#2b333d;--white:#181e26;--green:#64bb90;--red:#e3837c;--amber:#e6b473;--shadow:0 5px 32px rgba(0,0,0,.10);--accent:#efb46e;--accent-hover:#fac78b}
html[data-theme="dark"] body{background:#0d1118;color:#e7edf4}
html[data-theme="dark"] ::selection{background:#c99152;color:#11151a}
html[data-theme="dark"] .app-body{background:#0e1219;color:#e8edf4}
html[data-theme="dark"] .sidebar{background:#111820;color:#aab7c4;border-right:1px solid #252f3b}
html[data-theme="dark"] .sidebar .workspace-label,html[data-theme="dark"] .nav-caption{color:#8192a6}
html[data-theme="dark"] .nav-item{color:#aab7c5}
html[data-theme="dark"] .nav-item:hover{background:#222b37;color:#f6f8fb}
html[data-theme="dark"] .nav-item.active{background:#303a46;color:#fff}
html[data-theme="dark"] .sidebar-support{background:#19232d;border-color:#30404d}
html[data-theme="dark"] .sidebar-support b{color:#f1f5f9}
html[data-theme="dark"] .topbar{background:#131921;border-color:#2a3440}
html[data-theme="dark"] .topbar-left{color:#e9eff7}
html[data-theme="dark"] .topbar-left .crumb,html[data-theme="dark"] .crumb-arrow{color:#8f9cab}
html[data-theme="dark"] .topbar-user small{color:#95a3b4}
html[data-theme="dark"] .user-avatar{background:#29323e;color:#f3c58d}
html[data-theme="dark"] .balance-chip{background:#1b232d;border-color:#35404c;color:#f2f4f8}
html[data-theme="dark"] .mobile-toggle{color:#e6edf4}
html[data-theme="dark"] .main-content{background:#0e1219}
html[data-theme="dark"] .app-footer{border-color:#28323d;color:#8f9cab}
html[data-theme="dark"] .app-footer a:hover{color:#edb678}
html[data-theme="dark"] .page-heading h1,html[data-theme="dark"] .page-heading h2,html[data-theme="dark"] .subsection-heading,html[data-theme="dark"] .panel-head h2{color:#f0f4f8}
html[data-theme="dark"] .page-heading p,html[data-theme="dark"] .panel-head p{color:#93a1b0}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .section-label{color:#e7af70}
html[data-theme="dark"] .panel,html[data-theme="dark"] .metric-card:not(.metric-balance),html[data-theme="dark"] .integration-card{background:#181d25;border-color:#303843;box-shadow:none;color:#e7edf4}
html[data-theme="dark"] .metric-card>strong,html[data-theme="dark"] .metric-foot strong{color:#f4f6f8}
html[data-theme="dark"] .metric-label{color:#9eacbb}
html[data-theme="dark"] .metric-foot{color:#9aa8b6}
html[data-theme="dark"] .metric-balance{background:#28303b;border-color:#3b4551}
html[data-theme="dark"] .panel-head{border-color:#303843}
html[data-theme="dark"] .btn-outline,html[data-theme="dark"] .btn-outline-light{background:#1d242d;border-color:#3b4654;color:#e9eef5}
html[data-theme="dark"] .btn-outline:hover,html[data-theme="dark"] .btn-outline-light:hover{background:#29323d;border-color:#bd8851}
html[data-theme="dark"] .btn-dark{background:#303a45;border-color:#303a45;color:#fff}
html[data-theme="dark"] .btn-dark:hover{background:#404c59;border-color:#404c59}
html[data-theme="dark"] .btn-accent{background:#efb46e;border-color:#efb46e;color:#171c24}
html[data-theme="dark"] .theme-toggle{background:#202833;border-color:#3b4654;color:#e1e8ef}
html[data-theme="dark"] .theme-toggle:hover,html[data-theme="dark"] .theme-toggle[aria-expanded="true"]{background:#343039;border-color:#c58c50;color:#f6c18b}
html[data-theme="dark"] .theme-menu{background:#1c232d;border-color:#3b4654;color:#eff3f8;box-shadow:0 20px 60px rgba(0,0,0,.4)}
html[data-theme="dark"] .theme-menu-label{color:#9cabbb}
html[data-theme="dark"] .theme-menu button{color:#e1e8f0}
html[data-theme="dark"] .theme-menu button svg:first-child{color:#a2b1c2}
html[data-theme="dark"] .theme-menu button[aria-pressed="true"]{background:#383025;color:#ffcb91}
html[data-theme="dark"] .theme-menu button[aria-pressed="true"] svg:first-child{color:#f3b873}
html[data-theme="dark"] .theme-menu button:hover{background:#2b3440}
html[data-theme="dark"] .data-table th{background:#202832;color:#9eacbd;border-color:#343d49}
html[data-theme="dark"] .data-table td{border-color:#2f3944;color:#b8c3cf}
html[data-theme="dark"] .data-table td strong{color:#f0f3f7}
html[data-theme="dark"] .data-table tbody tr:hover{background:#252e38}
html[data-theme="dark"] .table-link{color:#e1b17a}
html[data-theme="dark"] .text-link{color:#e3b077}
html[data-theme="dark"] .muted-cell{color:#95a4b4!important}
html[data-theme="dark"] .amount{color:#f0f4f7!important}
html[data-theme="dark"] .amount.positive{color:#7cd0a1!important}
html[data-theme="dark"] .amount.negative{color:#ee9690!important}
html[data-theme="dark"] .mini-server-icon,html[data-theme="dark"] .quick-icon{background:#28303a;color:#d6a66d}
html[data-theme="dark"] .server-name small{color:#8fa2b4}
html[data-theme="dark"] .quick-actions>a{border-color:#333c49}
html[data-theme="dark"] .quick-actions a b,html[data-theme="dark"] .quick-actions a strong{color:#ecf1f6}
html[data-theme="dark"] .quick-actions a small{color:#98a8b8}
html[data-theme="dark"] .empty-icon{background:#342c26;color:#edb374}
html[data-theme="dark"] .empty-state h3{color:#f1f4f8}
html[data-theme="dark"] .empty-state p{color:#9caaba}
html[data-theme="dark"] .pill.ok{background:#153627;color:#80d5a3}
html[data-theme="dark"] .pill.wait{background:#382a1b;color:#ecc08b}
html[data-theme="dark"] .pill.bad{background:#3b2429;color:#f0a6a0}
html[data-theme="dark"] .pill.neutral{background:#303945;color:#a5b5c6}
html[data-theme="dark"] .flash{background:#183325;border-color:#345641;color:#97deaf}
html[data-theme="dark"] .flash-error{background:#382427;border-color:#654146;color:#f0a9a7}
html[data-theme="dark"] .catalog-note,html[data-theme="dark"] .renewal-admin-note{background:#302821;border-color:#56402a;color:#e8bc8c}
html[data-theme="dark"] .form-info{background:#202832;border-color:#34404b;color:#aebccc}
html[data-theme="dark"] .stack-form label,html[data-theme="dark"] .server-modal-form label{color:#dce6f0}
html[data-theme="dark"] .stack-form label small{color:#94a3b4}
html[data-theme="dark"] .stack-form input:not([type=checkbox]),html[data-theme="dark"] .stack-form select,html[data-theme="dark"] .stack-form textarea,html[data-theme="dark"] .search-field,html[data-theme="dark"] .ref-copy-row input{background:#111821;border-color:#37424e;color:#e9eef5;box-shadow:none}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8393a5;opacity:1}
html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] select:focus-visible{outline-color:#c99558}
html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:#e8ab68}
html[data-theme="dark"] .stack-form input:focus,html[data-theme="dark"] .stack-form select:focus,html[data-theme="dark"] .stack-form textarea:focus{border-color:#d29a60;box-shadow:0 0 0 3px rgba(239,180,110,.14)}
html[data-theme="dark"] .order-summary h2{color:#f0f4f8}
html[data-theme="dark"] .order-total{border-color:#333e49}
html[data-theme="dark"] .order-total strong{color:#f0f3f7}
html[data-theme="dark"] .order-location{background:#222b35;border-color:#394552}
html[data-theme="dark"] .order-location strong{color:#f0f4f8}
html[data-theme="dark"] .order-location span,html[data-theme="dark"] .order-location small{color:#9caaba}
html[data-theme="dark"] .order-location>a{color:#e7b079}
html[data-theme="dark"] .order-balance b{color:#e9eff5}
html[data-theme="dark"] .info-row{border-color:#313b46}
html[data-theme="dark"] .info-row span{color:#9aabba}
html[data-theme="dark"] .info-row b{color:#eef3f8}
html[data-theme="dark"] .plan-card{background:#1a2028;border-color:#333d48;color:#eff3f7;box-shadow:none}
html[data-theme="dark"] .plan-card:hover{background:#20262f;border-color:#bd8b53;box-shadow:0 13px 30px rgba(0,0,0,.18)}
html[data-theme="dark"] .plan-featured{background:#24231f;border-color:#926b42}
html[data-theme="dark"] .plan-card h3,html[data-theme="dark"] .plan-price strong{color:#f2f5f8}
html[data-theme="dark"] .plan-sub,html[data-theme="dark"] .plan-price span{color:#9cabb9}
html[data-theme="dark"] .plan-rule{background:#35404a}
html[data-theme="dark"] .plan-specs>div,html[data-theme="dark"] .plan-card .plan-specs>div:last-child{color:#bdc9d5}
html[data-theme="dark"] .location-pill{background:#1c242e;border-color:#3b4551;color:#c4d0dc}
html[data-theme="dark"] .location-pill:hover{background:#292f35;border-color:#d3a06a;color:#fff}
html[data-theme="dark"] .location-pill.is-active{background:#dba267;border-color:#dba267;color:#151a1f}
html[data-theme="dark"] .location-pill.is-active .ico{color:#151a1f}
html[data-theme="dark"] .os-family-card{background:#1c242e;color:#eaf0f7;border-color:#35414d}
html[data-theme="dark"] .os-family-card:hover{background:#292f35;border-color:#c58f56}
html[data-theme="dark"] .os-family-card.is-selected{background:#332a21;border-color:#ddad71;box-shadow:0 0 0 1px rgba(221,173,113,.2)}
html[data-theme="dark"] .os-family-card.is-selected .os-family-meta strong{color:#ffd39b}
html[data-theme="dark"] .os-family-meta strong{color:#f0f3f7}
html[data-theme="dark"] .os-family-meta small{color:#9aabba}
html[data-theme="dark"] .os-version-button{background:#232c36;border-color:#374553;color:#d4dfeb}
html[data-theme="dark"] .os-version-button:hover{background:#313b46}
html[data-theme="dark"] .os-version-button.is-selected{background:#dfaa70;color:#17202a;border-color:#dfaa70}
html[data-theme="dark"] .os-picker-heading h3,html[data-theme="dark"] .os-version-heading h4{color:#eaf0f7}
html[data-theme="dark"] .wallet-large{background:#272f3a;border-color:#3b4754}
html[data-theme="dark"] .preset-amounts button{background:#232c36;color:#dbe4ee;border-color:#384553}
html[data-theme="dark"] .preset-amounts button.selected{background:#463628;color:#f4c58b;border-color:#ca9461}
html[data-theme="dark"] .ref-stat,html[data-theme="dark"] .ref-steps article{background:#181f28;border-color:#303c47}
html[data-theme="dark"] .ref-stat strong,html[data-theme="dark"] .ref-steps h3,html[data-theme="dark"] .ref-steps p strong{color:#eaf0f7}
html[data-theme="dark"] .ref-stat small,html[data-theme="dark"] .ref-stat>div>span,html[data-theme="dark"] .ref-steps p,html[data-theme="dark"] .ref-caption{color:#99a8b7}
html[data-theme="dark"] .ref-stat-icon,html[data-theme="dark"] .ref-stat:nth-child(2) .ref-stat-icon,html[data-theme="dark"] .ref-stat:nth-child(3) .ref-stat-icon{background:#352b23;border-color:#58422d;color:#f0b579}
html[data-theme="dark"] .ref-step-no{background:#29343d;color:#e5bb81}
html[data-theme="dark"] .message{background:#242d38;border-color:#3b4552;color:#e8eef6}
html[data-theme="dark"] .message-text{color:#c9d4e0}
html[data-theme="dark"] .message-meta b{color:#f2f5f8}
html[data-theme="dark"] .message-meta span,html[data-theme="dark"] .message-meta time{color:#97a6b6}
html[data-theme="dark"] .thread-panel .stack-form{border-color:#303b46}
html[data-theme="dark"] .ticket-closed-banner,html[data-theme="dark"] .ticket-system-notice{background:#342b22;color:#e5bc8e;border-color:#67492f}
html[data-theme="dark"] .ticket-open-button,html[data-theme="dark"] .ticket-more-button{background:#28323e;border-color:#405061;color:#ebf1f7}
html[data-theme="dark"] .ticket-menu{background:#212a34;border-color:#3b4958}
html[data-theme="dark"] .ticket-menu button{color:#e6eef6}
html[data-theme="dark"] .ticket-menu button:hover{background:#392e23;color:#ffd19a}
html[data-theme="dark"] .hostrava-dialog{background:#1b242d;border-color:#394653;color:#e7edf5;box-shadow:0 25px 70px rgba(0,0,0,.4)}
html[data-theme="dark"] .ticket-dialog-head{background:#1b242d;border-color:#36434f}
html[data-theme="dark"] .ticket-dialog-head b{color:#f3f6f9}
html[data-theme="dark"] .ticket-dialog-head p{color:#9cabb9}
html[data-theme="dark"] .ticket-dialog-head>button{background:#2b3541;color:#e6edf4}
html[data-theme="dark"] .ticket-dialog-body label{color:#d6e1ed}
html[data-theme="dark"] .ticket-dialog-body textarea,html[data-theme="dark"] .ticket-dialog-body select{background:#111922;border-color:#414e5d;color:#f0f4f8}
html[data-theme="dark"] .ticket-dialog-footer{background:#1d252f;border-color:#384451}
html[data-theme="dark"] .server-modal{background:#1b222b;border-color:#3a4553;box-shadow:0 30px 80px rgba(0,0,0,.5);color:#eaf0f7}
html[data-theme="dark"] .server-modal-header,html[data-theme="dark"] .server-modal-section{border-color:#36424e}
html[data-theme="dark"] .server-modal-header h2,html[data-theme="dark"] .server-modal-section h3{color:#f4f6f9}
html[data-theme="dark"] .server-modal-header p,html[data-theme="dark"] .server-modal-muted{color:#a6b6c6}
html[data-theme="dark"] .server-modal-muted b{color:#ecf2f8}
html[data-theme="dark"] .server-modal-icon{background:#413122;color:#ffc487}
html[data-theme="dark"] .server-modal-close{background:#2b3540;color:#e8eef4}
html[data-theme="dark"] .server-modal-close:hover{background:#384451}
html[data-theme="dark"] .server-modal-note{background:#252f39;border-color:#3b4955;color:#bdcad6}
html[data-theme="dark"] .server-modal-warning{background:#3b2d23;border-color:#735337;color:#f3c695}
html[data-theme="dark"] .server-modal-price{background:#423125;color:#fac18a}
html[data-theme="dark"] .server-modal-form input,html[data-theme="dark"] .server-modal-form select,html[data-theme="dark"] .server-modal-inline-form input{background:#121923;border-color:#414d5b;color:#f3f6fa}
html[data-theme="dark"] .server-modal-form label small{color:#96a6b7}
html[data-theme="dark"] .server-modal-footer{background:#202832;border-color:#3c4854}
html[data-theme="dark"] .server-renew-summary{background:#262f39;border-color:#414e5b}
html[data-theme="dark"] .server-renew-summary strong{color:#f4f7fb}
html[data-theme="dark"] .server-snapshot-list{border-color:#364451}
html[data-theme="dark"] .server-snapshot-list>div{border-color:#323d49;color:#dce5f0}
html[data-theme="dark"] .server-actions-menu{background:#212a35;border-color:#3b4755;box-shadow:0 18px 45px rgba(0,0,0,.35)}
html[data-theme="dark"] .server-actions-menu button[role="menuitem"]{color:#e3eaf3}
html[data-theme="dark"] .server-actions-menu button[role="menuitem"]:hover,html[data-theme="dark"] .server-actions-menu button[role="menuitem"]:focus-visible{background:#353129;color:#fbc588}
html[data-theme="dark"] .vnc-panel{background:#171f28}
html[data-theme="dark"] .vnc-screen{background:#0d1118}
html[data-theme="dark"] .verify-layout{background:#0d1118;color:#e7edf5}
html[data-theme="dark"] .verify-card{background:#1c242d;border-color:#35414f;box-shadow:none;color:#ecf1f8}
html[data-theme="dark"] .verify-card h1{color:#f1f5fa}
html[data-theme="dark"] .verify-card>p,html[data-theme="dark"] .verify-card .verify-hint{color:#a6b5c4}
html[data-theme="dark"] .verify-symbol{background:#3a2b22;color:#f6c38a}
html[data-theme="dark"] .verify-resend button{color:#f2b87d}
html[data-theme="dark"] .integration-logo{background:#282f39;border-color:#3a4653}
html[data-theme="dark"] .integration-top h2{color:#f0f4f8}
html[data-theme="dark"] .integration-top .muted{color:#9aabba!important}
html[data-theme="dark"] .renewal-admin-stat{background:#1d252e;border-color:#3b4654}
html[data-theme="dark"] .renewal-admin-stat strong{color:#f4f6f9}
html[data-theme="dark"] .renewal-action-box{background:#1e2630;border-color:#3c4754;color:#eaf1f8}
html[data-theme="dark"] .renewal-action-form textarea,html[data-theme="dark"] .renewal-action-form input[type=datetime-local]{background:#121923;border-color:#414e5a;color:#eaf1f8}
/* VPS detail / server list: preserve layout from reference, recolour only. */
html[data-theme="dark"] .servers-ref-page,html[data-theme="dark"] .server-detail-page{--vps-ink:#e9eff7;--vps-muted:#9daabc;--vps-line:#2c3440;--vps-subtle:#232932;--vps-copper:#e6b076;--vps-shadow:none;color:#e9eff7}
html[data-theme="dark"] .servers-ref-header,html[data-theme="dark"] .server-ref-hero,html[data-theme="dark"] .servers-ref-panel,html[data-theme="dark"] .server-overview-card,html[data-theme="dark"] .server-card{background:#181d25;border-color:#2d3540;color:#e9eff7;box-shadow:none}
html[data-theme="dark"] .servers-ref-header h1,html[data-theme="dark"] .server-ref-hero h1,html[data-theme="dark"] .server-card-head h2,html[data-theme="dark"] .server-overview-card strong{color:#f0f4f9}
html[data-theme="dark"] .servers-ref-kicker,html[data-theme="dark"] .server-ref-kicker,html[data-theme="dark"] .server-overview-card span{color:#e3ae71}
html[data-theme="dark"] .servers-ref-header p,html[data-theme="dark"] .server-ref-hero p,html[data-theme="dark"] .server-overview-card small,html[data-theme="dark"] .server-card-head p{color:#a2aebc}
html[data-theme="dark"] .server-list-card{background:#212730;border-color:#37424f;box-shadow:none}
html[data-theme="dark"] .server-list-card:hover{background:#28303a;border-color:#b78e62;box-shadow:0 8px 25px rgba(0,0,0,.16)}
html[data-theme="dark"] .server-list-col b,html[data-theme="dark"] .server-list-col strong{color:#eef3f9}
html[data-theme="dark"] .server-list-col small,html[data-theme="dark"] .server-list-col span{color:#9faebe}
html[data-theme="dark"] .server-list-icon{background:#33302c;color:#f3ba7c}
html[data-theme="dark"] .server-list-open{color:#e8b47e}
html[data-theme="dark"] .server-list-status .pill.ok{background:#173527;border-color:#2a694d}
html[data-theme="dark"] .server-list-status .pill.wait{background:#352d20;border-color:#765638}
html[data-theme="dark"] .server-list-status .pill.bad{background:#422729;border-color:#804147}
html[data-theme="dark"] .server-ref-chip,html[data-theme="dark"] .server-ref-ip,html[data-theme="dark"] .server-card-tag{background:#252c36;border-color:#3d4753;color:#d7e0e9}
html[data-theme="dark"] .server-toolbar-dark .btn,html[data-theme="dark"] .server-toolbar-dark .btn-outline{background:#2b333e;border-color:#414c59;color:#eff4f8}
html[data-theme="dark"] .server-toolbar-dark .btn:hover,html[data-theme="dark"] .server-toolbar-dark .btn-outline:hover{background:#3b4652;border-color:#c39463;color:#fff}
html[data-theme="dark"] .server-ref-hero .server-ref-meta .pill.ok{background:#173627;color:#85d7a9}
html[data-theme="dark"] .server-connect-row,html[data-theme="dark"] .server-billing-grid>div,html[data-theme="dark"] .server-network-facts>div,html[data-theme="dark"] .server-resource-grid>div,html[data-theme="dark"] .server-activity-list>div{background:#232932;border-color:#353e4a}
html[data-theme="dark"] .server-connect-row>span,html[data-theme="dark"] .server-resource-grid label,html[data-theme="dark"] .server-billing-grid span,html[data-theme="dark"] .server-network-facts span{color:#a0adbd}
html[data-theme="dark"] .server-connect-value b,html[data-theme="dark"] .server-network-facts b,html[data-theme="dark"] .server-billing-grid b,html[data-theme="dark"] .server-resource-grid b,html[data-theme="dark"] .server-activity-list b{color:#f0f4f9}
html[data-theme="dark"] .server-connect-value em,html[data-theme="dark"] .server-connect-footer small,html[data-theme="dark"] .server-activity-list small{color:#a5b3c1}
html[data-theme="dark"] .server-billing-price{color:#f5f7fa}
html[data-theme="dark"] .server-billing-price small{color:#a8b5c2}
html[data-theme="dark"] .server-inline-action,html[data-theme="dark"] .server-secret-input{background:#1a222c;border-color:#414c59;color:#e7edf4}
html[data-theme="dark"] .server-inline-action:hover,html[data-theme="dark"] .server-inline-action.is-active{background:#393127;border-color:#b98a54;color:#f7c48a}
html[data-theme="dark"] .server-power-actions .power-button{background:#252d38;border-color:#3a4653;color:#dce5f0}
html[data-theme="dark"] .server-power-actions .power-button:hover{background:#303b48;border-color:#b7895c;color:#f4f7fa}
html[data-theme="dark"] .server-power-actions .power-button svg,html[data-theme="dark"] .server-resource-grid span{color:#dfab72}
html[data-theme="dark"] .server-dark-hint{background:#302a24;border-color:#53412f;color:#dfba93}
html[data-theme="dark"] .server-link-button{color:#e8b57b}
html[data-theme="dark"] .server-activity-empty{border-color:#3c4755;color:#9babbc}
/* Public content: dark marketing sections; default light remains exactly as before. */
html[data-theme="dark"] .light-section,html[data-theme="dark"] .plans-section,html[data-theme="dark"] .how-section,html[data-theme="dark"] .cta-section{background:#11161e;color:#edf2f7}
html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .benefit h3,html[data-theme="dark"] .step h3{color:#f0f4f9}
html[data-theme="dark"] .section-heading h2 span{color:#a0acb9}
html[data-theme="dark"] .section-heading>p,html[data-theme="dark"] .step p{color:#a3b0bf}
html[data-theme="dark"] .benefit{background:#1d252e;border-color:#333e49;color:#eaf0f6}
html[data-theme="dark"] .benefit p{color:#afbdcb}
html[data-theme="dark"] .big-benefit{background:#293440;border-color:#384654}
html[data-theme="dark"] .feature-icon{background:#352b23;color:#f0b87a}
html[data-theme="dark"] .step{border-color:#3b4651}
html[data-theme="dark"] .plans-soon{background:#1d252e;border-color:#405064}
html[data-theme="dark"] .plans-soon h3{color:#f0f4f8}
html[data-theme="dark"] .plans-soon p{color:#a6b6c4}
html[data-theme="dark"] .cta-band{background:#e5ac6a;color:#1e242a}
html[data-theme="dark"] .cta-band h2{color:#1e242a}
html[data-theme="dark"] .auth-card{background:#1a222b;color:#eff4f8}
html[data-theme="dark"] .auth-wrap{background:#1a222b;border-color:#38434f}
html[data-theme="dark"] .auth-card h1{color:#f2f5f8}
html[data-theme="dark"] .auth-card>p,html[data-theme="dark"] .auth-switch{color:#a2b0bf}
html[data-theme="dark"] .auth-input-frame input{background:#111922;border-color:#40505e;color:#f3f7fb}
html[data-theme="dark"] .auth-card .auth-input-frame>input{background:#111922;border-color:#40505e;color:#f3f7fb}
html[data-theme="dark"] .auth-switch a{color:#f1ba7b}
html[data-theme="dark"] .back-home{color:#a5b4c3}
html[data-theme="dark"] .auth-eyebrow{color:#e9b273}
html[data-theme="dark"] .legal-page,html[data-theme="dark"] .legal-container{background:#10151d;color:#e6edf4}
html[data-theme="dark"] .legal-intro h1{color:#f2f6fa}
html[data-theme="dark"] .legal-intro p,html[data-theme="dark"] .legal-breadcrumbs{color:#a7b6c5}
html[data-theme="dark"] .legal-article,html[data-theme="dark"] .legal-aside-box{background:#1c242e;border-color:#384552;color:#dce6ef}
html[data-theme="dark"] .legal-aside-box>a{color:#d2dce6;border-color:#36424d}
html[data-theme="dark"] .legal-aside-box>a[aria-current="page"]{background:#393028;color:#f1bf84}
html[data-theme="dark"] .legal-article h2,html[data-theme="dark"] .legal-article h3{color:#f0f4f8}
html[data-theme="dark"] .legal-article p,html[data-theme="dark"] .legal-article li{color:#bbcad7}
html[data-theme="dark"] .public-footer{background:#0d1218;border-color:#27313d}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-menu button{transition:none}}
@media(max-width:390px){
  .public-header .brand-wordmark{height:19px}
  .public-header .nav-actions .btn{min-width:0;font-size:10px}
}


/* Hostrava 1.5.9 — darker homepage pricing cards + payment copy refresh */
html[data-theme="dark"] .plans-section{background:#0f141b;color:#edf2f7}
html[data-theme="dark"] .plan-grid{gap:22px}
html[data-theme="dark"] .plan-card{background:linear-gradient(180deg,#1a2430 0%,#18222d 100%);border:1px solid #c08a4f;border-radius:16px;padding:28px 26px 24px;color:#eef3f8;box-shadow:0 16px 38px rgba(0,0,0,.22)}
html[data-theme="dark"] .plan-card:hover{background:linear-gradient(180deg,#202b37 0%,#1b2530 100%);border-color:#e0ab72;box-shadow:0 18px 44px rgba(0,0,0,.28)}
html[data-theme="dark"] .plan-featured{background:linear-gradient(180deg,#1b2531 0%,#18212c 100%);border-color:#d39a5c}
html[data-theme="dark"] .plan-featured:before{top:-1px;left:22px;right:22px;height:4px;background:#e9af6c;border-radius:0 0 6px 6px}
html[data-theme="dark"] .plan-top{min-height:28px;align-items:flex-start}
html[data-theme="dark"] .plan-category{color:#d8a56f;letter-spacing:1.5px}
html[data-theme="dark"] .popular{background:#f6ead8;color:#8e602f;border-radius:7px;padding:7px 10px;font-size:10px;letter-spacing:.9px;box-shadow:0 4px 10px rgba(0,0,0,.12)}
html[data-theme="dark"] .plan-card h3{color:#f6f9fc;font-size:22px;margin:26px 0 10px}
html[data-theme="dark"] .plan-sub{color:#b7c4cf;font-size:14px;line-height:1.65;margin-bottom:28px}
html[data-theme="dark"] .plan-price strong{color:#f8fbfe;font-size:29px}
html[data-theme="dark"] .plan-price span{color:#bcc8d3;font-size:13px;padding-bottom:4px}
html[data-theme="dark"] .plan-rule{background:#344150;margin:26px 0 22px}
html[data-theme="dark"] .plan-specs{gap:14px;margin-bottom:34px}
html[data-theme="dark"] .plan-specs>div,html[data-theme="dark"] .plan-card .plan-specs>div:last-child{color:#e2eaf1;font-size:15px;font-weight:560}
html[data-theme="dark"] .plan-specs svg{color:#a9b7c2}
html[data-theme="dark"] .plan-card>.btn{background:#efb46e;border-color:#efb46e;color:#151b22;padding:13px 18px;border-radius:10px;font-weight:760}
html[data-theme="dark"] .plan-card>.btn:hover{background:#f7c07d;border-color:#f7c07d}
html[data-theme="dark"] .benefit:nth-child(3) .feature-icon{background:#3a3026;color:#efb46e}
html[data-theme="dark"] .benefit:nth-child(3) p{max-width:330px}
@media(max-width:740px){html[data-theme="dark"] .plan-card{padding:26px 22px 22px;border-radius:15px}html[data-theme="dark"] .plan-grid{gap:18px}html[data-theme="dark"] .plan-sub{font-size:13px}html[data-theme="dark"] .plan-specs>div{font-size:14px}}

/* 1.5.10 — VPS order: access method cards in the dark theme.
   Light theme stays unchanged. */
html[data-theme="dark"] .access-fieldset legend {
  color: #eef3f8;
  font-weight: 680;
}
html[data-theme="dark"] .access-fieldset > p {
  color: #aab9c9;
}
html[data-theme="dark"] .access-choice > span {
  background: #202833;
  border-color: #3a4756;
  color: #e5edf5;
  box-shadow: none;
}
html[data-theme="dark"] .access-choice > span strong {
  color: #f1f5f9;
}
html[data-theme="dark"] .access-choice > span small {
  color: #a8b9ca;
}
html[data-theme="dark"] .access-choice > span .ico {
  color: #e6ad74;
}
html[data-theme="dark"] .access-choice:hover > span {
  background: #28333f;
  border-color: #8b6d50;
}
html[data-theme="dark"] .access-choice input:checked + span {
  background: #352c26;
  border-color: #e3ad72;
  box-shadow: 0 0 0 1px rgba(227, 173, 114, .18);
}
html[data-theme="dark"] .access-choice input:checked + span strong {
  color: #fff3e5;
}
html[data-theme="dark"] .access-choice input:checked + span small {
  color: #d3b9a0;
}
html[data-theme="dark"] .access-choice:hover input:checked + span {
  background: #3c322b;
  border-color: #efbb81;
}
html[data-theme="dark"] .access-choice input:focus-visible + span {
  outline: 2px solid #efb46e;
  outline-offset: 3px;
}
html[data-theme="dark"] .access-detail label {
  color: #e9eff5;
}
html[data-theme="dark"] .access-detail label small {
  color: #a5b4c5;
}
html[data-theme="dark"] .order-form .access-detail input:not([type="checkbox"]),
html[data-theme="dark"] .order-form .access-detail textarea {
  background: #151e28;
  border-color: #3a4654;
  color: #f1f6fb;
}
html[data-theme="dark"] .order-form .access-detail input:focus,
html[data-theme="dark"] .order-form .access-detail textarea:focus {
  border-color: #e1a669;
  box-shadow: 0 0 0 3px rgba(225, 166, 105, .16);
}


/* 1.6.11 — reinstall catalog dark palette */
html[data-theme="dark"] .reinstall-os-picker-heading strong{color:#f0f4f9}
html[data-theme="dark"] .reinstall-os-picker-heading span{color:#9aabba}
html[data-theme="dark"] .reinstall-os-catalog{background:#161f29;border-color:#354352}
html[data-theme="dark"] .reinstall-os-group{border-color:#344151}
html[data-theme="dark"] .reinstall-os-group summary{color:#e8eff6}
html[data-theme="dark"] .reinstall-os-group summary:hover{background:#222f3c}
html[data-theme="dark"] .reinstall-os-group[open]>summary{background:#2b2b2c}
html[data-theme="dark"] .reinstall-os-icon{background:#101720}
html[data-theme="dark"] .reinstall-os-group-count{color:#93a6b8}
html[data-theme="dark"] .reinstall-os-group-lock{color:#e2b480}
html[data-theme="dark"] .reinstall-os-versions{background:#141c26}
html[data-theme="dark"] .reinstall-os-version{background:#202a35;color:#e4edf5;border-color:#384655}
html[data-theme="dark"] .reinstall-os-version:hover:not(.is-unavailable){background:#30333a;border-color:#b68b60}
html[data-theme="dark"] .reinstall-os-version.is-selected{background:#3b3027;border-color:#e7b177}
html[data-theme="dark"] .reinstall-os-version-label small{color:#a5b5c4}
html[data-theme="dark"] .reinstall-os-version-check{border-color:#526071}
html[data-theme="dark"] .reinstall-os-version.is-selected .reinstall-os-version-check{border-color:#edb678;background:#edb678;color:#1b232d}
html[data-theme="dark"] .reinstall-os-version.is-unavailable{background:#1b2630}
html[data-theme="dark"] .reinstall-os-unavailable{color:#e0af7d}
html[data-theme="dark"] .reinstall-os-selection{background:#1e302f;color:#a0dfc5}
html[data-theme="dark"] .reinstall-os-empty{color:#93a6b8}
