:root { --tkw-navy:#10264c; --tkw-navy-2:#1f3b68; --tkw-gold:#e8a838; --tkw-yellow:#ffe800; --tkw-ink:#18243a; --tkw-muted:#667085; --tkw-line:#d9e1ea; --tkw-canvas:#f5f7fa; --tkw-danger:#b42318; --tkw-radius:14px; font-family:"Segoe UI", "Malgun Gothic", sans-serif; color:var(--tkw-ink); background:var(--tkw-canvas); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-width:320px; background:var(--tkw-canvas); }
button, select, textarea, input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.48; }
button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible { outline:3px solid #3c87d8; outline-offset:2px; }
.tkw-shell { min-height:100vh; display:grid; grid-template-columns:280px minmax(0,1fr); }
.tkw-sidebar { background:var(--tkw-navy); color:#fff; padding:24px 18px; display:flex; flex-direction:column; gap:20px; border-right:4px solid var(--tkw-gold); }
.tkw-brand { display:flex; align-items:center; gap:10px; }.tkw-brand-mark { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:var(--tkw-navy); background:var(--tkw-yellow); font-weight:900; font-size:21px; }.tkw-brand strong,.tkw-brand span { display:block; }.tkw-brand strong { letter-spacing:-.02em; }.tkw-brand span { color:#c7d3e7; font-size:12px; margin-top:2px; }.tkw-version-note { margin:0; color:var(--tkw-yellow); font-size:13px; font-weight:700; }.tkw-version-note span { display:block; color:#c7d3e7; font-weight:400; margin:5px 0 0 14px; }
.tkw-section-head,.tkw-panel-head,.tkw-device-row,.tkw-capture-actions,.tkw-dialog-actions { display:flex; align-items:center; gap:10px; }.tkw-section-head,.tkw-panel-head { justify-content:space-between; }.tkw-section-head h2,.tkw-panel-head h2 { margin:0; font-size:16px; }.tkw-section-head > span { font-size:12px; color:#c7d3e7; }.tkw-import label { display:block; color:#dbe6f5; font-size:12px; margin:12px 0 6px; }.tkw-import textarea { width:100%; resize:vertical; min-height:86px; border:1px solid #587197; border-radius:9px; padding:10px; color:#fff; background:#0a1b38; line-height:1.45; }.tkw-import textarea::placeholder { color:#9aacc9; }
.tkw-button { border:1px solid transparent; border-radius:9px; min-height:38px; padding:8px 12px; font-weight:800; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }.tkw-button:not(:disabled):hover { transform:translateY(-1px); box-shadow:0 5px 13px rgba(16,38,76,.17); }.tkw-button-gold { color:#172033; background:var(--tkw-yellow); }.tkw-button-gold:not(:disabled):hover { background:#fff75c; }.tkw-button-navy { color:#fff; background:var(--tkw-navy); }.tkw-button-outline { color:var(--tkw-navy); background:#fff; border-color:#9eb0c8; }.tkw-import .tkw-button { width:100%; margin-top:8px; }.tkw-field-message { min-height:18px; margin:6px 0 0; font-size:12px; color:inherit; }.tkw-field-message.tkw-error { color:var(--tkw-danger); }.tkw-sidebar .tkw-field-message.tkw-error { color:#ffbdab; }
.tkw-model-list { display:grid; gap:6px; overflow:auto; }.tkw-model-button { width:100%; display:flex; align-items:center; text-align:left; gap:9px; padding:10px; color:#eaf1fb; border:1px solid transparent; border-radius:9px; background:transparent; }.tkw-model-button:hover { background:#213d68; }.tkw-model-button[aria-current="true"] { color:#111b2e; background:var(--tkw-yellow); font-weight:800; }.tkw-model-dot { width:8px; height:8px; border-radius:999px; background:#91a6c5; flex:0 0 auto; }.tkw-model-dot[data-status="working"] { background:var(--tkw-gold); }.tkw-model-dot[data-status="done"] { background:#68ca9b; }.tkw-model-dot[data-status="hold"] { background:#f2994a; }.tkw-model-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tkw-sourcing-models { margin:18px auto 0; max-width:1280px; padding:20px; border:1px solid var(--tkw-line); border-radius:var(--tkw-radius); background:#fff; }.tkw-sourcing-models .tkw-section-head { align-items:start; }.tkw-sourcing-models .tkw-section-head h2 { font-size:21px; }.tkw-sourcing-models .tkw-section-head>span { color:var(--tkw-muted); }.tkw-sourcing-import { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; margin-top:12px; }.tkw-sourcing-import label { grid-column:1/-1; color:var(--tkw-muted); font-size:12px; font-weight:700; }.tkw-sourcing-import textarea { min-height:68px; resize:vertical; padding:9px; border:1px solid var(--tkw-line); border-radius:8px; }.tkw-sourcing-import .tkw-button { min-width:130px; }.tkw-sourcing-models .tkw-model-list { margin-top:12px; max-height:310px; }.tkw-source-model-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:8px; align-items:center; padding:7px; border:1px solid var(--tkw-line); border-radius:9px; background:#f8fafc; }.tkw-source-model-row input { width:18px; height:18px; accent-color:var(--tkw-navy); }.tkw-source-model-row .tkw-model-button { color:var(--tkw-navy); background:transparent; padding:8px; cursor:pointer; }.tkw-source-model-row .tkw-model-button:hover,.tkw-source-model-row .tkw-model-button[aria-pressed="true"] { background:#e8eef7; }.tkw-source-model-row .tkw-model-dot { background:#8096b7; }.tkw-source-model-row .tkw-model-dot[data-status="done"] { background:#268255; }.tkw-source-model-row .tkw-model-dot[data-status="working"] { background:#ba8500; }.tkw-dewu-link-editor { margin:0 0 14px; padding:13px 15px; border:1px solid var(--tkw-line); border-radius:10px; background:#f8fafc; }.tkw-dewu-link-editor summary { cursor:pointer; color:var(--tkw-navy); font-weight:800; }.tkw-dewu-link-editor p { color:var(--tkw-muted); font-size:13px; }.tkw-dewu-link-editor label { display:block; margin-top:10px; font-size:13px; font-weight:700; }.tkw-dewu-link-editor .tkw-confirm { display:flex; }.tkw-dewu-link-editor .tkw-button { margin-top:6px; }
.tkw-workspace { min-width:0; padding:22px clamp(18px,3vw,40px) 44px; }.tkw-topbar { display:flex; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid var(--tkw-line); }.tkw-device-control label { display:block; margin-bottom:6px; font-size:12px; color:var(--tkw-muted); font-weight:700; }.tkw-device-row select { min-width:235px; max-width:45vw; padding:9px; border:1px solid #b6c4d5; border-radius:8px; background:#fff; }.tkw-icon-button { height:38px; width:38px; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-navy); background:#fff; font-size:21px; }.tkw-scrcpy-note { max-width:390px; padding:10px 12px; border-radius:10px; color:#3d4656; background:#e8edf4; font-size:12px; }.tkw-scrcpy-note strong,.tkw-scrcpy-note code,.tkw-scrcpy-note span { display:block; }.tkw-scrcpy-note code { margin:4px 0; color:var(--tkw-navy); font-size:12px; font-weight:700; }.tkw-app-message { min-height:22px; margin:14px 0 0; color:#205a91; font-weight:700; font-size:13px; }.tkw-app-message.tkw-error { color:var(--tkw-danger); }
.tkw-empty-workspace { max-width:550px; margin:13vh auto; text-align:center; }.tkw-empty-icon { display:grid; place-items:center; width:58px; height:58px; margin:auto; border-radius:18px; color:var(--tkw-navy); background:var(--tkw-yellow); font-size:34px; }.tkw-empty-workspace h1 { margin:20px 0 8px; font-size:26px; letter-spacing:-.04em; }.tkw-empty-workspace p,.tkw-capture-card p,.tkw-basket-description,.tkw-dialog p { color:var(--tkw-muted); line-height:1.55; }.tkw-model-workspace { max-width:1280px; margin:0 auto; }.tkw-work-title { display:flex; justify-content:space-between; gap:16px; align-items:end; margin:22px 0; }.tkw-eyebrow { margin:0 0 5px!important; color:#926300!important; font-size:12px; font-weight:900; letter-spacing:.07em; }.tkw-work-title h1 { margin:0; font-size:clamp(24px,3vw,34px); letter-spacing:-.045em; }.tkw-status-select { font-size:12px; color:var(--tkw-muted); font-weight:700; }.tkw-status-select select { display:block; margin-top:5px; padding:7px; border:1px solid #b6c4d5; border-radius:8px; background:#fff; color:var(--tkw-ink); }
.tkw-capture-card,.tkw-results-panel,.tkw-basket-panel { border:1px solid var(--tkw-line); border-radius:var(--tkw-radius); background:#fff; box-shadow:0 2px 5px rgba(16,38,76,.04); }.tkw-capture-card { padding:21px; }.tkw-capture-card h2 { margin:0; font-size:20px; }.tkw-capture-card p { margin:6px 0; }.tkw-confirm { display:flex; align-items:flex-start; gap:9px; margin:16px 0; line-height:1.45; font-size:14px; }.tkw-confirm input { width:18px; height:18px; margin:1px 0 0; accent-color:var(--tkw-navy); }.tkw-confirm strong { color:var(--tkw-navy); }.tkw-capture-actions { flex-wrap:wrap; }.tkw-capture-button { min-height:46px; }.tkw-capture-explain { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:15px; padding-top:13px; border-top:1px solid #e6ebf0; }.tkw-capture-explain p { font-size:12px; }.tkw-busy { display:flex; align-items:center; gap:10px; margin-top:14px; padding:11px; border-radius:8px; background:#fff8cb; color:#5f4900; font-size:13px; font-weight:700; }.tkw-spinner { width:18px; height:18px; border:3px solid #d9b900; border-right-color:transparent; border-radius:999px; animation:tkw-spin .8s linear infinite; }@keyframes tkw-spin { to { transform:rotate(360deg); } }
.tkw-content-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; margin-top:18px; }.tkw-results-panel,.tkw-basket-panel { padding:18px; }.tkw-count-badge { padding:5px 8px; border-radius:999px; color:#624900; background:#fff3ad; font-size:12px; font-weight:800; }.tkw-capture-list { display:grid; gap:12px; margin-top:16px; }.tkw-empty-list { margin:26px 0; text-align:center; color:var(--tkw-muted); font-size:14px; }.tkw-capture-item { display:grid; grid-template-columns:112px minmax(0,1fr); gap:13px; padding:10px; border:1px solid #e0e7ef; border-radius:10px; }.tkw-capture-thumb { display:grid; place-items:center; width:112px; height:100px; overflow:hidden; border-radius:7px; background:#eff3f8; }.tkw-capture-thumb img { width:100%; height:100%; object-fit:cover; }.tkw-capture-info { min-width:0; }.tkw-capture-info h3 { margin:0; font-size:15px; }.tkw-meta-row { margin:5px 0 10px; color:var(--tkw-muted); font-size:12px; line-height:1.45; }.tkw-card-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }.tkw-small-button { min-height:31px; padding:5px 8px; border:1px solid #b6c4d5; border-radius:7px; color:var(--tkw-navy); background:#fff; font-size:12px; font-weight:800; }.tkw-small-button:hover { background:#edf3fa; }.tkw-failed { border-color:#f2b8b5; background:#fff9f8; }.tkw-failed h3 { color:var(--tkw-danger); }.tkw-source-label { margin-top:0; color:#765700!important; font-size:13px; font-weight:800; }.tkw-warning { color:#9c4c00!important; font-size:12px; }.tkw-basket-description { margin-top:8px; font-size:13px; }.tkw-basket-list { display:grid; gap:8px; min-height:95px; padding:0; list-style-position:inside; }.tkw-basket-item { display:grid; grid-template-columns:22px minmax(0,1fr) auto auto; gap:5px; align-items:center; padding:8px; border-radius:8px; background:#f1f5f9; font-size:12px; }.tkw-basket-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.tkw-order-button { width:25px; height:25px; padding:0; border:0; border-radius:5px; color:var(--tkw-navy); background:#fff; }.tkw-text-button { width:100%; margin-top:10px; padding:6px; border:0; color:var(--tkw-navy); background:transparent; text-decoration:underline; font-size:12px; font-weight:800; }
.tkw-dialog { width:min(760px,calc(100vw - 30px)); max-height:calc(100vh - 30px); padding:0; border:0; border-radius:var(--tkw-radius); box-shadow:0 22px 70px rgba(8,20,43,.35); }.tkw-dialog::backdrop { background:rgba(8,20,43,.62); }.tkw-dialog-shell { position:relative; padding:25px; }.tkw-dialog h2 { margin:0; font-size:22px; }.tkw-dialog-close { position:absolute; right:13px; top:12px; width:32px; height:32px; border:0; border-radius:50%; color:var(--tkw-navy); background:#edf2f7; font-size:24px; line-height:1; }.tkw-preview-frame { display:grid; place-items:center; max-height:min(54vh,520px); margin:14px 0; overflow:auto; border-radius:9px; background:#ecf0f5; }.tkw-preview-frame img { display:block; max-width:100%; max-height:min(54vh,520px); object-fit:contain; }.tkw-dialog-actions { justify-content:flex-end; flex-wrap:wrap; margin-top:16px; }.tkw-canvas-wrap { max-height:55vh; overflow:auto; margin-top:14px; border-radius:9px; background:#ecf0f5; }.tkw-canvas-wrap canvas { display:block; max-width:100%; height:auto; touch-action:none; cursor:crosshair; }.tkw-export-models { display:grid; gap:8px; margin:16px 0; }.tkw-export-models label { display:flex; gap:8px; align-items:center; padding:9px; border-radius:7px; background:#f1f5f9; }.tkw-export-models input { accent-color:var(--tkw-navy); }
@media (max-width:820px) { .tkw-shell { grid-template-columns:1fr; }.tkw-sidebar { border-right:0; border-bottom:4px solid var(--tkw-gold); }.tkw-model-list { grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); max-height:160px; }.tkw-topbar { align-items:flex-start; flex-direction:column; }.tkw-scrcpy-note { max-width:none; width:100%; }.tkw-content-grid { grid-template-columns:1fr; }.tkw-basket-panel { order:-1; }.tkw-device-row select { max-width:70vw; } }
@media (max-width:480px) { .tkw-workspace { padding:16px 12px 28px; }.tkw-sidebar { padding:16px 12px; }.tkw-work-title { align-items:flex-start; flex-direction:column; }.tkw-capture-explain { grid-template-columns:1fr; gap:0; }.tkw-capture-item { grid-template-columns:78px minmax(0,1fr); }.tkw-capture-thumb { width:78px; height:78px; }.tkw-dialog-shell { padding:20px 15px; }.tkw-dialog-actions .tkw-button { flex:1; }.tkw-capture-actions .tkw-button { width:100%; } }
.tkw-studio { display:grid; grid-template-columns:minmax(230px,320px) minmax(0,1fr); gap:20px; align-items:start; margin-top:18px; }
.tkw-studio-work { min-width:0; }
.tkw-phone-panel { position:sticky; top:16px; padding:16px; border:1px solid var(--tkw-line); border-radius:14px; background:#fff; }
.tkw-phone-actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.tkw-phone-screen { display:flex; justify-content:center; align-items:center; min-height:200px; overflow:hidden; border-radius:10px; background:#142036; color:#e2eaf5; }
.tkw-phone-screen p { text-align:center; font-size:13px; line-height:1.7; }
.tkw-phone-screen img { display:block; width:auto; height:auto; max-width:100%; max-height:52vh; touch-action:none; user-select:none; cursor:crosshair; }
.tkw-phone-screen img[data-ready="false"] { cursor:wait; opacity:.7; }
.tkw-phone-screen canvas { display:block; width:auto; height:auto; max-width:100%; max-height:58vh; touch-action:none; user-select:none; cursor:grab; }
.tkw-phone-screen canvas:active { cursor:grabbing; }
.tkw-phone-screen canvas:focus-visible { outline:3px solid var(--tkw-gold); outline-offset:-3px; }
.tkw-phone-screen canvas[data-ready="false"] { cursor:wait; }
#tkw-phone-mode { width:100%; margin-top:5px; font-size:12px; padding:7px; border:1px solid var(--tkw-line); border-radius:6px; }
.tkw-phone-help { color:var(--tkw-muted); font-size:12px; line-height:1.5; }
#tkw-phone-sensitivity { width:100%; padding:7px; border:1px solid var(--tkw-line); border-radius:6px; }
.tkw-phone-screen { overscroll-behavior:contain; }
#tkw-product-link { display:block; width:100%; min-width:0; box-sizing:border-box; padding:10px; border:1px solid var(--tkw-line); border-radius:6px; }
.tkw-phone-panel .tkw-field-message { overflow-wrap:anywhere; line-height:1.5; }
.tkw-basket-thumb { border:0; padding:0; background:transparent; text-align:left; }
.tkw-basket-thumb img { width:60px; height:60px; object-fit:contain; display:block; border-radius:5px; background:#e3eaf2; }
@media (min-width:821px) and (max-width:1650px) { .tkw-shell { grid-template-columns:220px minmax(0,1fr); }.tkw-workspace { padding:20px; }.tkw-studio { grid-template-columns:minmax(210px,280px) minmax(0,1fr); }.tkw-content-grid { grid-template-columns:1fr; }.tkw-basket-panel { order:-1; }.tkw-basket-list { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }.tkw-capture-explain { grid-template-columns:1fr; gap:0; } }
@media (max-width:1100px) and (min-width:821px) { .tkw-shell { grid-template-columns:180px minmax(0,1fr); }.tkw-workspace { padding:14px; }.tkw-studio { grid-template-columns:210px minmax(0,1fr); gap:12px; }.tkw-topbar { flex-wrap:wrap; }.tkw-capture-card { padding:14px; }.tkw-work-title { flex-wrap:wrap; } }
@media (max-width:820px) { .tkw-studio { grid-template-columns:1fr; }.tkw-phone-panel { position:static; }.tkw-phone-screen img { max-height:55vh; }.tkw-phone-screen { max-width:400px; margin:auto; } }
@media (min-width:1101px) {
  .tkw-studio { grid-template-columns:minmax(300px,360px) minmax(0,1fr); }
  .tkw-phone-screen canvas, .tkw-phone-screen img { max-height:68vh; }
}
.tkw-studio.tkw-studio-expanded { position:fixed; z-index:50; inset:8px; margin:0; padding:12px; background:#f4f7fb; border-radius:12px; box-shadow:0 0 0 20px #142036b3; grid-template-columns:minmax(320px,1fr) minmax(310px,.85fr); overflow:auto; align-items:start; }
.tkw-studio-expanded .tkw-phone-panel { position:static; padding:12px; }
.tkw-studio-expanded .tkw-phone-screen { max-width:none; }
.tkw-studio-expanded .tkw-phone-screen canvas, .tkw-studio-expanded .tkw-phone-screen img { width:min(100%,calc((100vh - 160px) * var(--tkw-phone-aspect,.409))); height:auto; max-height:none; max-width:100%; }
.tkw-batch-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin:16px 0; }
.tkw-batch-grid img { width:100%; height:260px; object-fit:contain; background:#e8edf3; }
.tkw-basket-item[data-staged] { border:1px dashed #c49635; background:#fffbee; }
.tkw-basket-item[data-staged] .tkw-basket-thumb img { width:90px; height:110px; }
.tkw-basket-actions { display:flex; flex-direction:column; gap:6px; }
.tkw-studio-expanded .tkw-studio-work { max-height:calc(100vh - 48px); overflow:auto; overscroll-behavior:contain; }
.tkw-studio-expanded .tkw-phone-help, .tkw-studio-expanded #tkw-phone-mode { display:none; }
.tkw-studio-expanded .tkw-phone-actions { margin:5px 0; }
@media (max-width:700px) { .tkw-studio.tkw-studio-expanded { grid-template-columns:1fr; }.tkw-studio-expanded .tkw-studio-work { max-height:none; overflow:visible; } }
/* PC photo gallery and persistent model queue */
.tkw-post-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0;max-height:680px;overflow:auto;overscroll-behavior:contain}
.tkw-picker-modes,.tkw-picker-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.tkw-picker-modes [aria-pressed="true"]{background:var(--tkw-yellow);color:var(--tkw-navy);border-color:var(--tkw-yellow)}
.tkw-picker-prepare{font-size:13px;line-height:1.5}.tkw-picker-prepare select{width:100%;margin:10px 0}
.tkw-picker-stage{position:relative;background:#101d32;border-radius:12px;overflow:hidden}
.tkw-picker-photo{height:58vh;min-height:280px;touch-action:pan-y}
.tkw-picker-photo img{width:100%;height:100%;object-fit:contain;display:block;user-select:none}
.tkw-picker-check-label{position:absolute;right:10px;top:10px;display:flex;gap:8px;align-items:center;padding:12px;background:#fffbe6;color:#10264c;border:2px solid #ffe800;border-radius:10px;font-weight:700;cursor:pointer}
.tkw-picker-check-label input{width:24px;height:24px;accent-color:#10264c}
#tkw-picker-identity{font-weight:700;overflow-wrap:anywhere}#tkw-picker-message{min-height:2em;overflow-wrap:anywhere}
.tkw-studio-expanded .tkw-picker-photo{height:72vh}
.tkw-post-photo{border:1px solid #d5deeb;border-radius:12px;padding:8px;background:#fff}
.tkw-post-photo label{display:block;cursor:pointer}.tkw-post-photo img{width:100%;height:220px;object-fit:contain;display:block;background:#f4f6fa;border-radius:8px}
.tkw-post-photo input{width:20px;height:20px;vertical-align:middle;margin:10px 6px 10px 0;accent-color:#142c50}.tkw-post-photo:has(input:checked){border:2px solid #dba900;background:#fffbe5}
.tkw-post-photo button{width:100%}.tkw-collection-card>select{width:100%;margin-top:12px}.tkw-collection-card{margin:18px 0}
.tkw-collection-list{max-height:360px;overflow:auto;overscroll-behavior:contain}.tkw-collection-list details{border-top:1px solid #d5deeb;padding:12px 0}.tkw-collection-list summary{cursor:pointer;font-weight:700}
.tkw-queue-row{padding:10px 0;font-size:13px}.tkw-queue-row>button{padding:5px 10px;margin-left:6px}.tkw-queue-row>p{margin:4px 0}
.tkw-gallery-zoom{max-width:900px;width:85vw}.tkw-gallery-zoom img{display:block;width:100%;max-height:80vh;object-fit:contain}
.tkw-selection-actions{position:sticky;top:8px;z-index:2;background:#fffbe6;border:1px solid #f0d664;border-radius:10px;padding:12px;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#tkw-main-queue{width:100%;margin-bottom:16px}#tkw-collection-home{scroll-margin-top:14px}#tkw-collection-home .tkw-collection-list{max-height:65vh}
#tkw-collection-summary{font-size:18px;font-weight:700;padding:16px;background:#f3f6fb;border-radius:12px}
/* Final queue review stays on the PC and scrolls independently of the workspace. */
.tkw-queue-review { width: min(1000px, 94vw); max-height: 90vh; overflow: auto; padding: 24px; overscroll-behavior: contain; }
.tkw-queue-review .tkw-post-gallery { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tkw-queue-review .tkw-post-photo img { width: 100%; height: 230px; object-fit: contain; }
.tkw-queue-review .tkw-post-photo label { display: flex; align-items: center; gap: 8px; }
.tkw-queue-review .tkw-post-photo button { width: 100%; }
/* 확정 직후 같은 자리의 다음 행동: "확정 N장 — [지금 수집 시작]" */
.tkw-review-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 8px; padding: 12px 16px; background: #f9f4e6; border: 1px solid #d9c489; border-radius: 12px; }
.tkw-review-next p { margin: 0; font-weight: 700; }
/* 오른쪽 위 ✕ — 긴 "닫기" 문구를 못 찾아 창을 닫지 못하던 문제(2026-09-22). Esc 로도 닫힌다. */
.tkw-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tkw-review-x { width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid #b6c4d5; border-radius: 50%; color: var(--tkw-navy); background: #edf2f7; font-size: 20px; line-height: 1; cursor: pointer; }
.tkw-review-x:hover { background: #dce5ef; }
.tkw-review-message-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tkw-review-message-row p { margin: 0; }
/* 중단된 수집·다시 시도 뒤 할 일 한 줄 */
.tkw-collection-notice { padding: 12px 14px; border-radius: 10px; background: #f3f6fb; font-weight: 700; }
.tkw-collection-notice.tkw-error { background: #fdeceb; }
/* Common selling-price settings: saved locally only, never publishes by itself. */
.tkw-button-sidebar { width:100%; color:var(--tkw-navy); background:#e8edf6; border-color:#7690b5; }
.tkw-pricing-pane h3 { margin:0; font-size:15px; }
.tkw-pricing-safety { padding:10px 12px; border-left:4px solid var(--tkw-gold); background:#fff8d9; color:#5c4a06!important; }
.tkw-pricing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.tkw-pricing-field { display:grid; gap:6px; color:var(--tkw-muted); font-size:12px; font-weight:700; }
.tkw-pricing-field input,.tkw-pricing-preview input { width:100%; padding:9px; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-ink); background:#fff; }
.tkw-pricing-preview { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:start; padding:14px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; }
.tkw-pricing-preview label { display:grid; gap:5px; margin-top:10px; color:var(--tkw-muted); font-size:12px; font-weight:700; }
.tkw-pricing-preview dl { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 20px; width:100%; margin:0; }
.tkw-pricing-preview dl div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid #e2e8f0; }
.tkw-pricing-preview dt { color:var(--tkw-muted); font-size:13px; }.tkw-pricing-preview dd { margin:0; font-weight:800; white-space:nowrap; }
@media (max-width:620px) { .tkw-pricing-grid { grid-template-columns:1fr; }.tkw-pricing-preview { grid-template-columns:1fr; }.tkw-pricing-preview dl { grid-template-columns:1fr; } }
.tkw-listing-dialog { width:min(760px,calc(100vw - 30px)); }
.tkw-listing-dialog { width:min(1120px,calc(100vw - 30px)); max-height:94vh; overflow:auto; overscroll-behavior:contain; }
.tkw-listing-dialog fieldset {border:0;padding:0;margin:0;min-width:0;}
.tkw-naver-connect {display:flex;justify-content:space-between;align-items:center;gap:12px;background:#eef6f2;padding:14px;border-radius:10px;}
.tkw-naver-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;}
.tkw-naver-fields label,.tkw-full-label,.tkw-option-row label {display:grid;gap:6px;font-size:13px;color:#53657d;}
.tkw-naver-fields input,.tkw-naver-fields select,.tkw-full-label input,.tkw-option-row input {width:100%;padding:10px;border:1px solid #b6c4d5;border-radius:7px;color:#122848;background:white;}
.tkw-option-row {display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:end;margin:12px 0;}
.tkw-option-bulk {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:12px 0;padding:12px;border:1px solid #d6e0ed;border-radius:8px;background:#f7faff;}
.tkw-option-bulk textarea {width:100%;box-sizing:border-box;resize:vertical;padding:10px;border:1px solid #b6c4d5;border-radius:7px;color:#122848;background:white;}
.tkw-option-bulk .tkw-help {grid-column:1 / -1;margin:0;}
.tkw-listing-dialog #tkw-listing-assets {display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding:12px;list-style:none;}
.tkw-listing-dialog #tkw-listing-assets li {display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px;border:1px solid #d5ddeb;border-radius:8px;background:white;}
.tkw-listing-dialog #tkw-listing-assets img {width:100%;height:180px;object-fit:contain;background:#f4f6f9;}
.tkw-listing-dialog #tkw-listing-assets label {display:flex;align-items:center;gap:3px;}
.tkw-listing-dialog #tkw-listing-assets input {width:auto;}
.tkw-thumbnail-panel { margin:18px 0; padding:16px; border:2px solid #e4b42f; border-radius:12px; background:#fffdf3; }
.tkw-thumbnail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; }.tkw-thumbnail-heading h3 { margin:0; color:var(--tkw-navy); }.tkw-thumbnail-heading p { margin:5px 0 0; max-width:650px; color:var(--tkw-muted); font-size:12px; line-height:1.5; }
.tkw-thumbnail-actions,.tkw-thumbnail-card-actions { display:flex; gap:6px; flex-wrap:wrap; }.tkw-thumbnail-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:10px; margin:14px 0; padding:0; list-style:none; }.tkw-thumbnail-card { display:grid; gap:7px; padding:9px; border:1px solid #d9c879; border-radius:9px; background:#fff; }.tkw-thumbnail-card img { width:100%; aspect-ratio:1; object-fit:contain; background:#fff; border:1px solid #edf0f3; }.tkw-thumbnail-meta { display:grid; gap:2px; min-width:0; }.tkw-thumbnail-meta span { overflow:hidden; color:var(--tkw-muted); text-overflow:ellipsis; white-space:nowrap; font-size:11px; }.tkw-thumbnail-card-actions button { flex:1 1 auto; }.tkw-thumbnail-collected { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:9px; margin:12px 0; padding:12px; border:1px solid #d7e0ec; border-radius:9px; background:#f7f9fc; }.tkw-thumbnail-collected>p,.tkw-thumbnail-collected>button { grid-column:1/-1; margin:0; }.tkw-thumbnail-collected label { display:grid; grid-template-columns:auto 1fr; gap:5px; align-items:center; font-size:12px; }.tkw-thumbnail-collected img { grid-column:1/-1; width:100%; aspect-ratio:1; object-fit:contain; background:#fff; }
.tkw-editor-actions {position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 0;background:white;border-top:1px solid #d8e1ed;z-index:2;}
.tkw-editor-actions {flex-wrap:wrap;align-items:center;}
.tkw-upload-feedback {flex:1 1 300px;min-width:0;}
.tkw-upload-feedback p {margin:0;max-height:6em;overflow:auto;line-height:1.5;font-size:13px;overflow-wrap:anywhere;}
#tkw-upload-help:not([hidden]) {display:flex;gap:6px;flex-wrap:wrap;margin-top:7px;}
.tkw-listing-dialog [aria-invalid="true"] {border:2px solid #bc3030!important;background:#fff6f6!important;}
.tkw-detail-body {display:grid;gap:10px;list-style:none;padding:0;counter-reset:detail;}
.tkw-detail-body>li {padding:12px;border:1px solid #d7e0ec;border-radius:9px;scroll-margin-block:130px;background:#f8fafc;}
.tkw-detail-photo-row {display:grid;grid-template-columns:68px 1fr auto auto;gap:12px;align-items:center;}
.tkw-detail-photo-row img {width:68px;height:80px;object-fit:contain;background:white;}
.tkw-detail-block-actions {display:flex;gap:6px;flex-wrap:wrap;}
.tkw-detail-text-row {background:#fffbea!important;}
.tkw-detail-text-row>label {display:block;width:100%;font-weight:700;}
.tkw-detail-text-summary {white-space:pre-wrap;overflow-wrap:anywhere;}
.tkw-detail-text-row .tkw-detail-block-actions {margin-top:8px;}
@media(max-width:620px){.tkw-upload-feedback{flex-basis:100%;}.tkw-detail-photo-row{grid-template-columns:68px 1fr;}.tkw-detail-photo-row .tkw-detail-block-actions{grid-column:1/-1;}}
.tkw-publish-review {background:#fff9d7;border:2px solid #e4b42f;border-radius:12px;padding:18px;margin:18px 0;}
#tkw-publish-result {padding:12px 0;}
.tkw-save-conflict { margin:14px 0; padding:14px; border:1px solid #c9922f; border-left:5px solid #b47b1d; border-radius:10px; background:#fffaf0; color:#3d2d0c; }
.tkw-save-conflict h3 { margin:0 0 8px; color:#8a5c10; }
.tkw-save-conflict p { margin:6px 0; overflow-wrap:anywhere; }
.tkw-save-conflict-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.tkw-naver-error-card { margin-top:12px; padding:14px; border:1px solid #c64747; border-left:5px solid #b52d2d; border-radius:10px; background:#fff7f7; color:#3f1515; }
.tkw-naver-error-card h4 { margin:0 0 8px; color:#761b1b; }
.tkw-naver-error-card p { margin:6px 0; overflow-wrap:anywhere; }
.tkw-naver-error-fields { display:grid; gap:9px; margin:12px 0 0; padding-left:22px; }
.tkw-naver-error-fields li { padding:10px; border:1px solid #edc5c5; border-radius:7px; background:#fff; }
.tkw-naver-error-fields li strong { display:block; color:#4d1515; }
.tkw-naver-error-fields button { margin-top:8px; }
#tkw-detail-preview-content {max-width:100%;margin:20px auto;padding:12px;border:1px solid #d8e1ed;background:white;}
#tkw-detail-preview-content img {max-width:100%;display:block;margin:10px auto;}
#tkw-detail-preview-content p {white-space:pre-wrap;color:#162942;}
.tkw-final-thumbnails { margin:14px 0; padding:12px; border:1px solid #d9c879; border-radius:9px; background:#fffdf3; }.tkw-final-thumbnails h4 { margin:0 0 9px; color:var(--tkw-navy); }.tkw-final-thumbnail-list { display:flex; flex-wrap:wrap; gap:9px; }.tkw-final-thumbnail-list img { width:115px; aspect-ratio:1; object-fit:contain; background:#fff; border:1px solid #e1e6ec; }
@media(max-width:700px){.tkw-naver-fields{grid-template-columns:repeat(2,minmax(0,1fr));}.tkw-option-row{grid-template-columns:repeat(2,minmax(0,1fr));}.tkw-option-bulk{grid-template-columns:1fr;}}
.tkw-listing-fields label { display:grid; gap:6px; margin:16px 0; color:var(--tkw-muted); font-size:12px; font-weight:700; }
.tkw-listing-fields input { width:100%; padding:10px; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-ink); }
.tkw-listing-assets { display:grid; gap:7px; margin:12px 0; padding:12px 14px 12px 34px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; }
.tkw-listing-assets li { color:var(--tkw-muted); font-size:13px; }
.tkw-listing-assets strong { color:var(--tkw-navy); }
.tkw-listing-pricing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:end; margin:18px 0; padding:14px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; }
.tkw-listing-pricing h3,.tkw-listing-pricing p { margin:0; }.tkw-listing-pricing p { margin-top:5px; color:var(--tkw-muted); font-size:12px; line-height:1.45; }
.tkw-cost-grid { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tkw-cost-grid select { width:100%; padding:9px; border:1px solid #b6c4d5; border-radius:8px; background:white; color:var(--tkw-ink); }
.tkw-cost-grid [hidden],.tkw-listing-pricing label[hidden] { display:none!important; }
.tkw-cost-grid a { font-size:11px; }.tkw-cost-advanced { grid-column:1/-1; }
@media(max-width:620px){.tkw-cost-grid{grid-template-columns:1fr;}}
.tkw-listing-pricing label { display:grid; gap:6px; color:var(--tkw-muted); font-size:12px; font-weight:700; }.tkw-listing-pricing input { width:100%; padding:9px; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-ink); }
.tkw-listing-pricing dl { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 18px; margin:0; }.tkw-listing-pricing dl div { display:flex; justify-content:space-between; gap:8px; padding:7px 0; border-bottom:1px solid #e2e8f0; }.tkw-listing-pricing dt { color:var(--tkw-muted); font-size:13px; }.tkw-listing-pricing dd { margin:0; font-weight:800; white-space:nowrap; }
@media (max-width:620px) { .tkw-listing-pricing { grid-template-columns:1fr; }.tkw-listing-pricing dl { grid-template-columns:1fr; } }
.tkw-listing-detail { margin:18px 0; padding:14px; border:1px solid #d7e0ec; border-radius:10px; background:#fff; }.tkw-listing-detail h3,.tkw-listing-detail p { margin:0; }.tkw-listing-detail p { margin-top:6px; color:var(--tkw-muted); font-size:12px; line-height:1.45; }.tkw-listing-detail textarea { width:100%; margin:12px 0; padding:10px; resize:vertical; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-ink); line-height:1.5; }
.tkw-main-nav { display:grid; gap:6px; margin:18px 0; }.tkw-main-nav button,.tkw-sidebar-settings { width:100%; padding:11px 12px; border:1px solid transparent; border-radius:9px; color:#eaf1ff; background:transparent; text-align:left; font-weight:800; }.tkw-main-nav button:hover,.tkw-main-nav button[aria-current="page"] { color:var(--tkw-navy); background:var(--tkw-yellow); }.tkw-sidebar-settings { margin-top:18px; color:#b9c9e4; border-color:#46618e; font-size:12px; text-align:center; }.tkw-route-page { max-width:1180px; margin:0 auto; }.tkw-route-heading { padding:14px 0 20px; }.tkw-route-heading h1 { margin:0; color:var(--tkw-ink); font-size:clamp(28px,4vw,40px); letter-spacing:-.05em; }.tkw-route-heading p:not(.tkw-eyebrow) { max-width:690px; margin:10px 0 0; color:var(--tkw-muted); line-height:1.55; }.tkw-home-counts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:20px; }.tkw-home-count { min-height:130px; padding:20px; border:1px solid var(--tkw-line); border-radius:14px; color:var(--tkw-ink); background:#fff; text-align:left; box-shadow:0 2px 5px rgba(16,38,76,.04); }.tkw-home-count:hover { transform:translateY(-1px); border-color:#d7ad25; box-shadow:0 8px 20px rgba(16,38,76,.1); }.tkw-home-count strong { display:block; margin-top:9px; color:var(--tkw-navy); font-size:34px; line-height:1; }.tkw-home-count span { color:var(--tkw-muted); font-size:13px; font-weight:700; }.tkw-route-list-section { padding:20px; border:1px solid var(--tkw-line); border-radius:14px; background:#fff; }.tkw-route-list-section .tkw-panel-head { align-items:center; }.tkw-route-list-section .tkw-text-button { width:auto; margin:0; }.tkw-workflow-list { display:grid; gap:10px; }.tkw-workflow-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; padding:15px; border:1px solid #dce5ef; border-radius:11px; background:#fff; }.tkw-workflow-row h3 { margin:0; color:var(--tkw-navy); font-size:17px; }.tkw-workflow-row p { margin:5px 0 0; color:var(--tkw-muted); font-size:13px; line-height:1.45; }.tkw-workflow-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }.tkw-workflow-empty { padding:36px 14px; color:var(--tkw-muted); text-align:center; }.tkw-workflow-status { display:inline-block; margin-left:8px; padding:4px 7px; border-radius:999px; color:#665000; background:#fff1a8; font-size:11px; font-weight:900; }
@media (max-width:700px) { .tkw-home-counts { grid-template-columns:1fr; }.tkw-workflow-row { grid-template-columns:1fr; }.tkw-workflow-actions { justify-content:flex-start; } }
.tkw-batch-profile,.tkw-batch-actions,.tkw-batch-progress-card,.tkw-published-row { margin:0 0 16px; padding:18px; border:1px solid var(--tkw-line); border-radius:14px; background:#fff; }.tkw-batch-profile h2,.tkw-batch-progress-card h2,.tkw-published-row h2 { margin:0; color:var(--tkw-navy); font-size:18px; }.tkw-batch-profile p,.tkw-batch-progress-card p,.tkw-published-row p { color:var(--tkw-muted); line-height:1.5; }.tkw-batch-profile input,#tkw-published-filter { width:min(620px,100%); margin:8px 8px 0 0; padding:10px; border:1px solid #b6c4d5; border-radius:8px; }.tkw-batch-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:18px 0 10px; }.tkw-batch-count { color:var(--tkw-navy); }.tkw-batch-ready-list,.tkw-published-list { display:grid; gap:10px; }.tkw-batch-row { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; padding:14px; border:1px solid #dce5ef; border-radius:11px; background:#fff; }.tkw-batch-row input { width:18px; height:18px; margin-top:3px; accent-color:var(--tkw-navy); }.tkw-batch-row h3 { margin:0; color:var(--tkw-navy); }.tkw-batch-row p { margin:5px 0 0; color:var(--tkw-muted); font-size:13px; }.tkw-batch-row-status { color:#256a42!important; font-weight:700; }.tkw-batch-public-confirm { margin:0 0 14px; padding:12px; border:1px solid #e5bd45; border-radius:9px; background:#fff9d7; }.tkw-batch-progress-card progress { width:min(480px,100%); height:16px; margin-right:10px; accent-color:var(--tkw-navy); }.tkw-published-row { margin:0; }.tkw-published-link a { color:#165da3; font-weight:800; }.tkw-batch-status { min-height:22px; color:#205a91; font-size:13px; font-weight:700; }.tkw-batch-status.tkw-error { color:var(--tkw-danger); }
/* Named recipes, global fixed-image library and sandboxed detail preview. */
.tkw-editor-templates { background:#f6f8fc; border:1px solid #d4deec; border-radius:10px; padding:14px; margin-bottom:18px; }
.tkw-template-toolbar { display:flex; gap:10px; align-items:end; flex-wrap:wrap; }
.tkw-template-toolbar label { display:flex; flex-direction:column; gap:6px; flex:1 1 190px; }
.tkw-template-toolbar input,.tkw-template-toolbar select { width:100%; min-height:38px; box-sizing:border-box; }
.tkw-template-auto { display:flex; gap:8px; align-items:center; margin-top:12px; }
.tkw-template-auto input { width:auto!important; }
.tkw-fixed-slot { border:1px solid #d5dfec; padding:16px; margin:18px 0; border-radius:10px; background:#fbfcff; }
.tkw-fixed-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.tkw-fixed-slot h3 { margin:0; }
.tkw-file-choice { display:block; font-size:13px; }
.tkw-file-choice input { display:block; margin-top:8px; max-width:100%; }
.tkw-fixed-list { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.tkw-fixed-list li { width:170px; border:1px solid #d6dfeb; border-radius:8px; padding:8px; background:white; display:flex; flex-wrap:wrap; gap:5px; }
.tkw-fixed-list img { width:100%; height:95px; object-fit:contain; }
.tkw-fixed-list span { display:block; width:100%; overflow-wrap:anywhere; font-size:12px; }
.tkw-fixed-list button { padding:5px; font-size:12px; }
.tkw-applied-images { display:flex; gap:8px; flex-wrap:wrap; }
.tkw-applied-images img { max-width:100px; height:60px; object-fit:contain; border:1px solid #d5dfec; }
.tkw-preview-controls { display:flex; gap:8px; margin:12px 0; }
.tkw-detail-preview-frame { display:block; width:860px; max-width:100%; height:650px; border:1px solid #c7d5e5; background:white; margin:auto; box-sizing:border-box; }
.tkw-detail-preview-frame.tkw-preview-mobile { width:390px; }
#tkw-detail-preview-content,#tkw-final-preview-content { padding:16px; margin:16px 0; background:#f2f5f9; border:1px solid #d5dfec; border-radius:10px; }
.tkw-fixed-pane fieldset{border:0;padding:0;margin:0;min-width:0;}
.tkw-fixed-pane .tkw-fixed-list li{width:220px;}
.tkw-fixed-pane .tkw-fixed-list img{height:230px;}
#tkw-fixed-status{position:sticky;top:0;background:#fffbea;padding:12px;z-index:2;border-radius:8px;}
.tkw-fixed-pane p{line-height:1.55;}
#tkw-editor-fixed-top .tkw-small-button,#tkw-editor-fixed-bottom .tkw-small-button{margin-top:12px;}
 .tkw-session-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(14,28,52,.6);padding:24px}.tkw-session-card{width:min(400px,100%);display:grid;gap:10px;padding:28px;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.25)}.tkw-session-card h1{margin:0;color:#10264d;font-size:24px}.tkw-session-card p{margin:0;color:#465979;line-height:1.55}.tkw-session-card label{font-weight:700;color:#10264d}.tkw-session-card input{height:42px;padding:0 12px;border:1px solid #b7c4d8;border-radius:8px;font:inherit}.tkw-session-card button{height:44px;border:0;border-radius:8px;background:#2a3e7a;color:#fff;font:inherit;font-weight:700;cursor:pointer}.tkw-session-card button:disabled{opacity:.65;cursor:wait}.tkw-session-message{min-height:1.5em;color:#9a2d2d!important}.tkw-session-failure{min-height:100vh;display:grid;place-items:center;padding:24px;color:#9a2d2d;font-weight:700}
/* 시작 실패 화면: 해야 할 일이 먼저 읽히고, 원인 문장은 작게 아래에 남는다. */
.tkw-session-failure-box{width:min(560px,100%);display:grid;gap:12px;padding:28px;border:1px solid #e3c7c7;border-radius:16px;background:#fff;text-align:left;box-shadow:0 18px 60px rgba(0,0,0,.14)}.tkw-session-failure-box h1{margin:0;color:#9a2d2d;font-size:22px}.tkw-session-failure-box p{margin:0;color:#465979;font-weight:600;line-height:1.6}.tkw-session-failure-cause{padding:10px 12px;border-radius:9px;color:#5b6b85!important;background:#f3f5f9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px!important;font-weight:500!important;word-break:break-all}

/* 막다른 길 방지 안내(§B2·§F2·§B3). 작업 화면 위에 한 줄로 얹히고, 가리지 않는다. */
.tkw-workspace-notices{display:grid;gap:10px;max-width:1180px;margin:14px auto 0}
.tkw-workspace-notices:empty{display:none}
.tkw-workspace-notice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 16px;border:1px solid #e3d08a;border-left:5px solid var(--tkw-gold);border-radius:11px;background:#fffdf3}
.tkw-workspace-notice-warn{border-color:#e3b8b8;border-left-color:var(--tkw-danger);background:#fff6f5}
.tkw-workspace-notice-body{display:grid;gap:6px;min-width:0}
.tkw-workspace-notice-body strong{color:var(--tkw-navy);font-size:15px}
.tkw-workspace-notice-body p{margin:0;color:#41506b;font-size:13px;line-height:1.6}
.tkw-workspace-notice-path{display:block;padding:8px 10px;border-radius:8px;background:#f1f4f9;color:#33415c;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;word-break:break-all;user-select:all}
.tkw-notice-dismiss{align-self:start;padding:6px 12px;border:1px solid var(--tkw-line);border-radius:999px;background:#fff;color:var(--tkw-muted);font-size:12px;font-weight:700}
.tkw-notice-dismiss:hover{color:var(--tkw-ink);border-color:#b9c4d4}

/* 관리(직원 계정) 화면: 임시 비밀번호가 설명 문구에 붙어 한 줄로 나오던 것을 분리한다. */
.tkw-panel{padding:20px;border:1px solid var(--tkw-line);border-radius:14px;background:#fff;display:grid;gap:12px;max-width:640px}
.tkw-panel h2{margin:4px 0 0;color:var(--tkw-navy);font-size:16px}
.tkw-admin-field{display:grid;gap:6px}
.tkw-admin-field span{color:var(--tkw-ink);font-size:13px;font-weight:700}
.tkw-admin-field input,.tkw-admin-field select{height:40px;padding:0 11px;border:1px solid #b7c4d8;border-radius:8px;background:#fff}
.tkw-admin-password-box{display:grid;gap:8px;justify-items:start}
.tkw-admin-password-box:empty{display:none}
.tkw-admin-password-box strong{color:var(--tkw-navy);font-size:13px}
.tkw-admin-password{display:block;padding:12px 14px;border:1px dashed #b7912a;border-radius:9px;background:#fffbea;color:#3a2f06;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:20px;font-weight:700;letter-spacing:.06em;word-break:break-all;user-select:all}
.tkw-admin-copy{padding:7px 12px;border:1px solid var(--tkw-line);border-radius:8px;background:#fff;font-size:12px;font-weight:700}
.tkw-admin-warning{margin:0;padding:10px 12px;border:1px solid #e3b8b8;border-radius:9px;background:#fff6f5;color:#8a2b2b;font-size:13px;line-height:1.55}
.tkw-admin-members{display:grid;gap:8px}
.tkw-admin-member{display:grid;gap:4px;padding:12px 14px;border:1px solid #dce5ef;border-radius:11px;background:#fff;justify-items:start}
.tkw-admin-member strong{color:var(--tkw-navy)}
.tkw-admin-member-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tkw-admin-member-stopped{background:#f7f9fc;border-style:dashed}
.tkw-admin-member-result{display:grid;gap:4px;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #cfe0cf;border-radius:9px;background:#f5faf5}
.tkw-admin-member-result p{margin:0;color:#31513b;font-size:13px;line-height:1.55}
.tkw-admin-member-result.tkw-admin-warning p{color:#8a2b2b}

/* 내 계정 · 비밀번호 바꾸기(§W3). 비밀번호는 어디에도 남기지 않는다. */
.tkw-account-panel input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.tkw-account-rules{margin:0;padding-left:20px;display:grid;gap:4px;color:#41506b;font-size:13px;line-height:1.55}

/* §W2 등록 시도 닫기 · 일괄 멈추기. 판정과 글자는 중앙이 준 것만 그린다. */
.tkw-publish-actions{display:grid;gap:8px;margin-top:10px;padding:10px 12px;border:1px solid #dce5ef;border-radius:11px;background:#f8fafd}
.tkw-publish-actions-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tkw-publish-action-help{color:var(--tkw-muted);font-size:12px;line-height:1.5}
.tkw-publish-store-check{margin:0;padding:10px 12px;border:1px solid #e3b8b8;border-left:5px solid var(--tkw-danger);border-radius:9px;background:#fff6f5;color:#8a2b2b;font-size:13px;font-weight:700;line-height:1.55}
.tkw-publish-store-guide{display:grid;gap:6px;justify-items:start;padding:12px;border:1px solid #e3d08a;border-radius:10px;background:#fffdf3}
.tkw-publish-store-guide strong{color:var(--tkw-navy);font-size:14px}
.tkw-publish-store-guide p{margin:0;color:#41506b;font-size:13px;line-height:1.6}
.tkw-publish-store-guide a{color:#1d4ea8;font-weight:700}
.tkw-publish-reason{display:grid;gap:8px;justify-items:start;padding:12px;border:1px solid #c7d5e5;border-radius:10px;background:#fff}
.tkw-publish-reason strong{color:var(--tkw-navy);font-size:14px}
.tkw-publish-reason p{margin:0}
.tkw-publish-reason textarea{width:min(460px,100%);padding:9px 11px;border:1px solid #b7c4d8;border-radius:8px;font:inherit;resize:vertical}
.tkw-publish-stop-result{display:grid;gap:6px;margin-top:8px;padding:11px 13px;border:1px solid #cfe0cf;border-radius:10px;background:#f5faf5;color:#31513b;font-size:13px;line-height:1.6}
.tkw-publish-stop-result.tkw-publish-stop-warn{border-color:#e3b8b8;background:#fff6f5;color:#8a2b2b}
.tkw-publish-stop-result p{margin:0}
.tkw-publish-stop-list{margin:0;padding-left:20px;display:grid;gap:4px}
/* §A11 못 누르는 이유는 **화면 글자**로 보인다 — title 툴팁은 터치·읽어주기에서 없는 것과 같다. */
.tkw-publish-action-blocked{flex-basis:100%;margin:0;color:#8a2b2b;font-size:12px;font-weight:700;line-height:1.5}
/* §A8 끼임 안내. 지금 이 화면에 진짜 있는 버튼만 가리킨다. */
.tkw-publish-wedged{margin:0;padding:9px 11px;border:1px solid #e3d08a;border-radius:9px;background:#fffdf3;color:#6b5412;font-size:13px;font-weight:700;line-height:1.55}
/* §A1 갱신을 잠시 멈췄다는 사실은 숨기지 않는다(아무 표시 없는 정지 금지). */
.tkw-batch-paused{margin:0;padding:8px 11px;border:1px dashed #b7c4d8;border-radius:9px;background:#f8fafd;color:#41506b;font-size:13px;line-height:1.5}
.tkw-batch-paused[hidden]{display:none}
/* §A12 어느 칸이 틀렸는지를 그 칸에 적는다. */
.tkw-field-problem{margin:4px 0 0;color:var(--tkw-danger);font-size:12px;font-weight:700;line-height:1.5}
.tkw-field-problem[hidden]{display:none}
input[aria-invalid="true"]{border-color:var(--tkw-danger)}
/* §A2 혼자 쓰기 모드에서 급할 때 무엇을 하면 되는지. */
.tkw-batch-stop-note{margin:0;color:#8a2b2b;font-size:13px;line-height:1.6}
/* 한 번에 올릴 수 있는 개수를 넘겼을 때의 이유. 회색 버튼만 남기지 않는다. */
.tkw-batch-limit{margin:0 0 10px;padding:10px 12px;border:1px solid #e5bd45;border-radius:9px;background:#fff9d7;color:#8a2b2b;font-size:13px;font-weight:700;line-height:1.6}
.tkw-batch-limit[hidden]{display:none}
.tkw-batch-stop-all{display:grid;gap:8px;justify-items:start;padding:14px 16px;border:1px solid #e3b8b8;border-left:5px solid var(--tkw-danger);border-radius:12px;background:#fff6f5}
.tkw-batch-stop-all h2{margin:0;color:#8a2b2b;font-size:15px}
.tkw-batch-stop-all p{margin:0;color:#6d3232;font-size:13px;line-height:1.6}
.tkw-admin-member-report:empty{display:none}

/* 품번 → 더우 검색 → 상품 상세 자동 진입(확인 카드). 탐색 모드 준비 영역 맨 위. */
.tkw-dewu-entry{margin:0 0 12px;padding:12px;border:1px solid #c9d6e8;border-radius:12px;background:#f8fafc} /* 노란 테두리는 금색 버튼과 겹쳐 읽혀 뺐다(규칙 §2-1 · 3단계 C) */
.tkw-dewu-search{width:100%;min-height:48px;font-size:16px;overflow-wrap:anywhere}
.tkw-dewu-entry .tkw-field-message{overflow-wrap:anywhere}
.tkw-dewu-progress{margin-top:8px;font-weight:700}
.tkw-dewu-card{margin-top:10px;padding:12px;border:1px solid var(--tkw-line);border-radius:12px;background:#fff}
.tkw-dewu-card-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.tkw-dewu-card-head strong{font-size:15px}.tkw-dewu-card-head span{font-size:12px;color:var(--tkw-muted)}
.tkw-dewu-card-grid{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:start}
.tkw-dewu-shot{width:110px;border:1px solid var(--tkw-line);border-radius:8px;background:#101d32;display:block;user-select:none}
.tkw-dewu-card-info{display:grid;gap:10px;min-width:0}.tkw-dewu-card-info strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.tkw-dewu-card-info span{display:block;font-size:12px;color:var(--tkw-ink);overflow-wrap:anywhere}.tkw-dewu-muted{color:var(--tkw-muted)}
.tkw-dewu-flags{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}.tkw-dewu-flags:empty{display:none}
.tkw-dewu-flag{padding:6px 8px;border-radius:8px;background:#fff1e6;color:#8a3b00;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.tkw-dewu-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tkw-dewu-actions .tkw-button{flex:1 1 100%;min-height:44px}.tkw-dewu-actions .tkw-text-button{margin-top:0}
.tkw-studio-expanded .tkw-dewu-card-grid{grid-template-columns:180px minmax(0,1fr)}.tkw-studio-expanded .tkw-dewu-shot{width:180px}

/* 일괄 수집: 시작 전 요약 한 줄과 끝난 뒤 성적표. 숫자가 버튼 옆에서 바로 읽히게 한다. */
.tkw-collect-plan { margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--tkw-navy); }
.tkw-collect-plan.tkw-error { color: var(--tkw-danger); }
.tkw-collect-result { margin-top: 10px; padding: 10px 12px; border-left: 4px solid var(--tkw-gold); border-radius: 8px; background: #fffaf0; }
.tkw-collect-result p { margin: 0 0 4px; color: #5c4a06; font-size: 13px; line-height: 1.5; }
.tkw-collect-result p:first-child { font-weight: 800; color: var(--tkw-navy); }
.tkw-collect-result p.tkw-error { color: var(--tkw-danger); }
#tkw-scope-lock-reason { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f3f6fb; font-weight: 700; }

/* ── 2026-09-22 화면 개편: 상단 가로 메뉴 3개 + 소싱/수집/관리 ───────────────
   ☠ 이 블록은 **파일 맨 끝**에 있어야 한다. 위쪽 @media 규칙과 같은 특정도라
   순서로 이긴다 — 중간에 넣으면 좁은 화면에서만 옛 세로 메뉴로 되돌아간다. */
.tkw-shell { display: flex; flex-direction: column; min-height: 100vh; }
.tkw-sidebar { flex-direction: row; align-items: center; gap: 18px; padding: 10px clamp(14px, 3vw, 32px); border-right: 0; border-bottom: 4px solid var(--tkw-gold); }
.tkw-sidebar .tkw-version-note { flex: 0 0 auto; font-size: 12px; }
.tkw-sidebar .tkw-version-note span { display: none; }
.tkw-main-nav { display: flex; flex: 1 1 auto; flex-wrap: nowrap; gap: 4px; align-items: center; margin: 0; min-width: 0; }
.tkw-main-nav button { width: auto; flex: 0 0 auto; padding: 10px 16px; border-radius: 0; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 16px; }
.tkw-main-nav button:hover { color: var(--tkw-yellow); background: transparent; border-bottom-color: rgba(255, 232, 0, .45); }
/* 현재 메뉴 = 밑줄 + 진한 글씨(설계 §1). 노란 칠은 쓰지 않는다. */
.tkw-main-nav button[aria-current="page"] { color: var(--tkw-yellow); background: transparent; border-bottom-color: var(--tkw-yellow); font-weight: 900; }
.tkw-main-nav-end { display: flex; gap: 4px; margin-left: auto; }
.tkw-main-nav-end button { font-size: 13px; padding: 9px 12px; }
.tkw-sidebar-settings { width: auto; margin: 0; flex: 0 0 auto; }
@media (max-width: 820px) {
  .tkw-sidebar { flex-wrap: wrap; }
  .tkw-sidebar .tkw-brand span, .tkw-sidebar .tkw-version-note { display: none; }
  .tkw-main-nav button { padding: 9px 10px; font-size: 14px; }
}

/* 상품소싱 — 번호 · 미완료/완료 · 거르기 */
.tkw-sourcing-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.tkw-sourcing-filter button { padding: 6px 12px; border: 1px solid #b6c4d5; border-radius: 999px; background: #fff; color: var(--tkw-navy); font-weight: 700; font-size: 13px; }
.tkw-sourcing-filter button[aria-pressed="true"] { border-color: var(--tkw-navy); background: var(--tkw-navy); color: #fff; }
.tkw-sourcing-filter-count { flex: 1 1 100%; color: var(--tkw-muted); font-size: 12px; }
.tkw-model-number { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: #eef2f8; color: #46546d; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tkw-pick-group { display: inline-flex; gap: 4px; }
.tkw-pick-toggle { padding: 5px 10px; border: 1px solid #c3cedd; border-radius: 7px; background: #fff; color: #56637a; font-size: 12px; font-weight: 700; }
/* S3-21 눌린 쪽 = 그 상태의 범례 색(주황 할 일 · 파랑 완료)을 옅게 — 초록(등록됨)·진남색(주 버튼처럼 보임)을 쓰지 않는다. */
.tkw-pick-toggle[aria-pressed="true"] { border-color: var(--tkw-status-orange); background: #fff7ed; color: #9a3412; }
.tkw-pick-toggle[data-pick-toggle="done"][aria-pressed="true"] { border-color: var(--tkw-status-blue); background: #eff6ff; color: #1d4ed8; }

/* 상품수집 — 검색칸 */
.tkw-collection-search { display: grid; gap: 6px; max-width: 460px; margin-bottom: 14px; }
.tkw-collection-search label { color: var(--tkw-muted); font-size: 12px; font-weight: 700; }
.tkw-collection-search input { padding: 10px 12px; border: 1px solid #b6c4d5; border-radius: 9px; background: #fff; font-size: 15px; }
.tkw-collection-queue-host { margin-bottom: 18px; }
.tkw-manage-published { margin-top: 24px; padding: 12px 16px; border: 1px solid var(--tkw-line); border-radius: 12px; background: #fff; }
.tkw-manage-published > summary { cursor: pointer; color: var(--tkw-navy); font-weight: 800; }
/* 한 줄에 번호 · 수집 체크 · 품번(점 + 상태 글자) · [사진 고르기] · ⋯ 다섯 칸(규칙 §2-4 · S3-19 — 줄 버튼 하나, 나머지는 ⋯). */
.tkw-source-model-row { grid-template-columns: auto auto minmax(0,1fr) auto auto; min-height: 56px; align-items: center; }
.tkw-model-pick-word { margin-left: 8px; font-size: 12px; font-weight: 800; }
.tkw-model-pick-word[data-tone="orange"] { color: #9a3412; }
.tkw-model-pick-word[data-tone="blue"] { color: #1d4ed8; }
.tkw-source-more .tkw-manage-more-menu .tkw-manage-more-note { margin: 0; color: var(--tkw-muted); font-size: 12px; }
.tkw-source-more .tkw-pick-group { justify-content: flex-start; }
/* 목록은 스크롤 상자(max-height)라 떠 있는 메뉴가 잘린다 — 상품소싱 ⋯ 는 펼치면 그 줄 아래에 붙는다(줄이 길어진다). */
.tkw-source-more[open] { grid-column: 1 / -1; justify-self: end; display: grid; justify-items: end; gap: 6px; }
.tkw-source-more[open] > .tkw-manage-more-menu { position: static; width: auto; box-shadow: none; grid-auto-flow: column; align-items: center; }
@media (max-width: 900px) {
  .tkw-source-model-row { grid-template-columns: auto auto minmax(0,1fr); }
  .tkw-source-model-row > button, .tkw-source-model-row > .tkw-source-more { grid-column: 2 / -1; justify-self: start; }
}

/* 상품관리 — 머리말 · 검색/정렬 · 일괄 바 · 합쳐진 한 줄 */
.tkw-manage-summary { margin: 0 0 12px; color: var(--tkw-navy); font-size: 15px; font-weight: 800; }
.tkw-manage-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 14px; }
.tkw-manage-search-box { display: grid; gap: 5px; flex: 1 1 260px; max-width: 420px; }
.tkw-manage-search-label { color: var(--tkw-muted); font-size: 12px; font-weight: 700; }
.tkw-manage-toolbar input[type="search"] { width: 100%; padding: 9px 12px; border: 1px solid #b6c4d5; border-radius: 9px; background: #fff; font-size: 15px; }
.tkw-manage-toolbar select { padding: 9px 12px; border: 1px solid #b6c4d5; border-radius: 9px; background: #fff; font-size: 14px; }
/* 옛 홈의 상태별 목록 필터(업로드된 / 아직 업로드 안 한 / 전체 보기)를 되살린 자리. */
.tkw-manage-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.tkw-manage-filter-button { padding: 8px 12px; border: 1px solid #b6c4d5; border-radius: 999px; background: #fff; color: var(--tkw-navy); font-weight: 700; font-size: 13px; }
.tkw-manage-filter-button[aria-pressed="true"] { border-color: var(--tkw-navy); background: var(--tkw-navy); color: #fff; }
.tkw-manage-filter-button:disabled { opacity: .55; }
.tkw-manage-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--tkw-line); border-radius: 12px; background: #f6f9fd; }
.tkw-manage-select-all { display: flex; align-items: center; gap: 7px; margin-right: 6px; color: var(--tkw-navy); font-weight: 800; font-size: 13px; }
.tkw-manage-select-all input { width: 18px; height: 18px; accent-color: var(--tkw-navy); }
.tkw-manage-bulk-note { flex: 1 1 100%; margin: 0; color: var(--tkw-muted); font-size: 12px; line-height: 1.5; }
.tkw-manage-hidden { margin-top: 12px; padding: 10px 14px; border: 1px dashed #c3cedd; border-radius: 10px; background: #fbfcfe; }
.tkw-manage-hidden-note { margin: 0 0 6px; color: var(--tkw-muted); font-size: 12px; }
.tkw-manage-thumb { display: grid; place-items: center; overflow: hidden; width: 62px; height: 62px; border: 1px solid var(--tkw-line); border-radius: 9px; background: #eef2f7; color: #8b99ad; font-size: 11px; }
.tkw-manage-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tkw-manage-body { min-width: 0; }
.tkw-manage-badge { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: #e7edf6; color: #3b4a63; font-size: 11px; font-weight: 900; vertical-align: middle; }
.tkw-manage-badge[data-manage-badge="PUBLISHED"] { background: #dff3e7; color: #1b6b45; }
.tkw-manage-badge[data-manage-badge="IN_PROGRESS"] { background: #fff1a8; color: #6a5300; }
.tkw-manage-badge[data-manage-badge="FAILED"] { background: #ffe0dc; color: #96261b; }
.tkw-manage-badge[data-manage-badge="VERIFY_REQUIRED"] { background: #ffe9cc; color: #8a5200; }
.tkw-manage-naver { display: inline-block; margin-top: 6px; color: #12633f; font-weight: 800; font-size: 13px; }
.tkw-manage-naver-missing { margin: 6px 0 0; color: var(--tkw-muted); font-size: 12px; line-height: 1.5; }
.tkw-manage-row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tkw-batch-row { grid-template-columns: auto auto minmax(0, 1fr); align-items: start; }
.tkw-manage-blocked { margin: 6px 0 0; color: #7a5a12; font-size: 12px; line-height: 1.5; }
.tkw-manage-title { display: inline; }

/* ── 2026-09-28 헤이셀러식 작업표(상품관리 · 계획서 §4-1·§4-2 · 디자인 규칙 §2) ─────────────
   상태 색 5개는 **여기 한 곳**에서 정한다(회색=시작 전 · 주황=할 일 · 파랑=완료 · 초록=등록됨 · 빨강=실패).
   노랑은 네이버 불의 "확인 필요" 한 가지 뜻에만 쓴다. ☠ 라벨 색(labels-store 팔레트)과 겹치면 안 된다. */
:root { --tkw-status-gray:#8a94a6; --tkw-status-orange:#e8750a; --tkw-status-blue:#2563eb; --tkw-status-green:#16a34a; --tkw-status-red:#dc2626; --tkw-status-yellow:#d9a400; }
.tkw-legend-item[data-tone="gray"],.tkw-manage-light[data-tone="gray"] { --tkw-tone:var(--tkw-status-gray); }
.tkw-legend-item[data-tone="orange"],.tkw-manage-light[data-tone="orange"] { --tkw-tone:var(--tkw-status-orange); }
.tkw-legend-item[data-tone="blue"],.tkw-manage-light[data-tone="blue"] { --tkw-tone:var(--tkw-status-blue); }
.tkw-legend-item[data-tone="green"],.tkw-manage-light[data-tone="green"] { --tkw-tone:var(--tkw-status-green); }
.tkw-legend-item[data-tone="red"],.tkw-manage-light[data-tone="red"] { --tkw-tone:var(--tkw-status-red); }
.tkw-legend-item[data-tone="yellow"],.tkw-manage-light[data-tone="yellow"] { --tkw-tone:var(--tkw-status-yellow); }
/* 왼쪽 세로 바가 없어진 폭을 목록이 쓴다(규칙 §2-9). */
#tkw-manage-page.tkw-route-page { max-width:1320px; }
.tkw-manage-more-help { margin-top:6px; }
.tkw-manage-more-help > summary { cursor:pointer; color:var(--tkw-navy); font-size:13px; font-weight:800; }
.tkw-manage-more-help p { margin:6px 0 0 !important; font-size:13px; }
/* 위층 — 진행 중인 등록(맨 위) · 요약 + 검색 */
.tkw-manage-running { position:sticky; top:0; z-index:6; display:grid; gap:8px; margin:0 0 14px; padding:12px 16px; border:2px solid var(--tkw-status-orange); border-radius:12px; background:#fff7ed; }
.tkw-manage-running-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:12px; color:#7a3d00; font-size:15px; }
.tkw-manage-running-count { font-weight:900; font-variant-numeric:tabular-nums; }
.tkw-manage-running progress { width:100%; height:12px; accent-color:var(--tkw-status-orange); }
.tkw-manage-running .tkw-batch-stop-all { padding:10px 12px; }
.tkw-manage-top { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:12px; margin:0 0 10px; }
.tkw-manage-top .tkw-manage-summary { margin:0; font-size:17px; }
.tkw-manage-top .tkw-manage-search-box { flex:0 1 380px; }
.tkw-manage-top input[type="search"] { width:100%; padding:9px 12px; border:1px solid #b6c4d5; border-radius:9px; background:#fff; font-size:15px; }
.tkw-manage-store { margin:0 0 12px; padding:8px 14px; border:1px solid var(--tkw-line); border-radius:10px; background:#fff; }
.tkw-manage-store > summary { cursor:pointer; color:var(--tkw-navy); font-size:14px; font-weight:700; }
.tkw-manage-store .tkw-batch-profile { margin:8px 0 4px; padding:0; border:0; }
.tkw-manage-policy { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 10px; padding:10px 14px; border:1px solid #f3c38b; border-left:5px solid var(--tkw-status-orange); border-radius:10px; background:#fff8ef; }
.tkw-manage-policy p { margin:0; color:#7a3d00; font-size:14px; font-weight:700; }
.tkw-manage-preview-note { margin:0 0 10px; color:var(--tkw-muted); font-size:13px; }
.tkw-manage-feed-error { margin:0 0 10px; color:var(--tkw-danger); font-size:13px; font-weight:700; }
/* 가운데 — 거르기 칩 3묶음 · 정렬 · 범례 · 체크 줄 · 일괄 바 */
.tkw-manage-filters { display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; margin:6px 0 8px; }
.tkw-manage-filter { align-items:center; }
.tkw-manage-filter-title { margin-right:2px; color:var(--tkw-muted); font-size:12px; font-weight:800; }
.tkw-manage-filter-button { display:inline-flex; align-items:center; gap:6px; }
.tkw-chip-count { min-width:20px; padding:0 6px; border-radius:999px; background:#eef2f8; color:#46546d; font-size:12px; font-variant-numeric:tabular-nums; text-align:center; }
.tkw-manage-filter-button[aria-pressed="true"] .tkw-chip-count { background:rgba(255,255,255,.22); color:#fff; }
.tkw-manage-filter-empty { color:var(--tkw-muted); font-size:12px; }
.tkw-manage-filters select { margin-left:auto; padding:8px 10px; border:1px solid #b6c4d5; border-radius:9px; background:#fff; font-size:14px; }
.tkw-manage-legend { display:flex; flex-wrap:wrap; gap:4px 14px; margin:0 0 10px; color:var(--tkw-muted); font-size:12px; }
.tkw-legend-item::before { content:""; display:inline-block; width:9px; height:9px; margin-right:5px; border-radius:999px; background:var(--tkw-tone); }
.tkw-manage-select-line { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:4px 0 8px; }
.tkw-manage-bulk { position:sticky; top:0; z-index:5; display:grid; gap:8px; box-shadow:0 4px 14px rgba(16,38,76,.08); }
.tkw-manage-bulk-buttons { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tkw-manage-bulk-buttons .tkw-small-button { min-height:38px; }
.tkw-manage-form { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; margin:-4px 0 12px; padding:12px 14px; border:1px solid #c9d6e8; border-radius:12px; background:#fff; }
.tkw-manage-form input[type="text"] { min-width:220px; padding:9px 11px; border:1px solid #b6c4d5; border-radius:9px; font-size:15px; }
.tkw-manage-form-label { color:var(--tkw-navy); font-size:13px; font-weight:800; }
.tkw-manage-form-note { flex:1 1 100%; margin:0; color:var(--tkw-muted); font-size:12px; line-height:1.5; }
.tkw-manage-swatches { display:flex; flex-wrap:wrap; gap:6px; }
.tkw-label-swatch { display:inline-flex; align-items:center; gap:5px; padding:6px 10px; border:1px solid #c3cedd; border-radius:999px; background:#fff; color:var(--tkw-ink); font-size:12px; font-weight:700; }
.tkw-label-swatch::before { content:""; width:12px; height:12px; border-radius:999px; background:var(--tkw-label); }
.tkw-label-swatch[aria-pressed="true"] { border-color:var(--tkw-navy); box-shadow:inset 0 0 0 2px var(--tkw-navy); }
.tkw-label-dot { display:inline-block; width:9px; height:9px; border-radius:999px; background:var(--tkw-label); }
/* 아래 — 한 줄에 한 상품. 정보 6개(썸네일·제목·편집 점·등록 불·판매가·버튼), 높이 56px 이상, 숫자 오른쪽 정렬. */
.tkw-batch-ready-list { gap:8px; }
.tkw-batch-row { grid-template-columns:22px 60px minmax(0,1fr) 118px 150px 112px auto; align-items:center; gap:12px; min-height:56px; padding:10px 14px; font-size:14px; }
.tkw-batch-row:focus-visible { outline:3px solid #3c87d8; outline-offset:2px; }
.tkw-batch-row input { margin-top:0; }
.tkw-manage-thumb-cell { display:grid; justify-items:center; gap:3px; }
.tkw-batch-row .tkw-manage-thumb { position:relative; width:52px; height:52px; }
.tkw-manage-photo-count { color:var(--tkw-muted); font-size:11px; white-space:nowrap; }
.tkw-manage-label-stripe { position:absolute; top:0; left:0; right:0; display:flex; height:6px; }
.tkw-label-part { flex:1 1 0; background:var(--tkw-label); }
.tkw-batch-row h3 { margin:0; color:var(--tkw-ink); font-size:15px; font-weight:800; overflow-wrap:anywhere; }
.tkw-batch-row .tkw-manage-sub { margin:3px 0 0; color:var(--tkw-muted); font-size:13px; overflow-wrap:anywhere; }
.tkw-manage-sub .tkw-manage-naver { display:inline; margin:0 0 0 8px; }
.tkw-dot-row { display:flex; gap:4px; }
.tkw-dot { display:inline-grid; place-items:center; width:24px; height:24px; border-radius:999px; background:var(--tkw-status-gray); color:#fff; font-size:11px; font-weight:900; }
.tkw-dot[data-dot-state="done"] { background:var(--tkw-status-blue); }
.tkw-dot[data-dot-state="todo"] { background:var(--tkw-status-orange); }
.tkw-dot[data-dot-state="unknown"] { border:1px dashed var(--tkw-status-yellow); background:#fff; color:#8a6a00; } /* 확인 필요 = 노랑(범례와 같은 뜻 · 3단계 C) */
.tkw-dot-caption { display:block; margin-top:4px; color:var(--tkw-muted); font-size:12px; font-weight:700; }
.tkw-dot-caption[data-dot-caption="todo"] { color:#b45309; }
.tkw-dot-caption[data-dot-caption="done"] { color:var(--tkw-status-blue); }
.tkw-manage-light { min-width:0; }
.tkw-light-head { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:800; }
.tkw-light-dot { width:12px; height:12px; border-radius:999px; background:var(--tkw-tone); }
.tkw-batch-row .tkw-light-line { margin:3px 0 0; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.tkw-manage-price { text-align:right; font-variant-numeric:tabular-nums; }
.tkw-manage-price strong { color:var(--tkw-ink); font-size:15px; }
.tkw-price-preview { display:inline-block; margin-left:5px; padding:1px 6px; border-radius:6px; background:#eef0f3; color:#6b7280; font-size:11px; font-weight:700; }
.tkw-price-todo { color:#c2410c; font-size:13px; font-weight:800; }
.tkw-price-unknown { color:var(--tkw-muted); font-size:12px; }
.tkw-batch-row .tkw-manage-row-actions { flex-wrap:nowrap; align-items:center; justify-content:flex-end; margin:0; }
.tkw-manage-edit { min-height:36px; padding:6px 14px; white-space:nowrap; }
.tkw-manage-more { position:relative; }
.tkw-manage-more > summary { display:grid; place-items:center; width:36px; height:36px; border:1px solid #b6c4d5; border-radius:9px; background:#fff; color:var(--tkw-navy); font-weight:900; list-style:none; cursor:pointer; }
.tkw-manage-more > summary::-webkit-details-marker { display:none; }
.tkw-manage-more-menu { position:absolute; top:40px; right:0; z-index:4; display:grid; gap:6px; width:220px; padding:10px; border:1px solid var(--tkw-line); border-radius:10px; background:#fff; box-shadow:0 10px 24px rgba(16,38,76,.16); }
.tkw-batch-row .tkw-manage-more-note { margin:0; font-size:11px; }
.tkw-manage-row-extra { grid-column:1 / -1; }
.tkw-manage-blocked { margin:4px 0 0; }
.tkw-manage-progress-title { margin:22px 0 10px; color:var(--tkw-navy); font-size:16px; }
.tkw-workflow-empty .tkw-button { margin-top:10px; }
@media (max-width:980px) {
  .tkw-batch-row { grid-template-columns:22px 64px minmax(0,1fr); }
  .tkw-batch-row > .tkw-manage-dots, .tkw-batch-row > .tkw-manage-light, .tkw-batch-row > .tkw-manage-price, .tkw-batch-row > .tkw-manage-row-actions { grid-column:3; justify-content:flex-start; text-align:left; }
}
/* ── 네이버 등록 팝업(publish-dialog.js · 계획서 §4-4) — 편집창·상품관리 공용 ─────────────── */
.tkw-publish-dialog { width:min(720px,calc(100vw - 30px)); overflow:auto; }
.tkw-publish-dialog .tkw-dialog-shell { display:grid; gap:14px; }
.tkw-publish-dialog-title { color:var(--tkw-navy); }
.tkw-publish-dialog .tkw-publish-dialog-limits { margin:-6px 0 0; font-size:13px; }
.tkw-publish-dialog-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:0; border:0; }
.tkw-publish-dialog-modes legend { margin-bottom:6px; color:var(--tkw-navy); font-size:14px; font-weight:800; }
.tkw-publish-dialog-mode { display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:9px; align-items:center; padding:12px 14px; border:1px solid #b6c4d5; border-radius:11px; background:#fff; cursor:pointer; }
.tkw-publish-dialog-mode input { width:18px; height:18px; grid-row:1 / span 2; accent-color:var(--tkw-navy); }
.tkw-publish-dialog-mode strong { color:var(--tkw-navy); font-size:15px; }
.tkw-publish-dialog-mode span { color:var(--tkw-muted); font-size:12px; }
.tkw-publish-dialog-mode:has(input:checked) { border:2px solid var(--tkw-navy); background:#f3f6fb; }
.tkw-publish-dialog-mode[data-available="0"] { cursor:not-allowed; opacity:.62; }
.tkw-publish-dialog-mode-why { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tkw-publish-dialog .tkw-publish-dialog-mode-reason { margin:0; color:#8a5a00; font-size:13px; font-weight:700; }
.tkw-publish-dialog-check { display:grid; gap:8px; padding:14px; border:1px solid var(--tkw-line); border-radius:11px; background:#f8fafc; }
.tkw-publish-dialog-check h3 { margin:0; color:var(--tkw-navy); font-size:15px; }
.tkw-publish-dialog .tkw-publish-dialog-status { margin:0; color:var(--tkw-ink); font-size:14px; font-weight:800; }
.tkw-publish-dialog-check > [data-publish-recheck] { justify-self:start; }
.tkw-publish-dialog-excluded { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.tkw-publish-dialog-excluded-item { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; padding:8px 10px; border-left:4px solid var(--tkw-status-red); border-radius:7px; background:#fff; font-size:13px; }
.tkw-publish-dialog-excluded-item strong { color:var(--tkw-ink); }
.tkw-publish-dialog-excluded-item span { color:#8a2b2b; }
.tkw-publish-dialog-detail:empty { display:none; }
/* 확인 요약·최종 미리보기는 길다 — 이 칸만 스크롤해서 [N개 등록 시작] 이 늘 한 화면 안에 보이게 한다(규칙 §2-6). */
.tkw-publish-dialog-detail { max-height:min(38vh,360px); overflow:auto; border-radius:9px; }
.tkw-publish-dialog-detail .tkw-publish-review { margin:0; padding:12px 14px; border:1px solid var(--tkw-line); background:#fff; }
.tkw-publish-dialog-detail #tkw-publish-summary p,.tkw-publish-dialog-detail #tkw-publish-visibility-note { margin:2px 0; color:var(--tkw-ink); font-size:13px; line-height:1.5; }
.tkw-publish-dialog .tkw-publish-dialog-ack { margin:0; padding:12px; border:1px solid #e5bd45; border-radius:9px; background:#fff9d7; }
.tkw-publish-dialog-remember { display:flex; align-items:center; gap:8px; color:var(--tkw-muted); font-size:13px; font-weight:700; }
.tkw-publish-dialog-remember input { width:16px; height:16px; accent-color:var(--tkw-navy); }
.tkw-publish-dialog-actions { position:sticky; bottom:-25px; z-index:2; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; margin:0 -25px -25px; padding:12px 25px 18px; border-top:1px solid var(--tkw-line); background:#fff; }
.tkw-publish-dialog .tkw-publish-dialog-why { flex:1 1 220px; margin:0; color:#8a5a00; font-size:13px; font-weight:700; }
.tkw-publish-dialog-why:empty { visibility:hidden; }
#tkw-publish-dialog-start { min-width:150px; min-height:44px; font-size:15px; }
.tkw-manage-limit-hint { color:var(--tkw-muted); font-size:13px; font-weight:700; }
@media (max-width:560px) { .tkw-publish-dialog-modes { grid-template-columns:1fr; } }
.tkw-manage-bulk .tkw-batch-count { color:var(--tkw-navy); font-size:14px; }
.tkw-manage-bulk .tkw-batch-limit { margin:0; color:var(--tkw-danger); font-size:13px; font-weight:700; }
/* ── 1단계 검증(2026-09-28 S1-*) 반영 ─────────────────────────────────────────── */
/* S1-11 진행 막대: accent-color 에만 맡기면 크롬이 밝은 주황 옆에 **어두운 트랙**을 그려 0/N 이 가득 찬 막대로 보였다. */
.tkw-manage-running progress, .tkw-collect-running progress { -webkit-appearance:none; appearance:none; height:12px; border:0; border-radius:999px; background:#fde2c4; overflow:hidden; }
.tkw-manage-running progress::-webkit-progress-bar, .tkw-collect-running progress::-webkit-progress-bar { border-radius:999px; background:#fde2c4; }
.tkw-manage-running progress::-webkit-progress-value, .tkw-collect-running progress::-webkit-progress-value { border-radius:999px; background:var(--tkw-status-orange); }
.tkw-manage-running progress::-moz-progress-bar, .tkw-collect-running progress::-moz-progress-bar { border-radius:999px; background:var(--tkw-status-orange); }
/* S1-13 일괄 바는 진행 띠 **아래**에 붙는다(높이는 batch-upload-panel.js measureRunning 이 --tkw-running-h 로 알린다). */
.tkw-manage-bulk { top:var(--tkw-running-h, 0px); }
/* S1-12 멈추기 안내는 한 줄 + 자세히 */
.tkw-batch-stop-line { margin:0; color:#6d3232; font-size:13px; font-weight:700; }
.tkw-batch-stop-more > summary { cursor:pointer; color:#8a2b2b; font-size:13px; font-weight:800; }
.tkw-batch-stop-more .tkw-batch-stop-note { margin-top:6px; }
.tkw-manage-running .tkw-batch-stop-all { grid-template-columns:auto minmax(0,1fr); align-items:center; gap:6px 12px; }
.tkw-manage-running .tkw-batch-stop-all > h2 { display:none; }
.tkw-manage-running .tkw-batch-stop-more { grid-column:1 / -1; }
/* S1-15 실패 한 줄은 빨강, 막힌 이유 줄은 제 색 — `.tkw-batch-row p`(회색)보다 구체적으로. */
.tkw-batch-row .tkw-light-line.tkw-error { color:var(--tkw-status-red); font-weight:700; }
.tkw-batch-row .tkw-light-line[data-not-sent="1"] { color:#475467; }
.tkw-batch-row .tkw-manage-blocked { color:#7a5a12; }
/* S1-32 결과 카드의 상태 글자도 줄의 네이버 불과 같은 색(글자라 조금 진하게). */
.tkw-batch-history-item .tkw-batch-item-status { font-weight:700; }
.tkw-batch-history-item .tkw-batch-item-status[data-tone="gray"] { color:#475467; }
.tkw-batch-history-item .tkw-batch-item-status[data-tone="orange"] { color:#c2410c; }
.tkw-batch-history-item .tkw-batch-item-status[data-tone="green"] { color:#15803d; }
.tkw-batch-history-item .tkw-batch-item-status[data-tone="red"] { color:#b91c1c; }
.tkw-batch-history-item .tkw-batch-item-status[data-tone="yellow"] { color:#8a6a00; }
.tkw-batch-progress-card .tkw-batch-progress-summary { color:var(--tkw-ink); font-weight:700; }
/* S1-34 줄 글자 13~15px(규칙 §2-4) */
.tkw-dot { width:26px; height:26px; font-size:13px; }
.tkw-dot-caption { font-size:13px; }
.tkw-batch-row .tkw-light-line { font-size:13px; }
.tkw-batch-row .tkw-manage-sub { font-size:14px; }
.tkw-manage-sub .tkw-manage-photo-count { color:inherit; font-size:inherit; }
.tkw-price-preview { font-size:12px; }
.tkw-price-unknown, .tkw-price-todo { font-size:13px; }
.tkw-batch-row .tkw-manage-more-note { font-size:12px; }
.tkw-manage-price > span { display:block; margin-top:2px; }
.tkw-manage-price > .tkw-price-preview { display:inline-block; }
.tkw-price-source { color:var(--tkw-muted); font-size:12px; }
.tkw-price-dewu { font-size:13px; }
/* R1-2 버튼 칸도 **고정 폭**(버튼 2개 + ⋯ 가 들어가는 폭). auto 였을 때는 [결과 보기]·[편집]·⋯ 가 함께 뜬 줄만
   버튼 칸이 넓어져 그 줄의 점·불·판매가가 왼쪽으로 밀렸다 — 판매가가 한 세로줄에 서지 않았다(규칙 §2-4). */
/* ☠ 좁은 화면(≤980px)의 세로 쌓기 규칙보다 뒤에 있으므로 넓은 화면에서만 — 안 그러면 좁은 화면에서도 7칸이 된다. */
@media (min-width:981px) { .tkw-batch-row { grid-template-columns:22px 54px minmax(0,1fr) 150px 170px 128px 204px; } }
/* S1-31 1280×900 에서 목록이 위로 — 머리말·거르기·범례를 좁힌다. */
#tkw-manage-page .tkw-route-heading { padding:2px 0 8px; }
#tkw-manage-page .tkw-route-heading h1 { font-size:30px; }
#tkw-manage-page .tkw-route-heading p:not(.tkw-eyebrow) { margin-top:4px; }
#tkw-manage-page .tkw-route-heading .tkw-eyebrow { margin:0 0 2px; }
.tkw-manage-filters { gap:6px 16px; margin:4px 0 6px; }
.tkw-manage-filter-button { padding:6px 10px; }
.tkw-manage-filters select { padding:6px 8px; font-size:13px; }
.tkw-manage-select-line { margin:2px 0 6px; }
.tkw-manage-select-line .tkw-manage-legend { margin:0 0 0 auto; }
/* S1-31 위쪽 안내(혼자 쓰기 등)도 한 줄 + 자세히(규칙 §2-7). 급한 경고(warn)는 접지 않는다. */
.tkw-workspace-notice { padding:8px 14px; }
.tkw-workspace-notice-more > summary { cursor:pointer; color:var(--tkw-navy); font-size:13px; font-weight:800; }
.tkw-workspace-notice-more { display:grid; gap:6px; }
/* S1-30 등록 창: 통과한 상품(품번 · 판매가) — 짧게, 넘치면 그 안에서만 스크롤. */
.tkw-publish-dialog-passed { display:grid; gap:4px; max-height:180px; margin:0; padding:0; overflow:auto; list-style:none; }
.tkw-publish-dialog-passed:empty { display:none; }
.tkw-publish-dialog-passed-item { padding:6px 10px; border-left:4px solid var(--tkw-status-green); border-radius:7px; background:#fff; font-size:13px; }
.tkw-publish-dialog-passed-item strong { color:var(--tkw-ink); }
.tkw-publish-dialog-passed-item span { color:#344054; }
/* S1-20 등록 창의 × — 다른 창과 같은 자리. */
.tkw-publish-dialog .tkw-dialog-shell { position:relative; }
/* S1-36 편집창: 정책이 붙은 상품의 [정책 다시 적용] 은 ⋯ 안으로. */
/* R1-4 가격·마진 머리말 **아래 한 줄 전체**에 — 오른쪽 위 칸에 혼자 떠 있으면 떨어진 조각처럼 읽혔다. */
.tkw-listing-policy-more { grid-column:1/-1; }
.tkw-listing-policy-more > summary { cursor:pointer; color:var(--tkw-navy); font-size:13px; font-weight:800; }
.tkw-listing-policy-more[open] > .tkw-small-button { margin-top:6px; }
#tkw-listing-dewu-note.tkw-error { color:#c2410c; font-weight:700; }
/* R1-3 혼자 쓰기 결과 카드의 [결과 다시 확인] — 버튼과 한 줄 안내를 나란히(카드 폭으로 늘이지 않는다). */
.tkw-local-reconcile { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:8px; }
.tkw-local-reconcile p { margin:0 !important; font-size:13px; }
/* ── 2단계(계획서 §5): 편집창 탭 4개 · 단축키 · 푸터 ───────────────────────────── */
/* 탭 줄은 창 위에 붙어 있다(긴 탭을 내려 봐도 탭·점이 보인다). 푸터(.tkw-editor-actions)는 아래에 붙어 있다. */
.tkw-editor-tabbar { position:sticky; top:0; z-index:3; margin:12px -25px 0; padding:10px 25px 8px; background:#fff; border-bottom:1px solid #d8e1ed; }
.tkw-editor-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.tkw-editor-tab { display:flex; align-items:center; gap:8px; min-height:56px; padding:8px 12px; border:1px solid #b6c4d5; border-radius:10px; color:var(--tkw-navy); background:#f7f9fc; font-size:15px; font-weight:800; text-align:left; cursor:pointer; }
.tkw-editor-tab:hover { background:#edf3fa; }
.tkw-editor-tab:focus-visible { outline:3px solid #7aa2e3; outline-offset:2px; }
/* 지금 보는 탭: 진남색 바탕 + 아래 금색 띠(색만이 아니라 aria-selected 로도 읽힌다). */
.tkw-editor-tab[aria-selected="true"] { color:#fff; background:var(--tkw-navy); border-color:var(--tkw-navy); box-shadow:inset 0 -4px 0 var(--tkw-yellow); }
.tkw-editor-tab-number { display:inline-grid; place-items:center; flex:0 0 auto; width:26px; height:26px; border-radius:7px; border:1px solid currentColor; font-size:14px; }
.tkw-editor-tab-label { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tkw-editor-tab .tkw-dot { flex:0 0 auto; }
.tkw-editor-tab-state { flex:0 0 auto; font-size:12px; font-weight:700; opacity:.85; }
.tkw-editor-keys { margin:6px 0 0; color:var(--tkw-muted); font-size:12px; }
.tkw-editor-pane { padding-top:6px; }
.tkw-editor-pane[hidden] { display:none!important; }
.tkw-editor-pane-todo { margin:10px 0 0; padding:8px 12px; border-left:4px solid var(--tkw-status-orange); border-radius:7px; color:#9a3412; background:#fff7ed; font-size:14px; font-weight:700; }
.tkw-editor-pane-todo[data-state="done"] { border-left-color:var(--tkw-status-blue); color:#1e3a8a; background:#eff6ff; font-weight:600; }
.tkw-editor-category { margin:14px 0 0; }
.tkw-editor-category .tkw-help { margin:6px 0 0; color:var(--tkw-muted); font-size:12px; }
.tkw-editor-recipes h3 { margin:0 0 8px; font-size:15px; }
#tkw-listing-info > summary { cursor:pointer; color:var(--tkw-navy); font-size:15px; font-weight:800; }
.tkw-editor-locked-note { margin:10px 0 0; padding:8px 12px; border-radius:8px; color:#475467; background:#eef1f5; font-size:13px; font-weight:700; }
.tkw-editor-remaining { font-size:14px!important; font-weight:800; }
.tkw-editor-remaining[data-state="todo"] { color:#c2410c; }
.tkw-editor-remaining[data-state="done"] { color:var(--tkw-status-blue); }
.tkw-editor-remaining:empty { display:none; }
.tkw-editor-action-reason, .tkw-disabled-reason { color:#7a5a12; font-size:12px; font-weight:600; line-height:1.45; }
.tkw-editor-action-reason { margin-top:4px!important; }
.tkw-thumbnail-card-actions .tkw-disabled-reason, .tkw-detail-block-actions .tkw-disabled-reason { flex-basis:100%; }
#tkw-listing-assets .tkw-disabled-reason { flex-basis:100%; }
#tkw-thumbnail-disabled-reason, #tkw-template-disabled-reason { margin:6px 0 0; }
.tkw-editor-actions kbd { display:inline-block; min-width:20px; margin-left:6px; padding:1px 6px; border-radius:5px; background:rgba(16,38,76,.12); font:inherit; font-size:13px; font-weight:900; line-height:18px; text-align:center; }
@media (max-width:980px) { .tkw-editor-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .tkw-editor-tabbar { margin:12px -15px 0; padding:8px 15px; } }
.tkw-editor-tab[aria-selected="true"] .tkw-dot { box-shadow:0 0 0 2px #fff; }
/* 옵션·가격 탭의 옵션 규칙 바(계획서 §5 · 헤이셀러 H5) + 표 [체크] 원문 → 표시 | 원가 | 판매가 | 재고. 규칙 위반 줄은 노랑 + 이유 글자. */
.tkw-option-rules { margin:12px 0; padding:12px 14px; border:1px solid #d6e0ed; border-radius:10px; background:#f7faff; }
.tkw-option-rules-head { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.tkw-option-rules-head h4 { margin:0; color:var(--tkw-navy); font-size:15px; }
.tkw-option-rules-head .tkw-help { flex-basis:100%; margin:0; color:var(--tkw-muted); font-size:12px; }
.tkw-option-rules-scope, .tkw-option-rule-remember { display:inline-flex!important; align-items:center; gap:6px; color:var(--tkw-navy)!important; font-size:14px!important; font-weight:800; }
.tkw-option-rules-scope input, .tkw-option-rule-remember input, .tkw-option-check input { width:18px!important; height:18px; margin:0; padding:0!important; accent-color:var(--tkw-navy); }
.tkw-option-rules-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,.9fr) minmax(0,.9fr); gap:10px; margin-top:10px; }
.tkw-option-rule { display:flex; flex-wrap:wrap; align-items:flex-end; gap:6px 8px; padding:8px 10px; border:1px solid #e1e8f2; border-radius:8px; background:#fff; }
.tkw-option-rule > label:not(.tkw-option-rule-remember) { display:grid; flex:1 1 110px; gap:4px; color:#53657d; font-size:12px; font-weight:700; }
.tkw-option-rule input[type="number"], .tkw-option-rule input:not([type]) { width:100%; min-width:0; box-sizing:border-box; padding:8px; border:1px solid #b6c4d5; border-radius:7px; color:#122848; background:#fff; }
.tkw-option-rule .tkw-help { flex-basis:100%; margin:0; color:var(--tkw-muted); font-size:12px; }
#tkw-option-rule-lowest[aria-pressed="true"] { color:#fff; background:var(--tkw-navy); border-color:var(--tkw-navy); }
.tkw-option-memory { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-top:10px; }
.tkw-option-memory .tkw-help { color:var(--tkw-muted); font-size:12px; }
.tkw-option-rule-summary { margin:8px 0 0!important; color:#1e3a8a!important; font-size:14px; font-weight:800; }
.tkw-option-rule-summary.tkw-error { color:var(--tkw-danger)!important; }
.tkw-option-rule-summary:empty { display:none; }
.tkw-option-rule-warning { margin:8px 0 0!important; padding:8px 12px; border-left:4px solid var(--tkw-status-yellow); border-radius:7px; color:#6b4e00!important; background:#fff8cc; font-size:13px; font-weight:700; }
/* 마지막 칸(삭제) 폭을 고정해야 표 머리(삭제 칸 없음)와 줄의 칸이 같은 자리에 선다. */
.tkw-option-head, .tkw-option-row { grid-template-columns:28px minmax(120px,1.1fr) 16px repeat(4,minmax(0,1fr)) 56px!important; }
.tkw-option-head { display:grid; gap:8px; align-items:center; margin:12px 0 0; padding:0 8px; color:var(--tkw-muted); font-size:12px; font-weight:800; }
.tkw-option-head span:first-of-type { grid-column:2 / span 3; }
.tkw-option-row { padding:8px; border:1px solid transparent; border-radius:9px; }
.tkw-option-check { display:flex!important; align-items:center; justify-content:center; min-height:40px; }
.tkw-option-source { align-self:center; min-width:0; overflow-wrap:anywhere; color:#475467; font-size:13px; font-weight:700; }
.tkw-option-arrow { align-self:center; color:var(--tkw-muted); font-weight:900; }
.tkw-option-row-warn { border-color:#e3c200; background:#fff8cc; }
.tkw-option-reason { grid-column:1 / -1; margin:0!important; color:#7a4b00!important; font-size:13px; font-weight:700; }
/* 넓은 화면은 표 머리가 칸 이름을 말한다 — 줄마다 같은 칸 이름은 화면에서만 숨긴다(읽어 주는 이름은 그대로). */
@media(min-width:701px){ .tkw-option-field-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; } }
@media(max-width:980px){ .tkw-option-rules-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px){ .tkw-option-head { display:none; } .tkw-option-row { grid-template-columns:28px repeat(2,minmax(0,1fr))!important; } .tkw-option-arrow { display:none; } .tkw-option-rules-grid { grid-template-columns:1fr; } }
/* ── 2단계 1차 검증(S2-19~24) ─────────────────────────────────────────────── */
/* S2-24 편집창 높이를 탭마다 같게 — 짧은 탭에서 창이 줄어 푸터·금색 버튼이 위아래로 뛰던 것. 푸터는 늘 창 바닥에 붙는다. */
.tkw-listing-dialog { height:min(94vh, calc(100vh - 30px)); }
.tkw-listing-dialog > .tkw-dialog-shell { display:flex; flex-direction:column; min-height:100%; padding-bottom:0; } /* 아래 여백은 푸터 자신의 여백 — 짧은 탭에서도 긴 탭(바닥에 붙은 푸터)과 같은 자리 */
.tkw-listing-dialog > .tkw-dialog-shell > .tkw-editor-actions { margin-top:auto; }
/* S2-19 탭 이름은 '…' 로 자르지 않는다 — 모자라면 두 줄로 접는다(좁은 창 1024px · 옵션 탭 글자가 "완료 · 노란 줄 N개" 로 길어질 때).
   좁은 창(≤1100px)에서는 글자를 조금 줄여 한 줄에 들어가게 한다. */
.tkw-editor-tab-label { line-height:1.25; white-space:normal; overflow:visible; text-overflow:clip; word-break:keep-all; overflow-wrap:anywhere; }
.tkw-editor-tab-state { white-space:nowrap; }
@media (max-width:1100px) {
  .tkw-editor-tab { gap:6px; padding:8px 10px; }
  .tkw-editor-tab-label { font-size:13px; }
}
/* S2-01 옵션 탭: 목록 점은 완료지만 네이버가 거절할 노란 줄이 남았다 — 탭 글자를 주황으로. */
.tkw-editor-tab-state[data-warn="naver"] { color:#c2410c; opacity:1; }
.tkw-editor-tab[aria-selected="true"] .tkw-editor-tab-state[data-warn="naver"] { color:var(--tkw-yellow); }
/* S2-20 푸터 보조 동작 셋째부터는 ⋯ 안으로(규칙 §2-1). 펼치면 버튼 위로 뜬다(푸터는 창 바닥에 붙어 있다). */
.tkw-editor-more { position:relative; }
.tkw-editor-more > summary { list-style:none; min-width:48px; text-align:center; cursor:pointer; font-weight:900; }
.tkw-editor-more > summary::-webkit-details-marker { display:none; }
.tkw-editor-more-menu { position:absolute; right:0; bottom:calc(100% + 8px); z-index:4; display:grid; gap:6px; width:max-content; max-width:280px; padding:10px; border:1px solid #d8e1ed; border-radius:10px; background:#fff; box-shadow:0 10px 30px rgba(8,20,43,.18); }
.tkw-editor-more-menu .tkw-help { margin:0; color:var(--tkw-muted); font-size:12px; }
.tkw-editor-more:not([open]) > .tkw-editor-more-menu { display:none; } /* 떠 있는 메뉴(position:absolute)는 닫힌 details 에서도 그려질 수 있다 — 닫히면 확실히 숨긴다 */
/* S2-22 설명은 한 줄 + '자세히'(규칙 §2-7). */
.tkw-more-text { margin:4px 0 0; font-size:12px; color:var(--tkw-muted); }
.tkw-more-text > summary { cursor:pointer; color:var(--tkw-navy); font-size:12px; font-weight:800; }
.tkw-more-text > p { margin:4px 0 0!important; line-height:1.45; }
.tkw-listing-pricing > .tkw-more-lead, .tkw-listing-pricing > .tkw-more-text { grid-column:1/-1; }
.tkw-listing-detail > .tkw-more-lead { margin-bottom:0; }
/* S2-23 옵션 '표시' 이름 칸을 숫자 칸보다 넓게 — 네이버 한도 25자 이름이 잘리지 않게(원가·판매가·재고는 숫자라 좁아도 된다). */
.tkw-option-head, .tkw-option-row { grid-template-columns:28px minmax(100px,.9fr) 16px minmax(0,2.2fr) repeat(3,minmax(84px,.85fr)) 56px!important; }
@media(max-width:700px){ .tkw-option-row { grid-template-columns:28px repeat(2,minmax(0,1fr))!important; } }
/* ── [⚙ 필수설정] 한 곳(계획서 §6 · 3단계 B) — 탭 4개 · 금색은 탭의 [저장] 하나 · 1280px 에서 가로 스크롤 없음 ── */
.tkw-settings-opener { border:1px solid rgba(255,232,0,.55)!important; }
.tkw-settings-dialog { width:min(1100px,calc(100vw - 30px)); max-height:94vh; overflow:auto; overscroll-behavior:contain; }
.tkw-settings-dialog > .tkw-dialog-shell { display:grid; gap:10px; }
.tkw-settings-dialog h2 { margin:0; }
.tkw-settings-dialog .tkw-more-lead { margin:0; }
.tkw-settings-tabs { position:sticky; top:0; z-index:3; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:6px 0; background:#fff; }
.tkw-settings-tab { min-height:48px; padding:8px 12px; border:1px solid #b6c4d5; border-radius:10px; color:var(--tkw-navy); background:#f7f9fc; font-size:15px; font-weight:800; cursor:pointer; }
.tkw-settings-tab:hover { background:#edf3fa; }
.tkw-settings-tab:focus-visible { outline:3px solid #7aa2e3; outline-offset:2px; }
.tkw-settings-tab[aria-selected="true"] { color:#fff; background:var(--tkw-navy); border-color:var(--tkw-navy); box-shadow:inset 0 -4px 0 var(--tkw-yellow); }
.tkw-settings-pane { display:grid; gap:10px; min-width:0; }
.tkw-settings-pane[hidden] { display:none; }
.tkw-settings-applies { margin:0; padding:10px 12px; border-left:4px solid var(--tkw-gold); background:#fff8d9; color:#5c4a06; font-weight:800; }
.tkw-settings-scope { margin:0; color:#205a91; font-size:13px; font-weight:700; }
.tkw-settings-scope:empty { display:none; }
/* 탭의 [저장](금색)은 창 아래에 붙어 있다 — 긴 탭에서도 내려가지 않고 보인다(규칙 §2-1 지금 할 일). 결과 글자는 버튼 왼쪽. */
.tkw-settings-actions { position:sticky; bottom:-25px; z-index:2; justify-content:flex-end; flex-wrap:wrap; margin:0 -25px -25px; padding:12px 25px 20px; border-top:1px solid #e2e8f0; background:#fff; }
#tkw-settings-message:empty { display:none; }
#tkw-editor-category-default { margin:4px 0 0; color:#c2410c; font-size:12px; font-weight:800; }
.tkw-settings-actions > p { flex:1 1 280px; margin:0; font-weight:700; }
.tkw-settings-actions > p.tkw-error { color:var(--tkw-danger); }
.tkw-pricing-pane fieldset, .tkw-defaults-pane fieldset { border:0; padding:0; margin:0; min-width:0; }
.tkw-pricing-sections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:12px; }
.tkw-pricing-block { min-width:0; padding:12px 14px; border:1px solid #d7e0ec; border-radius:10px; background:#fff; }
.tkw-pricing-block .tkw-pricing-grid { margin:10px 0; }
.tkw-pricing-block .tkw-help { margin:4px 0 0; font-size:12px; }
.tkw-pricing-grid-one { grid-template-columns:minmax(0,1fr); }
.tkw-pricing-field select { width:100%; padding:9px; border:1px solid #b6c4d5; border-radius:8px; color:var(--tkw-ink); background:#fff; }
.tkw-pricing-fx-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:12px; }
#tkw-pricing-fx-status { margin:6px 0 0; font-size:12px; }
.tkw-words-add { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:10px; align-items:end; padding:12px; border:1px solid #d6e0ed; border-radius:10px; background:#f7faff; }
.tkw-words-add .tkw-disabled-reason { grid-column:1/-1; margin:0; }
.tkw-words-tools { display:flex; gap:12px; align-items:end; }
.tkw-words-tools label { flex:1 1 auto; }
.tkw-words-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; max-height:44vh; overflow:auto; }
.tkw-words-row { display:grid; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) auto; gap:10px; align-items:center; min-height:48px; padding:6px 10px; border:1px solid #e2e8f0; border-radius:8px; font-size:15px; }
.tkw-words-from { font-weight:800; overflow-wrap:anywhere; }
.tkw-words-to { overflow-wrap:anywhere; }
.tkw-words-to[data-erase] { color:#9a3412; font-weight:700; }
.tkw-words-arrow { color:var(--tkw-muted); text-align:center; }
.tkw-words-empty { padding:14px; border-radius:8px; color:var(--tkw-muted); background:#f7f9fc; }
.tkw-defaults-remember { padding:12px 14px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; }
.tkw-defaults-remember h3 { margin:0 0 6px; font-size:15px; }
.tkw-defaults-remember p { margin:4px 0; }
.tkw-defaults-remember-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:6px; }
.tkw-editor-category-default { margin:4px 0 0; color:#c2410c; font-size:12px; font-weight:800; }
.tkw-option-memory #tkw-option-memory-open { margin-left:auto; }
@media (max-width:820px) { .tkw-settings-tabs, .tkw-pricing-sections { grid-template-columns:repeat(2,minmax(0,1fr)); } .tkw-words-add { grid-template-columns:1fr; } }
/* ── 2026-09-28 3단계 C: 상품소싱·상품수집에도 §2 규칙(금색 하나 · 같은 상태 색 · 한 줄 설명 · 진행은 맨 위) ─────────────
   상태 색은 위 --tkw-status-* 한 곳(상품관리와 같은 토큰). 범례·불·점이 모두 data-tone 하나로 칠해진다. */
.tkw-status-light[data-tone="gray"],.tkw-model-dot[data-tone="gray"] { --tkw-tone:var(--tkw-status-gray); }
.tkw-status-light[data-tone="orange"],.tkw-model-dot[data-tone="orange"] { --tkw-tone:var(--tkw-status-orange); }
.tkw-status-light[data-tone="blue"],.tkw-model-dot[data-tone="blue"] { --tkw-tone:var(--tkw-status-blue); }
.tkw-status-light[data-tone="green"],.tkw-model-dot[data-tone="green"] { --tkw-tone:var(--tkw-status-green); }
.tkw-status-light[data-tone="red"],.tkw-model-dot[data-tone="red"] { --tkw-tone:var(--tkw-status-red); }
.tkw-status-light[data-tone="yellow"],.tkw-model-dot[data-tone="yellow"] { --tkw-tone:var(--tkw-status-yellow); }
.tkw-source-model-row .tkw-model-dot[data-tone] { width:10px; height:10px; background:var(--tkw-tone); }
.tkw-model-work { margin-left:6px; padding:1px 7px; border-radius:999px; background:#eef2f8; color:#46546d; font-size:11px; font-weight:800; }
.tkw-status-legend { display:flex; flex-wrap:wrap; gap:4px 14px; margin:0; color:var(--tkw-muted); font-size:12px; }
.tkw-legend-host { margin-left:auto; }
.tkw-status-light { display:inline-flex; align-items:center; gap:5px; margin-left:10px; color:#3d4656; font-size:12px; font-weight:800; vertical-align:middle; }
.tkw-status-light::before { content:""; width:10px; height:10px; border-radius:999px; background:var(--tkw-tone); }
.tkw-sourcing-filter .tkw-legend-host { flex:0 0 auto; }
/* 한 줄 설명 + 자세히(편집창·필수설정과 같은 모양) */
.tkw-more-lead { margin:6px 0 0; }
.tkw-route-heading .tkw-more-lead { max-width:760px; color:var(--tkw-muted); line-height:1.5; }
.tkw-route-heading > .tkw-more-text, .tkw-collection-card > .tkw-more-text, .tkw-picker-help > .tkw-more-text { margin-top:4px; }
/* 세 화면 머리말은 같은 크기(상품관리 S1-31 과 같게) — 1280×900 에서 할 일이 위에 보이게 */
#tkw-sourcing-page .tkw-route-heading, #tkw-collection-page .tkw-route-heading { padding:2px 0 10px; }
#tkw-sourcing-page .tkw-route-heading h1, #tkw-collection-page .tkw-route-heading h1 { font-size:30px; }
#tkw-sourcing-page .tkw-route-heading .tkw-eyebrow, #tkw-collection-page .tkw-route-heading .tkw-eyebrow { margin:0 0 2px!important; }
#tkw-sourcing-page .tkw-sourcing-heading { max-width:1280px; margin:0 auto; }
#tkw-collection-page .tkw-collection-card > h2 { margin:0; font-size:20px; }
/* 사진 체크 / 더우 탐색 모드 단추: 눌린 쪽은 진남색(금색은 '지금 할 일' 에만) */
.tkw-picker-modes [aria-pressed="true"] { background:var(--tkw-navy); color:#fff; border-color:var(--tkw-navy); }
/* 빈 작업대 — 다음 할 일 버튼 */
.tkw-empty-workspace h2 { margin:20px 0 8px; font-size:24px; letter-spacing:-.03em; }
.tkw-empty-workspace .tkw-button { margin:6px 4px 0; min-height:44px; padding:10px 18px; }
.tkw-basket-panel .tkw-disabled-reason { margin:8px 0 0; }
#tkw-collection-page .tkw-disabled-reason { margin:6px 0 0; }
/* 맨 위 수집 진행 막대(규칙 §2-6) — 상품관리의 등록 진행 막대와 같은 모양 */
.tkw-collect-running { position:sticky; top:0; z-index:6; display:grid; gap:8px; max-width:1320px; margin:0 auto 14px; padding:12px 16px; border:2px solid var(--tkw-status-orange); border-radius:12px; background:#fff7ed; }
.tkw-collect-running.tkw-off-route { display:none; }
.tkw-collect-running-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.tkw-collect-running-text { flex:1 1 360px; margin:0; color:#7a3d00; font-size:15px; font-weight:900; font-variant-numeric:tabular-nums; }
.tkw-collect-running progress { width:100%; }  /* S3-17 모양은 위 S1-11 규칙(상품관리 막대와 같게) — 0% 가 어두운 가득 찬 막대로 보이지 않게 */
.tkw-collect-running .tkw-collect-running-open { width:auto; margin:0; }
#tkw-collection-page .tkw-collection-card { margin:10px 0 14px; padding:16px 20px; }
#tkw-collection-page .tkw-collection-card .tkw-field-message:empty { min-height:0; margin:0; }
.tkw-route-list-section .tkw-collection-search { margin:10px 0 12px; }
/* '화면 크게 보기' 에서는 휴대폰 화면이 먼저 — 조작 안내처럼 '자세히' 도 접어 둔 채 숨긴다(예전 한 줄 안내와 같은 높이). */
.tkw-studio-expanded .tkw-picker-help > .tkw-more-text { display:none; }
/* S3-28 가격 칸의 환율 안내는 좁은 칸에서도 낱말 가운데서 끊지 않는다("저 / 장된" · "[편 / 집]" 방지). */
.tkw-price-fx { word-break:keep-all; }
/* S3-15 할 일 없는·수집 중인 일괄 수집 카드는 제목 + 한 줄로 접는다(collection-panel.js renderCompact). 오류 글자는 늘 보인다. */
.tkw-collection-card.tkw-collection-compact-on > :not(h2):not(.tkw-collection-compact):not(.tkw-collection-message) { display:none !important; }
.tkw-collection-card.tkw-collection-compact-on .tkw-collection-message:empty { display:none; }
.tkw-collection-compact { margin:6px 0 0; }
/* S3-14 상품소싱 '다음 할 일' 줄 — 목록 위(금색 후보가 첫 화면 안에). */
.tkw-sourcing-next { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; margin:12px 0 4px; padding:10px 14px; border:1px solid var(--tkw-line); border-radius:10px; background:#f8fafc; }
.tkw-sourcing-next-text { flex:1 1 280px; margin:0; color:var(--tkw-navy); font-size:14px; font-weight:800; }
.tkw-sourcing-next-text:empty { display:none; }
.tkw-sourcing-next #tkw-main-queue { width:auto; margin:0; }
/* S3-20 상품소싱 품번 검색 — 거르기 칩 옆. */
.tkw-sourcing-search { flex:0 1 220px; min-width:140px; padding:6px 10px; border:1px solid #b6c4d5; border-radius:9px; background:#fff; font-size:14px; }
/* S3-20 세 화면(상품소싱·상품수집·상품관리)이 같은 폭·같은 왼쪽 끝 — 머리말과 첫 카드가 화면마다 같은 자리에서 시작한다. */
:root { --tkw-page-max:1280px; }
#tkw-sourcing-page { max-width:var(--tkw-page-max); margin:0 auto; }
.tkw-route-page, #tkw-manage-page.tkw-route-page { max-width:var(--tkw-page-max); }
.tkw-workspace-notices, .tkw-collect-running { max-width:var(--tkw-page-max); }
/* S3-18 진행 중인 일 줄 모음 — 모든 화면 같은 자리(작업 화면 맨 위) · 내려도 붙어 있다. 안의 막대는 수집·등록 같은 모양. */
.tkw-running-strips { position:sticky; top:0; z-index:6; display:grid; max-width:var(--tkw-page-max); margin:0 auto; }
.tkw-running-strips .tkw-collect-running { position:static; width:100%; box-sizing:border-box; }
.tkw-collection-compact .tkw-text-button { display:inline; width:auto; margin:0 0 0 6px; padding:0; }
/* ── 추천 상품명 3개 카드(계획서 2026-09-29 §5 · 편집창 1번 탭) — 새 색 없음: navy·yellow·--tkw-status-* 토큰만 · 금색 없음(버튼은 전부 테두리형) ── */
.tkw-name-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.tkw-char-count { font-variant-numeric:tabular-nums; font-size:13px; font-weight:800; color:var(--tkw-muted); white-space:nowrap; }
.tkw-char-count[data-warn="true"] { color:var(--tkw-status-orange); }
.tkw-char-count[data-over="true"] { color:var(--tkw-status-red); }
.tkw-dialog .tkw-name-note { margin:6px 0 0; font-size:13px; font-weight:700; color:#8a6a00; }
.tkw-dialog .tkw-name-note[data-level="over"] { color:var(--tkw-status-red); font-weight:800; }
/* ☠ 1280×900 에서 3줄이면 카테고리 칸이 sticky 푸터 밑에 깔렸다(N-25) — 머리(근거+자세히 한 줄)·줄 여백·바닥을 줄여 칸을 푸터 위로. 줄 높이는 56 이상(§2-4). */
.tkw-name-suggest { margin:6px 0 0; padding:8px 12px 8px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; }
.tkw-name-suggest-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.tkw-name-suggest-head h4 { margin:0; font-size:15px; line-height:1.25; color:var(--tkw-navy); }
.tkw-name-suggest-basisline { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 10px; margin:3px 0 0; }
.tkw-name-suggest-head .tkw-help { margin:0; font-size:13px; line-height:1.35; }
.tkw-name-suggest-basisline details[open] { flex-basis:100%; }
.tkw-name-suggest #tkw-name-suggest-locked { margin:0; font-size:13px; font-weight:600; color:#475467; }
.tkw-name-suggest[data-state="locked"] .tkw-name-suggest-bottom, .tkw-name-suggest[data-state="folded"] .tkw-name-suggest-bottom { display:none; }
.tkw-name-suggest-head .tkw-more-text { margin:0; font-size:13px; }
.tkw-name-suggest-tools { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.tkw-name-suggest-fold { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0; color:var(--tkw-muted); font-size:13px; font-weight:600; }
.tkw-name-suggest-busy { margin-top:10px; }
/* ☠ `.tkw-dialog p`(0,1,1) 가 회색으로 덮던 빨강 — 카드 안으로 좁혀 특이성을 올린다(N-26 · 빨강 = 실패). */
.tkw-name-suggest .tkw-name-suggest-error { margin:10px 0 0; color:var(--tkw-status-red); font-size:13px; font-weight:700; }
.tkw-name-suggest .tkw-name-suggest-flag { margin:10px 0 0; padding:8px 12px; border-left:4px solid var(--tkw-status-yellow); border-radius:7px; color:#6b4e00; background:#fff8cc; font-size:13px; font-weight:700; }
.tkw-name-suggest-list { display:grid; gap:4px; margin:6px 0 0; padding:0; list-style:none; }
.tkw-name-row { display:grid; grid-template-columns:28px minmax(0,1fr) 64px auto; gap:12px; align-items:center; min-height:56px; padding:5px 12px; border:1px solid #cfd9e6; border-radius:10px; background:#fff; }
.tkw-name-row[data-picked="true"] { border:2px solid var(--tkw-navy); background:#eef4fd; padding:4px 11px; }
.tkw-name-rank { display:inline-grid; place-items:center; width:26px; height:26px; border-radius:7px; border:1px solid #9eb0c8; color:var(--tkw-navy); font-size:13px; font-weight:900; background:#fff; }
.tkw-name-row[data-picked="true"] .tkw-name-rank { background:var(--tkw-navy); color:#fff; border-color:var(--tkw-navy); }
.tkw-name-body { min-width:0; }
.tkw-name-line { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin:0; }
.tkw-name-chip { flex:0 0 auto; padding:1px 8px; border:1px solid #9eb0c8; border-radius:999px; color:var(--tkw-navy); background:#fff; font-size:12px; font-weight:800; line-height:1.5; white-space:nowrap; }
.tkw-name-chip[data-name-chip="AI"] { border-color:var(--tkw-navy); background:var(--tkw-navy); color:#fff; }
.tkw-name-chip[data-name-chip="AI_SEO"] { border-color:var(--tkw-navy); background:#e6eefb; }
.tkw-name-text { font-size:15px; font-weight:800; color:var(--tkw-ink); overflow-wrap:anywhere; line-height:1.35; }
.tkw-name-code { font-weight:900; color:var(--tkw-navy); }
.tkw-dialog .tkw-name-why { display:flex; align-items:center; flex-wrap:wrap; gap:2px 8px; margin:2px 0 0; color:var(--tkw-muted); font-size:13px; line-height:1.35; }
.tkw-name-same { flex:0 0 auto; padding:1px 8px; border:1px dashed #9eb0c8; border-radius:999px; color:#41506b; background:#f2f4f7; font-size:12px; font-weight:700; line-height:1.5; white-space:nowrap; }
.tkw-name-reason { min-width:0; }
.tkw-dialog .tkw-name-why[data-warn="true"] { color:#7a5a12; }
.tkw-name-row .tkw-char-count { text-align:right; }
.tkw-name-use { min-height:38px; padding:8px 12px; border-radius:9px; font-size:14px; white-space:nowrap; }
.tkw-name-use[aria-pressed="true"] { border:2px solid var(--tkw-navy); color:var(--tkw-navy); background:#fff; }
.tkw-name-suggest-bottom { display:flex; justify-content:space-between; align-items:baseline; gap:2px 16px; flex-wrap:wrap; margin:5px 0 0; }
.tkw-name-suggest .tkw-name-suggest-ai { margin:0; font-size:12px; line-height:1.35; font-weight:700; color:var(--tkw-muted); }
.tkw-name-suggest .tkw-name-suggest-ai[data-tone="ok"] { color:#1e3a8a; }
.tkw-name-suggest .tkw-name-suggest-ai[data-tone="warn"] { color:#7a5a12; }
.tkw-name-suggest .tkw-name-suggest-foot { margin:0!important; font-size:12px; line-height:1.35; color:#41506b; font-weight:600; }
.tkw-name-suggest-empty { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:center; margin:10px 0 0; padding:10px 12px; border:1px dashed #b9c4d4; border-radius:10px; background:#fff; }
.tkw-name-suggest-empty p { margin:0; color:var(--tkw-muted); font-size:14px; line-height:1.5; }
.tkw-name-suggest-empty strong { color:#475467; }
.tkw-name-suggest-empty #tkw-name-suggest-category-hint { grid-column:1 / -1; font-size:12px; }
.tkw-name-suggest-empty .tkw-small-button { min-height:38px; font-size:14px; }
@media (max-width:1100px) { .tkw-name-row { grid-template-columns:28px minmax(0,1fr); } .tkw-name-row .tkw-char-count { grid-column:2; text-align:left; } .tkw-name-use { grid-column:2; justify-self:start; } }

/* ── 품번 삭제(2026-10-01 · 상품소싱 [정리하기]·⋯ [이 품번 삭제]) ─────────────────────────
   지우기 버튼은 금색이 아니다(규칙 §2-1) — 빨간 테두리 + 흰 바탕. 회색(못 누름)일 때는 빨강도 흐리게. */
.tkw-danger-button { color:var(--tkw-danger); background:#fff; border:1px solid #e3a9a4; }
.tkw-danger-button:not(:disabled):hover { color:#fff; background:var(--tkw-danger); border-color:var(--tkw-danger); }
.tkw-danger-button:disabled { color:#c99a96; border-color:#efd3d0; background:#fff; cursor:not-allowed; }
.tkw-button.tkw-danger-button { font-weight:800; }
.tkw-model-cleanup { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-top:10px; }
.tkw-model-cleanup-hint { color:var(--tkw-muted); font-size:12px; }
.tkw-model-cleanup-controls { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; min-width:0; }
.tkw-model-cleanup-controls[hidden],.tkw-model-cleanup-note[hidden],.tkw-model-cleanup-result[hidden] { display:none; }
.tkw-model-cleanup-on { padding:10px 12px; border:1px solid #e3b8b8; border-left:5px solid var(--tkw-danger); border-radius:10px; background:#fff8f7; }
.tkw-model-cleanup-all { display:inline-flex; align-items:center; gap:6px; color:var(--tkw-navy); font-size:13px; font-weight:800; cursor:pointer; }
.tkw-model-cleanup-all input { width:17px; height:17px; accent-color:var(--tkw-danger); }
.tkw-model-cleanup-count { color:var(--tkw-ink); font-size:13px; font-weight:800; }
.tkw-model-cleanup-why { color:var(--tkw-muted); font-size:12px; }
.tkw-model-cleanup-why.tkw-error { color:var(--tkw-danger); font-weight:700; }
.tkw-model-cleanup-note { flex-basis:100%; margin:0; color:var(--tkw-muted); font-size:12px; }
.tkw-model-cleanup-result { flex-basis:100%; margin:0; color:#205a91; font-size:13px; font-weight:700; line-height:1.5; overflow-wrap:anywhere; }
.tkw-model-cleanup-result.tkw-error { color:var(--tkw-danger); }
/* 정리 모드에서는 수집 체크칸이 없으므로 그 잠금 안내도 숨긴다(D-18). */
[data-model-cleanup="on"] #tkw-scope-lock-reason { display:none !important; }
.tkw-source-cleanup-row input.tkw-delete-check { accent-color:var(--tkw-danger); }
.tkw-source-row-blocked { background:#f4f5f7; }
.tkw-source-row-blocked input.tkw-delete-check { cursor:not-allowed; }
.tkw-model-delete-reason { grid-column:1 / -1; margin:0 0 0 34px; color:#6b4a12; font-size:12px; font-weight:700; line-height:1.45; overflow-wrap:anywhere; }
.tkw-source-more .tkw-danger-button { margin-left:6px; }
.tkw-model-delete-dialog { width:min(640px,calc(100vw - 30px)); }
.tkw-model-delete-dialog .tkw-dialog-shell { display:grid; gap:10px; }
.tkw-model-delete-dialog .tkw-model-delete-status { margin:0; color:var(--tkw-ink); font-weight:700; }
.tkw-model-delete-dialog .tkw-model-delete-status.tkw-error { color:var(--tkw-danger); }
.tkw-model-delete-list,.tkw-model-delete-keep { display:grid; gap:6px; max-height:min(26vh,240px); margin:0; padding:0; overflow:auto; list-style:none; }
/* 긴 목록에서도 [취소]·[N개 삭제] 가 창 아래에 붙어 늘 보인다(D-17 · 1280×900 에서 버튼이 화면 밖으로 밀렸다). */
.tkw-model-delete-dialog .tkw-model-delete-actions { position:sticky; bottom:0; z-index:1; margin:6px -25px -25px; padding:12px 25px 25px; border-top:1px solid var(--tkw-line); background:#fff; }
@media (max-width:480px) { .tkw-model-delete-dialog .tkw-model-delete-actions { margin:6px -15px -20px; padding:12px 15px 20px; } }
.tkw-model-delete-list[hidden],.tkw-model-delete-keep[hidden],.tkw-model-delete-keep-head[hidden],.tkw-model-delete-why[hidden] { display:none; }
.tkw-model-delete-item,.tkw-model-delete-keep-item { display:flex; flex-wrap:wrap; gap:4px 10px; padding:8px 10px; border-radius:8px; font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.tkw-model-delete-item { border-left:4px solid var(--tkw-danger); background:#fff6f5; }
.tkw-model-delete-keep-item { border-left:4px solid var(--tkw-status-gray); background:#f4f5f7; }
.tkw-model-delete-item strong,.tkw-model-delete-keep-item strong { color:var(--tkw-navy); }
.tkw-model-delete-keep-head { margin:4px 0 0; color:var(--tkw-ink); font-size:14px; }
.tkw-dialog .tkw-model-delete-why { margin:0 auto 0 0; color:var(--tkw-muted); font-size:12px; }
/* ── H(2026-10-01): 상품수집 목록 — 상태 칩 · 줄마다 편집 점 4개와 판매가 · 편집 완료 넘기기 ─────────────
   점·판매가 칸은 상품관리 작업표와 같은 노드(worktable-cells.js)라 .tkw-manage-dots/.tkw-manage-price 규칙을 그대로 쓴다. */
.tkw-collection-chips { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 8px; }
.tkw-collection-chips .tkw-manage-filter-title { margin-right:4px; color:var(--tkw-muted); font-size:12px; font-weight:800; }
.tkw-chip-dot { display:inline-block; width:9px; height:9px; border-radius:999px; background:var(--tkw-tone); }
.tkw-chip-dot[data-tone="gray"] { --tkw-tone:var(--tkw-status-gray); }
.tkw-chip-dot[data-tone="orange"] { --tkw-tone:var(--tkw-status-orange); }
.tkw-chip-dot[data-tone="blue"] { --tkw-tone:var(--tkw-status-blue); }
.tkw-chip-dot[data-tone="green"] { --tkw-tone:var(--tkw-status-green); }
.tkw-chip-dot[data-tone="red"] { --tkw-tone:var(--tkw-status-red); }
.tkw-manage-filter-button[aria-pressed="true"] .tkw-chip-dot { box-shadow:0 0 0 2px #fff; }
.tkw-collection-chip-note { margin:0 0 8px; color:var(--tkw-muted); font-size:12px; }
.tkw-collection-handoff { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:0 0 12px; }
.tkw-collection-handoff .tkw-button { width:auto; margin:0; }
.tkw-collection-handoff-reason { flex:1 1 320px; margin:0; color:var(--tkw-muted); font-size:13px; line-height:1.45; }
.tkw-collection-handoff-reason[data-reason="disabled"] { color:#9a3412; font-weight:700; }
.tkw-collection-row { grid-template-columns:minmax(0,1fr) 168px 150px 156px; gap:14px; } /* 버튼 칸 너비를 고정해야 점·판매가 칸이 줄마다 같은 자리에 선다 */
.tkw-collection-row > .tkw-workflow-actions { justify-content:flex-end; }
.tkw-collection-row-body { min-width:0; }
.tkw-collection-row .tkw-manage-dots { min-width:0; }
.tkw-collection-row .tkw-manage-price > span { display:block; margin-top:2px; }
.tkw-collection-row .tkw-manage-price > .tkw-price-preview { display:inline-block; }
.tkw-collection-nodraft .tkw-dot-caption { margin-top:0; color:var(--tkw-muted); font-weight:600; }
.tkw-manage-handoff { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin:0 0 10px; padding:10px 14px; border:1px solid #bfd3fb; border-left:5px solid var(--tkw-status-blue); border-radius:10px; background:#eff5ff; }
.tkw-manage-handoff-text { flex:1 1 360px; margin:0; color:#1e3a8a; font-size:14px; font-weight:700; line-height:1.45; }
@media (max-width:980px) { .tkw-collection-row { grid-template-columns:minmax(0,1fr) auto; } .tkw-collection-row > .tkw-manage-dots, .tkw-collection-row > .tkw-manage-price { grid-column:1; text-align:left; } }
@media (max-width:700px) { .tkw-collection-row { grid-template-columns:1fr; } }
/* 필수설정 → 배송(사장님 결정 B · 2026-10-01). 주황 = 경고(오늘출발 페널티 · 해외 아닌 출고지) — 색만이 아니라 글자로 말한다. */
.tkw-delivery-pane { display:grid; gap:12px; }
.tkw-delivery-fields { display:grid; gap:12px; margin:0; padding:0; border:0; min-width:0; }
.tkw-delivery-block { padding:12px 14px; border:1px solid #d7e0ec; border-radius:10px; background:#f7f9fc; min-width:0; }
.tkw-delivery-block h3 { margin:0 0 6px; font-size:15px; }
.tkw-delivery-block p { margin:4px 0; overflow-wrap:anywhere; }
.tkw-delivery-toggle { display:flex; align-items:center; gap:8px; font-size:15px; cursor:pointer; }
.tkw-delivery-toggle input { width:18px; height:18px; }
.tkw-delivery-state { padding:2px 8px; border-radius:999px; background:#eef2f7; color:var(--tkw-ink); font-size:12px; font-weight:800; }
.tkw-delivery-units { display:flex; flex-wrap:wrap; gap:8px 18px; }
.tkw-delivery-units label { display:flex; align-items:center; gap:6px; font-weight:700; cursor:pointer; }
.tkw-delivery-warn { padding:6px 10px; border-left:4px solid var(--tkw-status-orange); border-radius:7px; background:#fff7ed; color:#9a3412; font-size:13px; font-weight:700; }
.tkw-delivery-warn[data-level="info"] { border-left-color:var(--tkw-status-gray); background:#f2f4f7; color:#344054; font-weight:600; }
.tkw-delivery-note { color:#1e3a8a; font-size:13px; font-weight:700; }
.tkw-delivery-book { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:8px; }
.tkw-delivery-pane select { max-width:100%; }
/* 등록 창의 배송 한 줄(묶음당 하나). */
.tkw-publish-dialog-delivery { display:grid; gap:4px; padding:8px 12px; border:1px solid #d7e0ec; border-radius:9px; background:#fff; }
.tkw-publish-dialog-delivery[hidden] { display:none; }
.tkw-publish-dialog-delivery p { margin:0; overflow-wrap:anywhere; }
.tkw-publish-dialog-delivery-line { color:var(--tkw-ink); font-size:14px; font-weight:800; }
.tkw-publish-dialog-delivery-warn { padding:4px 8px; border-left:4px solid var(--tkw-status-orange); border-radius:6px; background:#fff7ed; color:#9a3412; font-size:13px; font-weight:700; }
.tkw-publish-dialog-delivery-note { color:#475467; font-size:12px; }
/* 검증 라운드 1(H·I · 2026-10-01).
 * C-17 ☠ `.tkw-dialog p`(0,1,1) 가 배송 경고·한 줄을 회색으로 덮었다(N-26 과 같은 함정) — 필수설정 창·등록 창 안에서 특이성을 올린다. */
.tkw-dialog p.tkw-delivery-warn { color:#9a3412; }
.tkw-dialog p.tkw-delivery-warn[data-level="info"] { color:#344054; }
.tkw-dialog p.tkw-delivery-note { color:#1e3a8a; }
.tkw-dialog p.tkw-publish-dialog-delivery-line { color:var(--tkw-ink); }
.tkw-dialog p.tkw-publish-dialog-delivery-warn { color:#9a3412; }
/* C-19 한국어 낱말이 중간에서 끊기지 않게(넘기기 안내 · 배송 경고). */
.tkw-manage-handoff-text, .tkw-collection-handoff-reason, .tkw-delivery-warn, .tkw-publish-dialog-delivery-warn, .tkw-delivery-team-limit { word-break:keep-all; overflow-wrap:anywhere; }
/* C-15 팀 모드 배송 탭의 첫 말(팀 등록기 한계) — 작은 회색이 아니라 눈에 띄는 안내 상자. */
.tkw-dialog p.tkw-delivery-team-limit { margin:0; padding:8px 12px; border-left:5px solid var(--tkw-status-blue); border-radius:8px; background:#eff5ff; color:#1e3a8a; font-size:14px; font-weight:800; line-height:1.5; }
.tkw-delivery-team-limit[hidden] { display:none; }
/* C-20 '수집 대기·중' 칩: 회색 + 주황 두 점(줄 불 두 가지). */
.tkw-chip-dot + .tkw-chip-dot[data-also-tone] { margin-left:-3px; }
/* C-05 지난 등록 실패·보내지 않음 한 줄(상품수집 줄). */
.tkw-collection-row p.tkw-collection-last-attempt { margin:2px 0 0; color:#b42318; font-size:12px; font-weight:700; }

/* 검색 노출 카드(편집창 1탭 · 계획서 2026-10-06-naver-seo-exposure). 센터 "검색품질 체크" 와 같은 줄 — 색 + 글자 둘 다. 금색 없음. */
.tkw-search-exposure { margin:8px 0 0; padding:8px 12px 10px; border:1px solid #d7e0ec; border-radius:10px; background:#fbfcfe; }
.tkw-search-exposure[data-state="todo"] { border-color:#f4b4b4; }
.tkw-search-exposure-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.tkw-search-exposure-head h4 { margin:0; font-size:15px; color:var(--tkw-navy); }
.tkw-search-exposure .tkw-help { margin:3px 0 0; font-size:13px; }
.tkw-search-exposure-status:empty { display:none; }
.tkw-search-exposure-lines { list-style:none; margin:6px 0 0; padding:0; display:grid; gap:3px; }
.tkw-search-exposure-line { display:grid; grid-template-columns:84px 74px 1fr; align-items:center; gap:8px; font-size:13px; }
.tkw-search-exposure-badge { display:inline-block; text-align:center; padding:1px 6px; border-radius:999px; font-weight:700; font-size:12px; background:#eef2f7; color:#475467; }
.tkw-search-exposure-line[data-status="ok"] .tkw-search-exposure-badge { background:#e7f6ec; color:#11683a; }
.tkw-search-exposure-line[data-status="todo"] .tkw-search-exposure-badge { background:#fde8e8; color:#b42318; }
.tkw-search-exposure-line[data-status="check"] .tkw-search-exposure-badge { background:#fff4e0; color:#9a3412; }
.tkw-search-exposure-brand { margin-top:6px; }
.tkw-search-exposure-brand label { display:flex; align-items:center; gap:8px; font-size:13px; }
.tkw-search-exposure-brand input { max-width:240px; }
.tkw-search-exposure-model:empty { display:none; }
.tkw-search-exposure-attrs h5, .tkw-search-exposure-tags h5 { margin:8px 0 4px; font-size:13px; color:var(--tkw-navy); }
.tkw-search-exposure-attr-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:6px 10px; }
.tkw-search-exposure-attr { display:grid; gap:2px; font-size:12px; }
.tkw-search-exposure-attr select { font-size:13px; }
.tkw-search-exposure-attr-note { color:#667085; font-size:11px; min-height:14px; }
.tkw-search-exposure-chips { display:flex; flex-wrap:wrap; gap:6px; }
.tkw-search-exposure-chip { display:inline-flex; align-items:center; gap:4px; padding:2px 4px 2px 9px; border:1px solid #9fb3cf; border-radius:999px; background:#fff; font-size:13px; }
.tkw-search-exposure-chip[data-grade="B"] { border-style:dashed; }
.tkw-search-exposure-chip-note { font-size:11px; color:#9a3412; }
.tkw-search-exposure-chip-remove { border:0; background:transparent; cursor:pointer; font-size:15px; line-height:1; padding:0 4px; color:#475467; }
.tkw-search-exposure-add { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:6px; }
.tkw-search-exposure-add input { min-width:220px; }
.tkw-search-exposure-stripped { margin-top:6px; font-size:12px; }
.tkw-search-exposure-stripped ul { margin:4px 0 0; padding-left:18px; }
.tkw-publish-dialog-exposure { display:grid; gap:4px; padding:8px 12px; border:1px solid #d7e0ec; border-radius:9px; background:#fff; }
.tkw-publish-dialog-exposure[hidden] { display:none; }
.tkw-publish-dialog-exposure p { margin:0; overflow-wrap:anywhere; }
.tkw-publish-dialog-exposure-line { color:var(--tkw-ink); font-size:14px; font-weight:700; }
.tkw-publish-dialog-exposure-warn { padding:4px 8px; border-left:4px solid var(--tkw-status-orange); border-radius:6px; background:#fff7ed; color:#9a3412; font-size:13px; font-weight:700; }
.tkw-publish-dialog-exposure-warn[hidden] { display:none; }
.tkw-search-fix-dialog .tkw-dialog-shell { max-width:860px; }
.tkw-search-fix-list { list-style:none; margin:8px 0; padding:0; display:grid; gap:6px; max-height:56vh; overflow:auto; }
.tkw-search-fix-item { padding:6px 10px; border:1px solid #d7e0ec; border-radius:8px; background:#fff; }
.tkw-search-fix-item p { margin:3px 0 0; font-size:13px; }
.tkw-search-fix-item[data-state="FAILED"] { border-color:#f4b4b4; }
.tkw-search-fix-check, .tkw-search-fix-public { display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:13px; }
.tkw-search-fix-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
