:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20232a;background:#f6f4f4;font-synthesis:none;--accent: #995069;--border: #e4dfe0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid #d8d0d2;border-radius:8px;padding:8px 12px;background:#fff;color:#665c60;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}button:hover,.button:hover{background:#faf4f6;border-color:#bb929f}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a56a7e;outline-offset:2px}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#873f58;color:#fff}.danger{color:#a42134;border-color:#efc4cb}.shell{height:100vh;height:100dvh;display:grid;grid-template-rows:64px minmax(0,1fr) 68px;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e8e2e4;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.topbar strong{font-size:20px}.property{margin-left:18px;color:#777;font-size:13px}.user{font-weight:600}.content{min-width:0;min-height:0;width:100%;max-width:1700px;margin:0 auto;padding:24px 28px;overflow:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px}.page-heading h1{font-size:30px;margin:0 0 5px}.page-heading p,.list-heading p{margin:0;color:#777}.bottomnav{background:#fff;border-top:1px solid #ddd;display:flex;justify-content:center;gap:10px;box-shadow:0 -3px 18px #0000000c}.bottomnav a,.bottomnav button{color:#555;flex:1;max-width:130px;display:flex;flex-direction:column;text-decoration:none;gap:3px;font-size:12px;border:0;border-radius:0}.bottomnav a.active,.bottomnav button.active{color:#9a4660}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}.tabs{display:flex;gap:4px;border-bottom:1px solid #dfd6d9;margin-bottom:18px;overflow:auto}.tabs button{white-space:nowrap;border:0;background:transparent;border-bottom:3px solid transparent;border-radius:0;padding:12px}.tabs button.active{border-bottom-color:var(--accent);color:#873f58}.count{border-radius:12px;background:#f5e8ec;padding:1px 7px;font-size:11px}.toolbar{display:grid;gap:15px}.toolbar-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.button-group{display:flex;gap:4px;padding:3px;border-radius:9px;background:#f1edef}.button-group button{border:0;background:transparent;color:#665c60}.button-group button.active,.weekday-buttons button.active{background:var(--accent);color:#fff;box-shadow:0 2px 6px #5a253733}.period-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.period-controls strong{margin:0 8px}.refresh{margin-left:auto}label{display:grid;gap:5px;font-size:13px;color:#665c60;font-weight:600}input,select,textarea{border:1px solid #d8d0d2;border-radius:8px;padding:8px 9px;background:#fff;color:#20232a;max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #99506930;border-color:#a56a7e}.checkbox{display:flex;align-items:center;gap:7px;white-space:nowrap}.checkbox input{width:17px;height:17px}.spacer{flex:1}.legend{display:flex;gap:7px;align-items:center;font-size:12px;color:#665c60;margin:0 0 12px;flex-wrap:wrap}.dot{width:10px;height:10px;border-radius:3px;margin-left:10px}.available{background:#e4f3e8;color:#276942}.shift,.recurring{background:#e4effb;color:#285a8a}.holiday{background:#f7e4eb;color:#843e58}.pending{background:#fff4d6!important;color:#795919!important}.public{background:#eeebf7;color:#5d5280}.calendar-scroll{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:auto;max-height:72vh}.calendar-loading{opacity:.55;pointer-events:none}.month{min-width:750px}.month-head,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-head{position:sticky;top:0;z-index:5;background:#faf7f8;border-bottom:1px solid var(--border)}.month-head>div{padding:12px;font-weight:650;color:#756b6e;text-align:center;font-size:13px}.month-cell{min-height:140px;padding:8px;border-right:1px solid #ece6e8;border-bottom:1px solid #ece6e8;-webkit-user-select:none;user-select:none}.month-cell:nth-child(7n){border-right:0}.month-cell.outside{background:#fafafa}.month-cell.outside .date-number{color:#aaa}.date-number{display:block;font-size:12px;font-weight:650;margin-bottom:6px}.today{background:#fff8fa!important}.today .date-number{color:#91455c}.selected{background:#f0dce4!important;box-shadow:inset 0 0 0 2px #b5748b}.entry{width:100%;display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;text-align:left;border:0;border-left:3px solid currentColor;border-radius:5px;padding:5px 7px;margin:3px 0;gap:1px;font-size:11px;overflow:hidden;min-height:26px}.entry:hover{filter:brightness(.96)}.entry strong{font-size:11px}.entry span,.entry small{overflow-wrap:anywhere}.entry small{opacity:.8}.rota{border-collapse:separate;border-spacing:0;min-width:1000px;width:100%;table-layout:fixed}.rota th,.rota td{border-right:1px solid #ece6e8;border-bottom:1px solid #ece6e8;padding:8px;width:145px;vertical-align:top}.rota thead th{position:sticky;top:0;z-index:5;background:#faf7f8;font-size:12px;text-align:center}.rota th:first-child{position:sticky;left:0;width:180px;min-width:180px;z-index:3;background:#fff;text-align:left}.rota thead th:first-child{z-index:7;background:#faf7f8}.rota td{height:105px;-webkit-user-select:none;user-select:none}.rota strong,.rota small{display:block;margin-top:5px}.week{min-width:950px}.week-head,.week-all,.week-time{display:grid;grid-template-columns:65px repeat(7,minmax(0,1fr))}.week-head{position:sticky;top:0;z-index:5;background:#faf7f8;font-size:12px;text-align:center}.week-head>div{padding:10px;border-right:1px solid #ece6e8}.week-head strong{display:block;margin-top:5px}.week-all>div{padding:5px;border:1px solid #ece6e8;min-height:50px}.week-all>span{font-size:11px;color:#777;padding:8px}.week-time{height:1152px}.hours{position:relative;font-size:10px;color:#888}.hours span{position:absolute;right:5px}.time-day{position:relative;border-right:1px solid #ece6e8;background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#ece6e8 47px,#ece6e8 48px)}.time-day.today{background:repeating-linear-gradient(to bottom,#fff8fa 0,#fff8fa 47px,#ece6e8 47px,#ece6e8 48px)!important}.positioned{position:absolute;padding:0 2px}.positioned .entry{height:100%;margin:0}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.list-heading h2{margin:0 0 5px;font-size:21px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-weight:650;color:#756b6e;background:#faf7f8}th,td{padding:12px;border-bottom:1px solid #ece6e8}tbody tr:hover{background:#fcf8fa}.text-button{border:0;background:transparent;padding:2px 0;color:#873f58;font-weight:650;text-align:left}.badge{display:inline-flex;padding:4px 9px;border-radius:12px;font-size:11px;font-weight:600}.empty{color:#777;text-align:center;padding:30px}.error{background:#fff0f1;border:1px solid #efc4cb;color:#a42134;padding:12px;border-radius:9px;margin-bottom:15px;display:flex;gap:12px;align-items:center;white-space:pre-wrap}.error button{margin-left:auto}.full{min-height:100vh;display:grid;place-items:center;padding:24px}.signin{max-width:470px;text-align:center;padding:35px}.signin svg{color:#91455c}.modal{border:1px solid #d8cbd0;border-radius:16px;padding:0;width:min(650px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 24px 80px #28101845;color:#20232a;background:#fff}.modal::backdrop{background:#28101866}.modal>header{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.modal h2{font-size:21px;margin:0}.modal>header button{border:0}.modal-body{padding:20px 22px;overflow:auto;max-height:65dvh}.modal footer{padding:14px 22px;border-top:1px solid var(--border);display:flex;gap:8px;flex-wrap:wrap;background:#faf7f8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}fieldset{border:0;padding:0;margin:0;min-width:0}.weekday-buttons{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.label{font-size:13px;color:#665c60;font-weight:600}.notice{background:#faf4f6;color:#755c65;border-radius:8px;padding:12px;font-size:13px;margin:0 0 15px}.confirm-message{white-space:pre-wrap;line-height:1.6;margin:0}.exception-list{display:grid;gap:10px}.exception-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border);padding-bottom:10px}.modal textarea{min-height:90px;resize:vertical}@media(max-width:800px){.content{padding:16px}.topbar{padding:0 16px}.user{font-size:12px}.property{margin-left:10px}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.page-heading p{font-size:13px}.page-heading>.button{font-size:0;padding:10px}.page-heading>.button svg{width:20px}.period-controls strong{font-size:14px}.period-controls input{width:140px}.toolbar-row{gap:8px}.toolbar-row label:not(.checkbox){flex:1;min-width:140px}.legend small{flex-basis:100%;margin:5px 0}.calendar-scroll{max-height:67vh}.form-grid{gap:12px}.modal-body{padding:16px}.modal footer{padding:12px}.list-heading{align-items:flex-start}.list-heading p{font-size:12px}}@media(max-width:430px){.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.button-group button{padding:8px 10px}.property{display:none}.modal footer .spacer{display:none}.modal footer button{flex:1}.page-heading{gap:8px}.tabs button{padding:10px 8px;font-size:12px}}@media(max-width:800px){.toolbar{position:relative}.toolbar .refresh{position:absolute;right:16px;top:16px}.toolbar-row:first-child{padding-right:0}.toolbar-row:first-child>.button-group{margin-right:44px}}.date-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.date-heading .date-number{margin-bottom:0}.daily-counts{display:inline-block;flex:0 0 auto;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:#755464;padding:2px 6px;border-radius:5px;background:#f3edf0;white-space:nowrap}.rota thead .daily-counts{margin-left:8px}.week-head .date-heading{margin-top:5px;padding:0 3px}.counts-key{font-weight:650;margin-right:10px}.counts-warning{display:flex;align-items:center;justify-content:space-between;gap:12px}
