:root{font-family:'Noto Sans KR',sans-serif;color:#182238;background:#f5f7fb;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #91a3ff;outline-offset:3px}aside{position:fixed;width:236px;inset:0 auto 0 0;background:#fff;border-right:1px solid #e6eaf2;padding:34px 22px;display:flex;flex-direction:column}.brand{font-size:27px;letter-spacing:-1px;font-weight:800;color:#172340;text-decoration:none;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mark{background:#264de7;color:white;border-radius:10px;font-size:32px;line-height:36px;width:36px;text-align:center}.brand-sub{font-size:10px;letter-spacing:3px;flex-basis:100%;margin:-3px 0 0 47px;color:#9099ae}.workspace{margin:35px 0 33px;background:#f5f7fb;padding:13px 9px;font-weight:600;border-radius:7px;font-size:13px}.workspace span{float:right;color:#667793}.nav-label{color:#9aa4b6;letter-spacing:1.2px;font-size:10px;margin:0 10px 14px}nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;margin-bottom:5px;text-decoration:none;color:#69748a;border-radius:8px;font-weight:500}nav a.active{background:#edf1ff;color:#254bdf;font-weight:700}nav a:hover{background:#f2f5fb}.nav-icon{font-size:19px;width:22px;text-align:center}.side-bottom{margin-top:auto;border-top:1px solid #edf0f5;padding-top:22px}.secure{color:#536584;font-size:13px}.side-bottom p{color:#98a2b3;font-size:12px;line-height:1.8}.shell{margin-left:236px}header{height:82px;background:white;display:flex;justify-content:space-between;align-items:center;padding:0 38px;border-bottom:1px solid #e6eaf2;color:#7e899c;font-size:13px}header b{margin:0 16px;color:#c8d0dd}header strong{color:#46536b}.header-right{display:flex;gap:20px;align-items:center}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eaf0ff;color:#3254ce;font-weight:700}.notice{padding:9px 38px;background:#eef2ff;color:#62719a;font-size:12px}main{padding:34px 38px;min-height:calc(100vh - 175px);max-width:1650px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.eyebrow{color:#6c7a96;font-size:11px;letter-spacing:1.8px;margin:0 0 8px}h1{font-size:28px;letter-spacing:-1px;margin:0 0 8px;font-weight:700}p{line-height:1.7}.page-head p{color:#8a94a7;margin:0;font-size:14px}.btn{border:1px solid #dee4ef;background:white;border-radius:7px;padding:10px 16px;color:#506079;font-weight:500;white-space:nowrap}.btn:hover{background:#f0f3fa}.primary{background:#2950e6;border-color:#2950e6;color:white;box-shadow:0 3px 7px #2447c51a}.primary:hover{background:#1e40c8}.danger{color:#d35454}.small{padding:6px 10px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid #e5eaf2;border-radius:10px;padding:21px 22px;position:relative}.stat-title{color:#69778e;font-size:14px}.stat strong{font-size:32px;display:block;margin:10px 0 4px;letter-spacing:-1px}.stat strong small{font-size:14px;color:#909aac;font-weight:400;margin-left:5px}.stat p{font-size:12px;margin:0;color:#93a0b1}.stat-icon{position:absolute;right:20px;top:20px;color:#4564cf;background:#eff3ff;border-radius:8px;padding:7px 10px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.panel{background:white;border:1px solid #e5eaf2;border-radius:10px;overflow:hidden;margin-bottom:24px}.panel-head{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f6;gap:10px}.panel h2{margin:0;font-size:16px}.meta{font-size:12px;color:#95a0b4}.toolbar{display:flex;gap:8px;padding:16px 23px;border-bottom:1px solid #eef1f7;flex-wrap:wrap}.chip{border:0;background:transparent;color:#8994a8;padding:7px 12px;border-radius:6px}.chip.active{color:#3156d7;background:#eef2ff;font-weight:600}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-weight:500;color:#8793a8;background:#fafbfd;font-size:12px;padding:13px 20px}td{border-top:1px solid #f0f2f7;padding:19px 20px;font-size:14px;color:#66758b}.person{display:flex;gap:11px;align-items:center}.person strong{display:block;color:#29374e;font-size:14px}.person small{font-size:11px;color:#98a3b4}.face{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#e9edfb;color:#6173b8;font-weight:600}.pill{font-size:12px;padding:5px 9px;border-radius:5px;display:inline-block;background:#f0f3f8;color:#8590a3}.green{background:#e9f7f0;color:#2a9c74}.orange{background:#fff3e2;color:#c58d32}.red{background:#fceced;color:#d5686b}.blue{background:#edf2ff;color:#5178d5}.alert{padding:18px 22px;border-bottom:1px solid #edf0f5}.alert:last-child{border:0}.alert strong{font-size:14px;display:block;margin:7px 0}.alert p{margin:4px 0;color:#8c98aa;font-size:12px}.alert-top{display:flex;justify-content:space-between;align-items:center}.link{background:none;border:none;color:#4668d9;font:inherit;font-size:12px;padding:0}.handover{padding:22px;border-bottom:1px solid #ecf0f6}.handover:last-child{border:0}.handover h3{margin:9px 0;font-size:16px}.handover p{color:#718098;margin:5px 0 17px;font-size:14px;white-space:pre-wrap}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.progress{height:4px;border-radius:2px;background:#edf0f8;margin:15px 0}.progress i{display:block;height:100%;background:#5675e4;border-radius:2px}.note{font-size:12px;color:#92a0b7;padding:15px 22px;margin:0;background:#fcfdff}.schedule{table-layout:fixed;min-width:850px}.schedule td{padding:14px 10px;vertical-align:top}.schedule th{padding:14px 10px}.shift{display:block;border:0;text-align:left;background:#eff3ff;color:#5970b3;border-left:3px solid #6c89e5;padding:9px;width:100%;border-radius:5px;font-size:12px}.shift.night{background:#f0eef9;color:#8273b1;border-color:#9c88ce}.shift.off{background:#f5f6f8;color:#9ba4b4;border-color:#dce1ea}.shift small{display:block;margin-top:4px;font-size:11px}.clock{padding:35px;text-align:center}.clock strong{font-size:46px;letter-spacing:1px;display:block;margin:10px 0}.clock .row{justify-content:center;margin-top:25px}.empty{padding:40px;text-align:center;color:#96a0b2}.settings{padding:24px;line-height:1.9}.settings h3{font-size:15px;margin:0 0 6px}.settings p{color:#8490a5;margin:0 0 22px}.setting-row{padding:20px 0;border-bottom:1px solid #edf0f5}.setting-row:last-child{border:0}.setting-row small{color:#8996ab;display:block}select,input,textarea{border:1px solid #dfe5ef;background:white;border-radius:6px;padding:10px;color:#53627b;max-width:100%}header select{font-size:12px;padding:7px}dialog{border:1px solid #dfe5ef;border-radius:14px;padding:26px;width:480px;max-width:94vw;color:#24314b;box-shadow:0 20px 100px #18274933}dialog::backdrop{background:#16234066;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-head h2{font-size:20px;margin:0}.icon-btn{border:0;background:none;font-size:25px;color:#8593ab}label{display:block;color:#6e7c94;font-size:13px;margin:17px 0}label input,label select,label textarea{display:block;width:100%;margin-top:8px}textarea{resize:vertical;min-height:95px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}footer{display:flex;justify-content:space-between;padding:15px 38px;color:#a1abbb;font-size:11px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#24365c;color:white;border-radius:8px;padding:14px 24px;box-shadow:0 5px 25px #1f35532e;display:none;z-index:10}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.muted{color:#93a0b1}.badge-count{color:#6079d3;background:#eff2fc;padding:2px 6px;border-radius:4px;font-size:11px;margin-left:auto}@media(min-width:1500px){main{padding-top:44px}.grid{grid-template-columns:minmax(0,1fr) 350px}}@media(max-width:1150px){aside{width:200px;padding:30px 14px}.shell{margin-left:200px}main{padding:25px 22px}.grid{grid-template-columns:1fr}.grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:20px}header{padding:0 22px}.date{display:none}}@media(max-width:760px){aside{position:static;width:auto;padding:14px;border-right:0}.brand{font-size:23px}.brand-sub,.workspace,.nav-label,.side-bottom{display:none}nav{display:flex;overflow:auto;margin-top:15px}nav a{white-space:nowrap;margin:0;padding:10px;font-size:12px;gap:5px}.nav-icon{font-size:16px}.shell{margin:0}header{height:60px;padding:0 16px}.header-right{gap:8px}.notice{padding:9px 16px}main{padding:23px 16px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:17px}.stat-icon{display:none}.stat strong{font-size:27px}.page-head{align-items:flex-start}h1{font-size:24px}.page-head p{font-size:12px}.grid>div:last-child,.split{display:block}.panel-head{padding:18px}.btn{padding:9px 12px}.badge-count{display:none}footer{padding:15px}td{padding:16px}.clock{padding:24px}}
.login-wrap{max-width:460px;margin:8vh auto;padding:30px}.login-wrap .brand{margin-bottom:32px}.login-wrap h1{font-size:25px}.login-wrap p{color:#78869d}.login-wrap input{width:100%}.login-wrap .btn{width:100%;margin-top:15px}.login-wrap label{font-size:14px}.login-wrap .panel{padding:28px;overflow:visible}.login-wrap .secret{font-family:monospace;font-size:18px;word-break:break-all;background:#edf2ff;padding:15px;color:#253b71;user-select:all}.login-wrap pre{white-space:pre-wrap;user-select:all;background:#f2f5fb;padding:15px}.hidden{display:none!important}.error{color:#c64848!important;background:#fff0f0;padding:12px;border-radius:6px}.actions{display:flex;gap:8px;flex-wrap:wrap}.panel-body{padding:24px}.wide-field{width:100%}.multiselect{height:140px}.mono{font-family:monospace}.tabs{display:flex;gap:8px}.foothelp{font-size:12px;color:#8090aa}.row-top{align-items:flex-start}.section-label{margin:24px 0 14px;font-size:17px}.event{padding:10px 0;border-bottom:1px solid #edf0f6}.records td{vertical-align:top}.records .btn{font-size:12px;padding:5px 7px}.alert-count{background:#fbe9e8;color:#cc554e;border-radius:4px;padding:3px 8px}.notice{font-size:13px}.form-error{color:#c64848;white-space:pre-wrap}dialog{max-height:90vh;overflow:auto}.grid>div:last-child{min-width:0}td .meta{white-space:normal;line-height:1.8}.auth-heading{color:#3156d7;font-weight:600}.badge{display:inline-block;margin-left:5px;background:#e9eefb;padding:3px 6px;border-radius:5px;font-size:12px}.btn:disabled{opacity:.5;cursor:wait}code{word-break:break-all}.check-list{font-size:13px;color:#7e8ba2;line-height:1.8}.status-line{padding:14px 23px;color:#8490a6;font-size:12px}.text-content{white-space:pre-wrap;overflow-wrap:anywhere}.table-wrap .person{min-width:120px}@media(max-width:760px){.login-wrap{padding:15px;margin:3vh auto}.login-wrap .panel{padding:23px}.header-right .btn{font-size:12px}.clock strong{font-size:34px}}

/* OPERATIONS_V2 */
.history-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.history-filter label{min-width:140px;flex:1}
.history-filter input,.history-filter select{width:100%}
.handover summary{cursor:pointer;font-weight:600;line-height:1.7;padding:6px 0;overflow-wrap:anywhere}
.handover[open] summary{margin-bottom:16px}
.handover .actions{flex-wrap:wrap;gap:6px}
.audit-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:480px;overflow:auto}
@media(max-width:640px){.history-filter label{min-width:120px}.handover summary .meta{display:block}}

/* COA_ENTRY_V1 — selectors are scoped to the signed-out cover and auth dialog. */
#brand-entry{background:#f8f7f3;color:#292d26;min-height:100vh;min-height:100svh;font-family:Arial,'Noto Sans KR',sans-serif}
#brand-entry .entry-frame{width:min(1200px,calc(100% - 96px));min-height:100vh;min-height:100svh;margin:0 auto;display:flex;flex-direction:column}
#brand-entry .entry-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0}
#brand-entry .entry-logo{border:0;background:none;color:#292d26;font-size:16px;font-weight:500;letter-spacing:.19em;min-height:44px;padding:8px 0;touch-action:manipulation;user-select:none}
#brand-entry .entry-edition{color:#74796b;font-size:11px;letter-spacing:.15em}
#brand-entry .entry-hero{flex:1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding:40px 24px 64px;min-height:460px}
#brand-entry .entry-copy{padding-left:12px}
#brand-entry .entry-kicker{color:#727968;font-size:12px;letter-spacing:.18em;margin:0 0 28px}
#brand-entry h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,6.7vw,86px);font-weight:400;line-height:1.1;letter-spacing:-.035em;margin:0 0 28px}
#brand-entry .entry-sub{color:#727968;font-size:14px;margin:0 0 32px;line-height:1.8}
#brand-entry .entry-rule{width:48px;height:1px;background:#9a9d8d;margin-top:36px}
#brand-entry .entry-art{position:relative;isolation:isolate;width:100%;aspect-ratio:1/1;max-width:470px;justify-self:end;overflow:hidden}
#brand-entry .entry-disc{position:absolute;inset:14% 3% 5% 4%;border-radius:50%;background:radial-gradient(circle at 32% 20%,#eee7d8,#d6c5a7 66%,#b2b593);box-shadow:inset -18px -8px 40px #c1b09566}
#brand-entry .entry-arch{position:absolute;left:26%;right:10%;top:1%;bottom:12%;border-radius:180px 180px 0 0;border:1px solid #b5b69f;transform:rotate(-14deg)}
#brand-entry .entry-plinth{position:absolute;left:0;right:16%;bottom:3%;height:18%;background:linear-gradient(120deg,#d1d4c1,#aeb59b);transform:skewY(-5deg)}
#brand-entry .entry-sun{position:absolute;right:4%;top:8%;width:34px;height:34px;border-radius:50%;background:#ad8466}
#brand-entry .entry-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #dfdfd5;padding:24px 0;color:#787f6a;font-size:11px}
#entry-auth{width:440px;max-width:calc(100vw - 32px);padding:28px;background:#fffefa;color:#292d26;border:1px solid #dfdfd5;border-radius:12px;max-height:90vh;max-height:90svh;overflow:auto;box-shadow:0 24px 80px #23291f33}
#entry-auth::backdrop{background:#23291f77;backdrop-filter:blur(5px)}
#entry-auth .entry-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
#entry-auth .entry-dialog-brand{letter-spacing:.19em;font-size:14px;font-weight:500}
#entry-auth #entry-close{display:grid;place-items:center;border:0;border-radius:6px;background:#f1f1e9;color:#59604f;min-width:44px;min-height:44px;font-size:26px;line-height:1;padding:0}
#entry-auth #entry-close:disabled{opacity:.45;cursor:wait}
#entry-auth .login-wrap{max-width:none;margin:0;padding:0}
#entry-auth .login-wrap>.brand{display:none}
#entry-auth .login-wrap .panel{padding:0;margin:0;border:0;border-radius:0;background:none;overflow:visible}
#entry-auth .login-wrap h1{font-size:24px;color:#292d26;font-weight:500;letter-spacing:-.5px;margin:0 0 16px}
#entry-auth .login-wrap p,#entry-auth .login-wrap label{color:#69715f}
#entry-auth .login-wrap input{background:#fffefa;color:#343c2c;border-color:#d9dcd0;font-size:16px;min-height:44px}
#entry-auth .login-wrap .btn{background:#3b4831;border-color:#3b4831;color:#fffefa;box-shadow:none;min-height:46px}
#entry-auth .login-wrap .btn:hover{background:#4d5d40}
#entry-auth .login-wrap .secret,#entry-auth .login-wrap pre{background:#eff1e8;color:#343c2c;overflow-wrap:anywhere}
#entry-auth .form-error{color:#b63c38!important}
#entry-auth .login-wrap .foothelp{font-size:12px}
@media(max-width:640px){
  #brand-entry .entry-frame{width:calc(100% - 48px)}
  #brand-entry .entry-top{padding:18px 0}
  #brand-entry .entry-edition{display:none}
  #brand-entry .entry-hero{grid-template-columns:1fr;padding:24px 0 34px;gap:20px;min-height:0}
  #brand-entry .entry-copy{padding-left:0}
  #brand-entry .entry-art{max-width:280px}
  #brand-entry h1{font-size:54px;margin-bottom:20px}
  #brand-entry .entry-kicker{margin-bottom:20px}
  #brand-entry .entry-sub{margin-bottom:20px}
  #brand-entry .entry-rule{margin-top:24px}
  #entry-auth{padding:22px}
}

.ops-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin:14px 0}.ops-thumb,.ops-draft{min-width:0;border:1px solid #dae2eb;background:#f8fafc;border-radius:10px;overflow:hidden;padding:8px;text-align:left}.ops-thumb{cursor:pointer;font:inherit}.ops-thumb img,.ops-draft img{display:block;width:100%;height:140px;object-fit:contain;background:#fff;border-radius:6px}.ops-thumb span,.ops-draft span{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:8px 0}.ops-draft .btn{width:100%}.ops-upload{border:1px dashed #a8bbcd;border-radius:12px;padding:14px}.ops-upload input{max-width:100%}.ops-image-large{max-width:100%;height:auto;display:block;margin:0 auto}dialog:has(.ops-image-large){width:min(1100px,95vw);max-width:95vw}dialog:has(.ops-image-large) .fields{max-height:75vh;overflow:auto}dialog .ops-gallery{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}
@media(max-width:1000px){.ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.ops-grid{grid-template-columns:1fr}.ops-overview{align-items:flex-start;flex-direction:column}.ops-thumb img,.ops-draft img{height:120px}}

/* COA_SHIFT_DASHBOARD_V1 — all selectors scoped to the administrator dashboard. */
.shift-dashboard{--sb-ink:#243247;--sb-line:#e2e7ee;color:var(--sb-ink)}
.shift-dashboard .sb-title{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:16px}
.shift-dashboard .sb-title h1{font-size:27px;margin:0 0 5px}
.shift-dashboard .sb-title p{margin:0;color:#718096;font-size:13px}
.shift-dashboard .sb-title .eyebrow{font-size:10px;margin-bottom:5px}
.shift-dashboard .sb-title-tools{display:flex;gap:8px;flex-wrap:wrap}
.shift-dashboard .sb-title-tools a{text-decoration:none}
.shift-dashboard .sb-update{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#69768b;margin-bottom:14px;flex-wrap:wrap}
.shift-dashboard .sb-update>span{display:flex;align-items:center;gap:7px}
.shift-dashboard .sb-update i,.shift-dashboard .sb-connection i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#98a4b5;flex:none}
.shift-dashboard .sb-update i{background:#21976e}
.shift-dashboard .sb-update.is-stale{background:#fff1da;color:#8c5b12;padding:10px;border-radius:6px}
.shift-dashboard .sb-update.is-stale i{background:#b5791f}
.shift-dashboard .sb-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--sb-line);border-radius:10px;margin-bottom:16px;padding:15px 0}
.shift-dashboard .sb-totals>div{display:flex;justify-content:space-between;align-items:center;padding:0 22px;gap:8px;border-right:1px solid #e8ecf1}
.shift-dashboard .sb-totals>div:last-child{border-right:0}
.shift-dashboard .sb-totals span{font-size:13px;color:#637188}
.shift-dashboard .sb-totals strong{font-size:25px;font-variant-numeric:tabular-nums;white-space:nowrap}
.shift-dashboard .sb-totals small{font-size:12px;font-weight:400;color:#7a879a;margin-left:5px}
.shift-dashboard .sb-total-work strong{color:#168663}.shift-dashboard .sb-total-away strong{color:#a86a16}.shift-dashboard .sb-total-danger strong{color:#bf3d40}
.shift-dashboard .sb-attention{display:flex;gap:14px;align-items:center;background:#fff1ef;color:#a23a38;padding:11px 15px;border:1px solid #f0ccc8;border-radius:8px;margin-bottom:16px;font-size:12px;flex-wrap:wrap}
.shift-dashboard .sb-attention>strong{white-space:nowrap}
.shift-dashboard .sb-attention>div{flex:1;display:flex;gap:7px 16px;flex-wrap:wrap;min-width:140px}
.shift-dashboard .sb-attention a{color:#9a3734;white-space:nowrap;font-weight:600}
.shift-dashboard .sb-shifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.shift-dashboard .sb-shift{border:1px solid var(--sb-line);border-radius:12px;overflow:hidden;background:#fff;min-width:0}
.shift-dashboard .sb-shift.sb-unknown{margin-top:18px}
.shift-dashboard .sb-shift-head{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.shift-dashboard .sb-day .sb-shift-head{background:#fff5e1;color:#71501d;border-bottom:1px solid #f0dfbe}
.shift-dashboard .sb-night .sb-shift-head{background:#273a59;color:#f4f7ff;border-bottom:1px solid #273a59}
.shift-dashboard .sb-unknown .sb-shift-head{background:#f1f4f8}
.shift-dashboard .sb-shift-name{display:flex;gap:13px;align-items:center;min-width:0}
.shift-dashboard .sb-shift-icon{font-size:27px;line-height:1;width:34px;text-align:center}
.shift-dashboard .sb-shift-head h2{font-size:19px;letter-spacing:-.5px;margin:0 0 4px}
.shift-dashboard .sb-shift-head p{font-size:12px;margin:0;line-height:1.4;opacity:.85}
.shift-dashboard .sb-team-count{font-size:25px;font-weight:700;white-space:nowrap}
.shift-dashboard .sb-team-count small{font-size:13px;margin-left:4px;font-weight:400}
.shift-dashboard .sb-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 9px;border-bottom:1px solid var(--sb-line);background:#fbfcfe}
.shift-dashboard .sb-counters>div{display:flex;justify-content:center;gap:8px;align-items:center;border-right:1px solid #e7ebf1}
.shift-dashboard .sb-counters>div:last-child{border:0}
.shift-dashboard .sb-counters span{font-size:11px;color:#65738a}
.shift-dashboard .sb-counters strong{font-size:16px;font-variant-numeric:tabular-nums}
.shift-dashboard .sb-counters .sb-count-warning strong{color:#b53b3f}
.shift-dashboard .sb-member{padding:16px 18px 12px;border-bottom:1px solid #e9edf3;position:relative}
.shift-dashboard .sb-member:last-child{border:0}
.shift-dashboard .sb-member.needs-attention{background:#fffafa;box-shadow:inset 3px 0 #d26868}
.shift-dashboard .sb-member-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}
.shift-dashboard .sb-person{display:flex;gap:9px;align-items:center;min-width:0}
.shift-dashboard .sb-person>div{min-width:0}
.shift-dashboard .sb-person strong{display:block;font-size:15px;overflow-wrap:anywhere;line-height:1.3}
.shift-dashboard .sb-avatar{width:30px;height:30px;border-radius:9px;background:#f0f3f8;color:#6a7b93;display:grid;place-items:center;flex:none;font-size:12px;font-weight:600}
.shift-dashboard .sb-part{display:block;color:#718096;font-size:11px;line-height:1.5;margin-top:2px;overflow-wrap:anywhere}
.shift-dashboard .sb-status{display:flex;gap:4px;justify-content:flex-end;flex-wrap:wrap;max-width:54%;flex:none}
.shift-dashboard .sb-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;background:#f0f3f7;color:#647186}
.shift-dashboard .sb-pill.sb-work{background:#e5f5ed;color:#137650}.shift-dashboard .sb-pill.sb-away{background:#fff1d6;color:#936015}.shift-dashboard .sb-pill.sb-danger{background:#fbe7e5;color:#b0393b}.shift-dashboard .sb-pill.sb-wait{background:#eaf0fb;color:#41669f}
.shift-dashboard .sb-facts{display:grid;grid-template-columns:1.8fr .8fr 1fr;gap:8px}
.shift-dashboard .sb-facts>div{min-width:0}
.shift-dashboard .sb-facts span{display:block;font-size:10px;color:#738198;margin-bottom:4px}
.shift-dashboard .sb-facts strong{display:block;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.4}
.shift-dashboard .sb-member-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-top:9px;font-size:10px;color:#6f7e92;flex-wrap:wrap}
.shift-dashboard .sb-connection{display:inline-flex;align-items:center;gap:5px}
.shift-dashboard .sb-connection.is-online i{background:#24956e}
.shift-dashboard .sb-away-reason{color:#8c652e;overflow-wrap:anywhere}
.shift-dashboard .sb-empty{padding:46px 16px;text-align:center;color:#6f7e92;font-size:13px}
.shift-dashboard .sb-explanation{font-size:11px;color:#77849a;line-height:1.8;margin:10px 0 16px}
.shift-dashboard .sb-followups{display:flex;gap:9px 20px;align-items:center;flex-wrap:wrap;margin-bottom:13px;font-size:12px;color:#67768c}
.shift-dashboard .sb-followups>span:first-child{font-weight:600;color:#33465f}
.shift-dashboard .sb-followups a{color:#506a92;text-decoration:none}
.shift-dashboard .sb-followups b{color:#314c77}
.shift-dashboard .sb-detail{background:white;border:1px solid var(--sb-line);border-radius:8px;margin-bottom:8px;overflow:hidden}
.shift-dashboard .sb-detail>summary{padding:13px 16px;cursor:pointer;font-size:12px;color:#46566f}
.shift-dashboard .sb-detail>summary>span:first-child{font-weight:600;margin-left:5px}
.shift-dashboard .sb-detail-count{float:right;font-size:11px;color:#75839a}
.shift-dashboard .sb-detail-content{border-top:1px solid var(--sb-line)}
.shift-dashboard .sb-detail-content>.panel{border:0;border-radius:0;margin:0}
.shift-dashboard .sb-detail-content .handover{padding:17px}
.shift-dashboard .sb-all-link{display:block;text-decoration:none;color:#4167aa;font-size:12px;padding:15px 20px}
.shift-dashboard .sb-ops{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin-top:15px;flex-wrap:wrap}
.shift-dashboard .sb-ops>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.shift-dashboard .sb-ops a{color:#5b6d88;text-decoration:none}
.shift-dashboard .sb-ops-note{color:#7a879a;font-size:11px}
@media(max-width:1200px){.shift-dashboard .sb-totals>div{padding:0 14px}.shift-dashboard .sb-shift-head{padding:15px}.shift-dashboard .sb-member{padding:14px}.shift-dashboard .sb-counters>div{gap:4px}.shift-dashboard .sb-facts{grid-template-columns:1.8fr .8fr 1fr}}
@media(max-width:1020px){.shift-dashboard .sb-shifts{grid-template-columns:1fr}.shift-dashboard .sb-facts{grid-template-columns:1.4fr 1fr 1fr}.shift-dashboard .sb-counters span{font-size:12px}.shift-dashboard .sb-member-top{align-items:center}.shift-dashboard .sb-shift-icon{font-size:25px}}
@media(max-width:600px){.shift-dashboard .sb-title{align-items:flex-start;flex-direction:column;gap:12px}.shift-dashboard .sb-title h1{font-size:24px}.shift-dashboard .sb-title-tools{width:100%}.shift-dashboard .sb-title-tools .btn{font-size:12px}.shift-dashboard .sb-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}.shift-dashboard .sb-totals>div:nth-child(2){border:0}.shift-dashboard .sb-totals span{font-size:12px}.shift-dashboard .sb-totals strong{font-size:23px}.shift-dashboard .sb-member{padding:14px}.shift-dashboard .sb-facts{grid-template-columns:1.5fr .8fr 1fr;gap:6px}.shift-dashboard .sb-facts strong{font-size:11px}.shift-dashboard .sb-facts span{font-size:10px}.shift-dashboard .sb-status{max-width:52%}.shift-dashboard .sb-person strong{font-size:14px}.shift-dashboard .sb-attention{align-items:flex-start;gap:8px}.shift-dashboard .sb-attention>div{flex-basis:100%}.shift-dashboard .sb-shift-head h2{font-size:18px}.shift-dashboard .sb-explanation{font-size:10px}}

/* COA_READABLE_IMAGES_V1: readable dashboard without changing attendance rules. */
.shift-dashboard{font-size:14px;line-height:1.6;--sb-ink:#17263d;--sb-line:#d7dfe9}
.shift-dashboard .sb-title h1{font-size:30px;line-height:1.3}
.shift-dashboard .sb-title p{font-size:14px;color:#47576d}
.shift-dashboard .sb-title .eyebrow{font-size:11px;color:#536278}
.shift-dashboard .btn{font-size:14px;min-height:44px;white-space:normal}
.shift-dashboard .sb-update{font-size:13px;color:#47576d;gap:12px;margin-bottom:20px}
.shift-dashboard .sb-totals{padding:20px 0;margin-bottom:22px}
.shift-dashboard .sb-totals>div{padding:0 22px;flex-wrap:wrap}
.shift-dashboard .sb-totals span{font-size:14px;color:#44536a}
.shift-dashboard .sb-totals strong{font-size:32px;line-height:1.3}
.shift-dashboard .sb-totals small{font-size:14px;color:#526079}
.shift-dashboard .sb-attention{font-size:14px;line-height:1.7;padding:16px 20px;gap:12px}
.shift-dashboard .sb-attention>div{min-width:0}
.shift-dashboard .sb-shifts{gap:22px}
.shift-dashboard .sb-shift-head{padding:21px 22px}
.shift-dashboard .sb-shift-head h2{font-size:23px;line-height:1.35}
.shift-dashboard .sb-shift-head p{font-size:13px;line-height:1.6;opacity:1}
.shift-dashboard .sb-shift-icon{font-size:32px;width:38px}
.shift-dashboard .sb-team-count{font-size:30px}
.shift-dashboard .sb-team-count small{font-size:14px}
.shift-dashboard .sb-counters{padding:15px 8px;gap:0}
.shift-dashboard .sb-counters>div{flex-direction:column;gap:0;padding:0 5px;text-align:center}
.shift-dashboard .sb-counters span{font-size:13px;color:#44536a}
.shift-dashboard .sb-counters strong{font-size:22px;line-height:1.4}
.shift-dashboard .sb-member{padding:22px;border-bottom-color:#dfe5ee}
.shift-dashboard .sb-member-top{gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.shift-dashboard .sb-person{gap:12px;flex:1 1 155px}
.shift-dashboard .sb-person strong{font-size:20px;line-height:1.45;color:#182a43}
.shift-dashboard .sb-avatar{width:42px;height:42px;font-size:16px}
.shift-dashboard .sb-part{font-size:13px;color:#4c5d74;line-height:1.5}
.shift-dashboard .sb-status{max-width:100%;gap:6px;justify-content:flex-start}
.shift-dashboard .sb-pill{font-size:14px;line-height:1.4;padding:7px 11px;font-weight:700;color:#46546a}
.shift-dashboard .sb-pill.sb-work{color:#116743}
.shift-dashboard .sb-pill.sb-away{color:#79500f}
.shift-dashboard .sb-pill.sb-danger{color:#a62c32}
.shift-dashboard .sb-pill.sb-wait{color:#315685}
.shift-dashboard .sb-facts{grid-template-columns:minmax(0,1.7fr) minmax(0,.9fr) minmax(0,1.1fr);gap:14px}
.shift-dashboard .sb-facts span{font-size:12px;color:#4b5b72;margin-bottom:5px}
.shift-dashboard .sb-facts strong{font-size:18px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.shift-dashboard .sb-facts>div:first-child strong{font-size:17px}
.shift-dashboard .sb-member-foot{font-size:12px;line-height:1.6;color:#4d5e74;gap:8px 16px;margin-top:17px}
.shift-dashboard .sb-connection i,.shift-dashboard .sb-update i{width:8px;height:8px}
.shift-dashboard .sb-empty{font-size:14px;color:#516078}
.shift-dashboard .sb-explanation{font-size:12px;color:#526178;line-height:1.8;margin:16px 0 20px}
.shift-dashboard .sb-followups{font-size:14px;color:#45566e;gap:10px 22px}
.shift-dashboard .sb-detail>summary{font-size:15px;padding:17px 20px}
.shift-dashboard .sb-detail-count{font-size:12px;color:#526178}
.shift-dashboard .sb-detail-content .handover{padding:22px}
.shift-dashboard .sb-detail-content .handover h3,.shift-dashboard .panel h2{font-size:18px}
.shift-dashboard .sb-detail-content .handover p,.shift-dashboard .sb-detail-content .alert p{font-size:14px;color:#4d5e74}
.shift-dashboard .sb-detail-content .alert strong{font-size:15px}
.shift-dashboard .sb-detail-content .meta,.shift-dashboard .sb-detail-content .note,.shift-dashboard .sb-detail-content .pill,.shift-dashboard .sb-detail-content .check-list{font-size:12px;color:#536178}
.shift-dashboard .sb-all-link{font-size:14px;padding:18px 22px}
.shift-dashboard .sb-ops{font-size:14px}
.shift-dashboard .sb-ops-note{font-size:12px;color:#536178}
@media(max-width:1250px){.shift-dashboard .sb-shifts{grid-template-columns:1fr}.shift-dashboard .sb-totals>div{padding:0 16px}}
@media(max-width:700px){
 .shift-dashboard .sb-title{align-items:flex-start;flex-direction:column}
 .shift-dashboard .sb-title h1{font-size:26px}
 .shift-dashboard .sb-title-tools{width:100%;flex-wrap:wrap}
 .shift-dashboard .sb-title-tools .btn{font-size:14px}
 .shift-dashboard .sb-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}
 .shift-dashboard .sb-totals>div:nth-child(2){border:0}
 .shift-dashboard .sb-totals span{font-size:14px}
 .shift-dashboard .sb-totals strong{font-size:28px}
 .shift-dashboard .sb-member,.shift-dashboard .sb-shift-head{padding:18px}
 .shift-dashboard .sb-shift-head h2{font-size:22px}
 .shift-dashboard .sb-person strong{font-size:20px}
 .shift-dashboard .sb-detail-count{float:none;display:block;margin-left:5px;margin-top:4px}
 .shift-dashboard .sb-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .shift-dashboard .sb-facts>div:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px dashed #dce2eb}
 .shift-dashboard .sb-status{max-width:100%}
 .shift-dashboard .sb-explanation{font-size:12px}
}

/* Image composer: explicit file button, clipboard/drop support and previews. */
#modal.coa-image-editor{width:760px;max-width:calc(100vw - 24px);padding:26px}
#modal.coa-image-editor label{font-size:16px;color:#394d69;font-weight:600;margin:16px 0}
#modal.coa-image-editor input,#modal.coa-image-editor select,#modal.coa-image-editor textarea{font-size:16px;color:#243852;font-weight:400;min-height:44px}
#modal.coa-image-editor textarea{min-height:130px}
#modal.coa-image-editor .modal-head h2{font-size:24px}
#modal.coa-image-editor .btn{font-size:16px;min-height:44px}
.coa-image-zone{padding:22px;border:2px dashed #8ea6cd;border-radius:12px;background:#f2f6ff;margin:18px 0;color:#233b60}
.coa-image-zone.is-dragging{background:#e4edff;border-color:#2b54c7}
.coa-image-zone-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.coa-image-zone-head strong{font-size:18px}.coa-image-count{font-size:15px;font-weight:600}
#modal.coa-image-editor .coa-image-zone .btn{background:#284fce;color:#fff;border-color:#284fce;font-weight:700}
.coa-image-help{font-size:15px;line-height:1.7;margin:12px 0 0;color:#3f5473}
.coa-image-limit{font-size:14px;line-height:1.7;color:#526681;margin:6px 0 0}
.coa-image-progress{font-size:15px;line-height:1.6;color:#1f4da9;min-height:1.6em;margin:12px 0 0}
.coa-image-error{font-size:15px;line-height:1.6;color:#a22934;white-space:pre-wrap;overflow-wrap:anywhere}
.coa-image-drafts{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;margin-top:16px}
.coa-image-draft{border:1px solid #d6deea;border-radius:10px;padding:10px;background:#fff;min-width:0}
.coa-image-draft img{display:block;width:100%;height:150px;object-fit:contain;background:#f6f8fb;border-radius:6px}
.coa-image-draft p{font-size:14px;line-height:1.5;color:#405574;overflow-wrap:anywhere;margin:10px 0}
#modal.coa-image-editor .coa-image-draft .btn{width:100%;font-size:14px;color:#8c3040}
#modal.coa-image-editor .note{font-size:14px;line-height:1.7;color:#4e607c}
.ops-thumb span{font-size:14px;color:#435973}.ops-thumb img{height:170px}
#modal.coa-image-viewer{width:min(1150px,95vw);max-width:95vw}
#modal.coa-image-viewer button[type=submit]{display:none}
#modal.coa-image-viewer .note{font-size:15px;color:#4e607c}
@media(max-width:600px){#modal.coa-image-editor{padding:18px}.coa-image-zone{padding:16px}.coa-image-zone-head{align-items:flex-start}.coa-image-zone-head .btn{width:100%}.coa-image-drafts{grid-template-columns:repeat(2,minmax(0,1fr))}.coa-image-draft img{height:120px}}

/* COA_TEAM_WORKSPACE_V1 */
.team-calendar .panel-head{gap:16px;flex-wrap:wrap}.team-calendar .panel-head h2{font-size:22px}
.team-calendar-tools{padding:14px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:#475569;font-size:14px}
.team-calendar-scroll{overflow:auto;max-height:76vh}
table.team-schedule{table-layout:fixed;min-width:1120px;width:100%;border-collapse:separate;border-spacing:0}
.team-schedule th,.team-schedule td{padding:12px 10px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;vertical-align:top;white-space:normal}
.team-schedule thead th{position:sticky;top:0;background:#f1f5f9;z-index:2;font-size:16px;text-align:center;color:#0f172a}
.team-schedule tr>th:first-child{position:sticky;left:0;width:100px;background:#f8fafc;z-index:1;font-size:17px;color:#0f172a}
.team-schedule thead th:first-child{z-index:3}.team-schedule th small{display:block;margin-top:7px;font-size:13px;font-weight:500}
.team-schedule .team-today{background:#f0f9ff}.team-schedule thead .team-today{background:#dbeafe;color:#1d4ed8}
.team-row-0>th:first-child{border-left:5px solid #3b82f6}.team-row-1>th:first-child{border-left:5px solid #8b5cf6}.team-row-2>th:first-child{border-left:5px solid #10b981}
.team-count{display:block;font-size:14px;font-weight:700;color:#475569;margin-bottom:10px}
.team-person{display:block;width:100%;border:1px solid #dbeafe;border-left:4px solid #3b82f6;border-radius:10px;padding:12px 10px;margin:0 0 10px;background:#eff6ff;text-align:left;color:#172554;font:inherit;overflow-wrap:anywhere;box-sizing:border-box}
button.team-person{cursor:pointer}button.team-person:hover{filter:brightness(.97);outline:2px solid #64748b}
.team-person strong{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:18px;line-height:1.4}
.team-person .team-part{display:block;font-size:13px;color:#475569;margin-top:3px}.team-time{display:block;font-size:15px;font-weight:650;margin-top:8px;line-height:1.55;font-variant-numeric:tabular-nums}
.team-person.night{background:#f5f3ff;border-color:#ddd6fe;border-left-color:#8b5cf6;color:#4c1d95}
.team-person.off{background:#ecfdf5;border-color:#a7f3d0;border-left-color:#10b981;color:#064e3b}
.team-person.unassigned{background:#f8fafc;border-color:#cbd5e1;border-left-color:#94a3b8;color:#334155}
.team-person.mine{box-shadow:0 0 0 2px #334155}.team-me{font-size:12px;background:#334155;color:white;border-radius:4px;padding:1px 5px}
.team-switched{display:block;margin-top:8px;font-size:12px;line-height:1.5;font-weight:650;color:#92400e;background:#fef3c7;padding:4px 6px;border-radius:5px}
.team-empty{font-size:14px;color:#64748b;margin:10px 0 18px}.team-schedule td>.btn{font-size:13px;width:100%;white-space:normal}
.team-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.team-comments{border-top:1px solid #dbe2ea;margin-top:18px;padding-top:16px}.team-comments h4{font-size:17px;margin:0}
.team-comment{margin-top:12px;padding:13px 15px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;overflow-wrap:anywhere}
.team-comment strong{font-size:15px}.team-comment .text-content{font-size:16px;line-height:1.65;margin:8px 0}.team-comment .actions .btn{font-size:13px;padding:5px 9px}
.team-edit-note{font-size:14px;color:#475569;padding:8px 0 0;margin-bottom:0}.team-comment-list{max-height:60vh;overflow:auto}
#team-modal-submit[hidden]{display:none}
@media(max-width:700px){.team-calendar-tools{padding:12px}.team-calendar .panel-head h2{font-size:18px}.team-calendar .panel-head .actions{width:100%;justify-content:space-between}.team-schedule tr>th:first-child{width:80px;font-size:15px}}

/* COA_COMPACT_VIEW_V1: compact calendar, scoped away from handover and attendance. */
.team-schedule-page .page-head{margin-bottom:14px;gap:12px}
.team-schedule-page .page-head h1{font-size:24px;line-height:1.3;margin-bottom:5px}
.team-schedule-page .page-head p{font-size:13px;margin-top:4px}
.team-schedule-page .eyebrow{font-size:10px;margin-bottom:4px}
.team-schedule-page .btn{font-size:12px;min-height:30px;padding:6px 9px;line-height:1.35}
.team-schedule-page .panel-head{padding:12px 14px;gap:10px}
.team-schedule-page .panel-head h2{font-size:18px;margin:0}
.team-schedule-page .team-calendar-tools{padding:8px 14px;gap:8px;font-size:12px}
.team-schedule-page .actions{gap:5px}
.team-schedule-page table.team-schedule{min-width:900px}
.team-schedule-page .team-schedule th,.team-schedule-page .team-schedule td{padding:6px;vertical-align:top}
.team-schedule-page .team-schedule thead th{padding:9px 5px;font-size:13px}
.team-schedule-page .team-schedule tr>th:first-child{width:82px;font-size:13px;padding:9px 6px;vertical-align:middle}
.team-schedule-page .team-schedule th small{font-size:11px;margin-top:3px}
.team-schedule-page .team-row-day-work>th:first-child{border-left:3px solid #3b82f6;background:#eff6ff;color:#1e40af}
.team-schedule-page .team-row-day-off>th:first-child{border-left:3px solid #60a5fa;background:#f0f9ff;color:#1e40af}
.team-schedule-page .team-row-night-work>th:first-child{border-left:3px solid #8b5cf6;background:#f5f3ff;color:#5b21b6}
.team-schedule-page .team-row-night-off>th:first-child{border-left:3px solid #a78bfa;background:#faf5ff;color:#5b21b6}
.team-schedule-page .team-count{font-size:11px;line-height:1.2;margin:0 0 4px;color:#64748b}
.team-schedule-page .team-person{padding:6px;margin:0 0 5px;border-radius:6px;border-left-width:3px}
.team-schedule-page .team-person:last-child{margin-bottom:0}
.team-schedule-page .team-person strong{font-size:14px;line-height:1.3;gap:4px;font-weight:650}
.team-schedule-page .team-time{font-size:12px;line-height:1.4;margin-top:3px;font-weight:500}
.team-schedule-page .team-kind{font-size:11px;font-weight:700}
.team-schedule-page .team-me{font-size:10px;padding:0 3px;line-height:1.4}
.team-schedule-page .team-switched{display:inline-block;margin:0;font-size:10px;padding:1px 3px;line-height:1.3}
.team-schedule-page .team-person.mine{box-shadow:0 0 0 1px #334155}
.team-schedule-page .team-person.off.day-off{background:#f0f9ff;border-color:#bfdbfe;border-left-color:#60a5fa;color:#1e40af}
.team-schedule-page .team-person.off.night-off{background:#faf5ff;border-color:#ddd6fe;border-left-color:#a78bfa;color:#5b21b6}
.team-schedule-page .team-empty{display:block;font-size:12px;margin:4px 0;color:#94a3b8;text-align:center}
.team-schedule-page .team-schedule td>.btn{margin-top:5px;padding:4px;min-height:26px;font-size:11px;line-height:1.3}
.team-schedule-page .note{font-size:12px;line-height:1.5;padding:10px 14px;margin:0}
@media(max-width:700px){.team-schedule-page .page-head{align-items:flex-start;flex-direction:column}.team-schedule-page .page-head h1{font-size:22px}.team-schedule-page .panel-head h2{font-size:16px}.team-schedule-page .team-schedule tr>th:first-child{width:76px}.team-schedule-page .team-calendar-tools{padding:8px 10px}}
