:root{--ink:#1d1d1f;--muted:#6e6e73;--blue:#06c;--green:#248a3d;--red:#d70015;--wash:#f5f5f7;--line:#d2d2d7;--hair:#e5e5e7;--content:980px;--wide:1200px;--article:720px;--radius:18px}
*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.47 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #06c3;outline-offset:2px}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:-.025em}h1{margin:8px 0 14px;font-size:clamp(40px,5vw,64px);line-height:1.04;font-weight:650}h2{margin:6px 0 12px;font-size:clamp(28px,3vw,40px);line-height:1.12}h3{margin:0 0 8px;font-size:21px}.muted{color:var(--muted)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.boot{min-height:100vh;display:grid;place-items:center;color:var(--muted)}
.app-shell{min-height:100vh;display:flex;flex-direction:column}.global-header{position:sticky;top:0;z-index:40;height:48px;background:#fafafce8;border-bottom:1px solid #00000014;backdrop-filter:saturate(180%) blur(20px)}.global-nav{width:min(var(--wide),calc(100% - 40px));height:100%;margin:auto;display:grid;grid-template-columns:190px 1fr 190px;align-items:center;gap:24px}.wordmark{display:inline-flex;align-items:center;gap:9px;justify-self:start;padding:0;border:0;background:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:11px;background:#cbff38;color:#10110e;font-weight:800}.wordmark .brand-mark{width:25px;height:25px;border-radius:7px;font-size:13px}.wordmark b{font-size:14px}.desktop-nav{display:flex;justify-content:center;gap:clamp(16px,2.4vw,32px)}.desktop-nav button,.mobile-nav button{padding:4px 0;border:0;background:none;color:#424245;font-size:12px;white-space:nowrap}.desktop-nav button.active{color:#000;font-weight:650}.global-actions{display:flex;align-items:center;justify-self:end;gap:15px}.icon-action,.avatar-button{display:grid;place-items:center;padding:0;border:0;background:none}.icon-action{width:28px;height:28px;font-size:19px}.avatar-button{width:29px;height:29px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:650}.mobile-nav{display:none}.main{flex:1}.section-bar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(24px,calc((100vw - var(--wide))/2));border-bottom:1px solid var(--hair)}.section-bar>div:first-child{display:flex;align-items:baseline;gap:12px}.section-title{font-size:18px;font-weight:650}.breadcrumb{color:var(--muted);font-size:13px}.top-actions{display:flex;align-items:center;gap:18px}.top-report,.admin-link,.logout,.site-footer button{padding:0;border:0;background:none;color:#515154;font-size:12px}.admin-link{padding-left:18px;border-left:1px solid var(--line)}.status{display:flex;align-items:center;gap:7px;color:#287a50;font-size:11px;font-weight:650}.status i{width:7px;height:7px;border-radius:50%;background:#34c759}.content{width:min(var(--wide),calc(100% - 48px));margin:auto;padding:72px 0 104px}.site-footer{width:min(var(--wide),calc(100% - 48px));margin:auto;padding:22px 0 28px;display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);color:#86868b;font-size:11px}.site-footer div{display:flex;gap:26px}.site-footer .logout{margin:0}
.eyebrow,.context-kicker{margin:0;color:var(--muted);font-size:11px;line-height:1.3;font-weight:650;letter-spacing:.12em;text-transform:uppercase}.page-head,.product-head,.map-head,.quiet-head{width:min(var(--content),100%);margin:0 auto 52px}.page-head,.product-head,.map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:36px}.page-head>div,.product-head>div,.map-head>div{max-width:760px}.page-head p:last-child,.product-head p:last-child,.map-head>div>p:last-child,.quiet-head>p:last-child{max-width:690px;margin:0;color:var(--muted);font-size:18px}.page-head h1,.product-head h1,.map-head h1,.quiet-head h1{font-size:clamp(40px,5vw,56px)}.count-badge,.role-chip,.pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#e8e8ed;color:#4b4b4f;font-size:11px;font-weight:650}.pill.lime{background:#e7f8c9;color:#355c18}.pill.cyan{background:#e6f1fb;color:#075b9f}.pill.feedback-error{background:#fde7e9;color:#a10b1b}.card{padding:32px;border:0;border-radius:var(--radius);background:var(--wash)}.card+.card{margin-top:18px}.card.accent{background:#f1f6fb}.button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 17px;border:0;border-radius:999px;background:#e8e8ed;color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:#0071e3}.button.danger{background:#fff0f1;color:#b10f20}.button.small{min-height:32px;padding:6px 13px;font-size:12px}.button.wide{width:100%}.button:disabled{opacity:.45}.text-action,.text-button,.link-button{padding:0;border:0;background:none;color:var(--blue);font-weight:500}.text-action:hover,.text-button:hover,.link-button:hover{text-decoration:underline}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:grid;gap:8px;margin:0}.field>span,.field-label{color:#3a3a3c;font-size:13px;font-weight:600}.field small{color:var(--muted);font-size:12px}.field-meta{display:flex;justify-content:space-between;gap:12px}input,textarea,select{width:100%;min-height:46px;padding:11px 13px;border:1px solid #b9b9bd;border-radius:10px;background:#fff;color:var(--ink);outline:none;box-shadow:none}textarea{min-height:112px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0066cc24}select:disabled,input:disabled{background:#f1f1f3;color:var(--muted);opacity:1}fieldset{border:0;padding:0;margin:0 0 28px}legend{margin-bottom:12px;font-size:17px;font-weight:650}.notice{padding:14px 16px;margin:14px 0;border-radius:12px;background:#edf4fb;color:#244966}.notice.error{background:#fde9eb;color:#9e1020}.notice.success{background:#e8f6ec;color:#226f38}.empty{padding:52px 24px;text-align:center;color:var(--muted)}
.os-welcome{width:min(var(--content),100%);margin:12px auto 54px;text-align:center}.os-welcome>div{max-width:760px;margin:auto}.os-welcome .role-chip{margin-bottom:24px}.os-welcome h1{font-size:clamp(46px,6vw,68px)}.os-welcome>div>p:last-child{max-width:650px;margin:auto;color:var(--muted);font-size:19px}.compact-search{width:min(620px,100%);margin:34px auto 0;display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);text-align:left}.compact-search kbd{margin-left:auto;color:#86868b}.today-panel{width:min(var(--content),100%);margin:0 auto 74px;padding:34px 40px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:18px;background:var(--wash)}.today-panel>div{max-width:650px}.today-panel h2{font-size:28px}.today-panel p{margin:0;color:var(--muted)}.os-section-head{width:min(var(--content),100%);margin:0 auto 24px;display:flex;align-items:end;justify-content:space-between;gap:24px}.os-section-head h2{margin-bottom:0;font-size:32px}.os-module-grid{width:min(var(--content),100%);margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;overflow:hidden;border-radius:18px;background:var(--hair)}.os-module-grid button{min-height:195px;padding:28px;border:0;background:var(--wash);color:var(--ink);text-align:left}.os-module-grid button:hover{background:#eeeef1}.os-module-grid span,.os-module-grid b,.os-module-grid small{display:block}.os-module-grid span{color:#86868b;font-size:11px}.os-module-grid b{margin-top:44px;font-size:21px}.os-module-grid small{margin-top:7px;color:var(--muted);font-size:13px}.map-preview{width:min(var(--content),100%);min-height:320px;margin:76px auto 0;display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden;border-radius:20px;background:var(--wash)}.map-preview>div:first-child{padding:44px}.map-preview p{color:var(--muted)}.network-art{position:relative;min-height:300px;background:#101114}.n-line{position:absolute;height:4px;border-radius:99px;background:#3b82f6}.n-line.a{left:8%;right:8%;top:31%}.n-line.b{left:38%;right:8%;top:68%;background:#cbff38}.n-line.c{left:38%;top:31%;width:4px;height:38%;background:#cbff38}.network-art i{position:absolute;left:var(--x);top:var(--y);width:15px;height:15px;border:4px solid #fff;border-radius:50%;background:#101114;transform:translate(-50%,-40%)}
.people-grid,.department-grid,.knowledge-categories{width:min(var(--content),100%);margin:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.person-card,.department-grid article,.knowledge-categories article{padding:30px;border:0;border-radius:18px;background:var(--wash)}.person-card{display:grid;grid-template-columns:auto 1fr;gap:20px}.avatar{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:#dedee3;font-weight:650}.avatar.large{width:60px;height:60px;font-size:21px}.person-card h2{margin:5px 0;font-size:23px}.person-card p{margin:0;color:var(--muted)}.person-card dl{grid-column:1/-1;margin:8px 0 0}.person-card dl div{display:grid;grid-template-columns:135px 1fr;gap:18px;padding:11px 0;border-top:1px solid var(--line)}.person-card dt{color:#86868b;font-size:12px}.person-card dd{margin:0;font-size:13px}.department-open{display:block;width:100%;padding:0;border:0;background:none;text-align:left}.department-grid article:hover{transform:translateY(-2px)}.department-title{display:flex;justify-content:space-between}.department-title i{width:11px;height:11px;border-radius:50%;background:var(--department)}.department-title span{color:#86868b;font-size:11px}.department-grid h2{margin:36px 0 9px;font-size:28px}.department-grid p{min-height:48px;color:var(--muted)}.department-grid footer{margin-top:26px;padding-top:16px;display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);font-size:11px}.department-grid footer span{color:var(--blue)}.knowledge-categories article{min-height:215px;display:grid;grid-template-columns:auto 1fr;gap:18px}.knowledge-categories article.is-pending{opacity:.58}.category-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;font-weight:700}.category-mark.blue{background:#e7f0fb;color:#0867b5}.category-mark.green{background:#e5f5ea;color:#28783d}.category-mark.purple{background:#eee8fa;color:#7041aa}.category-mark.orange{background:#fbeddf;color:#a75619}.knowledge-categories small{color:#86868b;font-size:10px}.knowledge-categories h2{margin:6px 0;font-size:23px}.knowledge-categories p{color:var(--muted)}.knowledge-categories b{display:block;margin-top:24px;color:var(--blue);font-size:12px}
.team-table{width:min(var(--content),100%);margin:0 auto 64px;overflow:hidden;border-radius:18px;background:var(--wash)}.team-table .person{min-height:102px;padding:20px 24px;display:grid;grid-template-columns:1.5fr .55fr .55fr auto;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.team-table .person:last-child{border-bottom:0}.person-identity{display:flex;align-items:center;gap:13px;min-width:0}.person-identity>span:last-child{min-width:0}.person-identity strong,.person-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person small{color:var(--muted);font-size:12px}.person-actions{justify-self:end}.account-create{width:min(820px,100%);margin:auto;padding:48px 52px;border-radius:22px;background:var(--wash)}.account-create>header{max-width:630px;margin-bottom:38px}.account-create>header h2{font-size:36px}.account-create>header p:last-child{color:var(--muted)}.form-section{padding-bottom:38px}.form-section+.form-section{padding-top:34px;border-top:1px solid var(--line)}.form-section>h3,.permission-section h3{margin-bottom:20px}.permission-section{display:grid;grid-template-columns:210px 1fr;gap:38px}.permission-section p{color:var(--muted);font-size:13px}.permission-grid{display:grid;gap:0;margin:0;overflow:hidden;border-radius:12px;background:#fff}.permission-grid label{min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--hair);font-size:13px}.permission-grid label:last-child{border:0}.permission-grid label span{order:1}.permission-grid input[type=checkbox]{order:2;appearance:none;position:relative;width:38px;min-height:22px;height:22px;margin:0;padding:0;border:0;border-radius:99px;background:#c7c7cc}.permission-grid input:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004}.permission-grid input:checked{background:#34c759}.permission-grid input:checked:after{transform:translateX(16px)}.form-submit{padding-top:26px;display:flex;align-items:center;gap:16px;border-top:1px solid var(--line)}.form-submit small{color:var(--muted)}
.evaluation-flow{width:min(var(--content),100%);margin:auto;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border-radius:18px;background:var(--wash)}.evaluation-flow article{min-height:220px;padding:30px;display:grid;grid-template-columns:auto 1fr;gap:16px;border-right:1px solid var(--line)}.evaluation-flow article:last-child{border:0}.evaluation-flow p{color:var(--muted);font-size:14px}.empty-state{padding:64px 20px;text-align:center}.empty-symbol{width:50px;height:50px;margin:0 auto 20px;display:grid;place-items:center;border-radius:50%;background:#e8e8ed}.empty-state p{max-width:560px;margin:8px auto 20px;color:var(--muted)}.transit-shell{overflow:hidden;border-radius:20px;background:var(--wash)}.transit-toolbar{min-height:70px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.transit-toolbar small,.map-legend{color:var(--muted);font-size:12px}.transit-scroll{overflow:auto}.transit-map{min-width:900px;width:100%;display:block}.route{fill:none;stroke-width:7;stroke-linecap:round}.route-launch{stroke:#ff9f0a}.route-platform{stroke:#0a84ff}.route-catalog{stroke:#30d158}.route-compliance{stroke:#bf5af2}.route-support{stroke:#8e8e93}.station{cursor:pointer;fill:#fff;stroke:#262629;stroke-width:4}.station text,.line-label text{fill:#363638;stroke:none;font-size:14px}.line-key{padding:17px 22px;display:flex;gap:22px;border-top:1px solid var(--line)}.map-control{padding:7px 12px;border:0;border-radius:99px;background:var(--wash)}.map-control.active{background:var(--ink);color:#fff}.map-note,.lesson,.profile-card{width:min(var(--article),100%);margin-inline:auto}.map-note{margin-top:44px;padding-top:24px;border-top:1px solid var(--line)}.map-note p,.lesson-copy{color:#3f3f42}.lesson{display:grid;gap:34px}.lesson-block{padding-bottom:32px;border-bottom:1px solid var(--line)}.lesson-label{color:var(--blue);font-weight:650}.example,.metric,.route-summary{padding:18px;border-radius:12px;background:var(--wash)}.option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.option{min-height:58px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left}.option.selected{border-color:var(--blue);background:#edf5fc}.question-block{margin:26px 0}.wizard-status{display:flex;justify-content:space-between;color:var(--muted)}.stepper{display:flex;gap:6px;margin:8px 0 26px}.stepper span{height:4px;flex:1;background:var(--line)}.stepper span.on{background:var(--blue)}.wizard-actions{margin-top:28px;display:flex;justify-content:space-between}.timeline-item,.criterion{padding:16px 0;display:grid;grid-template-columns:70px 1fr;gap:16px;border-top:1px solid var(--line)}.evaluation{padding:26px;border-radius:16px;background:var(--wash)}.score{font-size:42px;font-weight:650}.ai-progress{text-align:center;padding:56px 20px}.ai-orb{display:block;width:48px;height:48px;margin:0 auto 20px;border-radius:50%;background:linear-gradient(145deg,#58a7ff,#06c)}
.modal{position:fixed;inset:0;z-index:80;padding:24px;display:grid;place-items:center;background:#0006;backdrop-filter:blur(14px)}.modal-card,.station-sheet,.search-panel{width:min(760px,100%);max-height:88vh;overflow:auto;border:0;border-radius:18px;background:#fafafcfa;box-shadow:0 28px 90px #0004}.modal-card{padding:0}.modal-title{position:sticky;top:0;z-index:2;margin:0;padding:22px 26px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fafafcf0}.modal-title h2{font-size:30px}.modal-card form{padding:26px}.modal-actions{margin:26px -26px -26px;padding:18px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);background:#fff}.modal-actions.split{display:grid;grid-template-columns:auto 1fr auto auto}.confirm-card{max-width:520px;padding:28px}.feedback-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feedback-choice input{position:absolute;opacity:0}.feedback-choice span{display:grid;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.feedback-choice input:checked+span{border-color:var(--blue);background:#edf5fc}.credential{margin:20px 26px;padding:18px;display:grid;background:#fff}.station-sheet{position:relative;max-width:620px;padding:34px}.sheet-close{position:absolute;right:18px;width:30px;height:30px;border:0;border-radius:50%}.station-facts div{padding:13px 0;border-top:1px solid var(--line)}.search-input{padding:14px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.search-input input{border:0;background:none;box-shadow:none}.search-results{padding:8px}.search-results button{width:100%;padding:12px;display:flex;justify-content:space-between;border:0;border-radius:9px;background:none;text-align:left}.search-results button:hover{background:#e8e8ed}.search-results b,.search-results small{display:block}.search-hint{padding:13px 20px;color:var(--muted)}.department-facts{padding:24px 26px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.department-facts article{padding:17px;background:#fff}.position-head{padding:26px}.position-list{margin:0 26px;overflow:hidden;background:#fff}.position-list>button{width:100%;padding:15px;display:flex;justify-content:space-between;border:0;border-bottom:1px solid var(--hair);background:none;text-align:left}.feedback-list{width:min(var(--content),100%);margin:auto}.feedback-head,.feedback-meta{display:flex;justify-content:space-between;gap:18px}.feedback-meta{padding-top:14px;border-top:1px solid var(--line);color:var(--muted)}.toast{position:fixed;right:22px;bottom:22px;z-index:100;padding:13px 16px;border-radius:12px;background:#242426;color:#fff}
.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.login-story{padding:clamp(40px,7vw,110px);display:flex;flex-direction:column;justify-content:space-between;background:var(--wash)}.brand{display:flex;align-items:center;gap:11px}.brand div{display:grid}.brand small{color:var(--muted)}.login-story h1{max-width:720px}.login-story p{max-width:600px;color:var(--muted);font-size:19px}.login-card-wrap{padding:30px;display:grid;place-items:center}.login-card{width:min(400px,100%)}.login-card .field{margin:18px 0}.setup-body{background:#fff}.setup-wrap{max-width:820px;margin:auto;padding:clamp(30px,7vw,88px)}.setup-intro{margin:54px 0 30px}.setup-card{padding:34px;border-radius:20px;background:var(--wash)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.setup-card label{display:grid;gap:7px;margin-bottom:18px}.wide{grid-column:1/-1}
@media(max-width:980px){.desktop-nav{gap:15px}.global-nav{grid-template-columns:auto 1fr auto}.wordmark b{display:none}.people-grid,.department-grid,.knowledge-categories{grid-template-columns:1fr}.team-table .person{grid-template-columns:1fr auto}.team-table .person>div:nth-child(2),.team-table .person>div:nth-child(3){display:none}.permission-section{grid-template-columns:1fr}}
@media(max-width:760px){.global-nav{grid-template-columns:1fr auto}.desktop-nav{display:none}.mobile-nav{position:sticky;top:48px;z-index:35;display:flex;gap:22px;overflow:auto;padding:10px 20px;border-bottom:1px solid var(--hair);background:#fffc}.section-bar{padding:0 20px}.breadcrumb,.status{display:none}.content{width:calc(100% - 32px);padding:48px 0 72px}.page-head,.product-head,.map-head{display:block}.page-head>.button,.product-head>.button,.count-badge{margin-top:22px}.os-welcome{text-align:left}.compact-search{margin-left:0}.today-panel,.os-section-head{align-items:flex-start;flex-direction:column}.os-module-grid{grid-template-columns:repeat(2,1fr)}.map-preview{grid-template-columns:1fr}.evaluation-flow{grid-template-columns:1fr}.evaluation-flow article{border-right:0;border-bottom:1px solid var(--line)}.account-create{padding:34px 24px}.grid.two,.grid.three{grid-template-columns:1fr}.modal{padding:12px}.department-facts{grid-template-columns:1fr}.site-footer{flex-direction:column}}
@media(max-width:520px){h1,.page-head h1,.product-head h1,.map-head h1{font-size:38px}.os-module-grid{grid-template-columns:1fr}.os-module-grid button{min-height:155px}.person-card{grid-template-columns:1fr}.person-card dl{grid-column:auto}.person-card dl div{grid-template-columns:1fr}.team-table .person{padding:17px}.account-create>header h2{font-size:31px}.option-grid,.feedback-choice,.form-grid{grid-template-columns:1fr}.wizard-actions{flex-direction:column-reverse}.modal-title{align-items:flex-start}.modal-actions,.modal-actions.split{display:flex;flex-direction:column-reverse;align-items:stretch}.modal-actions .button{width:100%}}

/* V1.4.1 — native light, dark and system appearance */
.theme-dock{position:fixed;right:18px;bottom:18px;z-index:120;display:flex;gap:2px;padding:4px;border:1px solid #00000012;border-radius:999px;background:#f2f2f7dd;box-shadow:0 8px 30px #0002;backdrop-filter:saturate(180%) blur(20px)}
.theme-dock button{min-width:32px;height:28px;padding:0 9px;border:0;border-radius:999px;background:transparent;color:#636366;font-size:11px;font-weight:600}
.theme-dock button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 5px #0002}
.dark{color-scheme:dark;--ink:#f5f5f7;--muted:#a1a1a6;--blue:#2997ff;--green:#30d158;--red:#ff453a;--wash:#1c1c1e;--line:#3a3a3c;--hair:#2c2c2e}
.dark body,.dark .setup-body{background:#000;color:var(--ink)}
.dark .global-header{background:#161617d9;border-bottom-color:#ffffff18}
.dark .desktop-nav button,.dark .mobile-nav button,.dark .top-report,.dark .admin-link,.dark .logout,.dark .site-footer button{color:#aeaeb2}
.dark .desktop-nav button.active,.dark .mobile-nav button.active{color:#fff}
.dark .mobile-nav{background:#111114ed}
.dark .brand-mark{background:#d7ff55;color:#10110e}
.dark .avatar-button,.dark .map-control.active{background:#f5f5f7;color:#111}
.dark .section-bar,.dark .site-footer,.dark .form-section+.form-section,.dark .form-submit,.dark .person-card dl div,.dark .department-grid footer,.dark .lesson-block,.dark .timeline-item,.dark .criterion,.dark .map-note{border-color:var(--hair)}
.dark .card,.dark .today-panel,.dark .person-card,.dark .department-grid article,.dark .knowledge-categories article,.dark .team-table,.dark .account-create,.dark .evaluation-flow,.dark .transit-shell,.dark .example,.dark .metric,.dark .route-summary,.dark .evaluation,.dark .setup-card{background:#1c1c1e}
.dark .card.accent,.dark .notice{background:#10283c;color:#b8dcff}
.dark .notice.success{background:#102b19;color:#a9eeb8}
.dark .notice.error{background:#3b1116;color:#ffb4bd}
.dark .button{background:#2c2c2e;color:#f5f5f7}
.dark .button.primary{background:#0a84ff;color:#fff}
.dark .button.primary:hover{background:#2997ff}
.dark .button.danger{background:#3b1518;color:#ff6961}
.dark input,.dark textarea,.dark select,.dark .compact-search,.dark .option,.dark .permission-grid,.dark .feedback-choice span,.dark .credential,.dark .department-facts article,.dark .position-list{border-color:#48484a;background:#242426;color:#f5f5f7}
.dark input::placeholder,.dark textarea::placeholder{color:#77777c}
.dark select:disabled,.dark input:disabled{background:#202022;color:#77777c}
.dark .field>span,.dark .field-label,.dark .lesson-copy,.dark .map-note p{color:#d1d1d6}
.dark .count-badge,.dark .role-chip,.dark .pill,.dark .empty-symbol{background:#2c2c2e;color:#d1d1d6}
.dark .pill.lime{background:#203515;color:#b8e986}
.dark .pill.cyan{background:#102c42;color:#74bfff}
.dark .pill.feedback-error{background:#42161b;color:#ff8b95}
.dark .os-module-grid{background:#3a3a3c}
.dark .os-module-grid button{background:#1c1c1e;color:#f5f5f7}
.dark .os-module-grid button:hover{background:#2c2c2e}
.dark .map-preview{background:#1c1c1e}
.dark .avatar{background:#3a3a3c;color:#fff}
.dark .category-mark.blue{background:#102c42;color:#64b5f6}.dark .category-mark.green{background:#17351f;color:#6ed987}.dark .category-mark.purple{background:#302044;color:#bf8cff}.dark .category-mark.orange{background:#402716;color:#ffad66}
.dark .permission-grid label,.dark .team-table .person,.dark .evaluation-flow article,.dark .transit-toolbar,.dark .line-key,.dark .position-list>button,.dark .search-input{border-color:#38383a}
.dark .permission-grid input[type=checkbox]{background:#545458}
.dark .permission-grid input:checked{background:#30d158}
.dark .permission-grid input:after{background:#fff}
.dark .station{fill:#000;stroke:#f5f5f7}.dark .station text,.dark .line-label text{fill:#d1d1d6}.dark .transit-map{background:#111113}
.dark .option.selected,.dark .feedback-choice input:checked+span{border-color:#2997ff;background:#102c42}
.dark .modal{background:#000a}
.dark .modal-card,.dark .station-sheet,.dark .search-panel{background:#1c1c1ef5;box-shadow:0 28px 90px #000c}
.dark .modal-title{background:#1c1c1ef0}
.dark .modal-actions{background:#161618}
.dark .search-results button{color:#f5f5f7}.dark .search-results button:hover{background:#2c2c2e}
.dark .sheet-close{background:#3a3a3c;color:#fff}
.dark .toast{background:#f5f5f7;color:#111}
.dark .login-story{background:#111113}.dark .login-card-wrap{background:#000}
.dark .theme-dock{border-color:#ffffff1a;background:#242426dd;box-shadow:0 8px 30px #0008}
.dark .theme-dock button{color:#aeaeb2}.dark .theme-dock button.active{background:#4a4a4d;color:#fff;box-shadow:0 1px 5px #0008}
@media(max-width:760px){.theme-dock{right:10px;bottom:10px}.site-footer{padding-bottom:72px}}

/* V1.4.2 — component quality pass */
:root{--surface:#f5f5f7;--surface-raised:#fff;--surface-hover:#f0f0f2;--control:#fff;--shadow:0 1px 2px #0000000a,0 10px 34px #0000000a}
.dark{--surface:#1c1c1e;--surface-raised:#232325;--surface-hover:#29292c;--control:#242426;--shadow:0 1px 1px #ffffff08,0 16px 42px #0007}
.content{padding-top:64px}
.page-head,.product-head,.map-head,.quiet-head{margin-bottom:44px}
.page-head h1,.product-head h1,.map-head h1,.quiet-head h1{font-size:clamp(38px,4vw,52px);font-weight:640}
.page-head p:last-child,.product-head p:last-child,.map-head>div>p:last-child,.quiet-head>p:last-child{font-size:17px;line-height:1.55}
.eyebrow,.context-kicker{letter-spacing:.14em}
.button{transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
.button:not(:disabled):active{transform:scale(.97)}
.button.primary{box-shadow:0 5px 16px #0066cc22}
.text-action,.text-button,.link-button{transition:opacity .18s ease}
.text-action:hover,.text-button:hover,.link-button:hover{opacity:.72;text-decoration:none}

/* Home modules: independent, recognizable objects instead of a table */
.os-section-head{width:min(940px,100%);margin-bottom:20px;align-items:center}
.os-section-head h2{font-size:30px;letter-spacing:-.03em}
.os-module-grid{width:min(940px,100%);grid-template-columns:repeat(3,1fr);gap:12px;overflow:visible;border-radius:0;background:transparent}
.os-module-grid button{position:relative;min-height:166px;padding:22px 22px 20px;border:1px solid #0000000a;border-radius:16px;background:var(--surface);box-shadow:none;transition:transform .22s ease,background-color .22s ease,box-shadow .22s ease,border-color .22s ease}
.os-module-grid button:hover{z-index:1;transform:translateY(-3px);background:var(--surface-raised);border-color:#00000010;box-shadow:var(--shadow)}
.os-module-grid button>span{display:none}
.os-module-grid button::before{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8e8ed;color:#3a3a3c;font-size:17px;font-weight:600}
.os-module-grid button::after{content:'›';position:absolute;right:19px;top:20px;color:#8e8e93;font-size:22px;line-height:1;transition:transform .2s ease,color .2s ease}
.os-module-grid button:hover::after{transform:translateX(3px);color:var(--blue)}
.os-module-grid button[data-go="management"]::before{content:'⌘';background:#e8f0fb;color:#1769aa}
.os-module-grid button[data-go="directory"]::before{content:'◉';background:#e8f6ec;color:#287a43}
.os-module-grid button[data-go="departments"]::before{content:'⌑';background:#f3eafb;color:#7746a8}
.os-module-grid button[data-go="knowledge"]::before{content:'≡';background:#fff0df;color:#a75a17}
.os-module-grid button[data-go="development"]::before{content:'↗';background:#e7f4f7;color:#167083}
.os-module-grid button[data-go="evaluations"]::before{content:'✓';background:#fbe8eb;color:#a93142}
.os-module-grid b{margin-top:25px;font-size:19px;letter-spacing:-.02em}
.os-module-grid small{max-width:240px;margin-top:6px;line-height:1.4}
.dark .os-module-grid{background:transparent}
.dark .os-module-grid button{border-color:#ffffff0b;background:#1c1c1e}
.dark .os-module-grid button:hover{border-color:#ffffff16;background:#242426}
.dark .os-module-grid button::before{background:#303033;color:#f5f5f7}
.dark .os-module-grid button[data-go="management"]::before{background:#142d46;color:#65b5ff}
.dark .os-module-grid button[data-go="directory"]::before{background:#16351e;color:#77dd8c}
.dark .os-module-grid button[data-go="departments"]::before{background:#302241;color:#c692f2}
.dark .os-module-grid button[data-go="knowledge"]::before{background:#3d2918;color:#ffb66f}
.dark .os-module-grid button[data-go="development"]::before{background:#153239;color:#6dd5e3}
.dark .os-module-grid button[data-go="evaluations"]::before{background:#3d1d23;color:#ff909c}

/* Forms: editorial density and calmer controls */
.account-create{width:min(780px,100%);padding:38px 40px 34px;border:1px solid #0000000a;border-radius:20px;background:var(--surface);box-shadow:none}
.account-create>header{max-width:590px;margin-bottom:30px}
.account-create>header h2{margin-top:5px;font-size:32px;line-height:1.1}
.account-create>header p:last-child{font-size:15px;line-height:1.5}
.form-section{padding-bottom:30px}
.form-section+.form-section{padding-top:28px}
.form-section>h3,.permission-section h3{margin-bottom:17px;font-size:19px}
.grid{gap:17px 16px}
.field{gap:6px}
.field>span,.field-label{font-size:12px;font-weight:620}
input,textarea,select{min-height:44px;padding:9px 12px;border-color:#c7c7cc;border-radius:9px;background:var(--control);font-size:15px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
textarea{min-height:104px}
select{appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,#777 50%),linear-gradient(135deg,#777 50%,transparent 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
input:hover,textarea:hover,select:hover{border-color:#9d9da2}
select:disabled,input:disabled{border-color:transparent;background-color:#e9e9ec;background-image:none}
.permission-section{grid-template-columns:180px 1fr;gap:28px}
.permission-grid{border:1px solid #0000000a;border-radius:11px;background:var(--surface-raised)}
.permission-grid label{min-height:44px;padding:9px 12px}
.form-submit{justify-content:flex-end;padding-top:22px}
.form-submit small{margin-right:auto}
.dark .account-create,.dark .permission-grid{border-color:#ffffff0c;background:#1c1c1e}
.dark input,.dark textarea,.dark select{border-color:#454548;background-color:#242426}
.dark input:hover,.dark textarea:hover,.dark select:hover{border-color:#636368}
.dark select{background-image:linear-gradient(45deg,transparent 50%,#aaa 50%),linear-gradient(135deg,#aaa 50%,transparent 50%)}
.dark select:disabled,.dark input:disabled{border-color:transparent;background-color:#222224;background-image:none;color:#77777c}

/* Lists, directory cards and modals share the same material language */
.team-table{border:1px solid #0000000a;border-radius:15px;background:var(--surface-raised)}
.team-table .person{min-height:88px;padding:16px 20px;transition:background-color .18s ease}
.team-table .person:hover{background:var(--surface-hover)}
.person-card,.department-grid article,.knowledge-categories article{border:1px solid #0000000a;border-radius:16px;background:var(--surface);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.person-card:hover,.department-grid article:hover,.knowledge-categories article:not(.is-pending):hover{transform:translateY(-2px);background:var(--surface-raised);box-shadow:var(--shadow)}
.department-grid h2{margin-top:28px;font-size:25px}
.knowledge-categories article{min-height:190px}
.modal-card,.station-sheet,.search-panel{border:1px solid #ffffff22;border-radius:20px}
.modal-title{padding:19px 22px 16px}
.modal-title h2{font-size:27px}
.modal-card form{padding:22px}
.modal-actions{margin:22px -22px -22px;padding:15px 22px}
.dark .team-table,.dark .person-card,.dark .department-grid article,.dark .knowledge-categories article{border-color:#ffffff0c}

@media(max-width:760px){.content{padding-top:44px}.os-section-head{align-items:flex-start}.os-module-grid{grid-template-columns:repeat(2,1fr)}.account-create{padding:30px 24px}.permission-section{grid-template-columns:1fr}.form-submit{align-items:flex-start;flex-direction:column}.form-submit small{order:2}.form-submit .button{width:100%}}
@media(max-width:520px){.os-module-grid{grid-template-columns:1fr}.os-module-grid button{min-height:148px}.account-create>header h2{font-size:29px}}

/* V1.4.2.1 — Safari select hotfix: keep the native macOS control */
select,.dark select{appearance:auto;-webkit-appearance:menulist;padding-right:12px;background-image:none!important;background-size:auto!important;background-position:initial!important;background-repeat:no-repeat!important}

/* V1.4.2.2 — direct light/dark switch */
.theme-dock{display:none!important}
.theme-switch{position:fixed;right:18px;bottom:18px;z-index:120;height:36px;display:flex;align-items:center;gap:7px;padding:4px 8px;border:1px solid #00000012;border-radius:999px;background:#f2f2f7df;color:#636366;box-shadow:0 8px 30px #0002;backdrop-filter:saturate(180%) blur(20px)}
.theme-track{position:relative;width:34px;height:20px;border-radius:999px;background:#c7c7cc;transition:background-color .2s ease}
.theme-track i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0004;transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.theme-sun,.theme-moon{width:14px;text-align:center;font-size:13px;line-height:1}
.theme-moon{color:#8e8e93}
.dark .theme-switch{border-color:#ffffff1a;background:#242426df;color:#aeaeb2;box-shadow:0 8px 30px #0008}
.dark .theme-track{background:#0a84ff}
.dark .theme-track i{transform:translateX(14px)}
.dark .theme-sun{color:#77777c}.dark .theme-moon{color:#f5f5f7}
@media(max-width:760px){.theme-switch{right:10px;bottom:10px}}

/* V1.4.2.3 — persistent registration feedback */
.form-error{margin:0 0 18px;border:1px solid #d7001526}
.dark .form-error{border-color:#ff453a33}


/* V1.15 — Equipo: navegación y filtros compartidos */
.team-navigation{display:flex;gap:6px;flex-wrap:wrap;padding:6px;margin:0 0 30px;background:var(--wash);border:1px solid var(--hair);border-radius:14px;width:fit-content;max-width:100%}
.team-navigation a{display:block;padding:10px 18px;border-radius:9px;color:var(--muted);text-decoration:none;font-weight:600;font-size:14px}
.team-navigation a[aria-current=page]{background:var(--ink);color:var(--wash)}
.team-navigation a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.team-filters{display:flex;align-items:end;gap:18px;margin:24px 0;flex-wrap:wrap}.team-filters .field{flex:1;min-width:200px;margin:0}.team-filters #team-result-count{font-size:13px;color:var(--muted);padding:12px 0}
.team-table .person[hidden],#team-empty[hidden]{display:none!important}
#edit-user .form-section{padding:22px 0;border-top:1px solid var(--hair)}
#edit-user .permission-grid{margin-top:20px}
@media(max-width:650px){.team-navigation{width:100%}.team-navigation a{flex:1;text-align:center;padding:10px 9px}.team-filters{gap:12px}.team-filters .field{min-width:0;flex-basis:100%}.team-hero{flex-wrap:wrap;gap:18px}.person-identity{min-width:0}.person-identity small{overflow-wrap:anywhere}}
.team-navigation{margin-left:auto;margin-right:auto;width:min(100%,980px)}
.team-filters{max-width:980px;margin-left:auto;margin-right:auto}
.team-table .person>div>small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
/* V1.16 — Directorio compartido */
.team-head-actions{display:flex;gap:10px;flex-wrap:wrap}
.person-profile-facts{display:grid;gap:20px;margin:24px 0}
.person-profile-facts dt{font-size:13px;color:var(--muted)}
.person-profile-facts dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#directory-empty[hidden]{display:none!important}

/* Preserve each company logo without cropping or stretching. */
.brand-mark:has(.company-logo){background:transparent;padding:2px}
.company-logo{display:block;width:100%;height:100%;object-fit:contain}
.logo-preview{width:96px;height:96px;object-fit:contain;margin:12px 0;border:1px solid #ddd;border-radius:12px;padding:8px}

.trial-notice{padding:12px 20px;background:#fff5d6;color:#493b13;text-align:center;font-size:14px}
