:root{--bg:#f6f7f3;--white:#fff;--ink:#203c37;--muted:#697871;--line:#dfe5df;--green:#234e43;--mint:#e5eee5;--accent:#d5e8a8;--red:#a54239;--amber:#946424;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button,.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:9px;padding:10px 15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}button:hover,.btn:hover{background:#f0f4ee}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#153b31}.subtle{background:transparent;border-color:transparent}.danger{color:var(--red)}.small{padding:6px 10px;font-size:12px}.icon{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}input,select,textarea{border:1px solid #cfd9cf;background:white;border-radius:8px;padding:10px 12px;color:var(--ink);min-width:0;width:100%}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}:focus-visible{outline:3px solid #91b69d;outline-offset:2px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:#4b6158}.check{flex-direction:row;align-items:center;font-size:13px;font-weight:500;padding:8px 0}h1,h2,h3,p{margin-top:0}h1{font-weight:560;letter-spacing:-1.3px;font-size:34px;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.4px;font-weight:600}h3{font-size:15px;font-weight:650}p{line-height:1.65}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{background:#f0f3ec;border-right:1px solid var(--line);padding:29px 19px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:25px;font-weight:700;letter-spacing:-1px;display:flex;align-items:center;gap:10px;margin-bottom:8px}.brandmark{width:32px;height:32px;background:var(--green);border-radius:9px;display:grid;place-items:center;color:var(--accent);font-size:23px}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:1.5px;text-transform:uppercase;margin:0 0 36px 42px}.nav-label{text-transform:uppercase;letter-spacing:1.6px;font-size:10px;color:#7a8b7f;margin:20px 12px 10px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{background:transparent;border:0;text-align:left;justify-content:flex-start;padding:12px 14px;font-weight:500;color:#697b70}.nav button.active{background:var(--green);color:white}.nav button:hover:not(.active){background:#e4ebdf}.sidebar-bottom{margin-top:auto;padding-top:26px}.profile{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:10px}.avatar{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:11px;background:var(--mint);color:var(--green);font-weight:700;font-size:11px;flex:none}.profile small{font-size:11px}.content{min-width:0}.topbar{min-height:75px;padding:16px 38px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);background:#fff9}.topbar .path{color:var(--muted);font-size:12px}.topbar .path b{color:var(--ink);font-weight:500}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.saved{font-size:12px;color:#73826d;display:flex;gap:6px;align-items:center}.dot{width:6px;height:6px;background:#7a9d64;border-radius:50%;display:inline-block}.main{padding:34px 38px 50px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#70816c;margin-bottom:12px;font-weight:650}.subtitle{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:0;max-width:720px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.stat{background:white;border:1px solid var(--line);padding:21px 23px;border-radius:var(--radius)}.stat .label{font-size:12px;color:var(--muted);margin-bottom:15px;display:flex;justify-content:space-between}.stat .number{font-size:32px;font-weight:550;letter-spacing:-1px}.stat .foot{font-size:11px;color:var(--muted);margin-top:9px}.grid-two{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:20px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.panel-head h2{margin:0;font-size:17px}.hero{background:var(--green);color:white;padding:30px;border-radius:16px;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:22px;align-items:center}.hero h2{font-size:25px;font-weight:500;margin-bottom:12px;max-width:460px}.hero p{color:#cddad0;font-size:13px;max-width:480px;margin:0}.hero .primary{background:var(--accent);color:#274435;border:0;margin-top:22px}.hero-art{display:grid;grid-template-columns:repeat(3,29px);gap:7px;transform:rotate(-9deg);padding:25px;margin-right:10px}.hero-art span{height:34px;border:1px solid #729275;border-radius:6px}.hero-art span:nth-child(3n){background:#d5e8a8}.hero-art span:nth-child(4n){background:#557760}.notice{padding:14px 17px;border-radius:10px;background:#f4f0e4;color:#7b6333;font-size:12px;line-height:1.6;border:1px solid #e7dfc6;margin:14px 0}.notice.error{background:#fcf0ec;color:#93473c;border-color:#ead4cc}.notice.success{background:#edf5e8;color:#486743;border-color:#d7e6d0}.notice p{margin:3px 0}.progress{height:5px;background:#e3e9de;border-radius:5px;overflow:hidden;margin:15px 0}.progress.indeterminate:after{content:'';display:block;height:100%;width:35%;background:#8fad72;animation:slide 1.6s ease-in-out infinite}@keyframes slide{from{transform:translateX(-100%)}to{transform:translateX(380%)}}.tag{display:inline-block;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:650;background:#edf2eb;color:#527349;white-space:nowrap}.tag.red{background:#f8e9e5;color:#a15346}.tag.amber{background:#f8efd9;color:#96703a}.tag.blue{background:#e9f0f5;color:#527794}.tag.gray{background:#f0f1ed;color:#7b8378}.step{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid #edf0eb}.step:last-child{border:0}.step-num{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eff3e9;color:#5f7956;font-size:11px;flex:none}.step strong{font-size:13px;display:block;margin:2px 0 5px}.step p{font-size:12px;color:var(--muted);margin:0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:20px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{color:#7b897e;background:#f8faf6;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;padding:13px 15px;border-bottom:1px solid var(--line)}td{padding:13px 15px;border-bottom:1px solid #edf0eb}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf8}.person{display:flex;align-items:center;gap:10px}.person b{font-size:12px}.person small{display:block;margin-top:3px}.num{font-variant-numeric:tabular-nums}.toolbar{display:flex;justify-content:space-between;gap:12px;margin:0 0 19px;align-items:center;flex-wrap:wrap}.toolbar input{max-width:250px}.toolbar select{width:auto;min-width:140px}.counter{font-size:11px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span2{grid-column:1/-1}.form-section{padding:20px 0;border-bottom:1px solid var(--line)}.form-section:first-child{padding-top:0}.form-section h3{font-size:13px;margin-bottom:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;position:sticky;bottom:0;background:white;padding:14px 0 0}dialog{width:min(700px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:17px;padding:28px;color:var(--ink);box-shadow:0 20px 100px #102d3433}dialog::backdrop{background:#18352f77;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.dialog-head h2{margin:0}.rule{display:flex;gap:18px;border-bottom:1px solid var(--line);padding:17px 0;align-items:flex-start}.rule:last-child{border:0}.rule p{font-size:12px;color:var(--muted);margin:5px 0 0}.rule h3{font-size:13px;margin:0}.empty{padding:48px 30px;text-align:center;color:var(--muted);border:1px dashed #ccd8c7;border-radius:12px;background:#ffffff90}.empty .icon{width:36px;height:36px;color:#73906d;margin-bottom:15px}.empty h2{color:var(--ink)}.empty p{font-size:13px;max-width:520px;margin:0 auto 20px}.schedule th,.schedule td{padding:10px 11px}.schedule th:first-child,.schedule td:first-child{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid var(--line)}.schedule th:first-child{background:#f8faf6}.schedule tr.weekend td{background:#f1f4ee}.schedule tr.holiday td:first-child{color:#956d36}.schedule .assignment{border-radius:5px;padding:4px 8px;font-size:11px;display:inline-block;min-width:39px;text-align:center;background:#edf3e9;color:#4c6c46}.schedule .guard{background:#e4edf5;color:#3a657e}.schedule .samu{background:#f5ecd9;color:#8f6a2f}.schedule .oncall{background:#eee8f4;color:#79608f}.schedule .vacant{color:#b35a46;background:#fbebe5;border:1px dashed #e0b7a9}.schedule .closed{color:#c3cbc2}.week-view{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;overflow:auto}.day-card{border:1px solid var(--line);border-radius:10px;padding:13px;background:white}.day-card h3{font-size:12px;margin:0 0 15px}.day-card p{font-size:11px;padding:7px 0;border-top:1px solid #edf0eb;margin:0}.day-card strong{float:right}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#173e34;color:white;padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.auth-story .brand{margin-bottom:80px}.auth-story h1{font-size:48px;max-width:430px;line-height:1.18;letter-spacing:-2px}.auth-story p{color:#becfc0;max-width:400px;font-size:15px}.auth-lines{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;max-width:330px;margin-top:45px}.auth-lines span{height:64px;background:#34604c;border-radius:9px}.auth-lines span:nth-child(3n){background:#d3e6ab}.auth-form{display:flex;flex-direction:column;justify-content:center;padding:65px max(35px,14%)}.auth-form h2{font-size:27px}.auth-form label{margin-bottom:18px}.auth-form button{width:100%;margin-top:8px}.auth-form .subtitle{margin-bottom:30px}.auth-form .foot{font-size:11px;color:#80907e;margin-top:27px}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;right:25px;bottom:25px;z-index:10;background:#193f33;color:#fff;padding:13px 19px;border-radius:10px;font-size:13px;box-shadow:0 8px 25px #1233;max-width:500px;display:none}#toast.show{display:block}#toast.error{background:#8b4137}.account-role{font-size:11px;color:var(--muted)}.section-sep{border:0;border-top:1px solid var(--line);margin:26px 0}.print-title{display:none}.help-list{padding-left:18px;color:var(--muted);font-size:12px;line-height:1.9}.month-chips{display:flex;gap:8px;margin-bottom:15px}.month-chip{font-size:12px;padding:7px 12px;border-radius:20px;border:1px solid var(--line)}.month-chip.active{background:var(--mint);border-color:#b4cbae}.field-hint{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}.responsive-number{color:#3e594b;font-size:20px;letter-spacing:-.3px}.version{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.version:last-child{border:0}.version p{margin:4px 0 0;font-size:11px;color:var(--muted)}.result-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:white}.long{white-space:normal;min-width:150px;max-width:320px}.delta-good{color:#45713e}.delta-bad{color:#b24d3d}.number-label{font-size:10px;color:var(--muted);font-weight:400}.table-wrap caption{text-align:left;padding:15px;color:var(--muted)}.hide{display:none!important}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding:27px 24px}.topbar{padding:16px 24px}.grid-two{grid-template-columns:1fr}.hero-art{display:none}.stats{grid-template-columns:repeat(2,1fr)}.sidebar{padding:25px 12px}.brand{font-size:23px}}
@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px;border-bottom:1px solid var(--line);border-right:0}.brand{margin:0}.brand-sub,.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto;margin-top:15px}.nav button{padding:10px;font-size:12px}.nav .icon{display:none}.topbar{padding:12px 18px;min-height:65px}.topbar .path{display:none}.main{padding:24px 17px}.page-head{flex-direction:column}h1{font-size:29px}.panel{padding:19px}.stat{padding:16px}.stat .number{font-size:27px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.auth{grid-template-columns:1fr}.auth-story{padding:32px}.auth-story .brand{margin-bottom:22px}.auth-story h1{font-size:30px}.auth-lines,.auth-story p{display:none}.auth-form{padding:36px 25px}.week-view{grid-template-columns:repeat(7,150px)}}
@media print{@page{size:A4 landscape;margin:10mm}:root{font-size:10px;background:#fff}body{background:white}.sidebar,.topbar,.toolbar,.page-head .actions,.month-chips,button,.no-print,#toast{display:none!important}.shell{display:block}.main{padding:0;max-width:none}.page-head{margin-bottom:12px}h1{font-size:22px}.table-wrap{overflow:visible;border:0}.schedule{font-size:9px}.schedule th,.schedule td{padding:5px 4px}.schedule .assignment{font-size:9px;padding:2px;min-width:0}.schedule th:first-child,.schedule td:first-child{position:static}.panel{break-inside:avoid}.print-title{display:block}.result-banner{font-size:10px}.stats{margin:10px 0}.stat{padding:10px}th{position:static}.schedule tr{break-inside:avoid}.table-wrap thead{display:table-header-group}}

/* GARoPlan identity */
.brand .brandmark{width:36px;height:36px;flex:0 0 36px;background:transparent;border-radius:10px;display:block}.brand{letter-spacing:-.7px}

.calendar-equity table small{display:block;margin-top:4px;line-height:1.5;font-size:11px;white-space:normal}.calendar-equity th,.calendar-equity td{min-width:145px;white-space:normal}.calendar-equity th:first-child,.calendar-equity td:first-child{min-width:75px}.calendar-equity td b{font-size:15px}

.personal-shell td small{display:block;margin-top:5px;white-space:normal;max-width:380px}.personal-mobile-signout{display:none}@media(max-width:700px){.personal-mobile-signout{display:inline;font-size:12px}.personal-shell .toolbar{align-items:stretch;flex-wrap:wrap}}

.personal-equity th,.personal-equity td{min-width:125px;white-space:normal}.personal-equity small{display:block;margin-top:4px;line-height:1.5;font-size:11px}.personal-equity .my-equity td{background:#edf4e9}.personal-equity th:first-child,.personal-equity td:first-child{min-width:75px}

/* Shared team and individual planning palette. */
.schedule .assignment-cell{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:32px;padding:2px;border:1px solid transparent;background:transparent;border-radius:7px;box-shadow:none;cursor:pointer}
.schedule .assignment-cell:hover{background:#eef1e9;border-color:#bccab6}.schedule .assignment-cell:focus-visible{outline:2px solid #24543e;outline-offset:2px}
@media print{.schedule button.assignment-cell{display:inline-flex!important;border:0;min-height:0;min-width:0;padding:0;background:none}}
.schedule .assignment.post-nk,.month-calendar .assignment.post-nk{background:#dcebe2;color:#24543e}
.schedule .assignment.post-red,.month-calendar .assignment.post-red{background:#f4dfdd;color:#923f39}
.planning-view-switch{display:inline-flex;gap:4px;padding:4px;margin:4px 0 16px;background:#eaece6;border-radius:10px}
.planning-view-switch button{border:0;background:transparent;box-shadow:none}
.planning-view-switch button[aria-pressed="true"]{background:#fff;color:#24543e;box-shadow:0 1px 4px #253e3020}
.month-calendar{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:18px}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px}
.calendar-heading h2{margin:0;font-size:21px}.calendar-heading p{margin:5px 0 0;color:var(--muted);text-transform:capitalize}
.calendar-key{font-size:11px;color:var(--muted);text-align:right}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.month-weekday{padding:12px 6px;text-align:center;background:#f2f4ee;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;font-weight:700;color:#62705d}
.month-weekday abbr{display:none;text-decoration:none}
.month-day{min-height:112px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px;min-width:0;break-inside:avoid}
.month-day:nth-child(7n){border-right:0}.month-day:nth-last-child(-n+7){border-bottom:0}
.month-day.is-weekend{background:#f6f7f3}.month-day.is-holiday{background:#fbf3e5}
.month-date{display:flex;gap:5px;align-items:baseline;justify-content:space-between;min-height:20px}
.month-date time{font-size:13px;font-weight:600;flex-shrink:0}.holiday-name{font-size:9px;color:#9a6829;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.month-posts{display:flex;flex-direction:column;gap:5px;margin-top:10px}
.month-calendar .assignment{display:block;border-radius:5px;padding:6px 5px;text-align:center;font-size:11px;font-weight:600;background:#edf3e9;color:#4c6c46;overflow-wrap:anywhere}
.month-calendar .guard{background:#e4edf5;color:#3a657e}.month-calendar .samu{background:#f5ecd9;color:#8f6a2f}.month-calendar .oncall{background:#eee8f4;color:#79608f}
.month-calendar .assignment.post-nk{background:#dcebe2;color:#24543e}.month-calendar .assignment.post-red{background:#f4dfdd;color:#923f39}
.calendar-empty{font-size:11px;color:#8a8e85}.month-padding,.month-day.outside-period{background:#f8f9f6;color:#a8ada2}
.calendar-foot{padding:12px 20px;margin:0;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.calendar-heading{padding:16px;align-items:flex-start}.calendar-heading h2{font-size:18px}.calendar-key{display:none}.month-weekday span{display:none}.month-weekday abbr{display:inline}.month-day{min-height:86px;padding:6px 3px}.month-date{display:block}.holiday-name{display:block;font-size:8px}.month-date time{font-size:12px}.month-calendar .assignment{font-size:9px;padding:5px 2px}.month-posts{gap:4px;margin-top:8px}.calendar-empty{font-size:9px}.calendar-foot{padding:12px}.planning-view-switch{display:flex}.planning-view-switch button{flex:1;padding:10px 8px;font-size:12px}}
@media print{.month-calendar{break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.calendar-heading{padding:10px 14px}.calendar-heading h2{font-size:17px}.calendar-heading p{font-size:12px}.month-weekday{padding:7px}.month-day{min-height:65px;padding:6px}.month-posts{margin-top:5px;gap:3px}.month-calendar .assignment{font-size:10px;padding:4px}.calendar-foot{padding:8px 12px}.schedule .assignment{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.personal-login-form{display:grid;gap:16px;width:100%}.personal-login-form label{display:grid;gap:7px;margin:0;font-size:14px;font-weight:600}.personal-login-form input{width:100%;box-sizing:border-box;font-size:16px;padding:13px;border:1px solid #ccd8c7;border-radius:10px;background:#fff;color:#193f33}.personal-login-form .full{width:100%;justify-content:center}.personal-login-form [hidden]{display:none}.personal-login-form p{margin:0}.personal-login-form .error{font-weight:400}
