:root{font-family:Arial,sans-serif;color:#203344;background:#f3f6f8}body{margin:0}header{background:#173b45;color:white;padding:20px 5%;display:flex;gap:20px;align-items:center}header a{text-decoration:none;font-weight:800;letter-spacing:2px}header span{opacity:.8}main{max-width:1200px;margin:auto;padding:28px 20px}h1{font-size:30px;font-weight:700}h2{font-size:21px}.card{background:white;border:1px solid #dce4e8;border-radius:12px;padding:24px;margin:16px 0;overflow-wrap:anywhere}.login{max-width:500px}.fields,.modules,.user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.user-list{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:block;margin:12px 0}.w3-input,.w3-select{border-radius:6px;margin-top:8px;min-height:46px}.w3-button{border-radius:7px;min-height:44px;margin:4px 0}nav{display:flex;gap:10px;flex-wrap:wrap}nav form{display:inline}footer{text-align:center;color:#657780;padding:30px}.w3-panel{padding:16px;border-radius:8px}@media(max-width:700px){header{align-items:flex-start;flex-direction:column;gap:4px}main{padding:20px 14px}h1{font-size:25px}.fields,.modules,.user-list{grid-template-columns:1fr}.card{padding:18px}.w3-button{white-space:normal}}
.report-table{overflow:auto;max-height:70vh}.report-table th{position:sticky;top:0;background:#173b45;color:white;white-space:nowrap}.report-table td{white-space:nowrap}@media print{header,footer,form,nav,#live-state{display:none!important}.report-table{overflow:visible;max-height:none}.report-table th{position:static}main{max-width:none;padding:0}.card{break-inside:avoid}}
[hidden]{display:none!important}.page-help{background:#e6f0f1;border:1px solid #c7dedf;border-radius:10px;padding:16px;margin:20px 0}.page-help summary{cursor:pointer;font-weight:700}.page-help p{max-width:950px;line-height:1.65}.w3-tag{max-width:100%;white-space:normal}textarea{min-height:90px}img{max-width:100%;height:auto}input,select,textarea{max-width:100%}button:disabled{opacity:.6;cursor:wait}@media print{.page-help,[data-install],#install-state{display:none!important}}
@media screen and (max-width:700px){.report-table{max-height:none;overflow:visible}.report-table table,.report-table tbody{display:block;width:100%}.report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.report-table tr{display:block;background:#fff!important;border:1px solid #dce4e8;border-radius:12px;margin:14px 0;padding:12px}.report-table td{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);gap:12px;border:0!important;padding:9px 4px!important;white-space:normal;overflow-wrap:anywhere}.report-table td::before{content:attr(data-label);font-weight:700;color:#42606a}.report-table td+td{border-top:1px solid #edf1f3!important}}
.help-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.help-step{position:relative;background:white;border:1px solid #c3d8dc;border-radius:12px;min-height:130px;padding:18px;display:flex;align-items:flex-start;gap:12px;flex-direction:column}.help-step svg{width:32px;height:32px;fill:none;stroke:#137e86;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.help-number{position:absolute;right:14px;top:12px;background:#173b45;color:white;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.help-example{border:1px dashed #8cabb3;border-radius:12px;background:#f8fbfc;padding:18px;margin:18px 0}.help-example>span{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#567681}.help-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.help-example-grid b{font-size:21px;color:#173b45}.help-control,.help-state{display:inline-block;border:1px solid #bcced2;border-radius:6px;padding:8px;background:white;font-size:13px}.help-primary{background:#137e86;color:white}.help-route{width:100%;max-height:150px;margin-top:15px}.help-full>details>summary{font-size:22px}.help-full .page-help{background:white}.help-full .page-help>p{font-size:16px}@media(max-width:700px){.help-flow,.help-example-grid{grid-template-columns:1fr}.help-step{min-height:100px}.help-example-grid{gap:0}.help-full .page-help{padding:14px}}
:root{--primary:#137e86;--surface:#fff;--bg:#f3f6f8;--ink:#203344;--muted:#657780;--line:#dce4e8}html[data-theme=dark]{color-scheme:dark;--surface:#1e2c36;--bg:#111c23;--ink:#e9f0f4;--muted:#b0c2cc;--line:#40525d}html[data-theme=dark] body{background:var(--bg);color:var(--ink)}html[data-theme=dark] .card,html[data-theme=dark] .report-table tr,html[data-theme=dark] .help-step,html[data-theme=dark] .help-example,html[data-theme=dark] .help-full .page-help{background:var(--surface)!important;color:var(--ink);border-color:var(--line)}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:#16242d;color:var(--ink);border-color:var(--line)!important}html[data-theme=dark] .page-help{background:#1b353b;border-color:#3c6067}html[data-theme=dark] .help-example-grid b,html[data-theme=dark] .report-table td::before{color:#a9d8df}html[data-theme=dark] .help-control,html[data-theme=dark] .help-state{background:#182630;color:#e9f0f4}html[data-theme=dark] .w3-light-grey{background:#354852!important;color:#fff!important}html[data-theme=dark] footer{color:var(--muted)}html[data-theme=dark] .w3-pale-yellow,html[data-theme=dark] .w3-pale-green,html[data-theme=dark] .w3-pale-red{color:#172b36!important}.appearance-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.appearance-controls label{margin:0;font-size:13px}.appearance-controls select{min-height:40px;border-radius:6px;padding:5px}.help-editor-text{min-height:380px}@media(max-width:700px){.appearance-controls{margin-left:0;width:100%}header{gap:12px}}@media print{html[data-theme=dark] body,html[data-theme=dark] .card,html[data-theme=dark] .report-table tr{background:#fff!important;color:#111!important}}

.affiliation-form h2{background:var(--primary);color:#fff;padding:10px 14px;margin:24px -1px 16px;border-radius:6px}.affiliation-form .fields{align-items:start}.affiliation-form label{min-width:0}.affiliation-form textarea{resize:vertical}.affiliation-form input,.affiliation-form select,.affiliation-form textarea{width:100%;min-width:0;box-sizing:border-box}@media(max-width:700px){.affiliation-form .fields{grid-template-columns:1fr}}
