:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182234;background:#f4f6fa;font-synthesis:none}*{box-sizing:border-box}html{min-width:320px}body{margin:0;font-size:15px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer;min-height:44px;border:0;border-radius:13px;padding:11px 17px;background:#2455dc;color:#fff;font-weight:650;transition:background .15s,transform .15s}button:hover{background:#1744c1}button:active{transform:scale(.985)}button.secondary{background:#edf2ff;color:#2853bc}button.secondary:hover{background:#dce7ff}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #91adff;outline-offset:2px}[hidden]{display:none!important}header{background:#fff;border-bottom:1px solid #e6eaf2;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand strong{font-size:14px}.brand small{display:block;font-size:9px;letter-spacing:1.4px;color:#8b94a6}.brand-logo{display:block;width:43px;height:43px;object-fit:contain;flex-shrink:0;border-radius:12px}.mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#1c2638;color:white;width:43px;height:43px;border-radius:14px;font-weight:900}.mark span{color:#f4794e}main{width:100%;max-width:1200px;margin:0 auto;padding:22px 14px 70px}h1{font-size:clamp(24px,5vw,32px);letter-spacing:-.8px;line-height:1.2;margin:0 0 8px}h2{font-size:19px;letter-spacing:-.4px;margin:0 0 16px}p{color:#69778c;margin:6px 0 18px}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.heading p{font-size:13px}.card,.panel{background:#fff;border:1px solid #e7ebf2;border-radius:20px;padding:20px 16px;box-shadow:0 6px 24px #23344c09}.login{max-width:450px;margin:9vh auto;padding:28px 20px}.login button{width:100%}label{display:block;font-size:13px;font-weight:550;color:#4c5a70}input:not([type=checkbox]),select{width:100%;min-width:0;min-height:44px;border:1px solid #d5dce8;border-radius:12px;padding:10px 12px;background:#fff;color:#1c293c;margin:6px 0 12px}input[type=checkbox]{width:18px;height:18px;accent-color:#2455dc;vertical-align:middle}nav{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:5px 1px 12px;margin:14px 0 10px}nav button{background:transparent;color:#627087;white-space:nowrap;flex-shrink:0;padding:10px 14px;border-radius:12px}nav button:hover{background:#edf2fa}nav button.active{background:#e8efff;color:#2455dc}.section-head{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:16px}.section-head form{display:flex;flex-direction:column;gap:8px;width:100%}.section-head form input{margin:0}.panel{min-height:210px}.item{display:flex;flex-direction:column;align-items:stretch;gap:12px;border:1px solid #e8edf5;border-radius:15px;padding:15px;margin:10px 0;background:#fcfdff;overflow-wrap:anywhere}.item strong{display:block}.item small{display:block;color:#76849a;margin-top:4px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{flex:1 1 auto}.grants{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.grants label{background:#f0f4fa;border:1px solid #e7edf7;border-radius:10px;padding:8px 10px;display:flex;align-items:center;gap:5px}.grants input{margin:0}.muted,.hint{font-size:13px;color:#7a889b}#notice{min-height:24px;font-size:13px}#notice.error{color:#c62828}#add-shift{display:grid;grid-template-columns:1fr;gap:8px;background:#f7f9fd;border:1px solid #e7edf7;border-radius:16px;padding:15px;margin:16px 0}#add-shift button{width:100%}#schedule-store,#schedule-date{min-width:0}#shift-list .item{gap:10px}#shift-list .item button{align-self:flex-start}.schedule-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:12px 0}.schedule-day{padding:9px 2px;border-radius:10px;text-align:center;font-size:11px;background:#f2f5fb;color:#64748b}.schedule-day.active{background:#2455dc;color:#fff}.schedule-day strong{display:block;font-size:14px}.schedule-day[aria-pressed=true]{outline:2px solid #2455dc;outline-offset:1px}.schedule-summary{font-size:13px;color:#64748b;margin:10px 0}.schedule-shift-time{font-weight:700;color:#244ec0}.schedule-shift-meta{font-size:12px;color:#7a889b}@media(min-width:720px){header{padding:17px max(28px,calc((100vw - 1200px)/2))}.brand strong{font-size:16px}main{padding:34px 28px 80px}.card,.panel{padding:28px}.section-head{flex-direction:row;align-items:center}.section-head form{flex-direction:row;width:auto}.section-head form input{width:260px}.item{flex-direction:row;align-items:center;justify-content:space-between}.actions button{flex:0 0 auto}.schedule-days{gap:9px}.schedule-day{padding:12px 8px;font-size:13px}#add-shift{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px}#add-shift button{margin-bottom:12px}#shift-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#shift-list .item{margin:0;align-items:flex-start;flex-direction:column}}@media(min-width:1050px){#shift-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){button{transition:none}}#mobile-nav-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:#fff;color:#1e355e;border:1px solid #dce5f3;box-shadow:0 3px 12px #24344d0b;margin:16px 0 10px;padding:13px 17px;font-size:15px}#mobile-nav-toggle:hover{background:#f7f9ff}#tabs{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;margin:0 0 16px;padding:12px;border:1px solid #e5eaf3;border-radius:16px;background:#fff;box-shadow:0 8px 24px #23344c0b}#tabs.mobile-open{display:grid}#tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;border:1px solid #edf0f6;background:#f7f9fc;padding:12px 8px;font-size:13px}#tabs button.active{background:#e7efff;border-color:#c5d7ff;color:#2455dc}@media(min-width:720px){#mobile-nav-toggle{display:none}#tabs,#tabs.mobile-open{display:flex;flex-wrap:wrap;gap:8px;background:transparent;border:0;box-shadow:none;padding:0;margin:22px 0 15px}#tabs button{font-size:14px;white-space:nowrap;padding:11px 16px}}
 .schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.schedule-toolbar strong{font-size:14px;text-align:center}.schedule-toolbar button{min-width:44px;padding:8px;font-size:23px}.schedule-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:78px;cursor:pointer;border:1px solid transparent}.schedule-day span:last-child{font-size:9px;line-height:1.2}.schedule-day.active span{color:inherit}.schedule-summary{background:#f1f5ff;border-radius:12px;padding:12px 14px;color:#294a82;font-weight:600}@media(min-width:720px){.schedule-day{min-height:105px}.schedule-day span:last-child{font-size:12px}.schedule-toolbar strong{font-size:17px}}.schedule-view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;background:#edf1f8;border-radius:15px;margin:14px 0}.schedule-view-switch button{background:transparent;color:#53627a;font-size:12px;padding:10px 4px;min-width:0}.schedule-view-switch button.active{background:#fff;color:#2455dc;box-shadow:0 2px 8px #182c481b}.overview-store{border:1px solid #e6ebf4;border-radius:17px;padding:13px;margin:12px 0;background:#fff}.overview-store h3{margin:0 0 12px;font-size:15px}.overview-chart,.week-grid-overview{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.overview-column{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:0;min-height:0;background:transparent;border-radius:7px;color:#50617c}.overview-column:hover{background:#edf2ff}.overview-column-head{font-size:9px;white-space:nowrap;text-align:center}.overview-track{position:relative;height:176px;border-radius:5px;background:repeating-linear-gradient(to bottom,#f0f3f8 0,#f0f3f8 1px,#fff 1px,#fff 25%);border:1px solid #e6eaf2;overflow:hidden}.overview-bar{position:absolute;left:7%;width:86%;border-radius:3px;opacity:.86;min-height:2px}.overview-legend{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.overview-legend-item{display:flex;align-items:center;gap:5px;font-size:11px;color:#66748a}.overview-legend-item i{width:9px;height:9px;border-radius:3px}.week-grid-overview .overview-track{height:350px}.week-grid-overview .overview-column-head{font-size:11px}@media(min-width:720px){.overview-store{padding:22px}.overview-chart,.week-grid-overview{gap:10px}.overview-track{height:240px}.week-grid-overview .overview-track{height:460px}.overview-column-head{font-size:13px}.schedule-view-switch{max-width:390px}.schedule-view-switch button{font-size:14px}}.overview-chart,.week-grid-overview{grid-template-columns:30px repeat(7,minmax(0,1fr))}.overview-axis{height:197px;position:relative;margin-top:18px}.overview-axis-title{position:absolute;top:-18px;font-size:9px;color:#64748b}.overview-axis-tick{position:absolute;left:0;font-size:8px;color:#64748b;transform:translateY(-50%)}.overview-axis-tick:nth-child(2){top:0%}.overview-axis-tick:nth-child(3){top:14.285%}.overview-axis-tick:nth-child(4){top:28.57%}.overview-axis-tick:nth-child(5){top:42.855%}.overview-axis-tick:nth-child(6){top:57.14%}.overview-axis-tick:nth-child(7){top:71.425%}.overview-axis-tick:nth-child(8){top:85.71%}.overview-axis-tick:nth-child(9){top:100%}.overview-bar{left:auto;width:auto;display:flex;align-items:flex-start;justify-content:center;color:#fff;font-size:10px;overflow:hidden;word-break:break-word}.week-grid-overview .overview-axis{height:371px}@media(min-width:720px){.overview-chart,.week-grid-overview{grid-template-columns:42px repeat(7,minmax(0,1fr))}.overview-axis{height:261px}.week-grid-overview .overview-axis{height:481px}.overview-axis-tick{font-size:11px}}.store-link-card{align-items:flex-start;gap:12px;flex-wrap:wrap}.store-link-details{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.store-link-details small{overflow-wrap:anywhere;color:#64748b}.pos-link-status{font-size:12px;color:#51647c}.store-link-card .actions{display:flex;gap:7px;flex-wrap:wrap}.store-link-card button{min-height:38px}@media(max-width:600px){.store-link-card .actions{width:100%}.store-link-card .actions button{flex:1}}.pos-import-panel,.pos-data-panel{margin-top:20px;padding:16px;border:1px solid #dbe3ee;border-radius:14px}.pos-search-row,.pos-data-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.pos-search-row input{flex:1;min-width:180px}.pos-data-filters label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:135px}.pos-data-filters input,.pos-data-filters select{width:100%;min-height:40px}.pos-data-metrics{display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding:16px;margin:12px 0;border-radius:12px;background:#f2f6fc}.pos-tip-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e2e8f0}.pos-tip-row>div{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.pos-tip-row small{color:#64748b}.pos-tip-row strong{white-space:nowrap}@media(max-width:600px){.pos-data-filters>*{width:100%}.pos-tip-row{font-size:13px}}
/* POS finance dashboard */
.pos-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 26px}
.pos-summary-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:17px 15px;background:#f4f7fd;border:1px solid #e5ebf5;border-radius:15px}
.pos-summary-label{color:#66758b;font-size:12px;font-weight:650}
.pos-summary-value{color:#1b2c47;font-size:clamp(16px,2vw,21px);line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.pos-tips-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:18px 0 12px}
.pos-tips-heading h4{margin:0;font-size:16px}.pos-tips-note{font-size:12px;color:#738199}
.pos-tip-labels{display:grid;grid-template-columns:minmax(0,1fr) 110px 130px;gap:14px;padding:10px 14px;color:#758299;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid #dce4f0}
.pos-tip-labels span:last-child{text-align:right}
.pos-tip-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 130px;gap:14px;align-items:center;padding:13px 14px;border-bottom:1px solid #e8edf5;min-width:0}
.pos-tip-info{min-width:0;display:flex;flex-direction:column;gap:4px}.pos-tip-info>strong{font-size:13px;font-weight:600;color:#273851}
.pos-method{justify-self:start;background:#eef2fb;color:#3b5688;padding:5px 9px;border-radius:8px;font-size:11px;font-weight:700}
.pos-tip-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}
.pos-tip-details summary{color:#74839a;font-size:11px;cursor:pointer;display:list-item;list-style-position:inside}
.pos-tip-id{display:block;color:#697a92;font-size:11px;overflow-wrap:anywhere;padding:4px 0 0 12px}
@media(max-width:760px){.pos-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-tip-labels,.pos-tip-row{grid-template-columns:minmax(0,1fr) 70px 96px;gap:7px;padding-left:8px;padding-right:8px}.pos-tip-amount{font-size:12px}.pos-method{font-size:10px;padding:4px 6px}}
@media(max-width:390px){.pos-summary-grid{grid-template-columns:1fr 1fr;gap:7px}.pos-summary-card{padding:11px 9px}.pos-summary-value{font-size:15px}.pos-tip-labels{display:none}.pos-tip-row{grid-template-columns:minmax(0,1fr) 60px 82px}}

.attendance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}
.attendance-stat{display:flex;flex-direction:column;gap:8px;background:#f4f7fd;border:1px solid #e5ebf5;border-radius:14px;padding:16px}
.attendance-stat span{font-size:12px;color:#697990}.attendance-stat strong{font-size:25px;color:#1d304d;font-variant-numeric:tabular-nums}
.attendance-event{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e9edf4;padding:13px 3px}
.attendance-event-info{display:flex;flex-direction:column;gap:3px;min-width:0}.attendance-event-info small{font-size:12px;color:#728098}
.attendance-event-type{flex-shrink:0;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700}
.attendance-event-type.in{background:#e7f7ef;color:#186c45}.attendance-event-type.out{background:#edf1fa;color:#52627d}
@media(max-width:600px){.attendance-summary{grid-template-columns:1fr 1fr;gap:8px}.attendance-stat{padding:12px}.attendance-stat strong{font-size:21px}}
