@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
[hidden]{display:none!important}
.checkout-result{padding:16px 18px;margin-bottom:28px!important;border:1px solid #8baea0;background:#f5fbf5;font-size:14px;color:#315f4c}
.download-label{margin:20px 0 7px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4f6b5a}.dialog-content #download-options{display:grid;gap:8px}.dialog-content #download-options .button{margin:0}.dialog-content #download-status{font-size:13px;color:#5d7567}
.hero .hero-stage:after{display:none}.more-button{margin-top:16px;width:100%;padding:15px;border:1px solid #527063;background:#20382e;color:#e7f6ea;font-size:13px;font-weight:700;text-align:center}.more-button:hover{background:#2d4a3a}.more-button[hidden]{display:none}
:root{font-family:'DM Sans',Arial,sans-serif;color:#142020;background:#f5f7f6;font-synthesis:none;--ink:#142020;--muted:#5a6b69;--line:#cbd7d3;--green:#135e47}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #3f78ea;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-60px;left:20px;background:white;padding:12px;z-index:20}.skip-link:focus{top:12px}.shell{width:min(100% - 64px,1320px);margin:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand,.stage-title,.price{font-family:'Space Grotesk',Arial,sans-serif}
.site-header{background:#f5f7f6;border-bottom:1px solid var(--line)}.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.08em;white-space:nowrap}.brand-mark{width:28px;height:28px;display:grid;place-items:center;color:#f7fff9;background:var(--ink);font-size:16px;letter-spacing:-.1em;clip-path:polygon(0 0,100% 0,100% 75%,72% 100%,0 100%)}.brand-dot{color:#1da97b}.site-header nav{display:flex;gap:34px}.site-header nav a{font-size:13px;font-weight:700;text-decoration:none}.site-header nav a:hover,.text-link:hover{color:var(--green)}.nav-account{background:transparent;border:1px solid var(--ink);padding:11px 16px;font-size:13px;font-weight:700}.nav-account:hover{background:var(--ink);color:white}
.hero{border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;min-height:690px}.hero-copy{padding:90px 48px 75px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow,.kicker,.catalog-label,.stage-top,.stage-bottom,.plan-top{font-size:11px;font-weight:700;letter-spacing:.14em}.eyebrow{display:flex;gap:9px;align-items:center;color:var(--green);text-transform:uppercase}.signal-dot,.platform-dot{width:7px;height:7px;background:#27ab78;border-radius:50%;flex:0 0 auto}.hero h1{max-width:650px;font-size:clamp(68px,6.9vw,115px);line-height:.94;letter-spacing:-.095em;margin:29px 0 26px}.hero h1 em{font-style:normal;color:#2c9575}.hero-lead{max-width:495px;font-size:19px;line-height:1.55;color:#4f6460;margin-bottom:29px}.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:53px;padding:13px 19px;text-decoration:none;font-weight:700;font-size:14px;border:1px solid transparent;transition:transform .17s ease,background .17s ease,color .17s ease}.button:hover{transform:translateY(-2px)}.primary{background:var(--ink);color:white}.primary:hover{background:#245f4c}.text-link{display:inline-flex;gap:24px;text-decoration:none;font-weight:700;font-size:14px}.micro{font-size:12px;color:#687b77;margin:25px 0 0}.hero-stage{background:#152522;color:#ecfbf3;min-height:645px;margin:25px 0 25px 34px;padding:34px 38px;display:flex;flex-direction:column;position:relative;overflow:hidden}.hero-stage:after{content:'';position:absolute;width:340px;height:340px;border:1px solid rgba(140,235,183,.14);border-radius:50%;right:-145px;top:130px;pointer-events:none}.stage-top,.stage-bottom{display:flex;justify-content:space-between;color:#85a79d}.stage-title{font-size:clamp(45px,4.3vw,75px);line-height:1.03;letter-spacing:-.07em;margin-top:75px;margin-bottom:36px}.stage-title span{color:#81dea9}.stage-list{position:relative;z-index:1}.stage-list div{display:grid;grid-template-columns:45px 1fr 16px;align-items:center;border-top:1px solid #49645b;min-height:61px}.stage-list div:last-child{border-bottom:1px solid #49645b}.stage-list div span{font-size:11px;color:#8fac9d}.stage-list strong{font-size:19px;letter-spacing:-.03em}.stage-bottom{margin-top:auto;padding-top:34px}
.intro-band{background:#e5eeea}.intro-grid{min-height:270px;display:grid;grid-template-columns:1fr 1.6fr 1fr;align-items:center;gap:35px}.kicker{color:#287b61;margin:0 0 15px}.intro-grid .kicker{align-self:center}.intro-grid h2{font-size:clamp(30px,3.3vw,48px);line-height:1.04;letter-spacing:-.06em;margin:0}.intro-grid>p:last-child{color:#50645d;line-height:1.65;margin:0;font-size:14px}
.modules-section{padding:116px 0 104px;background:#f9fbfa}.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:38px}.section-head h2,.access-copy h2{font-size:clamp(44px,5vw,69px);line-height:1.03;letter-spacing:-.075em;margin:0}.section-head h2 span{color:#76918a}.section-head>p{color:var(--muted);line-height:1.6;max-width:330px;margin:0;font-size:14px}.catalog{background:#152522;color:#f0fbf4;border:1px solid #152522;box-shadow:0 25px 60px rgba(26,46,41,.09)}.catalog-toolbar{min-height:84px;padding:19px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #39554a}.catalog-toolbar>div{display:flex;align-items:center;gap:19px}.catalog-label{color:#8cb4a1}.catalog-count{font-size:12px;color:#d8eae0}.search-wrap{position:relative;width:min(100%,315px)}.search-wrap input{width:100%;background:#233b34;color:white;border:1px solid #527063;border-radius:0;padding:12px 37px 12px 14px;outline:0;font-size:13px}.search-wrap input::placeholder{color:#acc3b6}.search-wrap input:focus{border-color:#a1edbb}.search-wrap>span:last-child{position:absolute;right:13px;top:8px;font-size:24px;color:#aac9b6;pointer-events:none}.catalog-body{display:grid;grid-template-columns:240px 1fr;min-height:500px}.category-list{padding:16px;border-right:1px solid #39554a;display:flex;flex-direction:column;gap:2px}.category-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 12px;text-align:left;border:0;background:transparent;color:#b9d3c5;font-size:14px;font-weight:700}.category-button span:last-child{font-size:11px;color:#84a798}.category-button:hover{background:#27443a;color:white}.category-button.active{background:#c6f2d7;color:#102920}.category-button.active span:last-child{color:#3b6a57}.module-area{padding:23px 25px 27px}.module-hint{font-size:12px;color:#9cb8a8;margin:0 0 17px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#39554a;border:1px solid #39554a}.module-card{border:0;min-height:151px;background:#1c3029;padding:18px;text-align:left;color:#edf8ef;display:flex;flex-direction:column;justify-content:space-between;gap:18px;transition:background .15s ease}.module-card:hover{background:#2b4a3b}.module-card .card-top{display:flex;justify-content:space-between;gap:12px;color:#8db39f;font-size:10px;font-weight:700;letter-spacing:.12em}.module-card strong{display:block;font-family:'Space Grotesk',Arial,sans-serif;font-size:19px;letter-spacing:-.045em}.module-card p{font-size:12px;line-height:1.45;color:#adc6b5;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.catalog-disclaimer{font-size:12px;color:#667a74;margin:16px 0 0}.empty-state{grid-column:1/-1;padding:50px 25px;color:#b7ccbf}
.access-section{padding:110px 0;background:#e3f1e9;border-top:1px solid #cadecf}.access-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px}.access-copy>p:not(.kicker){max-width:390px;color:#526c5f;line-height:1.65;font-size:16px;margin:23px 0 0}.platform-note{display:flex;gap:12px;align-items:flex-start;margin-top:72px}.platform-note strong,.platform-note span{display:block}.platform-note strong{font-size:13px}.platform-note div span{font-size:12px;color:#5f786b;margin-top:5px}.platform-dot{margin-top:5px}.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.plan{background:#f7fbf8;border:1px solid #bfd5c8;padding:25px;min-height:340px;display:flex;flex-direction:column}.plan.featured{background:#142821;color:white;border-color:#142821}.plan-top{display:flex;justify-content:space-between;gap:10px;color:#4e8a66;font-size:10px}.featured .plan-top{color:#a2cbb0}.plan h3{font-size:23px;letter-spacing:-.05em;margin:42px 0 13px}.price{font-size:42px;line-height:1;letter-spacing:-.07em;font-weight:700}.price span{font-family:'DM Sans',Arial,sans-serif;font-size:13px;color:#67816d;letter-spacing:0;font-weight:500}.featured .price span{color:#b3c9b9}.plan p{font-size:12px;color:#677d70;line-height:1.5;margin:18px 0 26px}.featured p{color:#b8cebd}.plan-button{width:100%;margin-top:auto;background:#c6f2d7;color:#143627}.plan-button:hover{background:#a2eabd}.featured .plan-button{background:#b8edc9}.plan-footnote{grid-column:1/-1;font-size:11px;line-height:1.5;color:#6a8070;margin:0}.site-footer{background:#142821;color:#b6cfc1}.footer-inner{min-height:115px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-footer .brand{color:white}.site-footer .brand-mark{background:#b9ebca;color:#142821}.footer-inner p,.footer-inner>span{font-size:12px;margin:0}
dialog{border:1px solid #a8c6b2;box-shadow:0 25px 80px rgba(0,0,0,.2);width:min(100% - 30px,470px);padding:0;background:#f9fcf9;color:var(--ink)}dialog::backdrop{background:rgba(6,22,18,.6)}.dialog-close{position:absolute;right:15px;top:15px}.dialog-close button{border:0;background:transparent;font-size:30px;line-height:1;color:#506d5f}.dialog-content{padding:42px}.dialog-content h2{font-size:37px;letter-spacing:-.065em;margin:0 0 12px}.dialog-content>p:not(.kicker){font-size:14px;line-height:1.6;color:#5d7567}.dialog-content form:not(.dialog-close){display:grid;gap:14px;margin-top:22px}.dialog-content label{display:grid;gap:6px;font-size:12px;font-weight:700}.dialog-content input{padding:12px;border:1px solid #a6bbae;background:white;width:100%}.dialog-content .button{width:100%;margin-top:5px}.dialog-switch{border:0;background:transparent;color:var(--green);font-size:13px;text-decoration:underline;text-underline-offset:3px;margin-top:19px;padding:0}.form-status{min-height:20px;margin:12px 0 0!important;color:#9c3e33!important}.module-dialog .dialog-content{min-height:270px;display:flex;align-items:flex-start;flex-direction:column}.module-dialog #detail-description{font-size:16px}.module-dialog #detail-access{margin-top:22px}
.module-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.module-dialog h2{overflow-wrap:anywhere}
@media(max-width:1050px){.hero-grid{grid-template-columns:1fr 1fr}.hero-stage{margin-left:0}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-grid{gap:30px}.intro-grid{grid-template-columns:.6fr 1.4fr 1fr}}@media(max-width:760px){.shell{width:min(100% - 36px,1320px)}.header-inner{height:64px}.site-header nav{display:none}.hero-grid,.access-grid{grid-template-columns:1fr}.hero-copy{padding:75px 0 40px}.hero h1{font-size:clamp(57px,13vw,85px)}.hero-stage{min-height:470px;margin:0 0 18px;padding:24px}.stage-title{margin-top:45px;font-size:49px}.stage-list div{min-height:51px}.intro-grid{display:block;padding-top:65px;padding-bottom:65px;min-height:0}.intro-grid h2{margin-bottom:18px}.modules-section,.access-section{padding:75px 0}.section-head{display:block}.section-head>p{margin-top:17px}.catalog-toolbar{align-items:stretch;flex-direction:column}.search-wrap{width:100%}.catalog-body{grid-template-columns:1fr}.category-list{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #39554a;gap:5px}.category-button{white-space:nowrap;width:auto;gap:10px;padding:12px}.module-area{padding:15px}.module-grid{grid-template-columns:1fr 1fr}.access-copy{margin-bottom:8px}.platform-note{margin-top:30px}.footer-inner{align-items:flex-start;flex-direction:column;justify-content:center;padding:30px 0}.plan{min-height:300px}}@media(max-width:530px){.hero h1{font-size:58px}.hero-lead{font-size:16px}.stage-title{font-size:43px}.module-grid,.plans{grid-template-columns:1fr}.module-card{min-height:125px}.plan-footnote{grid-column:1}.plan{min-height:290px}.access-copy h2,.section-head h2{font-size:48px}.dialog-content{padding:32px 23px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.module-card{transition:none}.button:hover{transform:none}}
/* Light, compact Halo layout. Keep these overrides after the original theme. */
:root{--ink:#182927;--muted:#596c65;--line:#d6e0d7;--green:#15745a;background:#f7f8f4}
.shell{width:min(100% - 48px,1140px)}.site-header{background:#fff}.header-inner{height:68px}.header-left{display:flex;align-items:center;gap:42px}.brand{font-size:20px;letter-spacing:-.06em;gap:8px}.brand img{border-radius:6px;object-fit:cover}.site-header nav{gap:24px}.site-header nav a{font-size:13px;color:#455951}.nav-account{border-color:#b7c5bb;padding:10px 14px}.hero-grid{min-height:0;grid-template-columns:1.1fr .9fr;gap:44px;padding:68px 0}.hero-copy{padding:0}.hero h1{font-size:clamp(49px,5.2vw,76px);line-height:1.04;margin:20px 0}.hero-lead{font-size:17px;line-height:1.55}.hero-stage{margin:0;min-height:370px;padding:24px;align-items:center;justify-content:center;background:linear-gradient(145deg,#e9f1e8,#d9e9dc);border:1px solid #cdded0;color:var(--ink)}.hero-logo{width:min(55%,230px);height:auto;border-radius:18px;box-shadow:0 22px 42px #1c42302b}.stage-bottom{width:100%;font-size:10px;letter-spacing:.08em;color:#436357}.intro-band{display:none}.modules-section,.access-section{padding:75px 0}.section-head h2,.access-copy h2{font-size:clamp(34px,3.2vw,46px)}.section-head{margin-bottom:25px}.catalog{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:none}.catalog-toolbar{min-height:66px;padding:12px 17px;border-color:var(--line)}.catalog-label{color:var(--green)}.catalog-count,.module-hint{color:#6a8172}.search-wrap input{background:#f8faf8;color:var(--ink);border-color:var(--line)}.search-wrap input::placeholder{color:#7d9183}.search-wrap>span:last-child{color:#658a75}.catalog-body{grid-template-columns:185px 1fr;min-height:400px}.category-list{border-color:var(--line);padding:12px}.category-button{color:#536b5d;font-size:13px;padding:11px 10px}.category-button span:last-child{color:#788d7c}.category-button:hover{background:#f0f5ef;color:var(--ink)}.category-button.active{background:#e2f2e5;color:#145d47}.module-area{padding:18px}.module-grid{gap:9px;background:transparent;border:0}.module-card{background:#fbfcfa;color:var(--ink);border:1px solid var(--line);min-height:126px;padding:14px}.module-card:hover{background:#f3f9f3}.module-card .card-top{color:#6f8975}.module-card strong{font-size:16px}.module-card p{color:#64766a;font-size:11px}.more-button{background:#f4f9f4;color:var(--ink);border-color:var(--line);padding:11px}.empty-state{color:var(--muted)}.access-section{background:#edf5ec;border-color:var(--line)}.access-grid{grid-template-columns:.8fr 1.2fr;gap:40px}.access-copy>p:not(.kicker){font-size:14px;margin-top:20px}.contact-line{font-size:12px!important}.contact-line a{font-weight:700}.platform-note{display:none}.plan,.plan.featured{background:#fff;color:var(--ink);border-color:#cbdccf;padding:21px;min-height:270px}.plan h3{font-size:20px;margin:28px 0 12px}.price{font-size:32px}.plan p,.plan.featured p{color:var(--muted)}.plan-top,.featured .plan-top{color:var(--green)}.plan-button,.featured .plan-button{background:#d8ecda;color:#184a34}.plan-button:hover,.featured .plan-button:hover{background:#bee3c6}.plan-footnote{color:#6e8070}.support-section{padding:70px 0;background:#fff}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.support-grid h2{font-size:clamp(34px,3.2vw,46px);letter-spacing:-.07em;margin:0}.support-grid>div:first-child>p:not(.kicker){font-size:14px;color:var(--muted);line-height:1.6;margin:18px 0 22px}.tester-note{border-left:2px solid #b7d9c0;padding-left:25px}.tester-note strong{font-size:15px}.tester-note p{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}.site-footer{background:#f7f8f4;color:var(--ink);border-top:1px solid var(--line)}.site-footer .brand{color:var(--ink)}.footer-inner a:last-child{font-size:12px;text-decoration:none}.dialog-content select,.dialog-content textarea{padding:12px;border:1px solid #a6bbae;background:#fff;width:100%;color:var(--ink)}.dialog-content textarea{resize:vertical}
@media(max-width:760px){.header-left{gap:17px}.hero-grid,.access-grid,.support-grid{grid-template-columns:1fr}.hero-grid{padding:50px 0}.hero-copy{padding:0}.hero h1{font-size:clamp(47px,11vw,66px)}.hero-stage{min-height:280px;margin:0}.hero-logo{width:150px}.modules-section,.access-section,.support-section{padding:55px 0}.catalog-body{grid-template-columns:1fr}.category-list{border-bottom:1px solid var(--line)}.tester-note{border-left:0;border-top:2px solid #b7d9c0;padding:18px 0 0}.plan{min-height:255px}.footer-inner{gap:12px}}
@media(max-width:530px){.shell{width:min(100% - 32px,1140px)}.hero h1{font-size:47px}.module-grid,.plans{grid-template-columns:1fr}.section-head h2,.access-copy h2,.support-grid h2{font-size:38px}.site-header nav{display:none}.nav-account{font-size:11px;padding:9px}}
.admin-layout{padding:36px 0 80px}.admin-panel{background:#fff;border:1px solid var(--line);padding:25px;margin-bottom:18px}.admin-panel h1{font-size:36px;margin:0 0 10px}.admin-panel h2{font-size:26px;margin:0 0 15px}.admin-panel p{font-size:13px;color:var(--muted);line-height:1.5}.admin-panel form{display:grid;gap:13px;max-width:640px}.admin-panel label{display:grid;gap:6px;font-size:12px;font-weight:700}.admin-panel input,.admin-panel textarea{width:100%;padding:10px;border:1px solid #b4c5b8;background:#fff}.admin-panel button:not(.button){border:1px solid #c6d5c8;background:#f5faf5;padding:9px 12px;text-align:left;font-size:12px}.admin-panel button:hover{background:#e6f4e9}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.suggestions{display:flex;flex-direction:column;max-width:440px}.ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;margin:15px 0}.ticket-item{min-height:52px}.admin-panel #admin-status{color:#9e4538}
/* Halo's blue launcher mark anchors the light palette. */
:root {
  --ink: #172535;
  --muted: #526477;
  --line: #dce4ed;
  --green: #245bd1;
  --accent: #245bd1;
  --accent-hover: #1949b3;
  --accent-soft: #eaf1ff;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  color: var(--ink);
  background: var(--canvas);
}
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.site-header { background: var(--surface); }
.site-header nav a { color: #526277; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.nav-account { border-color: var(--line); border-radius: 7px; color: var(--ink); }
.nav-account:hover { background: var(--accent-soft); color: var(--accent); border-color: #bdd0f5; }
.hero { background: var(--surface); }
.hero-grid { padding: 60px 0; }
.hero h1 { font-size: clamp(48px, 5vw, 70px); letter-spacing: -.06em; }
.hero-lead { color: var(--muted); font-size: 16px; line-height: 1.65; }
.eyebrow, .kicker, .catalog-label { color: var(--accent); }
.signal-dot { background: #429cce; }
.micro, .catalog-disclaimer { color: #637286; }
.button { border-radius: 7px; min-height: 46px; }
.button:hover { transform: none; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-hover); }
.admin-panel .primary:hover { background: var(--accent-hover); color: white; }
.dialog-content .signup-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; }
.dialog-content .signup-consent[hidden] { display: none; }
.dialog-content .signup-consent input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 16px; }
.dialog-content #forgot-password { margin-inline-start: 16px; }
.text-link { color: var(--ink); }
.hero-stage { min-height: 310px; background: #eef4fb; border-color: #dce7f3; border-radius: 12px; }
.hero-logo { border-radius: 20px; box-shadow: 0 14px 30px #193a6c1a; }
.stage-bottom { color: #60748b; letter-spacing: .06em; }
.modules-section { background: var(--canvas); }
.section-head h2, .access-copy h2, .support-grid h2 { letter-spacing: -.055em; }
.catalog { border-radius: 10px; overflow: hidden; }
.catalog-toolbar { background: var(--surface); padding: 15px 20px; }
.catalog-count, .module-hint { color: #5e7083; }
.search-wrap input { border-radius: 7px; background: var(--canvas); border-color: var(--line); color: var(--ink); }
.search-wrap input::placeholder { color: #65768a; }
.search-wrap input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.search-wrap > span:last-child { color: #5e7591; }
.category-list { background: #fafbfd; gap: 4px; }
.category-button { border-radius: 6px; color: #506277; }
.category-button span:last-child { color: #66788e; }
.category-button:hover { background: #edf2f8; color: var(--ink); }
.category-button.active { background: var(--accent-soft); color: #1b4fb9; }
.category-button.active span:last-child { color: #1b4fb9; }
.module-grid { gap: 8px; }
.module-area { padding: 16px; }
.module-hint:empty { display: none; }
.module-card {
  background: var(--surface); border-color: var(--line); border-radius: 8px;
  min-height: 108px; padding: 12px; gap: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.module-card:hover { background: #f5f8ff; border-color: #a9c1ee; }
.module-card .card-top { color: #60748d; font-size: 10px; letter-spacing: .05em; }
.module-card .card-top span:last-child { font-size: 16px; line-height: 12px; color: #8b9db3; }
.module-card:hover .card-top span:last-child { color: var(--accent); }
.module-card strong { font-size: 16px; letter-spacing: -.025em; }
.module-card p { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 5px; }
.more-button {
  display: flex; align-items: center; justify-content: center;
  width: fit-content; min-height: 40px; margin: 16px auto 0; padding: 8px 18px;
  border-radius: 6px; background: var(--surface); color: #395575; border-color: var(--line);
}
.more-button:hover { background: var(--accent-soft); color: var(--accent); }
@media (min-width: 1180px) { .module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.access-section { background: #edf3fb; border-color: var(--line); }
.updates-section { padding: 42px 0; background: var(--canvas); border-top: 1px solid var(--line); }
.updates-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.update-policy h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 12px; }
.update-policy p { max-width: 350px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.update-policy .latest-policy { font-size: 12px; margin-top: 16px; }
.history-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 18px; min-width: 0; }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.history-heading h2 { font-size: 18px; letter-spacing: -.025em; margin: 0; }
.version-label { color: var(--accent); background: var(--accent-soft); font-size: 11px; border-radius: 4px; padding: 6px 8px; }
.history-caption { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.update-entry { padding: 13px 0; border-bottom: 1px solid var(--line); }
.update-entry:last-child { border-bottom: 0; }
.update-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.update-title-row time { flex-shrink: 0; font-size: 10px; color: var(--muted); }
.update-entry h3 { font-size: 14px; line-height: 1.4; margin: 0; }
.update-entry > p { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }
.history-more { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 10px 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--accent); font-size: 12px; font-weight: 700; }
.history-more:hover { background: var(--accent-soft); border-color: #a8bfe9; }
.updates-dialog { width: min(660px, calc(100% - 24px)); max-height: min(720px, calc(100dvh - 32px)); overflow: hidden; }
.updates-dialog[open] { display: flex; flex-direction: column; }
html:has(#updates-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.updates-dialog-header { flex-shrink: 0; padding: 22px 58px 16px 24px; position: relative; border-bottom: 1px solid var(--line); }
.updates-dialog-header h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.03em; margin: 0 0 5px; }
.updates-dialog-header > p { font-size: 11px; color: var(--muted); margin: 0; }
.updates-dialog .dialog-close button { width: 40px; height: 40px; }
.updates-dialog-body { padding: 0 24px 22px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.updates-dialog .update-entry { padding: 18px 0; }
.updates-dialog .update-entry ul { color: var(--muted); font-size: 13px; line-height: 1.6; padding-left: 18px; margin: 10px 0 0; }
.updates-dialog .update-entry li + li { margin-top: 4px; }
.updates-dialog { width: min(760px, calc(100% - 24px)); }
.updates-dialog-header > .history-help { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.history-release { border-bottom: 1px solid var(--line); }
.history-release > summary { display: grid; grid-template-columns: 1fr auto 14px; align-items: center; gap: 12px; min-height: 48px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; }
.history-release > summary::-webkit-details-marker { display: none; }
.history-release > summary::after { content: ''; width: 7px; height: 7px; justify-self: center; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.history-release[open] > summary::after { transform: translateY(2px) rotate(225deg); border-color: var(--accent); }
.history-release > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.history-release-count { font-size: 11px; font-weight: 400; color: var(--muted); }
.history-release-body { padding-bottom: 14px; }
.history-release-body h3 { color: var(--accent); font-size: 12px; margin: 10px 0 5px; }
.history-release-body ul { margin: 0; padding-left: 19px; font-size: 13px; line-height: 1.65; color: var(--ink); }
.history-release-body li + li { margin-top: 6px; }
.legal-header { max-width: 800px; padding: 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.legal-header > a:last-child { font-size: 13px; }
.legal-document { max-width: 800px; padding: 32px 24px 72px; margin: auto; }
.legal-document h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; }
.legal-document h2 { font-size: 18px; margin: 30px 0 10px; }
.legal-document p { font-size: 14px; line-height: 1.8; }
.legal-document .legal-date { font-size: 12px; color: var(--muted); }
.legal-document pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 13px; line-height: 1.7; }
.legal-links { display: flex; gap: 12px 20px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 12px; }
.site-footer .legal-links { margin: 0; padding: 0; border: 0; max-width: 360px; }
.version-policy { border-top: 1px solid var(--line); padding-top: 18px; }
.version-policy h3 { font-size: 14px; margin: 0 0 10px; }
.version-policy p { font-size: 12px; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) { .updates-section { padding: 32px 0; } .updates-grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 530px) { .updates-dialog .dialog-close button { width: 44px; height: 44px; } .updates-dialog-header { padding-left: 18px; } .updates-dialog-body { padding-inline: 18px; } }
.access-copy > p:not(.kicker) { color: var(--muted); }
.plan, .plan.featured { border-radius: 9px; border-color: #d2ddeb; background: var(--surface); }
.plan.featured { border-color: #a8bfe9; }
.plan-top, .featured .plan-top { color: var(--accent); }
.price span, .featured .price span, .plan-footnote { color: #596f86; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 22px; }
.plan-badge { background: var(--accent-soft); color: #244eb4; padding: 5px 7px; border-radius: 4px; font-size: 9px; letter-spacing: .06em; }
.plan p { min-height: 0; }
.plan.featured .plan-saving { color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.plan .plan-comparison { font-size: 11px; margin: 0 0 12px; }
.plan .plan-renewal { font-size: 11px; line-height: 1.5; margin: 0 0 18px; }
.plan-button { background: var(--accent-soft); color: #1d4eae; }
.plan-button:hover { background: #dbe7ff; }
.featured .plan-button { background: var(--accent); color: white; }
.featured .plan-button:hover { background: var(--accent-hover); }
.tester-note { border-color: #b7cceb; }
.site-footer { background: var(--canvas); }
dialog { background: var(--surface); border-color: var(--line); border-radius: 12px; box-shadow: 0 24px 80px #10243c30; }
dialog::backdrop { background: #182b4566; }
.dialog-content { padding: 36px; }
.dialog-content h2 { font-size: 30px; letter-spacing: -.045em; line-height: 1.2; padding-right: 24px; }
.dialog-content > p:not(.kicker) { color: var(--muted); }
.dialog-close { top: 12px; right: 12px; }
.dialog-close button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 25px; color: #61758c; }
.dialog-close button:hover { background: #eef3fa; color: var(--ink); }
.module-dialog .dialog-content { min-height: 0; }
.module-dialog #detail-description { font-size: 15px; line-height: 1.75; margin-bottom: 0; }
.module-dialog #detail-access { font-size: 13px; color: var(--accent); margin-top: 24px; }
.dialog-content input, .dialog-content select, .dialog-content textarea { border-color: #c8d5e5; border-radius: 6px; }
@media (max-width: 760px) {
  .hero-grid { padding: 42px 0; gap: 30px; }
  .hero-stage { min-height: 250px; }
  .category-list { padding: 10px; }
}
@media (max-width: 530px) {
  .hero h1 { font-size: 46px; }
  .catalog-toolbar { padding: 15px; }
  .catalog-toolbar > div { gap: 12px; flex-wrap: wrap; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-area { padding: 10px; }
  .module-card { min-height: 122px; padding: 11px; }
  .more-button { min-height: 44px; }
  .dialog-content { padding: 32px 24px 26px; }
  .dialog-content h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .module-card { transition: none; } }
.admin-entry{max-width:480px;margin:30px auto}.admin-entry #entry-status{color:#9c3e33}.ticket-details{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:var(--canvas);border:1px solid var(--line);border-radius:7px}.ticket-reply{display:block;margin-top:7px;color:var(--ink)}
.support-dialog.tester{border-color:#c4a85e}.support-dialog.tester .kicker{color:#a4781f}.support-dialog #tester-progress{background:#fff8e4;border:1px solid #e7d7a8;padding:10px;color:#6f5318;font-size:12px}.my-tickets{margin-top:16px;border-top:1px solid var(--line)}.my-tickets p{font-size:11px;color:var(--muted);padding:8px 0;border-bottom:1px solid var(--line);margin:0}

/* Account actions have separate targets and wrap cleanly on small screens. */
.account-actions { display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; margin-top:22px; padding-top:16px; border-top:1px solid var(--line); }
.account-actions a, .account-actions .dialog-switch { margin:0; font-size:13px; line-height:1.5; }
.account-dialog { max-height:calc(100dvh - 32px); overflow-y:auto; }
.account-dialog .device-help { color:var(--muted); font-size:12px; line-height:1.6; }
.account-dialog #device-bind-code { font-family:monospace; font-size:12px; }
#device-bind-form[hidden] { display:none; }
.account-dialog #device-bind-status:empty { display:none; }

.account-dialog [hidden] { display:none !important; }

.account-dialog .button:disabled { background:#edf1f6; color:#778394; border-color:var(--line); cursor:not-allowed; transform:none; }
.device-confirm { display:flex; gap:10px; align-items:flex-start; font-size:13px; line-height:1.5; }
.device-confirm input { width:16px; height:16px; margin:2px 0 0; flex:none; }
.install-page { width:min(100% - 48px,600px); margin:28px auto 56px; }
.install-page h1 { font-size:36px; letter-spacing:-.04em; margin-bottom:6px; }
.install-intro { color:var(--muted); font-size:14px; margin-bottom:28px; }
.install-download { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; align-items:center; }
.install-download label { grid-column:1/-1; font-size:13px; font-weight:700; }
.install-download select { min-width:0; width:100%; font:inherit; background:white; border:1px solid var(--line); border-radius:8px; padding:14px 12px; color:var(--ink); }
.install-download .button { min-height:49px; border-radius:8px; justify-content:center; gap:12px; }
.install-download .button[aria-disabled="true"] { background:#e4e9ef; color:#637084; pointer-events:none; transform:none; }
.install-status { grid-column:1/-1; font-size:13px; color:var(--muted); margin:0; line-height:1.5; }
.install-status:empty { display:none; }
.install-steps { list-style:none; counter-reset:install; padding:0; margin:30px 0 24px; }
.install-steps li { counter-increment:install; position:relative; padding:0 0 20px 42px; display:grid; gap:4px; font-size:14px; line-height:1.5; }
.install-steps li::before { content:counter(install); position:absolute; left:0; top:0; border:1px solid var(--line); border-radius:50%; width:26px; height:26px; display:grid; place-items:center; font-size:12px; font-weight:700; }
.install-steps span,.install-note { color:var(--muted); }
.install-note { font-size:12px; line-height:1.65; margin-bottom:12px; }
.install-footer { border-top:1px solid var(--line); padding-top:16px; margin-top:24px; display:flex; gap:18px; flex-wrap:wrap; font-size:12px; }
@media(max-width:520px) { .install-download { grid-template-columns:1fr; } .install-page { margin-top:16px; } }
