:root{color-scheme:light;--ink:#192e3c;--muted:#52707c;--light:#edf3f4;--white:#fff;--line:#dbe5e7;--accent:#005f57;--accent-dark:#00483f;--accent-light:#dff3ed;--warning:#825209;--warning-bg:#fff0d2;--ground:#f5f8f8;--nav:#122a37;--radius:12px;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--ground);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #038b7d}a{color:var(--accent)}[hidden]{display:none!important}
.topbar{background:var(--nav);color:#fff;border-bottom:3px solid #24a693}.top-inner{max-width:1376px;margin:auto;min-height:74px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;font-size:1.18rem;font-weight:650;letter-spacing:.01em}.brand small{display:block;font-size:.62rem;letter-spacing:.12em;margin-top:4px;color:#a8c5c9}.rail-mark{width:38px;height:38px;display:grid;place-items:center;background:#a7f0d8;border-radius:9px;color:#10372f;font-weight:750}.rail-mark span{display:grid;place-items:center;border-inline:2px solid #227260;width:21px;height:24px;font-size:.91rem}.header-actions,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.mode{font-size:.8rem;color:#c4d4d9;white-space:nowrap;margin-right:7px}
main{max-width:1376px;margin:auto;padding:36px 36px 0}.intro{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:25px}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:.77rem;font-weight:750;letter-spacing:.13em;margin:0 0 11px}.eyebrow span{width:8px;height:8px;border-radius:50%;background:#058c79}.intro h1{margin:0;font-size:clamp(2.5rem,5vw,3.6rem);letter-spacing:-.055em;line-height:1.02;font-weight:740}.intro p:last-child{margin:11px 0 0;color:var(--muted)}.actions{justify-content:end;padding-bottom:2px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:8px 14px;gap:7px;border-radius:7px;border:1px solid #c6d7d9;background:#fff;color:var(--ink);font-size:.9rem;font-weight:650;line-height:1.1;cursor:pointer;text-decoration:none}.button:hover{background:#eef5f4;border-color:#9bbab8}.button:disabled{opacity:.58;cursor:wait}.top-button{background:#1c3a47;color:white;border-color:#52717c}.top-button:hover{background:#2a4a56}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.subtle{border-color:transparent;background:transparent;color:var(--accent)}.danger{color:#9d262d}.compact{min-height:32px;font-size:.83rem;padding:5px 10px}
nav{display:flex;gap:22px;margin-bottom:20px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin}nav:empty{display:none}.tab{border:0;border-bottom:3px solid transparent;display:flex;align-items:center;gap:7px;white-space:nowrap;padding:12px 2px;background:transparent;color:var(--muted);font-weight:650;cursor:pointer}.tab.selected{border-bottom-color:var(--accent);color:var(--accent)}.mini{font-size:.73rem;background:#e7f0f0;border-radius:5px;padding:2px 5px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.stats:empty{display:none}.stat,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.stat{padding:16px 17px;min-height:91px}.stat span{display:block;color:var(--muted);font-size:.86rem}.stat b{display:block;font-size:1.76rem;letter-spacing:-.04em;margin-top:5px}.stat:first-child b{color:var(--accent)}.panel{margin-bottom:13px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid var(--line);background:#fbfdfd}.panel-head h2,.panel-head h3{margin:0;font-size:1rem}.panel-head p{margin:4px 0 0;font-size:.85rem;color:var(--muted)}.panel-body{padding:17px 18px}.empty{padding:46px 28px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);font-size:1.23rem;margin-bottom:6px}.empty .button{margin-top:15px}.pill{display:inline-block;border-radius:5px;padding:4px 8px;font-size:.77rem;font-weight:700;line-height:1.2;color:#385c60;background:#eaf0f1;white-space:nowrap}.pill.good{background:var(--accent-light);color:var(--accent)}.pill.warn{background:var(--warning-bg);color:var(--warning)}.muted{color:var(--muted)}.strong{font-weight:700}.mono{font-family:ui-monospace,Consolas,monospace;font-size:.86rem}.tools-row{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:0 0 12px}.tools-row .filters{display:flex;gap:9px;flex-wrap:wrap}.tools-row input{max-width:285px}
.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.91rem}th{text-align:left;color:#46616d;font-size:.77rem;font-weight:700;background:#f1f6f7;white-space:nowrap;letter-spacing:.015em}td,th{padding:10px 13px;border-bottom:1px solid #e4eded;vertical-align:top}tr:last-child td{border-bottom:none}td:first-child,th:first-child{padding-left:18px}td:last-child,th:last-child{padding-right:18px}td .muted{font-size:.82rem}td p{margin:0 0 5px}td p:last-child{margin:0}.schedule-table{min-width:740px}.schedule-table th:nth-child(1){width:124px}.schedule-table th:nth-child(2){width:132px}.schedule-table th:nth-child(4){width:100px}.schedule-table th:nth-child(5){width:117px}.lower{font-size:.83rem;line-height:1.45;color:var(--muted)}.bar-note{padding:10px 17px;background:#fcf7ea;color:#75500e;border-bottom:1px solid #f3e6bf;font-size:.87rem}
input,select,textarea{border:1px solid #bbcfd2;border-radius:6px;background:white;color:var(--ink);padding:8px 10px;min-height:38px;max-width:100%}input[type=checkbox]{min-height:auto;width:16px;height:16px;accent-color:var(--accent);vertical-align:middle}textarea{width:100%;min-height:74px;resize:vertical}.field{display:grid;gap:6px;margin-bottom:13px}.field>label,.field>span,.field-label{font-size:.87rem;font-weight:700}.field .help{font-weight:400;color:var(--muted);font-size:.84rem}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 11px}.checkline{display:flex;align-items:start;gap:7px;font-size:.9rem}.checkline input{flex:none}.checklist{max-height:155px;overflow:auto;padding:7px 10px;border:1px solid var(--line);border-radius:6px}.checklist label{display:block;padding:2px 0;font-size:.89rem}.checklist input{margin-right:7px}.blank{margin:0}.form-error{color:#9e2529;font-size:.9rem;margin:9px 0}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:18px}.modal-actions .danger{margin-right:auto}
dialog{color:var(--ink);padding:0;border:1px solid #c8d9dc;border-radius:14px;width:min(660px,calc(100vw - 24px));max-height:calc(100dvh - 34px);box-shadow:0 18px 80px #0c252d55}dialog::backdrop{background:#102b36aa}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid var(--line);background:#f5fafa}.modal-head h2{font-size:1.22rem;margin:0}.close{cursor:pointer;font-size:1.65rem;background:transparent;border:0;color:var(--muted)}#modal-content{padding:17px 20px 20px}.source-card{display:grid;grid-template-columns:140px 1fr;gap:4px 13px;margin-bottom:12px;align-items:baseline}.source-card a,.file-name{overflow-wrap:anywhere}#message{padding:10px 15px;border:1px solid #b3dcd0;background:#e2f4ee;color:#075f51;border-radius:7px;margin-bottom:12px}#message.error{border-color:#e7b4b4;background:#ffecef;color:#88272b}
footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.8rem;padding:20px 0 24px}
@media(max-width:740px){main{padding:24px 15px 0}.top-inner{padding:0 15px;min-height:64px}.mode{display:none}.intro{display:block}.actions{justify-content:start;margin-top:16px}.stats{grid-template-columns:repeat(2,1fr)}nav{gap:16px}.tools-row{align-items:start;flex-direction:column}.grid-2,.grid-3{grid-template-columns:1fr}.source-card{grid-template-columns:1fr}.modal-head,#modal-content{padding-inline:14px}.stat{min-height:75px;padding:12px}}
