:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f4f6fa;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}.topbar{height:72px;background:#101d32;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);box-shadow:0 4px 20px #14243b20}.brand{font-size:18px;font-weight:800;letter-spacing:1.5px;color:white;text-decoration:none}.brand span{color:#d4ad62}.topbar nav{display:flex;align-items:center;gap:22px;font-size:13px}.topbar a{color:white;text-decoration:none}.topbar form{margin:0}.link-button{background:none;border:0;color:#fff;cursor:pointer;font:inherit}.shell{max-width:1160px;margin:54px auto;padding:0 24px;min-height:70vh}h1{font-size:clamp(30px,4vw,42px);letter-spacing:-1.6px;margin:6px 0 10px}h2{font-size:19px;margin:0 0 6px}h3{margin:10px 0}.muted{color:#778196;line-height:1.6}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.8px;color:#a47d37}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.status-pill{display:inline-block;background:#eef3fa;color:#425a7c;border-radius:30px;padding:8px 13px;font-size:11px;font-weight:700;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat,.panel,.auth-card{background:white;border:1px solid #e9edf3;border-radius:17px;box-shadow:0 8px 28px #17203308}.stat{padding:22px;display:flex;flex-direction:column;gap:9px}.stat strong{font-size:30px;letter-spacing:-1px}.stat small{color:#929bad}.green{color:#16845b}.panel{padding:24px;margin:18px 0}.panel-head{display:flex;justify-content:space-between;margin-bottom:20px}.empty{text-align:center;padding:42px 12px}.empty-icon{margin:auto;width:46px;height:46px;border-radius:14px;background:#f1f4f9;display:grid;place-items:center;font-size:22px;color:#a47d37}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:14px;border-bottom:1px solid #edf0f4;font-size:13px}th{color:#818b9d;font-weight:600}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px}.feature-grid p{margin:6px 0}.auth-card{max-width:460px;margin:30px auto;padding:36px}.auth-card form{display:flex;flex-direction:column;gap:10px;margin:24px 0}.auth-card label{font-size:12px;font-weight:700;margin-top:8px}.auth-card input{height:46px;border:1px solid #dce2eb;border-radius:9px;padding:0 13px;font:inherit;outline-color:#b28c4a}.auth-card small{color:#778196}.primary{height:47px;border:0;border-radius:9px;background:#142642;color:white;font-weight:700;margin-top:12px;cursor:pointer}.auth-card a{color:#9a7434;font-weight:600;text-decoration:none}.notice{padding:12px 15px;border-radius:9px;background:#fff1f0;color:#9b3530;margin-bottom:15px;font-size:13px}footer{text-align:center;color:#98a1b1;padding:28px;font-size:12px}@media(max-width:700px){.shell{margin:30px auto;padding:0 16px}.stats{grid-template-columns:1fr}.welcome{align-items:flex-start;flex-direction:column}.feature-grid{grid-template-columns:1fr}.auth-card{padding:25px}.topbar{padding:0 18px}}

.product-links{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:0 0 18px}.product-link{background:#fff;border:1px solid #e9edf3;border-radius:15px;padding:20px;text-decoration:none;color:#172033;display:grid;gap:8px;box-shadow:0 8px 28px #17203308}.product-link span{font-size:24px;color:#a47d37}.product-link small{color:#778196}.product-link:hover{border-color:#d4ad62}@media(max-width:600px){.product-links{grid-template-columns:1fr}}

/* Stage 3 customer portal */
.welcome-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.primary-link{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:9px;background:#142642;color:#fff;text-decoration:none;border:0;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.stats{grid-template-columns:repeat(4,1fr)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:28px 0 14px}.section-heading h2{font-size:22px}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:20px}.product-card{display:flex;align-items:center;gap:15px;padding:19px;background:#fff;border:1px solid #e9edf3;border-radius:15px;text-decoration:none;color:#172033;box-shadow:0 8px 28px #17203308;transition:border-color .15s,transform .15s}.product-card:hover{border-color:#d4ad62;transform:translateY(-1px)}.product-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#f6f2e9;color:#a47d37;font-size:23px;flex-shrink:0}.product-card div{flex:1}.product-card b{font-size:14px}.product-card p{font-size:12px;color:#778196;margin:5px 0 0}.product-card>strong{font-size:20px;color:#172e50}.dashboard-columns{display:grid;grid-template-columns:1.3fr .9fr;gap:18px;align-items:start}.dashboard-columns .panel{min-width:0;margin-top:0}.text-link{font-size:12px;color:#947039;text-decoration:none;font-weight:700}.activity-list{display:flex;flex-direction:column}.activity-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f4}.activity-item:last-child{border-bottom:0}.activity-dot{width:8px;height:8px;border-radius:50%;background:#cbd2dd;margin-top:6px;flex-shrink:0}.activity-dot.unread{background:#c49a50;box-shadow:0 0 0 4px #f8f1e5}.activity-item p{font-size:12px;color:#778196;line-height:1.5;margin:5px 0}.activity-item small,.invoice-row small{font-size:10px;color:#929bad}.billing-summary{display:grid;grid-template-columns:.7fr 1.3fr;gap:25px;align-items:start;margin-top:18px}.billing-summary>div:first-child{display:flex;flex-direction:column;gap:7px}.billing-summary strong{font-size:25px;color:#172e50}.billing-summary small{font-size:11px;color:#929bad}.invoice-preview{display:flex;flex-direction:column}.invoice-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f4}.invoice-row span:first-child{display:flex;flex-direction:column;gap:4px}.invoice-row b{font-size:12px}.shortcut-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.shortcut-grid a{display:flex;justify-content:space-between;padding:13px 15px;border:1px solid #edf0f4;border-radius:10px;text-decoration:none;color:#27344a;font-size:12px}.shortcut-grid a span{color:#a47d37}.compact{padding:24px 10px}.notification-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-columns{grid-template-columns:1fr}}@media(max-width:600px){.product-grid,.billing-summary,.shortcut-grid{grid-template-columns:1fr}.product-card{padding:15px}.welcome-actions{align-items:flex-start}.stats{grid-template-columns:1fr 1fr}}

/* Stage 4 product catalogue */
.filter-row{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:24px 0}.filter-row label,.form-grid label{display:grid;gap:7px;color:var(--muted,#687386);font-size:13px}.filter-row select,.form-grid input,.form-grid select,.form-grid textarea{font:inherit;color:inherit;background:var(--surface,#fff);border:1px solid var(--line,#dfe4ec);border-radius:10px;padding:11px 12px;min-width:180px}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:22px 0}.plan-card{background:var(--surface,#fff);border:1px solid var(--line,#e2e7ef);border-radius:18px;padding:23px;box-shadow:0 8px 28px rgba(20,35,60,.045)}.plan-card h2{margin:8px 0;font-size:21px}.plan-price{font-size:29px;font-weight:700;letter-spacing:-.7px;margin-top:22px}.small{font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .wide{grid-column:1/-1}.button-secondary{background:#edf1f6;color:#18243a}.empty{padding:38px 20px;text-align:center}@media(max-width:640px){.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.filter-row{align-items:stretch}.filter-row label{flex:1}.filter-row select{width:100%;min-width:0}}

/* Stage 5 domain search and DNS */
.search-domain-form label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}.domain-input-row{display:flex;gap:10px}.domain-input-row input{flex:1;min-width:0;border:1px solid #dce2eb;border-radius:10px;padding:12px;font:inherit}.domain-result{margin-top:24px;padding:20px;border:1px solid #e9edf3;border-radius:13px;background:#fafbfd}.domain-result h2{display:inline-block;margin-right:10px}.dns-value{max-width:360px;overflow-wrap:anywhere}.dark-link{color:#8b3333}.form-grid select{min-height:43px}@media(max-width:600px){.domain-input-row{flex-direction:column}.domain-input-row .primary-link{width:100%}}
.button-link{display:inline-block;padding:10px 15px;border-radius:10px;background:#10243a;color:#fff;text-decoration:none}.key-secret{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#eef2f6;border-radius:10px;color:#10243a}

/* Stage 9 Lightsail hosting */
.plan-card form{display:grid;gap:9px;margin-top:18px}.plan-card form label{font-size:12px;font-weight:700;color:#667187}.plan-card form input{width:100%;padding:11px;border:1px solid #dce2eb;border-radius:9px;font:inherit}.plan-card form .primary-link{width:100%;margin-top:4px}.table-wrap form{display:inline-flex;gap:6px;align-items:center;margin:3px}.table-wrap form input:not([type=hidden]){max-width:150px;padding:8px;border:1px solid #dce2eb;border-radius:8px}


/* Stage 22 reseller portal */
.panel form:not(.inline-form){display:grid;gap:9px}.panel label{display:block;font-size:12px;font-weight:700;color:#667187;margin-top:7px}.panel input,.panel select,.panel textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dce2eb;border-radius:9px;font:inherit;background:#fff;color:#172033}.panel input[type=hidden]{display:none}.panel button.button{padding:10px 15px;border:0;border-radius:9px;background:#edf1f6;color:#172033;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.panel button.button.primary{background:#142642;color:#fff}.panel .list-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #edf0f4}.panel .list-row:last-child{border-bottom:0}.panel .list-row small{display:block;color:#778196;margin-top:4px}.panel .actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.panel .actions .button{display:inline-flex;align-items:center;padding:10px 14px;border-radius:9px;background:#edf1f6;color:#172033;text-decoration:none;font-size:13px}.panel .actions .button.primary{background:#142642;color:#fff}@media(max-width:640px){.panel .list-row{align-items:flex-start;flex-direction:column}.panel .actions{align-items:stretch}.panel .actions .button{justify-content:center}}
.mobile-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border-radius:20px;background:#101b35;color:#fff;margin:22px 0}.mobile-hero h1{margin:6px 0;font-size:clamp(1.7rem,4vw,2.6rem)}.mobile-hero p{max-width:650px;color:#dce3f1}.eyebrow{letter-spacing:.14em;font-size:.75rem;color:#d4b45e!important}.mobile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.panel{background:#fff;border:1px solid #e5e9f1;border-radius:16px;padding:20px;margin:16px 0}.panel h2{margin-top:0}.mobile-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f5}.mobile-item:last-child{border-bottom:0}.mobile-item small{display:block;color:#667085;margin-top:4px}.status-pill{font-size:.78rem;padding:5px 9px;border-radius:20px;background:#eef2f8;color:#24334d}.token-panel form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.token-panel input{padding:11px;border:1px solid #d8deea;border-radius:9px}.mobile-install,.token-panel button,.panel button{background:#c9a227;color:#101b35;border:0;border-radius:9px;padding:11px 15px;font-weight:650;cursor:pointer}.danger-button{background:#fae8e8!important;color:#9b1c1c!important}.token-value{padding:14px;background:#f1f4f9;border-radius:10px;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:650px){.mobile-hero{align-items:flex-start;flex-direction:column;padding:22px}.token-panel form{align-items:stretch;flex-direction:column}.token-panel input{width:100%;box-sizing:border-box}}

/* KAYRON HOST global marketplace */
.market-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr);gap:30px;align-items:center;padding:clamp(25px,5vw,55px);margin:22px 0;border-radius:22px;background:linear-gradient(120deg,#09182d,#172e4d);color:#fff;overflow:hidden}.market-hero h1{max-width:720px;margin:10px 0 14px;font-size:clamp(2rem,4vw,3.35rem);line-height:1.08;letter-spacing:-.04em}.market-hero p:not(.eyebrow){max-width:650px;color:#d4deeb;line-height:1.7}.market-hero .eyebrow{color:#d7b66a}.market-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.market-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 17px;border-radius:9px;text-decoration:none;font:inherit;font-size:13px;font-weight:750;border:1px solid transparent;cursor:pointer}.market-button-gold{background:#d7b66a;color:#101b2d}.market-button-outline{border-color:#71829a;color:#fff;background:transparent}.market-button-dark{background:#10243f;color:#fff}.market-hero-art{min-height:220px;border:1px solid #ffffff24;border-radius:20px;background:radial-gradient(circle at 50% 35%,#36577b,#10233d 65%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#d7b66a}.market-hero-art span{font-size:clamp(4rem,8vw,7rem);font-weight:850;letter-spacing:-.1em}.market-hero-art small{text-align:center;line-height:1.6;letter-spacing:.17em;color:#d7e0ec}.market-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 34px}.market-stats div{padding:18px;border:1px solid #e5e9f1;border-radius:13px;background:#fff;display:grid;gap:5px}.market-stats strong{font-size:25px;color:#142642}.market-stats span{font-size:12px;color:#778196}.market-section-head{display:flex;justify-content:space-between;align-items:end;margin:30px 0 15px}.market-section-head h2,.market-store-list h2,.market-vendor-section h2{margin:4px 0 7px;font-size:25px}.market-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto auto;gap:10px;margin:15px 0 22px}.market-filter input,.market-filter select{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dce2eb;border-radius:9px;background:#fff;color:#172033;font:inherit}.market-clear{align-self:center;color:#8b6b2d;font-size:12px;font-weight:700}.market-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.market-product-card{overflow:hidden;border:1px solid #e5e9f1;border-radius:15px;background:#fff;box-shadow:0 8px 28px #17203308}.market-product-visual{height:145px;background:linear-gradient(135deg,#11243e,#294766);display:flex;align-items:center;justify-content:center;position:relative;color:#d7b66a}.market-product-visual span{font-size:54px;font-weight:850;letter-spacing:-.1em}.market-product-visual small{position:absolute;left:13px;bottom:12px;color:#fff;background:#ffffff20;padding:5px 8px;border-radius:20px;font-size:10px}.market-product-body{padding:16px}.market-product-meta{display:flex;justify-content:space-between;gap:8px;color:#8a6b31;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.market-product-body h3{font-size:17px;margin:12px 0 7px;color:#172033}.market-product-body>p{min-height:38px;font-size:12px;line-height:1.55;color:#778196}.market-vendor{font-size:11px;color:#778196;padding:10px 0;border-top:1px solid #edf0f4}.market-vendor strong{color:#34445a}.market-product-buy{display:flex;align-items:center;justify-content:space-between;gap:10px}.market-product-buy>strong{font-size:16px;color:#172e50}.market-product-buy a{font-size:12px;font-weight:750;text-decoration:none;color:#8b6b2d}.market-empty{grid-column:1/-1;padding:35px}.market-vendor-section{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:35px 0;padding:25px;border-radius:16px;background:#f5f2eb}.market-vendor-section>div{max-width:700px}.market-store-list{margin:35px 0}.market-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-store-card{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e5e9f1;border-radius:12px;text-decoration:none;color:#172033;background:#fff}.market-store-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#f5f2eb;color:#a47d37;font-size:23px}.market-store-card>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.market-store-card small{font-size:11px;color:#778196;overflow:hidden;text-overflow:ellipsis}.market-store-card>b{font-size:11px;color:#8b6b2d;white-space:nowrap}@media(max-width:850px){.market-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-hero{grid-template-columns:1fr}.market-hero-art{min-height:150px}.market-filter{grid-template-columns:1fr 1fr}.market-filter button{grid-column:1}.market-clear{grid-column:2;grid-row:2}}@media(max-width:560px){.market-product-grid,.market-store-grid{grid-template-columns:1fr}.market-stats{gap:7px}.market-stats div{padding:12px}.market-stats strong{font-size:20px}.market-vendor-section{align-items:flex-start;flex-direction:column}.market-filter{grid-template-columns:1fr}.market-filter button,.market-clear{grid-column:auto;grid-row:auto}}

/* =========================================================
   KAYRON HOST — UI Standard Kit 09 Nov 2026
   Applied: responsive phone navigation, system-aware theme,
   accessible focus states, and dark-mode surface treatment.
   ========================================================= */
.theme-toggle{
  display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;
  margin-left:auto;margin-right:12px;border:1px solid rgba(255,255,255,.18);
  border-radius:12px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;
  font:600 12px/1 inherit;
}
.theme-toggle .tt-icon{font-size:17px;line-height:1}
.theme-toggle:focus-visible{outline:3px solid #f2b01e;outline-offset:2px}
@media(max-width:760px){
  .topbar{min-height:64px;height:auto;padding:10px 14px;gap:8px}
  .topbar .brand{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .theme-toggle{margin-left:0;margin-right:0;width:40px;height:40px;min-height:40px;padding:0;justify-content:center;border-radius:12px}
  .theme-toggle .tt-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .shell{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}
}

/* Dark mode surfaces */
html[data-theme="dark"]{
  --surface:#111a2a;--surface-2:#17233a;--ink:#e6edf6;--muted:#a3b2c6;--line:#293a52;
}
html[data-theme="dark"] body{background:#0b1220;color:#e6edf6}
html[data-theme="dark"] .shell{color:#e6edf6}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .product-link,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .domain-result,
html[data-theme="dark"] .market-stats div,
html[data-theme="dark"] .market-product-card,
html[data-theme="dark"] .market-store-card{
  background:#111a2a;color:#e6edf6;border-color:#293a52;box-shadow:0 10px 32px rgba(0,0,0,.22)
}
html[data-theme="dark"] .product-link,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .market-store-card{color:#e6edf6}
html[data-theme="dark"] .muted,
html[data-theme="dark"] .product-card p,
html[data-theme="dark"] .product-link small,
html[data-theme="dark"] .activity-item p,
html[data-theme="dark"] .activity-item small,
html[data-theme="dark"] .invoice-row small,
html[data-theme="dark"] th,
html[data-theme="dark"] .small{color:#a3b2c6}
html[data-theme="dark"] table td,
html[data-theme="dark"] table th,
html[data-theme="dark"] .activity-item,
html[data-theme="dark"] .invoice-row,
html[data-theme="dark"] .shortcut-grid a{border-color:#293a52}
html[data-theme="dark"] .panel input,
html[data-theme="dark"] .panel select,
html[data-theme="dark"] .panel textarea,
html[data-theme="dark"] .form-grid input,
html[data-theme="dark"] .form-grid select,
html[data-theme="dark"] .form-grid textarea,
html[data-theme="dark"] .filter-row select,
html[data-theme="dark"] .market-filter input,
html[data-theme="dark"] .market-filter select,
html[data-theme="dark"] .domain-input-row input,
html[data-theme="dark"] .search-domain-form input,
html[data-theme="dark"] .auth-card input{
  background:#0c1422;color:#e6edf6;border-color:#33465f
}
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .panel button.button,
html[data-theme="dark"] .shortcut-grid a{
  background:#17233a;color:#e6edf6
}
html[data-theme="dark"] .empty-icon,
html[data-theme="dark"] .product-icon,
html[data-theme="dark"] .market-store-icon{
  background:#17233a;color:#e0bd6d
}
html[data-theme="dark"] .status-pill{background:#17233a;color:#cbd8e8}
html[data-theme="dark"] .notice{background:#3a2022;color:#ffc6c3}
html[data-theme="dark"] footer{color:#7f90a8}
html[data-theme="dark"] .key-secret,
html[data-theme="dark"] .token-value{background:#17233a;color:#e6edf6}
html[data-theme="dark"] .market-vendor-section{background:#17233a;color:#e6edf6}
html[data-theme="dark"] .market-product-body h3{color:#e6edf6}
html[data-theme="dark"] .market-product-body>p{color:#a3b2c6}
html[data-theme="dark"] .market-product-visual{background:linear-gradient(135deg,#0b1729,#1a3654)}
