/* 운영사 웹(고객 계정 · 운영자) 화면 배치 — 토큰만(앱 디자인 시스템 tokens.css · components.css 위에). P5a 시안 r6r7_web.html */
*{box-sizing:border-box}
html,body{margin:0;background:var(--color-background);color:var(--color-text-primary);font:var(--weight-regular) var(--text-sm)/1.5 var(--font-sans)}
main.ops{max-width:880px;margin:0 auto;padding:var(--space-32) max(var(--space-16), env(safe-area-inset-right, 0px)) var(--space-48) max(var(--space-16), env(safe-area-inset-left, 0px));display:flex;flex-direction:column;gap:var(--space-16)}
.ops .gate{max-width:520px;width:100%;align-self:center}
.ops .stack{display:grid;gap:var(--space-8)}
.ops .top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-8);flex-wrap:wrap}
.ops .top h2{margin:0;font-size:var(--text-xl)}
.ops .kv{display:grid;grid-template-columns:max-content 1fr;gap:var(--space-4) var(--space-16);font-size:var(--text-sm);margin:0}
.ops .kv dt{color:var(--color-text-secondary)} .ops .kv dd{margin:0}
.ops .wrap{overflow-x:auto}
.ops table.tbl{width:100%;border-collapse:collapse} .ops .tbl th,.ops .tbl td{height:40px;text-align:right;padding:0 var(--space-12);border-bottom:var(--border-width) solid var(--color-border)}
.ops label.f{display:block;margin-bottom:var(--space-16)}
.ops label.f>span{display:block;font-size:var(--text-xs);color:var(--color-text-secondary);font-weight:var(--weight-medium);margin-bottom:var(--space-8)}
.ops label.f em{font-style:normal;color:var(--color-text-secondary);font-size:var(--text-xs);margin-left:var(--space-4)}
.ops .in{width:100%;height:var(--control-h-md);background:var(--color-surface);border:var(--border-width) solid var(--color-secondary);border-radius:var(--radius-md);padding:0 var(--space-16);text-align:right}
.ops .in.sm{height:var(--control-h-sm);width:auto}
.ops .fgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 var(--space-16)}
.ops .chk{display:flex;gap:var(--space-16);flex-wrap:wrap;justify-content:flex-end;margin-bottom:var(--space-16)}
.ops a.lnk{color:inherit;text-decoration:underline;cursor:pointer}
#toasts{position:fixed;right:var(--space-24);bottom:var(--space-24);display:flex;flex-direction:column;gap:var(--space-8)}
#toasts .toast{position:relative;max-width:420px}
#toasts .toast:before{content:"";position:absolute;left:var(--space-16);top:var(--space-16);width:var(--space-8);height:var(--space-8);border-radius:var(--radius-full)}
.modal{position:fixed;inset:0;display:grid;place-items:center}                  /* 앱 index.html 의 모달 배치와 같게(색 · 모서리는 components.css) */
.modal .box{max-width:92vw}
.ds .ops .tbl .btnrow .btn{min-width:var(--btn-minw-md)}                       /* 기기 표의 '등록 해제' · 'PC 코드 풀기' 같은 폭(감사 SEC-79, 2026-11-14) */
@media (max-width:767px){.ops .fgrid{grid-template-columns:1fr} main.ops{padding-top:var(--space-16)}}
