:root{color-scheme:light;font-family:"DM Sans","Segoe UI",Arial,sans-serif;color:#183c39;background:#f5f7f2;--ink:#153e39;--muted:#566b66;--line:#dbe2d9;--panel:#fff;--green:#14554c;--lime:#d8ef74}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #df9233;outline-offset:3px}button{background:none;border:0}svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.symbols{position:absolute;width:0;height:0;overflow:hidden}.skip{position:absolute;z-index:10;background:white;padding:10px;transform:translateY(-130%)}.skip:focus{transform:none}[hidden]{display:none!important}
.layout{min-height:100vh}.sidebar{background:#123f3c;color:#eff6e9;position:fixed;inset:0 auto 0 0;width:214px;display:flex;flex-direction:column;padding:36px 16px 22px;z-index:5}.brand{display:flex;align-items:center;gap:7px;color:#f5f7ed;text-decoration:none;font-size:29px;letter-spacing:-1.8px;font-weight:400;margin:0 9px 47px}.brand strong{font-weight:750}.brand-mark{color:#ddf68a;display:grid;place-items:center}.brand-mark svg{height:41px;width:41px;stroke:none}.side-nav{display:grid;gap:7px}.side-nav button,.side-bottom button{display:flex;align-items:center;gap:13px;text-align:left;min-height:45px;border-radius:9px;padding:0 16px;color:#d1e3db;font-size:14px;font-weight:550}.side-nav button.active,.side-nav button[aria-current=page]{background:#315953;color:#e7ffa6}.side-nav button:hover,.side-bottom button:hover{background:#244d48}.side-bottom{margin-top:auto;border-top:1px solid #42645c;padding-top:13px}.side-bottom button{font-size:13px}.side-bottom svg{width:17px}
main{margin-left:214px;min-width:0;padding:0 clamp(22px,4vw,74px) 48px}.top,.page{max-width:1340px;margin:auto}.top{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:11px;color:#58706a;font-size:13px}.breadcrumb svg{stroke:none;color:#418476;width:24px;height:24px}.breadcrumb i{font-style:normal;color:#899c91}.breadcrumb strong{font-weight:600;color:#254d45}.profile-link{border:1px solid #c9dacd;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:#e6eee0}.profile-link:hover{background:#dce7d5}.profile-link svg{width:17px}
.page-heading{margin:30px 0 23px}.page-heading h1,h2,p{margin:0}.page-heading h1{font-size:clamp(32px,3vw,48px);line-height:1.12;letter-spacing:-.055em;font-weight:690}.page-heading p{margin-top:8px;color:var(--muted);font-size:15px}.hero{position:relative;isolation:isolate;overflow:hidden;color:#fff9e9;border-radius:19px;background:#133f3f;min-height:235px;display:flex;align-items:center}.hero-art{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,#113e3f 0%,#113e3ff0 30%,#113e3f35 59%,transparent 72%),url('/horizonte.svg');background-size:cover;background-position:center right}.hero-copy{padding:29px 34px;max-width:495px}.hero-route{display:inline-flex;align-items:center;gap:8px;color:#e3ecd8;font-size:12px;font-weight:650;letter-spacing:.02em}.hero-route svg{width:16px;height:16px;color:#c7da9c}.route-dot{width:7px;height:7px;border-radius:50%;background:#d1ed82;box-shadow:0 0 0 4px #d1ed8219;margin:0 4px}.hero h2{font-size:clamp(28px,3vw,44px);line-height:1.08;letter-spacing:-.055em;margin:14px 0 9px}.hero p{max-width:355px;color:#e1eae1;line-height:1.52;font-size:14px}.primary,.secondary,.text-button,.actions-strip button,.form-actions button,.selection button,dialog button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;min-height:42px;padding:9px 15px;font-weight:650;font-size:14px}.primary,.form-actions button[type=submit]{background:var(--green);color:white}.hero-button{background:var(--lime);color:#183e32;margin-top:19px}.hero-button svg{width:16px;height:16px}.hero-button svg:last-child{margin-left:4px}.hero-button:hover{background:#e3fa8a}.secondary,dialog button{background:white;border:1px solid #c9d4c8}.secondary:hover,dialog button:hover{background:#eef3eb}
.stats,.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stats{margin-top:17px}.stat,.quick,.panel{border:1px solid var(--line);background:var(--panel);border-radius:13px}.stat,.quick{display:flex;align-items:center;gap:14px;padding:18px}.stat-icon,.quick-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px}.stat-icon svg,.quick-icon svg{width:22px;height:22px}.sea{background:#dceeea;color:#25665e}.leaf{background:#e9f2d7;color:#4c682a}.amber{background:#fcf0d3;color:#8e6320}.coral{background:#fbe6db;color:#96523b}.stat span{display:block;color:var(--muted);font-size:13px;font-weight:550}.stat strong{display:block;font-size:29px;letter-spacing:-.05em;line-height:1.05;margin-top:5px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 13px}h2{font-size:22px;letter-spacing:-.04em;font-weight:680}.quick{text-align:left;gap:11px;padding:16px 14px;transition:background .15s,border-color .15s}.quick:hover{background:#fcfff6;border-color:#91ac99}.quick b,.quick small{display:block}.quick b{font-size:14px}.quick small{margin-top:5px;color:var(--muted);font-size:12px}.quick-icon{width:37px;height:37px;border-radius:10px}.quick-icon svg{width:19px}.quick .end{margin-left:auto;width:15px;color:#6f8379}.text-button{padding:4px 0;min-height:32px;color:var(--green);font-size:13px}.text-button svg{width:15px}
.panel{overflow:hidden}.actions-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0}.filters,.selection,.progress-panel,.profile-panel{padding:22px}.filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:13px}.field,.filters label,.field-grid label{display:grid;gap:7px;font-size:13px;font-weight:600}.filters input,.filters select,.field input:not([type=checkbox]),.field select,.field-grid input:not([type=checkbox]),.field-grid select,.profile-panel textarea{width:100%;min-width:0;border:1px solid #c5d1c7;border-radius:8px;background:#fcfdf9;color:var(--ink);min-height:43px;padding:9px 10px}.selection{border-block:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;background:#f8faf5;font-size:14px}.selection label{cursor:pointer}.selection input,input[type=checkbox]{accent-color:#266d60}.progress-panel p{margin:12px 0;color:var(--muted)}progress{width:100%;height:12px;accent-color:#368467;border:0;border-radius:9px;background:#e3e9dd;overflow:hidden}progress::-webkit-progress-bar{background:#e3e9dd}progress::-webkit-progress-value{background:#368467}.flight-row{display:flex;align-items:center;gap:12px;padding:14px 19px;overflow-wrap:anywhere}.flight-row+.flight-row{border-top:1px solid var(--line)}.flight-name{font-weight:650;color:var(--ink)}.flight-meta{font-size:12px;color:var(--muted);margin:3px 0}.row-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:5px}.row-actions button,.flight-row button{padding:7px 11px;border-radius:7px;background:#edf3e8;font-size:13px}.status-pill,.badge{display:inline-block;border-radius:6px;padding:4px 8px;background:#e4efde;color:#3b5c3d;font-size:12px}.empty-state{display:grid;place-items:center;text-align:center;padding:30px 15px;color:#60776d;font-size:14px;gap:6px}.empty-state strong{color:#254c43}.empty-state p{line-height:1.5}.profile-group{padding:0 0 22px;margin:0 0 22px;border:0;border-bottom:1px solid var(--line);min-width:0}.profile-group legend,.profile-group h2,.profile-group h3{font-size:20px;font-weight:670;letter-spacing:-.03em;margin:0 0 12px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field small,.profile-panel p{color:var(--muted);font-weight:400;line-height:1.5}.form-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.form-actions button,.profile-panel button[type=submit]{background:var(--green);color:white;border-radius:9px;padding:12px 16px}.profile-panel fieldset{min-width:0}#toast:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;max-width:min(90vw,600px);border-radius:9px;padding:12px 18px;background:#183d37;color:#fff;box-shadow:0 4px 16px #122b2926;font-size:14px}dialog{border:1px solid var(--line);border-radius:17px;padding:25px;max-width:min(420px,90vw);color:var(--ink)}dialog p{margin:12px 0;line-height:1.5}dialog::backdrop{background:#12392f66}
@media(min-width:1600px){.sidebar{width:245px}main{margin-left:245px}.hero{min-height:285px}}
@media(max-width:1150px){.sidebar{width:180px;padding-inline:11px}main{margin-left:180px;padding-inline:24px}.quick{gap:8px;padding:13px 10px}.quick .end{display:none}.quick b{font-size:13px}}
@media(max-width:850px){.sidebar{width:154px}.brand{font-size:24px;margin-inline:2px}.brand-mark svg{width:32px}.side-nav button,.side-bottom button{padding-inline:10px;gap:8px}main{margin-left:154px;padding-inline:17px}.quick-grid,.stats{gap:8px}.stat{padding:13px;gap:9px}.stat-icon{width:35px;height:35px}.quick{align-items:flex-start;flex-direction:column}.quick-icon{margin-bottom:3px}.hero-copy{padding:24px}.hero-art{background-position:68% center}}
@media(max-width:650px){.layout{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.sidebar{position:static;width:auto;background:#123f3c;padding:8px 18px;min-height:54px;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:25px;gap:5px;margin:0}.brand-mark svg{width:34px;height:34px}.side-bottom{margin:0;border:0;padding:0}.side-bottom button{min-height:34px;font-size:12px;color:#e2f1de;border:1px solid #567770;border-radius:9px;padding:5px 9px}.side-nav{position:fixed;bottom:0;left:0;right:0;z-index:9;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border-top:1px solid var(--line);padding:5px 5px calc(5px + env(safe-area-inset-bottom))}.side-nav button{padding:7px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50px;gap:4px;color:#566e64;font-size:11px}.side-nav button.active,.side-nav button[aria-current=page]{background:#e8f1de;color:#245641}.side-nav button:hover{background:#eff3eb}.side-nav svg{width:18px;height:18px}main{margin:0;padding:0 16px 25px}.top{display:none}.page-heading{margin:23px 0 17px}.page-heading h1{font-size:34px}.page-heading p{font-size:14px;line-height:1.4}.hero{min-height:210px;border-radius:14px}.hero-art{background-position:65% center;background-image:linear-gradient(90deg,#113e3ff5,#113e3fbb 52%,#113e3f20),url('/horizonte.svg')}.hero-copy{padding:22px 18px;max-width:85%}.hero h2{font-size:30px}.hero p{font-size:13px}.hero-button{font-size:13px}.stats{gap:6px;margin-top:10px}.stat{flex-direction:column;align-items:flex-start;gap:8px;padding:11px 9px;border-radius:10px}.stat-icon{width:29px;height:29px;border-radius:7px}.stat-icon svg{width:17px;height:17px}.stat span{font-size:11px}.stat strong{font-size:24px}.section-title{margin:23px 0 10px}.section-title h2{font-size:21px}.quick-grid{grid-template-columns:1fr;gap:6px}.quick{flex-direction:row;align-items:center;padding:12px;gap:12px}.quick-icon{margin:0}.quick .end{display:block}.quick b{font-size:14px}.quick small{margin-top:3px}.filters,.field-grid{grid-template-columns:1fr}.filters,.selection,.progress-panel,.profile-panel{padding:14px}.selection{flex-wrap:wrap}.flight-row{padding:11px;flex-wrap:wrap}.row-actions{margin:0}.actions-strip button{min-height:38px;font-size:12px}.empty-state{padding:24px 12px}#toast:not(:empty){bottom:calc(75px + env(safe-area-inset-bottom));width:max-content}}
.flight-info{min-width:0;flex:1}.flight-name,.flight-meta{display:block}.flight-info p{font-size:14px;line-height:1.45}.status-pill.error{background:#fae1d8;color:#873e29}.status-pill.pending{background:#f7efd8;color:#74551c}.status-pill.duplicate{background:#e2ecee;color:#365f69}.profile-group p{margin:0 0 15px}.profile-group>label+p{margin:10px 0}.profile-group [data-unlock]{margin-top:12px;padding:9px 13px;border-radius:8px;background:#e4edde}.empty-state:before{content:"";display:block;width:33px;height:33px;border-radius:9px;background:#edf2e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23597768' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-3 6 3 6-3v15l-6 3-6-3-6 3zM9 3v15m6-12v15'/%3E%3C/svg%3E") center/17px no-repeat}

.error-details summary,.profile-group summary{cursor:pointer;font-weight:600;padding:.6rem 0}.error-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:22rem;overflow:auto;background:#edf3ef;padding:1rem;border-radius:.5rem;font-size:.85rem}.profile-group>button{margin-top:.75rem}.field[hidden]{display:none}

.status-pill.queued,.status-pill.checking{background:#fff4d5;color:#704b0f}.status-pill.sending{background:#dceff9;color:#14577c}.flight-info .flight-meta{display:block}

.brand-mark .vulture-mark{width:100%;height:100%;border-radius:inherit}.breadcrumb .vulture-mark{width:25px;height:25px;border-radius:6px}
#migration-dock{position:fixed;z-index:12;bottom:18px;left:50%;transform:translateX(-50%);width:min(590px,calc(100% - 32px));display:flex;align-items:center;gap:13px;padding:14px 18px;color:#fff;background:#123e3b;border:1px solid #80aca3;border-radius:16px;box-shadow:0 8px 32px #10383345;animation:dock-in .24s ease-out}
#migration-dock[hidden]{display:none}#migration-dock img{width:40px;height:40px;border-radius:9px}.migration-readout{display:grid;gap:4px;flex:1;min-width:0}.migration-readout span{font-size:.86rem;color:#d4e8df;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.migration-readout progress{appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:#36615c}.migration-readout progress::-webkit-progress-bar{background:#36615c}.migration-readout progress::-webkit-progress-value{background:linear-gradient(90deg,#83d8bb,#ffcb84);transition:width .3s}.migration-readout progress::-moz-progress-bar{background:#83d8bb}.migration-readout progress:indeterminate{background:linear-gradient(90deg,#36615c 15%,#92dabb 45%,#36615c 75%) 0 0/200% 100%;animation:dock-travel 1.8s linear infinite}.migration-readout progress:indeterminate::-webkit-progress-bar{background:transparent}#stop-migration{min-height:42px;border:1px solid #a1c6b8;background:transparent;color:white;border-radius:9px;padding:0 14px;font-weight:650}body.migrating main{padding-bottom:155px}body.migrating #toast:not(:empty){bottom:125px}
@keyframes dock-travel{to{background-position:-200% 0}}@keyframes dock-in{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
@media(max-width:650px){#migration-dock{bottom:calc(70px + env(safe-area-inset-bottom));width:calc(100% - 16px);padding:10px;gap:8px}#migration-dock img{width:32px;height:32px}body.migrating main{padding-bottom:180px}body.migrating #toast:not(:empty){bottom:calc(158px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){#migration-dock,.migration-readout progress:indeterminate{animation:none}.migration-readout progress::-webkit-progress-value{transition:none}}

.flight-counts{margin:16px 0}.flight-counts small{color:#405d54}.flight-counts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px;margin:6px 0}.flight-counts dl div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.flight-counts dt{font-size:.86rem}.flight-counts dd{font-size:1.55rem;font-weight:700;margin:4px 0 0;font-variant-numeric:tabular-nums}

.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 28px}.choice-card{min-height:230px;display:flex;align-items:flex-start;gap:20px;position:relative;overflow:hidden;padding:28px;border:1px solid var(--line);border-radius:19px;background:#fff;color:var(--ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.choice-card:hover{transform:translateY(-3px);border-color:#8eae96;box-shadow:0 12px 28px #183e3912}.choice-icon{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:16px;background:#e4f0da;color:#286452}.choice-icon svg{width:29px;height:29px}.migration-choice{isolation:isolate;color:#fff9e9;border-color:#133f3f;background:#133f3f}.migration-choice:hover{border-color:#2a5a55;box-shadow:0 12px 28px #113e3f33}.migration-choice .hero-art{background-image:linear-gradient(115deg,#113e3ff0 0%,#113e3fcc 34%,#113e3f66 58%,#113e3f18 78%,transparent 92%),url('/horizonte.svg');background-size:cover;background-position:62% center}.migration-choice .choice-icon,.migration-choice .choice-copy,.migration-choice .choice-arrow{position:relative;z-index:1}.migration-choice .choice-icon{background:#d9edb0;color:#224e3c}.migration-choice .choice-copy small{color:#bed5a9}.migration-choice .choice-copy>span{color:#d6e5d8}.migration-choice .choice-arrow{color:#d9edb0}.studies-choice{background:#173f3c;color:#f4faed;border-color:#173f3c}.studies-choice .choice-icon{background:#d9edb0;color:#224e3c}.choice-copy{display:grid;gap:9px;max-width:31ch}.choice-copy small{font-size:11px;letter-spacing:.1em;color:#718d7d}.studies-choice .choice-copy small{color:#bed5a9}.choice-copy strong{font-size:clamp(24px,2.8vw,36px);line-height:1.02;letter-spacing:-.055em}.choice-copy>span{font-size:14px;line-height:1.5;color:var(--muted)}.studies-choice .choice-copy>span{color:#d6e5d8}.choice-arrow{position:absolute;right:25px;bottom:25px;width:23px;height:23px;color:#4d8072}.studies-choice .choice-arrow{color:#d9edb0}.studies-page{max-width:1340px}.studies-page #studies-app{min-width:0}.studies-page .wrap{width:auto}.studies-page header{display:none}
.studies-page .intro{margin:28px 0 20px}.studies-page .intro h1{margin:7px 0;font-size:clamp(28px,4vw,46px)}.studies-page .intro p{color:var(--muted);max-width:60ch}.studies-page .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.studies-page .card,.studies-page .list>*,.studies-page .notice,.studies-page details{border:1px solid var(--line);border-radius:13px;background:#fff;padding:18px}.studies-page .card h2,.studies-page .card h3{margin:10px 0 7px}.studies-page .card p,.studies-page .list p{color:var(--muted);line-height:1.5}.studies-page .row{display:flex;align-items:center;justify-content:space-between;gap:12px}.studies-page .badge{background:#e4efde;color:#315f4c}.studies-page .badge.cbvl{background:#dceeea;color:#28665c}.studies-page .list{display:grid;gap:9px}.studies-page .list>a{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:12px;text-decoration:none;color:inherit}.studies-page .reading{max-width:820px}.studies-page .reading>ul{padding-left:22px;line-height:1.65}.studies-page .reference{margin:20px 0;padding:13px;border-left:3px solid #8eae96;background:#f1f6ed;color:var(--muted)}.studies-page .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.studies-page .options{display:grid;gap:10px;margin:20px 0}.studies-page .options button{text-align:left;justify-content:flex-start;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.studies-page .options button[aria-pressed=true]{border-color:#4b8a70;background:#eaf4e4}.studies-page .numbers{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.studies-page .numbers button{width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff}.studies-page .numbers .answered{background:#dceeea}.studies-page .search{display:grid;gap:7px;max-width:440px;margin:18px 0}.studies-page .search input{border:1px solid #c5d1c7;border-radius:8px;min-height:42px;padding:9px}.studies-page details summary{cursor:pointer}.studies-page .quick{display:flex}
@media(max-width:650px){.side-nav{grid-template-columns:repeat(5,1fr)}.choice-grid{grid-template-columns:1fr;gap:11px;margin-bottom:20px}.choice-card{min-height:180px;padding:21px 19px;gap:14px;border-radius:14px}.choice-icon{width:48px;height:48px;border-radius:13px}.choice-icon svg{width:24px;height:24px}.choice-copy strong{font-size:26px}.choice-copy>span{font-size:13px}.choice-arrow{right:18px;bottom:18px}.migration-choice .hero-art{background-position:58% center;background-image:linear-gradient(115deg,#113e3ff5 0%,#113e3fd0 40%,#113e3f55 70%,transparent 90%),url('/horizonte.svg')}}

.mast{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:6;background:#123f3c;color:white;padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));min-height:64px}
.mast .brand{margin:0;font-size:clamp(22px,3vw,29px);gap:9px;white-space:nowrap}
.mast .brand-mark,.mast .vulture-mark{width:44px;height:44px;border-radius:9px;object-fit:cover}
.mast-actions,.mast-install{display:flex;align-items:center;gap:8px}
.mast-install{white-space:nowrap;color:white;border:1px solid #73948d;border-radius:10px;min-height:44px;padding:0 12px}
.lang-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:white;line-height:1}
.lang-flag{display:inline-flex;width:28px;height:20px;line-height:0;border:0;outline:0;box-shadow:none}
.lang-flag svg,.lang-flag svg *{stroke:none;stroke-width:0}
.lang-flag svg{width:28px;height:20px;display:block;border:0;outline:0;box-shadow:none;border-radius:0;overflow:hidden;fill:none}
.lang-flag svg .flag-band{fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round}
.lang-toggle:hover{background:#244d48}
.mast .profile-link{height:44px;width:44px}
@media(min-width:651px){.sidebar{top:64px;padding-top:18px}}
@media(max-width:650px){.sidebar{min-height:0;padding:0}.mast .brand-mark,.mast .vulture-mark{width:38px;height:38px}.mast-install svg{width:16px}}

.wizard{padding:clamp(16px,4vw,32px);max-width:52rem}.wizard-steps{display:flex;gap:8px;padding:0;margin:0 0 24px;list-style:none;counter-reset:passo}.wizard-steps li{flex:1;border-top:3px solid var(--line);padding-top:8px;color:var(--muted);counter-increment:passo}.wizard-steps li:before{content:counter(passo) ". "}.wizard-steps [aria-current=step],.wizard-steps li[data-first]{border-color:var(--green);color:var(--green);font-weight:700}.wizard section>label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px;border-radius:10px;margin:8px 0;cursor:pointer}.wizard section>button,.wizard section .actions-strip{margin-top:16px}.wizard h2{margin:0 0 14px}.wizard progress{width:100%;margin:8px 0 16px}.wizard-history,.profile-help{margin:18px 0}.wizard-history summary,.profile-help summary{padding:10px 0;cursor:pointer;font-weight:600}

.wizard-steps{flex-wrap:wrap}.wizard-steps li{min-width:5rem}.wizard form fieldset{border:0;padding:0;margin:0}.wizard form legend{font-size:1.3rem;font-weight:700;margin-bottom:1rem}.wizard form details{margin:1rem 0}.wizard form details li{margin:.55rem 0}.wizard form summary{cursor:pointer}.wizard form details ol{padding-left:1.5rem}@media(max-width:650px){.side-nav{grid-template-columns:repeat(5,1fr)}.wizard-steps li{flex:1 1 26%}}
.privacy-doc{max-width:46rem;padding:clamp(18px,3vw,28px);display:grid;gap:14px;line-height:1.55;color:#244d45}
.privacy-doc h2{margin:10px 0 0;font-size:1.15rem;letter-spacing:-.02em}
.privacy-doc p,.privacy-doc ul{margin:0;color:#3d5c54}
.privacy-doc ul{padding-left:1.2rem;display:grid;gap:6px}
.privacy-doc a{color:#1b6b5c;text-decoration-thickness:1px;text-underline-offset:2px}
.privacy-doc code{font-size:.92em}
.contest-import{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:8px 15px;border-radius:10px;background:#236587;color:white;font-weight:650}
#profile-form.input-error #setup-message,#profile-form [aria-invalid=true]{color:#a0232d}
#profile-form [aria-invalid=true]{border:2px solid #a0232d}
#profile-form[aria-busy=true] #setup-next:before{content:"";display:inline-block;width:.9em;height:.9em;margin-right:.5em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:setup-spin .8s linear infinite}
@keyframes setup-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#profile-form[aria-busy=true] #setup-next:before{animation-duration:2s}}

.equipment-picker{position:relative}
.equipment-picker summary{cursor:pointer;border:1px solid #98afa4;background:white;color:#173e39;border-radius:.6rem;padding:.75rem}
.brand-menu{position:absolute;z-index:5;inset-inline:0;top:100%;background:white;border:1px solid #98afa4;border-radius:.6rem;padding:.5rem;box-shadow:0 .4rem 1rem #183e3922}
.brand-menu input{width:100%}
.brand-list{max-height:min(13rem,32vh);overflow:auto}
.brand-list button{display:block;width:100%;background:white;color:#173e39;border:0;text-align:left;padding:.65rem}
.brand-list button:is(:hover,:focus-visible,[aria-pressed=true]){background:#e4efe8}
.brand-menu [hidden]{display:none}
.field:has([name=brandChoice][aria-invalid=true]) summary{border-color:#b42318}

[data-setup="1"]>label,[data-setup="1"] .connection-step label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;margin:8px 0;cursor:pointer}
[data-setup="1"] input{flex-shrink:0;margin-top:3px;accent-color:var(--green)}
[data-setup="1"] .connection-step{margin:0;padding:12px 0;border-top:1px solid var(--line)}
[data-setup="1"] .connection-step:first-child{border-top:0;padding-top:0}
[data-setup="1"] .connection-step h3{margin:0 0 .35rem;font-size:1rem}
[data-setup="1"] .connection-step p{margin:0 0 .5rem}

.studies-page .study-navigation{position:sticky;top:64px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;background:#f5f7f2;border-bottom:1px solid var(--line)}.study-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px}.study-breadcrumb button{padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:#fff;font-weight:650}.study-breadcrumb a{color:var(--green);text-decoration:none}.study-breadcrumb strong{color:var(--ink);font-weight:700}.study-tabs{display:flex;gap:5px;flex-wrap:wrap}.study-tabs a{padding:8px 11px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:650;text-decoration:none}.study-tabs a:hover,.study-tabs a[aria-current="page"]{background:#dfeedd;color:var(--green)}.studies-page .quiz-header{display:grid;gap:13px;margin-bottom:14px}.studies-page .quiz-score{display:flex;gap:9px;flex-wrap:wrap}.studies-page .quiz-score span{padding:9px 12px;border-radius:9px;background:#edf3e8;color:var(--muted);font-size:13px}.studies-page .quiz-score span:first-child{background:#d9eddf;color:#245d45}.studies-page .quiz-score span:nth-child(2){background:#f8e6df;color:#8b4938}.studies-page .quiz-score b{font-size:18px;color:var(--ink)}.studies-page .options button.correct{border-color:#3d9866;background:#e0f3e4;color:#1f6540}.studies-page .options button.incorrect{border-color:#c66d55;background:#fbe8e1;color:#8b382c}.studies-page .options button:disabled{opacity:1;cursor:default}.studies-page .quiz-feedback{margin:16px 0;padding:17px;border-radius:12px;border:1px solid var(--line)}.studies-page .quiz-feedback.success{background:#edf8ee;border-color:#9bc9a5}.studies-page .quiz-feedback.error{background:#fff1eb;border-color:#e2aa96}.studies-page .quiz-feedback p{margin:5px 0;color:var(--ink)}.studies-page .quiz-feedback small{display:block;color:var(--muted);line-height:1.5}.studies-page .quiz-feedback .reference{margin:12px 0 0;padding:10px;background:transparent}.studies-page .quiz-save-note{margin-top:18px;color:var(--muted);font-size:13px}.studies-page .download-link,.studies-page .pdf-link{display:inline-block;margin:9px 10px 0 0;color:var(--green);font-size:13px;font-weight:650}.studies-page .list>div>div{min-width:0}.studies-page .list h3{font-size:18px}.studies-page .list small{color:var(--green);font-weight:750}
@media(max-width:650px){.studies-page .study-navigation{top:64px;display:block;padding:10px 0}.study-tabs{margin-top:8px;display:grid;grid-template-columns:repeat(4,1fr)}.study-tabs a{text-align:center;padding:8px 4px;font-size:11px}.study-breadcrumb{font-size:12px}.studies-page .quiz-score{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.studies-page .quiz-score span{padding:8px 5px;text-align:center;font-size:11px}.studies-page .quiz-score b{display:block;font-size:17px}.studies-page .reading{max-width:none}}

/* Study notebook */
.studies-page {
	--study-display: Georgia, "Times New Roman", serif;
	--study-paper: #fffcf4;
}
.studies-page .hero { margin-top: 20px; }
.studies-page .hero-art { background: #214e50; }
.studies-page .hero-art svg { width: 100%; height: 100%; }
.studies-page .hero-art::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #123f40 2%, #123f40ed 30%, transparent 82%);
}
.studies-page .hero-copy { padding: clamp(24px, 4vw, 48px); }
.studies-page .hero-copy h1, .studies-page .intro h1 {
	font: 500 clamp(34px, 4.4vw, 60px)/1.06 var(--study-display);
	letter-spacing: -.045em;
	margin: 10px 0;
}
.studies-page .hero-copy em { color: #e0f1a1; }
.studies-page .light { margin-top: 18px; background: #d7ed91; color: #163e35; }
.studies-page .primary { text-decoration: none; }
.studies-page .intro {
	padding: clamp(20px, 3vw, 34px);
	background: linear-gradient(112deg, #e1efe8, #f9f3df);
	border-radius: 18px;
}
.studies-page .intro small, .studies-page .hero-copy small, .studies-page .progress-panel small, .studies-page .quick small {
	font-size: 11px;
	letter-spacing: .14em;
	font-weight: 750;
}
.studies-page .dashboard { display: grid; grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr); gap: 20px; margin: 24px 0; }
.studies-page .section-title { margin: 24px 0 12px; }
.studies-page .dashboard .section-title { margin-top: 0; }
.studies-page .section-title a, .studies-page .actions a { color: #246252; font-weight: 650; }
.studies-page .card {
	--track-color: #22677a;
	--track-tint: #e6f2f5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(20px, 2.6vw, 32px);
	border-top: 4px solid var(--track-color);
	background: linear-gradient(135deg, var(--track-tint), white 82%);
	color: var(--ink);
	text-decoration: none;
}
.studies-page .card.cbvl { --track-color: #94551f; --track-tint: #fff0d7; }
.studies-page .badge { background: #d1eaf2; color: #20596a; font-weight: 750; }
.studies-page .badge.cbvl { background: #f9dfae; color: #734315; }
.studies-page .card h2, .studies-page .card h3 {
	font: 600 clamp(23px, 2.6vw, 33px)/1.1 var(--study-display);
	letter-spacing: -.035em;
}
.studies-page .card .row, .studies-page .card-foot { width: 100%; }
.studies-page .card-foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 7px; margin-top: auto; font-size: 14px; }
.studies-page progress { width: 100%; height: 8px; accent-color: var(--track-color, #347e65); }
.studies-page .practice-format { color: var(--track-color); font-size: 14px; font-weight: 650; margin: auto 0 0; padding: 16px 0; }
.studies-page .progress-panel, .studies-page .quick { background: #e2efde; border-radius: 16px; padding: 24px; }
.studies-page .progress-num { font: 500 46px/1.2 var(--study-display); }
.studies-page .progress-panel hr { border: 0; border-top: 1px solid #bdcfbd; margin: 14px 0; }
.studies-page .quick { align-items: center; justify-content: space-between; gap: 16px; background: #f6ead3; }
.studies-page .quick h2 { margin: 6px 0; }
.studies-page .reading { background: white; padding: clamp(16px, 3vw, 32px); margin: 20px auto; border-radius: 18px; }
.studies-page .reading li { margin: 12px 0; }
.studies-page .reading textarea { width: 100%; }
.studies-page .reading details { margin-top: 10px; }
.studies-page .options button { display: flex; align-items: baseline; gap: 12px; line-height: 1.5; }
.studies-page .options button b, .studies-page .list>a>small { background: #e8f0ea; padding: 4px 8px; border-radius: 6px; }
.studies-page .history-empty { background: var(--study-paper); border: 1px dashed #cdbf9f; padding: 16px; border-radius: 10px; }
.studies-page .reset-practice { color: #833f31; background: white; border: 1px solid #cba69d; border-radius: 8px; padding: 10px 14px; margin: 16px 0; }
.studies-page :focus-visible { outline: 3px solid #ad5b1d; outline-offset: 3px; }
.studies-page .card[href]:hover, .studies-page .list>a:hover { box-shadow: 0 4px 16px #224a461c; border-color: #679981; }
@media (max-width: 850px) {
	.studies-page .dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
	.studies-page .cards { grid-template-columns: 1fr; }
	.studies-page .quick { align-items: flex-start; flex-direction: column; }
	.studies-page .hero-art::after { background: linear-gradient(90deg, #123f40fa, #123f40d9 46%, #123f4040); }
}
