/* Clock-out presentation only. Time records, roles and payroll rules remain authoritative. */
:root { --nmco-red:#bc293a; --nmco-red-hover:#a91f30; --nmco-soft:#fff7f7; --nmco-red-line:#f0d1d5; --nmco-green:#187047; --nmco-green-soft:#edf8f1; }
:root[data-nm-theme="dark"] { --nmco-red:#c83146; --nmco-red-hover:#d83a50; --nmco-soft:#221720; --nmco-red-line:#57313d; --nmco-green:#7bd3a4; --nmco-green-soft:#132b24; }
#page:has(.nmco-active-panel) .nm247-page-title p { max-width:650px; font-size:15px; }
#page:has(.nmco-active-panel) .nm247-page-title .pill { padding:8px 12px; font-size:11px; letter-spacing:.05em; }
#page:has(.nmco-active-panel) .nm247-clock-hero { grid-template-columns:1fr 1fr!important; padding:22px 26px; border-radius:20px; margin-bottom:16px; }
#page:has(.nmco-active-panel) .nm247-clock-hero>div:last-child { text-align:right; }
html:root[data-nm-theme] #page:has(.nmco-active-panel) #nm247LiveTime { font-size:30px!important; font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
html:root[data-nm-theme] #page:has(.nmco-active-panel) #nm247Elapsed { font-size:44px!important; line-height:1.1; font-variant-numeric:tabular-nums; letter-spacing:-.04em; }
#page .nmco-active-panel { padding:26px; margin-bottom:22px; border:1px solid var(--nmco-red-line); background:var(--nm247-panel); overflow:hidden; }
.nmco-active-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 18px; padding-bottom:20px; border-bottom:1px solid var(--nm247-line); font-size:13px; color:var(--nm247-muted); }
.nmco-state { display:inline-flex; gap:8px; align-items:center; font-weight:750; color:var(--nmco-green); }
.nmco-state i { display:block; width:8px; height:8px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px var(--nmco-green-soft); }
.nmco-finish-heading { text-align:center; padding:22px 0 18px; }
html:root[data-nm-theme] .nmco-finish-heading h2 { font-size:26px; line-height:1.2; letter-spacing:-.025em; margin:0 0 7px; }
html:root[data-nm-theme] .nmco-finish-heading p { margin:0; font-size:14px; line-height:1.5; color:var(--nm247-muted)!important; }
.nmco-punch { width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 24px; min-height:88px; border:1px solid transparent; border-radius:16px; background:var(--nmco-red)!important; color:#fff!important; cursor:pointer; font:inherit; text-align:left; box-shadow:0 6px 18px rgba(162,31,47,.16); transition:background .15s,box-shadow .15s; }
.nmco-punch>svg { width:30px; height:30px; flex:0 0 30px; }
.nmco-punch>svg:last-child { width:24px; height:24px; flex-basis:24px; opacity:.85; }
.nmco-punch>span { flex:1; display:grid; gap:3px; }
html:root[data-nm-theme] .nmco-punch b { color:#fff!important; font-size:25px; line-height:1.2; letter-spacing:-.02em; font-weight:800; }
html:root[data-nm-theme] .nmco-punch small { color:#fff!important; font-size:13px; line-height:1.4; opacity:.92; }
.nmco-punch:hover:not(:disabled) { background:var(--nmco-red-hover)!important; box-shadow:0 8px 23px rgba(162,31,47,.22); }
.nmco-punch:active:not(:disabled) { transform:translateY(1px); }
.nmco-punch:disabled { opacity:.65; cursor:wait; }
html:root[data-nm-theme] .nmco-punch-hint { font-size:12px; color:var(--nm247-muted)!important; text-align:center; margin:10px 0 24px; }
.nmco-tools-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px; padding-top:20px; border-top:1px solid var(--nm247-line); margin-bottom:12px; }
.nmco-tools-heading h3 { font-size:14px; margin:0; }
.nmco-tools-heading>span { font-size:12px; color:var(--nm247-muted); }
#page .nmco-active-panel .nm247-live-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
#page .nmco-active-panel .nm247-live-actions .btn { min-height:48px; font-size:13px; padding:12px 10px; background:var(--nm247-panel2)!important; color:var(--nm247-text)!important; border:1px solid var(--nm247-line)!important; box-shadow:none; }
.nmco-timeline { margin-top:20px; border-top:1px solid var(--nm247-line); }
.nmco-timeline summary { min-height:48px; padding:15px 0; cursor:pointer; font-size:14px; font-weight:650; }
.nmco-timeline summary>span { margin-left:10px; font-size:12px; color:var(--nm247-muted); font-weight:400; }
.nmco-timeline .nm247-timeline { margin:0 0 15px 5px; }
.nmco-record-status { display:flex; gap:7px; align-items:center; color:var(--nm247-muted); font-size:11px; line-height:1.5; padding-top:12px; border-top:1px solid var(--nm247-line); }
.nmco-record-status svg { width:16px; height:16px; flex-shrink:0; }
.nmco-dialog { width:min(850px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); display:flex; flex-direction:column; overflow:hidden; border-radius:24px; }
html:root[data-nm-theme] .nmco-dialog .nmco-dialog-head { flex:0 0 auto; padding:24px 26px 20px; background:var(--nm247-panel)!important; align-items:flex-start; }
.nmco-eyebrow { font-size:10px; font-weight:800; letter-spacing:.12em; line-height:1.5; color:var(--nmco-red); }
html:root[data-nm-theme] .nmco-dialog .modalHead h2 { font-size:29px; line-height:1.2; letter-spacing:-.035em; margin:5px 0 6px; }
html:root[data-nm-theme] .nmco-dialog .modalHead p { margin:0; font-size:14px; color:var(--nm247-muted)!important; }
.nmco-dialog .iconBtn { width:44px; height:44px; flex:0 0 44px; }
html:root[data-nm-theme] .nmco-dialog .nmco-dialog-body { padding:22px 26px 18px; overflow:auto; flex:1 1 auto; overscroll-behavior:contain; background:var(--nm247-panel)!important; }
.nmco-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.nmco-summary>div { padding:14px; border:1px solid var(--nm247-line); border-radius:14px; background:var(--nm247-panel2); min-width:0; }
.nmco-summary span { display:block; font-size:11px; color:var(--nm247-muted); margin-bottom:5px; }
.nmco-summary b { display:block; font-size:23px; letter-spacing:-.035em; font-variant-numeric:tabular-nums; line-height:1.2; }
html:root[data-nm-theme] .nmco-summary small { display:block; font-size:11px; color:var(--nm247-muted)!important; line-height:1.5; margin-top:5px; letter-spacing:0; }
.nmco-summary b small { display:inline; font-size:10px; margin-left:4px; font-weight:400; white-space:nowrap; }
.nmco-context { display:flex; align-items:center; gap:12px; padding:14px 2px 20px; border-bottom:1px solid var(--nm247-line); margin-bottom:20px; }
.nmco-context svg { width:26px; height:26px; flex:0 0 26px; color:var(--nm247-muted); }
.nmco-context b { display:block; font-size:15px; }
.nmco-context span { display:block; font-size:12px; color:var(--nm247-muted); margin-top:3px; }
.nmco-review-head { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.nmco-review-head h3 { font-size:16px; letter-spacing:-.01em; margin:0; }
.nmco-review-head>span { font-size:11px; border:1px solid var(--nm247-line); background:var(--nm247-panel2); border-radius:999px; padding:5px 9px; white-space:nowrap; color:var(--nm247-muted); }
html:root[data-nm-theme] .nmco-review-help { font-size:12px; color:var(--nm247-muted)!important; line-height:1.5; margin:8px 0 14px; }
.nmco-check-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.nmco-dialog .nmco-check { display:flex; align-items:flex-start; gap:11px; padding:14px; border:1px solid var(--nm247-line); border-radius:13px; margin:0; background:var(--nm247-panel); cursor:pointer; min-height:84px; }
.nmco-dialog .nmco-check:hover { background:var(--nm247-panel2); }
.nmco-dialog .nmco-check.reviewed { border-color:var(--nmco-green); background:var(--nmco-green-soft); }
.nmco-check input { appearance:auto; accent-color:var(--nmco-green); width:20px; height:20px; min-height:20px; flex:0 0 20px; margin:1px 0 0; padding:0; }
.nmco-check b { display:block; font-size:13px; line-height:1.4; letter-spacing:0; }
html:root[data-nm-theme] .nmco-check small { display:block; font-size:11px; line-height:1.45; color:var(--nm247-muted)!important; font-weight:400; margin-top:4px; }
.nmco-note-label { display:flex; align-items:center; justify-content:space-between; font-size:14px; font-weight:650; margin:20px 0 9px; }
.nmco-note-label span { font-size:11px; color:var(--nm247-muted); font-weight:400; }
.nmco-dialog textarea { width:100%; min-height:92px; resize:vertical; padding:13px 14px; border:1px solid var(--nm247-line); border-radius:12px; font-family:inherit; font-size:15px; font-weight:400; line-height:1.55; }
.nmco-reassurance { display:flex; align-items:flex-start; gap:9px; margin:14px 0 0; padding:12px; border-radius:12px; background:var(--nm247-panel2); }
.nmco-reassurance svg { width:20px; height:20px; flex:0 0 20px; color:var(--nm247-muted); margin-top:1px; }
html:root[data-nm-theme] .nmco-reassurance p { font-size:12px; line-height:1.5; color:var(--nm247-muted)!important; margin:0; }
html:root[data-nm-theme] .nmco-dialog .nmco-dialog-foot { flex:0 0 auto; padding:18px 26px; display:grid; grid-template-columns:auto 1fr; gap:12px; background:var(--nm247-panel)!important; border-top:1px solid var(--nm247-line); }
.nmco-dialog-foot>.btn { min-height:68px; border-radius:14px; font-size:14px; padding:16px 20px; white-space:nowrap; background:var(--nm247-panel2)!important; color:var(--nm247-text)!important; border:1px solid var(--nm247-line)!important; }
.nmco-dialog-foot .nmco-punch { min-height:68px; padding:13px 20px; }
html:root[data-nm-theme] .nmco-dialog-foot .nmco-punch b { font-size:19px; }
html:root[data-nm-theme] .nmco-dialog-foot .nmco-punch small { font-size:11px; }
html:root[data-nm-theme] .nmco-error { padding:12px; border:1px solid var(--nmco-red); border-radius:10px; color:var(--nm247-text)!important; background:var(--nmco-soft); font-size:13px; line-height:1.5; }
.nmco-receipt { display:flex; gap:16px; align-items:center; padding:24px; margin-bottom:18px; border:1px solid var(--nmco-green); border-radius:20px; background:var(--nmco-green-soft); }
.nmco-receipt-icon { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:50%; background:var(--nmco-green); color:var(--nm247-panel); }
.nmco-receipt-icon svg { width:26px; height:26px; }
.nmco-receipt .nmco-eyebrow { color:var(--nmco-green); }
.nmco-receipt h2 { font-size:24px; margin:4px 0 6px; letter-spacing:-.025em; }
.nmco-receipt p { margin:0 0 8px; font-size:14px; }
.nmco-receipt small { display:block; font-size:12px; line-height:1.55; }
#page:has(.nmco-receipt) .nm247-clock-hero { display:none; }
.nmco-another-shift { border:1px solid var(--nm247-line); border-radius:16px; background:var(--nm247-panel); margin-bottom:20px; overflow:hidden; }
.nmco-another-shift>summary { min-height:54px; padding:18px 22px; cursor:pointer; font-size:14px; font-weight:650; }
.nmco-another-shift .nm247-start-panel { border:0; border-top:1px solid var(--nm247-line); border-radius:0; box-shadow:none; margin:0; }
.nmco-dialog :is(button,input,textarea):focus-visible,.nmco-punch:focus-visible,.nmco-timeline summary:focus-visible { outline:3px solid var(--nm247-accent); outline-offset:3px; }
@media(max-width:900px) { #page .nmco-active-panel .nm247-live-actions { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) {
 #page:has(.nmco-active-panel) .nm247-page-title { display:flex; align-items:center; gap:10px; }
 #page:has(.nmco-active-panel) .nm247-page-title h1 { font-size:25px; }
 #page:has(.nmco-active-panel) .nm247-page-title p { font-size:12px; }
 #page:has(.nmco-active-panel) .nm247-page-title .pill { font-size:9px; white-space:nowrap; }
 #page:has(.nmco-active-panel) .nm247-clock-hero { padding:18px; gap:12px; }
 html:root[data-nm-theme] #page:has(.nmco-active-panel) #nm247LiveTime { font-size:22px!important; }
 html:root[data-nm-theme] #page:has(.nmco-active-panel) #nm247Elapsed { font-size:36px!important; }
 #page:has(.nmco-active-panel) .nm247-clock-hero :is(span,small) { font-size:11px; }
 #page .nmco-active-panel { padding:18px; border-radius:18px; }
 .nmco-active-heading { gap:9px; padding-bottom:16px; font-size:12px; }
 .nmco-active-heading>span:last-child { flex-basis:100%; }
 .nmco-finish-heading { padding:18px 0 15px; }
 html:root[data-nm-theme] .nmco-finish-heading h2 { font-size:23px; }
 html:root[data-nm-theme] .nmco-finish-heading p { font-size:12px; }
 .nmco-punch { padding:18px; min-height:82px; gap:12px; }
 html:root[data-nm-theme] .nmco-punch b { font-size:24px; }
 html:root[data-nm-theme] .nmco-punch small { font-size:12px; }
 #page .nmco-active-panel .nm247-live-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nmco-tools-heading>span { font-size:11px; }
 .nm247-modal-overlay:has(.nmco-dialog) { padding:8px; }
 .nmco-dialog { width:100%; max-height:calc(100dvh - 16px); border-radius:18px; }
 html:root[data-nm-theme] .nmco-dialog .nmco-dialog-head { padding:18px; }
 html:root[data-nm-theme] .nmco-dialog .modalHead h2 { font-size:25px; }
 html:root[data-nm-theme] .nmco-dialog .nmco-dialog-body { padding:16px 18px; }
 .nmco-summary { gap:7px; }
 .nmco-summary>div { padding:11px 9px; border-radius:11px; }
 .nmco-summary span { font-size:10px; }
 .nmco-summary b { font-size:18px; }
 html:root[data-nm-theme] .nmco-summary small { font-size:9px; }
 .nmco-summary b small { display:block; margin:4px 0 0; }
 .nmco-context { margin-bottom:16px; padding-bottom:16px; }
 .nmco-check-grid { grid-template-columns:1fr; gap:8px; }
 .nmco-dialog .nmco-check { min-height:72px; padding:13px; }
 html:root[data-nm-theme] .nmco-dialog .nmco-dialog-foot { padding:12px; grid-template-columns:1fr; gap:8px; }
 .nmco-dialog-foot>.btn { grid-row:2; min-height:44px; padding:10px; }
 .nmco-dialog-foot .nmco-punch { min-height:64px; padding:12px 16px; }
 .nmco-receipt { padding:18px; align-items:flex-start; gap:12px; }
 .nmco-receipt-icon { width:38px; height:38px; flex-basis:38px; }
 .nmco-receipt h2 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .nmco-punch { transition:none; } }
