.unified-shell{font-family:Pretendard,"Malgun Gothic",sans-serif;background:#f8fafc;min-height:100vh}.unified-shell button,.unified-shell input,.unified-shell select,.unified-shell textarea{font-family:inherit}.unified-shell .workspace-sidebar{position:fixed;inset:0 auto 0 0;width:216px;height:100vh;padding:28px 18px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e2e8f0;z-index:30}.unified-shell .workspace-sidebar .brand{font-size:20px}.unified-shell .integrated-mark{background:#4b006b;color:white}.unified-shell .workspace-sidebar nav{display:block;margin-top:36px}.unified-shell .nav-item{width:100%;display:flex;gap:12px;justify-content:flex-start;padding:13px 14px;font-size:13px;margin:4px 0}.unified-shell .nav-item.active{background:#fbf6fd;color:#3d0057}.unified-shell .nav-item.active .nav-number{color:#4b006b}.unified-shell .sidebar-foot{margin-top:auto;font-size:11px}.unified-shell .sidebar-foot small{padding:8px 0;font-size:10px}.unified-shell .integrated-main{margin-left:216px}.unified-shell .integrated-content{max-width:1440px;padding:24px;margin:0 auto}.unified-shell .workspace-topbar{height:76px;padding:0 24px;background:#0f172a;color:white;border:0}.unified-shell .workspace-topbar>div{display:flex;gap:18px;align-items:center}.unified-shell .workspace-topbar .secondary{background:#1e293b;color:#cbd5e1;border-color:#334155;font-size:11px;min-height:32px;padding:6px 10px}.unified-shell .workspace-page-title{font-size:14px;color:#fff}.unified-shell .global-store-count{display:block;text-align:right}.unified-shell .global-store-count strong{font-size:17px;line-height:24px;color:white}.unified-shell .global-store-count small{font-size:9px;line-height:14px;color:#cbd5e1}.unified-shell .integrated-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;min-height:34px}.unified-shell .integrated-heading h1{font-size:24px;line-height:34px;font-weight:700;color:#1e293b;margin:0;letter-spacing:-.5px}.unified-shell .integrated-heading .sample-pill{font-size:10px;background:#fbf6fd;border-color:#ecd6f5;color:#310046}.unified-shell #workspace-menu-toggle{display:none}.unified-shell .virtual-reply-panel{max-width:none}.unified-shell .home-intro{display:none}.unified-shell .home-overview .score-empty-grid{margin-top:0}.unified-shell .integrated-footer{display:none}
@media(max-width:1100px) and (min-width:701px){.unified-shell .workspace-sidebar{width:185px;padding:24px 12px}.unified-shell .integrated-main{margin-left:185px}.unified-shell .home-overview .score-empty-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.unified-shell .workspace-sidebar{display:none;top:76px;width:230px;height:calc(100vh - 76px);box-shadow:8px 0 24px #0f172a12}.unified-shell.menu-open .workspace-sidebar{display:flex}.unified-shell #workspace-menu-toggle{display:inline-flex;min-height:32px}.unified-shell .integrated-main{margin-left:0}.unified-shell .workspace-topbar{height:76px;padding:10px 12px;gap:8px}.unified-shell .workspace-topbar>div{gap:8px}.unified-shell .workspace-page-title{display:none}.unified-shell .global-store-count strong{font-size:12px;line-height:20px}.unified-shell .global-store-count small{font-size:8px;line-height:13px}.unified-shell .workspace-topbar #logout{font-size:9px;padding:5px;min-height:28px;max-width:64px}.unified-shell .integrated-content{padding:18px 16px}.unified-shell .integrated-heading{gap:8px;margin-bottom:18px}.unified-shell .integrated-heading h1{font-size:21px}.unified-shell .integrated-heading .sample-pill{max-width:145px;white-space:normal;font-size:9px}.unified-shell .home-overview .score-empty-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.unified-shell *{scroll-behavior:auto}}
html{scrollbar-gutter:stable}

/* Operating count now belongs to the page title row; no dark header band. */
.unified-shell .workspace-topbar{height:90px;max-width:1440px;margin:0 auto;padding:24px;background:transparent;color:#1e293b;border:0;box-shadow:none}.unified-shell .workspace-topbar .integrated-heading{margin:0;min-height:34px;justify-content:flex-start}.unified-shell .workspace-topbar .workspace-page-title{display:block;font-size:24px;line-height:34px;color:#1e293b}.unified-shell .workspace-topbar .global-store-count strong{color:#334155}.unified-shell .workspace-topbar .global-store-count small{color:#94a3b8}.unified-shell .workspace-topbar .secondary{background:#fff;color:#64748b;border-color:#e2e8f0}.unified-shell .integrated-content{padding-top:0}.sales-svg:focus{outline:none}.sales-svg:focus-visible{outline:2px solid #debbee;outline-offset:3px;border-radius:4px}
@media(max-width:700px){.unified-shell .workspace-topbar{height:auto;min-height:116px;padding:18px 16px;flex-wrap:wrap;gap:12px}.unified-shell .workspace-topbar>div:last-child{margin-left:auto}.unified-shell .workspace-topbar .workspace-page-title{font-size:21px;line-height:30px}.unified-shell .workspace-sidebar{top:116px;height:calc(100vh - 116px)}.unified-shell .integrated-content{padding-top:0}}

.workspace-brand-logo{display:block;width:44px;height:44px;object-fit:contain;aspect-ratio:1;border-radius:50%;flex:0 0 44px}
.unified-shell .workspace-sidebar .nav-item{transition:transform 150ms ease,box-shadow 150ms ease,background-color 150ms ease;transform:translateY(0)}
.unified-shell .workspace-sidebar .nav-item.active{box-shadow:inset 3px 0 0 #4b006b}
.unified-shell .workspace-sidebar .nav-item:focus-visible{outline:2px solid #3d0057;outline-offset:2px;background:#f8f0fb;box-shadow:0 4px 10px #46464614}
.unified-shell .workspace-sidebar .nav-item.active:focus-visible{box-shadow:inset 3px 0 0 #4b006b,0 4px 10px #46464614}
@media(hover:hover) and (pointer:fine){.unified-shell .workspace-sidebar .nav-item:hover{transform:translateY(-2px);background:#f8f0fb;box-shadow:0 5px 12px #46464617}.unified-shell .workspace-sidebar .nav-item.active:hover{box-shadow:inset 3px 0 0 #4b006b,0 5px 12px #46464617}}
@media(prefers-reduced-motion:reduce){.unified-shell .workspace-sidebar .nav-item{transition:none}.unified-shell .workspace-sidebar .nav-item:hover{transform:none}}

.workspace-sidebar .brand-demo-badge{display:inline-block;vertical-align:middle;font-size:9px;line-height:16px;font-weight:600;font-style:normal;color:#310046;background:#f6edfa;border-radius:4px;padding:0 4px;margin-left:5px;white-space:nowrap}

.blind-coming-soon{min-height:calc(100dvh - 150px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:48px 20px;text-align:center}.blind-coming-soon img{display:block;width:160px;height:160px;object-fit:contain;border-radius:50%;box-shadow:0 12px 30px #3d005712}.blind-coming-soon h2{margin:0;color:#334155;font-size:25px;font-weight:650;letter-spacing:-.04em}@media(max-width:650px){.blind-coming-soon{min-height:calc(100dvh - 180px);padding:32px 16px;gap:20px}.blind-coming-soon img{width:132px;height:132px}.blind-coming-soon h2{font-size:22px}}

/* User reference: dark sidebar only; main content keeps its existing theme. */
.unified-shell .workspace-sidebar{width:258px;padding:28px 0 22px;background:radial-gradient(circle 78px at -12px -5px,#541a13 99%,transparent 100%),radial-gradient(circle 95px at 162px -22px,#363636 99%,transparent 100%),#111111;border-right:1px solid #262626;overflow-x:hidden;overflow-y:auto;color:#e0e0e0}
.unified-shell .workspace-sidebar .brand{display:flex;align-items:center;gap:12px;min-height:64px;margin:0 22px;font-size:23px;line-height:30px;color:#fff;text-decoration:none;position:relative;flex-shrink:0}
.unified-shell .workspace-sidebar .brand>span{font-weight:800;letter-spacing:-.8px}
.unified-shell .workspace-sidebar .brand small{display:block;margin-top:5px;color:#afafaf;font-size:11px;line-height:18px;letter-spacing:0;font-weight:500}
.unified-shell .workspace-sidebar .brand-demo-badge{font-size:8px;line-height:14px;letter-spacing:0;background:#2c2c2c;color:#e4c5f1;padding:1px 3px;margin-left:4px}
.unified-shell .workspace-sidebar nav{display:block;margin:54px 0 22px;flex-shrink:0}
.unified-shell .workspace-sidebar .nav-item{position:relative;display:flex;align-items:center;gap:18px;min-height:64px;width:100%;padding:0 26px;margin:0;border:0;border-radius:0;background:transparent;color:#d7d7d7;font-size:15px;line-height:24px;font-weight:750;letter-spacing:-.3px;text-align:left;transform:none;box-shadow:none;transition:background-color 150ms ease,color 150ms ease}
.unified-shell .workspace-sidebar .nav-number{flex:0 0 24px;color:#bababa;font-size:13px;font-weight:700;letter-spacing:1px}
.unified-shell .workspace-sidebar .nav-item.active{background:#282828;color:#fff;box-shadow:inset 5px 0 0 #58007e}
.unified-shell .workspace-sidebar .nav-item.active .nav-number{color:#6d009c}
.unified-shell .workspace-sidebar .nav-item.active::after{content:'';position:absolute;right:23px;top:29px;width:6px;height:6px;border-radius:50%;background:#59007f;box-shadow:0 0 10px #59007faa}
.unified-shell .workspace-sidebar .nav-item:focus-visible,.unified-shell .workspace-sidebar .brand:focus-visible{outline:2px solid #dcb5ec;outline-offset:-4px;background-color:#262626}
.unified-shell .workspace-sidebar .nav-item.active:focus-visible{box-shadow:inset 5px 0 0 #58007e}
.unified-shell .workspace-sidebar .sidebar-foot{margin: auto 24px 0;padding-top:20px;border-top:1px solid #34302b;color:#b7b7b7;font-size:11px;line-height:18px;flex-shrink:0}
.unified-shell .workspace-sidebar .sidebar-foot small{display:block;padding:5px 0 0;color:#929292;font-size:10px;line-height:17px}
.unified-shell .integrated-main{margin-left:258px}
@media(hover:hover) and (pointer:fine){.unified-shell .workspace-sidebar .nav-item:hover{transform:none;background:#232323;color:#fff;box-shadow:none}.unified-shell .workspace-sidebar .nav-item.active:hover{background:#303030;box-shadow:inset 5px 0 0 #58007e}}
@media(max-width:700px){.unified-shell .workspace-sidebar{top:116px;width:min(258px,calc(100vw - 32px));height:calc(100dvh - 116px);padding-top:22px;box-shadow:12px 0 30px #0005}.unified-shell .integrated-main{margin-left:0}.unified-shell .workspace-sidebar nav{margin-top:36px}.unified-shell .workspace-sidebar .sidebar-foot{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.unified-shell .workspace-sidebar .nav-item{transition:none}}

.unified-shell .workspace-sidebar .nav-number{display:inline-block}

.unified-shell .workspace-sidebar .brand{justify-content:flex-start}
.unified-shell .workspace-sidebar .sidebar-foot{display:block}

.unified-shell .kpi-card .collection-timestamp{font-size:18px;line-height:1.5;overflow-wrap:anywhere}

.local-job-panel{margin-bottom:28px}.local-job-panel p,.local-job-panel h4{overflow-wrap:anywhere}.local-job-panel .row{flex-wrap:wrap}

#report-upload{display:grid;gap:12px;margin:18px 0}#report-upload label{display:grid;gap:6px}#report-upload input{max-width:100%;min-width:0}.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.report-metrics div{padding:12px;background:#fbf6fd;border-radius:10px}.report-metrics dd{margin:6px 0 0;font-weight:700}.report-metrics dt{color:#60636b}

/* 본사용/점주용 화면 전환 (2026-10-29) */
.unified-shell .workspace-sidebar nav{overflow-y:auto;min-height:0;flex:1 1 auto;margin-bottom:12px}
.unified-shell .nav-group{margin:16px 6px 4px;font-size:10px;font-weight:700;letter-spacing:.5px;color:#94a3b8}
.unified-shell .nav-group:first-child{margin-top:0}
.unified-shell[data-view=hq] .nav-item{padding:9px 14px;margin:2px 0;min-height:38px}
.ws-switch{display:inline-flex;border:1px solid #334155;border-radius:9px;overflow:hidden;background:#1e293b}
.ws-switch button{border:0;border-radius:0;min-height:32px;padding:6px 12px;font-size:12px;background:transparent;color:#cbd5e1;cursor:pointer}
.ws-switch button[aria-pressed=true]{background:#4b006b;color:#fff}
.ws-switch .ws-guide{display:inline-flex;align-items:center;min-height:32px;padding:6px 12px;font-size:12px;color:#ecd6f5;text-decoration:none;border-left:1px solid #334155}
.ws-switch .ws-guide:hover{background:#334155;color:#fff}
.ws-preview-note{margin:0 0 16px;padding:10px 14px;border:1px dashed #debbee;border-radius:9px;background:#fbf6fd;color:#310046;font-size:12px}
.ws-chip{display:inline-block;padding:3px 9px;border-radius:99px;font-size:11px;font-weight:600;background:#f1f5f9;color:#64748b;white-space:nowrap}
.ws-chip.wait{background:#fbf6fd;color:#3d0057}.ws-chip.ok{background:#ecfdf5;color:#047857}
.ws-group{font-size:13px;color:#475569;margin:22px 0 10px}
.ws-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.ws-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer}
.ws-card:hover{border-color:#debbee;background:#fdfafe}.ws-card b{font-size:15px;color:#0f172a}.ws-card span{font-size:12px;color:#64748b;line-height:1.6}
.ws-reuse{display:flex;flex-wrap:wrap;gap:8px}
.ws-platform{display:grid;gap:4px;margin:14px 0;padding:14px 16px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px}
.ws-platform small{color:#64748b;font-size:11px;line-height:1.6}.ws-platform.is-set{background:#f0fdf4;border-color:#bbf7d0}
.ws-empty{display:grid;gap:6px;margin:16px 0;padding:22px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#475569;font-size:13px}
.ws-empty b{font-size:15px;color:#0f172a}
.ws-checks{margin:0;padding-left:20px;font-size:12px;color:#475569;line-height:1.9}
.link-button{border:0;background:none;padding:0;min-height:0;color:#3d0057;font-weight:600;cursor:pointer}
@media(max-width:760px){.ws-switch button,.ws-switch .ws-guide{padding:6px 9px}.ws-cards{grid-template-columns:1fr}}
/* 휴대폰 메뉴판: 예전 화면(operations.css)의 .sidebar{flex-wrap:wrap}이 세로 메뉴판을 여러 줄로 접어 메뉴 이름이 화면 밖으로 밀리던 문제(2026-10-30) */
@media(max-width:760px){.unified-shell .workspace-sidebar{flex-wrap:nowrap!important;overflow-x:hidden;overflow-y:auto}.unified-shell .workspace-sidebar>*{flex:0 0 auto!important;max-width:100%}}
/* 휴대폰 매장 지표 밸런스: 오른쪽 라벨(준비시간 정확도)이 화면 밖으로 잘리던 문제(2026-10-30) */
@media(max-width:650px){.analytics-compact .radar-label{font-size:12px!important}.analytics-compact .balance-card .radar-wrap{padding-left:20px!important;padding-right:20px!important;box-sizing:border-box}}
/* 사이드바 3번 아이보리 시안(2026-10-30): 사이드바·로고·상단 본사용/점주용/예비점주용 버튼 색과 모양만 바꿈. 본문 배경·메뉴 구성은 그대로 */
:root{--sb-bg:#EEEEEE;--sb-border:#DBDBDB;--sb-divider:#DBDBDB;--sb-brand:#2B2B2B;--sb-brand-accent:#3E0059;--sb-sub:#646464;--sb-section-label:#6C6C6C;--sb-text:#2E2E2E;--sb-num:#6C6C6C;--sb-active-bg:#414141;--sb-active-text:#F9F9F9;--sb-active-num:#DAB4EB;--seg-bg:#E5E5E5;--seg-active-bg:#414141;--seg-active-text:#F9F9F9;--seg-text:#4A4A4A;--chip-bg:#EBEBEB;--chip-text:#280039}
.unified-shell .workspace-sidebar{width:260px;padding:22px 0 20px;background:var(--sb-bg);border-right:1px solid var(--sb-border);scrollbar-width:thin;scrollbar-color:#CBCBCB transparent}
.unified-shell .workspace-sidebar::-webkit-scrollbar{width:8px}.unified-shell .workspace-sidebar::-webkit-scrollbar-thumb{background:#CBCBCB;border-radius:8px}.unified-shell .workspace-sidebar::-webkit-scrollbar-track{background:transparent}
@media(min-width:701px){.unified-shell .integrated-main{margin-left:260px}}
.unified-shell .workspace-sidebar .brand{margin:0;padding:0 20px 18px;min-height:0;gap:12px;border-bottom:1px solid var(--sb-divider);font-size:23px;font-weight:900;color:var(--sb-brand)}
.unified-shell .workspace-sidebar .brand>span{font-weight:900}
.unified-shell .workspace-sidebar .brand .brand-lab{color:var(--sb-brand-accent);font-style:normal}
.unified-shell .workspace-sidebar .brand small{color:var(--sb-sub);font-weight:500}
.unified-shell .workspace-sidebar .workspace-brand-logo{width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:0}
.unified-shell .workspace-sidebar .brand-demo-badge{background:var(--chip-bg);color:var(--chip-text)}
.unified-shell .workspace-sidebar nav{margin:18px 0 18px;padding:0 12px}
.unified-shell .workspace-sidebar .nav-group{margin:16px 12px 6px;font-size:11px;font-weight:700;letter-spacing:0;color:var(--sb-section-label)}
.unified-shell .workspace-sidebar .nav-group:first-child{margin-top:0}
.unified-shell .workspace-sidebar .nav-item{display:flex;align-items:center;gap:12px;min-height:36px;height:36px;padding:0 12px;margin:2px 0;border-radius:10px;background:transparent;color:var(--sb-text);font-size:13.5px;font-weight:500;box-shadow:none}
.unified-shell .workspace-sidebar .nav-item>span{font-size:13.5px}
.unified-shell .workspace-sidebar .nav-number{flex:0 0 22px;width:22px;font-size:11.5px;font-weight:700;letter-spacing:0;color:var(--sb-num)}
.unified-shell .workspace-sidebar .nav-item.active{background:var(--sb-active-bg);color:var(--sb-active-text);font-weight:700;box-shadow:none}
.unified-shell .workspace-sidebar .nav-item.active .nav-number{color:var(--sb-active-num)}
.unified-shell .workspace-sidebar .nav-item.active::after{display:none}
.unified-shell .workspace-sidebar .nav-item:focus-visible,.unified-shell .workspace-sidebar .brand:focus-visible{outline:2px solid var(--sb-brand-accent);outline-offset:-2px;background-color:#E3E3E3}
.unified-shell .workspace-sidebar .nav-item.active:focus-visible{background:var(--sb-active-bg);box-shadow:none}
@media(hover:hover) and (pointer:fine){.unified-shell .workspace-sidebar .nav-item:hover{background:#E3E3E3;color:var(--sb-text);box-shadow:none;transform:none}.unified-shell .workspace-sidebar .nav-item.active:hover{background:var(--sb-active-bg);color:var(--sb-active-text);box-shadow:none}}
.unified-shell .workspace-sidebar .sidebar-foot{margin:auto 20px 0;padding-top:16px;border-top:1px solid var(--sb-divider);color:var(--sb-text)}
.unified-shell .workspace-sidebar .sidebar-foot small{color:var(--sb-sub)}
.ws-chip.wait{background:var(--chip-bg);color:var(--chip-text)}
.ws-switch{display:inline-grid;grid-template-columns:repeat(3,minmax(0,1fr));width:330px;max-width:100%;padding:4px;gap:4px;border:0;border-radius:12px;background:var(--seg-bg);overflow:visible;vertical-align:middle}
.ws-switch button,.ws-switch .ws-guide{display:flex;align-items:center;justify-content:center;height:36px;min-height:36px;padding:0 6px;border:0;border-radius:9px;background:transparent;color:var(--seg-text);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.ws-switch button[aria-pressed=true]{background:var(--seg-active-bg);color:var(--seg-active-text)}
.ws-switch button:hover,.ws-switch .ws-guide:hover{background:#D7D7D7;color:var(--seg-text)}
.ws-switch button[aria-pressed=true]:hover{background:var(--seg-active-bg);color:var(--seg-active-text)}
@media(max-width:760px){.ws-switch{width:100%;max-width:330px}.ws-switch button,.ws-switch .ws-guide{padding:0 4px}}
@media(max-width:700px){.unified-shell .workspace-sidebar{width:min(260px,calc(100vw - 32px));box-shadow:12px 0 30px #2b2b2b2e}}

.ws-guide-btn{display:inline-flex;align-items:center;min-height:34px;padding:6px 14px;border:0;border-radius:9px;background:#4b006b;color:#fff;font:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}
.ws-guide-btn:hover{background:#3d0057}
.ws-guide-btn+.ws-guide-btn{margin-left:6px}
