html body .tem-layout-modal #canvas_container {display:block!important;width:100%;max-height:none!important;overflow:visible!important;box-sizing:border-box;}
html body .tem-layout-modal.is-pinned #canvas_container>div {height:auto!important;max-height:none!important;}
html body .tem-layout-modal #canvas_container .tem-canvas-toolbar {justify-content:flex-start;}
html body #canvas_container>.tem-canvas-stage {max-width:260px!important;max-height:none!important;margin:0 auto!important;}
.tem-canvas-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:7px!important;max-height:none!important;}
.tem-canvas-toolbar label {display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 3px;margin:0!important;font-size:11px;font-weight:700;color:#243952;cursor:pointer;touch-action:manipulation;}
.tem-canvas-toolbar label:hover {background:#e3edf7;}
.tem-canvas-toolbar label[hidden] {display:none!important;}
.tem-canvas-toolbar label:focus-within {outline:none;}
.tem-canvas-toolbar input:focus {outline:none;box-shadow:none;}
.tem-canvas-toolbar input:focus-visible {outline:2px solid #16766e;outline-offset:2px;}
.tem-canvas-toolbar input {width:15px!important;height:15px!important;margin:0!important;accent-color:#16766e;cursor:pointer;}
.tem-canvas-toolbar button {display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;min-height:28px!important;margin:0 0 0 auto!important;padding:0!important;border:1px solid #cbd9e8;border-radius:4px;background:#fff;color:#1c2e60;}
.tem-canvas-toolbar .tem-label-open+.tem-canvas-zoom {margin-left:0!important;}
.tem-label-detail[hidden] {display:none!important;}
.tem-label-detail {position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:16px;box-sizing:border-box;}
.tem-label-backdrop {position:absolute;inset:0;background:rgba(20,30,45,.55);}
.tem-label-detail section {position:relative;width:min(650px,100%);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #cbd9e8;border-radius:6px;background:#fff;color:#243952;box-sizing:border-box;}
.tem-label-detail header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #dce3ea;}
.tem-label-detail header strong {display:block;font-size:16px;line-height:1.5;}
html body .tem-label-detail strong {text-transform:none;letter-spacing:0;}
html body .tem-label-detail dt,html body .tem-label-detail small {text-transform:none;letter-spacing:0;}
.tem-label-detail header span {display:block;font-size:12px;color:#526178;line-height:1.5;}
html body .tem-label-detail header button {display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;margin:0;padding:0;border:1px solid #cbd9e8;border-radius:4px;background:#fff;color:#243952;}
.tem-label-detail button:focus-visible,.tem-canvas-toolbar .tem-label-open:focus-visible {outline:2px solid #08776c;outline-offset:2px;}
.tem-label-detail-body {padding:12px 16px;}
html body .tem-label-detail canvas {display:block;width:100%!important;height:auto!important;max-width:100%;aspect-ratio:15/8;}
.tem-label-regions {margin:8px 0 0!important;}
.tem-label-regions>div {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start;gap:8px;padding:10px 0;border-top:1px solid #e2e8f0;}
.tem-label-regions dt {display:flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:600;line-height:1.5;}
.tem-label-regions dd {margin:0;min-width:0;text-align:right;overflow-wrap:break-word;}
.tem-label-regions strong {display:block;font-size:12px;line-height:1.5;color:#243952;}
.tem-label-regions small {display:block;font-size:11px;line-height:1.5;color:#526178;}
.tem-label-regions i {flex:0 0 22px;width:22px;border-top:2px solid #334155;}
.tem-label-regions [data-region=bleed] i {border-top:2px dashed #db2777;}
.tem-label-regions [data-region=safe] i {border-top:2px dashed #0284c7;}
.tem-label-detail [data-label-note] {margin:10px 0 0;padding-top:10px;border-top:1px solid #e2e8f0;font-size:12px;line-height:1.5;color:#526178;}
body.tem-label-expanded {overflow:hidden;}
@media(max-width:560px){.tem-label-detail{padding:8px}.tem-label-detail section{max-height:calc(100dvh - 16px)}.tem-label-detail header{padding:10px 12px}.tem-label-detail-body{padding:10px 12px}}
.tem-canvas-stage {display:flex;justify-content:center;min-width:0;}
.tem-canvas-stage.is-zoomable,.tem-canvas-stage.is-zoomable canvas {cursor:zoom-in;}
.tem-canvas-stage.is-zoomable:focus-visible {outline:2px solid #08776c;outline-offset:3px;}
html body .tem-canvas-stage canvas {display:block;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain;max-height:280px!important;}
html body .tem-layout-modal.is-pinned #canvas_container .tem-canvas-stage canvas,
html body .tem-canvas-large .tem-canvas-stage canvas {width:var(--tem-preview-width)!important;height:auto!important;max-height:none!important;}
.tem-canvas-caption,.tem-canvas-legend,.tem-canvas-note {text-align:center;margin-top:5px!important;font-size:10px;line-height:1.4;color:#526178;}
.tem-canvas-caption {font-weight:700;color:#1c2e60;}
.tem-canvas-note {color:#996023;}
.tem-canvas-note[hidden] {display:none!important;}
html body #canvas_container .tem-canvas-legend,.tem-canvas-legend {display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;color:#243952;line-height:1.5;}
.tem-canvas-legend span {display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.tem-canvas-legend i {display:inline-block;width:10px;height:10px;border:1px solid #245486;box-sizing:border-box;}
.tem-swatch-grid {background:#9dd9ed;}
.tem-canvas-legend i.tem-swatch-gap {width:13px;height:0;border:0;border-top:1px dashed #475569;}
.tem-swatch-rot {background:#c1b4ee;}
.tem-swatch-extra {background:#ffd08a;}
.tem-canvas-legend .tem-swatch-cut {height:0;border:0;border-top:2px solid #245486;}
.tem-canvas-legend .tem-swatch-bleed {background:transparent;border:1px dashed #c52c3e;}
.tem-canvas-legend .tem-swatch-crop {height:0;border:0;border-top:2px solid #111;}
.tem-canvas-legend [hidden] {display:none!important;}
.tem-cut-mark-controls {margin-top:10px;padding-top:10px;border-top:1px solid #d4dfeb;}
.tem-cut-mark-controls[hidden],.tem-label-detail [data-label-points][hidden] {display:none!important;}
.tem-cut-mark-controls>input[hidden] {display:none!important;}
.tem-cut-mark-controls>label {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0!important;font-size:11px;}
html body .tem-cut-mark-controls input[type=number] {width:74px;min-width:0;max-width:100%;height:30px;min-height:30px;margin:0;padding:3px 6px;box-sizing:border-box;}
.tem-label-detail [data-label-points] {margin:6px 0 0;font-size:12px;line-height:1.5;color:#243952;}
.tem-canvas-large[hidden] {display:none!important;}
.tem-canvas-large {position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:16px;box-sizing:border-box;}
.tem-canvas-backdrop {position:absolute;inset:0;background:rgba(20,30,45,.5);}
.tem-canvas-large section {position:relative;width:min(800px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border:1px solid #d5dfe9;border-radius:6px;box-sizing:border-box;}
.tem-canvas-large header {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid #dce3ea;color:#1c2e60;}
.tem-canvas-large header button {width:30px;height:30px;min-height:30px;margin:0;padding:0;border:1px solid #cbd9e8;border-radius:4px;background:#fff;color:#1c2e60;}
.tem-canvas-large-body {padding:12px;}
.tem-canvas-large .tem-canvas-toolbar {justify-content:center;}
html body .tem-canvas-large .tem-canvas-stage canvas {max-height:calc(100dvh - 210px)!important;}
body.tem-canvas-expanded {overflow:hidden;}
.tem-canvas-settings {grid-column:2;grid-row:3;align-self:start;min-width:0;}
#tem_layout_override_notice {display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;width:100%;min-width:0;margin:0 0 8px;padding:8px 0;border-bottom:1px solid #c8d5df;color:#42516a;box-sizing:border-box;}
#tem_layout_override_notice[hidden] {display:none!important;}
#tem_layout_override_notice>div {flex:1 1 190px;min-width:0;overflow-wrap:break-word;}
#tem_layout_override_notice strong {display:block;font-size:11px;font-weight:600;line-height:1.5;color:#394c60;}
#tem_layout_override_notice small {display:block;font-size:10px;line-height:1.5;color:#8b362d;}
#tem_layout_override_notice small[data-layout-changes] {display:flex;flex-wrap:wrap;gap:0px 6px;margin-top:3px;}
#tem_layout_override_notice .tem-layout-change {display:inline-flex;align-items:center;gap:3px;max-width:100%;min-width:0;}
#tem_layout_override_notice .tem-layout-change>span {min-width:0;overflow-wrap:break-word;}
html body #tem_layout_override_notice [data-layout-reset] {display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;min-height:26px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:#8b362d;font-size:11px;line-height:1;cursor:pointer;}
html body #tem_layout_override_notice [data-layout-reset]:hover {background:#f6e9e7;color:#6f251e;}
html body #tem_layout_override_notice [data-layout-reset]:focus-visible {outline:2px solid #8b362d;outline-offset:1px;}
html body #tem_layout_reset_defaults {display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:30px;height:auto;margin:0;padding:5px 8px;border:1px solid #bdcdda;border-radius:4px;background:#fff;color:#24544f;font-size:11px;line-height:1.4;white-space:nowrap;cursor:pointer;}
html body #tem_layout_reset_defaults:hover {border-color:#218c80;background:#f0faf6;}
html body #tem_layout_reset_defaults:focus-visible {outline:2px solid #218c80;outline-offset:2px;}
html body #tem_layout_reset_defaults:disabled {opacity:.5;cursor:not-allowed;}
.tem-canvas-large-body #tem_canvas_meta {width:100%;max-width:100%;margin:10px 0 0;box-sizing:border-box;overflow-wrap:break-word;}
.tem-canvas-settings .tem-canvas-gap {flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border-left:3px solid #4b9a8e;background:#eef7f5;}
.tem-large-custom {margin-top:10px;border-left:3px solid #88a1bd;padding:12px;background:#f1f4f8;font-size:11px;box-sizing:border-box;}
.tem-large-custom>label {display:flex;align-items:center;gap:5px;line-height:1.5;margin:0 0 8px;}
.tem-large-custom input,.tem-large-custom select {margin:0!important;min-height:30px!important;height:30px;padding:3px 5px!important;box-sizing:border-box;max-width:100%;}
.tem-large-custom input[type=checkbox] {min-height:0!important;height:14px;width:14px;flex-shrink:0;}
.tem-large-custom #custom_size_fields {border:0!important;padding:0!important;margin:0!important;background:transparent!important;}
.tem-large-custom #custom_size_fields label {font-size:10px;line-height:1.4;}
.tem-large-custom #custom_size_fields>div>div:has(#tay_ke_tren) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html body .tem-layout-modal #canvas_container .tem-canvas-gap,.tem-canvas-gap {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:5px 0;box-sizing:border-box;}
.tem-canvas-gap[hidden] {display:none!important;}
html body #tem_split_controls {width:100%;min-width:0;margin:0 0 8px!important;padding:10px!important;border:1px solid #b6dcd6;border-left:3px solid #218c80;border-radius:5px;background:#eaf6f2;gap:7px 10px;justify-content:flex-end;box-sizing:border-box;}
html body #tem_split_controls label {font-weight:600;}
html body #tem_split_controls select {background:#fff;}
html body #tem_split_controls .tem-layout-strategies {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px;padding-bottom:6px;border-bottom:1px solid #bfdcd5;}
html body #tem_split_controls .tem-layout-strategies label {display:flex;justify-content:center;padding:7px 3px;border-radius:4px;min-width:0;font-size:11px;cursor:pointer;line-height:1.35;}
html body #tem_split_controls .tem-layout-strategies label:has(:checked) {background:#16766e;color:#fff;}
html body #tem_split_controls .tem-layout-strategies input {width:13px;height:13px;min-height:0;margin:0!important;accent-color:#16766e;flex-shrink:0;}
#tem_strategy_comparison {width:100%;min-width:0;border-top:1px solid #bfdcd5;font-size:11px;}
#tem_strategy_comparison:empty {display:none;}
.tem-split-details {width:100%;min-width:0;}
.tem-split-details summary {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;cursor:pointer;list-style:none;font-size:11px;font-weight:600;color:#24544f;}
.tem-split-details summary::-webkit-details-marker {display:none;}
.tem-split-details summary i {font-size:10px;transition:transform .15s;}
.tem-split-details[open] summary i {transform:rotate(180deg);}
.tem-split-details summary:focus-visible {outline:2px solid #08776c;outline-offset:2px;}
.tem-split-details-body {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px 10px;padding-top:6px;}
.tem-split-details:not([open])>.tem-split-details-body {display:none;}
.tem-strategy-row {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;padding:7px 0;border-bottom:1px solid #d4e6e1;}
.tem-strategy-row strong {font-size:11px;line-height:1.4;}
.tem-strategy-row span {grid-column:1/-1;font-size:10px;color:#42516a;}
.tem-strategy-row b {font-size:11px;white-space:nowrap;color:#1c2e60;}
.tem-strategy-row.is-active strong {color:#08776c;}
#tem_strategy_comparison .tem-strategy-difference {display:block;margin-top:6px;line-height:1.5;}
.tem-canvas-gap label {display:inline-flex;align-items:center;gap:5px;margin:0!important;font-size:11px;color:#243952;}
.tem-canvas-gap input[type=number] {width:62px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:2px 4px!important;text-align:center;}
.tem-canvas-gap input[type=checkbox] {margin:0!important;}
.tem-canvas-gap small {flex-basis:100%;font-size:10px;color:#42516a;}
.tem-canvas-gap small[hidden] {display:none!important;}
.tem-canvas-gap .tem-gap-direction {display:flex;flex-wrap:wrap;width:100%;gap:5px;}
.tem-gap-direction select {flex:1;min-width:0;max-width:100%;height:30px;min-height:30px;margin:0!important;padding:3px 5px!important;font-size:11px;}
.tem-shape-confirmation {display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 0;color:#17495c;font-size:12px;}
.tem-shape-confirmation>span:first-child {flex-basis:100%;}
.tem-shape-confirmation[hidden] {display:none!important;}
.tem-shape-confirmation label[hidden] {display:none!important;}
.tem-shape-confirmation label {position:relative;display:inline-flex;align-items:center;gap:4px;min-height:36px;box-sizing:border-box;padding:5px 6px;margin:0!important;border:1px solid transparent;border-radius:4px;background-color:#ededed;cursor:pointer;}
.tem-shape-confirmation input {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0!important;}
.tem-shape-icon {display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;font-size:18px;color:#808080;}
.tem-shape-icon-rect i,.tem-shape-icon-ellipse i {transform:scaleX(1.4);}
#tem_shape_rect_label[data-shape="square"] .tem-shape-icon-rect i {transform:none;}
.tem-shape-confirmation label:has(input:checked) {color:#08776c;border-color:#08776c;}
.tem-shape-confirmation label:has(input:checked) .tem-shape-icon {color:cornflowerblue;}
.tem-shape-confirmation label:has(input:checked) .tem-shape-icon i {font-weight:900;}
.tem-shape-confirmation label:has(input:focus-visible) {outline:2px solid #247ec2;outline-offset:2px;}
.tem-shape-confirmation label:hover:not(:has(input:disabled)):not(:has(input:checked)) {border-color:#b8cbd3;}
.tem-shape-confirmation label:has(input:disabled) {opacity:.5;cursor:default;}
@media(max-width:640px){
 .tem-shape-confirmation {gap:6px;}
 .tem-shape-confirmation>span:first-child {flex-basis:100%;}
}
.tem-method-price {font-size:10px;font-weight:700;color:#08776c;line-height:1.4;}
.tem-method-price[hidden] {display:none!important;}
.tem-large-methods {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 12px;}
.tem-large-methods button {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:64px;margin:0;padding:6px;border:1px solid #c6d6e6;border-radius:4px;background:#fff;color:#243952;font-size:12px;white-space:normal;line-height:1.4;}
.tem-large-methods button.is-active {border:2px solid #08776c;background:#e5f5ef;}
.tem-large-methods button span:last-child {font-size:10px;}
html body .tem-canvas-large .tem-canvas-stage canvas {max-height:calc(100dvh - 320px)!important;}
@media(max-width:560px){.tem-canvas-large{padding:8px}.tem-canvas-large section{max-height:calc(100dvh - 16px)}.tem-canvas-large-body{padding:10px}.tem-canvas-toolbar{gap:6px}}
.tem-layout-summary {display:grid;gap:5px;padding-top:5px;}
.tem-layout-summary-row {display:grid;grid-template-columns:9px 64px minmax(0,1fr);gap:5px;align-items:baseline;font-size:10px;line-height:1.5;}
.tem-layout-summary-row i {width:8px;height:8px;align-self:center;border:1px solid #8b9aab;}
.tem-layout-summary-gap {font-size:10px;color:#42516a;}
.tem-layout-summary-warning {margin-top:6px;}
.tem-spacing-controls {width:100%;flex-basis:100%;margin:10px 0;padding:10px 0;border-top:1px solid #d4dfeb;color:#243952;font-size:11px;}
.tem-spacing-fields {display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:8px;align-items:end;margin-top:6px;}
.tem-grabtech-extension {display:flex;align-items:center;gap:6px;margin:0 0 10px!important;font-size:11px;line-height:1.5;cursor:pointer;}
.tem-grabtech-extension[hidden] {display:none!important;}
.tem-grabtech-extension input {width:14px;height:14px;min-height:0;margin:0!important;flex-shrink:0;}
.tem-spacing-fields label {display:flex;flex-direction:column;gap:4px;min-width:0;margin:0!important;font-size:11px;}
html body .tem-spacing-fields input[type=number] {width:100%;min-width:0;height:30px;min-height:30px;margin:0!important;padding:3px 6px!important;box-sizing:border-box;}
html body .tem-spacing-fields button {width:30px;height:30px;min-height:30px;margin:0!important;padding:0;border:1px solid #c6d6e6;border-radius:4px;background:#fff;color:#42516a;line-height:1;}
html body .tem-spacing-fields button[aria-pressed=true] {background:#e5f5ef;border-color:#08776c;color:#08776c;}
html body .tem-layout-modal #canvas_container .tem-canvas-gap {width:100%;max-width:100%;margin:0 0 6px auto!important;justify-content:flex-end;gap:4px 10px;}
.tem-canvas-large-body {display:grid;grid-template-columns:minmax(0,var(--tem-sheet-width,420px)) minmax(260px,1fr);gap:0 8px;}
.tem-canvas-large-body>.tem-canvas-toolbar {grid-column:1/-1;grid-row:1;}
.tem-canvas-large-body>.tem-large-methods {grid-column:1/-1;grid-row:2;}
.tem-canvas-large-body>.tem-canvas-stage {grid-column:1;grid-row:3;justify-content:flex-start;}
.tem-canvas-large-body>.tem-canvas-gap {grid-column:2;grid-row:3;align-self:start;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:4px 0;}
.tem-canvas-large-body>.tem-canvas-caption,.tem-canvas-large-body>.tem-canvas-legend,.tem-canvas-large-body>.tem-canvas-note {grid-column:1/-1;}
@media(max-width:640px){
 .tem-canvas-large-body {grid-template-columns:minmax(0,1fr);}
 .tem-canvas-settings {grid-column:1;grid-row:3;}
 .tem-canvas-settings .tem-canvas-gap {flex-direction:row;justify-content:flex-end;}
 .tem-large-custom {margin:8px 0;padding:10px;}
 .tem-canvas-large-body>.tem-canvas-gap {grid-column:1;grid-row:3;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:4px 10px;padding-bottom:8px;}
 .tem-canvas-large-body>.tem-canvas-gap small {text-align:right;}
 .tem-canvas-large-body>.tem-canvas-stage {grid-column:1;grid-row:4;justify-content:center;}
}
.tem-layout-actions {flex-wrap:wrap;flex-shrink:0;}
.tem-layout-quote-actions {width:100%;min-width:0;}
.tem-layout-quote-actions:empty {display:none;}
html body .tem-layout-dialog #pq_ui_buttons.pq_fab {position:static!important;inset:auto!important;transform:none!important;z-index:auto!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid #dbe5f0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
html body .tem-layout-dialog #pq_ui_buttons .pq-ibtn {justify-content:center;min-width:0;height:auto;min-height:32px;padding:6px!important;font-size:11px;line-height:1.4;white-space:normal;}
body.tem-layout-pinned #pq_modal_backdrop {z-index:2147483001;}
body.tem-layout-pinned #pq_modal,body.tem-layout-pinned #pq_manager,body.tem-layout-pinned #pq_note_view,body.tem-layout-pinned #pq_price_modal {z-index:2147483002;}
body.tem-layout-pinned #pq_toast {z-index:2147483003;}
