/* Three primary destinations; device operation is the home entry. */
.wifi-template-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 22px; }
.wifi-template-grid button { display:flex; flex-direction:column; align-items:stretch; min-width:0; padding:6px; border:1px solid #dce4e8; border-radius:10px; background:white; text-align:left; }
.wifi-template-grid strong { display:block; padding:8px 2px 3px; font-size:11px; line-height:1.5; word-break:keep-all; overflow-wrap:anywhere; }
.wifi-template-art { display:flex; align-items:center; justify-content:space-around; gap:5px; aspect-ratio:16/10; padding:8px; background:var(--preset-color); border-radius:6px; color:white; }
.wifi-template-lines { width:44%; height:25px; border-top:3px solid currentColor; border-bottom:2px solid currentColor; opacity:.8; }
.wifi-template-qr { font-size:24px; line-height:1; }
.wifi-template-art.editorial { border-top:12px solid #f0dfc9; }
.wifi-template-art.minimal { background:#edf5fc; color:var(--preset-color); }
.design-workspace .wifi-template-grid button[aria-pressed=true] { background:#eef7ff; color:#153a53; border-color:#087eea; box-shadow:0 0 0 1px #087eea; }
@media(min-width:768px) {
 body.operations-ui { --rail-w:208px; }
 body.operations-ui .tabbar { padding-left:14px; padding-right:14px; background:#f1f4f7; border-right:1px solid #e2e8ef; }
 body.operations-ui .topbar .brand { padding:0 14px; gap:6px; }
 body.operations-ui .topbar .brand .name { font-size:14px; }
 body.operations-ui .workspace-menu { padding:5px 7px; font-size:11px; }
 body.operations-ui .tabbar .nav-scroll > button[data-panel="create"] { display:flex!important; background:var(--primary); color:white; margin-bottom:20px; }
 body.operations-ui main.wrap { max-width:1600px; padding:28px 32px 48px; }
 body.operations-ui .home { gap:24px; }
 body.operations-ui .home-card { padding:24px; border-radius:16px; }
 body.operations-ui #home-tiles { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); }
 body.operations-ui .ops-app-grid { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); align-items:start; }
 body.operations-ui .ops-widget-content { gap:6px; }
 body.operations-ui #layout-open > .hint, body.operations-ui #layout-dev-axis, body.operations-ui #layout-ind-axis { display:none!important; }
 body.operations-ui #ops-template-filters { display:grid; grid-template-columns:minmax(150px,200px) minmax(160px,220px) minmax(190px,1fr); align-items:center; gap:12px; margin:20px 0 14px; }
 body.operations-ui #ops-template-filters > select { display:block; width:100%; min-width:0; }
 body.operations-ui #ops-template-filters > label.row { margin:0!important; gap:10px; }
 body.operations-ui #ops-template-filters > label.row span { white-space:nowrap; flex-shrink:0; }
 body.operations-ui #ops-template-filters select { height:42px; min-width:0; font-size:14px; }
 body.operations-ui #layout-open-lf .lf-grid, body.operations-ui #layout-lf .lf-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); }
 body.operations-ui #panel-layouts .page-heading { margin-bottom:20px; }
 body.operations-ui .design-workspace-canvas { position:sticky; top:85px; align-self:start; }
}
@media(min-width:768px) and (max-width:1100px) {
 body.operations-ui #ops-template-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body.operations-ui #ops-template-filters > label.row span { display:none; }
}
.ig-connection { border:1px solid var(--line); border-radius:12px; padding:14px; margin:12px 0; }
.ig-posts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ig-posts > p { grid-column:1/-1; }
.ig-review-card { min-width:0; }
.ig-review-card img,.ig-review-card video { width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; }
.ig-review-card p { font-size:12px; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
#ops-bottom-settings { display:none!important; }
.ops-call-form { display:flex; gap:8px; margin-top:10px; }
.ops-call-form input { min-width:0; width:0; flex:1; font-size:20px; font-variant-numeric:tabular-nums; }
.ops-app-card .ops-call-form button { width:auto; margin:0; white-space:nowrap; }
.ops-call-feedback { margin:0; font-size:12px; min-height:18px; }
.ops-device-playback #panel-playlists .pl-side { display:none; }
.ops-device-playback #panel-playlists .pl-layout { display:block; }
.ops-queue-button { width:100%; margin:8px 0; }
.ops-item-moves { display:flex; gap:4px; }
.ops-item-moves button { min-width:32px; padding:4px 8px; }
#ops-playback-heading { scroll-margin-top:80px; margin-bottom:16px; }
#ops-playback-heading > button { margin:4px 8px 4px 0; }
.operations-ui .tabbar .nav-scroll > button:not(.desktop-store-nav):not([data-panel="dashboard"]):not([data-panel="board"]):not([data-panel="layouts"]):not([data-panel="apps"]):not([data-panel="create"]):not([data-panel="schedules"]):not([data-panel="playlists"]):not(#ops-bottom-settings),
.operations-ui .tabbar .nav-grp, .operations-ui .tabbar .nav-section, .operations-ui .tabbar .nav-foot { display:none!important; }
.operations-ui .tabbar .nav-scroll > button[data-panel="apps"] { display:flex!important; }
.operations-ui .tabbar .nav-scroll > button[data-panel="create"] { display:none!important; }
.operations-ui .workspace-menu { display:flex!important; align-items:center; gap:6px; padding:6px 10px; min-height:36px; font-size:12px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--text); }
.operations-ui .workspace-menu .ico { display:none; }
.operations-ui .topbar .brand { display:flex; align-items:center; gap:8px; }
.operations-ui .topbar .brand::before, .operations-ui .topbar .brand .tag, .operations-ui .topbar .brand .org { display:none!important; }
.operations-ui .topbar .brand .name { font-size:16px; }
.operations-ui .home { display:flex; flex-direction:column; }
.operations-ui #home-screens { order:0; }
.operations-ui #home-ops-apps { order:1; }
.operations-ui #home-more { display:none!important; }
.operations-ui #home-tiles > :nth-child(n+3) { display:flex; }
.operations-ui .home-card-head { flex-wrap:wrap; }
.operations-ui .home-card-head .sm { margin-left:0; }
.ops-app-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); gap:16px; }
.ops-app-card { border:1px solid var(--line); border-radius:18px; padding:0; min-width:0; overflow:hidden; background:var(--bg); display:flex; flex-direction:column; }
.ops-widget-visual { height:100px; background:linear-gradient(120deg,#e9f1ff,#eef8ff); overflow:hidden; }
.ops-widget-visual img { width:100%; height:100%; object-fit:cover; }
.ops-app-card[data-kind=calls] .ops-widget-visual { height:54px; display:flex; align-items:center; gap:10px; padding:0 18px; color:#2365a5; font-size:12px; }
.ops-call-icon { display:grid; place-items:center; width:30px; height:30px; background:#fff; border-radius:9px; font-size:20px; }
.ops-app-card[data-kind=widget] .ops-widget-visual { height:auto; aspect-ratio:16/9; background:#172433; }
.ops-app-card[data-kind=widget] .ops-widget-visual img { object-fit:contain; }
.ops-widget-content { padding:18px; display:flex; flex-direction:column; flex:1; gap:8px; }
.ops-widget-type { font-size:12px; color:var(--text-sub); }
.ops-widget-detail { margin:0; font-size:14px; line-height:22px; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ops-widget-meta { font-size:12px; color:var(--text-sub); margin:4px 0 10px; display:block; }
.ops-call-recent { display:flex; flex-direction:column; gap:4px; }
.ops-call-number { font-size:20px; line-height:30px; font-weight:700; font-variant-numeric:tabular-nums; color:#1476db; }
.ops-widget-content > button { margin-top:auto!important; }
.ops-widget-content select { width:100%; min-width:0; }
#ops-template-filters > select { display:none; }
.ops-app-card h3 { margin:0 0 12px; overflow-wrap:anywhere; }
.ops-app-card button { margin-top:12px; width:100%; }
.ops-dialog { width:min(720px,94vw); max-height:90dvh; overflow:auto; border:0; border-radius:18px; padding:24px; background:var(--bg); color:var(--text); }
.ops-dialog::backdrop { background:#14233277; }
.ops-dialog .home-tile-thumb { max-width:560px; margin:16px auto; }
.ops-dialog .home-tile-thumb img { width:100%; object-fit:contain; }
.ops-actions { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.ops-device-settings { margin:20px 0; }
.ops-device-settings summary { cursor:pointer; margin-bottom:12px; }

/* 우리 매장 화면 타일 · 기기 창 (2026-10-03 대표 「꾹누르면 삭제하기」 「메뉴 중복안되고 바로바로 쉽게」) */
.home-tile { position:relative; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; }
.home-tile-kebab { position:absolute; top:4px; right:4px; display:grid; place-items:center; width:32px; height:32px;
  border-radius:8px; background:rgba(20,35,50,.55); color:#fff; opacity:0; transition:opacity .12s; }
.home-tile:hover .home-tile-kebab, .home-tile:focus-visible .home-tile-kebab { opacity:1; }
.home-tile-kebab svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; }
@media (hover:none) { .home-tile-kebab { display:none; } }
.hs-menu { position:fixed; z-index:1000; min-width:168px; max-width:calc(100vw - 16px); padding:6px; border-radius:12px;
  background:var(--bg); color:var(--text); box-shadow:var(--shadow-elevation-5); border:1px solid var(--color-gray-200); }
.hs-menu-item { display:flex; align-items:center; justify-content:flex-start; width:100%; min-height:44px; padding:0 12px;
  border:0; border-radius:8px; background:transparent; font-weight:600; }
.hs-menu-item.danger { color:var(--danger); background:transparent; border:0; }
.hs-menu-item:hover { background:var(--color-gray-100); }
.hs-menu .hs-confirm { padding:6px; width:min(280px, calc(100vw - 32px)); }
.hs-confirm-text { margin:0 0 10px; font-size:15px; line-height:22px; font-weight:600; overflow-wrap:anywhere; }
.hs-confirm-acts { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hs-dialog .ops-sheet-head h2 { display:flex; align-items:center; gap:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hs-dialog .ops-sheet-head h2 .dot { flex:none; width:10px; height:10px; border-radius:50%; }
.hs-dialog .dot.ok { background:var(--color-green-700); }
.hs-dialog .dot.bad { background:var(--danger); }
.hs-preview { margin:12px 0 0; display:grid; gap:12px; }
.hs-preview .home-tile-thumb { max-width:none; width:100%; margin:0; }
.hs-rows { display:grid; margin:16px 0 0; border:1px solid var(--color-gray-300); border-radius:12px; overflow:hidden; }
.hs-row { display:flex; align-items:center; justify-content:flex-start; gap:12px; width:100%; min-height:52px; padding:0 14px;
  border:0; border-radius:0; background:var(--bg); color:var(--text); font-weight:500; text-align:left; }
.hs-row + .hs-row { border-top:1px solid var(--color-gray-200); }
.hs-row:hover { background:var(--color-gray-100); }
.hs-row > svg { flex:none; width:20px; height:20px; fill:none; stroke:var(--primary); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hs-row > span:not(.hs-row-go) { flex:1 1 auto; min-width:0; }
.hs-row-go { display:inline-flex; color:var(--color-gray-400); }
.hs-row-go svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hs-fields { display:grid; gap:10px; margin:16px 0 0; }
.hs-field { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:10px; margin:0; }
.hs-field > span { font-size:14px; line-height:22px; color:var(--text-sub); }
.hs-field input, .hs-field select { width:100%; min-width:0; min-height:44px; }
.hs-delete-wrap { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--color-gray-200); }
.hs-delete-wrap .hs-delete { width:100%; background:transparent; border:1px solid var(--color-red-200); color:var(--danger); }
.hs-delete-wrap .hs-delete:hover { background:var(--color-red-50, #fff1f0); border-color:var(--danger); color:var(--danger); }
.ops-design-actions { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.operations-ui .ops-design-actions { display:none; }
.operations-ui #layout-pop-entry { display:none; }
/* 기기 관리 안의 갈래(2차 탭) 모양은 `style.css` 맨 끝 「탭 한 양식」. 여기서는 자리만 잡는다. */
.ops-home-choice { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.ops-home-choice input { width:20px; height:20px; flex-shrink:0; }
.operations-ui .mobile-menu-grid { grid-template-columns:1fr; }
.operations-ui .mobile-menu-item { flex-direction:row; justify-content:flex-start; min-height:52px; }
.operations-ui .mobile-menu-account { display:flex; flex-wrap:wrap; gap:12px; padding:16px; border-top:1px solid var(--line); }
.operations-ui .mobile-menu-account .gauge { width:100%; }
.operations-ui #home-ops-apps .home-card-head { gap:8px; }
.operations-ui #home-ops-apps .home-card-title { margin-right:auto; }
@media(max-width:767px) {
 .operations-ui .tabbar .nav-scroll > button[data-panel="board"] { order:1; }
 .operations-ui .tabbar .nav-scroll > button[data-panel="layouts"] { order:4; }
 .operations-ui .tabbar .nav-scroll > button[data-panel="create"] { display:flex!important; order:3; }
 .operations-ui .tabbar .nav-scroll > #ops-bottom-settings { display:flex!important; order:5; }
 /* 폰 머리글은 로고와 알림 벨만 (2026-10-02 대표 「매장설정 버튼 상단 없애. 이미 설정에 있잖아」).
    전체 메뉴 시트가 담던 매장 관리 · 이용 통계 · 도움말 · 언어 · 로그아웃 · 남은 횟수는 아래 「설정」 탭으로 갔다.
    시트 코드(mobile-nav.js)는 PC 머리글 단추가 계속 쓴다. 보내기는 아래 띠(#push-dock)가 맡는다. */
 .operations-ui .topbar .workspace-menu { display:none!important; }
 .operations-ui .topbar #btn-alerts { margin-left:auto; }
 /* 하위 탭 글자가 셋으로 늘어 영어 「My photos & videos」 · 360 폭 일본어가 칸을 넘는다 - 자르지 않고 두 줄로 (2026-10-02) */
 .operations-ui .lf-tab { white-space:normal; line-height:20px; overflow-wrap:anywhere; }
 .operations-ui .ops-back-settings { display:inline-flex; }
 .operations-ui #panel-layouts .page-heading { margin-bottom:8px; }
 /* 하위 탭이 있는 두 탭(매장 기능 · 내 디자인)과 사진·영상 화면은 머리 아래 여백이 같아야 하위 탭 줄 y 가 같다 (2026-10-02 2회차, 전에는 188 · 196 · 196) */
 .operations-ui #panel-apps > .page-heading, .operations-ui #panel-assets > .page-heading { margin-bottom:8px; }
 .operations-ui #panel-layouts .page-heading { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:8px; }
 .operations-ui #aipop-card-layouts { padding:0; margin:0; border:0; width:auto; }
 .operations-ui #aipop-card-layouts .aipop-entry { padding:8px 10px; min-height:36px; gap:6px; font-size:12px; }
 .operations-ui #aipop-card-layouts .aipop-entry-icon { width:24px; height:24px; font-size:16px; border-radius:8px; }
 .operations-ui #aipop-card-layouts .aipop-entry strong { font-size:12px; }
 .operations-ui #aipop-card-layouts .aipop-entry-hint { display:none; }
 .operations-ui .ops-design-actions { display:none; }
 .operations-ui .ops-design-actions button { padding:6px 10px; font-size:12px; min-height:36px; }
 .operations-ui #layout-open > .hint, .operations-ui #layout-pop-entry,
 .operations-ui #layout-dev-axis, .operations-ui #layout-ind-axis { display:none!important; }
 .operations-ui #ops-template-filters { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; margin:10px 0; }
 .operations-ui #ops-template-filters > select { display:block; }
 .operations-ui #ops-template-filters > label.row { margin:0!important; min-width:0; }
 .operations-ui #ops-template-filters > label.row span { display:none; }
 .operations-ui #ops-template-filters select { width:100%; min-width:0; height:40px; font-size:12px; padding:6px 30px 6px 10px; background-position:right 8px center; text-overflow:ellipsis; }
 .operations-ui #layout-open > label.row { margin:6px 0 10px!important; display:flex; flex-wrap:nowrap; gap:8px; }
 .operations-ui #layout-open > label.row span { font-size:12px; white-space:nowrap; }
 .operations-ui #layout-widget-filter { min-width:0; width:auto; flex:1; height:36px; padding:4px 8px; font-size:12px; }
 .operations-ui #layouts-tabs { margin-bottom:16px; }
 .operations-ui #layout-open-lf .lf-per { display:none; }
 .operations-ui #layout-open-lf .lf-view button { min-height:32px; height:32px; padding:4px 10px; }
 .ops-app-grid { gap:14px; }
 .ops-widget-content { padding:14px; gap:6px; }
 .operations-ui .tabbar .nav-scroll > button[data-panel="apps"] { order:2; }
 .operations-ui .topbar .brand { display:flex; flex-direction:row!important; align-items:center; gap:8px; font-size:14px; }
 .operations-ui .topbar .brand::before { display:none!important; }
 /* 가로로 밀어 보던 줄을 2열 격자로 바꿨다 (2026-10-02 대표 「첫화면 우리매장화면 가로스와프 별로임」).
    밀어야 보이는 줄은 몇 대가 꺼져 있는지 한눈에 안 들어온다. 몇 장을 세울지는 `renderHomeScreens` 가
    정한다(폰은 넷까지, 넘치면 셋 + 「전체 보기」 칸으로 2x2 를 맞춘다). */
 .operations-ui .home-tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .operations-ui #home-tiles .home-tile { min-width:0; padding:8px; }
 /* 한 대뿐이면 반 칸만 차고 옆이 빈다 - 한 줄을 다 쓴다(2026-10-01 대표 「좌우여백이 왜케넓어」) */
 .operations-ui #home-tiles .home-tile:only-child { grid-column:1 / -1; }
 .operations-ui #home-tiles .home-tile-more { min-height:96px; }
 /* 넘치는 TV 는 타일 아래 가로로 긴 단추 하나로 (2026-10-02) */
 .operations-ui #home-tiles .home-tiles-all { grid-column:1 / -1; min-height:48px; margin-top:2px; }
 .operations-ui #home-screens { min-width:0; }
 .operations-ui #home-screens-meta { flex-basis:100%; order:4; }
 .operations-ui #home-add-tv { margin-left:auto; }
 .operations-ui #home-add-tv[hidden] { display:none; }
 .ops-dialog { padding:18px; }
 .ops-actions { flex-direction:column; }
}
.wifi-settings{margin:16px 0;padding:16px;border-radius:16px;background:#f0f6f3}.wifi-status{font-size:14px;color:#425b4e;line-height:1.6}
.wifi-preview-dialog{width:min(1000px,94vw);max-height:94dvh;border:0;border-radius:24px;padding:24px;overflow:auto}.wifi-preview-dialog::backdrop{background:#101c25aa}.wifi-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.wifi-preview-dialog h2{font-size:20px;margin:0}.wifi-preview-tabs{display:flex;gap:8px;margin:20px 0 12px}.wifi-preview-tabs button[aria-pressed=true]{background:#123f34;color:white}.wifi-preview-dialog>p{font-size:14px;color:#53645c}.wifi-preview-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#f5f3ec}.wifi-preview-frame.portal{width:min(390px,100%);height:620px;margin:auto;aspect-ratio:auto}@media(max-width:600px){.wifi-preview-dialog{padding:18px}.wifi-preview-tabs button{font-size:14px}.wifi-preview-frame:not(.portal){height:540px;aspect-ratio:auto}}
.wifi-ai{margin-top:20px;border-top:1px solid #cbded2;padding-top:16px}.wifi-ai h3{font-size:18px;margin:0 0 8px}.wifi-ai textarea{box-sizing:border-box;display:block;width:100%;margin:12px 0;resize:vertical}.wifi-ai-copy{display:flex;gap:10px;align-items:center}.wifi-ai-swatch{width:30px;height:30px;border-radius:50%;flex:none}.wifi-ai button{margin:4px 6px 4px 0}.wifi-design-settings{margin:16px 0;border:1px solid #d8dfda;border-radius:14px;padding:14px}.wifi-design-settings summary{cursor:pointer;font-weight:600}
.design-workspace{width:min(1280px,96vw);max-height:94dvh;padding:0;border:0;border-radius:22px;background:#fff;color:#17232b;overflow:auto}.design-workspace::backdrop{background:#102334a8}.design-workspace [hidden]{display:none!important}.design-workspace-form>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fffffff5;border-bottom:1px solid #e2e7e8}.design-workspace header small{color:#66767e}.design-workspace h2{font-size:20px;margin:4px 0 0}.design-workspace-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:520px}.design-workspace-canvas{background:#edf0f3;padding:24px;min-width:0}.design-workspace-preview{display:block;width:100%;aspect-ratio:16/9;border:0;background:white;border-radius:12px}.design-workspace-preview.portal{max-width:390px;height:590px;aspect-ratio:auto;margin:auto}.design-workspace-controls{padding:24px;min-width:0}.design-workspace-controls label{display:grid;gap:6px;margin-bottom:16px;font-size:14px}.design-workspace-controls input,.design-workspace-controls select{width:100%;box-sizing:border-box}.design-workspace-tools,.design-workspace-targets{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}.design-workspace button[aria-pressed=true]{background:#123f34;color:white}.design-workspace-form>p{padding:0 24px 16px}.design-widget-starters{margin:18px 0}.design-widget-starters summary{cursor:pointer;font-size:14px;color:#596770}.design-widget-starters>button{margin:4px 6px 4px 0}.design-workspace .wifi-ai{border:0;margin:0;padding:0}@media(max-width:767px){.design-workspace{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.design-workspace-form>header{padding:14px 16px}.design-workspace h2{font-size:18px;max-width:44vw;overflow-wrap:anywhere}.design-workspace-body{grid-template-columns:1fr}.design-workspace-canvas{padding:16px}.design-workspace-preview.portal{height:390px;max-width:320px}.design-workspace-controls{padding:20px 16px}.design-workspace-targets{margin-bottom:12px}}
.design-workspace-frame-stage{margin:auto;overflow:hidden}.design-workspace-form>header>.ops-actions{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px}.design-workspace-form>header>.ops-actions button{width:auto;min-width:54px}
.compose-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.compose-option{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #d9e2e4;border-radius:14px;text-decoration:none;color:inherit}.compose-option:hover,.compose-option:focus-visible{border-color:#087eea;background:#f1f8ff}.compose-option img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px}.compose-option strong{font-size:16px}.compose-option span{font-size:12px;color:#61727c;line-height:1.5}.compose-blank{display:block;margin:16px 0;padding:12px;text-align:center;border:1px dashed #9eaeb8;border-radius:10px;color:inherit;text-decoration:none}@media(max-width:550px){.compose-options{grid-template-columns:1fr}.compose-option{display:grid;grid-template-columns:112px 1fr;column-gap:12px;align-items:center}.compose-option img{grid-row:span 2}.compose-option strong{font-size:14px}.compose-option span{font-size:11px}}

/* QR 앱 (2026-10-02) */
/* 2026-10-02 상자 · 안쪽 여백을 걷어 「QR 앱에서 보기」가 아래 제목과 같은 왼쪽 선에 선다 */
/* 일본어에서 머리 단추 · 타일 글자가 줄바꿈되지 않게 한다(2026-10-02) */
.home-card-head .sm, .home-tile-state, .home-tiles-all { white-space:nowrap; }
html[lang=ja] .mgr-dev .dev-thumb.empty { white-space:nowrap; font-size:10px; }
.stats-qr-note { display:flex; align-items:center; gap:8px 12px; flex-wrap:wrap; margin-bottom:16px; padding:0; }
.qrapp-links { margin-bottom:16px; }
.qrapp-link-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-top:12px; }
.qrapp-link { display:flex; flex-direction:column; align-items:flex-start; gap:4px; text-align:left; padding:14px 16px; min-height:72px; white-space:normal; }
.qrapp-link small { font-weight:400; opacity:.75; overflow-wrap:anywhere; }
#panel-qrapp .page-heading .ghost { margin-bottom:8px; }

/* 내 TV 탭 [내 매장 | 기기 관리] 과 템플릿 목록의 「내 디자인으로」 줄 (2026-10-02) */
.ops-tv-tabs { margin-bottom:16px; }
#panel-board .ops-tv-tabs { margin-top:4px; }
/* 기기 관리 안의 머리 한 줄 - [기기 · 재생목록 · 스케줄] (?) ...... [새 스케줄] (2026-10-02).
   제목 h1 은 2차 탭과 같은 말이라 화면에서는 숨기고 화면 읽기에만 남긴다. */
.page-heading.ops-subhead { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:8px 12px; margin-bottom:20px; }
.ops-subhead > .ops-tv-navigation { order:0; }
.ops-subhead > div:not(.row) { display:contents; }
.ops-subhead .page-title-row { order:3; flex-basis:100%; }
.ops-subhead > .row { order:2; margin-left:auto; }
.ops-subhead .page-help { order:4; flex-basis:100%; }
.ops-subhead .page-title-row h1 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; margin:0; }
@media (max-width:767px) {
  .page-heading.ops-subhead { margin-bottom:16px; }
  .ops-subhead > .ops-tv-navigation { flex:1 1 calc(100% - 64px); min-width:0; }
  .ops-subhead > .row { flex:1 1 100%; justify-content:flex-end; }
  .ops-subhead .ops-tv-navigation button { min-height:40px; }
}
.ops-template-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.ops-template-head strong { font-size:16px; line-height:24px; }

/* ------------------------------------------------------------ 만들기 · 고르기 창 (2026-10-02 디자인 정리)
   대표 「카드 안 글자와 아이콘 정렬이 이상하다. 좌측 정렬돼야」 「만들기의 모달 디자인 좀 더 이쁘게」.
   카드는 [아이콘 판 44 | 제목 16/600 + 설명 14/400 | 화살표] 가 왼쪽부터 붙는다. 폰에서는 아래에서
   올라오는 시트(위 두 모서리 20, 손잡이 막대)이고 PC 에서는 가운데 창이다. 장식은 선 하나와 옅은 판뿐. */
.ops-sheet { width:min(520px,94vw); padding:24px; border-radius:16px; box-shadow:var(--shadow-elevation-5); }
.ops-sheet::backdrop { background:rgba(20,35,50,.45); }
.ops-sheet-handle { display:none; }
.ops-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ops-sheet-head h2 { margin:0; font-size:20px; line-height:30px; font-weight:700; color:var(--text); min-width:0; }
.ops-sheet-close { flex:none; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; margin:-6px -6px -6px 0;
  border:0; border-radius:10px; background:transparent; color:var(--text-sub); }
.ops-sheet-close:hover { background:var(--color-gray-150); color:var(--text); }
.ops-sheet-close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.ops-sheet-hint { margin:4px 0 0; }
.ops-create-options { display:grid; gap:8px; margin:16px 0 0; }
.ops-create-option {
  display:flex; align-items:center; justify-content:flex-start; gap:14px; width:100%; min-height:76px;
  padding:14px 14px 14px 16px; border:1px solid var(--color-gray-300); border-radius:12px;
  background:var(--bg); color:var(--text); text-align:left; font-weight:400;
  transition:border-color .12s, background-color .12s;
}
.ops-create-option:hover { background:var(--color-gray-100); border-color:var(--color-gray-400); }
.ops-create-option:active { background:var(--color-blue-50); border-color:var(--color-blue-400); }
.ops-create-ico { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:10px;
  background:var(--color-blue-100); color:var(--primary); }
.ops-create-ico svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ops-create-text { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:2px; }
.ops-create-text strong { font-size:16px; line-height:24px; font-weight:600; color:var(--text); overflow-wrap:anywhere; }
.ops-create-text small { font-size:14px; line-height:22px; font-weight:400; color:var(--text-sub); overflow-wrap:anywhere; }
.ops-create-go { flex:none; display:inline-flex; color:var(--color-gray-400); }
.ops-create-go svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@keyframes ops-sheet-up { from { transform:translateY(32px); opacity:0; } to { transform:none; opacity:1; } }
@media (max-width:767px) {
  .ops-sheet {
    width:100%; max-width:100%; margin:auto 0 0; max-height:calc(100dvh - 32px);
    padding:8px 16px calc(20px + env(safe-area-inset-bottom)); border-radius:20px 20px 0 0;
    animation:ops-sheet-up .2s ease-out;
  }
  .ops-sheet-handle { display:block; width:36px; height:4px; margin:0 auto 8px; border-radius:4px; background:var(--color-gray-300); }
  .ops-sheet-head h2 { font-size:20px; line-height:30px; } /* 탭 제목과 같은 20px (r3 F) */
  .ops-create-option { min-height:72px; padding:12px 12px 12px 14px; gap:12px; }
}

/* 와이파이 화면 미리보기의 [TV | 폰] 줄도 2차 탭 양식으로 (2026-10-02, 전에는 진초록 채움) */
.wifi-preview-tabs { display:inline-flex; gap:2px; padding:2px; border-radius:10px; background:var(--color-gray-200); }
.wifi-preview-tabs button { min-height:36px; padding:0 14px; border:0; border-radius:8px; background:transparent; color:var(--text-sub); font-size:14px; line-height:22px; font-weight:600; }
.wifi-preview-tabs button[aria-pressed=true] { background:var(--bg); color:var(--text); box-shadow:var(--shadow-elevation-2); }
.ops-sheet-close:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
.ops-sheet-close:focus:not(:focus-visible) { outline:none; }
.ops-sheet-head h2:focus { outline:none; }

/* 화면 머리: 제목 옆에 짧은 설명을 늘 보이게 둔다. 물음표 단추는 없앴다 (2026-10-02 대표). 폰은 제목 바로 아래 한 줄. */
.page-title-row { flex-wrap:wrap; gap:2px 12px; }
.page-desc { margin:0; flex:1 1 auto; min-width:0; color:var(--text-sub); font-size:14px; line-height:22px; }
.page-more { margin-top:6px; }
.page-more > summary { display:inline-flex; align-items:center; cursor:pointer; color:var(--text-hint); font-size:13px; line-height:20px; }
.t-phone { display:none; }
body.operations-ui #panel-board .dash-head { display:block; margin:0 0 12px; }
body.operations-ui #panel-board .dash-title { font-size:24px; line-height:36px; font-weight:700; margin:0; }
@media (max-width:767px) {
 .page-desc { flex-basis:100%; }
 .t-desk { display:none; }
 .t-phone { display:inline; }
/* 2026-10-03 대표 「상단영역이 의미없이 20%」 「내TV도 있고 또 내TV를 설명하는것도 있잖아」:
    폰에서는 아래 탭이 지금 어느 탭인지 이미 말한다. 같은 이름의 제목과 설명 줄을 또 세우면
    머리글 아래 74px 이 반복으로 쓰여 내용이 y190 에서야 시작했다. 제목 · 설명 줄을 걷는다. */
 body.operations-ui .page-title-row { display:none; }
 body.operations-ui .sub-tab-desc, body.operations-ui .apps-tab-desc { display:none; } /* 하위 탭 이름이 곧 설명이다 (2026-10-03) */
 .page-desc > .t-phone { display:block; } /* 설명 줄이 다른 탭의 P 와 같은 22px 줄 높이로 선다 (r3 F) */
 body.operations-ui #panel-board .dash-title { font-size:20px; line-height:30px; }
}
.gf-textarea{box-sizing:border-box;display:block;width:100%;min-height:128px;font:inherit;font-size:15px;line-height:1.55;padding:10px 12px;border:1px solid #cfd8dc;border-radius:10px;resize:vertical}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:10px;background:#0a8ff5;color:#fff;font-weight:700;text-decoration:none}.button-link:focus-visible{outline:3px solid #0a4f8f;outline-offset:2px}.ops-widget-content .button-link{margin:8px 0 4px;min-height:44px}

/* ------------------------------------------------------------ 폰 정보 구조 정리 (2026-10-02 대표 지시 1~6)
   매장 기능 하위 탭 [위젯 | 내 앱 | 앱스토어] 의 한 줄 설명, 위젯 칸, 설정 다섯 묶음, 「설정으로」 돌아가기 단추. */
.apps-tab-desc, .sub-tab-desc { margin:-4px 0 16px; }
.ops-widgets { min-width:0; }
.ops-widgets > .hint { margin:0 0 12px; }
.ops-widgets-head { display:flex; justify-content:flex-end; margin:12px 0 0; }
.ops-widgets-head .sm { margin:0; }
.ops-back-settings { display:none; margin:0 0 16px; }
#panel-settings > .page-heading { margin-bottom:8px; }
#panel-settings > .card { margin-bottom:12px; }
/* 묶음 제목은 한 양식: 16/700(카드 제목 단계), 위 28 아래 8. 첫 묶음만 위 여백을 줄인다. 2026-10-02 2회차에 14 -> 16 (글자 크기 한 세트). */
.settings-group-title { margin:28px 0 8px; font-size:16px; line-height:24px; font-weight:700; color:var(--text); letter-spacing:0; }
#panel-settings > .page-heading + .settings-group-title { margin-top:12px; }
.settings-me { display:flex; flex-direction:column; gap:12px; }
.settings-me-who { display:flex; flex-direction:column; gap:2px; min-width:0; }
.settings-me-who strong { font-size:16px; line-height:24px; overflow-wrap:anywhere; }
.settings-me-who span { overflow-wrap:anywhere; }
.settings-me .gauge, .settings-plan .gauge { width:100%; }
.settings-logout { margin:0 0 12px; }
.settings-logout-btn { width:100%; min-height:44px; }
.settings-rows { padding:0; overflow:hidden; }
.settings-row { display:flex; align-items:center; gap:12px; width:100%; min-height:60px; margin:0; padding:12px 16px;
  border:0; border-radius:0; background:transparent; color:var(--text); text-align:left; text-decoration:none; font-weight:400; box-shadow:none; }
.settings-row + .settings-row { border-top:1px solid var(--line); }
.settings-row[hidden] { display:none; }
.settings-row:hover { background:var(--color-gray-100); }
.settings-row-text { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
.settings-row-text strong { font-size:14px; line-height:22px; font-weight:600; overflow-wrap:anywhere; }
.settings-row-text small { font-size:12px; line-height:18px; color:var(--text-sub); overflow-wrap:anywhere; }
.settings-row-go { flex:none; font-size:20px; line-height:1; color:var(--color-gray-400); }
/* 「여기를 뭐라고 부르나요」는 원래 매장 관리 카드 아래에 붙던 덩어리라 맨 앞에 구분선을 들고 온다. 설정에서는 카드 첫 줄이니 뺀다 (2026-10-02). */
#panel-settings #store-label-box > .divider:first-child { display:none; }

/* 매장 관리 · 이용 통계 머리 (2026-10-02 2회차). 다른 탭과 같은 제목 + 설명, 「← 설정으로」는 제목 줄 오른쪽에 작게. */
.ops-settings-sub { flex-wrap:nowrap; align-items:flex-start; }
.ops-settings-sub > div { min-width:0; flex:1 1 auto; }
.ops-settings-sub > .ops-back-settings { margin:0; flex:none; }
/* 요금제와 사용량 카드는 게이지 하나 */
.settings-plan { display:flex; flex-direction:column; gap:12px; }

/* 🔴 폰 글자 크기 한 세트 (2026-10-02 2회차, 채점 F 「탭마다 18 · 22 · 11px 이 섞였다」).
   20 탭 제목(h1) · 16 묶음/카드 제목 · 14 본문과 짧은 설명 · 12 보조 글자, 네 값만 쓴다.
   operations.css 에서 가장 많이 쓰는 값(14 · 12 · 16 · 20)이 기준이다. 그 밖의 값이 폰에 보이던 자리를 여기서 맞춘다. */
@media (max-width:767px) {
 body.operations-ui .home-card-title { font-size:16px; line-height:24px; }   /* 내 TV 「우리 매장 화면」 18 -> 16 */
 body.operations-ui .page-more > summary { font-size:12px; }                /* 「자세히 보기」 13 -> 12 */
 body.operations-ui .lf-tile-meta { font-size:12px; }                       /* 타일 아래 한 줄 11 -> 12 */
 body.operations-ui .asset-row-menu > summary { font-size:20px; }           /* 사진·영상 줄의 ⋮ 24 -> 20 */
}

/* ------------------------------------------------------------ 폰 정보 구조 3회차 (2026-10-02, 채점 B · F · G)
   1) 기기 관리 화면에도 「내 TV」 머리(`.ops-tv-head`, 내 매장의 `.dash-head` 와 같은 틀)를 세워 제목 · 설명 · 탭 줄이
      내 매장과 같은 y 에 머문다. 옛 머리의 h1(「기기」 등)은 2단 탭이 같은 말을 하니 아예 숨긴다.
   2) 2단 탭 [기기 · 재생목록 · 스케줄] 을 1단 탭과 같은 밑줄 문법으로. 1단 16/600 + 줄 전체 아래 선,
      2단 14/600 + 고른 칸 아래 2px 줄만(줄 전체 선 없음). 회색 알약은 걷었다.
   3) 폰에서 머리의 「자세히 보기」는 숨긴다 - 짧은 설명이 이미 같은 말을 한다. 네 탭의 하위 탭 줄이 같은 y 에 선다.
   4) 설정 카드 제목은 16 한 크기. 5) 템플릿 타일 글자는 타일 안에서 끝나고, 필터는 잘리지 않는다. */
body:not(.operations-ui) .ops-tv-head { display:none; }
body.operations-ui .ops-tv-head { display:block; margin:0 0 12px; }
body.operations-ui .ops-tv-head .dash-title { font-size:24px; line-height:36px; font-weight:700; margin:0; }
.ops-tv-head + .ops-tv-tabs { margin-top:4px; }
.ops-subhead .page-title-row h1 { display:none; }
.ops-tv-navigation { display:flex; gap:20px; padding:0; border-radius:0; background:transparent; }
.ops-tv-navigation button { position:relative; min-height:40px; padding:8px 2px 9px; border-radius:0; background:transparent;
  color:var(--text-sub); font-size:14px; line-height:22px; font-weight:600; }
.ops-tv-navigation button.active, .ops-tv-navigation button.active:hover { background:transparent; box-shadow:none; color:var(--text); }
.ops-tv-navigation button.active::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
  border-radius:2px 2px 0 0; background:var(--primary); }
.settings-note { margin:0; padding:12px 16px; border-top:1px solid var(--line); color:var(--text-sub); font-size:12px; line-height:18px; }
#panel-settings #store-label-title { font-size:16px!important; line-height:24px; }
.lf-tile { align-items:stretch; }
.lf-tile-body { width:100%; box-sizing:border-box; }
.lf-tile-name { white-space:normal; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.lf-tile-meta { overflow-wrap:anywhere; }
@media (max-width:767px) {
 body.operations-ui .ops-tv-head .dash-title { font-size:20px; line-height:30px; }
 body.operations-ui .page-heading .page-more { display:none; }
 body.operations-ui #apps-tabs, body.operations-ui #layouts-tabs, body.operations-ui .ops-media-tabs { margin-top:12px; }   /* 머리 아래 여백과 겹쳐 12 - 내 TV 탭 줄과 같은 y138 */
 body.operations-ui .ops-tv-navigation { gap:0; }
 body.operations-ui .ops-tv-navigation button { flex:1 1 0; padding:8px 4px 9px; }
 .operations-ui #ops-template-filters { grid-template-columns:minmax(0,1fr) minmax(0,2fr); }   /* 기기 칸(FHD 등)은 짧고 업종 이름은 길다 */
 .operations-ui #ops-template-filters > label.row { grid-column:1 / -1; }
}

/* 내 앱 카드 머리 - 이름 + 톱니(앱 설정) (2026-10-03) */
.ops-widget-head { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
.ops-widget-head h3 { margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ops-widget-gear { flex:none; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; margin:-10px -10px -10px 0; border:0; border-radius:12px; background:transparent; color:var(--text-sub); }
.ops-widget-gear:hover { background:var(--color-gray-150); color:var(--text); }
.ops-widget-gear svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; }

/* 내 앱 카드 (2026-10-03 대표 「각 앱 디자인은 그 앱에 맞게」 「바로바로 그 앱 간단한 거 사용가능하게」).
   넓은 카드 = 입력이 있는 앱(호출 · 웨이팅 · 주문 · 유튜브), 작은 카드 = 보기만 하는 앱(폰 2열).
   🔴 같은 크기끼리 높이가 같아야 한다 - grid-auto-rows:1fr 이 줄마다 가장 높은 카드에 맞춘다. 칸 높이도 고정이다. */
.mine-grid { display:grid; gap:12px; grid-auto-rows:1fr; min-width:0; }
.mine-grid + .mine-grid { margin-top:12px; }
.mine-grid-wide { grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr)); }
.mine-grid-small { grid-template-columns:repeat(auto-fill,minmax(min(196px,calc(50% - 6px)),1fr)); }
.mine-card { display:flex; flex-direction:column; gap:10px; min-width:0; padding:12px 14px 14px; border:1px solid var(--line); border-top:4px solid var(--mine-accent,#2c4860); border-radius:16px; background:var(--bg); overflow:hidden; box-sizing:border-box; }
.mine-card button { margin:0; }
.mine-head { display:flex; align-items:center; gap:10px; min-height:44px; min-width:0; }
.mine-icon { flex:none; width:32px; height:32px; border-radius:9px; overflow:hidden; background:var(--mine-accent,#2c4860); }
.mine-icon img { display:block; width:100%; height:100%; object-fit:cover; }
.mine-head h3 { flex:1; margin:0; font-size:15px; line-height:20px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-card .ops-widget-gear { margin:0 -8px 0 0; }
.mine-body { display:flex; flex-direction:column; gap:10px; flex:1; min-width:0; }
.mine-body select { width:100%; min-width:0; min-height:44px; margin:0; }
.mine-now { display:flex; align-items:center; gap:12px; height:72px; min-width:0; }
.mine-now-text { display:flex; flex-direction:column; justify-content:center; min-width:0; }
.mine-big { font-size:40px; line-height:48px; font-weight:800; font-variant-numeric:tabular-nums; color:var(--mine-accent,#1476db); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-sub { font-size:13px; line-height:18px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-thumb { flex:none; width:128px; height:72px; border-radius:10px; object-fit:cover; background:#172433; }
.mine-action { display:flex; gap:8px; min-width:0; margin:auto 0 0; }
.mine-action input { flex:1; width:0; min-width:0; height:48px; min-height:48px; margin:0; font-size:18px; font-variant-numeric:tabular-nums; }
.mine-action button { flex:none; height:48px; min-height:48px; max-height:none; padding:0 18px; white-space:nowrap; }
.mine-action button.block { flex:1; width:100%; font-size:16px; }
.mine-action button.primary { background:var(--mine-accent,#1476db); border-color:var(--mine-accent,#1476db); color:#fff; }
.mine-action button:disabled { opacity:.45; }
.mine-feedback { margin:0; height:18px; font-size:12px; line-height:18px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-card[data-size=small] { padding:10px; gap:8px; }
.mine-card[data-size=small] .mine-head { gap:8px; }
.mine-card[data-size=small] .mine-icon { width:28px; height:28px; border-radius:8px; }
.mine-card[data-size=small] .mine-head h3 { font-size:14px; }
.mine-preview { flex:none; aspect-ratio:16/9; border-radius:10px; overflow:hidden; background:#172433; }
.mine-preview img { display:block; width:100%; height:100%; object-fit:cover; }
.mine-preview[data-fit=contain] img { object-fit:contain; }
.mine-foot { margin:auto 0 0; height:44px; line-height:44px; font-size:13px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
button.mine-foot { width:100%; height:44px; min-height:44px; padding:0 8px; font-size:14px; line-height:20px; color:#fff; background:var(--mine-accent,#1476db); border-color:var(--mine-accent,#1476db); }
/* ------------------------------------------------------------ 내 TV · 매장 중심 (2026-10-03 A안)
   하위 탭 [내 매장 | 기기 관리] 를 걷고, 매장이 여럿이면 매장별 묶음 [이름 · n대 | + TV] + 타일 + 「매장 설정」.
   「전체 보기」는 같은 격자 안에서 펼친다. 재생목록 · 스케줄은 아래 「재생 설정」 카드 두 줄. */
body #home-tiles.home-tiles-grouped { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
#home-add-tv[hidden] { display:none; }
.operations-ui #home-tiles.home-tiles-grouped > .home-store { display:block; }
.home-store { min-width:0; padding:14px; border:1px solid var(--color-gray-200); border-radius:14px; background:var(--bg); }
.home-store-head { display:flex; align-items:center; gap:12px; margin:0 0 12px; }
.home-store-title { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
.home-store-name { margin:0; font-size:16px; line-height:24px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-store-meta { font-size:14px; line-height:22px; color:var(--text-sub); }
.home-store-meta.warn { color:var(--danger); }
.home-store-head .home-store-add { flex:none; min-height:44px; min-width:64px; margin:0; }
.home-store-tiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:16px; }
.home-store-tiles .home-tiles-all, #home-tiles > .home-tiles-all { grid-column:1 / -1; }
.home-store .home-store-settings { min-height:44px; margin:10px 0 0; padding:0 4px; }
.home-tiles-all[aria-expanded=true] { background:var(--color-gray-100); }
#home-playback .home-card-head { margin-bottom:12px; }
.home-playback-rows { margin:0; }
.home-playback-rows .hs-row { min-height:60px; }
.home-playback-text { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
.home-playback-text strong { font-size:16px; line-height:24px; font-weight:600; }
.home-playback-text small { font-size:14px; line-height:22px; font-weight:400; color:var(--text-sub); }
body.operations-ui .ops-tv-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.ops-tv-head .page-title-row { flex:1 1 auto; min-width:0; }
.ops-tv-head .ops-back-tv { flex:none; min-height:44px; margin:0; white-space:nowrap; }

/* 기기 창 - 기기 관리 탭에 있던 일을 2열 단추로 */
.hs-tools-wrap { margin:16px 0 0; }
.hs-tools { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
.hs-tools .hs-tool { min-height:48px; margin:0; padding:8px 10px; border:1px solid var(--color-gray-300); border-radius:10px; background:var(--bg);
  color:var(--text); font-size:14px; line-height:20px; font-weight:600; white-space:normal; overflow-wrap:anywhere; }
.hs-tools .hs-tool:hover { background:var(--color-gray-100); }
.hs-seen { margin:8px 0 0; font-size:14px; line-height:22px; color:var(--text-sub); }

/* 기기 추가 창 (2026-10-03 대표 「x버튼이 없어서 닫을 수가 없음 … 폰트 정리」). 글자 단계는 `.ops-sheet` 와 같다:
   제목 20/30 · 본문 16/24 · 보조 14/22. */
#claim-modal .claim-dialog { max-width:520px; }
#claim-modal .claim-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 4px; }
#claim-modal .claim-head h2 { margin:0; font-size:20px; line-height:30px; font-weight:700; min-width:0; }
#claim-modal .claim-close { display:grid; place-items:center; }
#claim-modal .m-desc { font-size:14px; line-height:22px; margin:0 0 16px; }
#claim-modal label.field > span.lbl, #claim-modal .claim-store-field > .lbl { display:block; font-size:14px; line-height:22px; font-weight:600; color:var(--text); margin:0 0 6px; }
#claim-modal .field { margin:0 0 16px; }
#claim-modal input:not(.code-input), #claim-modal select { font-size:16px; line-height:24px; min-height:48px; }
#claim-modal label.field > input { width:100%; box-sizing:border-box; }
#claim-modal .claim-steps { list-style:none; margin:0 0 20px; padding:0; display:grid; gap:12px; }
#claim-modal .claim-steps[hidden] { display:none; }
.claim-steps li { display:flex; align-items:flex-start; gap:12px; font-size:16px; line-height:24px; color:var(--text); }
.claim-step-no { flex:none; display:grid; place-items:center; width:28px; height:28px; margin-top:-2px; border-radius:50%;
  background:var(--color-blue-100); color:var(--primary); font-size:14px; line-height:22px; font-weight:700; }
.claim-store-row { display:flex; gap:8px; align-items:stretch; }
.claim-store-row select { flex:1 1 auto; min-width:0; }
#claim-modal .claim-store-row button { flex:none; min-height:48px; margin:0; white-space:nowrap; }
#claim-modal .claim-new-store { margin:-4px 0 16px; padding:12px; border-radius:12px; background:var(--color-gray-100); }
#claim-modal .claim-new-store[hidden] { display:none; }
#claim-modal .claim-new-store .hint { font-size:14px; line-height:22px; margin:0 0 8px; }
#claim-modal .claim-new-store .hint[hidden] { display:none; }
#claim-modal .claim-new-row button { min-height:48px; margin:0; white-space:nowrap; }
@media (max-width:767px) {
  .home-store { padding:12px; }
  .home-store-tiles { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  .operations-ui .home-store-tiles .home-tile { min-width:0; padding:8px; }
  .home-store-tiles .home-tile:only-child { grid-column:1 / -1; }
  .home-store-tiles .home-tiles-all { min-height:48px; margin-top:2px; }
}

/* PC 왼쪽 메뉴에 「매장 설정」을 내 TV · 디자인 · 앱과 같은 줄로 (2026-10-03 대표 지시). 로고 옆 칩은 걷는다. */
@media (min-width: 768px) {
  .operations-ui .tabbar .nav-scroll > #ops-bottom-settings { display:flex!important; }
  .operations-ui .topbar .workspace-menu { display:none!important; }
}
/* ---- 내 앱 v2 (2026-10-03) - 호출 다음 번호 · 초기화, 날씨 지금, QR 통계, 공통 설정 시트 ---- */
.mine-now .mine-call-reset { flex:none; margin:0 0 0 auto; min-height:44px; padding:0 12px; font-size:14px; }
.mine-action button.mine-call-next { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; height:56px; min-height:56px; line-height:20px; }
.mine-call-next span { font-size:16px; font-weight:700; }
.mine-call-next small { font-size:14px; line-height:18px; opacity:.85; font-variant-numeric:tabular-nums; }
.mine-action.mine-call-manual input { height:44px; min-height:44px; font-size:16px; }
.mine-action.mine-call-manual button { height:44px; min-height:44px; font-size:14px; }
.mine-confirm { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; padding:8px 10px; border-radius:10px; background:var(--color-gray-100,#f2f4f6); font-size:14px; line-height:20px; }
.mine-confirm[hidden] { display:none; }
.mine-confirm span { flex:1 1 100%; min-width:0; }
.mine-confirm button { min-height:44px; padding:0 14px; }
.mine-wx { display:flex; flex-direction:column; justify-content:space-between; padding:10px 12px; background:linear-gradient(160deg,#1f5f8f,#173a5a); color:#fff; box-sizing:border-box; min-width:0; }
.mine-wx-row { display:flex; align-items:center; gap:8px; min-width:0; }
.mine-wx-icon { flex:none; width:40px; height:40px; }
.mine-wx-icon svg { display:block; }
.mine-wx-temp { font-size:30px; line-height:36px; font-weight:800; font-variant-numeric:tabular-nums; }
.mine-wx-meta { display:flex; flex-direction:column; min-width:0; }
.mine-wx-place, .mine-wx-hilo { font-size:14px; line-height:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-wx-hilo { opacity:.85; }
.mine-qr { display:grid; grid-template-columns:1fr 1fr; align-items:center; width:100%; height:auto; min-height:0; max-height:none; margin:0; padding:8px; border:0; background:#eef3f8; color:var(--text); cursor:pointer; box-sizing:border-box; }
.mine-qr-cell { display:flex; flex-direction:column; align-items:center; gap:2px; min-width:0; }
.mine-qr-cell small { font-size:14px; line-height:20px; color:var(--text-sub); }
.mine-qr-n { font-size:30px; line-height:36px; font-weight:800; font-variant-numeric:tabular-nums; color:var(--mine-accent,#18354a); }
.mine-sheet { width:min(520px,94vw); }
.mine-sheet-head { display:flex; align-items:center; gap:8px; min-width:0; }
.mine-sheet-head h2 { flex:1; margin:0; min-width:0; font-size:20px; line-height:30px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-back { flex:none; width:44px; height:44px; min-width:44px; min-height:44px; margin:0 0 0 -8px; padding:0; border:0; background:transparent; font-size:22px; line-height:44px; color:var(--text); }
.mine-sheet-make, .mine-sheet-danger { display:flex; flex-direction:column; gap:8px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.mine-sheet-make button, .mine-sheet-danger button, .mine-sheet-link { width:100%; min-height:44px; margin:0; font-size:16px; }
.mine-sheet-body > .mine-sheet-link { margin-top:16px; }
.mine-sheet-danger .apps-remove { color:var(--danger); }

/* ---- 내 앱 2~6단계: 앱마다 그 앱에 맞는 카드 (2026-10-03) ---- */
.mine-preview { position:relative; }
/* 통계 띠 - 웨이팅 · 주문 관리 카드 아래 */
.mine-stats { display:flex; gap:8px; min-width:0; padding-top:10px; border-top:1px solid var(--line); }
.mine-stat { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; }
.mine-stat strong { font-size:18px; line-height:24px; font-weight:800; font-variant-numeric:tabular-nums; color:var(--mine-accent,#1476db); white-space:nowrap; }
.mine-stat small { max-width:100%; font-size:12px; line-height:16px; color:var(--text-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* 위젯 판 카드 - 카드 안에서 위젯이 실제로 돈다 */
.mine-widget { background:#10151b; }
.mine-widget iframe { position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none; }
.mine-now.mine-now-frame { display:block; }
.mine-preview.mine-widget-wide { width:100%; height:72px; aspect-ratio:auto; }
/* 영업시간 - 지금 상태 배지 */
.mine-open { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:8px; text-align:center; background:#5b6470; color:#fff; box-sizing:border-box; }
.mine-open[data-open-state=open] { background:#157a41; }
.mine-open[data-open-state=break] { background:#b7791f; }
.mine-open-badge { font-size:28px; line-height:32px; font-weight:800; letter-spacing:.04em; }
.mine-open-line, .mine-open-today { max-width:100%; font-size:13px; line-height:18px; opacity:.92; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* 바깥 서비스에서 읽은 값 · 목록 · Wi-Fi */
.mine-info { display:flex; flex-direction:column; justify-content:center; gap:4px; padding:10px 12px; background:#eef3f8; color:var(--text); min-width:0; box-sizing:border-box; }
.mine-info-main { font-size:16px; line-height:22px; font-weight:700; word-break:keep-all; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.mine-info-sub { font-size:13px; line-height:18px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-info[data-state=error] .mine-info-main { color:var(--danger); }
.mine-info[data-info=live_store_wifi] .mine-info-main { font-size:20px; line-height:26px; }
.mine-info[data-info=live_store_wifi] .mine-info-sub { letter-spacing:.12em; }
.mine-page-name { position:absolute; left:8px; bottom:8px; max-width:calc(100% - 16px); padding:2px 8px; border-radius:6px; background:rgba(0,0,0,.6); color:#fff; font-size:13px; line-height:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mine-unhung { color:var(--warn-text,#b45309); }
.mine-sheet-form { display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.mine-sheet-form input { min-height:44px; margin:0; }
.mine-sheet-form button { min-height:44px; }
.qrapp-title, body.operations-ui #panel-qrapp .qrapp-title { display:flex; align-items:center; gap:4px; } /* 하위 화면이라 폰에서도 ← 를 세운다 */
.qrapp-title h1 { margin:0; }
.qrapp-totals .qrapp-cnt { justify-content:flex-start; gap:24px; }
.qrapp-totals .qrapp-cnt b { font-size:30px; line-height:36px; }
.qrapp-summary h2 { margin:16px 0 8px; font-size:16px; line-height:24px; }
.qrapp-cnt { display:flex; gap:12px; flex:none; }
.qrapp-cnt > span { display:flex; flex-direction:column; align-items:flex-end; min-width:40px; }
.qrapp-cnt small { font-size:12px; line-height:16px; color:var(--text-sub); }
.qrapp-cnt b { font-size:16px; line-height:24px; font-variant-numeric:tabular-nums; }
.qrapp-group { border-top:1px solid var(--line); }
.qrapp-group > summary { display:flex; align-items:center; gap:12px; min-height:56px; padding:6px 0; cursor:pointer; list-style:none; }
.qrapp-group > summary::-webkit-details-marker { display:none; }
.qrapp-name { display:flex; flex-direction:column; flex:1; min-width:0; }
.qrapp-name strong { font-size:16px; line-height:24px; }
.qrapp-name small { font-size:14px; line-height:20px; color:var(--text-sub); }
.qrapp-sub { padding:0 0 8px 12px; }
.qrapp-sub h3 { margin:8px 0 4px; font-size:14px; line-height:20px; color:var(--text-sub); }
.qrapp-subrow { display:flex; align-items:center; gap:12px; min-height:44px; font-size:14px; }
.qrapp-subrow > span:first-child { flex:1; min-width:0; }
.qrapp-links > summary { min-height:44px; display:flex; align-items:center; font-size:16px; font-weight:600; cursor:pointer; }
.qrapp-foot { display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.qrapp-foot .mine-make { min-height:44px; }
.qrapp-foot .apps-remove { align-self:flex-start; min-height:44px; }
@media (max-width:480px) {
  .qrapp-cnt { gap:8px; }
  .qrapp-cnt > span { min-width:32px; }
}

/* 하루 스케줄 캘린더 (timetable.js, 2026-10-03 대표 「구글캘린더 참고」). 글자 단계는 `.ops-sheet` 와 같다:
   제목 20/30 · 줄 제목 16 · 나머지 14. 폰 단추는 44px 이상. */
.tt-sheet .tt-body, .tt-sub .tt-sub-body { display:grid; gap:12px; margin:12px 0 0; }
.tt-body[aria-busy="true"] { cursor:progress; opacity:.7; }
.tt-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tt-head-name { display:flex; flex-direction:column; min-width:0; }
.tt-head-name small { font-size:14px; line-height:22px; color:var(--text-sub); }
.tt-head-name strong { font-size:16px; line-height:24px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tt-head .tt-switch { flex:none; min-height:44px; font-size:14px; }
.tt-shared, .tt-note, .tt-still, .tt-next, .tt-empty, .tt-q { margin:0; font-size:14px; line-height:22px; }
.tt-shared { color:var(--primary); font-weight:600; }
.tt-note { padding:8px 12px; border-radius:10px; background:var(--color-blue-50); color:var(--text); }
.tt-q { font-weight:600; color:var(--text); }
.tt-complex { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; padding:8px 12px; border-radius:10px;
  background:var(--color-gray-100); font-size:14px; line-height:22px; }
.tt-complex button { min-height:44px; }
.tt-row { display:grid; gap:8px; padding:12px; border:1px solid var(--color-gray-300); border-radius:12px; }
.tt-row.tt-now { border-color:var(--primary); box-shadow:0 0 0 1px var(--primary) inset; }
.tt-row-head { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.tt-row-title { font-size:16px; line-height:24px; }
.tt-row-sub { font-size:14px; line-height:22px; color:var(--text-sub); }
.tt-now-badge { padding:0 8px; border-radius:999px; background:var(--primary); color:#fff; font-size:14px; line-height:22px; font-weight:600; }
.tt-thumbs { display:flex; flex-wrap:wrap; gap:8px; }
.tt-thumb, .tt-add { position:relative; width:78px; height:48px; min-width:44px; min-height:44px; margin:0; padding:0; border:1px solid var(--color-gray-300);
  border-radius:8px; overflow:hidden; background:var(--color-gray-100); -webkit-touch-callout:none; user-select:none; }
.tt-thumb img { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.tt-thumb-sec { position:absolute; right:2px; bottom:2px; padding:0 4px; border-radius:4px; background:rgba(0,0,0,.6); color:#fff; font-size:14px; line-height:18px; }
.tt-add { display:grid; place-items:center; border-style:dashed; background:var(--bg); color:var(--primary); font-size:20px; font-weight:600; }
.tt-chips { display:flex; flex-wrap:wrap; gap:8px; }
.tt-chip { min-height:44px; margin:0; padding:0 14px; border:1px solid var(--color-gray-300); border-radius:999px; background:var(--bg); color:var(--text);
  font-size:14px; font-weight:500; }
.tt-chip[aria-pressed="true"] { border-color:var(--primary); background:var(--color-blue-50); color:var(--primary); font-weight:600; }
.tt-times { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:14px; }
.tt-time { min-height:44px; font-size:16px; padding:0 8px; }
.tt-pick-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; }
.tt-pick { display:grid; gap:4px; min-height:44px; margin:0; padding:4px; border:2px solid transparent; border-radius:10px; background:var(--color-gray-100); text-align:left; }
.tt-pick[aria-pressed="true"] { border-color:var(--primary); background:var(--color-blue-50); }
.tt-pick-img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:6px; background:var(--color-gray-200); }
.tt-pick-name { font-size:14px; line-height:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tt-go, .tt-add-slot, .tt-spread, .tt-remove { min-height:48px; margin:0; }
.tt-foot { display:grid; gap:8px; }
.tt-store { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:4px 0 0; font-size:16px; }
.tt-tv { display:flex; align-items:center; gap:10px; min-height:44px; font-size:16px; }
.tt-tv input { width:22px; height:22px; flex:none; }
.tt-tv small { margin-left:auto; font-size:14px; color:var(--text-sub); }
.tt-sched.on { border-color:var(--primary); }
.tt-legacy { justify-self:start; min-height:44px; }
/* 템플릿으로 만들기 - 업종 카드 (2026-10-03) */
.tt-tpl { display:grid; gap:8px; padding:0 0 12px; border-bottom:1px solid var(--color-gray-200); }
.tt-tpl .tt-q, .tt-tpl-sub { margin:0; }
.tt-tpl-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(148px, 1fr)); gap:8px; }
.tt-tpl-card { display:grid; gap:4px; align-content:start; min-width:0; min-height:44px; margin:0; padding:6px; border:1px solid var(--color-gray-300);
  border-radius:12px; background:var(--bg); color:var(--text); text-align:left; font-weight:400; }
.tt-tpl-card.on { border-color:var(--primary); box-shadow:0 0 0 1px var(--primary) inset; }
.tt-tpl-card:disabled { opacity:.6; cursor:progress; }
.tt-tpl-img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:8px; background:var(--color-gray-200); }
.tt-tpl-text { display:flex; align-items:center; gap:6px; min-width:0; }
.tt-tpl-text strong { font-size:16px; line-height:24px; }
.tt-tpl-badge { padding:0 6px; border-radius:999px; background:var(--color-blue-50); color:var(--primary); font-size:14px; line-height:20px; font-weight:600; }
.tt-tpl-card small { font-size:14px; line-height:20px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tt-tpl-strip { position:relative; display:block; height:8px; border-radius:4px; background:var(--color-gray-200); overflow:hidden; }
.tt-tpl-strip i { position:absolute; top:0; bottom:0; }
.tt-mine-q { margin:4px 0 0; }
/* 하루 | 일주일 전환 + 일주일 보기 (PC 768px 이상) */
.tt-modes { display:flex; gap:0; justify-self:start; border:1px solid var(--color-gray-300); border-radius:999px; overflow:hidden; }
.tt-modes .tt-chip { border:0; border-radius:0; }
@media (min-width:768px) {
  .ops-sheet.tt-wide { width:min(1180px, 96vw); max-width:none; }
}
.tt-week { position:relative; margin:4px 0 0; border-top:1px solid var(--color-gray-200); }
.tt-week-head { display:grid; grid-template-columns:48px repeat(7, minmax(0,1fr)); position:sticky; top:0; z-index:2; background:var(--bg);
  border-bottom:1px solid var(--color-gray-200); }
.tt-week-head span { padding:6px 4px; font-size:14px; line-height:20px; font-weight:600; text-align:center; color:var(--text-sub); }
.tt-week-head span.tt-today { color:var(--primary); }
.tt-week-body { position:relative; }
.tt-week-cols { position:absolute; left:48px; right:0; top:0; bottom:0; display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); }
.tt-week-col { position:relative; border-left:1px solid var(--color-gray-200); cursor:pointer; }
.tt-week-col.tt-today { background:color-mix(in srgb, var(--primary) 4%, var(--bg)); }
.tt-week .tt-block { left:2px; right:2px; width:auto; min-height:44px; padding:2px 6px; }
.tt-week .tt-block-head { flex-direction:column; align-items:flex-start; gap:0; }
.tt-week .tt-block-head small { white-space:nowrap; }
.tt-week .tt-nowline { left:0; }
/* 세로 시간 축 - 왼쪽 48px 에 시각, 그 오른쪽에 색 블록 (구글 캘린더 하루 보기) */
.tt-cal { position:relative; margin:4px 0 0; border-top:1px solid var(--color-gray-200); }
.tt-hour { position:absolute; left:0; width:44px; margin-top:-11px; font-size:14px; line-height:22px; color:var(--text-sub); font-variant-numeric:tabular-nums; }
.tt-hour:first-child { margin-top:0; }
.tt-line { position:absolute; left:48px; right:0; height:0; border-top:1px solid var(--color-gray-200); }
.tt-grid { position:absolute; left:48px; right:0; top:0; bottom:0; cursor:pointer; }
.tt-block { position:absolute; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:4px;
  min-height:44px; margin:0; padding:4px 8px; border:0; border-left:4px solid var(--tt-c); border-radius:8px; overflow:hidden;
  background:color-mix(in srgb, var(--tt-c) 14%, var(--bg)); color:var(--text); text-align:left; font-weight:400; }
.tt-block.tt-now { box-shadow:0 0 0 2px var(--tt-c) inset; }
.tt-block-head { display:flex; align-items:baseline; gap:6px; min-width:0; max-width:100%; }
.tt-block-head strong { font-size:14px; line-height:20px; flex:none; }
.tt-block-head small { font-size:14px; line-height:20px; color:var(--text-sub); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.tt-block-thumbs { display:flex; align-items:center; gap:4px; }
.tt-block-thumbs img, .tt-block-thumbs i { width:40px; height:24px; border-radius:4px; object-fit:cover; background:var(--color-gray-200); }
.tt-block-n { font-size:14px; line-height:20px; color:var(--text-sub); }
.tt-nowline { position:absolute; left:44px; right:0; height:0; border-top:2px solid var(--danger); pointer-events:none; }
.tt-nowline::before { content:''; position:absolute; left:0; top:-5px; width:8px; height:8px; border-radius:50%; background:var(--danger); }
.tt-sub .ops-sheet-hint { margin-top:8px; }   /* 닫기 단추(-6px 여백)와 2px 겹치던 것 */

/* ------------------------------------------------------------ 재생목록 편집기 (2026-10-03)
   대표 「재생목록 내의 항목 클릭했는데 왜 아무 반응 없어, 편집기도 왜 템플릿 편집기가 뜨냐」.
   목록 화면과 편집 화면은 한 번에 하나다. `#panel-playlists.pl-editing` 하나로 가른다(폰 · PC 같음).
   글자는 시트 단계(20/30 · 16 · 14), 폰 단추는 44px 이상. */
#panel-playlists.pl-editing > .page-heading, #panel-playlists.pl-editing .pl-side { display:none; }
#panel-playlists:not(.pl-editing) .pl-main { display:none; }
.ops-device-playback #panel-playlists .pl-main { display:block; }
#panel-playlists .pl-layout { display:block; }
.pl-rows { display:grid; gap:8px; }
.pl-row { display:flex; align-items:center; gap:12px; width:100%; min-height:72px; margin:0; padding:12px 14px;
  border:1px solid var(--color-gray-300); border-radius:12px; background:var(--bg); color:var(--text); text-align:left; font-weight:400; }
.pl-row:hover { background:var(--color-gray-100); border-color:var(--color-gray-400); }
.pl-row-thumbs { flex:none; display:flex; gap:4px; width:200px; }
.pl-row-thumb { display:block; width:64px; height:36px; object-fit:cover; border-radius:6px; background:var(--color-gray-200); }
.pl-row-thumb.none { display:grid; place-items:center; color:var(--text-hint); font-size:14px; }
.pl-row-mid { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
.pl-row-name { font-size:16px; line-height:24px; font-weight:600; color:var(--text); }
.pl-row-sub { font-size:14px; line-height:22px; color:var(--text-sub); }
.pl-row-tv { flex:none; white-space:nowrap; }
.pl-row-go { flex:none; display:inline-flex; color:var(--color-gray-400); }
.pl-row-go svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

.pl-ed-head { display:grid; gap:8px; padding-bottom:16px; border-bottom:1px solid var(--divider); }
.pl-back { justify-self:start; min-height:44px; padding:0 8px; margin:0 0 0 -8px; font-size:14px; font-weight:600; color:var(--primary); }
.pl-ed-title { display:flex; align-items:center; gap:8px; }
.pl-ed-title .pl-name { flex:1 1 auto; width:auto; min-width:0; max-width:none; min-height:44px; font-size:20px; line-height:30px; font-weight:700;
  border-color:transparent; background:transparent; padding:4px 8px; margin:0 0 0 -8px; }
.pl-ed-title .pl-name:hover, .pl-ed-title .pl-name:focus { border-color:var(--color-gray-300); background:var(--bg); }
.pl-more { flex:none; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; margin:0; font-size:20px; line-height:1; }
.pl-ed-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.pl-ed-meta #pl-summary { margin:0; font-size:14px; line-height:22px; }
.pl-show-tv { min-height:44px; margin:0; }

#pl-items .pl-item { display:flex; flex-wrap:nowrap; align-items:center; gap:8px; padding:4px 8px 4px 4px; }
#pl-items .pl-grip { flex:none; min-width:44px; min-height:44px; margin:0; }
#pl-items .pl-ord { flex:none; }
.pl-item-open { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:12px; min-height:56px; margin:0; padding:4px;
  border:0; border-radius:8px; background:transparent; color:var(--text); text-align:left; font-weight:400; }
.pl-item-open:hover { background:var(--color-gray-100); }
.pl-item-open .pl-thumb { width:76px; height:44px; }
#pl-items .pl-item-open .pl-item-mid { flex:1 1 auto; flex-basis:auto; order:0; min-width:0; }
.pl-item-sec { flex:none; font-size:14px; line-height:22px; color:var(--text-sub); font-variant-numeric:tabular-nums; }
.pl-add-open { display:block; width:100%; min-height:48px; margin:8px 0 0; border:1px dashed var(--color-gray-400); border-radius:12px;
  background:var(--bg); color:var(--primary); font-size:16px; font-weight:600; }
.pl-add-open:hover { background:var(--color-blue-50); }

.pl-sheet-body { display:grid; gap:16px; margin:12px 0 0; }
.pl-sheet-preview { border-radius:10px; overflow:hidden; background:var(--color-gray-100); aspect-ratio:16/9; display:grid; place-items:center; }
.pl-sheet-img { display:block; width:100%; height:100%; object-fit:contain; }
.pl-sheet-img.none { display:grid; place-items:center; font-size:20px; color:var(--text-hint); }
.pl-sheet-kind { margin:-8px 0 0; font-size:14px; line-height:22px; color:var(--text-sub); overflow-wrap:anywhere; }
.pl-sheet-sec { display:grid; gap:8px; }
.pl-sheet-sec h3 { margin:0; font-size:16px; line-height:24px; font-weight:600; }
.pl-sheet-custom { gap:8px; font-size:14px; }
.pl-sheet-custom .pl-dur { width:88px; min-height:44px; font-size:16px; }
.pl-sheet-mode { min-height:44px; font-size:16px; }
.pl-sheet-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pl-sheet-move { min-height:44px; margin:0; }
.pl-sheet-foot { display:grid; gap:8px; }
.pl-sheet-edit { min-height:48px; display:flex; align-items:center; justify-content:center; }
.pl-sheet-foot .pl-del { min-height:44px; justify-self:center; }
.pl-add-sheet .segtog { width:100%; display:flex; }
.pl-add-sheet .segtog button { flex:1; min-height:44px; }
.pl-add-sheet .tt-pick-grid { max-height:50vh; overflow-y:auto; align-content:start; grid-auto-rows:max-content; }
.pl-add-web { display:grid; gap:8px; }
.pl-add-web .pl-url { min-height:44px; font-size:16px; }
.pl-pick-web { display:grid; place-items:center; font-size:20px; color:var(--text-hint); }
.pl-more-delete .ops-create-text strong { color:var(--danger); }
@media (max-width:767px) {
  .pl-row { padding:10px 12px; gap:10px; }
  .pl-row-thumbs { width:64px; }
  .pl-row-thumbs .pl-row-thumb:nth-child(n+2) { display:none; }
  .pl-ed-meta .pl-show-tv { flex:1 1 100%; }
  .pl-item-open { gap:8px; }
  .pl-item-open .pl-thumb { width:64px; height:36px; }
}

/* ------------------------------------------------------------ 뒤로가기 한 줄 규칙 (2026-10-03 대표)
   「각 페이지마다 뒤로가기버튼 잘 구축 되어있나, 어떤건 뒤로가기 버튼이 2개야, 재생목록왔더니 내TV, 재생목록 이렇게 뒤로가기가 2개야」
   한 화면에 뒤로가기는 하나. 머리줄 왼쪽 위, 「← 돌아갈 곳 이름」. 같은 모양(링크처럼 보이는 글자 단추, 누르는 자리 44px).
   머리줄의 단추 하나가 깊이에 따라 문구를 바꾼다(app.html `currentBack` · `paintBack`) - 안쪽 화면 단추는 겹치므로 숨긴다. */
body .gf-back { display:inline-flex; align-items:center; justify-content:flex-start; flex:none; width:auto; min-width:44px; min-height:44px; height:auto;
  margin:0 0 4px -8px; padding:0 8px; border:0; border-radius:8px; background:transparent; box-shadow:none;
  color:var(--primary); font-size:14px; line-height:22px; font-weight:600; white-space:nowrap; justify-self:start; align-self:flex-start; }
body .gf-back:hover { background:var(--color-gray-100); }
body.operations-ui #pl-back, body.operations-ui #sched-close { display:none; }
/* 머리줄 안에서 단추가 제목보다 위, 왼쪽 */
body.operations-ui .ops-tv-head { flex-direction:column-reverse; align-items:flex-start; justify-content:flex-end; gap:0; }
body.operations-ui .ops-tv-head .page-title-row { flex:none; width:100%; }
body.operations-ui .ops-tv-head .ops-back-tv { margin:0 0 4px -8px; }
body.operations-ui .ops-settings-sub { flex-direction:column-reverse; align-items:flex-start; flex-wrap:nowrap; gap:0; }
body.operations-ui .ops-settings-sub > div { width:100%; flex:none; }
body.operations-ui .ops-settings-sub > .ops-back-settings { margin:0 0 4px -8px; }
body.operations-ui #panel-qrapp .qrapp-title { flex-wrap:wrap; }
body.operations-ui #panel-qrapp .qrapp-title #qrapp-back { margin:0 12px 0 -8px; }
.media-edit-back.gf-back { height:auto; line-height:22px; }
/* 로고 = 홈 단추 */
.topbar .brand .brand-home { display:inline-flex; align-items:center; flex:none; width:auto; min-width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:8px; background:transparent; cursor:pointer; align-self:center; }
.topbar .brand .brand-home:hover { background:transparent; opacity:.8; }
.topbar .brand .brand-home:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.topbar .brand .brand-home .brand-logo { display:block; }
