/* CloneyX global theme layer. Light mode remains the original default; dark mode is opt-in. */
:root{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;--graphite:#e7edf6;--paper:#0b1220;--slate:#a6b4c9;--muted:#8d9bb1;--line:#29364b;--line-dark:#34435b;--success-bg:#102a20;--warning-bg:#302610;--danger-bg:#321b22;--shadow-sm:0 8px 24px rgba(0,0,0,.2);--shadow-md:0 18px 60px rgba(0,0,0,.3);--shadow-xl:0 32px 90px rgba(0,0,0,.44)}
:root[data-theme="dark"] body{background:#0b1220;color:#e7edf6}
:root[data-theme="dark"] a{color:inherit}
:root[data-theme="dark"] ::selection{background:rgba(130,148,255,.32);color:#fff}
:root[data-theme="dark"] body p{color:#aab8cd}
:root[data-theme="dark"] body h1,:root[data-theme="dark"] body h2,:root[data-theme="dark"] body h3,:root[data-theme="dark"] body h4,:root[data-theme="dark"] body h5,:root[data-theme="dark"] body h6{color:#eef3fc}
:root[data-theme="dark"] body small{color:#9aa9bf}
:root[data-theme="dark"] .theme-toggle{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #34435b;border-radius:12px;background:#142035;color:#c5d0e3;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}
.theme-toggle{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #dbe2ee;border-radius:12px;background:#fff;color:#52627a;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}
.theme-toggle:hover{transform:translateY(-2px);border-color:#8797ff;background:#f5f6ff;color:#4f5fd4}
.theme-toggle:focus-visible{outline:3px solid rgba(99,91,255,.44);outline-offset:3px}
.theme-toggle svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.site-header .nav-actions{gap:12px}
.app-topbar .topbar__right{gap:14px}
/* Restore the untouched light header on the landing page. */
:root:not([data-theme="dark"]) body.page-home .site-header{height:76px;padding:0;border-bottom:1px solid rgba(226,232,240,.82);background:rgba(255,255,255,.92);backdrop-filter:blur(18px)}
:root:not([data-theme="dark"]) body.page-home .site-header .nav-wrap{width:min(1160px,calc(100% - 56px));height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
:root:not([data-theme="dark"]) body.page-home .site-header::after{display:none}
:root:not([data-theme="dark"]) body.page-home .site-header .main-nav a,:root:not([data-theme="dark"]) body.page-home .site-header .nav-login{color:#64748b}
:root:not([data-theme="dark"]) body.page-home .site-header .main-nav a:hover,:root:not([data-theme="dark"]) body.page-home .site-header .nav-login:hover{color:#111827}
:root:not([data-theme="dark"]) body.page-home .site-header .brand__logo{filter:none!important}
:root:not([data-theme="dark"]) body.page-home .site-header .button--primary{border-color:transparent;background:#2563eb;box-shadow:0 7px 18px rgba(37,99,235,.18)}
:root:not([data-theme="dark"]) body.page-home .site-header .mobile-menu{border-color:#e2e8f0;background:#fff;color:#475569}
/* Preserve the exact logo artwork in every theme; light chips protect the original dark wordmark. */
body .site-header .brand__logo,body .site-footer .brand__logo{filter:none!important}
:root[data-theme="dark"] .site-header{border-bottom-color:rgba(154,174,214,.16);background:rgba(9,15,27,.92);color:#e7edf6}
:root[data-theme="dark"] .site-header .nav-wrap{color:#e7edf6}
:root[data-theme="dark"] .site-header .brand--nav{padding:6px 10px;border-radius:11px;background:#f8fafc}
:root[data-theme="dark"] .site-header .main-nav a,:root[data-theme="dark"] .site-header .nav-login{color:#c2cee1}
:root[data-theme="dark"] .site-header .main-nav a:hover,:root[data-theme="dark"] .site-header .main-nav a.is-active,:root[data-theme="dark"] .site-header .nav-login:hover{color:#fff}
:root[data-theme="dark"] .site-header .button--primary{border-color:rgba(151,168,255,.3);background:linear-gradient(135deg,#625bff,#4776f5);color:#fff}
:root[data-theme="dark"] .site-header .mobile-menu{border-color:#34435b;background:#142035;color:#e1e9f6}
:root[data-theme="dark"] .site-header .theme-toggle{border-color:rgba(183,197,226,.2);background:rgba(255,255,255,.06);color:#d4ddff}
:root[data-theme="dark"] .site-footer{border-top-color:#243147;background:linear-gradient(180deg,#0b101b,#090e17)}
/* Public landing: the original light surfaces become layered navy/blue surfaces only in dark mode. */
:root[data-theme="dark"] body.page-home{background:#0b1220;color:#e7edf6}
:root[data-theme="dark"] body.page-home .section-intro,:root[data-theme="dark"] body.page-home .section-faq{background:linear-gradient(180deg,#101827 0%,#0d1524 100%)}
:root[data-theme="dark"] body.page-home .section-soft{background:linear-gradient(135deg,#111b2b,#101827 52%,#0d1523)}
:root[data-theme="dark"] body.page-home .section-pricing{background:radial-gradient(ellipse at 50% 2%,rgba(99,91,255,.12),transparent 44%),linear-gradient(180deg,#101827,#0b1220)}
:root[data-theme="dark"] body.page-home .section-index,:root[data-theme="dark"] body.page-home .intro-mark{color:#9caec8}
:root[data-theme="dark"] body.page-home .intro-mark{border-color:rgba(149,166,255,.24);background:radial-gradient(circle,rgba(99,91,255,.12),transparent 68%);box-shadow:0 0 0 9px rgba(99,91,255,.04),0 12px 42px rgba(0,0,0,.22)}
:root[data-theme="dark"] body.page-home .intro-content h2 em{color:#aab8d0}
:root[data-theme="dark"] body.page-home .lead,:root[data-theme="dark"] body.page-home .section-heading>p,:root[data-theme="dark"] body.page-home .faq-layout>div>p{color:#aab8cd}
:root[data-theme="dark"] body.page-home .steps{background:transparent}
:root[data-theme="dark"] body.page-home .step-card{border-color:#2a3850;background:linear-gradient(145deg,#172338,#121c2d);box-shadow:0 12px 35px rgba(0,0,0,.17);color:#e7edf6}
:root[data-theme="dark"] body.page-home .step-card h3,:root[data-theme="dark"] body.page-home .step-card__num{color:#e7edf6}
:root[data-theme="dark"] body.page-home .step-card p{color:#a9b7cd}
:root[data-theme="dark"] body.page-home .step-card__icon{border-color:rgba(146,160,255,.22);background:linear-gradient(145deg,#222847,#19233d);color:#b9c4ff}
:root[data-theme="dark"] body.page-home .step-card:hover{border-color:rgba(147,160,255,.48);background:linear-gradient(145deg,#1c2941,#142036);box-shadow:0 20px 48px rgba(0,0,0,.3)}
:root[data-theme="dark"] body.page-home .feature-row h3{color:#edf2fb}
:root[data-theme="dark"] body.page-home .feature-row p{color:#a6b4c8}
:root[data-theme="dark"] body.page-home .price-card{border-color:#2b3951;background:linear-gradient(150deg,#172338,#121b2c);color:#e7edf6;box-shadow:0 14px 38px rgba(0,0,0,.24)}
:root[data-theme="dark"] body.page-home .price-card__name,:root[data-theme="dark"] body.page-home .price-card__duration,:root[data-theme="dark"] body.page-home .price-card__price strong{color:#f0f4fc}
:root[data-theme="dark"] body.page-home .price-card p,:root[data-theme="dark"] body.page-home .price-card__price span,:root[data-theme="dark"] body.page-home .price-card__note{color:#aab8cd}
:root[data-theme="dark"] body.page-home .price-card:hover{border-color:rgba(144,157,255,.5);box-shadow:0 22px 52px rgba(0,0,0,.34)}
:root[data-theme="dark"] body.page-home .price-card--featured{border-color:rgba(137,149,255,.58);background:linear-gradient(150deg,#1d2943,#151f34)}
:root[data-theme="dark"] body.page-home .pricing-disclaimer{border-color:#2a3850;background:#131f31;color:#aebbd0}
:root[data-theme="dark"] body.page-home .faq-list,:root[data-theme="dark"] body.page-home .faq-item{border-color:#2a3850}
:root[data-theme="dark"] body.page-home .faq-item summary{color:#e6edf8}
:root[data-theme="dark"] body.page-home .faq-item summary:hover{color:#b5c1ff}
:root[data-theme="dark"] body.page-home .faq-item summary span{border-color:#34435b;background:#172338;color:#c7d2e5}
:root[data-theme="dark"] body.page-home .faq-item[open] summary span{border-color:#6974cc;background:#252c4a;color:#d1d7ff}
:root[data-theme="dark"] body.page-home .faq-item>p{color:#acbad0}
:root[data-theme="dark"] body.page-home .final-cta{background:radial-gradient(ellipse at 88% 44%,rgba(90,108,255,.23),transparent 38%),linear-gradient(120deg,#080e19,#111a2c 58%,#121a2a)}
/* Authentication and public content pages. */
:root[data-theme="dark"] .auth-section,:root[data-theme="dark"] .page-hero{background:linear-gradient(135deg,#0b1220,#101b2d)}
:root[data-theme="dark"] .auth-card{border:1px solid #29374e;background:linear-gradient(145deg,#162237,#111b2d);box-shadow:0 24px 70px rgba(0,0,0,.34);color:#e7edf6}
:root[data-theme="dark"] .auth-card h2{color:#f0f4fb}
:root[data-theme="dark"] .auth-card__lead,:root[data-theme="dark"] .auth-switch,:root[data-theme="dark"] .page-hero p{color:#aab8cd}
:root[data-theme="dark"] .auth-switch a,:root[data-theme="dark"] .check-field a{color:#a9b7ff}
:root[data-theme="dark"] .field>span,:root[data-theme="dark"] .check-field{color:#d1daea}
:root[data-theme="dark"] .field__input{border-color:#34435b;background:#0e1728;color:#b2bfd4}
:root[data-theme="dark"] .field__input:focus-within{border-color:#7785f7;box-shadow:0 0 0 3px rgba(99,91,255,.15)}
/* Authenticated workspace: navigation, cards, tables and file/workflow tools. */
:root[data-theme="dark"] body.is-app,:root[data-theme="dark"] .app-shell,:root[data-theme="dark"] .app-main,:root[data-theme="dark"] .app-content{background:#0b1220;color:#e6edf7}
:root[data-theme="dark"] .sidebar{border-color:#26344a;background:#0e1727;color:#dce5f3}
:root[data-theme="dark"] .sidebar .brand{padding:8px 10px;border-radius:12px;background:#f8fafc}
:root[data-theme="dark"] .sidebar__group-label,:root[data-theme="dark"] .sidebar__user-copy small{color:#8f9eb5}
:root[data-theme="dark"] .sidebar__link{color:#aebbd0}
:root[data-theme="dark"] .sidebar__link:hover{background:#17253a;color:#e9effa}
:root[data-theme="dark"] .sidebar__link.is-active{border-color:rgba(129,147,255,.22);background:rgba(95,111,232,.17);color:#b8c2ff}
:root[data-theme="dark"] .sidebar__bottom{border-color:#29364b}
:root[data-theme="dark"] .app-topbar{border-color:#26344a;background:rgba(12,19,33,.92);color:#e6edf7}
:root[data-theme="dark"] .breadcrumbs span,:root[data-theme="dark"] .breadcrumbs svg{color:#8494ad}
:root[data-theme="dark"] .breadcrumbs strong,:root[data-theme="dark"] .topbar__secure{color:#d0daea}
:root[data-theme="dark"] .topbar__secure{border-color:#2b3950;background:#121e30}
:root[data-theme="dark"] .app-topbar .theme-toggle{border-color:#34435b;background:#142035;color:#d2dcf2}
:root[data-theme="dark"] .panel-card,:root[data-theme="dark"] .workspace-card,:root[data-theme="dark"] .side-card,:root[data-theme="dark"] .log-card,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .metric-card,:root[data-theme="dark"] .workflow-shell,:root[data-theme="dark"] .workflow-subpanel,:root[data-theme="dark"] .workflow-privacy,:root[data-theme="dark"] .plan-current,:root[data-theme="dark"] .capture-row,:root[data-theme="dark"] .activity-row,:root[data-theme="dark"] .queue-item,:root[data-theme="dark"] .workflow-item,:root[data-theme="dark"] .archive-card,:root[data-theme="dark"] .workflow-toolbar,:root[data-theme="dark"] .workflow-summary>div{border-color:#29384f;background:#121e30;color:#e2eaf6;box-shadow:0 12px 32px rgba(0,0,0,.16)}
:root[data-theme="dark"] .page-heading h1,:root[data-theme="dark"] .page-heading h2,:root[data-theme="dark"] .page-intro h1,:root[data-theme="dark"] .page-intro h2,:root[data-theme="dark"] .panel-card h2,:root[data-theme="dark"] .panel-card h3,:root[data-theme="dark"] .workspace-card h2,:root[data-theme="dark"] .workspace-card h3,:root[data-theme="dark"] .metric-card strong,:root[data-theme="dark"] .admin-card h2,:root[data-theme="dark"] .admin-card h3{color:#edf3fc}
:root[data-theme="dark"] .page-intro p,:root[data-theme="dark"] .panel-card p,:root[data-theme="dark"] .workspace-card p,:root[data-theme="dark"] .metric-card small,:root[data-theme="dark"] .metric-card span,:root[data-theme="dark"] .side-card p,:root[data-theme="dark"] .admin-card p,:root[data-theme="dark"] .activity-row__main>small,:root[data-theme="dark"] .queue-item__detail,:root[data-theme="dark"] .workflow-heading p,:root[data-theme="dark"] .workflow-subpanel__heading p,:root[data-theme="dark"] .workflow-item__files,:root[data-theme="dark"] .workflow-date-info{color:#a5b4ca!important}
:root[data-theme="dark"] .app-content table{color:#dbe5f3}
:root[data-theme="dark"] .app-content th{border-color:#2a3850;background:#17243a;color:#b9c6dc}
:root[data-theme="dark"] .app-content td{border-color:#29374d;color:#d6e0ef}
:root[data-theme="dark"] .app-content tr:hover td{background:#142138}
:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{border-color:#35445d;background:#0d1728;color:#e5edf7;color-scheme:dark}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#7888a2}
:root[data-theme="dark"] input[type="checkbox"],:root[data-theme="dark"] input[type="radio"]{accent-color:#858dff}
:root[data-theme="dark"] option{background:#111b2d;color:#e5edf7}
:root[data-theme="dark"] code,:root[data-theme="dark"] .workflow-heading code,:root[data-theme="dark"] .workflow-subpanel code{border-color:#34435b;background:#1b2940;color:#d9e2f1}
:root[data-theme="dark"] .workflow-heading__mark,:root[data-theme="dark"] .workflow-steps li,:root[data-theme="dark"] .workflow-mini-count,:root[data-theme="dark"] .operation-pill{border-color:#34435b;background:#1b2940;color:#c2cee1}
:root[data-theme="dark"] .workflow-tree,:root[data-theme="dark"] .queue-progress,:root[data-theme="dark"] .subscription-dates>div,:root[data-theme="dark"] .activity-details>div,:root[data-theme="dark"] .subscription-empty,:root[data-theme="dark"] .empty-state--lock{border-color:#2b3950;background:#152237;color:#dae4f2}
:root[data-theme="dark"] .workflow-tree summary,:root[data-theme="dark"] .tree-file-name,:root[data-theme="dark"] .activity-details code{color:#d9e3f2}
:root[data-theme="dark"] .workflow-tree summary:hover,:root[data-theme="dark"] .tree-file-row:hover{background:#1b2940}
:root[data-theme="dark"] .tree-file-origin,:root[data-theme="dark"] .archive-card__copy small,:root[data-theme="dark"] .subscription-dates small{color:#8f9eb5}
:root[data-theme="dark"] .conflict-card,:root[data-theme="dark"] .workflow-conflicts{border-color:#654f28;background:#2a2315;color:#f6d78b}
:root[data-theme="dark"] .tree-conflict,:root[data-theme="dark"] .conflict-count{background:#38202a;color:#ffb7c3}
:root[data-theme="dark"] .tree-edited{background:#12352a;color:#8ee0ba}
:root[data-theme="dark"] .status-pill--active,:root[data-theme="dark"] .operation-pill--completed{background:#123629;color:#8ee0b5}
:root[data-theme="dark"] .status-pill--pending,:root[data-theme="dark"] .operation-pill--submitted{background:#282342;color:#c4b8ff}
:root[data-theme="dark"] .status-pill--expired,:root[data-theme="dark"] .status-pill--cancelled,:root[data-theme="dark"] .operation-pill--failed{background:#3a2028;color:#ffb4bf}
:root[data-theme="dark"] .operation-pill--processing{background:#132d48;color:#8ac8ff}
:root[data-theme="dark"] .notice--success{border-color:#23543f;background:#102a20;color:#9be5b9}
:root[data-theme="dark"] .notice--warning{border-color:#66532b;background:#302610;color:#f3d48c}
:root[data-theme="dark"] .notice--error{border-color:#63343f;background:#321b22;color:#ffc0ca}
:root[data-theme="dark"] .notice--info{border-color:#2a4d74;background:#122840;color:#acd4ff}
:root[data-theme="dark"] .icon-button{border-color:#33425a;background:#142035;color:#ced8e8}
:root[data-theme="dark"] .icon-button:hover{border-color:#7280e7;background:#1a2941;color:#c4cbff}
:root[data-theme="dark"] .capture-destination-note,:root[data-theme="dark"] .preview-safety-note,:root[data-theme="dark"] .validity-meter,:root[data-theme="dark"] .subscription-last-status{color:#aab8cd}
:root[data-theme="dark"] .single-result__error,:root[data-theme="dark"] .workflow-conflicts{background:#2a2315;color:#f6d78b}
@media(max-width:660px){:root[data-theme="dark"] .site-header .main-nav{border-color:#2d3b52;background:rgba(11,18,32,.98);box-shadow:0 18px 35px rgba(0,0,0,.38)}:root:not([data-theme="dark"]) body.page-home .site-header .main-nav{background:#fff}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none!important}}

/* Keep the tiny product mockup as a crisp light UI surface in the dark page theme. */
:root[data-theme="dark"] body.page-home .app-preview{background:#fff;color:#111827}
:root[data-theme="dark"] body.page-home .app-preview :is(h1,h2,h3,h4,h5,h6){color:#111827}
:root[data-theme="dark"] body.page-home .app-preview p{color:#64748b}
:root[data-theme="dark"] body.page-home .app-preview small,:root[data-theme="dark"] body.page-home .app-preview .preview-user small,:root[data-theme="dark"] body.page-home .app-preview .preview-content__top small{color:#8491a4}
:root[data-theme="dark"] body.page-home .app-preview .preview-nav{color:#8491a4}
:root[data-theme="dark"] body.page-home .app-preview .preview-nav--active{background:#eef4ff;color:#2563eb}
:root[data-theme="dark"] body.page-home .app-preview .preview-status,:root[data-theme="dark"] body.page-home .app-preview .preview-bottom{color:#7d899b}
:root[data-theme="dark"] .sidebar .brand__caption{color:#64748b}
:root[data-theme="dark"] .site-header .brand__logo,:root[data-theme="dark"] .sidebar .brand__logo,:root[data-theme="dark"] .site-footer .brand__logo{filter:none!important}

/* Shared pricing cards are used by both the homepage and /planos. */
:root[data-theme="dark"] .price-card{border-color:#2b3951;background:linear-gradient(150deg,#172338,#121b2c);color:#e7edf6;box-shadow:0 14px 38px rgba(0,0,0,.24)}
:root[data-theme="dark"] .price-card__name,:root[data-theme="dark"] .price-card__duration,:root[data-theme="dark"] .price-card__price strong{color:#f0f4fc}
:root[data-theme="dark"] .price-card p,:root[data-theme="dark"] .price-card__price span,:root[data-theme="dark"] .price-card__note{color:#aab8cd}
:root[data-theme="dark"] .price-card--featured{border-color:rgba(137,149,255,.58);background:linear-gradient(150deg,#1d2943,#151f34)}
:root[data-theme="dark"] .price-card .button--outline{border-color:#3a4964;background:#172338;color:#e1e9f6}
:root[data-theme="dark"] .price-card .button--outline:hover{border-color:#8b96ff;color:#d1d7ff;background:#212a45}
:root[data-theme="dark"] .price-card .price-card__note svg{color:#aab8cd}
:root[data-theme="dark"] .pricing-disclaimer{border-color:#2a3850;background:#131f31;color:#aebbd0}

/* Gentle +1 px readability lift for small labels and metadata; headings/body copy stay unchanged. */
body .brand__caption{font-size:10px}
body.page-home .main-nav a,body.page-home .nav-login,body:not(.page-home) .site-header .main-nav a,body:not(.page-home) .site-header .nav-login{font-size:13px}
body.page-home .hero__proof,body.page-home .hero__bottom{font-size:10px}
body.page-home .chrome-url{font-size:10px}
body.page-home .preview-content__top small,body.page-home .demo-heading small,body.page-home .preview-user small{font-size:8px}
body.page-home .preview-bottom{font-size:7px}
body.page-home .section-index,body.page-home .step-card__num{font-size:10px}
body .price-card__note{font-size:9px}
body .footer-bottom{font-size:10px}
body .eyebrow{font-size:12px}
body.is-app .sidebar__group-label{font-size:11px}
body.is-app .sidebar__user-copy small{font-size:12px}
body.is-app .topbar__secure{font-size:13px}
body.is-app .subscription-kicker{font-size:11px}
body.is-app .subscription-dates small{font-size:10px}
body.is-app .chart-labels{font-size:12px}
body.is-app .activity-row__main>small{font-size:13px}
body.is-app .operation-pill{font-size:13px}
body.is-app .workflow-mini-count{font-size:12px}
body.is-app .workflow-date-info{font-size:13px}
body.is-app .workflow-item__top small{font-size:13px}
body.is-app .workflow-item__files{font-size:13px}
body.is-app .tree-file-origin{font-size:12px}
body.is-app .archive-card__copy small{font-size:13px}
body.page-login .field>span,body.page-register .field>span{font-size:13px}


/* Use CloneyX's supplied dark-background logo artwork; keep the symbol gradients original. */
:root[data-theme="dark"] .site-header .brand--nav,
:root[data-theme="dark"] .sidebar .brand{padding:0;border-radius:0;background:transparent}
:root[data-theme="dark"] .site-header .brand__logo,
:root[data-theme="dark"] .sidebar .brand__logo,
:root[data-theme="dark"] .site-footer .brand__logo{filter:none!important}


/* High-contrast states for every shared button variant in dark mode. */
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button{opacity:1;color:#e8effa!important;text-shadow:none!important;-webkit-text-fill-color:currentColor}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--primary{border-color:rgba(169,181,255,.4);background:linear-gradient(135deg,#625bff,#4776f5);color:#fff!important;-webkit-text-fill-color:#fff;box-shadow:0 8px 22px rgba(57,76,208,.3)}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--white{border-color:#dbe5f3;background:#eef3fb;color:#142033!important;-webkit-text-fill-color:#142033;box-shadow:0 8px 24px rgba(0,0,0,.22)}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--outline{border-color:#43536d;background:#1b2940;color:#e8effa!important;-webkit-text-fill-color:#e8effa}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--outline-light{border-color:rgba(218,228,247,.5);background:rgba(255,255,255,.08);color:#fff!important;-webkit-text-fill-color:#fff}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--ghost{border-color:transparent;background:rgba(255,255,255,.07);color:#dce6f6!important;-webkit-text-fill-color:#dce6f6}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button--danger{border-color:#74414b;background:#3a2028;color:#ffc3cc!important;-webkit-text-fill-color:#ffc3cc}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button:not(:disabled):hover{filter:brightness(1.12);opacity:1}
:root[data-theme="dark"] :is(a,button,input[type="submit"],input[type="button"]).button:disabled{opacity:.58;color:#b9c3d3!important;-webkit-text-fill-color:#b9c3d3;cursor:not-allowed}


/* ZIP library surfaces: match the authenticated workspace cards in dark mode. */
:root[data-theme="dark"] .zip-library__toolbar{border-color:#29384f;background:#152237;color:#e2eaf6;box-shadow:0 8px 22px rgba(0,0,0,.14)}
:root[data-theme="dark"] .zip-library__selection{color:#a5b4ca}
:root[data-theme="dark"] .zip-library__selection strong{color:#edf3fc}
:root[data-theme="dark"] .zip-library .workflow-select span{color:#a5b4ca}
:root[data-theme="dark"] .zip-library-card{border-color:#29384f;background:#121e30;color:#e2eaf6;box-shadow:0 8px 22px rgba(0,0,0,.14)}
:root[data-theme="dark"] .zip-library-card:hover{border-color:#435674;background:#15243a}
:root[data-theme="dark"] .zip-library-card__copy strong{color:#edf3fc}
:root[data-theme="dark"] .zip-library-card__copy small{color:#a5b4ca}
:root[data-theme="dark"] .zip-library-card__select input{accent-color:#858dff}
