/* Operations navigation only. */
.ops-sidebar,.ops-menu-toggle,.ops-menu-backdrop{display:none}
.ops-test:has(#app:not([hidden])) .ops-sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:244px;background:#14243c;color:#c5d1e3;z-index:21;flex-direction:column;padding:27px 14px 20px;overflow-y:auto;border-right:1px solid #2d4160}
.ops-sidebar-resize{display:none}
.ops-test:has(#app:not([hidden])) .ops-sidebar-resize{display:block;position:absolute;top:0;right:-4px;bottom:0;width:8px;cursor:col-resize;z-index:22;touch-action:none}
.ops-test:has(#app:not([hidden])) .ops-sidebar-resize:hover,.ops-test:has(#app:not([hidden])) .ops-sidebar-resize.on{background:rgba(145,179,255,.25)}
@media(max-width:900px){.ops-sidebar-resize{display:none!important}}
@media print{.ops-sidebar-resize{display:none!important}}
.ops-side-brand{display:flex;align-items:center;gap:12px;padding:0 10px 25px;text-decoration:none;color:#fff;font-size:calc(24px * var(--ui-zoom,1));font-weight:750;letter-spacing:-.5px}
.ops-side-brand>svg{width:32px;height:32px;flex:none;color:#9cb9ff}.ops-side-brand small{display:block;margin-top:4px;color:#afc0da;font-size:calc(14px * var(--ui-zoom,1));font-weight:400;letter-spacing:0}
.ops-menu-caption{padding:5px 12px 14px;font-size:calc(13px * var(--ui-zoom,1));color:#97adcd;letter-spacing:.08em;font-weight:700}
.ops-test .ops-sidebar .tabs{display:flex;flex-direction:column;gap:7px;border:0;border-radius:0;background:transparent;padding:0;margin:0;box-shadow:none}
.ops-test .ops-sidebar .tabs button{display:flex;align-items:center;gap:12px;flex:none;width:100%;min-height:48px;padding:12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#c5d1e3;text-align:left;font-size:calc(16px * var(--ui-zoom,1));line-height:1.5;font-weight:600;margin:0;box-shadow:none}
.ops-test .ops-sidebar .tabs button>svg{width:21px;height:21px;flex:none;color:#a5b9d7}.ops-nav-arrow{margin-left:auto;color:#91a9cb;font-size:21px;line-height:1}
.ops-test .ops-sidebar .tabs button:hover{background:#233953;color:#fff}.ops-test .ops-sidebar .tabs button.on{background:#2e53c5;border-color:#5276e5;color:#fff;box-shadow:0 4px 12px #08173333}.ops-test .ops-sidebar .tabs button.on>svg,.ops-test .ops-sidebar .tabs button.on .ops-nav-arrow{color:#fff}
.ops-side-bottom{display:flex;flex-direction:column;gap:15px;margin-top:auto;padding:26px 10px 0}.ops-test .ops-sidebar .help-btn{justify-content:center;background:#223854;border:1px solid #405a7d;color:#e1eaff;min-height:42px;border-radius:8px;font-size:calc(15px * var(--ui-zoom,1))}.ops-dashboard-link{display:flex;justify-content:center;align-items:center;gap:6px;color:#c5d1e3;text-decoration:none;font-size:calc(14px * var(--ui-zoom,1));font-weight:600;text-align:center;background:#223854;border:1px solid #405a7d;border-radius:8px;min-height:40px;padding:8px 12px}
.ops-dashboard-link:hover{background:#2c4669;color:#fff}
.ops-test:has(#app:not([hidden]))>.top{margin-left:244px;background:#fff;color:#1c2b43;border-bottom:1px solid #dfe6f0;min-height:75px;padding:18px 28px}
.ops-test:has(#app:not([hidden]))>.top h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ops-test:has(#app:not([hidden]))>.top .font-ctl,.ops-test:has(#app:not([hidden]))>.top .who{flex:none}
.ops-test:has(#app:not([hidden]))>.top>.back{background:#eef2fb;border:1px solid #c3d1f0;border-radius:8px;color:#2349bf;font-size:calc(14px * var(--ui-zoom,1));font-weight:700;padding:9px 15px;min-height:40px}.ops-test:has(#app:not([hidden]))>.top>.back:hover{background:#dde7ff}.ops-test:has(#app:not([hidden])) .top h1 small{color:#61718a}.ops-test:has(#app:not([hidden])) .top .who button{color:#3157ac;border-color:#b5c4e5;background:#f5f8ff}.ops-test:has(#app:not([hidden])) .top .who{color:#50647f}
.ops-test main#app{max-width:none;margin:0 0 0 244px;padding:25px 28px 50px;zoom:var(--ui-zoom,1)}
.ops-page-title{font-size:calc(24px * var(--ui-zoom,1));color:#1c2b43;letter-spacing:-.7px;margin:0 0 22px;font-weight:750}
@media(max-width:900px){
 .ops-test:has(#app:not([hidden])) .ops-sidebar{width:260px;transform:translateX(-100%);transition:transform .2s ease;padding-top:73px}
 .ops-test:has(#app:not([hidden])) .ops-sidebar.open{transform:translateX(0)}
 .ops-test:has(#app:not([hidden]))>.top{margin-left:0;padding-left:72px;gap:10px;min-height:72px}
 .ops-test main#app{margin:0;padding:22px 18px 40px}
 .ops-test:has(#app:not([hidden])) .ops-menu-toggle{display:flex;position:fixed;top:15px;left:15px;z-index:23;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #cbd7ef;background:#fff;color:#2349bf;border-radius:10px;font-size:21px;cursor:pointer}
 .ops-menu-backdrop.show{display:block;position:fixed;inset:0;background:#0c1b345e;z-index:20}
 body:has(.ops-sidebar.open){overflow:hidden}
}
@media(max-width:600px){.ops-test:has(#app:not([hidden]))>.top{padding:14px 14px 14px 72px}.ops-test main#app{padding:18px 12px 40px}.ops-page-title{font-size:21px}.ops-test .top .who{gap:6px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ops-sidebar{transition:none!important}}
@media print{.ops-test:has(#app:not([hidden])) .ops-sidebar,.ops-menu-toggle,.ops-menu-backdrop,.ops-page-title{display:none!important}.ops-test main#app{margin:0!important;padding:0!important}}

/* Header heading overrides the global header h1 rule. */
.ops-test>.top h1{color:#fff}
.ops-test:has(#app:not([hidden]))>.top h1{color:#1c2b43}

/* Adjustable workspace layout. */
:root{--ops-side-width:224px;--ops-content-width:1440px;--ops-nav-gap:4px;--ops-space:12px}
.ops-test:has(#app:not([hidden])) .ops-sidebar{width:var(--ops-side-width)}
.ops-test:has(#app:not([hidden]))>.top{margin-left:var(--ops-side-width);max-width:none;min-height:58px;padding:10px 20px 10px 32px;gap:12px}
.ops-test:has(#app:not([hidden]))>.top h1{margin:0 0 0 3cm;font-size:calc(22px * var(--ui-zoom,1));line-height:1.4}
.ops-test main#app{margin-left:var(--ops-side-width);padding:var(--ops-space) 20px 35px}
.ops-test main#app>section,.ops-test main#app>.ops-page-title{max-width:var(--ops-content-width);margin-left:30px;margin-right:auto}
.ops-test main#app>.ops-page-title{margin-top:0;margin-bottom:var(--ops-space);font-size:calc(22px * var(--ui-zoom,1));line-height:1.4}
.ops-test .ops-sidebar .tabs{gap:var(--ops-nav-gap)}
.ops-test .ops-sidebar .tabs button{min-height:0;padding:calc(7px + var(--ops-nav-gap)/2) 12px}
.ops-test #app .toolbar{gap:8px;margin-bottom:var(--ops-space)}
.ops-test #app .drop{padding:9px 12px;margin-bottom:var(--ops-space)}
.ops-layout-settings{position:relative;flex:none;font-size:15px;font-weight:400;color:#1c2b43;letter-spacing:0}
.ops-layout-settings>summary{list-style:none;cursor:pointer;border:1px solid #a9bde8;border-radius:8px;background:#f4f7ff;color:#15316e;padding:8px 12px;white-space:nowrap;font-weight:700}
.ops-layout-settings>summary::-webkit-details-marker{display:none}
.ops-layout-panel{position:absolute;right:0;top:calc(100% + 10px);width:300px;max-width:calc(100vw - 30px);padding:18px;background:#fff;border:1px solid #d5dfef;border-radius:12px;box-shadow:0 10px 35px #15284d26;z-index:30}
.ops-layout-panel strong{display:block;font-size:15px;margin-bottom:15px;color:#1c2b43}
.ops-layout-panel label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;font-size:13px;color:#3a506e;margin-bottom:15px}
.ops-layout-panel output{font-size:12px;color:#3159d8;font-variant-numeric:tabular-nums}
.ops-layout-panel input[type=range]{width:100%;padding:0;min-height:24px;accent-color:#3159d8;cursor:pointer;border:0}
.ops-layout-panel .ops-full-width{justify-content:flex-start;gap:8px}.ops-layout-panel input[type=checkbox]{min-height:0;width:16px;height:16px;accent-color:#3159d8}
.ops-layout-panel button{border:1px solid #cbd7ee;border-radius:7px;background:#f5f8ff;color:#3157ac;padding:7px 12px;font-size:13px;cursor:pointer}
.ops-layout-panel p{font-size:11px;line-height:1.6;color:#6a7d97;margin:12px 0 0}
@media(max-width:900px){.ops-test:has(#app:not([hidden]))>.top{margin-left:0;padding:10px 16px 10px 72px;min-height:70px}.ops-test main#app{margin-left:0;padding:var(--ops-space) 16px 35px}.ops-test:has(#app:not([hidden])) .ops-sidebar{width:min(var(--ops-side-width),85vw)}}
@media(max-width:600px){.ops-test:has(#app:not([hidden]))>.top h1{font-size:17px;flex-basis:auto;margin-left:.6em}.ops-test main#app{padding:var(--ops-space) 12px 30px}.ops-layout-panel{position:fixed;right:12px;top:76px;max-height:calc(100dvh - 90px);overflow-y:auto}.ops-layout-settings{margin-left:auto}}
@media print{.ops-layout-settings{display:none!important}.ops-test main#app>section{max-width:none}}

/* 폰(특히 가로 모드)에서: 위쪽 줄이 화면 절반을 덮지 않게 고정을 풀고, 화면 조절 창은 화면 안에서 스크롤되게 */
@media(max-width:900px),(max-height:500px){
 .ops-test>.top{position:static}
 .ops-test:has(#app:not([hidden]))>.top h1{margin-left:.6em}
 .ops-layout-panel{position:fixed;right:12px;top:12px;max-height:calc(100dvh - 24px);overflow-y:auto;z-index:40}
}
/* 흰 머리줄 위의 '폰트크기' 글씨가 흰색이라 안 보이던 것 */
.ops-test:has(#app:not([hidden]))>.top .font-ctl{color:#1c2b43}
.ops-layout-panel{box-sizing:border-box}

/* 폰 가로 모드(화면 높이가 낮을 때): 위쪽 줄을 한 줄로 작게 — 메뉴 줄이 화면 반을 차지하지 않게 */
@media(max-height:500px){
 .ops-test:has(#app:not([hidden]))>.top{flex-wrap:nowrap;min-height:0;padding:5px 10px 5px 58px;gap:8px}
 .ops-test:has(#app:not([hidden]))>.top h1{display:none} /* 본문 위 제목(발주 등)이 따로 있음 */
 .ops-test:has(#app:not([hidden]))>.top>.back{font-size:12px;padding:4px 9px;min-height:30px;white-space:nowrap}
 .ops-test>.top .font-ctl{font-size:12px}
 .ops-test>.top .font-ctl select{font-size:12px;padding:2px 4px;min-height:28px}
 .ops-layout-settings{font-size:12px}
 .ops-layout-settings>summary{padding:4px 8px}
 .ops-test>.top .who{zoom:1;font-size:12px;gap:5px;flex-wrap:nowrap;white-space:nowrap;margin-left:auto}
 .ops-test>.top .who button{font-size:12px;padding:3px 7px;min-height:28px}
 .ops-test:has(#app:not([hidden])) .ops-menu-toggle{top:6px;left:10px;width:36px;height:36px;font-size:18px}
 .ops-test main#app>.ops-page-title{font-size:17px}
}

/* PC: 왼쪽 메뉴 실제 폭(안쪽 여백 포함)과 본문이 비켜 두는 폭을 맞춘다 — 안 그러면 본문 왼쪽이 메뉴 밑으로 들어감.
   본문(main#app)은 폰트크기 배율(zoom)이 걸려 있어서 비켜 두는 폭도 같이 줄어들므로 배율로 나눠 되돌린다 */
.ops-test:has(#app:not([hidden])) .ops-sidebar{box-sizing:border-box}
@media(min-width:901px){
 .ops-test main#app{margin-left:calc(var(--ops-side-width) / var(--ui-zoom,1));padding-left:calc(28px / var(--ui-zoom,1));padding-right:calc(28px / var(--ui-zoom,1))}
}
/* 📲 앱 설치 (폰에서만 보임) */
.ops-test>.top .install-top{font-size:13px;padding:6px 10px;min-height:0;border-radius:8px}
