:root{--page:#fffaf4;--panel:#fff6e8;--card:#fff;--orange:#ff9e43;--apricot:#ffc98b;--ink:#2a2623;--heading:#24201e;--muted:#625b55;--line:#e6ddd2;--danger:#a23b2a;--success:#287451;--shadow:0 12px 36px #75665c12;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--page)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px;background:var(--page)}button,input,select,textarea{font:inherit}.skip{position:fixed;z-index:99;left:12px;top:-80px;padding:12px 16px;background:var(--ink);color:#fff;border-radius:8px}.skip:focus{top:12px}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a54d00;outline-offset:3px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#fffdf9}.brand{display:flex;align-items:center;gap:11px}.brand span:last-child{display:grid;line-height:1}.brand b{font-size:18px}.brand small{color:var(--muted);margin-top:4px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(110deg,var(--orange),var(--apricot));font-weight:750;color:var(--heading)}.top-actions{display:flex;align-items:center;gap:14px}.user-chip{font-size:14px;color:var(--muted)}button{border:0;cursor:pointer}.quiet{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{padding:24px 14px;border-right:1px solid var(--line);background:#fffdf9}.sidebar a{display:flex;align-items:center;gap:12px;min-height:48px;margin:4px 0;padding:10px 14px;border-radius:12px;color:var(--ink);text-decoration:none;font-weight:600;font-size:14px}.sidebar a span{width:24px;color:#8a5935;font-size:18px;text-align:center}.sidebar a:hover,.sidebar a.active{background:var(--panel)}.sidebar a.active{box-shadow:inset 3px 0 var(--orange)}main{min-width:0;padding:36px 40px 60px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.page-head h1{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.12;letter-spacing:-.035em}.page-head p{margin:8px 0 0;color:var(--muted)}.primary{min-height:48px;padding:13px 20px;border-radius:12px;background:linear-gradient(110deg,var(--orange),var(--apricot));color:var(--heading);font-weight:700;box-shadow:0 5px 15px #d976181a}.secondary{min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);font-weight:650}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{padding:20px;background:white;border:1px solid var(--line);border-radius:18px}.stat small{display:block;color:var(--muted);margin-bottom:8px}.stat strong{font-size:30px;letter-spacing:-.03em}.stat.warn strong{color:#9b4e19}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px 24px #75665c08}.panel h2{margin:0 0 18px;font-size:20px}.job-list{display:grid;gap:12px}.job-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:18px;padding:15px;border:1px solid var(--line);border-radius:14px}.job-time{font-weight:750;font-size:16px}.job-time small{display:block;margin-top:4px;color:var(--muted);font-weight:500;font-size:12px}.job-card h3{margin:0 0 4px;font-size:16px}.job-card p{margin:0;color:var(--muted);font-size:13px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f3eee8;color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.badge.partial{background:#fff0dd;color:#8b4b19}.badge.planned{background:#e9f4ed;color:var(--success)}.badge.cancelled{background:#fae9e6;color:var(--danger)}.alerts{display:grid;gap:12px}.alert{padding:14px;border-left:3px solid var(--orange);background:var(--panel);border-radius:8px;font-size:14px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.toolbar input,.toolbar select,.field input,.field select,.field textarea{min-height:46px;border:1px solid #ded5ca;border-radius:8px;padding:10px 12px;background:white;color:var(--ink)}.toolbar input{min-width:230px}.empty{padding:34px;text-align:center;border:1px dashed #d9caba;border-radius:14px;color:var(--muted)}.calendar{overflow:hidden}.calendar-head,.calendar-row{display:grid;grid-template-columns:80px repeat(5,minmax(120px,1fr));min-width:720px}.calendar-scroll{overflow-x:auto}.calendar-head div{padding:10px;font-size:12px;font-weight:700;color:var(--muted);text-align:center}.calendar-row>div{min-height:112px;padding:8px;border-top:1px solid var(--line);border-right:1px solid var(--line)}.calendar-row>div:first-child{font-size:12px;color:var(--muted)}.calendar-job{padding:8px;border-radius:9px;background:var(--panel);font-size:12px;border-left:3px solid var(--orange)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.entity-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:white}.entity-card h3{margin:0 0 6px;font-size:17px}.entity-card p{margin:4px 0;color:var(--muted);font-size:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:7px;font-size:14px;font-weight:650}.field.full{grid-column:1/-1}.result-box{padding:22px;border-radius:16px;background:var(--panel);border:1px solid #efd3b5}.mobile-nav{display:none}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 85% 25%,#ffc98b44,transparent 40%),var(--page)}.login-card{width:min(100%,420px);display:grid;gap:16px;padding:32px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.login-card .brand-mark{width:52px;height:52px}.login-card h1{margin:0;font-size:34px;letter-spacing:-.035em}.eyebrow{margin:0;color:#934305;text-transform:uppercase;letter-spacing:.085em;font-size:12px;font-weight:700}.muted{color:var(--muted)}.login-card label{display:grid;gap:7px;font-weight:650;font-size:14px}.login-card input{min-height:50px;padding:12px 14px;border:1px solid #ded5ca;border-radius:8px}.form-message{min-height:21px;margin:0;color:var(--danger);font-size:14px}
@media(max-width:900px){.layout{grid-template-columns:190px minmax(0,1fr)}main{padding:28px 24px 54px}.sidebar a{padding-inline:10px}.grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.topbar{height:64px;padding:0 18px}.user-chip{display:none}.brand-mark{width:38px;height:38px}.layout{display:block;min-height:calc(100vh - 64px)}.sidebar{display:none}main{padding:24px 16px 102px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:22px}.page-head .primary{width:100%}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat{padding:14px 10px;border-radius:14px}.stat small{font-size:11px}.stat strong{font-size:23px}.panel{padding:16px;border-radius:16px}.job-card{grid-template-columns:74px minmax(0,1fr);gap:12px}.job-card .badge{grid-column:2;justify-self:start}.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.mobile-nav{position:fixed;z-index:20;display:grid;grid-template-columns:repeat(6,1fr);left:0;right:0;bottom:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffdf9}.mobile-nav a{display:grid;place-items:center;gap:3px;min-width:0;min-height:52px;color:var(--muted);text-decoration:none;font-size:9px;font-weight:650;text-align:center}.mobile-nav a span{font-size:18px}.mobile-nav a.active{color:#934305}.toolbar>*{width:100%;min-width:0!important}}
@media(max-width:390px){main{padding-inline:13px}.stats{grid-template-columns:1fr}.stat{display:flex;align-items:center;justify-content:space-between}.stat small{margin:0}.mobile-nav a{font-size:8px}.job-card{grid-template-columns:1fr}.job-card .badge{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
main:focus{outline:none}
.head-actions,.card-actions,.form-actions,.section-head{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.section-head{justify-content:space-between}.section-head h2{margin:0}.card-actions{margin-top:14px}.danger-button{min-height:44px;padding:10px 15px;border:1px solid #e5b9b0;border-radius:10px;background:#fff7f5;color:var(--danger);font-weight:700}.section-gap{margin-top:22px}.stack{display:grid;gap:10px}.sublist{display:grid;gap:7px;margin:14px 0;padding-top:12px;border-top:1px solid var(--line)}.subitem{min-height:40px;padding:8px 10px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink)}.list-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.list-row p{margin:5px 0;color:var(--muted);font-size:14px}.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mini-card{display:grid;align-content:start;gap:8px;padding:14px;border:1px solid var(--line);border-radius:12px}.mini-card small{color:var(--muted)}dialog{width:min(760px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:20px;background:white;box-shadow:0 25px 80px #2a262344}dialog::backdrop{background:#2a262366}.dialog-card>header{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);background:white}.dialog-card h2{margin:0}.dialog-card>#szerkeszto-tartalom{padding:22px}.icon-button{width:44px;height:44px;border-radius:50%;background:var(--panel);font-size:25px}.check{display:flex;align-items:center;gap:9px;min-height:46px;font-weight:650}.check input{width:20px;height:20px}.weekdays{display:flex;flex-wrap:wrap;gap:10px;padding:13px;border:1px solid var(--line);border-radius:10px}.weekdays legend{padding:0 6px;font-weight:700}.hint{margin:0;padding:12px;border-radius:9px;background:var(--panel);color:var(--muted);font-size:13px}.form-actions{justify-content:flex-end}.toast{position:fixed;z-index:100;right:20px;bottom:20px;max-width:360px;padding:14px 18px;border-radius:12px;background:var(--success);color:#fff;box-shadow:var(--shadow);font-weight:650}.toast.error{background:var(--danger)}
@media(max-width:900px){.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.page-head .primary,.head-actions{width:100%}.head-actions>*{flex:1}.job-card .card-actions{grid-column:2;justify-self:start}.mini-grid{grid-template-columns:1fr}.field.full,.form-message.full,.form-actions.full,.hint.full,.weekdays.full{grid-column:auto}.list-row{align-items:flex-start;flex-direction:column}.list-row .card-actions{width:100%}.list-row .card-actions>*{flex:1}.dialog-card>#szerkeszto-tartalom{padding:16px}.toast{left:14px;right:14px;bottom:85px;max-width:none}}
@media(max-width:390px){.job-card .card-actions{grid-column:auto}.head-actions{display:grid}.form-actions>*{width:100%}}

/* UAT Fix Pack V1: shared interaction, hierarchy and mobile refinements */
body{overflow-x:clip}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.sidebar a svg,.mobile-nav a svg{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar a svg{color:#8a5935}.mobile-nav a svg{width:20px;height:20px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.subitem{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.subitem>span:first-child{display:grid;gap:3px;min-width:0}.subitem strong{font-size:14px}.subitem small{color:var(--muted);line-height:1.35}.subitem .chevron{font-size:24px;color:#935322}.subitem:hover,.subitem:focus-visible{border-color:#d49355;background:#fffaf3;transform:translateY(-1px)}.job-card{grid-template-columns:92px minmax(0,1fr) auto auto}.job-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.job-meta span{display:inline-flex;padding:4px 8px;border-radius:999px;background:#f5f0ea;color:var(--muted);font-size:12px;font-weight:650}.recurring-title{display:flex;align-items:center;gap:9px}.check-group{display:grid;justify-items:start;align-content:start;gap:2px;min-width:0}.check{display:inline-flex;justify-self:start;width:fit-content;max-width:100%;padding:4px 2px;cursor:pointer}.check input{flex:0 0 auto}.field-help{display:block;color:var(--muted);font-size:12px;line-height:1.35}.field input[readonly]{background:#f5f0ea;color:#544d47;cursor:not-allowed}.stat{display:grid;grid-template-rows:minmax(34px,auto) auto;align-content:start}.stat small{margin:0}.stat strong{align-self:end;margin-top:8px}.confirm-content{display:grid;gap:18px}.confirm-content p{margin:0;line-height:1.5}dialog{max-height:min(calc(100dvh - 28px),900px);overflow:hidden}.dialog-card{display:flex;flex-direction:column;max-height:min(calc(100dvh - 28px),900px);overflow:hidden}.dialog-card>#szerkeszto-tartalom{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9b6a3 transparent}.dialog-card>#szerkeszto-tartalom::-webkit-scrollbar{width:8px}.dialog-card>#szerkeszto-tartalom::-webkit-scrollbar-thumb{background:#c9b6a3;border:2px solid white;border-radius:999px}
@media(max-width:720px){.stats{align-items:stretch}.stat{min-height:104px}.head-actions>*{min-width:max-content}.job-card{grid-template-columns:74px minmax(0,1fr)}.recurring-title{align-items:flex-start;flex-direction:column}.dialog-card,.dialog-card>#szerkeszto-tartalom,dialog{max-height:calc(100dvh - 12px)}dialog{width:calc(100% - 12px);border-radius:16px}.dialog-card>header{padding:12px 16px}.job-meta{gap:5px}}
@media(max-width:390px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{display:grid;min-height:108px;padding:12px 8px}.stat small{min-height:34px;line-height:1.25}.stat strong{font-size:23px}.head-actions>*{min-width:0}.job-card{grid-template-columns:1fr}.job-card .badge,.job-card .card-actions{grid-column:auto}.mobile-nav a svg{width:19px;height:19px}}

/* Manual job assignment V1 */
.assignment-button{min-height:44px;padding:10px 15px;border:1px solid #e3a25f;border-radius:10px;background:#fff5e9;color:#7d3d0c;font-weight:750}.assignment-button:hover{background:#ffecd7}.assigned-names{margin:8px 0 0!important;color:var(--ink)!important;line-height:1.4}.assigned-names b{color:var(--muted)}#assignment-form{display:grid;gap:18px}.assignment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.assignment-summary>div{display:grid;gap:3px}.assignment-summary small{color:var(--muted);font-size:12px}.assignment-summary strong{font-size:14px}.assignment-summary .hint{grid-column:1/-1}.assignment-list{display:grid;gap:9px}.assignment-list h3{margin:0 0 3px}.assignment-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px}.assignment-option>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.assignment-option.unavailable{background:#fcfaf7}.assignment-option.unavailable .check span{color:var(--muted)}.assignment-option input:disabled{cursor:not-allowed}.availability{display:grid;justify-items:end;gap:4px;text-align:right}.availability small{max-width:330px;color:var(--muted);font-size:12px;line-height:1.35}button:disabled{cursor:not-allowed;opacity:.55}
.assignment-option.currently-assigned{border-color:#b9d7c6;background:#f7fcf9}.unavailable-employees{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fcfaf7}.unavailable-employees summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;cursor:pointer;color:var(--ink);font-weight:750;list-style:none}.unavailable-employees summary::-webkit-details-marker{display:none}.unavailable-employees summary::after{content:"›";color:#935322;font-size:24px;line-height:1;transform:rotate(90deg);transition:transform .16s ease}.unavailable-employees[open] summary::after{transform:rotate(-90deg)}.unavailable-employees summary:hover{background:var(--panel)}.unavailable-employees summary:focus-visible{outline:3px solid #a54d00;outline-offset:-3px}.unavailable-list{display:grid;gap:9px;padding:0 12px 12px}.assignment-footer{position:sticky;z-index:3;bottom:0;margin-top:2px;padding:14px 0 2px;border-top:1px solid var(--line);background:linear-gradient(to bottom,#ffffffee 0,#fff 12px);box-shadow:0 -10px 18px #ffffffdd}
@media(max-width:720px){.assignment-summary{grid-template-columns:1fr}.assignment-summary .hint{grid-column:auto}.assignment-option{align-items:flex-start;flex-direction:column}.availability{justify-items:start;text-align:left}.availability small{max-width:none}.job-card .card-actions{gap:7px}.job-card .card-actions>*{flex:1 1 auto}}

/* Daily Operations Dashboard V2 */
.daily-job-list{display:grid;gap:12px}.daily-job-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.daily-job-card.needs-attention{border-color:#e2a05f;border-left:5px solid var(--orange);background:#fffaf3}.daily-job-card.needs-scheduling{grid-template-columns:190px minmax(0,1fr) auto auto}.daily-time{font-size:17px;font-weight:800;white-space:nowrap}.daily-time strong{display:block;line-height:1.25;white-space:normal}.needs-scheduling .daily-time strong{color:#914817}.daily-time small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:500}.daily-job-main{min-width:0}.daily-job-main h3{margin:0;font-size:16px}.daily-job-facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.daily-job-facts span{padding:4px 8px;border-radius:999px;background:#f5f0ea;color:var(--muted);font-size:12px;font-weight:650}.daily-assignees{margin:9px 0 0;color:var(--ink);font-size:14px;line-height:1.4}.daily-assignees b{color:var(--muted)}.cancelled-section{background:#fcfaf7}.daily-job-card.cancelled-job{opacity:.63;background:#faf8f5}.daily-absences ul{display:grid;gap:8px;margin:0;padding-left:22px}.daily-absences li{line-height:1.45}
@media(max-width:800px){.daily-job-card,.daily-job-card.needs-scheduling{grid-template-columns:150px minmax(0,1fr) auto}.daily-job-card>.assignment-button{grid-column:2;justify-self:start}}
@media(max-width:520px){.daily-job-card,.daily-job-card.needs-scheduling{grid-template-columns:1fr}.daily-job-card>.assignment-button{grid-column:auto;width:100%}.daily-job-card>.badge{justify-self:start}.daily-time{white-space:normal}.page-head .head-actions{display:grid;grid-template-columns:1fr;width:100%}.page-head .head-actions>*{width:100%}}

.assignment-start{margin:0;padding:16px;border:1px solid #e9d5bf;border-radius:14px;background:#fffaf3}.assignment-start input{width:min(220px,100%);min-height:48px;border:1px solid #d9c4ae;border-radius:9px;padding:10px 12px;background:#fff}.assignment-start small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.4}.daily-actions{justify-content:flex-end}

/* Internal weekly operations calendar V1 */
.calendar-shell{display:grid;gap:16px;min-width:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.calendar-toolbar h2{margin:0;font-size:18px;text-align:right}.calendar-week-nav,.calendar-day-nav{display:flex;align-items:center;gap:8px}.calendar-mobile-week-header{display:none}.icon-button{min-width:44px;padding-inline:12px;font-size:22px;line-height:1}.calendar-week-empty{padding:14px 16px;border:1px dashed #d7c7b7;border-radius:12px;background:#fffaf3;color:var(--muted);text-align:center}.calendar-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:start;min-width:0}.calendar-day{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fdfcfb}.calendar-day.today{border-color:#dc8a3b;box-shadow:0 0 0 2px #fff0df}.calendar-day>header{display:grid;gap:2px;padding:11px;border-bottom:1px solid var(--line);background:#f7f2ec}.calendar-day.today>header{background:#fff0df}.calendar-day>header span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.calendar-day>header strong{font-size:14px}.calendar-day>header small{color:var(--muted);font-size:11px}.calendar-lane{display:grid;gap:6px;padding:8px;border-bottom:1px solid var(--line)}.calendar-lane h3{margin:0;color:var(--muted);font-size:10px;letter-spacing:.05em;text-transform:uppercase}.calendar-absence-lane{background:#f3f0ff}.calendar-unscheduled-lane{background:#fff5e8}.calendar-absence{display:grid;gap:2px;padding:7px;border-radius:8px;background:#fff;color:#51406e;font-size:11px}.calendar-absence small{color:#6e6380}.calendar-scheduled-jobs{display:grid;gap:7px;padding:8px}.calendar-job-card{display:grid;gap:4px;width:100%;min-width:0;padding:9px;border:1px solid #ded6cd;border-left:4px solid #8f9a91;border-radius:9px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.calendar-job-card:hover{border-color:#be793c;box-shadow:0 2px 8px #2f211517}.calendar-job-card:focus-visible{outline:3px solid #a54d00;outline-offset:2px}.calendar-job-card>strong{font-size:13px}.calendar-job-card>small{overflow-wrap:anywhere;color:var(--muted);font-size:10px;line-height:1.3}.calendar-job-title{overflow-wrap:anywhere;font-size:12px;font-weight:800;line-height:1.3}.calendar-assignees{color:var(--ink)!important}.calendar-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;margin-top:3px;font-size:10px;font-weight:750}.calendar-card-meta .badge{padding:3px 5px;font-size:9px}.calendar-staff-warning{color:#a13f20}.calendar-staff-complete{color:#276044}.calendar-job-card.status-unassigned,.calendar-job-card.status-partially_assigned{border-left-color:#d87424}.calendar-job-card.status-planned{border-left-color:#4c956c}.calendar-job-card.status-completed{border-left-color:#4f7798}.calendar-job-card.status-cancelled{border-left-color:#aaa;opacity:.55;background:#f4f1ed}.calendar-job-card.calendar-unscheduled{border-left-color:#d87424;background:#fffdf9}.calendar-job-card.calendar-unscheduled>strong{color:#914817}.calendar-day-empty{margin:0;padding:16px 8px;color:var(--muted);font-size:11px;line-height:1.4;text-align:center}.calendar-mobile-agenda{display:none}.calendar-job-detail{display:grid;gap:18px}.calendar-job-detail dl{display:grid;gap:0;margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.calendar-job-detail dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;padding:11px 13px;border-bottom:1px solid var(--line)}.calendar-job-detail dl>div:last-child{border-bottom:0}.calendar-job-detail dt{color:var(--muted);font-size:12px;font-weight:700}.calendar-job-detail dd{display:grid;gap:3px;min-width:0;margin:0;overflow-wrap:anywhere;font-weight:650}.calendar-job-detail dd small{color:var(--muted);font-weight:500}
@media(max-width:1050px) and (min-width:721px){.calendar-week-grid{gap:5px}.calendar-day>header{padding:8px}.calendar-scheduled-jobs,.calendar-lane{padding:5px}.calendar-job-card{padding:7px}.calendar-card-meta{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.calendar-toolbar{align-items:stretch;padding:10px 12px}.calendar-toolbar>.calendar-desktop-week-nav,.calendar-toolbar>h2{display:none}.calendar-mobile-week-header{display:grid;width:100%;min-width:0;gap:8px}.calendar-week-nav,.calendar-day-nav{justify-content:center;width:100%}.calendar-mobile-week-nav,.calendar-day-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px}.calendar-week-nav>.icon-button,.calendar-day-nav>.icon-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;aspect-ratio:1/1;padding:0;border-radius:50%;line-height:1}.calendar-mobile-week-title{display:grid;place-items:center;gap:2px;min-width:0;text-align:center}.calendar-mobile-week-title strong{font-size:16px;line-height:1.2}.calendar-mobile-week-title small{max-width:100%;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.25}.calendar-mobile-today{min-height:34px;justify-self:center;padding:6px 15px;border-radius:999px;font-size:12px}.calendar-week-grid{display:none}.calendar-week-empty{display:none}.calendar-mobile-agenda{display:grid;gap:10px}.calendar-day-nav h2{align-self:center;min-width:0;margin:0;overflow-wrap:anywhere;font-size:15px;font-weight:700;line-height:1.25;text-align:center}.calendar-mobile-day{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fdfcfb}.calendar-mobile-day.today{border-color:#dc8a3b;box-shadow:0 0 0 2px #fff0df}.calendar-mobile-day .calendar-scheduled-jobs{gap:9px;padding:10px}.calendar-mobile-day .calendar-lane{padding:10px}.calendar-mobile-day .calendar-job-card{padding:12px}.calendar-mobile-day .calendar-job-card>strong{font-size:15px}.calendar-mobile-day .calendar-job-title{font-size:14px}.calendar-mobile-day .calendar-job-card>small,.calendar-mobile-day .calendar-absence{font-size:12px}.calendar-job-detail dl>div{grid-template-columns:1fr;gap:3px}}

/* Capacity Search V1 */
.capacity-layout{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);align-items:start;gap:20px}.capacity-search-card,.capacity-results{min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.capacity-search-card h2,.capacity-result-head h2{margin:0}.capacity-form{display:grid;gap:16px;margin-top:16px}.capacity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.capacity-fields .field:nth-child(-n+3){grid-column:1/-1}.capacity-submit{width:100%;min-height:48px}.capacity-results{display:grid;gap:14px}.capacity-empty{display:grid;gap:6px;place-items:center;min-height:230px;padding:30px;color:var(--muted);line-height:1.5;text-align:center}.capacity-empty strong{color:var(--ink);font-size:18px}.capacity-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.capacity-result-head p{margin:5px 0 0;color:var(--muted)}.capacity-result-head>span{padding:6px 9px;border-radius:999px;background:#f5f0ea;color:var(--muted);font-size:12px;font-weight:700}.capacity-result-list{display:grid;gap:12px}.capacity-result-card{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-left:5px solid #4c956c;border-radius:13px;background:#fff}.capacity-result-card.uncertain{border-left-color:#d87424;background:#fffaf3}.capacity-result-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.capacity-result-card header>div{display:grid;gap:2px}.capacity-result-card header strong{font-size:20px}.capacity-result-card header small,.capacity-result-card>small{color:var(--muted)}.capacity-result-card p{margin:0;line-height:1.45}.capacity-employees{overflow-wrap:anywhere}.capacity-employees span{color:var(--muted);font-weight:700}.capacity-warning{padding:9px 11px;border-radius:9px;background:#fff0df;color:#844417;font-size:13px}.capacity-rejected{margin:0;padding:11px;border-radius:10px;background:#f7f2ec;color:var(--muted);text-align:center}
.capacity-quick-location{grid-column:1/-1;min-width:0;padding:14px;border:1px solid #e7c79f;border-radius:13px;background:#fffaf3}.capacity-quick-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.capacity-quick-head>div{display:grid;gap:3px}.capacity-quick-head small,.capacity-temporary-label{color:var(--muted);font-size:12px;line-height:1.35}.capacity-quick-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.capacity-quick-fields>.field{min-width:0}.capacity-quick-fields>.field input,.capacity-quick-fields>.field select{width:100%;min-width:0}.capacity-quick-fields>.field:first-child,.capacity-new-customer,.capacity-quick-fields>.field:nth-child(4){grid-column:1/-1}.capacity-owner-row{display:block;width:100%;margin-top:12px;padding-top:10px;border-top:1px solid #ecd8bf}.capacity-owner-check{display:inline-flex;align-items:flex-start;gap:9px;min-height:44px;padding:7px 4px}.capacity-owner-check span{display:grid;gap:2px}.capacity-owner-check small{color:var(--muted);font-weight:500}.capacity-temporary-label{display:block;margin-top:4px}
.capacity-booking-action{justify-self:start;margin-top:4px}.capacity-booking-success{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #b9d7c6;border-radius:12px;background:#f1faf5}.capacity-booking-success>div{display:grid;gap:3px}.capacity-booking-success span{color:var(--muted);font-size:12px}.capacity-booking-success a{text-decoration:none}.booking-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:13px;overflow:hidden}.booking-summary>div{display:grid;gap:3px;min-width:0;padding:11px 13px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.booking-summary>div:nth-child(2n){border-right:0}.booking-summary>div:nth-last-child(-n+2){border-bottom:0}.booking-summary small,.booking-summary span,.booking-section-head small{color:var(--muted);font-size:12px;line-height:1.35}.booking-summary strong,.booking-summary span{overflow-wrap:anywhere}#capacity-booking-count{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}.booking-warning{margin:0;padding:12px 14px;border-left:4px solid #d87424;border-radius:9px;background:#fff0df;color:#754017;line-height:1.45}.booking-employees{display:grid;gap:9px}.booking-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.booking-section-head h3{margin:0 0 3px}.booking-section-head>span{padding:5px 8px;border-radius:999px;background:#f5f0ea;color:var(--muted);font-size:12px;font-weight:700}.booking-employee-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:6px 10px;border:1px solid var(--line);border-radius:11px}.booking-employee-check{min-height:38px;padding:7px 2px}.booking-footer{position:sticky;z-index:3;bottom:0;padding:14px 0 2px;border-top:1px solid var(--line);background:linear-gradient(to bottom,#ffffffee 0,#fff 12px);box-shadow:0 -10px 18px #ffffffdd}#capacity-booking-form{display:grid;gap:16px}
@media(max-width:900px){.capacity-layout{grid-template-columns:1fr}}
@media(max-width:520px){.capacity-search-card,.capacity-results{padding:15px}.capacity-fields,.capacity-quick-fields{grid-template-columns:1fr}.capacity-fields .field:nth-child(-n+3),.capacity-quick-fields>.field:first-child,.capacity-new-customer,.capacity-quick-fields>.field:nth-child(4){grid-column:auto}.capacity-quick-location{grid-column:auto;padding:12px}.capacity-quick-head{align-items:stretch;flex-direction:column}.capacity-quick-head .badge{align-self:flex-start}.capacity-result-head,.capacity-result-card header,.capacity-booking-success,.booking-section-head{align-items:stretch;flex-direction:column}.capacity-result-card header .badge,.booking-section-head>span{align-self:flex-start}.capacity-booking-action{width:100%}.booking-summary{grid-template-columns:1fr}.booking-summary>div,.booking-summary>div:nth-child(2n),.booking-summary>div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--line)}.booking-summary>div:last-child{border-bottom:0}.booking-footer>*{flex:1}}

/* Admin UI Professionalization V2: flat surfaces, divider hierarchy and compact data density */
main{padding:32px 40px 60px}.page-head{margin-bottom:24px}.page-head h1{font-size:clamp(28px,3vw,34px);line-height:1.15;letter-spacing:-.025em}.page-head p{margin-top:6px}.primary{min-height:46px;padding:11px 18px;border-radius:9px;box-shadow:0 3px 10px #d9761817}.secondary,.danger-button{border-radius:8px}.toolbar{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.toolbar input,.toolbar select,.field input,.field select,.field textarea{border-radius:7px}.panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.panel h2{margin-bottom:14px;font-size:19px}.section-gap{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.empty{padding:24px 0;border:0;border-radius:0}.stat{border-radius:12px}.cancelled-section{padding:16px;border-left:3px solid #c9b6a3}

.calendar-page-head{align-items:start}.calendar-page-today{min-width:58px}.calendar-shell{gap:14px}.calendar-toolbar{padding:8px 0 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.calendar-toolbar h2{font-size:16px;font-weight:650}.calendar-desktop-week-nav{display:grid;grid-template-columns:44px 44px}.calendar-mobile-week-header{gap:0}.calendar-week-empty{padding:18px 0;border:0;border-radius:0;background:transparent}.calendar-mobile-agenda{gap:12px}.calendar-day-nav{padding-bottom:10px;border-bottom:1px solid var(--line)}.calendar-mobile-day{border:0;border-radius:0;background:transparent}.calendar-mobile-day.today{border:0;box-shadow:none}.calendar-mobile-day .calendar-scheduled-jobs{padding:0}.calendar-mobile-day .calendar-lane{margin-bottom:10px;border-radius:8px}

.capacity-layout{display:grid;grid-template-columns:1fr;gap:0}.capacity-search-card,.capacity-results{min-width:0;padding:0;border:0;border-radius:0;background:transparent}.capacity-search-card{padding-bottom:26px}.capacity-search-card>h2,.capacity-section-head h2{margin:0;font-size:19px}.capacity-form{gap:14px;margin-top:16px}.capacity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.capacity-fields>.field{min-width:0}.capacity-fields>.field input,.capacity-fields>.field select{width:100%;min-width:0}.capacity-fields .field:nth-child(-n+3){grid-column:auto}.capacity-field-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;gap:14px}.capacity-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.capacity-field-pair>.field{min-width:0}.capacity-submit{width:min(100%,280px);min-height:46px;justify-self:end}.capacity-results{display:grid;gap:0;padding-top:22px;border-top:1px solid var(--line)}.capacity-section-head{padding-bottom:12px;border-bottom:1px solid var(--line)}#capacity-results{min-width:0}.capacity-empty{display:grid;gap:6px;place-items:start;min-height:0;padding:24px 0;color:var(--muted);line-height:1.5;text-align:left}.capacity-empty strong{font-size:16px}.capacity-result-head{padding:12px 0}.capacity-result-head p{margin:0;color:var(--ink);font-weight:650}.capacity-result-list{display:grid;gap:0;border-bottom:1px solid var(--line)}.capacity-result-card{display:grid;gap:7px;padding:15px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.capacity-result-card:first-child{border-top:0}.capacity-result-card.uncertain{padding-left:12px;border-left:3px solid #d87424;background:#fffaf3}.capacity-result-card header strong{font-size:18px}.capacity-rejected{border-radius:6px}.capacity-quick-location{border-radius:8px}

@media(max-width:720px){main{padding:22px 16px 102px}.page-head{margin-bottom:20px}.panel{padding:0;border-radius:0}.stat{border-radius:10px}.calendar-page-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px}.calendar-page-title{display:contents}.calendar-page-head h1{grid-column:1;grid-row:1;align-self:center}.calendar-page-head p{grid-column:1/-1;grid-row:2;margin:0}.calendar-page-today{grid-column:2;grid-row:1;min-height:44px}.calendar-toolbar{padding:8px 0 12px}.calendar-mobile-week-header{width:100%;min-width:0}.calendar-mobile-week-title{gap:2px}.calendar-mobile-agenda{gap:12px}.capacity-fields{grid-template-columns:1fr;gap:12px}.capacity-field-groups{grid-template-columns:1fr;gap:12px}.capacity-field-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.capacity-search-card{padding-bottom:22px}.capacity-results{padding:18px 0 0}.capacity-submit{width:100%}.capacity-result-card{padding:14px 0}.capacity-search-card,.capacity-results{border-radius:0;background:transparent}.capacity-quick-location{grid-column:auto}.capacity-section-head{padding-bottom:10px}}
.capacity-field-pair>.field input,.capacity-field-pair>.field select{width:100%;min-width:0}
@media(max-width:350px){.capacity-field-pair{grid-template-columns:1fr}}

/* Employees desktop data table V1 */
.employees-subtitle-mobile,.employee-add-short{display:none}.employees-section{min-width:0}.employees-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:13px}.employees-section-head h2{margin:0;font-size:19px}.employees-section-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.employee-toolbar{align-items:center;margin-bottom:0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.employee-search{flex:1 1 280px}.employee-search input{width:min(100%,420px)}.employee-filter{flex:0 1 190px}.employee-filter select{width:100%}.employee-table-wrap{min-width:0}.employee-table{width:100%;border-collapse:collapse;table-layout:fixed}.employee-table th{padding:10px 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.025em;text-align:left}.employee-table td{height:64px;padding:9px 12px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:middle}.employee-table th:first-child,.employee-table td:first-child{width:30%;padding-left:0}.employee-table th:nth-child(2),.employee-table td:nth-child(2){width:15%}.employee-table th:nth-child(3),.employee-table td:nth-child(3){width:28%}.employee-table th:nth-child(4),.employee-table td:nth-child(4){width:19%}.employee-table th:last-child,.employee-table td:last-child{width:64px;padding-right:0;text-align:right}.employee-table tbody tr{transition:background .14s ease}.employee-table tbody tr:hover{background:#fffdf9}.employee-identity{display:flex;align-items:center;gap:11px;min-width:0}.employee-identity>span:last-child{display:grid;gap:2px;min-width:0}.employee-identity strong{overflow:hidden;text-overflow:ellipsis;font-size:15px;white-space:nowrap}.employee-identity small{color:var(--muted);font-size:12px}.employee-monogram{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #e5d6c6;border-radius:50%;background:#f8f1e9;color:#744620;font-size:12px;font-weight:800}.employee-absence-cell{display:grid;gap:3px;min-width:0}.employee-absence-cell small{overflow:hidden;color:var(--muted);font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.employee-absence-type{font-weight:650}.employee-empty-value,.employee-contact{color:var(--muted)}.employee-actions{position:relative;display:inline-block;text-align:left}.employee-actions summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;border-radius:8px;color:var(--muted);cursor:pointer;list-style:none}.employee-actions summary::-webkit-details-marker{display:none}.employee-actions summary:hover,.employee-actions[open] summary{border-color:var(--line);background:#fff}.employee-actions summary:focus-visible{outline:3px solid #a54d00;outline-offset:2px}.employee-action-menu{position:absolute;z-index:12;top:calc(100% + 5px);right:0;display:grid;width:max-content;min-width:170px;padding:5px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 12px 30px #3b2c201a}.employee-action-menu button{min-height:42px;padding:9px 11px;border-radius:6px;background:transparent;color:var(--ink);font-weight:600;text-align:left}.employee-action-menu button:hover,.employee-action-menu button:focus-visible{background:var(--panel)}.employee-mobile-list{display:none}.employee-no-results,.employee-empty-state{padding:24px 0;color:var(--muted);text-align:center}.employee-empty-state{display:grid;justify-items:center;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.employee-empty-state p{margin:0}.employee-absences .section-head{margin-bottom:12px}.employee-absence-row{padding:13px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.employee-absence-row:last-child{border-bottom:0}.employee-absence-row .card-actions{margin-top:0}
@media(max-width:1100px) and (min-width:901px){.employee-table th:nth-child(4),.employee-table td:nth-child(4){display:none}.employee-table th:first-child,.employee-table td:first-child{width:34%}.employee-table th:nth-child(2),.employee-table td:nth-child(2){width:18%}.employee-table th:nth-child(3),.employee-table td:nth-child(3){width:auto}}
@media(max-width:900px){.employee-table-wrap{display:none}.employee-mobile-list{display:grid}.employee-mobile-row{display:flex;align-items:center;min-width:0;border-bottom:1px solid var(--line)}.employee-mobile-main{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1 1 auto;min-width:0;min-height:76px;padding:12px 4px;background:transparent;color:var(--ink);text-align:left}.employee-mobile-main:hover{background:#fffdf9}.employee-mobile-copy{display:grid;gap:6px;min-width:0}.employee-mobile-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;font-size:15px;font-weight:750}.employee-mobile-name small{color:var(--muted);font-size:11px;font-weight:650}.employee-mobile-status{display:flex;align-items:center;gap:7px}.employee-mobile-status .badge{padding:3px 7px;font-size:11px}.employee-mobile-absence{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:12px;line-height:1.35}.employee-mobile-absence .employee-absence-type{color:var(--ink);font-weight:600}.employee-chevron{flex:0 0 auto;color:#935322;font-size:25px}.employee-mobile-row>.employee-actions{flex:0 0 44px;margin-left:4px}.employee-mobile-row>.employee-actions .employee-action-menu{right:0}.employee-mobile-row>.employee-actions summary{border-color:var(--line);background:#fff}.employee-absence-row{align-items:flex-start;flex-direction:column}.employee-absence-row .card-actions{width:100%}.employee-absence-row .card-actions>*{flex:1}}
@media(max-width:720px){.employees-page-head{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:5px 12px}.employees-page-head>div{display:contents}.employees-page-head h1{grid-column:1;grid-row:1;align-self:center}.employees-page-head p{grid-column:1/-1;grid-row:2;margin:0}.employee-add-button{grid-column:2;grid-row:1;display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;padding:0}.employee-add-full,.employees-subtitle-desktop{display:none}.employee-add-short,.employees-subtitle-mobile{display:inline}.employee-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(128px,.46fr);gap:8px}.employee-toolbar>*{width:auto;min-width:0!important}.employee-search input{width:100%}.employee-filter{min-width:0}.employee-filter select{padding-inline:9px}.employee-absences{padding-top:22px}.employee-absences .section-head{align-items:center}.employee-absences .section-head .secondary{min-height:44px}.employee-mobile-main{min-height:82px}}
@media(max-width:430px){.employee-toolbar{grid-template-columns:1fr}.employee-mobile-row>.employee-actions{margin-left:0}.employee-mobile-main{padding-left:0}.employee-absence-row .card-actions{display:grid;grid-template-columns:1fr 1fr}}

/* Jobs / recurring / services admin V1: reuse the Employees data-table language */
.jobs-section,.admin-section{min-width:0}.admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;margin-bottom:10px}.admin-section-head h2{margin:0;font-size:19px}.jobs-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,190px) minmax(150px,190px)}.jobs-toolbar .employee-search input{width:100%;max-width:520px}.admin-data-table td{height:66px}.admin-data-table td>small,.admin-data-table td>span+small{display:block;margin-top:3px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.admin-primary{display:block;overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.jobs-table{table-layout:fixed}.jobs-table th:first-child,.jobs-table td:first-child{width:14%;padding-left:0}.jobs-table th:nth-child(2),.jobs-table td:nth-child(2){width:21%}.jobs-table th:nth-child(3),.jobs-table td:nth-child(3){width:14%}.jobs-table th:nth-child(4),.jobs-table td:nth-child(4){width:13%}.jobs-table th:nth-child(5),.jobs-table td:nth-child(5){width:18%}.jobs-table th:nth-child(6),.jobs-table td:nth-child(6){width:11%}.jobs-table th:last-child,.jobs-table td:last-child{width:136px}.recurring-table th:first-child,.recurring-table td:first-child{width:13%;padding-left:0}.recurring-table th:nth-child(2),.recurring-table td:nth-child(2){width:31%}.recurring-table th:nth-child(3),.recurring-table td:nth-child(3){width:18%}.recurring-table th:nth-child(4),.recurring-table td:nth-child(4){width:auto}.recurring-table th:last-child,.recurring-table td:last-child,.services-table th:last-child,.services-table td:last-child{width:64px}.services-table th:first-child,.services-table td:first-child{width:40%;padding-left:0}.services-table th:nth-child(2),.services-table td:nth-child(2),.services-table th:nth-child(3),.services-table td:nth-child(3){width:18%}.services-table th:nth-child(4),.services-table td:nth-child(4){width:auto}.job-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.job-assign-action{min-height:40px;padding:8px 11px;border-radius:7px}.employee-action-menu .menu-danger{color:var(--danger)}.job-mobile-time{font-weight:800}.job-mobile-time small{margin-left:5px;color:var(--muted);font-size:11px;font-weight:500}.job-mobile-row>.job-row-actions{flex:0 0 auto}.job-mobile-row>.job-row-actions>.employee-actions{flex:0 0 44px}.job-mobile-row>.job-row-actions>.employee-actions summary{border-color:var(--line);background:#fff}

.series-form,.service-form{min-width:0}.series-form>.field,.service-form>.field,.series-form>.check-group,.service-form>.check-group{min-width:0}.series-form>.field input,.series-form>.field select,.series-form>.field textarea,.service-form>.field input,.service-form>.field select{width:100%;max-width:100%;min-width:0}.series-form .weekdays{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;gap:3px 12px;padding:7px 0 3px;border:0;border-radius:0}.series-form .weekdays legend{padding:0 0 5px;font-size:14px;font-weight:700}.series-form .weekdays .check{min-height:40px;padding:4px 0}.crud-form-footer{position:sticky;z-index:3;bottom:-22px;margin-inline:-2px;padding:14px 2px 2px;border-top:1px solid var(--line);background:linear-gradient(to bottom,#ffffffee 0,#fff 12px);box-shadow:0 -10px 18px #ffffffdd}.service-form .check-group,.series-form>.check-group{align-self:end;min-height:70px}.service-form .field-help,.series-form>.check-group .field-help{max-width:300px}

@media(max-width:1100px) and (min-width:901px){.jobs-table th:nth-child(3),.jobs-table td:nth-child(3){display:none}.jobs-table th:first-child,.jobs-table td:first-child{width:16%}.jobs-table th:nth-child(2),.jobs-table td:nth-child(2){width:25%}.jobs-table th:nth-child(4),.jobs-table td:nth-child(4){width:15%}.jobs-table th:nth-child(5),.jobs-table td:nth-child(5){width:20%}.jobs-table th:nth-child(6),.jobs-table td:nth-child(6){width:auto}}
@media(max-width:900px){.jobs-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,.45fr) minmax(140px,.45fr)}.admin-section-head{margin-bottom:4px}.job-mobile-row{align-items:stretch}.job-mobile-row>.job-row-actions{align-self:center}.job-mobile-row .job-assign-action{min-width:92px}.admin-section>.employee-mobile-list{border-top:1px solid var(--line)}}
@media(max-width:720px){.jobs-head-actions{width:auto}.jobs-head-actions>*{width:auto;min-width:max-content}.jobs-toolbar{grid-template-columns:1fr 1fr}.jobs-toolbar .employee-search{grid-column:1/-1}.series-form,.service-form{grid-template-columns:minmax(0,1fr)}.series-form .weekdays{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.series-form .weekdays.full{grid-column:auto}.crud-form-footer{bottom:-16px}.service-form .check-group,.series-form>.check-group{min-height:0}.job-mobile-row{align-items:center;flex-wrap:wrap}.job-mobile-row>.job-mobile-main{flex-basis:calc(100% - 49px)}.job-mobile-row>.job-row-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;width:100%;padding:0 0 10px}.job-mobile-row>.job-row-actions>.job-assign-action{width:100%}}
@media(max-width:430px){.jobs-toolbar{grid-template-columns:1fr}.jobs-toolbar .employee-search{grid-column:auto}.admin-section-head{align-items:center}.admin-section-head .secondary{min-height:44px;padding-inline:12px}.job-mobile-time{display:grid;gap:2px}.job-mobile-time small{margin-left:0}}

/* Customers master-detail / locations table V1 */
.customer-add-short,.customer-location-add-short,.customer-mobile-master,.customer-mobile-detail,.customer-location-mobile-list{display:none}.customer-page,.customer-desktop-layout,.customer-detail,.customer-locations{min-width:0}.customer-master-toolbar .customer-toolbar{margin-bottom:0;padding:0 0 16px}.customer-toolbar .employee-search input{width:min(100%,520px)}.customer-desktop-layout{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:470px;border-top:1px solid var(--line)}.customer-master{min-width:0;padding:20px 22px 0 0;border-right:1px solid var(--line)}.customer-master h2{margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.customer-master-list{display:grid}.customer-master-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:68px;padding:12px 14px;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.customer-master-row:first-child{border-top:1px solid var(--line)}.customer-master-row>span:first-child{display:grid;gap:4px;min-width:0}.customer-master-row strong,.customer-master-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-master-row strong{font-size:15px}.customer-master-row small{color:var(--muted);font-size:12px}.customer-master-row:hover{background:#fffaf4}.customer-master-row.selected{background:#fff6ec}.customer-master-row.selected::before{position:absolute;inset:0 auto 0 0;width:3px;background:#c55d0c;content:""}.customer-master-row:focus-visible,.customer-back:focus-visible,.customer-location-mobile-main:focus-visible{outline:3px solid #a54d00;outline-offset:-3px}.customer-row-chevron{color:#935322;font-size:24px}.customer-desktop-layout .customer-row-chevron{display:none}.customer-no-results{padding:20px 0;color:var(--muted);font-size:13px}.customer-detail{padding:24px 0 0 30px}.customer-detail-empty{display:grid;place-items:center;color:var(--muted)}.customer-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px}.customer-detail-head h2{margin:0;font-size:25px;letter-spacing:-.02em}.customer-detail-head p{max-width:680px;margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.customer-contact{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:8px;color:var(--muted);font-size:13px}.customer-detail-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}.customer-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-section-head h3{margin:0;font-size:19px}.customer-section-head p{margin:3px 0 0;color:var(--muted);font-size:12px}.customer-location-table{table-layout:fixed}.customer-location-table th:first-child,.customer-location-table td:first-child{width:21%;padding-left:0}.customer-location-table th:nth-child(2),.customer-location-table td:nth-child(2){width:27%}.customer-location-table th:nth-child(3),.customer-location-table td:nth-child(3){width:14%}.customer-location-table th:nth-child(4),.customer-location-table td:nth-child(4){width:16%}.customer-location-table th:nth-child(5),.customer-location-table td:nth-child(5){width:auto}.customer-location-table th:last-child,.customer-location-table td:last-child{width:64px;padding-right:0}.customer-address{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.only-mariann-label{display:inline-flex;padding:4px 7px;border:1px solid #e8c9ab;border-radius:999px;background:#fff8ef;color:#78441c;font-size:11px;font-weight:750;white-space:nowrap}.customer-empty-value{color:var(--muted)}.inactive-row{opacity:.62}.customer-empty-state{display:grid;justify-items:start;gap:12px;padding:24px 0;color:var(--muted)}.customer-empty-state p{margin:0}.customer-page-empty{justify-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;padding:6px 0;background:transparent;color:#8b450d;font-weight:750}.customer-form,.location-form{min-width:0}.location-form>.field,.location-form>.check-group{min-width:0}.location-form>.field input,.location-form>.field select,.location-form>.field textarea{width:100%;min-width:0;max-width:100%}
@media(max-width:1100px) and (min-width:901px){.customer-desktop-layout{grid-template-columns:280px minmax(0,1fr)}.customer-detail{padding-left:22px}.customer-location-table th:nth-child(2),.customer-location-table td:nth-child(2){display:none}.customer-location-table th:first-child,.customer-location-table td:first-child{width:28%}.customer-location-table th:nth-child(3),.customer-location-table td:nth-child(3){width:18%}.customer-location-table th:nth-child(4),.customer-location-table td:nth-child(4){width:22%}}
@media(max-width:900px){.customer-desktop-layout{display:none}.customer-mobile-master{display:block}.customer-mobile-master .customer-master{padding:0;border:0}.customer-mobile-master .customer-master h2{display:none}.customer-master-row{min-height:74px;padding-inline:4px}.customer-master-row:first-child{border-top:0}.customer-mobile-detail{display:none}.customer-page.mobile-detail>.customers-page-head,.customer-page.mobile-detail>.customer-master-toolbar,.customer-page.mobile-detail>.customer-mobile-master{display:none}.customer-page.mobile-detail>.customer-mobile-detail{display:block}.customer-mobile-detail .customer-detail{padding:0}.customer-mobile-detail .customer-detail-head{padding-bottom:18px}.customer-location-table-wrap{display:none}.customer-location-mobile-list{display:grid}.customer-location-mobile-row{display:flex;align-items:center;min-width:0;border-bottom:1px solid var(--line)}.customer-location-mobile-main{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1 1 auto;min-width:0;min-height:82px;padding:12px 4px;background:transparent;color:var(--ink);text-align:left}.customer-location-mobile-main>span:first-child{display:grid;gap:4px;min-width:0}.customer-location-mobile-main strong,.customer-location-mobile-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-location-mobile-main small{color:var(--muted);font-size:12px}.customer-location-mobile-row>.location-actions{flex:0 0 44px}.customer-location-mobile-row>.location-actions summary{border-color:var(--line);background:#fff}.customer-detail-actions .customer-edit-action{display:none}.customer-section-head{padding-top:13px}.customer-section-head .secondary{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0}.customer-location-add-full{display:none}.customer-location-add-short{display:inline;font-size:20px}.customer-empty-state{justify-items:center;text-align:center}}
@media(max-width:720px){.customers-page-head{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:5px 12px}.customers-page-head>div{display:contents}.customers-page-head h1{grid-column:1;grid-row:1;align-self:center;font-size:27px}.customers-page-head p{grid-column:1/-1;grid-row:2;margin:0}.customer-add-button{grid-column:2;grid-row:1;display:grid;place-items:center;width:44px!important;min-width:44px;min-height:44px;padding:0}.customer-add-full{display:none}.customer-add-short{display:inline;font-size:20px}.customer-master-toolbar .customer-toolbar{padding-bottom:10px}.customer-toolbar .employee-search input{width:100%}.customer-detail-head h2{font-size:23px}.customer-contact{display:grid;gap:4px}.customer-actions .employee-action-menu,.location-actions .employee-action-menu{right:0}.location-form{grid-template-columns:1fr}}

/* Final handoff: global action-menu and modal/form contracts */
.action-menu-trigger{display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.action-menu-trigger:hover,.employee-actions.is-open .action-menu-trigger{border-color:var(--line);background:#fff}.action-menu-trigger:focus-visible{outline:3px solid #a54d00;outline-offset:2px}.employee-actions.is-open .employee-action-menu{display:grid}.employee-mobile-row>.employee-actions .action-menu-trigger,.customer-location-mobile-row>.employee-actions .action-menu-trigger{border-color:var(--line);background:#fff}.form-grid>*{min-width:0}.dialog-card input:not([type="checkbox"]),.dialog-card select,.dialog-card textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid #ded5ca;border-radius:7px;background:#fff;color:var(--ink);font:inherit}.dialog-card input:not([type="checkbox"]),.dialog-card select{min-height:46px;padding:10px 12px}.dialog-card textarea{min-height:92px;padding:10px 12px;resize:vertical}.dialog-card select{overflow:hidden;text-overflow:ellipsis}.dialog-card input:disabled,.dialog-card select:disabled,.dialog-card textarea:disabled,.dialog-card input[readonly]{background:#f5f0ea;color:#544d47;cursor:not-allowed}.crud-form-footer,.assignment-footer,.booking-footer{margin-top:4px;border-top:0!important;background:linear-gradient(to bottom,#ffffff00 0,#fff 14px)!important;box-shadow:none!important;padding-top:18px!important}.job-past-info{display:grid;gap:4px;padding:11px 13px;border-left:3px solid #d98a3f;border-radius:6px;background:#fff8ef;color:var(--muted);font-size:13px;line-height:1.4}.job-past-info strong{color:var(--ink);font-size:14px}.job-form>.field,.job-form>.timing-fixed,.job-form>.timing-window,.location-form>.field{min-width:0}.job-form>.field select,.job-form>.field input,.job-form>.timing-fixed input,.job-form>.timing-window input,.location-form>.field select,.location-form>.field input{width:100%;max-width:100%;min-width:0}
@media(max-width:720px){.form-grid{grid-template-columns:1fr}.job-form>.field,.job-form>.timing-fixed,.job-form>.timing-window,.location-form>.field{grid-column:auto}.crud-form-footer,.assignment-footer,.booking-footer{bottom:-16px}}

/* Global select indicator alignment: match the 12px date/time icon inset. */
select{-webkit-appearance:none;appearance:none;box-sizing:border-box;width:100%;min-width:0;padding-right:40px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23625b55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important}

/* Operations V1: persistent desktop chrome, independent content/sidebar scroll. */
@media(min-width:721px){
  .app-shell{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
  .topbar{position:sticky;top:0;z-index:30;flex:0 0 76px}
  .layout{flex:1;min-height:0;overflow:hidden}
  .sidebar{position:sticky;top:0;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  #tartalom{height:100%;overflow-y:auto;scroll-padding-top:54px}
}
.job-day-group{min-width:0;margin-bottom:12px}
.job-day-heading{position:sticky;top:-1px;z-index:5;margin:0;background:var(--page);border-block:1px solid var(--line)}
.job-day-toggle{display:flex;align-items:center;gap:10px;min-height:52px;width:100%;padding:10px 2px;background:transparent;color:var(--ink);font-size:14px;font-weight:700;text-align:left}
.job-day-toggle>span:nth-child(2){flex:1;min-width:0}
.job-day-toggle small{flex-shrink:0;color:var(--muted);font-size:12px;font-weight:500}
.job-day-chevron{width:18px;color:#945321}
.job-day-group .jobs-table th:nth-child(4),.job-day-group .jobs-table td:nth-child(4){display:none}
.job-day-group .jobs-table th:nth-child(2),.job-day-group .jobs-table td:nth-child(2){width:25%}
.job-day-group .jobs-table th:nth-child(5),.job-day-group .jobs-table td:nth-child(5){width:22%}
.form-grid>.timing-fixed,.form-grid>.timing-window{min-width:0}
input:not([type="checkbox"]):not([type="radio"]),textarea{box-sizing:border-box;min-width:0;max-width:100%}
.calendar-toolbar-today,.calendar-view-switch{display:none}
@media(min-width:721px){
  .calendar-page-today{display:none}
  .calendar-toolbar{justify-content:flex-start;gap:10px;flex-wrap:wrap}
  .calendar-toolbar-today{display:block}
  .calendar-toolbar h2{text-align:left;font-size:16px;flex:1;min-width:180px}
  .calendar-view-switch{display:flex;gap:2px}
  .calendar-view-switch button[aria-pressed="true"]{background:var(--panel);border-color:#d68b48}
  .calendar-week-grid{gap:0;align-items:stretch;min-height:520px;border-block:1px solid var(--line);background:#fffdf9}
  .calendar-week-grid.calendar-single-day{grid-template-columns:minmax(0,1fr)}
  .calendar-day{overflow:visible;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}
  .calendar-day:last-child{border-right:0}
  .calendar-day.today{border-color:var(--line);box-shadow:none;background:#fff9f0}
  .calendar-day>header{position:sticky;top:0;z-index:4;min-height:80px;padding:10px 7px;background:var(--page)}
  .calendar-day.today>header{background:#fff0df;box-shadow:inset 0 2px #d2782c}
  .calendar-day>header span{font-size:10px;letter-spacing:0;text-transform:none}
  .calendar-scheduled-jobs,.calendar-lane{padding:8px 5px;gap:8px}
  .calendar-job-card{padding:8px 5px;border:0;border-left:2px solid #8f9a91;border-radius:0;background:#f5f2eb;gap:5px;box-shadow:none}
  .calendar-job-card:hover{background:#f4e9db;box-shadow:none}
  .calendar-job-card>strong{font-size:12px;overflow-wrap:anywhere}
  .calendar-job-card .badge{padding:0;border-radius:0;background:transparent;white-space:normal}
  .calendar-card-meta{gap:5px}
  .calendar-absence{padding:4px 0;border-radius:0;background:transparent;overflow-wrap:anywhere}
  .calendar-absence-lane{background:#f3f0f7}
  .calendar-unscheduled-lane{background:#fff8ed}
  .calendar-unscheduled-lane .calendar-job-card{background:transparent}
  .calendar-single-day .calendar-job-card{padding:12px;max-width:680px}
}
.calendar-continuation{font-weight:500;font-size:11px}
@media(max-width:720px){.job-day-heading{position:static}.job-day-toggle{min-height:52px;font-size:13px}.job-day-toggle small{font-size:11px}}
@media(min-width:721px){body:has(.app-shell:not([hidden])){overflow:hidden}.app-shell{position:relative}#tartalom{position:relative}}
@media(min-width:721px) and (max-width:1200px){.layout{grid-template-columns:190px minmax(0,1fr)}main{padding-inline:24px}}
@media(min-width:721px){
 .calendar-week-grid .calendar-job-customer,.calendar-week-grid .calendar-job-service{display:none}
 .calendar-week-grid .calendar-job-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal}
 .calendar-week-grid .calendar-job-card>strong{font-size:11px;overflow-wrap:normal}
 .calendar-week-grid .calendar-job-card>small{font-size:11px}
}
@media(min-width:721px) and (max-width:1000px){
 .calendar-week-grid{display:none}.calendar-mobile-agenda{display:grid;gap:12px}.calendar-view-switch{display:none}
 .calendar-day-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px}
 .calendar-day-nav h2{margin:0;text-align:center;font-size:16px}
 .calendar-mobile-day .calendar-job-card{padding:12px}.calendar-mobile-day .calendar-job-title{font-size:14px}
}
@media(min-width:721px){
 #tartalom{--content-top-padding:32px;padding-top:var(--content-top-padding)}
 .job-day-heading,.calendar-day>header{top:calc(-1 * var(--content-top-padding))}
 .job-day-group .jobs-table td:first-child .admin-primary{white-space:normal;overflow:visible}
 .job-day-group .jobs-table td:nth-child(6) .badge{max-width:100%;white-space:normal}
}

/* Today V2: flat daily operations view using the shared Jobs action language. */
.daily-page-head{align-items:flex-start}.daily-page-title{display:grid;gap:0;min-width:0}.daily-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:12px;color:var(--muted);font-size:13px}.daily-summary>span{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.daily-summary i{color:#b9a99a;font-style:normal}.daily-attention,.daily-ready{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:12px}.daily-attention{background:#fff0dd;color:#8b4b19}.daily-ready{background:#e9f4ed;color:var(--success)}.daily-section{min-width:0}.daily-section+.daily-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.daily-section>.admin-section-head{margin-bottom:8px}.daily-table-wrap{display:block;min-width:0}.daily-table{table-layout:fixed;width:100%}.daily-table th:first-child,.daily-table td:first-child{width:16%;padding-left:8px}.daily-table th:nth-child(2),.daily-table td:nth-child(2){width:24%}.daily-table th:nth-child(3),.daily-table td:nth-child(3){width:16%}.daily-table th:nth-child(4),.daily-table td:nth-child(4){width:18%}.daily-table th:nth-child(5),.daily-table td:nth-child(5){width:12%}.daily-table th:last-child,.daily-table td:last-child{width:150px;padding-right:0}.daily-job-row.needs-attention td:first-child{border-left:3px solid var(--orange)}.daily-job-row.cancelled-job{opacity:.58}.daily-unscheduled{margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}.daily-unscheduled>h3{margin:0 0 6px;color:#8b4b19;font-size:13px;letter-spacing:.035em;text-transform:uppercase}.daily-mobile-list{display:none}.daily-absence-list{border-top:1px solid var(--line)}.daily-absence-row{display:grid;grid-template-columns:minmax(160px,.45fr) minmax(0,1fr);gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.daily-absence-row span{color:var(--muted)}.daily-cancelled{color:var(--muted)}

/* Capacity V3: compact desktop filter rail and flat result rows. */
.capacity-layout{display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr);align-items:start;gap:0;border-top:1px solid var(--line)}.capacity-search-card{position:sticky;top:0;align-self:start;padding:22px 28px 0 0;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}.capacity-results{min-width:0;padding:22px 0 0 30px;border:0;border-radius:0;background:transparent}.capacity-fields{grid-template-columns:minmax(0,1fr);gap:12px}.capacity-fields .field:nth-child(-n+3){grid-column:auto}.capacity-field-groups{grid-template-columns:minmax(0,1fr);grid-column:auto;gap:12px}.capacity-field-pair{gap:10px}.capacity-submit{width:100%;justify-self:stretch}.capacity-section-head{padding-bottom:10px}.capacity-empty{padding:20px 0}.capacity-result-head{padding:12px 0}.capacity-result-columns,.capacity-result-row{display:grid;grid-template-columns:minmax(80px,.65fr) minmax(0,1.4fr) minmax(100px,.75fr) minmax(110px,1fr) minmax(138px,auto);align-items:center;gap:12px}.capacity-result-columns{padding:9px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.capacity-result-list{border-bottom:1px solid var(--line)}.capacity-result-card.capacity-result-row{gap:12px;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.capacity-result-card.capacity-result-row:last-child{border-bottom:0}.capacity-result-row.uncertain{padding-left:10px;border-left:3px solid #d87424;background:#fffaf3}.capacity-result-time,.capacity-result-staff{display:grid;gap:3px}.capacity-result-time small,.capacity-result-note{color:var(--muted);font-size:12px;line-height:1.4}.capacity-employees{min-width:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.capacity-result-staff strong{font-size:13px}.capacity-result-staff .badge{justify-self:start;padding:3px 7px;font-size:10px}.capacity-result-note .capacity-warning{display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#844417;font-size:12px}.capacity-result-action{justify-self:end}.capacity-booking-action{justify-self:auto;width:138px;margin:0;padding-inline:12px}.capacity-rejected{margin-top:12px}

@media(max-width:1050px){.capacity-layout{grid-template-columns:1fr;border-top:0}.capacity-search-card{position:static;padding:0 0 24px;border-right:0;border-bottom:1px solid var(--line)}.capacity-results{padding:22px 0 0}.capacity-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.capacity-field-groups{grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;gap:14px}.capacity-submit{width:min(100%,280px);justify-self:end}.capacity-result-columns,.capacity-result-row{grid-template-columns:minmax(90px,.7fr) minmax(150px,1.4fr) minmax(120px,.8fr) minmax(150px,1fr) minmax(130px,auto);gap:12px}}
@media(max-width:900px){.daily-table-wrap{display:none}.daily-mobile-list{display:grid;border-top:1px solid var(--line)}.daily-mobile-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;border-bottom:1px solid var(--line)}.daily-mobile-main{display:grid;gap:5px;min-width:0;padding:12px 0}.daily-mobile-main>strong,.daily-mobile-main>small{overflow-wrap:anywhere}.daily-mobile-main>small{color:var(--muted)}.daily-mobile-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:12px}.daily-mobile-row>.job-row-actions{align-self:center}.daily-mobile-row.needs-attention{border-left:3px solid var(--orange);padding-left:9px}.daily-mobile-row.cancelled-job{opacity:.58}.capacity-result-columns{display:none}.capacity-result-card.capacity-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px 0}.capacity-result-row>[data-label]::before{display:block;margin-bottom:2px;color:var(--muted);content:attr(data-label);font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.capacity-result-time{grid-column:1}.capacity-result-staff{grid-column:2;grid-row:1;justify-items:end;text-align:right}.capacity-employees,.capacity-result-note{grid-column:1/-1}.capacity-result-action{grid-column:1/-1;justify-self:start}}
@media(max-width:720px){.daily-page-head{display:grid;gap:16px}.daily-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.daily-actions>.primary{grid-column:1/-1}.daily-summary{align-items:flex-start;flex-direction:column;gap:9px}.daily-section+.daily-section{margin-top:24px;padding-top:20px}.daily-absence-row{grid-template-columns:1fr;gap:3px}.capacity-fields{grid-template-columns:1fr;gap:12px}.capacity-field-groups{grid-template-columns:1fr;gap:12px}.capacity-submit{width:100%;justify-self:stretch}.capacity-result-columns{display:none}.capacity-result-card.capacity-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px 0}.capacity-result-row>[data-label]::before{display:block;margin-bottom:2px;color:var(--muted);content:attr(data-label);font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.capacity-result-time{grid-column:1}.capacity-result-staff{grid-column:2;grid-row:1;justify-items:end;text-align:right}.capacity-employees,.capacity-result-note{grid-column:1/-1}.capacity-result-action{grid-column:1/-1;justify-self:stretch}.capacity-booking-action{width:100%}}
@media(max-width:430px){.daily-mobile-row{grid-template-columns:1fr}.daily-mobile-row>.job-row-actions{justify-self:stretch;padding-bottom:10px}.daily-mobile-row>.job-row-actions>.job-assign-action{flex:1}.daily-actions{grid-template-columns:1fr}.daily-actions>.primary{grid-column:auto}}

/* Private Operations account screens */
.auth-shell{padding:28px 18px;min-height:100dvh}.auth-card{width:min(100%,440px);gap:18px;border-radius:16px;box-shadow:0 12px 40px #35281b08}
.auth-card h1{font-size:30px}.auth-card>.muted{margin:0;line-height:1.5;font-size:14px}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px}.auth-brand>span:last-child{display:grid;gap:3px}.auth-brand strong{font-size:19px}.auth-brand small{color:var(--muted);font-size:12px}
.auth-form{display:grid;gap:16px;min-width:0}.auth-form label{min-width:0}.auth-form input{width:100%;box-sizing:border-box;min-width:0}.auth-form label small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.4}.auth-form .primary{width:100%}.auth-form .form-message:empty{display:none}
.auth-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#87430e;font-size:14px;font-weight:650;text-align:center}.auth-private{text-align:center;color:var(--muted);font-size:12px;line-height:1.4}.auth-notice{margin:0;padding:12px;background:#fff4e6;border-left:3px solid #c36b25;color:var(--ink);font-size:14px;line-height:1.5}
.top-actions .user-chip{display:grid;gap:3px;text-align:right}.user-chip strong{font-size:13px;font-weight:650}.user-chip small{font-size:11px;color:var(--muted)}
@media(max-width:720px){.auth-shell{padding:20px 16px}.auth-card{padding:26px 22px}.top-actions{gap:8px}.top-actions .user-chip strong{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions .user-chip{display:grid}.top-actions .quiet{padding-inline:10px}}
