:root{--ink:#193448;--muted:#627582;--paper:#f4f6f8;--line:#dce4e9;--blue:#265578;--teal:#26756b;--navy:#203d56;--warn:#8a6023;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.5;background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #80b8d9;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;left:12px;top:-60px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.brand{display:flex;gap:12px;align-items:center;color:white;text-decoration:none;font-size:22px;font-weight:650;letter-spacing:-.5px}.brand small{display:block;font-size:12px;letter-spacing:1px;font-weight:400;color:#bacbd7;margin-top:2px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border:1px solid #7495ab;border-radius:11px;font-size:19px;font-weight:700;letter-spacing:0}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--navy);color:#deebf3;padding:29px 18px 20px;display:flex;flex-direction:column}.nav-label{font-size:11px;letter-spacing:1.5px;color:#a9bece;margin:42px 13px 13px}nav{display:flex;flex-direction:column;gap:5px}nav a{color:#d5e2ec;border-radius:8px;padding:11px 13px;text-decoration:none;font-size:14px;display:flex;align-items:center;gap:12px}nav a .nav-icon{font-size:18px;line-height:1;opacity:.8;width:22px;text-align:center}nav a:hover{background:#ffffff12}nav a.active{background:#ffffff19;color:white;box-shadow:inset 3px 0 #a6d8cf}.sidebar-bottom{margin-top:auto;padding:28px 12px 0;font-size:12px;color:#b6cad8}.sidebar-bottom .plain{display:block;color:#d5e2ec;margin-top:13px;font-size:13px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9cd1bc;margin-right:6px}.workspace{margin-left:226px}.topbar{display:flex;gap:20px;align-items:center;padding:18px 35px;border-bottom:1px solid var(--line);background:white;min-height:77px}.topbar-label{font-size:14px;color:var(--muted);margin-right:auto}.topbar select{max-width:250px}.user-pill{font-size:13px;padding:7px 11px;background:#edf2f5;border-radius:20px;color:#455f70}main{padding:32px 35px 24px;max-width:1680px;margin:auto}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:0 0 10px;font-weight:650}h2{font-size:20px;line-height:1.35;margin:0 0 9px;font-weight:650}h3{font-size:16px;margin:0 0 8px}.subtitle{color:var(--muted);margin:0;max-width:760px;font-size:15px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.7px;color:var(--teal);margin:0 0 11px}.btn{border:1px solid var(--line);background:white;color:var(--ink);padding:9px 16px;border-radius:8px;font-weight:550;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:41px;white-space:nowrap}.btn:hover{background:#eef3f5}.btn.primary{background:var(--blue);color:white;border-color:var(--blue)}.btn.primary:hover{background:#194262}.btn.danger{color:#a12e37;border-color:#e5b9bd}.btn.small{font-size:13px;min-height:32px;padding:5px 10px}.plain{border:0;padding:0;background:transparent;color:var(--blue);text-decoration:none;font-size:14px}.plain:hover{text-decoration:underline}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px;margin-bottom:20px}.notice{display:flex;align-items:flex-start;gap:12px;padding:14px 17px;border-radius:9px;background:#f8f2e6;border:1px solid #eadcc0;color:#775c2b;font-size:14px;margin-bottom:20px}.notice.blue{background:#edf4f8;border-color:#d1e3ed;color:#365e77}.notice.green{background:#eaf4f0;border-color:#c7e1d6;color:#246051}.notice strong{font-weight:650}.notice p{margin:0}.notice .plain{margin-left:auto;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:23px}.stat{border:1px solid var(--line);background:white;padding:17px 20px;border-radius:10px}.stat span{display:block;font-size:13px;color:var(--muted)}.stat strong{font-size:27px;font-weight:600;display:block;line-height:1.3;margin:4px 0}.stat small{font-size:12px;color:var(--muted)}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.filters label{flex:1;min-width:150px}.filters .compact{flex:0;min-width:100px}label{display:block;font-size:14px;font-weight:550;color:#415969}input,select,textarea{display:block;width:100%;padding:9px 11px;border:1px solid #cdd9e1;border-radius:7px;color:var(--ink);background:white;margin-top:6px;min-height:41px;font-size:14px}input[type=checkbox]{display:inline-block;width:17px;min-height:17px;margin:0 8px 0 0;accent-color:var(--blue);vertical-align:middle}textarea{min-height:95px;resize:vertical}select[multiple]{min-height:110px}label small,.help{font-size:12px;line-height:1.5;color:var(--muted);font-weight:400;display:block;margin-top:6px}.check{font-weight:450;display:flex;align-items:flex-start;margin:13px 0}.check input{margin-top:3px;flex-shrink:0}.week-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 15px}.week-head h2{margin:0;font-size:19px}.week-head small{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:3px}.calendar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:11px;overflow:hidden;background:white}.calendar.weekend{grid-template-columns:repeat(7,minmax(0,1fr))}.day{border-right:1px solid var(--line);min-height:310px;padding:12px}.day:last-child{border-right:0}.day-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:0 2px 12px;display:flex;gap:10px;align-items:center}.day-title b{font-size:22px;font-weight:550;color:var(--ink)}.event{display:block;width:100%;text-align:left;border:0;border-left:3px solid #609d94;background:#eaf3f1;border-radius:5px;padding:10px 9px;margin:0 0 10px;color:#274f4a;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.event.cn{background:#edf2f7;border-left-color:#8099b4;color:#3d5670}.event.draft{border-left-style:dashed}.event:hover{filter:brightness(.965)}.event .event-time{font-weight:650;font-size:12px;display:block;margin-bottom:5px}.event .event-name{font-weight:600;font-size:13px;display:block;margin-bottom:6px}.event small{display:block;opacity:.88;font-size:11px;line-height:1.5}.empty-day{font-size:12px;color:#97a5b0;margin:14px 2px}.legend{display:flex;gap:22px;font-size:12px;color:var(--muted);margin:13px 0}.legend i{display:inline-block;width:10px;height:10px;background:#609d94;border-radius:2px;margin-right:6px}.legend .cn-key{background:#8099b4}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-weight:650;background:#f5f7f9;white-space:nowrap}th,td{padding:13px 12px;border-bottom:1px solid #e7edf1;vertical-align:top}td small{display:block;color:var(--muted);font-size:12px;margin-top:4px}td strong{font-weight:550}td .btn{white-space:nowrap}tr:last-child td{border-bottom:0}.tag{display:inline-block;padding:3px 8px;border-radius:5px;font-size:11px;background:#edf2f7;color:#4e6983;white-space:nowrap}.tag.green{background:#e6f2ee;color:#397061}.tag.amber{background:#f6eddd;color:#88632b}.tag.red{background:#f9e9e9;color:#9a4242}.empty{text-align:center;padding:40px 20px}.empty h2{margin:12px 0}.empty p{color:var(--muted);font-size:14px;max-width:550px;margin:0 auto 20px}.empty-icon{display:inline-grid;place-items:center;width:55px;height:55px;background:#eaf1f6;border-radius:13px;font-size:24px;color:var(--blue)}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:20px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-actions .danger{margin-right:auto}.tabs{display:flex;gap:8px;margin-bottom:21px;flex-wrap:wrap}.tabs button{padding:8px 15px;border:1px solid transparent;background:transparent;border-radius:8px;font-size:14px;color:var(--muted)}.tabs button.active{background:white;border-color:var(--line);color:var(--ink)}.steps{padding:0;list-style:none;counter-reset:step}.steps li{counter-increment:step;position:relative;padding:0 0 23px 38px;font-size:14px}.steps li:before{content:counter(step);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#e5eef3;color:#456881;text-align:center;font-size:12px;line-height:24px;font-weight:650}.steps p{margin:4px 0 0;color:var(--muted);font-size:13px}.dropzone{padding:24px;border:1.5px dashed #afc5d4;border-radius:10px;background:#f8fafc}.dropzone input{background:white;max-width:100%;font-size:14px}.error{color:#923a3a;background:#fff1f0;border:1px solid #ecccc9;border-radius:7px;padding:12px 14px;font-size:14px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.error:empty{display:none}.loading{color:var(--muted);padding:25px}.list{list-style:none;padding:0;margin:0}.list li{padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.list li:last-child{border:0}.muted{color:var(--muted)}.break-word{overflow-wrap:anywhere}.auth-shell{display:grid;place-items:center;min-height:100dvh;padding:24px;background:linear-gradient(135deg,#e9f0f5,#f5f7f8)}.auth-card{width:100%;max-width:440px;border:1px solid var(--line);border-radius:17px;background:white;padding:38px;box-shadow:0 10px 45px #203d5609}.auth-card .brand-mark{background:var(--navy);color:white;margin-bottom:23px}.auth-card>p{font-size:14px;color:var(--muted)}.auth-card h1{font-size:32px}.auth-card label{margin:17px 0}.auth-card .btn{width:100%;margin-top:12px}dialog{border:1px solid var(--line);border-radius:15px;padding:0;width:min(760px,calc(100vw - 32px));max-height:90dvh;color:var(--ink);box-shadow:0 20px 100px #142c3b35}dialog::backdrop{background:#162b406b;backdrop-filter:blur(2px)}#dialog-content{padding:27px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}.dialog-head h2{font-size:24px}.close{font-size:24px;line-height:1;border:0;background:transparent;color:var(--muted);padding:4px}#toast{position:fixed;bottom:26px;right:25px;max-width:420px;z-index:50;background:#214d43;color:white;border-radius:10px;padding:14px 20px;box-shadow:0 8px 30px #19344825;font-size:14px;display:none}#toast.visible{display:block}.suggestion{padding:18px;border:1px solid var(--line);border-radius:9px;margin:15px 0}.suggestion .actions{justify-content:space-between}.suggestion ul{padding-left:19px;font-size:13px}.help-box{font-size:14px;color:var(--muted);line-height:1.7}footer{padding:25px 35px;color:#8b9aa4;font-size:11px}.count-note{font-size:12px;color:var(--muted)}.compact-input{max-width:220px}.inline-warning{font-size:12px;color:var(--warn);margin-top:5px}.review-table td{font-size:12px}.review-table select{min-width:160px}.review-table .warning-list{min-width:180px;max-width:240px}.week-scroll{overflow:auto}details{font-size:14px}summary{cursor:pointer;color:var(--blue);padding:8px 0}.danger-zone{border-color:#e5c6c8}.radio-row{display:flex;gap:20px;align-items:center;margin:14px 0}.radio-row input{width:16px;display:inline;min-height:16px;margin-right:7px}
.form-fieldset{border:0;padding:0;margin:0;min-width:0}.checkset{border:1px solid var(--line);border-radius:7px;padding:5px 13px 10px;min-width:0}.checkset legend{font-size:14px;font-weight:550;padding:0 5px}.checkset-options{max-height:180px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.checkset-options .check{font-size:13px;margin:7px 0}.form-fieldset:disabled{opacity:.8}
@media(min-width:1500px){.day{padding:15px}.event{padding:12px}.event .event-name{font-size:14px}.event small{font-size:12px}}
@media(max-width:1050px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.workspace{margin-left:190px}main{padding:25px}.topbar{padding:16px 25px}.topbar-label{display:none}.topbar select{margin-right:auto}.day{padding:8px}.stats{gap:10px}.stat{padding:13px}.calendar.weekend{min-width:980px}.split{grid-template-columns:1fr}.event small{font-size:11px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:14px 16px}.brand{font-size:20px}.brand-mark{width:37px;height:37px;font-size:17px}.brand small{font-size:10px}.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:13px;gap:4px}nav a{padding:8px 11px;white-space:nowrap;font-size:13px}nav a .nav-icon{display:none}nav a.active{box-shadow:inset 0 -2px #a6d8cf}.workspace{margin:0}.topbar{padding:12px 17px;gap:10px;min-height:auto}.topbar select{max-width:65%;font-size:13px}.user-pill{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main{padding:23px 17px}h1{font-size:26px}.page-head{align-items:flex-start;gap:12px;margin-bottom:21px}.page-head .btn{padding:8px 11px}.subtitle{font-size:13px}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:24px}.filters label{min-width:130px}.calendar{min-width:760px}.week-scroll{margin-right:-17px;padding-right:17px}.week-head{align-items:flex-start}.week-head h2{font-size:16px}.week-head .btn{min-height:34px;padding:4px 9px}.panel{padding:17px}.form-grid,.two-cols{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.notice{font-size:12px;padding:12px}.notice .plain{white-space:normal;font-size:12px}.legend{font-size:11px;gap:12px}#dialog-content{padding:20px}.auth-card{padding:28px}.auth-card>p{font-size:14px}footer{padding:20px 17px}.form-actions{flex-wrap:wrap}#toast{left:17px;right:17px;max-width:none}.review-table{min-width:760px}}
@media print{.sidebar,.topbar,footer,.actions,.filters,.btn,.notice,nav{display:none!important}.workspace{margin:0}main{padding:0}.calendar{min-width:0}.day{break-inside:avoid}.event{break-inside:avoid}.panel{border:0}body{background:white}}
