/* Original program styling is loaded first. These rules adapt only the web workspace. */
:root{font-size:16px}body{line-height:1.5}.tkw-sidebar{position:sticky;top:0;z-index:20;min-height:76px}.tkw-brand{min-width:215px}.tkw-brand strong{font-size:19px}.tkw-brand>div>span{font-size:13px}.tkw-brand-mark{color:#10264c!important;width:36px;height:36px}.tkw-main-nav button{border-top:0;border-left:0;border-right:0;background:transparent;color:#e4ebf7;font-weight:600}.tkw-main-nav-end button{font-size:14px}.nav-count:empty{display:none}.nav-count{font-size:12px;margin-left:6px;border:1px solid #63738a;border-radius:5px;padding:1px 5px}.preview-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:9px 32px;background:#fff9de;border-bottom:1px solid #e9dcaa;color:#6b5517;font-size:13px}.preview-banner b{margin-right:14px}.subtle{border:0;background:none;color:inherit;font:inherit;white-space:nowrap;text-decoration:underline}.tkw-workspace{max-width:1600px;width:100%;margin:0 auto;padding:27px 32px 40px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.page-head h1{font-size:28px;letter-spacing:-.04em;margin:0 0 5px}.page-head p{margin:0;color:var(--tkw-muted);font-size:15px}.page-head .tkw-eyebrow{font-size:12px;margin-bottom:4px!important}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.muted{color:var(--tkw-muted)}.small{font-size:13px}.panel{background:#fff;border:1px solid var(--tkw-line);border-radius:14px;padding:20px;margin-bottom:18px}.panel h2{font-size:18px;margin:0}.panel h3{font-size:16px;margin:0 0 10px}.panel p{margin:6px 0 12px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:15px}.badge{display:inline-block;border-radius:5px;padding:4px 8px;font-size:12px;font-weight:700;background:#edf2f8;color:#476181;white-space:nowrap}.badge.yellow{background:#fff4c0;color:#806100}.badge.green{background:#e7f4ec;color:#287747}.badge.blue{background:#e9f1fd;color:#285896}.badge.red{background:#fff0ea;color:#a54a23}.import-row{display:grid;grid-template-columns:1fr auto;align-items:stretch;gap:12px}.import-row textarea{width:100%;height:58px;min-height:58px;border:1px solid #b7c4d5;border-radius:8px;padding:10px 13px;font-size:14px;resize:vertical}.import-row button{min-width:140px}.helper{font-size:13px;color:#667085;margin:8px 0 14px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 10px}.filters{display:flex;gap:5px;flex-wrap:wrap}.filters button{border:1px solid #d6dfe9;background:#fff;border-radius:7px;padding:6px 12px;color:#576477;font-size:14px}.filters button.active{color:#10264c;border-color:#10264c;background:#edf2f9;font-weight:800}.search{width:230px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:7px;font-size:14px}.table-wrap{overflow:auto}.work-table{width:100%;border-collapse:collapse;font-size:14px}.work-table th{background:#f5f7fa;color:#667085;text-align:left;font-size:13px;padding:10px 12px;border-bottom:1px solid #dce3ec;font-weight:600;white-space:nowrap}.work-table td{padding:11px 12px;border-bottom:1px solid #e8edf2;vertical-align:middle}.work-table tr.current{background:#f2f6fc}.work-table tr:last-child td{border-bottom:0}.product-cell{display:flex;gap:12px;align-items:center;min-width:230px}.product-cell img{width:48px;height:48px;object-fit:contain;border:1px solid #e6eaf0;border-radius:7px;background:#fff}.product-cell strong{display:block;font-size:14px}.product-cell span{color:#697586;font-size:12px}.check{width:18px;height:18px;accent-color:#10264c}.tkw-small-button{font-size:13px;white-space:nowrap}.source-studio{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.source-preview{padding:18px;position:sticky;top:96px}.source-preview .product-cover{width:100%;aspect-ratio:1;object-fit:contain;background:white;border:1px solid #e7ebf0;border-radius:9px;margin:12px 0}.source-preview h3{font-size:17px;line-height:1.45}.facts{display:grid;grid-template-columns:80px 1fr;gap:7px;font-size:13px;margin:16px 0}.facts dt{color:#667085}.facts dd{margin:0;word-break:break-word}.source-link{color:#285da1;font-size:13px}.source-preview .tkw-button{width:100%;margin-top:12px}.source-right{min-width:0}.media-tabs{display:flex;border-bottom:1px solid #dce3ec;gap:22px;margin:0 0 17px}.media-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:8px 1px 12px;font-size:14px;color:#687488}.media-tabs button.active{border-color:#10264c;color:#10264c;font-weight:800}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo{position:relative;border:2px solid #e0e7ef;border-radius:10px;overflow:hidden;background:#fff}.photo.selected{border-color:#10264c}.photo img{display:block;width:100%;height:178px;object-fit:contain;background:#fff;cursor:zoom-in}.photo-footer{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:8px 10px;background:#f7f9fc;font-size:13px}.photo-footer label{display:flex;gap:6px;align-items:center;cursor:pointer}.photo-index{position:absolute;top:8px;left:8px;background:#fff;border:1px solid #dce3ec;border-radius:5px;padding:1px 6px;font-size:12px}.selection-tray{margin-top:18px;padding:13px 15px;background:#f3f6fa;border:1px solid #dae3ee;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:12px}.empty{padding:50px 25px;text-align:center;background:#f8fafc;border:1px dashed #cad5e3;border-radius:10px;color:#667085}.empty strong{display:block;color:#253954;font-size:18px;margin-bottom:8px}.empty p{font-size:14px;margin:5px 0 17px}.queue-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:18px}.queue-summary>div{padding:12px 20px;border-right:1px solid #e4eaf2}.queue-summary>div:last-child{border:0}.queue-summary strong{font-size:28px;color:#10264c;display:block}.queue-summary span{font-size:14px;color:#6b7280}.progress-shell{background:#e9eff8;border:1px solid #c5d6ed;border-radius:9px;padding:12px 16px;margin-bottom:18px;font-size:14px}.progress-shell progress{width:100%;height:7px;accent-color:#10264c;margin-top:8px}.legend{display:flex;gap:12px;font-size:12px;color:#667085}.steps{display:flex;gap:5px}.step-mark{width:23px;height:23px;display:grid;place-items:center;background:#eef1f5;color:#94a1b1;border:1px solid #d9e1ea;border-radius:50%;font-size:12px}.step-mark.done{color:#2b679c;background:#e5f1fb;border-color:#a9cce8}.site-footer{display:flex;justify-content:space-between;padding:18px 32px;border-top:1px solid #dde4ed;color:#738097;font-size:12px;margin-top:auto}.tkw-dialog{max-width:1100px;width:calc(100vw - 50px);max-height:92vh}.tkw-dialog-shell{padding:25px}.tkw-dialog h2{padding-right:45px}.modal-subtitle{margin:6px 0 14px;color:#667085;font-size:14px}.tkw-editor-tabbar{margin-top:18px}.editor-grid{display:grid;grid-template-columns:1fr 310px;gap:24px;margin-top:20px}.editor-main{min-width:0}.editor-side{background:#f5f7fb;border:1px solid #dce3ed;border-radius:10px;padding:18px;align-self:start}.editor-side img{width:100%;height:195px;object-fit:contain;background:white;border-radius:8px}.field{display:block;margin-bottom:15px;font-size:14px;font-weight:600}.field>span{display:block;margin-bottom:6px}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #bcc9da;border-radius:7px;padding:10px 12px;background:white;color:#203047;font-weight:400}.field textarea{min-height:90px;resize:vertical}.field small{display:block;color:#667085;font-size:12px;font-weight:400;margin-top:5px}.field input:invalid{border-color:#ba5d46}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23566b86' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;padding-right:30px!important}.editor-footer{position:sticky;bottom:-25px;background:#fff;padding:16px 0 0;margin-top:20px;border-top:1px solid #dae2ed;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;z-index:3}.editor-footer .row{gap:8px}.info-note{padding:10px 13px;background:#f1f5fa;border-left:3px solid #7798bc;color:#52657c;font-size:13px;border-radius:5px;margin:12px 0}.money-card{padding:16px;background:#10264c;border-radius:10px;color:white;margin-top:16px}.money-card strong{font-size:28px;color:#ffe800;display:block}.money-card span{font-size:13px;color:#cad8e8}.thumb-row{display:flex;gap:10px;flex-wrap:wrap}.thumb-choice{width:115px;border:2px solid #dce3ed;padding:5px;border-radius:8px;background:white}.thumb-choice.active{border-color:#10264c;background:#eef3fa}.thumb-choice img{height:85px;width:100%;object-fit:contain}.thumb-choice span{font-size:12px}.option-table input{max-width:130px;border:1px solid #c6d0dd;border-radius:5px;padding:7px;width:100%;font-size:13px}.option-table .name-input{min-width:170px;max-width:260px}.detail-rows{display:grid;gap:8px}.detail-row{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #dce3ed;border-radius:9px}.detail-row img{width:65px;height:65px;object-fit:contain}.detail-row .row{margin-left:auto}.order-btn{background:#fff;border:1px solid #c2cfde;border-radius:6px;width:32px;height:32px;color:#253f63;font-size:17px}.detail-preview{max-width:560px;margin:20px auto;background:#fff;border:1px solid #dce3ed;padding:24px;text-align:center}.detail-preview img{display:block;width:100%;height:auto}.detail-preview h3{font-size:22px}.detail-preview p{white-space:pre-wrap}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-grid .panel{margin:0}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan{padding:25px;border:1px solid #ccd7e5;border-radius:12px;background:white}.plan.active{border:2px solid #10264c}.plan h3{font-size:22px;margin:10px 0}.plan ul{padding-left:20px;min-height:120px;font-size:14px;line-height:2}.plan button{width:100%}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .panel{margin:0}.lightbox{max-width:100%;max-height:65vh;object-fit:contain;margin:auto;display:block}.warning-list{padding-left:20px;font-size:14px;line-height:1.9}.loading{padding:60px;text-align:center}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(600px,92vw);padding:13px 22px;border-radius:9px;background:#10264c;color:white;box-shadow:0 10px 35px #10264c33;z-index:100;font-size:14px}.tkw-dialog-close{z-index:10}.mobile-menu{display:none}button[aria-pressed=true]{outline-offset:2px}a:focus-visible{outline:3px solid #3c87d8}.price-display{font-size:14px;color:#285896}.feature-hint{padding:8px 10px;border-radius:6px;background:#fff8df;color:#806100;font-size:13px}.source-right .tkw-button-gold{font-size:14px}
@media(min-width:1440px){.photo img{height:210px}}@media(max-width:1000px){.tkw-sidebar{flex-wrap:wrap;gap:4px}.tkw-main-nav{width:100%;flex-basis:100%}.tkw-sidebar .tkw-brand>div>span{display:block}.source-studio{grid-template-columns:260px 1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:1fr 250px}.preview-banner{padding:8px 20px}.preview-banner span{display:block}.tkw-workspace{padding:22px 20px}}@media(max-width:720px){.tkw-main-nav{overflow-x:auto}.tkw-main-nav-end{margin-left:12px}.tkw-sidebar{position:relative}.tkw-workspace{padding:20px 12px}.preview-banner{align-items:start;padding:10px 12px;font-size:12px}.page-head{align-items:start}.page-head h1{font-size:25px}.page-head .row{display:none}.source-studio,.editor-grid,.account-grid,.settings-grid,.plans{grid-template-columns:1fr}.source-preview{position:static}.source-preview .product-cover{height:200px;aspect-ratio:auto}.photo-grid{grid-template-columns:repeat(2,1fr)}.photo img{height:150px}.import-row{grid-template-columns:1fr}.import-row textarea{min-height:70px}.panel{padding:16px}.toolbar{flex-wrap:wrap}.search{width:100%}.selection-tray{flex-wrap:wrap}.tkw-dialog{width:calc(100vw - 16px);max-height:96vh}.tkw-dialog-shell{padding:18px}.tkw-editor-tabbar{margin:12px -18px 0;padding:8px 10px}.tkw-editor-tabs{gap:4px}.tkw-editor-tab{font-size:12px;padding:9px 6px;gap:5px;min-height:46px}.tkw-editor-tab-number{display:none}.tkw-editor-tab-label{white-space:normal}.editor-side{order:-1}.editor-side img{height:100px}.field-grid{grid-template-columns:1fr}.editor-footer{bottom:-18px}.site-footer{flex-direction:column;gap:5px;padding:16px}.queue-summary{gap:5px}.queue-summary>div{padding:8px}.queue-summary strong{font-size:23px}.queue-summary span{font-size:12px}.photo-footer{font-size:12px}.tkw-dialog h2{font-size:21px}}

/* Keep controls visible in long option editors. */
.tkw-brand .tkw-brand-mark{display:grid;place-items:center;font-size:21px;margin-top:0;flex-shrink:0}.editor-footer{bottom:0;padding:14px 0;background:#fff;box-shadow:0 -8px 16px #ffffffeb}#toast{pointer-events:none}

@media(max-width:720px){.tkw-main-nav{scrollbar-width:none}.tkw-main-nav::-webkit-scrollbar{display:none}}

.live-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:20px 0}.live-stats>div{padding:15px;background:#f3f6fa;border-radius:8px}.live-stats span{display:block;font-size:14px;color:#667085}.live-stats strong{font-size:27px;color:#10264c}.live-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:15px 0}.live-image{border:1px solid #d9e1ea;border-radius:10px;overflow:hidden}.live-image>div:last-child{padding:12px}.live-image-body{height:200px;display:grid;place-items:center;background:#f6f8fb;color:#7a8798}.live-image-body img{width:100%;height:200px;object-fit:contain}.live-image a{font-size:14px;color:#245b9e}.live-details{padding:15px 0}.live-details summary{cursor:pointer;font-weight:700;margin-bottom:15px}#live-limit{border:1px solid #cbd5e1;border-radius:6px;padding:8px 32px 8px 10px}#live-input{min-height:100px}.tkw-main-nav button{white-space:nowrap}@media(max-width:980px){.tkw-main-nav{gap:8px}.tkw-brand{min-width:175px}.live-images{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.live-stats{grid-template-columns:repeat(2,1fr)}.live-images{grid-template-columns:1fr}.live-image-body,.live-image-body img{height:260px}}

.post-check{display:flex;align-items:center;gap:9px;padding:14px;cursor:pointer;font-weight:700}.post-images .post-selected{outline:2px solid var(--gold,#dfb347)}.post-images .live-image-body img{object-fit:contain;background:#f5f6f7}.post-images .live-image-body{min-height:180px}#post-new-fields[hidden]{display:none}#post-target{width:100%}#post-input{min-height:98px}

.catalog-results {border-top:1px solid #dce3ec; margin-top:18px; padding-top:16px}
.catalog-results h4 {margin:16px 0 6px; font-size:15px; color:#384c68}
.catalog-list {display:grid; gap:8px; padding:0; list-style:none}
.catalog-list li {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:13px; border:1px solid #dce3ec; border-radius:8px}
.catalog-list li>div {flex:1 1 220px; min-width:0; overflow-wrap:anywhere}
.catalog-list strong,.catalog-list span {display:block}
.catalog-list span {margin-top:3px; color:#576477; font-size:14px}
.catalog-link,.catalog-examples summary {color:#285896; font-size:14px; cursor:pointer}
.catalog-examples {margin-top:14px}.catalog-examples .row {margin-top:8px}
#numeric-catalog[hidden] {display:none}

.draft-candidates {display:grid;gap:8px;margin:18px 0}
.draft-candidates article {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #dce2e7}
.draft-candidates .product-cell {min-width:0}
.draft-candidates button {flex-shrink:0}
.draft-available {margin-top:20px;border-top:1px solid #dce2e7;padding:14px 0}
.draft-available summary {font-weight:650;cursor:pointer;margin-bottom:10px}
