.design-source-dock{display:none}
@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"]{
 .placement-studio{grid-template-columns:320px 44px minmax(0,1fr) 380px!important}
 .placement-order-strip{background:#f0f5f8!important;border:0!important;border-bottom:1px solid #dce6ed!important;box-shadow:none!important}
 .placement-order-strip .pc-editor-signature{background:transparent!important}.placement-order-strip .pc-editor-signature>span{color:#6b8293!important}
 .placement-order-strip .placement-order-row,.placement-order-strip .placement-order-row.active{background:#ffffffb3!important;border:1px solid #c9c9c9!important;border-radius:5px!important;box-shadow:none!important;outline:none!important}
 .placement-order-strip .placement-order-row [data-activate-order]{background:transparent!important}.placement-order-strip .placement-order-remove,.placement-order-strip .paint-editor-close{background:transparent!important;color:#6a8293!important}
 .placement-order-strip{gap:18px!important}.placement-order-strip>.paint-product-tabs{height:34px!important;min-height:34px!important;gap:10px!important;align-items:center!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row,.placement-order-strip .paint-product-tabs>.placement-order-row.active{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:340px!important;height:30px!important;min-height:30px!important;background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;outline:0!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row.active{border-bottom-color:#74939f!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row:not(.unused),.placement-order-strip .paint-product-tabs>.placement-order-row.active:not(.unused){background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;box-shadow:none!important;min-width:0!important;height:30px!important}.placement-order-strip .paint-product-tabs>.placement-order-row.active:not(.unused){border-bottom-color:#74939f!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row>button{height:28px!important;min-height:28px!important;background:transparent!important;border:0!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row>button:first-child{display:flex!important;align-items:center!important;gap:8px!important;padding:2px 7px!important;min-width:0!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row>button:first-child>span{display:none!important}
 .placement-order-strip .paint-product-tabs .placement-order-row b{font-size:12px!important;font-weight:600!important}.placement-order-strip .paint-product-tabs .placement-order-row small{font-size:11px!important;color:#73838b!important}.placement-order-strip .paint-product-tabs .placement-order-remove{width:24px!important;min-width:24px!important;font-size:13px!important;opacity:.65}
 .placement-order-strip{column-gap:0!important}.placement-order-strip>.pc-editor-signature{flex:0 0 304px!important;width:304px!important;margin:0!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row:not(.unused),.placement-order-strip .paint-product-tabs>.placement-order-row.active:not(.unused){width:max-content!important;max-width:340px!important;border-bottom-width:1px!important}
 .placement-order-strip .paint-product-tabs .placement-order-row>button:first-child:not(.unused){flex:0 1 auto!important;width:auto!important;padding:2px 6px!important;gap:7px!important;height:28px!important;min-height:28px!important}
 .placement-order-strip .paint-product-tabs .placement-order-remove{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:28px!important;padding:0!important;margin:0!important;opacity:1!important;color:#435c6c!important;font-size:16px!important;line-height:1!important}
 .placement-order-strip .paint-product-tabs>.placement-order-row:not(.unused),.placement-order-strip .paint-product-tabs>.placement-order-row.active:not(.unused){height:28px!important;min-height:28px!important;background:#586f7d!important;border:0!important;border-radius:4px!important;overflow:hidden!important}
 .placement-order-strip .paint-product-tabs .placement-order-row :is(b,small,span):not(.unused){color:#fff!important}.placement-order-strip .paint-product-tabs .placement-order-row small:not(.unused){color:#edf0f2!important}
 .placement-order-strip .paint-product-tabs .placement-order-remove{color:#fff!important}.placement-order-strip .paint-product-tabs .placement-order-row>button:first-child:not(.unused){padding:2px 8px!important}
 .design-search-tool{display:none!important}
 .paint-inspector .placement-media-tools :is(.placement-upload-button,[data-placement-pen-toggle],[data-placement-text-toggle],.paint-shape-tab){background:#fff!important;border:1px solid #b3c7d2!important;border-radius:7px!important;box-shadow:0 2px 3px #17365308!important;cursor:pointer!important;color:#21465c!important;transition:background-color .18s,border-color .18s,box-shadow .18s}
 .paint-inspector .placement-media-tools :is(.placement-upload-button,[data-placement-pen-toggle],[data-placement-text-toggle],.paint-shape-tab):hover{background:#edfafd!important;border-color:#009fbd!important;box-shadow:0 2px 6px #009fbd1c!important}
 .paint-inspector .placement-media-tools :is([aria-pressed=true],.placement-upload-button:focus-within){background:#e7f6fa!important;border-color:#009fbd!important;color:#007e9c!important}
 .paint-inspector .placement-media-tools :is(small,.placement-upload-button>span){font-size:12px!important;font-weight:400!important;white-space:nowrap}
 .design-source-dock{grid-area:1/1;position:relative;display:flex!important;flex-direction:column;width:100%!important;height:100%!important;max-width:none;max-height:none;min-height:0;margin:0;padding:0;border:0;border-right:1px solid #dce6ec;border-radius:0;box-shadow:none;background:#fff;overflow:hidden}
 .paint-utilities{grid-area:1/2!important}.direct-placement-preview{grid-area:1/3!important;min-width:0!important}.paint-inspector{grid-area:1/4!important;padding:18px 16px 0!important}
 .paint-utilities{padding:12px 4px!important;gap:8px!important;border:0!important;background:transparent!important}.paint-utilities button,.paint-utilities .placement-history-tools>.placement-compact-tool,.paint-utilities .pc-center-align{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:0!important;max-width:100%!important;height:36px!important;min-height:36px!important;padding:7px!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;font-size:0!important}
 .paint-utilities button :is(small,span){display:none!important}.paint-utilities button svg{width:22px!important;height:22px!important;flex:none!important}.paint-utilities button:not(:disabled):hover{background:#edf5f8!important}.paint-utilities button:focus-visible{outline:2px solid #009fbd!important;outline-offset:1px}.paint-utilities .placement-history-tools{gap:8px!important}
 .paint-utilities{background:#fff!important}.paint-utilities .pc-center-align :is(small,span){display:none!important}
 .direct-placement-preview .supplied-shirt-map .placement-product-photo,.direct-placement-preview .supplied-shirt-map:hover .placement-product-photo{filter:none!important;transition:none!important}
 .placement-canvas-shell{width:min(100%,calc(100dvh - 120px))!important;height:auto!important;margin:auto!important;max-width:100%!important;aspect-ratio:1000/991!important}
 .design-source-dock header{flex:none;padding:20px 18px 12px!important;margin:0}.design-source-dock h2{margin:0!important;font-size:18px!important;letter-spacing:-.03em}
 .design-source-dock header{display:flex!important;align-items:center;justify-content:space-between;gap:10px}.design-library-total{text-align:right;flex:none;line-height:1.3}.design-library-total strong{display:block;color:#008eac;font-size:25px;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.design-library-total span{display:block;margin-top:3px;color:#6a8290;font-size:10px;white-space:nowrap}
 .design-source-dock .design-search-filters{flex:none;display:flex;flex-direction:column-reverse;align-items:stretch;gap:14px;padding:0 18px 14px;border-bottom:1px solid #e5edf1}
 .design-source-dock .design-search-filters input{flex:none;width:100%;height:40px;padding:0 12px 0 36px;background-color:#fff;border:1px solid #b6c6d0;border-radius:6px;color:#173653;box-shadow:inset 0 1px 2px #17365306;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23627e90' stroke-width='1.7'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center}
 .design-source-dock .design-search-filters input::placeholder{color:#748b99;opacity:1}.design-source-dock .design-search-filters input:focus{outline:2px solid #009fbd26;outline-offset:1px;border-color:#009fbd}
 .design-source-dock .design-source-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .design-source-dock .design-source-categories button{padding:6px 2px;border:1px solid transparent;border-radius:5px;background:#f5f7f9;color:#637e8e;font-size:11px;line-height:1.5;white-space:nowrap}
 .design-source-dock .design-source-categories button[aria-pressed=true]{background:#eaf7fb;border-color:#8fc9da;color:#007f9f}
 .design-source-dock h2{font-size:20px!important;line-height:30px!important}.design-library-total{display:flex;align-items:center;gap:7px;text-align:left}.design-library-total strong{font-size:29px;line-height:30px}.design-library-total>.design-library-copy{display:flex;flex-direction:column;gap:2px;justify-content:center}.design-library-total span{margin:0;font-size:10px;text-align:left;line-height:12px}.design-library-total small{display:block;margin:0;color:#138ba8;font-size:10px;line-height:12px;white-space:nowrap;animation:source-update-pulse 3.6s ease-in-out infinite}.design-library-total small::before{content:'';display:inline-block;width:5px;height:5px;margin-right:4px;border-radius:50%;background:currentColor;vertical-align:1px}
 .design-source-dock header{display:grid!important;grid-template-columns:1fr auto;column-gap:12px;row-gap:7px;align-items:center;padding:18px 18px 14px!important}.design-source-dock header>div:first-child{grid-column:1;grid-row:1}.design-library-total{display:contents}.design-library-total strong{grid-column:2;grid-row:1;font-size:24px;line-height:28px;text-align:right}.design-library-total strong::after{content:'개';font-size:12px;font-weight:500;margin-left:3px;color:#6a8290}.design-library-total>.design-library-copy{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.design-library-total span{font-size:12px;line-height:18px;color:#69808e}.design-library-total small{font-size:11px;line-height:18px;color:#228e9f}
 .design-source-dock header{padding:20px 18px 16px!important;row-gap:12px}.design-source-dock header>div:first-child{grid-column:1;grid-row:1}.design-source-dock h2{font-size:21px!important;line-height:28px!important}.design-library-total strong{grid-column:1;grid-row:2;justify-self:start;font-size:28px;line-height:30px;text-align:left}.design-library-total strong::after{content:'개의';font-size:13px;margin-left:4px;color:#527180}.design-library-total>.design-library-copy{display:contents}.design-library-total span{grid-column:1/-1;grid-row:2;justify-self:start;margin-left:76px;font-size:13px;line-height:30px;color:#527180}.design-library-total small{grid-column:2;grid-row:1;font-size:10px;line-height:20px;color:#208b9d;justify-self:end}.design-library-total strong{display:flex;align-items:baseline}
 .design-library-total{display:flex;grid-column:1/-1;grid-row:2;gap:7px;align-items:baseline}.design-library-total strong{display:block;flex:none}.design-library-total span{margin:0;line-height:20px}.design-source-dock header>small{grid-column:2;grid-row:1;justify-self:end;font-size:10px;color:#208b9d;line-height:20px;animation:source-update-pulse 3.6s ease-in-out infinite}.design-source-dock header>small::before{content:'';display:inline-block;width:5px;height:5px;margin-right:4px;background:currentColor;border-radius:50%;vertical-align:1px}
 .design-source-dock header{row-gap:5px}.design-library-total{gap:5px}.design-library-total strong{font-size:17px;line-height:22px;font-weight:700;color:#315b70}.design-library-total strong::after{content:'개';font-size:12px;margin-left:2px;color:#6a8290}.design-library-total span{font-size:12px;line-height:22px;color:#6a8290}
 .design-source-dock header{row-gap:1px;align-items:start}.design-source-dock header>div:first-child{grid-column:1;grid-row:1/3;align-self:start}.design-library-total{grid-column:2;grid-row:1;justify-self:end;align-items:baseline;gap:4px;min-height:28px}.design-library-total span{font-size:11px;line-height:28px}.design-library-total strong{font-size:16px;line-height:28px}.design-source-dock header>small{grid-column:2;grid-row:2;justify-self:end;font-size:10px;line-height:15px;margin:0}
 .design-source-dock>.design-search-count{flex:none;margin:0;padding:12px 18px 8px;font-size:11px}
 .design-source-dock .design-search-body{min-height:0;flex:1;overflow:hidden}
 .design-source-dock .design-search-body>section{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:4px 14px 18px;scrollbar-width:thin;scrollbar-color:#17365326 transparent}
 .design-source-dock .design-search-body>section::-webkit-scrollbar{width:4px;background:transparent}
 .design-source-dock .design-search-body>section::-webkit-scrollbar-track{background:transparent}
 .design-source-dock .design-search-body>section::-webkit-scrollbar-thumb{background:#17365326;border-radius:8px}
 .design-source-dock .design-search-body>section::-webkit-scrollbar-thumb:hover{background:#17365340}
 .design-source-dock .design-search-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .design-source-dock .design-search-card{display:block;width:100%;min-width:0;padding:5px;border:1px solid #e0e8ee;border-radius:7px;text-align:left;background:white;color:#173653;cursor:pointer}
 .design-source-dock .design-search-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#f6f8f9}
 .design-source-dock .design-search-card strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 2px;font-size:10px;line-height:1.5}
 .design-source-dock>footer{display:none}
 .design-source-more{width:100%;margin:16px 0 0;padding:10px;border:1px solid #cddde6;border-radius:6px;background:white;color:#31586e;cursor:pointer}
 .tiverse-editor-intro{margin:24px 0 0;padding:24px 18px;color:#658192;background:#f7fafc;border-radius:10px}
 .tiverse-editor-intro[hidden]{display:none}.tiverse-editor-intro small{font-size:10px;letter-spacing:.12em;color:#8ba0ac}
 .tiverse-editor-intro h3{font-size:16px;line-height:1.4;letter-spacing:-.04em;margin:8px 0 10px;color:#315267}.tiverse-editor-intro h3 br{display:none}.tiverse-editor-intro p{font-size:11px;line-height:1.4;margin:0 0 5px;color:#718896}.tiverse-editor-intro p:last-child{margin-bottom:0}.tiverse-editor-intro p b{font-size:12px;font-weight:600;color:#36586a}
 &.source-editor-idle .paint-inspector :is(.paint-text-section,.paint-pen-section,.paint-shapes,.clipart-colors,.placement-pen-widths,.paint-ribbon-colors,.paint-text-effects,.paint-font-group,.design-search-layer-colors){display:none!important}
 &.source-library-selected .paint-inspector :is(.paint-text-section,.paint-ribbon-colors,.paint-text-effects,.paint-font-group){display:none!important}
 &.source-editor-idle .paint-inspector .placement-media-tools [data-placement-text-toggle].paint-tool-active{background:#fff!important;border-color:#b3c7d2!important;color:#21465c!important}
 &.source-editor-idle .paint-inspector .placement-media-tools [data-placement-text-toggle].paint-tool-active:hover{background:#edfafd!important;border-color:#009fbd!important}
}}
@media(min-width:1500px){html#tiverse-paint body[data-quote-step="3"] .placement-studio{grid-template-columns:360px 44px minmax(0,1fr) 400px!important}}
@media(min-width:1500px){html#tiverse-paint body[data-quote-step="3"] .placement-order-strip>.pc-editor-signature{flex-basis:344px!important;width:344px!important}}
@media(min-width:801px) and (max-width:1150px){html#tiverse-paint body[data-quote-step="3"] .placement-studio{grid-template-columns:260px 44px minmax(0,1fr) 310px!important}}
@media(min-width:801px) and (max-width:1150px){html#tiverse-paint body[data-quote-step="3"] .placement-order-strip>.pc-editor-signature{flex-basis:244px!important;width:244px!important}}
.design-source-preview-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;margin:auto;padding:20px;border:0;border-radius:12px;background:white;color:#173653;overflow:auto;box-shadow:0 20px 60px #17365333}
.design-source-preview-dialog::backdrop{background:#15324e88}.design-source-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.design-source-preview-dialog h2{min-width:0;margin:0;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-source-preview-dialog header button{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:#eff4f7;font-size:22px;color:#547387;cursor:pointer}
.design-source-preview-dialog>img{display:block;width:100%;height:min(62dvh,500px);object-fit:contain;background:#f5f7f8;border-radius:8px;margin:16px 0}.design-source-preview-dialog>p{font-size:13px;color:#b95a4c;margin:0}
.design-source-preview-dialog footer{text-align:right;margin-top:16px}.design-source-preview-dialog [data-preview-apply]{padding:12px 22px;border:0;border-radius:6px;background:#009fbd;color:white;font-size:14px;font-weight:600;cursor:pointer}.design-source-preview-dialog [data-preview-apply]:disabled{opacity:.5}
@keyframes source-update-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.design-library-total small,.design-source-dock header>small{animation:none}}

/* Match the two PC panel title baselines. */
@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"] .paint-inspector>h2{margin-top:2px!important;line-height:28px!important;min-height:28px!important}}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"]{
 .paint-inspector .editor-another-product{top:28px!important;line-height:20px!important}
 .design-source-dock header{grid-template-columns:1fr auto!important;align-items:start!important;row-gap:4px!important}
 .design-source-dock header>div:first-child{grid-column:1!important;grid-row:1!important}
 .design-library-total{grid-column:1/-1!important;grid-row:2!important;justify-self:start!important;color:#54798c!important;gap:6px!important;flex-direction:row-reverse!important;justify-content:flex-end!important}
 .design-library-total strong,.design-library-total span,.design-library-total strong::after{color:#54798c!important;font-size:12px!important;font-weight:500!important;line-height:22px!important}
 .source-library-expand{grid-column:2;grid-row:1;align-self:center;background:none;border:0;padding:4px 0;color:#577d91;font:11px 'Noto Sans KR',sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
 .design-source-categories button{color:#384f60!important;font-weight:600!important}
 .paint-canvas-status{left:6px!important}
}}
.source-library-popup{width:min(1120px,92vw);height:min(850px,90dvh);max-height:90dvh;padding:0;border:0;border-radius:12px;background:#fff;color:#173653;overflow:hidden;box-shadow:0 20px 90px #10253255}.source-library-popup::backdrop{background:#10253288}.source-library-close{position:absolute;right:14px;top:10px;z-index:4;width:32px;height:32px;border:0;border-radius:50%;background:#eef4f7;color:#466579;font-size:24px;cursor:pointer}
html#tiverse-paint body[data-quote-step="3"] .source-library-popup>.design-source-dock{display:flex!important;position:static!important;width:100%!important;height:100%!important;max-width:none!important;border:0!important;box-sizing:border-box!important}.source-library-popup .design-source-dock header{padding-right:62px!important}.source-library-popup .source-library-expand{display:none}.source-library-popup .design-search-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"] .design-library-total{flex-direction:row!important;justify-content:flex-start!important}}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"]{
 .paint-inspector .editor-another-product{top:20px!important;height:28px!important;line-height:28px!important;padding:0!important}
 .design-source-dock header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding-bottom:18px!important}
 .design-source-dock .design-library-total,.design-source-dock .design-source-categories{display:none!important}
 .design-source-dock .design-search-filters{display:flex!important;flex-direction:row!important;gap:12px!important;padding:0 18px 14px!important;align-items:center!important}
 .design-category-bar{display:block!important;flex:1!important;width:auto!important;min-width:0;height:38px!important;box-sizing:border-box;border:1px solid #cbdbe5;border-radius:6px;background:#f7fafc;color:#304f64;font:600 13px 'Noto Sans KR',sans-serif;padding:0 12px;cursor:pointer}
 .design-search-filters>.source-library-expand{flex:0 0 78px;align-self:center;height:38px;box-sizing:border-box;white-space:nowrap;text-align:center;font-size:11px;font-weight:500;padding:0 10px;border:1px solid #b9cdd8;border-radius:6px;background:#edf6fa;color:#2c647e;text-decoration:none;cursor:pointer}
 .design-search-filters>.source-library-expand:hover{background:#e1f1f7;border-color:#7caec2;color:#17566f}
 .design-search-filters>.source-library-expand:focus-visible{outline:2px solid #7caec2;outline-offset:2px}
 .design-source-dock .design-search-filters>input{display:none!important}
 .source-library-popup .design-search-filters>.design-category-bar{flex:1!important;width:auto!important}
 .source-library-popup .design-search-filters>input{display:block!important;flex:0 0 210px!important;width:210px!important;min-width:0;height:38px!important;box-sizing:border-box;padding:0 12px;border:1px solid #cbdbe5;border-radius:6px;background:#fff;font:12px 'Noto Sans KR',sans-serif}
}}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"]{
 .design-source-dock .design-search-filters{padding-left:14px!important;padding-right:14px!important}
 .design-source-dock>.design-search-count{padding-left:14px!important;padding-right:14px!important}
 .design-source-dock .design-search-body>section{scrollbar-width:none!important;padding-left:14px!important;padding-right:14px!important}
 .design-source-dock .design-search-body>section::-webkit-scrollbar{display:none!important;width:0!important}
 .source-library-popup .design-search-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;align-items:start!important}
 .source-library-popup .design-search-filters>.design-category-bar{display:none!important}
 .source-library-popup .design-search-filters>.design-source-categories{display:flex!important;flex-wrap:wrap!important;gap:5px 16px!important;min-width:0;width:100%;max-height:none;overflow:visible}
 .source-library-popup .design-source-categories button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;padding:8px 0!important;font-size:12px!important;color:#526b7b!important;min-height:34px!important}
 .source-library-popup .design-source-categories button[aria-pressed=true]{border-bottom-color:#009fc5!important;color:#007d9f!important;font-weight:700!important;background:none!important}
 .source-library-popup .design-search-filters>input{width:190px!important;max-width:100%;height:34px!important}
}}
.design-source-preview-dialog{position:fixed;padding-left:54px!important;padding-right:54px!important}
.source-preview-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:48px;padding:0;border:1px solid #d9e4ea;border-radius:8px;background:#ffffffed;color:#31566c;font:34px/1 sans-serif;cursor:pointer;z-index:2}.source-preview-arrow.previous{left:9px}.source-preview-arrow.next{right:9px}.source-preview-arrow:hover{background:#eaf6fb;border-color:#8bbfce}

.design-source-preview-dialog>img{background:transparent!important}
.design-source-preview-dialog .source-preview-arrow,.design-source-preview-dialog .source-preview-arrow:hover,.design-source-preview-dialog .source-preview-arrow:active,.design-source-preview-dialog .source-preview-arrow:focus{top:calc(50% - 24px)!important;transform:none!important;translate:none!important;scale:none!important;animation:none!important;box-shadow:none!important;border:0!important;border-radius:50%!important;width:36px!important;height:48px!important;padding:8px!important;transition:background-color .15s,color .15s!important;background:transparent!important;color:#627d8e!important}
.design-source-preview-dialog .source-preview-arrow:hover{background:#eaf5f9!important;color:#008cad!important}
.source-preview-arrow svg{display:block;width:20px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"]{
 .design-source-dock .design-search-card strong{text-align:center!important}
 .design-source-dock .design-search-body{position:relative!important}
 .design-source-dock .design-search-body>section{padding-bottom:42px!important}
 .design-source-scroll-hint{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:flex-end;justify-content:center;height:42px;box-sizing:border-box;padding:0 8px 6px;background:linear-gradient(transparent,#fffffff2 45%,#fff);color:#6c8797;font-size:11px;line-height:18px;pointer-events:none;z-index:2}
 .design-source-scroll-hint[hidden]{display:none!important}
}}

.design-source-preview-dialog .source-preview-arrow,.design-source-preview-dialog .source-preview-arrow:hover,.design-source-preview-dialog .source-preview-arrow:active,.design-source-preview-dialog .source-preview-arrow:focus{width:36px!important;height:36px!important;top:calc(50% - 18px)!important;border-radius:50%!important;padding:8px!important;border:1px solid #dce7ed!important;background:#fff!important;box-sizing:border-box!important}.design-source-preview-dialog .source-preview-arrow:hover{background:#eaf5f9!important;border-color:#a8cedc!important}.source-preview-arrow svg{width:18px!important;height:18px!important}
@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"] .design-source-scroll-hint{align-items:center!important;justify-content:center!important;gap:5px!important;padding:10px 8px 0!important} .design-source-scroll-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}}

.design-source-preview-dialog header{display:flex;align-items:center;gap:10px}
.design-source-preview-dialog header h2{flex:1;min-width:0}
.design-source-preview-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.design-source-preview-dialog .design-source-favorite{flex:none;width:44px;height:44px;padding:0;border:1px solid #009fbd;border-radius:6px;background:#fff;color:#009fbd;font:30px/1 sans-serif;cursor:pointer}
.design-source-preview-dialog .design-source-favorite[aria-pressed=true]{background:#e9f8fb;color:#009fbd}
.design-source-preview-dialog .design-source-favorite:hover{background:#e9f8fb}
.design-search-card.is-saved{border:1px solid #009fbd!important;box-shadow:none!important}
/* PC preview: balanced header, artwork navigation and centered actions. */
@media(min-width:801px){
 .design-source-preview-dialog[open]{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px;grid-template-rows:40px min(52dvh,420px) 22px 48px;column-gap:12px;row-gap:12px;width:min(720px,calc(100vw - 48px));max-height:calc(100dvh - 40px);padding:20px 24px 24px!important;overflow:hidden}
 .design-source-preview-dialog>header{grid-column:1/-1;grid-row:1;min-width:0;padding:0 4px}
 .design-source-preview-dialog>header h2{font-size:17px;line-height:26px;font-weight:600}
 .design-source-preview-dialog>img{grid-column:2;grid-row:2;width:100%;height:100%;min-height:0;margin:0;border-radius:0;object-fit:contain}
 .design-source-preview-dialog>p{grid-column:1/-1;grid-row:3;margin:0;text-align:center;font-size:12px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .design-source-preview-dialog>footer{grid-column:1/-1;grid-row:4;margin:0;display:flex;align-items:center;justify-content:center;gap:10px}
 .design-source-preview-dialog [data-preview-apply]{height:44px;box-sizing:border-box;padding:0 26px;font-size:14px;font-weight:500}
 .design-source-preview-dialog .design-source-favorite{height:44px;width:44px;font-size:28px}
 .design-source-preview-dialog .source-preview-arrow,.design-source-preview-dialog .source-preview-arrow:hover,.design-source-preview-dialog .source-preview-arrow:active,.design-source-preview-dialog .source-preview-arrow:focus{position:static!important;grid-row:2;align-self:center;justify-self:center;top:auto!important;left:auto!important;right:auto!important;transform:none!important}
 .design-source-preview-dialog .source-preview-arrow.previous{grid-column:1}
 .design-source-preview-dialog .source-preview-arrow.next{grid-column:3}
}

.design-source-preview-dialog>header button{width:40px!important;height:40px!important;padding:6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#547387;cursor:pointer}
.design-source-preview-dialog>header button svg{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
.design-source-preview-dialog>header button:focus:not(:focus-visible){outline:none!important}
.design-source-preview-dialog>footer .design-source-favorite,.design-source-preview-dialog>footer .design-source-favorite:hover,.design-source-preview-dialog>footer .design-source-favorite[aria-pressed=true]{border:0!important;background:transparent!important;box-shadow:none!important;color:#009fbd;padding:8px!important}
.design-source-favorite svg{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.design-source-favorite[aria-pressed=true] svg{fill:currentColor}
.design-source-favorite:hover svg{stroke:#007f98}

.design-source-preview-dialog>footer .design-source-favorite,.design-source-preview-dialog>footer .design-source-favorite:hover,.design-source-preview-dialog>footer .design-source-favorite[aria-pressed=true]{width:auto!important;min-width:118px;height:44px!important;box-sizing:border-box;padding:0 22px!important;border:1px solid #009fbd!important;border-radius:6px!important;background:#fff!important;color:#009fbd!important;font:500 14px/1 'Noto Sans KR',sans-serif!important;white-space:nowrap}
.design-source-preview-dialog>footer .design-source-favorite:hover,.design-source-preview-dialog>footer .design-source-favorite[aria-pressed=true]{background:#e9f8fb!important}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-body>section{padding-bottom:18px!important}}

.source-entry-choice{width:420px;max-width:calc(100vw - 40px);padding:28px;border:0;border-radius:12px;color:#213b4b}.source-entry-choice::backdrop{background:#15324e88}.source-entry-choice h2{font-size:20px;margin:0 0 12px}.source-entry-choice p{font-size:13px;line-height:1.8;color:#71808b}.source-entry-choice button{display:block;width:100%;padding:14px;margin-top:12px;border:1px solid #009fbd;border-radius:6px;background:#fff;color:#008fa8;font:500 14px sans-serif;cursor:pointer}.source-entry-choice [data-source-existing]{background:#009fbd;color:#fff}

.source-entry-choice{position:fixed;inset:0;margin:auto;background:#fff;box-shadow:0 18px 60px #17365333;font-family:"Noto Sans KR",sans-serif}.source-entry-choice h2{font-size:19px;font-weight:600;line-height:1.5;padding-right:24px}.source-entry-choice p{margin:12px 0 24px}.source-entry-choice .source-entry-close{position:absolute;right:12px;top:10px;width:32px;height:32px;padding:0;margin:0;border:0;background:transparent;color:#71808b;font:300 26px sans-serif}

@media(min-width:801px){html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-card strong{display:none!important}html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-card,html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-card:hover{background:#fff!important;border:1px solid #dce5ea!important;box-shadow:none!important}html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-card.is-saved{border-color:#009fbd!important}html#tiverse-paint body[data-quote-step="3"] .design-source-dock .design-search-card img{background:#fff!important}}

/* Source popup pages: fixed below the thumbnail scroller. */
.design-source-pagination[hidden]{display:none!important}.design-source-pagination{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 14px;border-top:1px solid #e5edf1;background:#fff;box-sizing:border-box;flex-wrap:wrap}
.design-source-pagination button{min-width:32px;height:32px;padding:0 8px;border:1px solid transparent;border-radius:5px;background:#fff;color:#526b7b;font:inherit;font-size:12px;line-height:1;cursor:pointer}.design-source-pagination button:hover{background:#f0f7fa}.design-source-pagination button[aria-current=page]{background:#e8f6fb;border-color:#a9dce9;color:#007d9f;font-weight:700}.design-source-pagination button:disabled{opacity:.35;cursor:default}.design-source-pagination small{margin-left:8px;font-size:11px;color:#78909f}
html[data-view-mode=phone] .design-source-pagination{gap:2px;padding:8px 6px}html[data-view-mode=phone] .design-source-pagination button{min-width:27px;height:32px;padding:0 5px}html[data-view-mode=phone] .design-source-pagination small{width:100%;text-align:center;margin:2px 0 0}

/* Compact saved sources shelf stays outside the thumbnail scroller. */
.source-saved-shelf{position:relative;flex:0 0 auto;margin:0 14px 6px;border:1px solid #dfebef;border-radius:6px;background:#f7fbfc}.source-saved-toggle{display:block;width:100%;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#31586e;font:inherit;font-size:12px;text-align:left;cursor:pointer}
.source-saved-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px}.source-saved-items[hidden]{display:none!important}.source-saved-item{position:relative;min-width:0}.source-saved-preview{display:block;width:100%;padding:5px;border:1px solid #d8e6eb;border-radius:5px;background:#fff;cursor:pointer}.source-saved-preview img{display:block;width:100%;height:60px;object-fit:contain}.source-saved-remove{position:absolute;right:-5px;top:-5px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #d5e2e8;border-radius:50%;background:#fff;color:#526b7b;font:18px/1 Arial,sans-serif;cursor:pointer}.source-saved-items>p{grid-column:1/-1;margin:0;color:#78909f;font-size:11px;line-height:1.6}
.source-save-notice{position:absolute;top:100%;left:0;right:0;z-index:6;margin:5px 0 0;padding:9px 10px;border-radius:5px;background:#214e60;color:#fff;font-size:11px;box-shadow:0 3px 12px #17365315}.source-save-notice[hidden]{display:none!important}.design-source-preview-dialog [data-save-feedback=true]{color:#007d87;font-size:13px}.design-search-card{position:relative}.source-saved-badge{position:absolute;top:7px;left:7px;padding:3px 5px;border-radius:4px;background:#e7f6f7;color:#007d87;font-size:10px;font-weight:600;line-height:1.3;pointer-events:none}
.source-library-popup .source-saved-shelf,html[data-view-mode=phone] .source-saved-shelf{display:none!important}

/* Saved shelf: a compact collection heading, not a form field. */
.source-saved-shelf{margin:0 14px 7px;border:0;border-bottom:1px solid #e7eef2;border-radius:0;background:none}.source-saved-toggle{display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 2px;border:0;border-radius:0;background:none;color:#31586e;font-size:12px}.source-saved-toggle:hover{color:#007f9e;background:none}.source-saved-bookmark{width:17px;height:19px;flex:none;fill:#e4f4f7;stroke:#1497af;stroke-width:1.5;stroke-linejoin:round}.source-saved-label{font-weight:600}.source-saved-number{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 4px;box-sizing:border-box;border-radius:6px;background:#e4f5f8;color:#0085a1;font-size:11px;font-weight:700}.source-saved-toggle>small{font-size:10px;color:#93a4af}.source-saved-action{display:flex;align-items:center;gap:3px;margin-left:auto;color:#8498a5;font-size:10px}.source-saved-action svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.4}.source-saved-toggle[aria-expanded=true] .source-saved-action svg{transform:rotate(180deg)}.source-saved-items{padding:0 2px 12px}

/* Desktop library: saved collection, density and search share one tools row. */
.source-popup-controls[hidden]{display:none!important}.source-popup-controls{display:flex;align-items:center;gap:16px;flex:0 0 auto;padding:0 14px 10px;box-sizing:border-box}.source-popup-controls>.source-saved-shelf{display:block!important;margin:0 auto 0 0;flex:0 0 210px;border:0;min-width:0}.source-popup-controls .source-saved-toggle{padding:2px;min-height:34px}.source-popup-controls .source-saved-items{position:absolute;top:100%;left:0;z-index:7;width:280px;max-width:75vw;box-sizing:border-box;padding:12px;border:1px solid #dce7ed;border-radius:7px;background:#fff;box-shadow:0 6px 20px #17365318}.source-popup-controls>input{flex:0 0 190px;width:190px;min-width:0;height:34px;box-sizing:border-box;padding:0 10px;border:1px solid #cbdbe5;border-radius:6px;background:white;color:#31586e;font:inherit;font-size:12px}.source-density-controls{display:flex;align-items:center;gap:2px;flex:0 0 auto}.source-density-controls>span{margin-right:5px;font-size:11px;color:#8498a5;white-space:nowrap}.source-density-controls button{display:flex;align-items:center;justify-content:center;width:27px;height:28px;padding:0;border:1px solid transparent;border-radius:5px;background:#fff;color:#607b8c;font:inherit;font-size:11px;cursor:pointer}.source-density-controls button:hover{background:#f1f7f9}.source-density-controls button[aria-pressed=true]{border-color:#a8dce7;background:#e9f7fa;color:#0085a1;font-weight:700}
html:not([data-view-mode=phone]) .source-library-popup .design-search-filters{grid-template-columns:minmax(0,1fr)!important}html:not([data-view-mode=phone]) .source-library-popup .design-search-grid{grid-template-columns:repeat(var(--source-columns,5),minmax(0,1fr))!important}
@media(max-width:850px){.source-popup-controls{gap:8px;flex-wrap:wrap}.source-popup-controls>.source-saved-shelf{flex-basis:180px}.source-popup-controls>input{margin-left:auto;flex-basis:160px;width:160px}.source-density-controls button{width:24px}}

/* Desktop dock count sits beside the selected category; popup status remains. */
.design-category-select{position:relative;flex:1!important;min-width:0;width:100%}.design-category-select>.design-category-bar{width:100%!important;max-width:100%!important;box-sizing:border-box;color:transparent!important}.design-category-select>.design-category-bar option{color:#31586e}.design-category-caption{position:absolute;top:0;bottom:0;left:12px;right:26px;display:flex;align-items:center;gap:8px;pointer-events:none;color:#31586e;font-size:12px;white-space:nowrap;overflow:hidden}.design-category-caption small{font-size:10px;font-weight:400;color:#8a9fab}.source-library-popup .design-category-select{display:none!important}html:not([data-view-mode=phone]) .design-source-dock>.design-search-count[data-inline-count=true]{display:none!important}html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{display:block!important}

html#tiverse-paint body[data-quote-step="3"] .design-category-select>.design-category-bar{width:100%!important;flex:none!important;max-width:none!important}.design-category-select::after{content:'⌄';position:absolute;right:11px;top:50%;transform:translateY(-60%);pointer-events:none;color:#526b7b;font-size:14px}

.design-category-caption>span{font-size:12px;font-weight:500;color:#294b60}.design-category-caption small{font-size:10px;font-weight:400}

/* Library header: title + count, category tabs, then a quiet controls strip. */
html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>header{padding:18px 56px 10px 20px!important;min-height:0!important}html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>header h2{margin:0!important;font-size:18px!important;line-height:26px!important;font-weight:600!important;text-decoration:none!important;border:0!important}html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>header h2::after{display:none!important}html:not([data-view-mode=phone]) .source-library-popup .design-search-filters{padding:0 20px!important;margin:0!important;border-bottom:1px solid #e9eef2!important}html:not([data-view-mode=phone]) .source-library-popup .design-source-categories{gap:4px 18px!important}html:not([data-view-mode=phone]) .source-library-popup .source-popup-controls{padding:10px 20px!important;margin:0!important;gap:12px;background:#f8fafb;border-bottom:1px solid #e9eef2}html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{position:absolute;top:23px;left:150px;margin:0!important;padding:0!important;font-size:11px!important;line-height:20px;color:#8a9ca8}
.source-popup-controls .source-saved-toggle{min-height:32px}.source-popup-controls>input{height:32px}.source-density-controls{gap:0;border:1px solid #d9e3e9;border-radius:6px;overflow:hidden;background:#fff}.source-density-controls>span{margin:0;padding:0 9px;font-size:10px;color:#8a9ca8}.source-density-controls button{width:31px;height:30px;border:0;border-left:1px solid #e4ebef;border-radius:0;background:#fff;color:#a1aeb8}.source-density-controls button[aria-pressed=true]{border-color:#e4ebef;background:#e5f4f9;color:#1696b4}.source-density-controls button svg{width:23px;height:18px;fill:currentColor}

/* A readable density choice replaces the near-identical grid icons. */
.source-density-controls{border:0;border-radius:0;background:none;overflow:visible}.source-density-controls>span,.source-density-controls>button{display:none!important}.source-density-select{width:126px;height:32px;box-sizing:border-box;padding:0 10px;border:1px solid #d9e3e9;border-radius:6px;background:#fff;color:#526b7b;font:inherit;font-size:11px;cursor:pointer}.source-density-select:focus{outline:1px solid #c0dce5;outline-offset:1px}

/* Give the artwork viewport priority over the fixed popup chrome. */
@media(min-width:851px){
html:not([data-view-mode=phone]) .source-library-popup{height:96dvh;max-height:96dvh;margin:2dvh auto}
html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>header{padding:10px 56px 4px 16px!important}
html:not([data-view-mode=phone]) .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{top:13px;left:146px}
html:not([data-view-mode=phone]) .source-library-popup .design-search-filters{padding:0 16px!important}
html:not([data-view-mode=phone]) .source-library-popup .design-source-categories{gap:0 18px!important}
html:not([data-view-mode=phone]) .source-library-popup .design-source-categories button{padding:4px 0!important;min-height:28px!important}
html:not([data-view-mode=phone]) .source-library-popup .source-popup-controls{padding:5px 16px!important}
html:not([data-view-mode=phone]) .source-library-popup .design-source-pagination{padding:4px 14px;gap:4px}
html:not([data-view-mode=phone]) .source-library-popup .design-source-pagination button{height:28px;min-width:30px}
html:not([data-view-mode=phone]) .source-library-popup .source-library-close{top:7px;width:28px;height:28px;font-size:22px}
}

/* Give the artwork viewport priority over the fixed popup chrome. */
@media(min-width:851px){
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup{height:96dvh;max-height:96dvh;margin:2dvh auto}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-dock>header{padding:10px 56px 4px 16px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{top:13px;left:146px}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-search-filters{padding:0 16px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-categories{gap:0 18px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-categories button{padding:4px 0!important;min-height:28px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .source-popup-controls{padding:5px 16px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-pagination{padding:4px 14px;gap:4px}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-pagination button{height:28px;min-width:30px}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .source-library-close{top:7px;width:28px;height:28px;font-size:22px}
}

/* A compact color-editing promise beside the library title. */
html#tiverse-paint body[data-quote-step="3"] .design-source-dock header>div:first-child{display:flex!important;align-items:center!important;gap:10px;min-width:0}
.source-color-feature{display:inline-flex;align-items:center;gap:5px;flex:none;padding:4px 7px;border-radius:5px;background:#fff1e9;color:#b94c27;font-size:10px;font-weight:600;line-height:16px;white-space:nowrap;letter-spacing:-.02em}
.source-color-feature i{display:flex;gap:2px}.source-color-feature b{width:6px;height:10px;border-radius:2px;background:#ff795e}.source-color-feature b:nth-child(2){background:#ffc04d}.source-color-feature b:nth-child(3){background:#25b8be}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{left:340px}
@media(max-width:400px){.source-color-feature{font-size:9px;padding:3px 5px;gap:4px}.source-color-feature b{width:5px}.design-source-dock header>div:first-child{gap:7px!important}}

/* Align category totals with the search edge; restore breathing room. */
@media(min-width:851px){
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-dock>header{padding:14px 56px 10px 16px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-dock>.design-search-count[data-inline-count=true]{top:57px;left:auto;right:16px;text-align:right;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-categories{padding-right:205px!important;box-sizing:border-box;min-height:36px}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .design-source-categories button{padding:7px 0!important;min-height:36px!important}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .source-library-popup .source-popup-controls{padding:8px 16px!important}
}

.design-source-flip{flex:none;align-self:center;min-height:28px;padding:3px 9px;border:1px solid #bfd7e2;border-radius:5px;background:#fff;color:#31586e;font:inherit;font-size:11px;cursor:pointer}.design-source-flip[aria-pressed=true]{background:#e6f6fb;border-color:#47aac4;color:#007d9f}

/* Match source actions to the editor's compact outlined controls. */
html#tiverse-paint body[data-quote-step="3"] .design-search-layer-colors :is(.design-source-reset,.design-source-flip){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:30px;min-height:30px;padding:0 10px;margin:0;border:1px solid #c5d6e0;border-radius:6px;background:#fff;color:#31586e;font-family:inherit;font-size:11px;font-weight:400;line-height:1;box-shadow:none;cursor:pointer}
html#tiverse-paint body[data-quote-step="3"] .design-search-layer-colors :is(.design-source-reset,.design-source-flip):hover{background:#eef8fb;border-color:#75bfd2}
html#tiverse-paint body[data-quote-step="3"] .design-search-layer-colors .design-source-flip[aria-pressed=true]{background:#e8f6fa;border-color:#69b7cc;color:#007e9d}
html#tiverse-paint body[data-quote-step="3"] .design-search-layer-colors .design-source-color-chip{width:30px;height:30px;min-width:30px;min-height:30px;border-radius:6px}
html[data-view-mode=phone]#tiverse-paint body[data-quote-step="3"] .design-search-layer-colors :is(.design-source-reset,.design-source-flip){height:26px;min-height:26px;padding:0 8px}

/* Use the same 12-column swatch sizing as text and shape tools. */
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .design-source-palette{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;box-sizing:border-box;width:100%;padding:12px 0 6px}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .design-source-palette :is(button,.design-source-custom-card){width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;max-width:23px!important;max-height:23px!important;box-sizing:border-box;border:1px solid #20374640!important;border-radius:3px!important;box-shadow:none!important;margin:0;padding:0}
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"] .design-source-palette button:hover{outline:2px solid #009fce;outline-offset:2px;position:relative;z-index:1}
html#tiverse-paint body[data-quote-step="3"] .design-source-custom-card{background:conic-gradient(#ed6a77,#f5cd50,#61c796,#55add5,#ad77d4,#ed6a77);color:white;font-size:20px}

/* Only the selected source's controls remain when returning from another tool. */
html#tiverse-paint:not([data-view-mode=phone]) body[data-quote-step="3"].source-library-selected .paint-inspector :is(.paint-text-section,.paint-pen-section,.paint-shapes,.paint-ribbon-colors,.paint-text-effects,.paint-font-group,.placement-pen-widths){display:none!important}

/* Hide the resize glyph together with its handle while moving a layer. */
.placement-design-group.placement-moving .placement-resize-icon{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
