:root{--green:#104d43;--deep:#103d36;--mint:#e9f5ef;--teal:#147d67;--ink:#172e2a;--muted:#71817c;--line:#e2e9e5;--bg:#f5f7f5;--gold:#d6a750;--shadow:0 6px 30px #163f3610}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c9a65b;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--line);z-index:20;padding:29px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;padding:0 13px 28px}.brand img{width:49px;height:49px;object-fit:contain}.brand>span{font-weight:750;font-size:26px;line-height:1;letter-spacing:1px}.brand-sub{display:block;font-size:9px;letter-spacing:2px;margin-top:7px;color:var(--muted)}.nav-caption{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#8a9993;margin:14px 17px}.nav-item{width:100%;border:0;background:transparent;padding:13px 15px;border-radius:9px;display:flex;align-items:center;gap:12px;text-align:left;color:#63756e;font-size:12px;font-weight:600;margin:4px 0}.nav-item:hover{background:#f3f7f4}.nav-item.active{background:var(--mint);color:var(--green)}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sidebar-bottom{margin-top:auto}.workspace-status{padding:16px;font-size:11px;color:var(--green);background:#f6f9f6;border-radius:10px;margin-bottom:21px}.workspace-status>span:last-child{display:block;font-size:10px;color:var(--muted);margin:5px 0 0 14px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#279778;margin-right:7px}.account{display:flex;gap:10px;align-items:center;padding:10px 5px 0;border-top:1px solid var(--line)}.avatar{width:34px;height:34px;background:var(--green);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}.account strong{display:block;max-width:116px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.account span{font-size:10px;color:var(--muted)}.account form{margin-left:auto}.signout{border:0;background:none;color:var(--muted);font-size:21px}.app-shell{margin-left:236px}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px}.breadcrumb{font-size:12px;color:#819089}.breadcrumb span{margin:0 12px;color:#bec8c2}.breadcrumb strong{font-weight:500;color:#375047}.topbar-right{display:flex;align-items:center;gap:20px}.demo-badge{font-size:9px;letter-spacing:.8px;font-weight:700;color:#8b6b25;background:#faf4e7;border:1px solid #eee2c6;padding:5px 9px;border-radius:5px}.topbar-date{color:#6f8178;font-size:11px}main{max-width:1600px;margin:auto;padding:32px 35px 45px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:750;color:var(--teal);margin-bottom:8px}h1{font-size:29px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin:0 0 9px}h2{font-size:17px;letter-spacing:-.35px;margin:0}p{margin:0 0 12px}.subtitle{font-size:12px;color:var(--muted);margin:0}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary,.secondary,.text-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border-radius:7px;padding:10px 15px;font-size:11px;font-weight:650;white-space:nowrap}.primary{background:var(--green);color:#fff;border:1px solid var(--green);box-shadow:0 2px 3px #103d3612}.primary:hover{background:#0c3e35}.secondary{background:#fff;border:1px solid #dbe5de;color:#3c584c}.secondary:hover{background:#eff6f1}.text-button{background:transparent;border:0;color:var(--teal);padding:5px 0}.danger-button{color:#a6423a;background:#fff;border:1px solid #ead4d0}.hero{padding:27px 30px;background:var(--green);color:#fff;border-radius:13px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;margin-bottom:23px;min-height:150px}.hero:after{content:"";position:absolute;width:230px;height:230px;right:-35px;top:-75px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff04;pointer-events:none}.hero .eyebrow{color:#9fceba}.hero h2{font-size:25px;margin:0 0 8px;font-weight:550}.hero p{font-size:12px;color:#bfd8cd;margin:0}.hero .secondary{background:#ffffff12;border-color:#ffffff40;color:#fff;z-index:1}.hero-chip{display:inline-flex;font-size:10px;gap:7px;color:#d5e9df;margin-top:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 20px;position:relative}.stat-label{font-size:11px;color:#71847a}.stat-value{font-size:30px;font-weight:600;letter-spacing:-1px;margin:8px 0 3px}.stat-foot{font-size:10px;color:#8a9b92}.stat-icon{position:absolute;right:18px;top:18px;color:#628374;background:#eff6f1;border-radius:7px;padding:7px;line-height:1}.stat-icon svg{width:16px;height:16px}.columns{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:20px;margin-bottom:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 21px;border-bottom:1px solid #eef2ee;gap:12px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.panel-body{padding:20px 21px}.tag{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:9px;font-weight:650;border-radius:5px;background:#eef5f0;color:var(--teal);white-space:nowrap}.tag.gold{color:#8d6b29;background:#faf3e1}.tag.gray{background:#f0f3f1;color:#77887e}.tag.red{background:#fbeeea;color:#b14f3e}.tag.outline{background:none;border:1px solid var(--line);color:#6e8276}.date-control{display:flex;align-items:center;gap:10px}.month-input{border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:#315143;background:#fff;max-width:185px}.week-bars{display:flex;gap:12px;align-items:flex-end;height:145px;padding:10px 3px 0}.bar-column{flex:1;text-align:center;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.bar-column strong{font-size:10px;font-weight:600;color:#466455;margin-bottom:6px}.bar{background:#cbe0d3;width:70%;max-width:40px;border-radius:4px 4px 0 0;min-height:3px}.bar-column:nth-child(-n+5) .bar{background:#287c62}.bar-column span{font-size:9px;color:#8a998f;margin-top:9px}.insight{padding:14px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2ee;font-size:11px}.insight:first-child{padding-top:0}.insight:last-child{border-bottom:0;padding-bottom:0}.insight span{color:var(--muted)}.insight strong{font-weight:600}.panel-note{font-size:10px;color:#8b968e;padding:13px 20px;border-top:1px solid #eef2ee}.activity{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f0f3f0}.activity:last-child{border:0}.activity-dot{width:7px;height:7px;border-radius:50%;margin-top:6px;flex:none;background:#80b59a}.activity strong{font-size:11px;font-weight:550;display:block}.activity span{font-size:9px;color:#98a399}.empty{padding:35px;text-align:center;color:#7c8e82;font-size:12px}.empty h3{color:#365444;margin:0 0 7px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.search{border:1px solid var(--line);background:#fff;border-radius:7px;padding:10px 13px;width:250px;font-size:11px}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.schedule-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px}.schedule-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.callsign-code{font-size:19px;font-weight:650;letter-spacing:-.4px}.callsign-location{font-size:10px;color:var(--muted)}.schedule-row{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;border-top:1px solid #edf2ed;gap:10px}.schedule-row strong{font-size:13px;font-weight:550}.schedule-row>span{color:var(--muted)}.weekdays{display:flex;gap:5px;margin:12px 0}.weekday{width:25px;height:25px;display:grid;place-items:center;background:#f3f5f3;border-radius:5px;color:#abb7ae;font-size:9px}.weekday.on{background:var(--mint);color:var(--green);font-weight:650}.card-foot{display:flex;align-items:center;justify-content:space-between;padding-top:10px;font-size:9px;color:#86988a}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{padding:13px 18px;font-size:9px;font-weight:650;letter-spacing:.6px;color:#8b9a8f;background:#fafcf9;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 18px;border-bottom:1px solid #eef2ed}tbody tr:last-child td{border:0}td strong{font-weight:600}.table-muted{display:block;font-size:9px;color:var(--muted);margin-top:3px}.rota-toolbar{padding:15px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.week-control{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:600}.icon-button{border:1px solid var(--line);background:#fff;color:#52705d;width:31px;height:31px;display:grid;place-items:center;border-radius:6px;font-size:20px;line-height:1}.timeline{table-layout:fixed;min-width:760px}.timeline th{padding:13px 8px;text-align:center;font-size:9px}.timeline th:first-child{width:123px;text-align:left;padding-left:18px}.timeline th strong{display:block;font-size:17px;color:#3c5c48;font-weight:550;margin-top:3px}.timeline td{height:91px;border-right:1px solid #f0f3ef;padding:8px;vertical-align:top;text-align:center}.timeline td:first-child{text-align:left;padding:19px 12px 12px 18px}.shift-cell{background:#eaf4ed;border:1px solid #d9eadd;border-left:3px solid #398762;border-radius:5px;padding:8px 4px 7px;font-size:10px;color:#2e6148;min-height:62px}.shift-cell b{display:block;font-size:9px;font-weight:650;white-space:nowrap}.shift-cell small{font-size:8px;display:block;color:#7a9783;margin-top:7px}.shift-cell.relief{background:#fbf4e5;border-color:#efdfb9;border-left-color:#d5ab50;color:#866d36}.shift-cell.override{background:#edf3f9;border-color:#dbe5f0;border-left-color:#809ab7;color:#526e8e}.shift-cell.cancelled{background:#f6f3f2;border-color:#e8dfdc;border-left-color:#b6a39c;color:#9b8277;text-decoration:line-through}.no-shift{color:#ccd5cc;font-size:12px;line-height:50px}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:9px;color:#899a8d;padding:15px 20px}.legend i{display:inline-block;width:7px;height:7px;background:#398762;border-radius:2px;margin-right:5px}.legend i.gold{background:#d5ab50}.legend i.blue{background:#809ab7}.notice{padding:12px 15px;border:1px solid #e9dfc3;background:#fffbf0;color:#8b733b;font-size:11px;border-radius:7px;margin-bottom:20px}.notice.green{background:#eff7f0;border-color:#d8e9dc;color:#4a7758}.notice a{font-weight:650}.app-footer{display:flex;justify-content:space-between;max-width:1600px;margin:auto;padding:0 35px 22px;color:#9aa69c;font-size:9px}.mobile-menu{display:none}.loading-state{padding:110px;text-align:center;color:var(--muted)}.spinner{display:inline-block;width:25px;height:25px;border:2px solid #d4e4d9;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:10px}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid #dfe7df;box-shadow:0 25px 90px #0b302d35;border-radius:15px;padding:0;width:min(600px,calc(100vw - 30px));max-height:88vh;color:var(--ink)}dialog::backdrop{background:#122d2859;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 20px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:22px}.dialog-head .eyebrow{margin-bottom:5px}#modal-content{padding:22px 26px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field.full{grid-column:1/-1}label{display:block;font-size:11px;font-weight:600;color:#466252;margin-bottom:6px}input:not([type=checkbox]),select{width:100%;border:1px solid #dbe4db;border-radius:7px;background:#fff;color:#294b38;padding:10px 11px;font-size:12px;min-height:40px}input[type=checkbox]{accent-color:var(--green)}.hint{font-size:10px;color:#8b9a8e;margin-top:5px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;border-top:1px solid #edf1ec;padding-top:18px}.day-checks{display:flex;flex-wrap:wrap;gap:10px}.day-checks label{display:flex;gap:5px;align-items:center;font-size:11px}.form-error{background:#fcf0ed;color:#ab4d3b;border:1px solid #edcfc5;border-radius:7px;padding:10px 12px;font-size:11px;margin:15px 0}.form-error:empty{display:none}.preview-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}.preview-counts div{border:1px solid var(--line);padding:12px;background:#f9fbf8;border-radius:7px;font-size:10px;color:var(--muted)}.preview-counts strong{display:block;color:var(--green);font-size:24px}.preview-list{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:7px}.preview-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf2ec;gap:12px;font-size:11px}.preview-item small{display:block;color:var(--muted);font-size:10px}#toast{position:fixed;right:28px;bottom:25px;max-width:440px;background:var(--deep);color:#fff;font-size:12px;padding:14px 20px;border-radius:9px;box-shadow:var(--shadow);z-index:100;transform:translateY(120px);transition:transform .2s}#toast.visible{transform:translateY(0)}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-card{padding:65px 60px;width:100%;max-width:470px;align-self:center;justify-self:center}.login-card .eyebrow{margin-top:25px;font-size:9px}.login-card h1{font-size:36px;margin-top:14px}.login-card>p{color:var(--muted);font-size:12px;margin-bottom:25px}.login-card form label{margin-top:18px}.login-card form button{width:100%;margin-top:25px;justify-content:space-between;font-size:12px}.login-card>small{display:block;text-align:center;font-size:10px;color:#94a095;margin-top:24px}.login-aside{background:var(--green);color:#fff;padding:110px 70px;display:flex;flex-direction:column;justify-content:center}.login-aside .eyebrow{color:#a8cdb9}.login-aside h2{font-size:46px;line-height:1.18;font-weight:500;letter-spacing:-2px;margin:18px 0 22px}.login-aside p{color:#b8d4c5;line-height:1.9;font-size:14px}.login-line{height:3px;width:50px;background:var(--gold);margin-top:30px}@media(min-width:1700px){main{padding-top:45px}.hero{min-height:175px}}@media(max-width:1150px){.sidebar{width:207px;padding-inline:10px}.app-shell{margin-left:207px}.topbar,main{padding-left:24px;padding-right:24px}.columns{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.topbar-date{display:none}.stats{gap:10px}.stat{padding:16px}.stat-icon{display:none}.schedule-grid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px}.sidebar.open{transform:translateX(0);box-shadow:15px 0 50px #103d361f}.app-shell{margin-left:0}.topbar{height:64px;padding:0 17px;gap:12px}.topbar-right{margin-left:auto}.mobile-menu{display:grid}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 5px}.demo-badge{font-size:7px;padding:5px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading>.actions{width:100%}main{padding:23px 17px}.stats{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.hero{padding:22px;gap:20px}.hero h2{font-size:21px}.hero>.secondary{display:none}.toolbar{align-items:flex-start;flex-direction:column}.search{width:100%}.schedule-grid{grid-template-columns:1fr}.app-footer{padding:0 17px 20px;gap:20px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.login-page{grid-template-columns:1fr}.login-aside{display:none}.login-card{padding:40px 25px}.rota-toolbar{align-items:flex-start;flex-direction:column}.week-control{width:100%;justify-content:space-between}.preview-counts{grid-template-columns:repeat(2,1fr)}h1{font-size:27px}#modal-content{padding:20px}.dialog-head{padding:20px}.topbar-date{display:none}}.page-heading{flex-wrap:wrap}.page-heading>div:first-child{flex:1 1 350px;min-width:0}.page-heading>.actions{max-width:100%;flex-shrink:0}.rota-toolbar>.actions{flex:0 1 370px;justify-content:flex-end}.actions .search{width:220px;min-width:0;flex:1 1 180px}.shift-cell b{font-size:10px}@media(max-width:800px){.page-heading>div:first-child{flex-basis:auto}.rota-toolbar>.actions{flex-basis:auto;width:100%;justify-content:flex-start}}
