@scope (.template-v1-scope){:scope{--bg:#f6f7f4;--panel:#ffffff;--ink:#1d2521;--muted:#637069;--line:#dbe0db;--brand:#176b5b;--brand-strong:#0d4f43;--warn:#9f4b1f;--danger:#a23737;--soft:#eef3ef}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Microsoft YaHei,sans-serif}a{color:inherit}.shell{width:min(1180px,calc(100vw - 32px));margin:0 auto;padding:28px 0 48px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.brand-title{margin:0;font-size:26px;line-height:1.2}.subtle{color:var(--muted);font-size:14px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px;padding:22px}.field{display:grid;grid-gap:8px;gap:8px}.field.full{grid-column:1/-1}label{font-size:14px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;padding:11px 12px}input[type=checkbox]{width:auto;min-width:18px;height:18px;padding:0}textarea{min-height:94px;resize:vertical}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid var(--brand);border-radius:6px;background:var(--brand);color:#fff;font-weight:700;text-decoration:none;padding:10px 14px;cursor:pointer}.button.secondary,button.secondary{background:#fff;color:var(--brand-strong)}.button.danger,button.danger{border-color:#d89494;background:#fff5f5;color:var(--danger)}.button.ghost,button.ghost{border-color:var(--line);background:#fff;color:var(--ink)}.actions,.admin-nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.admin-nav{margin:-6px 0 18px}.page-note{margin-bottom:18px;padding:14px 16px;color:#34423a;font-weight:700;line-height:1.7}.admin-flow-panel{margin-bottom:18px;padding:18px}.admin-flow-panel h2{margin:0;font-size:18px}.admin-flow-list{display:grid;grid-gap:8px;gap:8px;margin:0;padding-left:22px;color:#34423a;line-height:1.7}.admin-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:14px;gap:14px}.admin-entry-card{display:grid;grid-gap:10px;gap:10px;min-height:150px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:inherit;padding:18px;text-decoration:none}.admin-entry-card:hover{border-color:#b8d6c8;background:#fbfdfb}.admin-entry-card h2{margin:0;font-size:19px}.admin-entry-card p{margin:0;color:var(--muted);line-height:1.65}.import-preview-panel,.product-import-upload{margin-bottom:18px;padding:18px}.import-preview-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.import-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:12px;gap:12px}.import-stat{display:grid;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:8px;background:#fbfdfb;padding:12px}.import-stat span{color:var(--muted);font-size:13px;font-weight:700}.import-stat strong{font-size:24px}.import-stat.ok strong{color:var(--brand-strong)}.import-stat.warn strong{color:var(--warn)}.inline-json{max-width:420px;margin:0;white-space:pre-wrap;word-break:break-word;font-size:12px}.bulkbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}.notice{margin-bottom:14px;border-radius:8px;padding:12px 14px;font-weight:700}.notice.success{border:1px solid #b8d6c8;background:#edf8f2;color:var(--brand-strong)}.notice.error{border:1px solid #e0b5b5;background:#fff0f0;color:var(--danger)}.notice.warning{border:1px solid #ecd391;background:#fff8df;color:#8a6412}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:1040px}td,th{border-bottom:1px solid var(--line);padding:12px;text-align:left;vertical-align:top;font-size:14px}th{background:var(--soft);color:#34423a;white-space:nowrap}.thumbs{display:flex;gap:8px}.thumb{width:74px;height:74px;object-fit:contain;border:1px solid var(--line);background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;border-radius:6px}.status-form{display:flex;gap:8px;align-items:center}.status-form select{min-width:92px;padding:8px 10px}.status-form button{min-height:34px;padding:8px 10px}.badge{display:inline-flex;border:1px solid var(--line);border-radius:999px;background:var(--soft);padding:4px 9px;color:#34423a;font-size:12px;white-space:nowrap}.badge.success{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.badge.warning{border-color:#ead2a8;background:#fff8e9;color:var(--warn)}.template-snapshot-status{margin-top:8px}.operation-log-detail{min-width:360px}.operation-log-detail summary{width:max-content;cursor:pointer}.json-detail-grid{display:grid;grid-gap:12px;gap:12px;margin-top:12px}.json-detail-grid h3{margin:0 0 6px;font-size:14px}.json-detail-grid pre{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fbfcfb;padding:12px;font-size:12px;line-height:1.45;white-space:pre-wrap}.error-note{margin-top:6px;color:var(--warn);font-size:12px}.wide-shell{width:min(1500px,calc(100vw - 32px))}.binding-board{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(280px,1fr) minmax(420px,1.45fr);grid-gap:14px;gap:14px;align-items:start}.binding-column{min-height:560px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.binding-column>header{padding:16px;border-bottom:1px solid var(--line)}.binding-column h2{margin:0;font-size:18px}.binding-column-wide{min-width:0}.binding-list{display:grid}.binding-filter-panel{margin-bottom:14px;padding:12px 14px}.binding-create{border-bottom:1px solid var(--line);padding:12px 16px}.binding-create summary{width:100%}.binding-item{min-height:96px;border-bottom:1px solid var(--line);border-left:4px solid transparent;padding:14px 16px}.binding-item,.binding-item-link{display:grid;grid-gap:6px;gap:6px;color:inherit;text-decoration:none}.binding-item:hover{background:#f7faf7}.binding-item.active{border-left-color:var(--brand);background:#edf8f2}.binding-item span{color:var(--muted);font-size:13px}.binding-edit{margin-top:4px}.binding-edit summary{width:max-content;cursor:pointer;color:var(--brand-strong);font-size:13px;font-weight:700}.binding-status-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}.binding-status-actions form{margin:0}.binding-status-actions button{min-height:30px;padding:6px 9px;font-size:12px}.binding-status-actions .danger{border-color:#d8b9b9;color:var(--danger)}.binding-block-reason{width:100%;font-size:12px;line-height:1.5}.binding-mini-form{display:grid;grid-gap:10px;gap:10px;margin-top:12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.binding-form{grid-template-columns:minmax(240px,1fr) auto auto;grid-gap:12px;gap:12px;padding:16px}.binding-form,.binding-list-search{display:grid;align-items:flex-end;border-bottom:1px solid var(--line)}.binding-list-search{grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;background:#fbfffd;padding:10px 12px}.binding-list-search .field{gap:4px}.binding-list-search button{min-height:40px}.binding-quick-template{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.binding-template-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);background:#fbfffd}.binding-template-summary span{color:var(--muted);font-size:12px;font-weight:700}.binding-template-summary strong{display:block;margin-top:2px;font-size:14px}.binding-template-picker{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px}.binding-picker-backdrop{position:absolute;inset:0;background:rgba(24,38,34,.48);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.binding-picker-panel{position:relative;z-index:1;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);grid-gap:14px;gap:14px;width:min(1120px,calc(100vw - 48px));max-height:min(860px,calc(100vh - 48px));border:1px solid #cfe0d7;border-radius:14px;background:#fff;box-shadow:0 30px 90px rgba(18,35,30,.28);padding:18px}.binding-picker-guide{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;border:1px solid #ead7a8;border-radius:10px;background:#fff9e7;color:#6b5424;padding:10px 12px;font-size:13px}.binding-picker-guide strong{color:#4f3b10}.binding-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.binding-picker-head h3{margin:0;font-size:22px}.binding-picker-filters{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(260px,1.5fr) auto auto;grid-gap:10px;gap:10px;align-items:flex-end;border:1px solid #edf2ef;border-radius:12px;background:#f8fbfa;padding:12px}.binding-picker-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-content:start;align-items:start;grid-gap:14px;gap:14px;overflow:auto;padding:2px 4px 4px 2px}.binding-picker-card{position:relative;display:grid;grid-template-rows:auto auto auto auto;align-self:start;grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px;min-width:0}.template-management-picker-card{border-color:#bfe1d5;background:#f8fffc}.template-management-picker-thumb{display:block;color:inherit;text-decoration:none}.template-management-picker-card .template-management-schematic{margin:0}.template-management-picker-card .template-management-schematic figcaption{display:none}.template-management-picker-card .template-management-schematic-stage{min-height:150px;border-radius:8px}.template-management-trace-note{margin:0;font-size:12px}.binding-picker-card-main{display:grid;grid-template-rows:auto minmax(0,1fr);grid-gap:10px;gap:10px;min-width:0}.binding-template-thumb{display:flex;align-items:center;justify-content:center;width:100%;min-height:132px;max-height:190px;overflow:hidden;border:1px solid #d8e5de;border-radius:8px;background:linear-gradient(45deg,rgba(210,222,217,.34) 25%,transparent 0),linear-gradient(-45deg,rgba(210,222,217,.34) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(210,222,217,.34) 0),linear-gradient(-45deg,transparent 75%,rgba(210,222,217,.34) 0);background-color:#f8fbfa;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;color:var(--brand-strong);font-size:13px;font-weight:800}.binding-template-thumb img{width:100%;height:100%;object-fit:contain}.binding-template-thumb-fallback{position:relative;width:min(72%,96px);height:78%;border:1px dashed rgba(35,104,92,.55);background:rgba(255,255,255,.62)}.binding-template-thumb-slot{position:absolute;border:1px solid #5b9f94;background:rgba(126,176,167,.22)}.binding-template-thumb-label{position:absolute;inset:0;display:grid;place-items:center}.binding-picker-card.highlighted{border-color:#82bfa4;background:#f0fbf6;box-shadow:0 0 0 2px rgba(23,107,91,.08)}.binding-picker-card h3{max-width:100%;margin:0;font-size:15px}.binding-picker-card .subtle,.binding-picker-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.binding-picker-card-tools{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #edf2ef;padding-top:8px}.binding-picker-card-tools a{color:var(--brand-strong);font-size:12px;font-weight:800;text-decoration:none}.binding-picker-card-tools a:hover{text-decoration:underline}.binding-picker-card .actions{align-items:center;gap:8px;margin-top:auto}.binding-picker-card .actions form{display:contents}.binding-picker-card .actions .button,.binding-picker-card .actions button{flex:1 1 100px;justify-content:center;min-height:34px;padding:7px 9px;font-size:12px}.binding-picker-ribbon{position:absolute;top:8px;right:8px;z-index:2}.compact-warning{margin:0;padding:8px 9px;font-size:12px}.compact-checkbox{min-height:44px}.binding-template-list{display:grid;grid-gap:12px;gap:12px;padding:16px}.binding-template-card{display:grid;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb;padding:14px}.binding-template-card h3{margin:0;font-size:16px}.binding-template-meta{display:flex;flex-wrap:wrap;gap:8px}.binding-template-meta span{border:1px solid var(--line);border-radius:999px;background:#fff;padding:5px 8px;font-size:13px}.template-system-boundary{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}.template-system-boundary strong{color:var(--brand-strong)}.template-system-boundary span{color:#40524b;font-size:13px;font-weight:700}.template-cleanup-page{display:grid;grid-gap:14px;gap:14px}.template-cleanup-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:10px;gap:10px}.template-cleanup-stat{display:grid;grid-gap:5px;gap:5px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.template-cleanup-stat span{color:var(--muted);font-size:12px;font-weight:800}.template-cleanup-stat strong{color:#24352e;font-size:26px;line-height:1}.template-cleanup-stat.tone-keep{border-color:#d8c89a;background:#fffaf0}.template-cleanup-stat.tone-archive{border-color:#b8d6c8;background:#f2fbf7}.template-cleanup-stat.tone-delete{border-color:#e7bcbc;background:#fff5f5}.template-cleanup-guidance{display:grid;grid-gap:10px;gap:10px}.template-cleanup-guidance h2,.template-cleanup-section h2{margin:0;font-size:18px}.template-cleanup-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.template-cleanup-rule-grid>div{display:grid;grid-gap:5px;gap:5px;border:1px solid #dfe8e4;border-radius:8px;background:#fbfffd;padding:10px}.template-cleanup-rule-grid strong{color:var(--brand-strong)}.template-cleanup-rule-grid span{color:var(--muted);font-size:13px;line-height:1.5}.template-cleanup-section{display:grid;grid-gap:10px;gap:10px}.template-cleanup-section>header{display:flex;justify-content:space-between;gap:12px;align-items:center}.template-cleanup-section-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center}.template-cleanup-actionbar,.template-cleanup-row-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.template-cleanup-row-actions{margin-top:8px}.template-cleanup-section td{vertical-align:top}.template-cleanup-section td>code,.template-cleanup-section td>span{display:block;margin-top:4px}.template-cleanup-section code{max-width:280px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.template-cleanup-hint{width:max-content;max-width:100%;border:1px solid #ead48e;border-radius:999px;background:#fffbea;color:#7a5a00;font-size:12px;font-weight:800;padding:3px 7px}.template-cleanup-binding-list{max-width:260px;overflow:hidden;color:var(--brand-strong);font-weight:800;text-overflow:ellipsis;white-space:nowrap}.template-cleanup-muted-action{width:max-content;max-width:100%;border:1px solid var(--line);border-radius:999px;background:#f7faf8;color:var(--muted);font-size:12px;font-weight:800;padding:4px 8px}.template-cleanup-action{display:inline-flex;align-items:center;border-radius:999px;font-size:12px;font-weight:900;padding:4px 8px;white-space:nowrap}.template-cleanup-action.action-keep{border:1px solid #d8c89a;background:#fffaf0;color:#7a5a00}.template-cleanup-action.action-archive{border:1px solid #b8d6c8;background:#edf8f2;color:var(--brand-strong)}.template-cleanup-action.action-delete{border:1px solid #e7bcbc;background:#fff5f5;color:#a53b3b}@media (max-width:980px){.binding-template-picker{padding:12px}.binding-picker-panel{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:14px}.binding-picker-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.binding-picker-list{grid-template-columns:repeat(auto-fill,minmax(158px,1fr))}.template-cleanup-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.template-cleanup-rule-grid{grid-template-columns:1fr}}@media (max-width:640px){.binding-list-search{grid-template-columns:1fr}.binding-picker-head{display:grid}.binding-picker-filters,.binding-picker-list{grid-template-columns:1fr}.template-cleanup-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.empty-state{padding:16px;color:var(--muted)}.login-box,.success-box{width:min(460px,calc(100vw - 32px));margin:80px auto;padding:22px}.success-box{border:1px solid #d7ebe3;border-radius:16px;background:linear-gradient(180deg,#ffffff,#f4fbf8);box-shadow:0 20px 54px rgba(23,107,91,.12);text-align:center}.success-box .badge{justify-self:center;border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong);font-size:16px;padding:9px 14px}.success-box .actions{justify-content:center}.stack,.template-admin-grid{display:grid;grid-gap:14px;gap:14px}.template-source-panel{grid-template-columns:1fr auto;align-items:center;padding:16px;margin-bottom:14px}summary.button{width:-moz-fit-content;width:fit-content;list-style:none}summary.button::-webkit-details-marker,summary.button::marker{display:none}details[open] summary.button{margin-bottom:14px}.template-admin-card{display:grid;grid-gap:16px;gap:16px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb;padding:16px}.template-admin-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.template-admin-card h2{margin:0;font-size:18px}.template-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:12px;gap:12px}.checkbox-field{min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:8px 10px}.shell.admin-page,.shell.wide-shell.admin-page{width:min(1280px,calc(100vw - 28px));padding:18px 0 36px}.admin-page .topbar{margin-bottom:12px}.admin-page .brand-title{font-size:24px}.admin-page .subtle{font-size:12px}.admin-page .button,.admin-page button{min-height:34px;border-radius:6px;padding:7px 11px;font-size:13px}.admin-page .admin-button-sm,.admin-page .button.admin-button-sm,.admin-page button.admin-button-sm{min-height:28px;padding:5px 9px;font-size:12px}.admin-page .admin-button-xs,.admin-page .button.admin-button-xs,.admin-page button.admin-button-xs{min-height:26px;padding:4px 7px;font-size:12px}.admin-page input,.admin-page select,.admin-page textarea{border-radius:5px;padding:8px 9px;font-size:13px}.admin-page label{font-size:12px}.admin-page .field{gap:5px}.admin-page .panel{border-radius:7px}.admin-page .page-note{margin-bottom:10px;padding:9px 12px;font-size:13px;line-height:1.5}.admin-nav{gap:6px;margin:-2px 0 10px}.admin-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--brand-strong);font-size:12px;font-weight:700;line-height:1;padding:6px 10px;text-decoration:none}.admin-nav-link.active,.admin-nav-link:hover{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.admin-page .admin-flow-panel{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px;padding:12px 14px}.compact-flow span{color:#34423a;font-size:13px;font-weight:700}.admin-page .admin-card-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.admin-page .admin-entry-card{min-height:112px;gap:7px;padding:13px}.admin-page .admin-entry-card h2{font-size:16px}.admin-page .admin-entry-card p{font-size:13px;line-height:1.45}.admin-page .bulkbar{gap:8px;margin-bottom:8px}.admin-page .notice{margin-bottom:10px;padding:9px 11px;font-size:13px}.nesting-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:10px;gap:10px;margin-bottom:10px}.nesting-summary div{display:grid;grid-gap:4px;gap:4px}.nesting-summary span{color:#3f5149;font-size:13px;font-weight:700}.nesting-download-panel{display:grid;grid-gap:12px;gap:12px;margin-bottom:10px;border-color:#b8d6c8;background:#f7fffb}.nesting-download-head{display:grid;grid-template-columns:minmax(220px,1fr) auto;grid-gap:12px;gap:12px;align-items:start}.nesting-download-head h2{margin:0 0 4px;font-size:18px}.nesting-download-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.nesting-file-list{display:grid;grid-gap:8px;gap:8px;border-top:1px solid var(--line);padding-top:10px}.nesting-file-list ul{display:grid;grid-gap:7px;gap:7px;margin:0;padding:0;list-style:none}.sorting-workbench-head{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:18px;gap:18px;align-items:start}.sorting-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(96px,1fr));grid-gap:10px;gap:10px;min-width:360px}.sorting-progress-grid>div{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--soft)}.sorting-progress-grid strong{display:block;font-size:20px;color:var(--brand-strong)}.sorting-progress-grid span{color:var(--muted);font-size:13px}.sorting-scan-panel{display:grid;grid-template-columns:minmax(260px,1fr) minmax(420px,1.2fr);grid-gap:14px;gap:14px;align-items:start}.sorting-scan-panel h2{margin:0 0 4px}.sorting-scan-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.sorting-scan-form input{min-width:260px;border:1px solid var(--line);border-radius:8px;padding:9px 10px;font-size:15px;font-weight:700}.sorting-scan-form button,.sorting-scan-result button{border:1px solid var(--brand);border-radius:8px;background:var(--brand);color:#fff;padding:9px 12px;font-weight:800;cursor:pointer}.sorting-scan-result{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;border:1px solid #b8ddcb;border-radius:8px;background:#f2fbf6;padding:10px 12px}.sorting-scan-result strong{color:var(--brand-strong)}.sorting-scan-result span{border-left:1px solid #cfe5d9;padding-left:8px}.sorting-workbench-layout{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(520px,1.35fr);grid-gap:16px;gap:16px;align-items:start}.sorting-list-panel,.sorting-map-panel{min-width:0}.sorting-map-viewer{display:grid;grid-gap:10px;gap:10px}.sorting-map-toolbar{display:flex;gap:8px;align-items:center;justify-content:flex-end}.sorting-map-toolbar button{border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 9px;font-weight:700;color:var(--ink);cursor:pointer}.sorting-map-scroll{max-height:720px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#f7faf8;padding:12px}.sorting-map-scroll img{display:block;max-width:none;height:auto;border-radius:4px;box-shadow:0 8px 20px rgba(28,45,36,.1)}.sorting-item-no{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#fff0f4;color:#c21840;border:1px solid #f3b8c5}.sorting-code{margin-top:5px;font-size:11px;word-break:break-all}.sorting-row-scanned{outline:3px solid #34a853;outline-offset:-3px;background:#f2fbf6}.sorting-action-form{display:grid;grid-gap:8px;gap:8px;min-width:300px}.sorting-action-form input[name=note]{width:100%;min-width:220px;border:1px solid var(--line);border-radius:6px;padding:7px 8px}.sorting-row-actions{display:flex;flex-wrap:wrap;gap:6px}.sorting-row-actions button{border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 8px;font-weight:700;color:var(--brand-strong);cursor:pointer}.sorting-row-actions button[value=damaged],.sorting-row-actions button[value=missing],.sorting-row-actions button[value=rework]{color:var(--danger)}.nesting-file-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d8e7df;border-radius:6px;background:#fff;padding:7px 8px;color:#34423a;font-size:13px;font-weight:700}.nesting-group-key{display:block;max-width:320px;white-space:normal;overflow-wrap:anywhere;color:#3f5149;font-size:11px;line-height:1.4}.production-batch-key{margin-top:4px;color:#49625a;font-size:11px}.production-batch-key summary{cursor:pointer;font-weight:800}.production-batch-key code{display:block;max-width:360px;margin-top:4px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}.production-batch-detail-head{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:14px;gap:14px;align-items:start}.production-batch-detail-head h2{margin:0;font-size:20px}.production-batch-warning-list{display:grid;grid-gap:8px;gap:8px;margin:0;padding:0;list-style:none}.production-batch-warning-list li{display:grid;grid-gap:3px;gap:3px;border:1px solid #f1d9aa;border-radius:6px;background:#fffaf0;padding:8px 10px;color:#5f3f08;font-size:13px}.warning-text{color:var(--warn);font-weight:800}.batch-queue-card,.batch-queue-list{display:grid;grid-gap:12px;gap:12px}.batch-queue-card-head{display:grid;grid-template-columns:minmax(260px,1fr) auto;grid-gap:12px;gap:12px;align-items:start}.batch-queue-card-head h2{margin:0 0 4px;color:var(--ink);font-size:18px}.batch-queue-title-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.batch-queue-action{display:grid;grid-gap:6px;gap:6px;justify-items:end}.batch-queue-action button:disabled{border-color:#d9e0dc;background:#d8e4de;color:#75847d;cursor:not-allowed;opacity:.8}.batch-queue-warning{max-width:280px;color:var(--warn);font-size:12px;font-weight:800;line-height:1.55;text-align:right}.batch-queue-warning .subtle{display:block;margin-top:2px;font-size:11px;font-weight:700}.batch-queue-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:8px;gap:8px}.batch-queue-meta div{display:grid;grid-gap:3px;gap:3px;border:1px solid #d8e7df;border-radius:6px;background:#fbfffd;padding:8px 9px}.batch-queue-meta span{color:var(--muted);font-size:11px;font-weight:700}.batch-queue-meta strong{color:#26362f;font-size:13px}.batch-queue-key{border:1px dashed #cbded4;border-radius:6px;padding:7px 9px;color:#3f5149;font-size:12px}.batch-queue-key summary{cursor:pointer;font-weight:800}.batch-queue-key code,.queue-command{display:block;margin-top:6px;white-space:normal;overflow-wrap:anywhere;color:#26362f;font-size:12px;line-height:1.5}.batch-queue-table{border:1px solid var(--line);border-radius:7px}.batch-queue-filter-panel{display:grid;grid-gap:10px;gap:10px;padding:12px}.batch-queue-filter-main{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(5,minmax(120px,.8fr)) auto;grid-gap:10px;gap:10px;align-items:flex-end}.batch-queue-search-field{min-width:0}.batch-queue-selection-form{display:grid;grid-gap:10px;gap:10px}.batch-queue-selection-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}.batch-queue-selection-footer button{display:grid;grid-gap:2px;gap:2px;text-align:center}.batch-queue-selection-footer button span{font-size:11px;font-weight:800}.queue-thumb{width:46px;height:46px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.muted-row{background:#f7f8f7;color:#7b8781}.copy-text-button,.mini-copy-button{white-space:nowrap}.mini-copy-button{display:block;margin-top:4px;border:1px solid #cddbd4;border-radius:5px;background:#fff;color:var(--brand-strong);font-size:11px;font-weight:900;cursor:pointer}.inline-link{margin-left:8px;color:var(--brand-strong);font-weight:800}.admin-page table{min-width:980px}.admin-page td,.admin-page th{padding:8px 9px;font-size:13px}.keychain-sku-size-panel header{display:flex;align-items:center;justify-content:space-between}.keychain-preset-summary-list,.keychain-size-admin-note{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;color:var(--muted);font-size:13px}.keychain-size-admin-note strong{color:var(--ink)}.keychain-preset-summary-list span{border:1px solid var(--line);border-radius:6px;padding:6px 8px;background:#fff}.keychain-sku-size-table{min-width:760px!important}.keychain-sku-size-table td .subtle{display:block;margin-top:3px}.keychain-sku-size-input{display:flex;align-items:center;gap:7px;max-width:150px}.keychain-sku-size-input input{min-width:0}.keychain-preset-name-input{width:min(100%,220px)}.keychain-save-preset-form{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;border-top:1px solid var(--line);padding-top:10px}.keychain-save-preset-form .field{min-width:220px}.field-error{margin-top:5px;color:#b42318;font-size:12px}.admin-page .thumbs{gap:5px}.admin-page .thumb{width:60px;height:60px;border-radius:5px}.admin-page .badge{padding:3px 7px;font-size:11px}.compact-dimensions{min-width:150px;color:#34423a;font-size:12px;line-height:1.7}.download-actions{display:flex;gap:6px;align-items:flex-start}.order-review-detail{display:grid;grid-gap:14px;gap:14px;margin-bottom:12px;border-color:#b8d6c8;background:#fbfffd}.order-review-detail h2,.order-review-detail h3{margin:0}.order-review-detail h3{color:#26362f;font-size:15px}.order-review-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));grid-gap:10px;gap:10px}.muted-card,.order-review-detail-grid>div{border:1px solid #d8e7df;border-radius:8px;background:#fff;padding:10px}.order-review-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:10px;gap:10px}.order-review-image-card{display:grid;grid-gap:8px;gap:8px;min-height:190px;border:1px solid #d8e7df;border-radius:8px;background:#fff;padding:10px;color:inherit;text-decoration:none}.order-review-image-card img{width:100%;height:150px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.order-review-form{display:grid;grid-gap:10px;gap:10px;border-top:1px solid var(--line);padding-top:12px}.order-review-form .actions,.order-review-mini-form .actions{display:flex;flex-wrap:wrap;gap:6px}.order-review-mini-form{display:grid;grid-gap:6px;gap:6px;margin-top:7px}.compact-table .download-actions{flex-wrap:wrap}.review-rule-details{padding:10px 12px}.order-review-more-filters summary,.review-rule-details summary{cursor:pointer;color:#34423a;font-weight:900}.review-rule-details p{margin:8px 0 0}.order-review-filter-panel{display:grid;grid-gap:10px;gap:10px;padding:12px}.review-mode-tabs{display:flex;flex-wrap:wrap;gap:8px}.order-review-filter-main{display:grid;grid-template-columns:repeat(3,minmax(130px,.8fr)) minmax(220px,1.3fr) auto;grid-gap:10px;gap:10px;align-items:flex-end}.order-review-search-field{min-width:0}.order-review-filter-actions{display:flex;gap:8px;align-items:center}.order-review-more-filters{border-top:1px solid var(--line);padding-top:8px}.order-review-more-filters>div{display:grid;grid-template-columns:repeat(3,minmax(130px,180px));grid-gap:10px;gap:10px;margin-top:8px}.download-more{position:relative}.download-more summary{list-style:none}.download-more summary::-webkit-details-marker,.download-more summary::marker{display:none}.download-more-menu{display:grid;grid-template-columns:repeat(2,minmax(58px,1fr));grid-gap:5px;gap:5px;min-width:130px;margin-top:5px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:7px}.mvp-checklist-panel{display:grid;grid-gap:12px;gap:12px;margin-bottom:12px}.mvp-checklist-card h3,.mvp-checklist-panel h2{margin:0}.order-management-page{display:grid;grid-gap:12px;gap:12px}.order-management-topbar{margin-bottom:0}.order-management-total{border:1px solid #cbded4;border-radius:8px;background:#fff;color:var(--brand-strong);font-size:14px;font-weight:800;padding:10px 14px;white-space:nowrap}.order-status-tabs{display:flex;flex-wrap:wrap;gap:8px}.order-status-tab{display:inline-flex;align-items:center;gap:8px;min-height:34px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#334139;font-size:13px;font-weight:800;padding:7px 11px;text-decoration:none}.order-status-tab strong{min-width:24px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;line-height:1;padding:5px 7px;text-align:center}.order-status-tab.active{border-color:#9fcbb9;background:#edf8f2;color:var(--brand-strong)}.order-status-tab.active strong{background:#fff;color:var(--brand-strong)}.order-filter-panel{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,.8fr)) auto;grid-gap:10px;gap:10px;align-items:end;padding:12px}.order-filter-actions{display:flex;gap:8px;align-items:center}.order-list-foot,.order-list-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.order-list-head>div{display:flex;gap:8px;align-items:baseline;color:#334139}.order-list-head span,.order-pagination{color:var(--muted);font-size:13px}.order-pagination{display:flex;gap:8px;align-items:center;font-weight:700}.order-pagination .disabled{pointer-events:none;opacity:.45}.managed-order-card,.order-card-list{display:grid;grid-gap:12px;gap:12px}.managed-order-card{padding:14px}.managed-order-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:11px}.managed-order-title{display:grid;grid-gap:8px;gap:8px;min-width:0}.managed-order-title>strong{overflow-wrap:anywhere;font-size:18px;line-height:1.25}.managed-order-head-actions,.managed-order-title>div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.managed-order-head-actions{justify-content:flex-end}.order-primary-status{display:inline-flex;align-items:center;min-height:30px;border:1px solid #cbded4;border-radius:999px;background:#f6fbf8;color:var(--brand-strong);font-size:12px;font-weight:800;padding:6px 10px;white-space:nowrap}.order-primary-status.status-pending_files,.order-primary-status.status-pending_review{border-color:#ead2a8;background:#fff8e9;color:var(--warn)}.order-primary-status.status-partially_batched,.order-primary-status.status-sorting{border-color:#c8d2e8;background:#f1f5ff;color:#315291}.managed-order-body{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(260px,1.2fr) minmax(360px,1.6fr);grid-gap:14px;gap:14px;align-items:stretch}.managed-order-designs,.managed-order-metrics,.managed-order-product{min-width:0}.managed-order-product{display:grid;align-content:start;grid-gap:7px;gap:7px}.managed-order-product span{width:max-content;border-radius:999px;background:var(--soft);color:#3f5149;font-size:12px;font-weight:800;padding:4px 8px}.managed-order-product strong{overflow-wrap:anywhere;font-size:16px}.managed-order-product em{color:var(--muted);font-size:13px;font-style:normal;font-weight:700}.managed-order-designs{display:grid;grid-template-columns:auto 1fr;grid-gap:12px;gap:12px;align-items:center}.managed-order-designs>div:last-child{display:grid;grid-gap:5px;gap:5px;min-width:0}.managed-order-designs strong{color:#25332c}.managed-order-designs span{color:var(--muted);font-size:13px;font-weight:700;overflow-wrap:anywhere}.order-thumb-strip{display:flex;gap:6px;align-items:center}.order-thumb,.order-thumb-more,.order-thumb-placeholder{width:48px;height:48px;flex:0 0 auto;border:1px solid var(--line);border-radius:6px;background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.order-thumb{object-fit:contain}.order-thumb-more,.order-thumb-placeholder{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--muted);font-size:12px;font-weight:800}.managed-order-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.order-status-metric{display:grid;grid-gap:6px;gap:6px;min-height:74px;border:1px solid var(--line);border-radius:7px;background:#fbfcfb;padding:10px}.order-status-metric span{color:var(--muted);font-size:12px;font-weight:800}.order-status-metric strong{color:#25332c;font-size:13px;line-height:1.45}.order-status-metric.tone-success{border-color:#bdd8ca;background:#f1faf5}.order-status-metric.tone-warning{border-color:#ead2a8;background:#fff9ed}.order-status-metric.tone-danger{border-color:#e0b5b5;background:#fff3f3}.order-status-metric.tone-danger strong{color:var(--danger)}.order-exception-list{display:grid;grid-gap:7px;gap:7px;border-top:1px solid var(--line);padding-top:10px}.order-exception-item{display:flex;gap:8px;align-items:flex-start;border-radius:7px;padding:8px 10px;font-size:13px;line-height:1.45}.order-exception-item strong{flex:0 0 auto}.order-exception-item span{overflow-wrap:anywhere}.order-exception-item.severity-blocking{border:1px solid #e0b5b5;background:#fff3f3;color:var(--danger)}.order-exception-item.severity-warning{border:1px solid #ead2a8;background:#fff9ed;color:var(--warn)}.order-exception-more{color:var(--muted);font-size:12px;font-weight:800}.order-empty-state{padding:28px;color:var(--muted);font-weight:800;text-align:center}@media (max-width:980px){.managed-order-body,.managed-order-metrics,.order-filter-panel,.order-review-filter-main,.order-review-more-filters>div{grid-template-columns:1fr}.managed-order-card-head,.order-list-foot,.order-list-head{align-items:stretch;flex-direction:column}.managed-order-head-actions{justify-content:flex-start}}.mvp-checklist-panel h2{font-size:18px}.mvp-checklist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:10px;gap:10px}.mvp-checklist-card{display:grid;grid-gap:8px;gap:8px;border:1px solid #d8e7df;border-radius:8px;background:#fbfffd;padding:12px}.mvp-checklist-card h3{color:#26362f;font-size:15px}.mvp-checklist-list{display:grid;grid-gap:5px;gap:5px;margin:0;padding-left:20px;color:#34423a;font-size:13px;line-height:1.5}.admin-page .template-source-panel{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;align-items:center;margin-bottom:10px;padding:10px 12px}.admin-page .template-source-panel h2{margin:0 0 3px;font-size:15px}.admin-page .template-admin-grid{gap:10px}.admin-page .template-admin-card{gap:10px;padding:12px}.admin-page .template-admin-card-head{align-items:center}.admin-page .template-admin-card h2{font-size:15px}.template-create-note{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:13px;margin:10px 0}.template-create-note strong{color:var(--ink)}.unified-template-create-card{border-color:rgba(17,125,107,.26);background:linear-gradient(180deg,#f7fffc,#ffffff)}.keychain-template-create-card{border-color:#c9d9ee;background:#f8fbff}.compact-template-form-grid{align-items:end}.template-create-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.legacy-template-create{border-top:1px dashed var(--line);padding-top:8px}.clone-options{display:flex;flex-wrap:wrap;gap:10px}.admin-page .template-form-grid{grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:8px}.template-management-page{width:min(1480px,calc(100vw - 32px))}.template-management-topbar{margin-bottom:16px}.template-management-readonly-badge{display:inline-flex;align-items:center;min-height:32px;border:1px solid #adc9be;border-radius:6px;background:#edf7f2;color:var(--brand-strong);font-size:13px;font-weight:800;padding:6px 10px}.template-management-boundary{display:flex;gap:12px;align-items:center;margin-bottom:12px;border-top:1px solid #cad8d1;border-bottom:1px solid #cad8d1;background:#f4f8f5;color:#34423a;padding:10px 12px}.template-management-boundary span{color:var(--muted);font-size:13px}.template-management-summary{display:grid;grid-template-columns:repeat(5,minmax(110px,.75fr)) minmax(180px,1.25fr);margin-bottom:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.template-management-summary-item{display:grid;grid-gap:4px;gap:4px;min-width:0;border-right:1px solid var(--line);padding:12px 14px}.template-management-summary-item:last-child{border-right:0}.template-management-summary-item small,.template-management-summary-item span{color:var(--muted);font-size:12px;font-weight:700}.template-management-summary-item strong{font-size:22px}.template-management-integrity-summary strong{color:var(--brand-strong);font-size:16px}.template-management-source-strip{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px;color:var(--muted);font-size:12px}.template-management-section-nav{display:flex;gap:2px;margin:-6px 0 12px;border-bottom:1px solid var(--line)}.template-management-section-nav a{border-bottom:2px solid transparent;color:var(--muted);font-size:13px;font-weight:800;padding:9px 12px;text-decoration:none}.template-management-section-nav a.active{border-bottom-color:var(--brand);color:var(--brand-strong)}.template-management-filter-panel{margin-bottom:12px;padding:12px}.template-management-filter-panel form{display:grid;grid-template-columns:minmax(210px,1.5fr) repeat(7,minmax(110px,.75fr)) auto;grid-gap:8px;gap:8px;align-items:end}.template-management-filter-panel label{display:grid;grid-gap:5px;gap:5px;min-width:0;color:#34423a;font-size:12px}.template-management-filter-panel input,.template-management-filter-panel select{min-height:38px;padding:8px 9px;font-size:13px}.template-management-filter-actions{display:flex;gap:6px}.template-management-filter-actions .button,.template-management-filter-actions button{min-height:38px;padding:8px 11px;white-space:nowrap}.template-management-list-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:42px;color:var(--muted);font-size:13px}.template-management-list-toolbar.bottom{margin-top:4px}.template-management-list-toolbar>div{display:flex;gap:10px;align-items:center}.template-management-list-toolbar strong{color:var(--ink)}.template-management-pagination{display:flex;gap:8px;align-items:center}.template-management-pagination a,.template-management-pagination span,.template-management-pagination strong{min-width:58px;text-align:center}.template-management-pagination a{color:var(--brand-strong);font-weight:800;text-decoration:none}.template-management-pagination span{color:#9aa39e}.template-management-table-wrap{border-radius:6px}.template-management-table{min-width:1360px}.template-management-table td,.template-management-table th{padding:10px;font-size:13px}.template-management-table td{max-width:260px}.template-management-table td>code,.template-management-table td>span,.template-management-table td>strong{display:block;margin-bottom:5px}.template-management-table code{width:100%;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}.template-management-name-cell{min-width:220px}.template-management-name-cell strong{color:#21352d;font-size:14px}.template-management-row-link{display:block;color:inherit;text-decoration:none}.template-management-row-link:hover strong{color:var(--brand);text-decoration:underline}.template-management-version-cell{width:220px;min-width:210px}.template-management-table td:nth-child(4),.template-management-table th:nth-child(4){width:132px;min-width:132px}.template-management-snapshot-lines{display:grid;grid-gap:4px;gap:4px;min-width:180px}.template-management-integrity,.template-management-state,.template-management-version-state{display:inline-flex!important;width:-moz-fit-content;width:fit-content;border:1px solid var(--line);border-radius:5px;background:#f5f7f5;color:#435148;font-size:12px;font-weight:800;padding:4px 7px;white-space:nowrap}.template-management-version-state{border-color:#cfd8d3;background:#f7f8f7;color:#526159}.template-management-integrity-reason{display:block!important;max-width:210px;color:#526159;font-size:12px;line-height:1.45}.template-management-integrity.integrity-ok,.template-management-state.state-enabled,.template-management-state.state-published{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.template-management-integrity.integrity-warning,.template-management-state.state-draft{border-color:#e4d098;background:#fff8df;color:#826018}.template-management-state.state-archived,.template-management-state.state-disabled{background:#f1f2f1;color:#66716b}.template-management-integrity.integrity-error{border-color:#e0b5b5;background:#fff0f0;color:var(--danger)}.template-management-empty{padding:32px;color:var(--muted);font-weight:800;text-align:center}.template-management-breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px;color:var(--muted);font-size:12px;font-weight:700}.template-management-breadcrumbs a{color:var(--brand-strong);text-decoration:none}.template-management-heading-id{display:block;max-width:min(720px,calc(100vw - 140px));margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px}.template-management-detail-toolbar{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-bottom:10px}.template-management-detail-toolbar .button{min-height:36px;padding:7px 11px;font-size:13px}.template-management-detail-toolbar form{display:flex}.template-management-detail-section{margin-bottom:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);padding:14px}.template-management-detail-section>header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.template-management-detail-section>header h2{margin:0;font-size:16px}.template-management-detail-section>header span{color:var(--muted);font-size:12px;font-weight:700}.template-management-detail-section>header a{color:var(--brand-strong);font-size:13px;font-weight:800;text-decoration:none}.template-management-identity-grid,.template-management-parameter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));margin:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.template-management-identity-grid>div,.template-management-parameter-grid>div{min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px}.template-management-identity-grid dt,.template-management-parameter-grid dt{margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:800}.template-management-identity-grid dd,.template-management-parameter-grid dd{margin:0;color:#26362f;font-size:13px;font-weight:700}.template-management-identity-grid dd.technical{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.template-management-integrity-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#435148;font-size:13px}.template-management-subtable-wrap{border:1px solid var(--line);border-radius:5px}.template-management-subtable{min-width:1080px}.template-management-subtable td,.template-management-subtable th{padding:9px 10px;font-size:12px}.template-management-subtable td{max-width:260px}.template-management-subtable td>a,.template-management-subtable td>code,.template-management-subtable td>span,.template-management-subtable td>strong{display:block;margin-bottom:5px}.template-management-version-list-table td:first-child{width:240px}.template-management-binding-table{min-width:1260px}.template-management-long-value{width:100%;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}.template-management-inline-link{color:var(--brand-strong);font-weight:800;text-decoration:none}.template-management-inline-link:hover{text-decoration:underline}.template-management-current-badge{margin-top:4px;border:1px solid #b8d6c8;border-radius:5px;background:#edf8f2;color:var(--brand-strong);font-size:11px;padding:3px 6px}.template-management-current-badge,.template-management-resolution{display:inline-flex!important;width:-moz-fit-content;width:fit-content;white-space:nowrap}.template-management-resolution{border:1px solid var(--line);border-radius:5px;font-size:12px;font-weight:800;padding:4px 7px}.template-management-resolution.resolution-resolved{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.template-management-resolution.resolution-unresolved{border-color:#e0b5b5;background:#fff0f0;color:var(--danger)}.template-management-binding-reason{max-width:220px;color:var(--danger);line-height:1.45}.template-management-inline-empty{color:var(--muted);font-size:13px;font-weight:700;padding:18px 4px}.template-management-hash-check{display:grid;grid-gap:10px;gap:10px}.template-management-hash-check>span{display:inline-flex;width:-moz-fit-content;width:fit-content;border:1px solid var(--line);border-radius:5px;font-size:12px;font-weight:800;padding:4px 7px}.template-management-hash-check>span.ok{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.template-management-hash-check>span.error{border-color:#e0b5b5;background:#fff0f0;color:var(--danger)}.template-management-hash-check>div:not(.notice){display:grid;grid-template-columns:72px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center}.template-management-hash-check code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}.template-management-snapshot-json{max-height:560px;margin:0;overflow:auto;border:1px solid var(--line);border-radius:5px;background:#f8faf8;color:#26362f;font-size:12px;line-height:1.55;padding:14px;-moz-tab-size:2;tab-size:2}.template-management-binding-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));margin-bottom:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}.template-management-binding-summary>div{display:grid;grid-gap:4px;gap:4px;border-right:1px solid var(--line);padding:11px 14px}.template-management-binding-summary>div:last-child{border-right:0}.template-management-binding-summary span{color:var(--muted);font-size:12px;font-weight:700}.template-management-binding-summary strong{font-size:20px}.template-management-binding-summary .warning strong{color:var(--danger)}.template-management-binding-filter-panel{margin-bottom:12px;padding:12px}.template-management-binding-filter-panel form{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(5,minmax(130px,1fr)) auto;grid-gap:8px;gap:8px;align-items:end}.template-management-binding-filter-panel label{display:grid;grid-gap:5px;gap:5px;min-width:0;color:#34423a;font-size:12px}.template-management-binding-filter-panel input,.template-management-binding-filter-panel select{min-height:38px;padding:8px 9px;font-size:13px}.template-management-binding-list-section{padding:0}.template-management-topbar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.template-management-mode-badge,.template-management-preflight-badge{display:inline-flex;align-items:center;min-height:32px;border:1px solid #d4bd7d;border-radius:6px;background:#fff8df;color:#765817;font-size:13px;font-weight:800;padding:6px 10px;white-space:nowrap}.template-management-preflight-badge.pass{border-color:#adc9be;background:#edf7f2;color:var(--brand-strong)}.template-management-preflight-badge.error{border-color:#e0b5b5;background:#fff0f0;color:var(--danger)}.template-management-thumbnail-cell{width:128px;min-width:128px}.template-management-schematic{display:grid;grid-gap:8px;gap:8px;min-width:0;margin:0}.template-management-schematic-stage{position:relative;display:grid;place-items:center;min-height:250px;border:1px solid #cfd8d2;border-radius:7px;background:#f5f7f6;padding:18px}.template-management-schematic-warning{position:absolute;z-index:5;top:7px;left:7px;border:1px solid #d5aeb3;border-radius:4px;background:rgba(255,255,255,.94);color:#8e3441;font-size:10px;font-weight:900;line-height:1.2;padding:3px 5px}.template-management-schematic.compact .template-management-schematic-warning{max-width:calc(100% - 10px);top:5px;left:5px;font-size:8px;padding:2px 3px}.template-management-schematic-canvas{position:relative;display:grid;place-items:center;width:min(88%,calc(220px * var(--template-preview-ratio)));max-width:260px;height:auto;max-height:300px;aspect-ratio:var(--template-preview-ratio);border:1px dashed #8d9a93;background:#fff;overflow:visible}.template-management-schematic figcaption{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.template-management-schematic figcaption strong{color:#9b3f4b}.template-management-schematic.compact{gap:4px;width:108px}.template-management-schematic.compact .template-management-schematic-stage{width:108px;min-height:84px;height:84px;padding:8px}.template-management-schematic.compact .template-management-schematic-canvas{width:min(86%,calc(66px * var(--template-preview-ratio)));max-width:76px;max-height:66px}.template-management-schematic.compact figcaption{display:grid;grid-gap:1px;gap:1px;width:108px;line-height:1.25}.template-management-keychain-shape{position:relative;width:68%;height:72%;margin-top:18%}.template-management-keychain-body{position:absolute;inset:16% 0 0;display:grid;place-items:center;border:3px solid #1d6a59;border-radius:42% 48% 44% 46%;background:#dcefe8}.template-management-keychain-body span{width:55%;height:55%;border-radius:50%;background:#f1b85b}.template-management-keychain-loop{position:absolute;z-index:2;top:-18%;left:50%;display:grid;place-items:center;width:30%;aspect-ratio:1;transform:translateX(-50%);border:3px solid #1d6a59;border-radius:50%;background:#dcefe8}.template-management-keychain-loop span{width:40%;aspect-ratio:1;border:2px solid #9b3f4b;border-radius:50%;background:#fff}.template-management-keychain-neck{position:absolute;z-index:1;top:0;left:50%;width:18%;height:25%;transform:translateX(-50%);border:2px solid #1d6a59;background:#dcefe8}.template-management-magnet-shape{display:grid;place-items:center;width:74%;height:74%;border:3px solid #9b3f4b;background:#f6dfe3;padding:9%}.template-management-schematic-art{display:grid;place-items:center;width:100%;height:100%;border:2px dashed #1d6a59;border-radius:6px;background:#fff;color:#526159;font-size:11px;font-weight:800}.template-management-bookmark-shape{position:relative;display:grid;grid-auto-rows:1fr;grid-gap:4%;gap:4%;width:68%;height:88%;border:3px solid #765817;border-radius:6px;background:#fff4cf;padding:12% 14%}.template-management-bookmark-hole{position:absolute;top:3%;left:50%;width:8%;aspect-ratio:1;border:1px solid #9b3f4b;border-radius:50%;background:#fff;transform:translateX(-50%)}.template-management-bookmark-shape span{min-height:2px;border:1px solid #bc8b2f;border-radius:3px;background:#fff}.template-management-schematic-generic{width:70%;height:70%;border:2px dashed #8d9a93;background:#edf1ef}.template-management-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-gap:16px;gap:16px;align-items:start}.template-management-editor-main,.template-management-editor-preview-sticky{display:grid;grid-gap:12px;gap:12px}.template-management-editor-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;padding:14px}.template-management-editor-preview-sticky>header,.template-management-editor-section>header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:12px}.template-management-binding-create h2,.template-management-editor-preview-sticky h2,.template-management-editor-section h2,.template-management-version-bind-panel h2{margin:0;font-size:16px}.template-management-editor-preview-sticky header span,.template-management-editor-section header span{color:var(--muted);font-size:12px;font-weight:700}.template-management-product-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:0;gap:0;margin-bottom:12px;border:1px solid #bcc9c2;border-radius:7px;overflow:hidden}.template-management-product-segments button{min-height:38px;border:0;border-right:1px solid #bcc9c2;border-radius:0;background:#fff;color:#435148}.template-management-product-segments button:last-child{border-right:0}.template-management-product-segments button.active{background:#e6f2ed;color:var(--brand-strong)}.template-management-product-segments button:disabled{cursor:default;opacity:1}.template-management-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));grid-gap:10px;gap:10px}.template-management-audit-filter label,.template-management-binding-create label,.template-management-compare-picker label,.template-management-editor-grid>label,.template-management-version-bind-panel label{display:grid;grid-gap:5px;gap:5px;min-width:0;color:#34423a;font-size:12px;font-weight:700}.template-management-audit-filter select,.template-management-binding-create select,.template-management-compare-picker select,.template-management-editor-grid input,.template-management-editor-grid select,.template-management-version-bind-panel select{min-height:40px}.template-management-editor-checkbox{display:flex!important;min-height:40px;align-items:center;gap:8px!important;border:1px solid var(--line);border-radius:7px;background:#fafcfa;padding:8px 10px}.template-management-editor-checkbox input{width:17px;height:17px;min-height:0}.template-management-editor-boundary{display:grid;grid-gap:6px;gap:6px;border:1px solid #d4bd7d;border-radius:7px;background:#fff9e8;color:#5e4b21;padding:12px 14px}.template-management-editor-boundary>span{font-size:13px}.template-management-editor-boundary>div{display:flex;flex-wrap:wrap;gap:8px}.template-management-editor-boundary>div span{border:1px solid #d4bd7d;border-radius:5px;background:#fff;font-size:11px;font-weight:800;padding:4px 7px}.template-management-editor-actions{display:flex;justify-content:flex-end;gap:8px}.template-management-editor-preview-sticky{position:-webkit-sticky;position:sticky;top:12px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:14px}.template-management-editor-preview-sticky dl{display:grid;grid-gap:0;gap:0;margin:0;border-top:1px solid var(--line)}.template-management-editor-preview-sticky dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);grid-gap:8px;gap:8px;border-bottom:1px solid var(--line);padding:8px 0}.template-management-editor-preview-sticky dt{color:var(--muted);font-size:11px;font-weight:800}.template-management-editor-preview-sticky dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.template-library-head{align-items:flex-end;border-bottom:1px solid var(--line);padding-bottom:14px}.template-library-create-button{min-height:42px;padding-inline:18px}.template-library-category-tabs{display:flex;gap:0;overflow-x:auto;margin:14px 0 0;border-bottom:1px solid #cfd8d2}.template-library-group-bar{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.template-library-group-bar .template-library-category-tabs{margin-top:0}.template-library-category-tabs a{min-width:108px;border-bottom:3px solid transparent;color:#4b5a52;font-size:14px;font-weight:800;padding:11px 16px 9px;text-align:center;white-space:nowrap}.template-library-category-tabs a.active{border-bottom-color:#1d6a59;color:#145246}.template-library-category-tabs a small{display:inline-grid;min-width:20px;min-height:20px;place-items:center;margin-left:7px;border:1px solid #d4e3dd;border-radius:999px;background:#f5faf8;color:#60736a;font-size:10px}.template-library-group-manager{justify-self:end;position:relative}.template-library-group-manager>summary{cursor:pointer;list-style:none;border:1px solid #9dbeb3;border-radius:6px;background:#fff;color:#185f50;font-size:12px;font-weight:800;padding:7px 12px}.template-library-group-manager>summary::-webkit-details-marker{display:none}.template-library-group-manager-panel{display:grid;width:min(620px,calc(100vw - 48px));grid-gap:10px;gap:10px;margin-top:8px;border:1px solid #cbdcd5;border-radius:8px;background:#fff;box-shadow:0 12px 30px rgb(31 70 57/12%);padding:12px}.template-library-group-create,.template-library-group-row,.template-library-group-row>form{display:flex;align-items:flex-end;gap:8px}.template-library-group-create label{display:grid;flex:1 1;grid-gap:4px;gap:4px;color:#536159;font-size:11px;font-weight:800}.template-library-group-create input,.template-library-group-row input{min-height:36px}.template-library-group-list{display:grid;grid-gap:7px;gap:7px;max-height:248px;overflow-y:auto}.template-library-group-row{align-items:center;justify-content:space-between;border-top:1px solid #edf2ef;padding-top:7px}.template-library-group-row>form:first-child{flex:1 1}.template-library-group-row input{flex:1 1;min-width:120px}.template-library-group-empty,.template-library-group-row span{color:var(--muted);font-size:11px}.template-library-group-empty{margin:0}.template-library-tools{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin:12px 0 14px}.template-library-tools form{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(130px,.8fr)) auto auto;grid-gap:8px;gap:8px;align-items:flex-end;flex:1 1}.template-library-tools label{display:grid;grid-gap:4px;gap:4px;color:#536159;font-size:11px;font-weight:800}.template-library-tools input,.template-library-tools select{min-height:38px}.template-library-tools>span{color:var(--muted);font-size:12px;font-weight:800;padding-bottom:10px;white-space:nowrap}.template-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.template-library-card{--template-library-thumb-width:144px;display:grid;grid-template-columns:var(--template-library-thumb-width) minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #cfd8d2;border-radius:8px;background:#fff}.template-library-thumbnail{display:grid;align-items:stretch;align-self:stretch;justify-self:stretch;width:100%;min-width:var(--template-library-thumb-width);max-width:var(--template-library-thumb-width);height:100%;box-sizing:border-box;border-right:1px solid #dce3df;background:#f4f7f5;padding:10px}.template-library-thumbnail .template-management-schematic.compact,.template-library-thumbnail .template-management-schematic.compact .template-management-schematic-stage,.template-library-thumbnail .template-management-schematic.compact figcaption{width:100%;min-width:0}.template-library-thumbnail .template-management-schematic.compact .template-management-schematic-stage{height:112px}.template-library-thumbnail .template-management-schematic.compact figcaption strong{font-size:10px;line-height:1.25}.template-library-card-body{display:grid;grid-gap:10px;gap:10px;min-width:0;padding:12px}.template-library-card-heading{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.template-library-card-heading>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.template-library-card-heading strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.template-library-card-heading code{overflow:hidden;color:#718078;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.template-library-card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px 12px;gap:7px 12px;margin:0}.template-library-card-facts>div{min-width:0}.template-library-card-facts dt{color:var(--muted);font-size:10px;font-weight:800}.template-library-card-facts dd{overflow:hidden;margin:2px 0 0;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.template-library-card-actions,.template-library-card-meta{display:flex;justify-content:space-between;gap:8px;align-items:center}.template-library-card-meta{border-top:1px solid #edf0ee;color:var(--muted);font-size:11px;padding-top:8px}.template-library-card-actions{justify-content:flex-end}.template-library-card-actions form{display:flex;margin:0}.template-library-card-actions>span{color:var(--muted);font-size:11px}.template-library-empty{display:grid;min-height:280px;place-items:center;align-content:center;grid-gap:8px;gap:8px;border:1px dashed #bcc9c2;background:#f8faf9;color:var(--muted)}.template-management-create-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:18px}.template-management-create-choices>a{display:grid;grid-gap:14px;gap:14px;min-width:0;border:1px solid #cbd6d0;border-radius:8px;background:#fff;padding:16px}.template-management-create-choices>a:hover{border-color:#6b9f91;box-shadow:0 10px 24px rgba(35,66,57,.1)}.template-management-create-choices>a>div{display:grid;grid-gap:6px;gap:6px}.template-management-create-choices>a>div strong{color:var(--ink);font-size:18px}.template-management-create-choices>a>div span{color:var(--muted);font-size:13px;line-height:1.55}.template-management-create-choices>a>b{color:#1767b7;font-size:13px}.template-blank-create-page{gap:16px}.template-create-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.template-create-flow>div{display:flex;align-items:center;gap:10px;border:1px solid #d8e1dd;border-radius:999px;background:#fff;color:#7a8b84;padding:10px 14px}.template-create-flow strong{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#edf3f1;color:#527166;font-size:13px}.template-create-flow span{font-size:13px;font-weight:900}.template-create-flow>div.active,.template-create-flow>div.done{border-color:#93c5b8;background:#f1fbf8;color:#1d6a59}.template-create-flow>div.active strong,.template-create-flow>div.done strong{background:#1d6a59;color:#fff}.template-create-flow-studio{border-bottom:1px solid #dbe7e2;background:#f8fbfa;padding:8px 14px}.template-blank-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.template-blank-create-grid.single{grid-template-columns:minmax(320px,720px)}.template-blank-create-card{display:grid;grid-template-rows:auto 1fr;min-width:0;border:1px solid #cbd6d0;border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(35,66,57,.08);overflow:hidden}.template-blank-canvas-card{grid-template-columns:260px 1fr;grid-template-rows:auto}.template-blank-create-preview{display:grid;place-items:center;min-height:190px;background:linear-gradient(180deg,#f8faf9,#eef6f3);padding:14px}.template-blank-canvas-preview{min-height:100%}.template-blank-canvas-frame{display:grid;place-items:center;grid-gap:8px;gap:8px;width:180px;aspect-ratio:1;border:2px dashed #9fc9bf;border-radius:18px;background:linear-gradient(45deg,rgba(23,126,108,.06) 25%,transparent 0),linear-gradient(-45deg,rgba(23,126,108,.06) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(23,126,108,.06) 0),linear-gradient(-45deg,transparent 75%,rgba(23,126,108,.06) 0);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px;color:#1d6a59;text-align:center}.template-blank-canvas-frame span{font-size:18px;font-weight:900}.template-blank-canvas-frame small{color:#6c8178;font-size:12px;font-weight:800}.template-blank-create-preview .template-management-schematic.compact,.template-blank-create-preview .template-management-schematic.compact .template-management-schematic-stage,.template-blank-create-preview .template-management-schematic.compact figcaption{width:100%}.template-blank-create-body{display:grid;align-content:start;grid-gap:12px;gap:12px;padding:16px}.template-blank-create-body>div:first-child{display:grid;grid-gap:5px;gap:5px}.template-blank-create-body strong{color:var(--ink);font-size:18px}.template-blank-create-body p,.template-blank-create-body span{color:var(--muted);font-size:12px;line-height:1.55;margin:0}.template-blank-create-body label{display:grid;grid-gap:5px;gap:5px}.template-blank-create-body input{width:100%}.template-blank-size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.template-blank-create-card button{justify-self:start}.template-management-studio .fixed-layout-editor-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.template-management-studio-boundary{display:flex;gap:12px;align-items:center;border-bottom:1px solid #dfc888;background:#fff9e8;color:#624f24;padding:7px 14px}.template-management-studio-boundary strong{flex:0 0 auto;font-size:12px}.template-management-studio-boundary span{font-size:11px;font-weight:700}.template-library-card-group-form{display:flex;align-items:flex-end;gap:7px;border-top:1px solid #edf0ee;padding-top:8px}.template-library-card-group-form label{display:grid;flex:1 1;min-width:0;grid-gap:3px;gap:3px;color:var(--muted);font-size:10px;font-weight:800}.template-library-card-group-form select{width:100%;min-width:0;min-height:32px;padding-block:4px}.template-management-canvas-label{display:inline-flex;margin-top:4px;color:#9b3f4b;font-size:11px;font-style:normal;font-weight:900}.template-management-studio-rules{display:grid;grid-gap:0;gap:0;margin:-12px}.template-management-studio-rules>section{display:grid;grid-gap:9px;gap:9px;border-bottom:1px solid #e3e7e5;padding:13px 12px}.template-management-studio-rules>section>header{display:grid;grid-gap:2px;gap:2px}.template-management-studio-rules>section>header strong{font-size:14px}.template-management-studio-rules>section>header span{color:var(--muted);font-size:11px}.template-management-combination-version-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));grid-gap:8px;gap:8px;max-height:260px;overflow:auto;padding-right:4px}.template-management-combination-version-card{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #cddbd5;border-radius:10px;background:#fff;padding:9px 10px}.template-management-combination-version-card input{flex:0 0 auto}.template-management-combination-version-card span{display:grid;min-width:0;grid-gap:2px;gap:2px}.template-management-combination-version-card em,.template-management-combination-version-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-management-combination-version-card strong{color:#173b32;font-size:13px}.template-management-combination-version-card em{color:var(--muted);font-size:11px;font-style:normal}.template-management-studio-dialog{position:fixed;z-index:200;inset:0;display:grid;place-items:center;background:rgba(22,30,27,.58);padding:20px}.template-management-studio-dialog>div{display:grid;grid-gap:14px;gap:14px;width:min(520px,100%);max-height:calc(100svh - 40px);overflow:auto;border:1px solid #cbd6d0;border-radius:8px;background:#fff;padding:16px}.template-management-studio-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.template-management-studio-dialog header>div{display:grid;grid-gap:3px;gap:3px}.template-management-studio-dialog header span,.template-management-studio-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.layer-delete-confirm-dialog>div{width:min(390px,100%);gap:12px;border-color:#efc6ce;padding:15px;box-shadow:0 18px 50px rgba(70,18,31,.22)}.layer-delete-confirm-heading{display:grid!important;grid-template-columns:36px minmax(0,1fr);grid-gap:10px!important;gap:10px!important;align-items:center!important}.layer-delete-confirm-heading>div{display:grid;grid-gap:3px;gap:3px}.layer-delete-confirm-heading strong{color:#771c34;font-size:16px}.layer-delete-confirm-icon{display:grid;width:36px;height:36px;place-items:center;border:1px solid #e58ba0;border-radius:50%;background:#fff1f4;color:#b52f50;font-size:19px;font-weight:900}.layer-delete-confirm-target{display:grid;grid-gap:2px;gap:2px;border-left:3px solid #d94b6b;background:#fff7f9;padding:9px 11px}.layer-delete-confirm-target span{color:var(--muted);font-size:11px}.layer-delete-confirm-target strong{color:#541326;line-height:1.35;overflow-wrap:anywhere}.layer-delete-confirm-actions{display:flex;justify-content:flex-end;gap:8px}.layer-delete-confirm-actions .button{min-width:88px}.layer-delete-confirm-submit{border-color:#bd3656;background:#bd3656;color:#fff}.layer-delete-confirm-submit:focus-visible,.layer-delete-confirm-submit:hover{border-color:#9f2946;background:#9f2946}.template-management-studio-live-checks{display:grid;border:1px solid #dce3df}.template-management-studio-live-checks>div{display:grid;grid-template-columns:62px minmax(0,1fr);grid-gap:8px;gap:8px;border-bottom:1px solid #e7ebe9;padding:9px 10px;font-size:12px}.template-management-studio-live-checks>div:last-child{border-bottom:0}.template-management-studio-live-checks .passed strong{color:#1d6a59}.template-management-studio-live-checks .failed strong{color:#a23f49}@media (max-width:1320px){.template-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-library-tools form{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(120px,1fr)) auto auto}.template-library-tools form label:nth-of-type(4){display:none}}@media (max-width:800px){.template-library-card-meta,.template-library-tools{align-items:stretch;flex-direction:column}.template-blank-create-grid,.template-create-flow,.template-library-grid,.template-library-tools form,.template-management-create-choices{grid-template-columns:1fr}.template-library-card{--template-library-thumb-width:116px}.template-library-group-manager{justify-self:stretch}.template-library-group-manager>summary{text-align:center}.template-library-group-manager-panel{width:auto}.template-library-group-create,.template-library-group-row,.template-library-group-row>form{align-items:stretch;flex-wrap:wrap}.template-blank-canvas-card{grid-template-columns:1fr}.template-management-studio.fixed-layout-studio{height:auto;min-height:100svh;overflow:visible}.template-management-studio .fixed-layout-editor-shell{overflow:visible}.template-management-studio-boundary{align-items:flex-start;flex-direction:column;gap:3px}}.template-management-detail-hero{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);grid-gap:18px;gap:18px;align-items:center;margin-bottom:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;padding:14px}.template-management-detail-hero>div{display:grid;grid-gap:8px;gap:8px}.template-management-detail-hero>div strong{font-size:17px}.template-management-binding-create p,.template-management-detail-hero p,.template-management-version-bind-panel p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.template-management-detail-hero>div span{width:-moz-fit-content;width:fit-content;border:1px solid #d4bd7d;border-radius:5px;background:#fff9e8;color:#765817;font-size:12px;font-weight:800;padding:5px 8px}.template-management-binding-create,.template-management-version-bind-panel{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);grid-gap:18px;gap:18px;align-items:end;margin-bottom:14px;border-top:1px solid #adc9be;border-bottom:1px solid #adc9be;background:#f5faf7;padding:14px}.template-management-binding-create>div,.template-management-version-bind-panel>div{display:grid;grid-gap:5px;gap:5px}.template-management-binding-create form,.template-management-version-bind-panel form{display:grid;grid-template-columns:minmax(200px,1fr) minmax(220px,1.2fr) auto;grid-gap:8px;gap:8px;align-items:end}.template-management-version-bind-panel form{grid-template-columns:minmax(240px,1fr) auto}.cutline-size-choice-grid{display:flex;flex-wrap:wrap;gap:5px}.cutline-size-choice-grid button{max-width:100%;min-height:30px;border:1px solid #d8b1bd;border-radius:5px;background:#fff7fa;color:#7a1630;cursor:pointer;padding:5px 8px;font-size:12px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.cutline-asset-picker-dialog>div{width:min(660px,100%);gap:9px;overflow-x:hidden;padding:12px}.cutline-asset-picker-dialog header{align-items:center}.cutline-asset-picker-grid{display:grid;grid-gap:6px;gap:6px}.cutline-asset-picker-card{display:grid;grid-template-columns:minmax(135px,.75fr) minmax(100px,.6fr) minmax(290px,1.65fr);align-items:center;grid-gap:7px;gap:7px;min-width:0;border:1px solid #e4d3d8;border-radius:6px;padding:6px}.cutline-asset-picker-title{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;grid-gap:6px;gap:6px;min-width:0}.cutline-asset-picker-title strong{min-width:0;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.cutline-asset-picker-title img{display:block;width:40px;height:40px;max-width:100%;object-fit:contain}.cutline-custom-size-row{display:grid;grid-template-columns:minmax(62px,1fr) auto minmax(62px,1fr) auto;align-items:end;grid-gap:5px;gap:5px;padding-left:7px;border-left:1px solid #eadde1}.cutline-custom-size-row label{display:grid;grid-gap:2px;gap:2px;min-width:0;font-size:11px;color:#66565b}.cutline-custom-size-row input{width:100%;min-width:0;min-height:30px;padding:4px 6px}.cutline-custom-size-row .button{max-width:100%;min-height:30px;padding:5px 8px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}@media (max-width:680px){.cutline-asset-picker-card{grid-template-columns:1fr}.cutline-custom-size-row{padding-top:9px;padding-left:0;border-top:1px solid #eadde1;border-left:0}}@media (max-width:520px){.cutline-custom-size-row{grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr)}.cutline-custom-size-row button{grid-column:1/-1}}.cutline-size-choice-grid button:focus-visible,.cutline-size-choice-grid button:hover{border-color:#df567c;background:#fff0f5;outline:2px solid rgba(223,86,124,.18)}.template-management-combination-bind-panel{grid-template-columns:1fr;gap:10px;align-items:stretch;padding:12px}.template-management-combination-bind-panel form{grid-template-columns:minmax(210px,270px) minmax(0,1fr) minmax(130px,auto);gap:10px;align-items:end}.template-management-combination-bind-panel .template-management-studio-rules{margin:0}.template-management-combination-bind-panel .template-management-studio-rules>section{gap:6px;border:0;padding:0}.template-management-combination-bind-panel .template-management-studio-rules>section>header{grid-template-columns:auto 1fr;align-items:baseline;column-gap:8px}.template-management-combination-bind-panel .template-management-studio-rules>section>header strong{font-size:13px}.template-management-combination-bind-panel .template-management-combination-version-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));grid-gap:5px;gap:5px;max-height:none;overflow:visible;padding:0}.template-management-combination-bind-panel .template-management-combination-version-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;grid-gap:6px;gap:6px;border-radius:8px;padding:4px 6px}.template-management-combination-bind-panel .template-management-combination-version-card input{min-height:26px}.template-management-combination-bind-panel .template-management-combination-version-card>label{display:flex;align-items:center;gap:5px;min-width:0;color:#173b32;font-size:11px;font-weight:700}.template-management-combination-bind-panel .template-management-combination-version-card>label>input{width:14px;height:14px;min-height:0;flex:0 0 auto}.template-management-combination-bind-panel .template-management-combination-version-card>input{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:3px 6px;font-size:11px}.template-management-combination-bind-panel .template-management-combination-version-card>label>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 5px;min-width:0}.template-management-combination-bind-panel .template-management-combination-version-card strong{max-width:none;font-size:11px}.template-management-combination-bind-panel .template-management-combination-version-card em{flex:0 0 auto;font-size:10px}.template-management-combination-bind-panel .template-management-combination-version-card small{color:#64748b;font-size:10px;font-weight:600}.template-management-combination-bind-panel .template-management-combination-version-card em,.template-management-combination-bind-panel .template-management-combination-version-card small,.template-management-combination-bind-panel .template-management-combination-version-card strong{overflow:visible;text-overflow:clip;white-space:normal}.template-management-combination-bind-panel button[type=submit]{min-height:36px;white-space:nowrap}.template-management-combination-display-form{display:grid;grid-gap:6px;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed #cbd5e1}.template-management-combination-display-form>div{display:grid;grid-gap:4px;gap:4px}.template-management-combination-display-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,128px) minmax(105px,135px) auto;align-items:center;grid-gap:5px;gap:5px;padding:4px 5px;border:1px solid #dbe7e1;border-radius:8px;background:#fff}.template-management-combination-display-row>input[type=hidden]{display:none}.template-management-combination-display-row>em,.template-management-combination-display-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-management-combination-display-row>span{color:#173b32;font-size:11px;font-weight:800}.template-management-combination-display-row>em{color:#64748b;font-size:10px;font-style:normal;font-weight:700}.template-management-combination-display-row>input:not([type=hidden]){min-height:26px;min-width:0;border:1px solid #cbd5e1;border-radius:7px;padding:3px 6px;font-size:11px}.template-management-combination-display-form button{min-height:30px;justify-self:end;padding:5px 10px;font-size:12px}.template-management-combination-display-row>button{min-height:26px;padding:3px 8px;color:#b42318}.template-management-preflight-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));margin-bottom:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.template-management-preflight-summary>div{display:grid;grid-gap:4px;gap:4px;border-right:1px solid var(--line);padding:11px 14px}.template-management-preflight-summary>div:last-child{border-right:0}.template-management-preflight-summary span{color:var(--muted);font-size:12px}.template-management-preflight-summary strong{font-size:19px}.template-management-preflight-list{display:grid;grid-gap:7px;gap:7px}.template-management-preflight-list>div{display:grid;grid-template-columns:60px minmax(0,1fr) minmax(100px,180px);grid-gap:10px;gap:10px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:9px 10px}.template-management-preflight-list>div>span{width:-moz-fit-content;width:fit-content;border-radius:5px;font-size:11px;font-weight:800;padding:4px 7px}.template-management-preflight-list .check-pass>span{background:#e8f5ee;color:var(--brand-strong)}.template-management-preflight-list .check-error>span{background:#fff0f0;color:var(--danger)}.template-management-preflight-list p{margin:3px 0 0;color:var(--muted);font-size:12px}.template-management-preflight-list code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}.template-management-publish-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #adc9be;border-radius:7px;background:#edf7f2;padding:12px 14px}.template-management-publish-bar>div{display:grid;grid-gap:3px;gap:3px}.template-management-publish-bar span{color:var(--muted);font-size:12px}.template-management-audit-filter,.template-management-compare-picker{margin-bottom:14px;padding:12px}.template-management-audit-filter form,.template-management-compare-picker form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;grid-gap:8px;gap:8px;align-items:end}.template-management-audit-filter form{grid-template-columns:minmax(220px,360px) auto;justify-content:start}.template-management-diff-table{min-width:1040px}.template-management-diff-table td{max-width:330px}.template-management-diff-table code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.template-management-diff-table [class^=diff-]{display:inline-flex;border-radius:5px;font-size:11px;font-weight:800;padding:4px 7px}.template-management-diff-table .diff-added{background:#e8f5ee;color:var(--brand-strong)}.template-management-diff-table .diff-removed{background:#fff0f0;color:var(--danger)}.template-management-diff-table .diff-changed{background:#fff8df;color:#765817}.template-management-audit-table{min-width:1180px}.template-management-audit-table td{max-width:300px}.template-management-audit-table td>code,.template-management-audit-table td>span,.template-management-audit-table td>strong{display:block;margin-bottom:4px}.template-management-audit-table code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}.template-management-audit-action{width:-moz-fit-content;width:fit-content;border:1px solid #adc9be;border-radius:5px;background:#edf7f2;color:var(--brand-strong);font-size:12px;font-weight:800;padding:4px 7px}.template-management-audit-json{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:8px}.template-management-audit-json pre{max-width:420px;max-height:320px;margin:0;overflow:auto;border:1px solid var(--line);border-radius:5px;background:#f8faf8;font-size:10px;padding:8px}.template-management-audit-compact{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line)}.template-management-audit-compact>div{display:grid;grid-template-columns:130px 180px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0;font-size:12px}.template-management-audit-compact code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526159;font-size:11px}@media (max-width:1180px){.template-management-summary{grid-template-columns:repeat(3,minmax(120px,1fr))}.template-management-summary-item:nth-child(3){border-right:0}.template-management-filter-panel form{grid-template-columns:repeat(4,minmax(130px,1fr))}.template-management-identity-grid,.template-management-parameter-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.template-management-binding-filter-panel form{grid-template-columns:repeat(3,minmax(160px,1fr))}.template-management-editor{grid-template-columns:minmax(0,1fr) 300px}.template-management-editor-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.template-management-binding-create,.template-management-version-bind-panel{grid-template-columns:1fr}.template-management-query-field{grid-column:span 2}}@media (max-width:720px){.template-management-boundary,.template-management-list-toolbar{align-items:stretch;flex-direction:column}.template-management-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.template-management-summary-item,.template-management-summary-item:nth-child(3){border-right:1px solid var(--line)}.template-management-summary-item:nth-child(2n){border-right:0}.template-management-filter-panel form{grid-template-columns:1fr}.template-management-detail-section>header,.template-management-hash-check>div:not(.notice){align-items:stretch;grid-template-columns:1fr}.template-management-detail-section>header{flex-direction:column}.template-management-binding-filter-panel form,.template-management-binding-summary,.template-management-identity-grid,.template-management-parameter-grid{grid-template-columns:1fr}.template-management-binding-summary>div{border-right:0;border-bottom:1px solid var(--line)}.template-management-binding-summary>div:last-child{border-bottom:0}.template-management-query-field{grid-column:auto}.template-management-filter-actions>*{flex:1 1}.template-management-pagination{justify-content:space-between}.template-management-publish-bar,.template-management-topbar-actions{align-items:stretch;flex-direction:column}.template-management-audit-filter form,.template-management-audit-json,.template-management-binding-create form,.template-management-compare-picker form,.template-management-detail-hero,.template-management-editor,.template-management-editor-grid,.template-management-preflight-summary,.template-management-version-bind-panel form{grid-template-columns:1fr}.template-management-editor-preview-sticky{position:static}.template-management-preflight-summary>div{border-right:0;border-bottom:1px solid var(--line)}.template-management-preflight-list>div{grid-template-columns:58px minmax(0,1fr)}.template-management-preflight-list code{grid-column:1/-1}.template-management-audit-compact>div{grid-template-columns:1fr}}.compact-readonly-grid{align-items:stretch}.readonly-field{display:grid;grid-gap:4px;gap:4px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:8px 9px}.readonly-field span{color:var(--muted);font-size:12px;font-weight:700}.readonly-field strong{font-size:13px;word-break:break-word}.status-pill{border:1px solid #b8d6c8;background:#edf8f2;color:var(--brand-strong);font-weight:700;padding:4px 8px;white-space:nowrap}.status-pill.warning{border-color:#ead48e;background:#fffbea;color:#7a5a00}.status-pill.danger{border-color:#f2c4c4;background:#fff5f5;color:#a53b3b}.status-pill.success{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.status-pill.active{border-color:var(--brand);background:var(--brand);color:#fff}.status-pill.muted{border-color:#d7dfdc;background:#f4f6f5;color:#60706b}.inline-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.fixed-layout-slots{display:grid;grid-gap:8px;gap:8px;overflow-x:auto}.fixed-layout-slots h3{margin:0;font-size:14px}.fixed-layout-admin-preview{display:grid;grid-gap:10px;gap:10px;border:1px solid #d9e7ee;border-radius:10px;background:#f7fbfd;padding:10px}.fixed-layout-template-card{display:grid;grid-gap:12px;gap:12px}.fixed-layout-template-card-body{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);grid-gap:12px;gap:12px;align-items:start}.fixed-layout-template-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:8px;gap:8px}.fixed-layout-admin-preview h3{margin:0;font-size:14px}.fixed-layout-admin-preview span{color:var(--muted);font-size:12px;font-weight:700}.fixed-layout-admin-canvas{position:relative;width:min(220px,100%);min-height:260px;overflow:hidden;border:1px solid #acd7e9;border-radius:8px;background:#eaf8ff}.fixed-layout-admin-canvas img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.fixed-layout-admin-slot{position:absolute;display:grid;place-items:center;border:1px solid var(--brand);background:rgba(255,255,255,.58);color:var(--brand-strong);font-size:10px;font-weight:800;line-height:1;transform-origin:center}.template-library-panel{gap:14px}.template-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.template-library-count{display:grid;justify-items:end;grid-gap:2px;gap:2px;color:#60746d;font-size:12px}.template-library-count strong{color:#123d32;font-size:24px;line-height:1}.template-category-tabs{display:flex;flex-wrap:wrap;gap:8px}.template-category-tab{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7e5df;border-radius:8px;color:#244a40;padding:7px 10px;text-decoration:none;background:#fff;font-size:13px}.template-category-tab.active{border-color:#167a63;background:#edf8f3;color:#0d5f4b}.template-category-tab strong{min-width:20px;padding:2px 6px;border-radius:999px;background:#edf3f0;color:#426258;font-size:11px;text-align:center}.template-bulk-actions,.template-library-filters{align-items:end}.template-bulk-form{margin:0}.template-bulk-actions{display:flex;flex-wrap:wrap;gap:10px;padding:10px;border:1px solid #e0ebe6;border-radius:8px;background:#f8fbf9}.template-bulk-select-control{min-height:34px}.template-library-table table{min-width:1180px}.template-library-table .template-library-thumbnail{position:relative;width:58px;max-height:78px;min-height:42px;overflow:hidden;border:1px solid #d5e5df;border-radius:6px;background:linear-gradient(45deg,#f8fbf9 25%,transparent 0),linear-gradient(-45deg,#f8fbf9 25%,transparent 0),linear-gradient(45deg,transparent 75%,#f8fbf9 0),linear-gradient(-45deg,transparent 75%,#f8fbf9 0);background-color:#eef6f2;background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.template-library-table .template-library-slot,.template-library-table .template-library-smart-slot,.template-library-table .template-library-thumbnail img{position:absolute}.template-library-table .template-library-thumbnail img{inset:0;width:100%;height:100%}.template-library-table .template-library-slot{border:1px solid rgba(22,122,99,.75);background:rgba(229,247,240,.5)}.template-library-table .template-library-smart-slot{border:1px solid rgba(230,48,80,.85);border-radius:999px;background:rgba(255,235,239,.5)}.template-category-form{display:flex;align-items:center;gap:6px}.template-category-form select{min-width:92px}.template-row-actions{align-items:center;gap:6px}.fixed-layout-studio-page{position:fixed;inset:0;z-index:1;display:flex;flex-direction:column;width:100%;max-width:100vw;height:100vh;min-height:100vh;padding:0;overflow:clip;background:#f4f6f8}.fixed-layout-studio-page .notice{flex:0 0 auto;margin:10px}.fixed-layout-studio-empty{display:flex;gap:12px;align-items:center;justify-content:center;min-height:100vh;border-radius:0}.fixed-layout-editor-form{display:grid;grid-gap:0;gap:0}.fixed-layout-editor-form.fixed-layout-studio{display:flex;flex-direction:column;height:100vh;min-height:0;overflow:hidden}.fixed-layout-studio-page .fixed-layout-editor-form.fixed-layout-studio{flex:1 1 auto;height:auto;min-height:0}.fixed-layout-editor-error{border:1px solid #f0b9b9;border-radius:8px;background:#fff5f5;color:#9e2f2f;font-size:13px;font-weight:800;line-height:1.45;padding:10px 12px}.fixed-layout-editor-warning{border:1px solid #ead48e;border-radius:8px;background:#fffbea;color:#7a5a00;font-size:13px;font-weight:800;line-height:1.45;padding:9px 11px}.fixed-layout-editor-warning-action{display:flex;gap:10px;align-items:center;justify-content:space-between}.fixed-layout-editor-warning-action span{min-width:0}.fixed-layout-editor-shell{display:grid;grid-template-columns:330px minmax(460px,1fr) 348px;grid-gap:0;gap:0;align-items:stretch;flex:1 1 auto;min-height:0;overflow:hidden;border-top:1px solid #d9dde3}.template-management-studio .fixed-layout-editor-shell{grid-template-columns:410px minmax(460px,1fr) 348px}.fixed-layout-editor-shell>*{min-height:0}.fixed-layout-editor-top-toolbar{position:relative;z-index:40;display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(180px,240px) minmax(360px,auto) auto;grid-gap:10px;gap:10px;align-items:center;border-bottom:1px solid #d9dde3;background:#fff;padding:9px 14px}.fixed-layout-editor-top-toolbar>div:first-child{display:grid;grid-gap:3px;gap:3px;min-width:0}.fixed-layout-editor-top-toolbar strong{overflow:hidden;color:var(--ink);font-size:18px;text-overflow:ellipsis;white-space:nowrap}.fixed-layout-studio-back{min-height:34px}.fixed-layout-studio-title-field{display:grid;grid-gap:3px;gap:3px;font-size:11px}.fixed-layout-studio-title-field input{min-height:34px;padding:6px 9px;font-size:14px;font-weight:800}.fixed-layout-studio-id{display:grid;grid-gap:3px;gap:3px;min-width:0;color:var(--muted);font-size:11px;font-weight:800}.fixed-layout-studio-id strong{overflow:hidden;color:#34423a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.fixed-layout-studio-canvas-fields{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));grid-gap:8px;gap:8px;align-items:end}.fixed-layout-studio-canvas-fields .editor-field{gap:3px}.fixed-layout-studio-canvas-fields .editor-field span{color:var(--muted);font-size:11px}.fixed-layout-studio-canvas-fields .editor-field input,.fixed-layout-studio-canvas-fields .editor-field select{min-height:34px;padding:6px 8px}.fixed-layout-editor-top-toolbar span{color:var(--muted);font-size:12px;font-weight:700}.fixed-layout-editor-top-actions,.fixed-layout-editor-top-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.fixed-layout-editor-top-actions{justify-content:flex-end}.template-management-studio .fixed-layout-editor-top-actions .button{min-height:36px;white-space:nowrap}.fixed-layout-editor-panel,.fixed-layout-editor-workspace{border:0;border-radius:0;background:#fff}.fixed-layout-editor-panel{display:grid;grid-gap:8px;gap:8px;align-content:start;padding:12px}.fixed-layout-studio-left{display:grid;grid-template-columns:68px minmax(0,1fr);height:100%;min-height:0;overflow:hidden;border-right:1px solid #d9dde3;background:#fff}.template-management-studio .fixed-layout-studio-left{grid-template-columns:150px minmax(0,1fr)}.template-studio-layer-tools{display:grid;align-content:start;grid-gap:8px;gap:8px;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-right:1px solid #e3e7eb;background:linear-gradient(180deg,#fbfffe,#f6faf9);padding:10px 8px}.template-studio-layer-tools header{display:grid;grid-gap:2px;gap:2px;border-bottom:1px solid #dbece8;padding-bottom:8px}.template-studio-layer-tools header strong{color:#0f766e;font-size:14px;font-weight:950}.template-studio-layer-tools header span{color:#63706d;font-size:11px;line-height:1.35}.template-studio-tool-group{display:grid;grid-gap:5px;gap:5px;border:1px solid #dce9e6;border-radius:12px;background:rgba(255,255,255,.88);padding:7px}.template-studio-tool-group em{color:#0f766e;font-size:11px;font-style:normal;font-weight:950}.template-studio-grid-toggle,.template-studio-tool-group .button,.template-studio-tool-group button{display:grid;min-height:30px;place-items:center;border:1px solid #cfe1dd;border-radius:9px;background:#ffffff;color:#145f55;cursor:pointer;font-size:11px;font-weight:900;line-height:1.2;padding:5px 7px;text-align:center;text-decoration:none}.template-studio-grid-toggle:hover,.template-studio-tool-group .button:hover,.template-studio-tool-group button:hover:not(:disabled){border-color:#82c8ba;background:#effbf8}.template-studio-grid-toggle.active,.template-studio-tool-group button.active{border-color:#12836f;background:#e6f7f3;color:#075f50}.template-studio-layer-tools .fixed-layout-tool-file{min-height:30px;font-size:11px;padding:5px 7px}.template-font-mini-list{display:flex;flex-wrap:wrap;gap:4px}.template-font-mini-list span{border:1px solid #f3c7d5;border-radius:999px;background:#fff5f8;color:#8a2548;font-size:10px;font-weight:800;max-width:96px;overflow:hidden;padding:2px 6px;text-overflow:ellipsis;white-space:nowrap}.template-font-library{display:grid;grid-gap:5px;gap:5px;max-height:136px;overflow:auto;border:1px solid #f3d4de;border-radius:10px;background:#fff8fb;padding:6px}.template-font-library-header,.template-font-library-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:5px;gap:5px}.template-font-library-header{color:#8a2548;font-size:10px;font-weight:900}.template-font-library-row{border-radius:8px}.template-studio-tool-group .template-font-library-remove,.template-studio-tool-group .template-font-library-sample{min-height:24px;padding:3px 6px;font-size:10px}.template-studio-tool-group .template-font-library-sample{overflow:hidden;justify-content:start;text-align:left;text-overflow:ellipsis;white-space:nowrap}.template-studio-tool-group .template-font-library-remove{border-color:#f6c7d1;color:#b42345}.template-library-head-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.template-font-library-page-panel{display:grid;grid-gap:14px;gap:14px}.template-font-library-page-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;grid-gap:12px;gap:12px}.template-font-library-upload span{min-height:38px;padding:8px 14px}.template-font-library-sample-input{display:grid;grid-gap:5px;gap:5px;color:#5b3141;font-size:12px;font-weight:800}.template-font-library-sample-input input{min-height:38px;border:1px solid #efd5de;border-radius:10px;padding:8px 10px}.template-font-library-count,.template-font-library-status{color:#8a2548;font-size:12px;font-weight:900}.template-font-library-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:12px;gap:12px}.template-font-library-card{display:grid;grid-gap:10px;gap:10px;border:1px solid #f2cbd7;border-radius:16px;background:#fff8fb;padding:12px}.template-font-library-card-preview{min-height:84px;display:grid;place-items:center;border:1px dashed #ee9aae;border-radius:12px;background:#fff;color:#172033;font-size:26px;line-height:1.2;padding:12px;text-align:center;word-break:break-word}.template-font-library-card label{display:grid;grid-gap:5px;gap:5px;color:#5b3141;font-size:12px;font-weight:800}.template-font-library-card input{min-height:34px;border:1px solid #efd5de;border-radius:9px;padding:7px 9px}.template-font-library-card dl{display:grid;grid-gap:4px;gap:4px;margin:0;color:#6b4a56;font-size:11px}.template-font-library-card dl div{display:grid;grid-template-columns:60px minmax(0,1fr);grid-gap:8px;gap:8px}.template-font-library-card dt{font-weight:900}.template-font-library-card dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-font-library-page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.template-font-library-empty{border:1px dashed #f2cbd7;border-radius:16px;background:#fff8fb;color:#8a2548;padding:24px;text-align:center;font-weight:800}@media (max-width:720px){.template-font-library-page-toolbar{grid-template-columns:1fr}}.fixed-layout-tool-rail{display:grid;align-content:start;grid-gap:4px;gap:4px;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-right:1px solid #e3e7eb;background:#f9fafb;padding:10px 6px}.fixed-layout-tool-rail .fixed-layout-tool-link,.fixed-layout-tool-rail button{display:grid;min-height:52px;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#586370;font-size:11px;font-weight:900;line-height:1.2;padding:7px 4px;text-align:center;text-decoration:none}.fixed-layout-tool-rail .fixed-layout-tool-link:hover,.fixed-layout-tool-rail button.active,.fixed-layout-tool-rail button:hover:not(:disabled){border-color:#acd0ff;background:#eef6ff;color:#1c6cd5}.fixed-layout-tool-rail button:disabled{cursor:not-allowed;opacity:.42}.template-layer-tool-section{display:grid;grid-gap:4px;gap:4px;border:1px solid #e2e9ef;border-radius:10px;background:#fff;padding:5px}.template-layer-tool-section>strong{color:#0f766e;font-size:10px;font-weight:950;letter-spacing:.04em;text-align:center}.fixed-layout-tool-rail .template-layer-tool-section button{min-height:34px;border-color:#e7edf2;background:#fbfcfd;font-size:10px;padding:4px 3px}.fixed-layout-tool-rail .template-layer-tool-section .template-asset-upload-tool{display:grid;min-height:34px;place-items:center;border:1px solid #8bd2c7;border-radius:8px;background:#eefbf8;color:#087568;cursor:pointer;font-size:10px;font-weight:900;line-height:1.2;padding:4px 3px;text-align:center}.template-asset-upload-tool input{display:none}.fixed-layout-tool-rail .template-layer-tool-section button:hover:not(:disabled){border-color:#8bd2c7;background:#eefbf8;color:#087568}.fixed-layout-advanced-tools{display:grid;grid-gap:6px;gap:6px}.fixed-layout-advanced-tools summary{display:grid;min-height:38px;place-items:center;border:1px dashed #cbd5df;border-radius:8px;background:#fff;color:#7b8794;cursor:pointer;font-size:12px;font-weight:900;list-style:none;padding:6px 4px}.fixed-layout-advanced-tools summary::-webkit-details-marker{display:none}.fixed-layout-advanced-tools button,.fixed-layout-advanced-tools[open] summary{border-color:#f2c68a;background:#fff9ee;color:#8a5a12}.fixed-layout-editor-panel-head,.fixed-layout-editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.fixed-layout-editor-panel-head h2,.fixed-layout-editor-toolbar h2{margin:0;font-size:15px}.fixed-layout-editor-panel-head span,.fixed-layout-editor-toolbar span{color:var(--muted);font-size:12px;font-weight:700}.fixed-layout-editor-workspace{display:flex;flex-direction:column;gap:0;min-height:0;min-width:0;overflow:hidden;padding:0;background:#f5f6f8}.fixed-layout-editor-toolbar{align-items:center;border-bottom:1px solid #e3e7eb;background:#fff;padding:9px 12px}.fixed-layout-editor-view-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.fixed-layout-editor-view-tools label:not(.checkbox-field){display:inline-flex;gap:6px;align-items:center;color:var(--muted);font-size:12px;font-weight:800}.fixed-layout-editor-view-tools select{min-height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:3px 8px}.fixed-layout-production-layer-switches{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-bottom:1px solid #e3e7eb;background:#fff;padding:8px 14px}.fixed-layout-production-layer-switches .checkbox-field{min-height:28px;border:1px solid #dfe8f3;border-radius:6px;background:#f8fbff;padding:4px 8px}.keychain-layout-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:center;border-bottom:1px solid #ead8bf;background:#fffaf2;padding:10px 14px}.keychain-layout-panel>div:first-child{display:grid;grid-gap:3px;gap:3px}.keychain-layout-panel strong{color:#7c3f00;font-size:13px}.keychain-layout-panel span{color:#765d42;font-size:12px;font-weight:800}.keychain-layout-panel>div:last-child{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.keychain-product-spec-panel{display:grid;grid-template-columns:1fr;align-items:stretch;grid-gap:10px;gap:10px;border-bottom-color:#cfdced;background:#f7faff;padding:12px 14px}.keychain-product-spec-panel>div:first-child,.keychain-product-spec-panel>div:last-child{display:flex}.keychain-product-spec-actions,.keychain-product-spec-heading,.keychain-product-spec-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.keychain-product-spec-heading{justify-content:space-between}.keychain-product-spec-heading>div{display:grid;grid-gap:2px;gap:2px}.keychain-product-spec-grid{display:grid;grid-template-columns:repeat(6,minmax(108px,1fr));grid-gap:8px;gap:8px}.keychain-product-spec-grid .field{margin:0}.keychain-product-spec-summary span{border:1px solid #d8e3f0;border-radius:6px;background:#fff;padding:5px 7px}.keychain-product-spec-message{border-left:3px solid #2f86ff;background:#fff;color:#32465e;font-size:12px;font-weight:700;padding:7px 9px}.keychain-advanced-details{border:1px solid #dbe3ec;border-radius:6px;background:#fff}.keychain-advanced-details summary{cursor:pointer;color:#526172;font-size:12px;font-weight:800;padding:8px 9px}.keychain-advanced-details>div{display:grid;grid-gap:7px;gap:7px;border-top:1px solid #e8edf3;padding:9px}.keychain-product-properties .editor-property-title{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #e1e8f0;padding-bottom:8px}.keychain-product-properties .editor-property-title strong{font-size:15px}.keychain-product-properties .editor-property-title span{color:#1767b7;font-size:12px;font-weight:800}.template-cutline-component-rules{display:grid;grid-gap:10px;gap:10px;grid-column:1/-1;border:1px solid #f0c8d2;border-radius:12px;background:#fff8fa;padding:10px}.template-cutline-direction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.template-processing-mode-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px;border:1px solid #dfe8e4;border-radius:10px;background:#fbfdfc;padding:8px}.template-processing-mode-checks>em,.template-processing-mode-checks>strong{grid-column:1/-1}.template-processing-mode-checks>strong{color:#123f38;font-size:12px}.template-processing-mode-checks>em{color:#6c7a74;font-size:11px;font-style:normal}.editor-checkbox.compact{min-height:30px;padding:5px 7px}.fixed-layout-editor-svg-cutline-component{position:absolute;display:grid;place-items:center;border:1px dashed rgba(230,0,18,.55);border-radius:8px;background:rgba(255,255,255,.72);box-shadow:0 0 0 1px rgba(255,255,255,.8);overflow:visible}.fixed-layout-editor-svg-cutline-component.selected{border-style:solid;box-shadow:0 0 0 2px rgba(230,0,18,.18)}.fixed-layout-editor-svg-cutline-component img{width:100%;height:100%;object-fit:contain;pointer-events:none}.fixed-layout-editor-svg-cutline-component span{position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);border-radius:999px;background:#e60012;color:#fff;font-size:10px;font-weight:900;line-height:1;padding:4px 7px;white-space:nowrap}.keychain-readonly-property input{background:#f5f7fa;color:#425165}.keychain-property-actions{display:flex;flex-wrap:wrap;gap:6px}@media (max-width:1200px){.keychain-product-spec-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}}.fixed-layout-editor-layer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.fixed-layout-editor-layer-actions button{min-height:30px;padding:6px 8px;font-size:12px}.fixed-layout-editor-layer-actions .editor-add-production-layer{grid-column:1/-1}.fixed-layout-editor-layer-actions button:disabled{cursor:not-allowed;opacity:.5}.editor-layer-row{display:grid;grid-template-columns:minmax(0,1fr) 40px 40px 42px;grid-gap:4px;gap:4px;align-items:stretch}.editor-production-layer-group{overflow:hidden;border:1px solid #dbe4e7;border-radius:8px;background:#ffffff}.editor-production-layer-group+.editor-production-layer-group{margin-top:8px}.editor-production-layer-group summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;padding:7px 9px;background:#f7faf9;color:var(--ink);font-size:12px;font-weight:900;list-style:none}.editor-production-layer-group summary::-webkit-details-marker{display:none}.editor-production-layer-group summary em{color:var(--muted);font-size:11px;font-style:normal;font-weight:700}.editor-production-layer-group .editor-layer-row{margin:4px 6px}.editor-production-layer-empty{padding:8px 10px 10px;color:var(--muted);font-size:12px}.editor-add-production-layer{position:relative;min-width:96px}.editor-add-production-layer summary{display:inline-flex;cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#f8faf9;padding:7px 10px;color:var(--ink);font-size:12px;font-weight:900;list-style:none}.editor-add-production-layer summary::-webkit-details-marker{display:none}.editor-add-production-layer div{position:absolute;z-index:30;display:grid;grid-gap:6px;gap:6px;min-width:132px;margin-top:6px;border:1px solid var(--line);border-radius:10px;background:#ffffff;padding:8px;box-shadow:0 12px 30px rgba(15,23,42,.12)}.editor-add-production-layer button{padding:7px 9px;font-size:12px;font-weight:800;text-align:left}.editor-add-production-layer button,.editor-layer,.editor-layer-delete,.editor-layer-eye,.editor-layer-lock{border:1px solid var(--line);border-radius:8px;background:#fbfcfb;color:var(--ink)}.editor-layer{display:grid;grid-gap:2px;gap:2px;min-height:44px;width:100%;justify-items:start;min-width:0;text-align:left;padding:6px 8px}.editor-layer span{max-width:100%;overflow:hidden;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.editor-layer em{display:-webkit-box;max-width:100%;overflow:hidden;color:var(--muted);font-size:11px;font-style:normal;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.editor-layer-row.active .editor-layer,.editor-layer.active{border-color:#6aa8ff;background:#eef6ff;color:#1459a8}.editor-layer.muted{color:var(--muted)}.editor-layer.production{border-color:#ead7a5;background:#fffdf7}.editor-production-layer-group.layer-group-colorWindow,.template-studio-canvas-cell.layer-group-colorWindow,.template-studio-tool-group.layer-group-colorWindow{--layer-group-border:#ead38c;--layer-group-background:#fffdf5;--layer-group-header:#fff5cf;--layer-group-card:#fffaf0;--layer-group-active:#fff2bd;--layer-group-accent:#c99822;--layer-group-ring:rgba(201,152,34,0.16)}.editor-production-layer-group.layer-group-color,.template-studio-canvas-cell.layer-group-color,.template-studio-tool-group.layer-group-color{--layer-group-border:#b8d5f0;--layer-group-background:#f8fcff;--layer-group-header:#e7f3ff;--layer-group-card:#f2f8ff;--layer-group-active:#e3f1ff;--layer-group-accent:#5696cd;--layer-group-ring:rgba(86,150,205,0.16)}.editor-production-layer-group.layer-group-whiteInk,.template-studio-canvas-cell.layer-group-whiteInk,.template-studio-tool-group.layer-group-whiteInk{--layer-group-border:#d5dce2;--layer-group-background:#fcfdfe;--layer-group-header:#f0f3f5;--layer-group-card:#f8fafb;--layer-group-active:#edf1f4;--layer-group-accent:#8795a1;--layer-group-ring:rgba(135,149,161,0.16)}.editor-production-layer-group.layer-group-cutline,.template-studio-canvas-cell.layer-group-cutline,.template-studio-tool-group.layer-group-cutline{--layer-group-border:#efbfc2;--layer-group-background:#fffafa;--layer-group-header:#ffebec;--layer-group-card:#fff4f4;--layer-group-active:#ffe7e8;--layer-group-accent:#d7787e;--layer-group-ring:rgba(215,120,126,0.16)}.editor-production-layer-group.layer-group-component,.template-studio-canvas-cell.layer-group-component,.template-studio-tool-group.layer-group-component{--layer-group-border:#b9dfcc;--layer-group-background:#f9fefb;--layer-group-header:#e7f7ee;--layer-group-card:#f1fbf5;--layer-group-active:#e1f5e9;--layer-group-accent:#63a982;--layer-group-ring:rgba(99,169,130,0.16)}.editor-production-layer-group.layer-group-back,.template-studio-canvas-cell.layer-group-back,.template-studio-tool-group.layer-group-back{--layer-group-border:#d0c6eb;--layer-group-background:#fcfaff;--layer-group-header:#f0ebfb;--layer-group-card:#f7f3fd;--layer-group-active:#ece5fa;--layer-group-accent:#927bc2;--layer-group-ring:rgba(146,123,194,0.16)}.editor-production-layer-group.layer-group-finish,.template-studio-canvas-cell.layer-group-finish,.template-studio-tool-group.layer-group-finish{--layer-group-border:#edc9ae;--layer-group-background:#fffaf7;--layer-group-header:#ffecdf;--layer-group-card:#fff5ee;--layer-group-active:#ffe8d8;--layer-group-accent:#cc8b5d;--layer-group-ring:rgba(204,139,93,0.16)}.editor-production-layer-group.layer-group-template,.template-studio-canvas-cell.layer-group-template,.template-studio-tool-group.layer-group-template{--layer-group-border:#b6dcdd;--layer-group-background:#f8fefe;--layer-group-header:#e4f6f6;--layer-group-card:#effafa;--layer-group-active:#def3f3;--layer-group-accent:#579fa1;--layer-group-ring:rgba(87,159,161,0.16)}.editor-production-layer-group.layer-group-style,.template-studio-canvas-cell.layer-group-style,.template-studio-tool-group.layer-group-style{--layer-group-border:#edc1d6;--layer-group-background:#fffafd;--layer-group-header:#fceaf3;--layer-group-card:#fff2f8;--layer-group-active:#fbe4ef;--layer-group-accent:#c7789e;--layer-group-ring:rgba(199,120,158,0.16)}.editor-production-layer-group.layer-group-text,.template-studio-canvas-cell.layer-group-text,.template-studio-tool-group.layer-group-text{--layer-group-border:#cedda7;--layer-group-background:#fcfef8;--layer-group-header:#f0f6df;--layer-group-card:#f7faed;--layer-group-active:#ebf3d5;--layer-group-accent:#8ca657;--layer-group-ring:rgba(140,166,87,0.16)}.editor-production-layer-group[class*=layer-group-]{border-color:var(--layer-group-border);background:var(--layer-group-background)}.editor-production-layer-group[class*=layer-group-] summary{border-bottom:1px solid var(--layer-group-border);background:var(--layer-group-header)}.editor-production-layer-group[class*=layer-group-] .editor-layer{border-color:var(--layer-group-border);background:var(--layer-group-card)}.editor-production-layer-group[class*=layer-group-] .editor-layer-row.active .editor-layer,.editor-production-layer-group[class*=layer-group-] .editor-layer.active{border-color:var(--layer-group-accent);background:var(--layer-group-active);color:var(--ink);box-shadow:0 0 0 2px var(--layer-group-ring)}.template-studio-canvas-cell[class*=layer-group-]{border-color:var(--layer-group-border)}.template-studio-canvas-cell[class*=layer-group-] .template-studio-canvas-cell-header{border-bottom-color:var(--layer-group-border);background:var(--layer-group-header)}.template-studio-canvas-cell[class*=layer-group-] .template-studio-canvas-cell-header strong{color:var(--ink)}.template-studio-canvas-cell[class*=layer-group-] .template-studio-canvas-cell-header span{border:1px solid var(--layer-group-border);background:var(--layer-group-card);color:var(--ink)}.template-studio-canvas-cell[class*=layer-group-].active{border-color:var(--layer-group-accent);box-shadow:0 0 0 2px var(--layer-group-ring)}.template-studio-tool-group[class*=layer-group-]{border-color:var(--layer-group-border);background:var(--layer-group-header)}.template-studio-tool-group[class*=layer-group-] em{color:var(--ink)}.template-studio-tool-group[class*=layer-group-] .button,.template-studio-tool-group[class*=layer-group-] .fixed-layout-tool-file,.template-studio-tool-group[class*=layer-group-] .template-studio-compact-option,.template-studio-tool-group[class*=layer-group-] button{border-color:var(--layer-group-border);background:var(--layer-group-card);color:var(--ink)}.template-studio-tool-group[class*=layer-group-] .button:hover,.template-studio-tool-group[class*=layer-group-] .fixed-layout-tool-file:hover,.template-studio-tool-group[class*=layer-group-] button.active,.template-studio-tool-group[class*=layer-group-] button:hover:not(:disabled){border-color:var(--layer-group-accent);background:var(--layer-group-active)}.template-studio-tool-group[class*=layer-group-] button.active{color:var(--ink);box-shadow:0 0 0 2px var(--layer-group-ring)}.editor-layer-delete,.editor-layer-eye,.editor-layer-lock{min-width:0;padding:4px 5px;font-size:11px}.editor-layer-delete{border-color:#f2c4c4;background:#fff5f5;color:#a53b3b}.fixed-layout-editor-canvas-stage{display:grid;flex:1 1 auto;min-height:0;place-items:center;overflow:auto;border:0;border-radius:0;background:radial-gradient(circle at 1px 1px,rgba(124,139,156,.14) 1px,transparent 0),#f2f4f6;background-size:20px 20px;padding:42px}.fixed-layout-editor-canvas-workspace{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:10px;overscroll-behavior:contain}.template-studio-canvas-grid-toolbar{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid #f2c7d3;border-radius:14px;background:rgba(255,255,255,.9);padding:8px 10px}.template-management-studio .template-studio-canvas-grid-toolbar{flex:0 0 auto;flex-wrap:nowrap;min-height:42px;padding:6px 8px}.template-management-studio .template-studio-canvas-grid-toolbar>div{display:flex;min-width:0;align-items:center;gap:8px}.template-management-studio .template-studio-canvas-grid-toolbar>div span{display:none}.template-management-studio .template-studio-opacity-control input{width:82px}.template-studio-canvas-grid-toolbar>div{display:grid;grid-gap:2px;gap:2px;min-width:190px}.template-studio-canvas-grid-toolbar strong{color:#7d1635;font-size:13px}.template-studio-canvas-grid-toolbar span{color:#7b6170;font-size:11px}.template-studio-opacity-control{display:flex;align-items:center;gap:7px;color:#5f4b57;font-size:11px;white-space:nowrap}.template-studio-opacity-control input{width:110px}.template-studio-opacity-control em{min-width:34px;color:#7d1635;font-style:normal;font-weight:800}.template-studio-layer-rules-card{display:grid;grid-column:1/-1;grid-gap:8px;gap:8px;border:1px solid #f0c8d5;border-radius:12px;background:rgba(255,247,250,.92);padding:10px}.template-studio-layer-rule-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));grid-gap:8px;gap:8px;grid-column:1/-1}.template-studio-layer-rule-row .editor-checkbox,.template-studio-layer-rule-row .editor-field{min-width:0}.template-studio-return-grid{margin-left:auto}.template-studio-canvas-grid{display:grid;flex:1 1 auto;min-height:0;grid-gap:6px;gap:6px;overflow:auto;overscroll-behavior:contain;padding:2px;touch-action:none}.template-studio-canvas-grid.focus-mode{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)!important;overflow:hidden;height:100%}.template-studio-canvas-cell{display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #efd1dc;border-radius:16px;background:rgba(255,255,255,.86)}.template-studio-canvas-cell.active{border-color:#ee5c8a;box-shadow:0 0 0 2px rgba(238,92,138,.18)}.template-studio-canvas-cell-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-bottom:1px solid rgba(239,209,220,.8);background:linear-gradient(90deg,rgba(255,245,248,.96),rgba(255,255,255,.88))}.template-studio-canvas-cell-header strong{overflow:hidden;color:#6b1730;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.template-studio-canvas-cell-header span{flex:0 0 auto;border-radius:999px;background:#fff0f5;color:#9c2f55;font-size:10px;font-weight:800;padding:2px 7px}.template-studio-canvas-cell .fixed-layout-editor-canvas-stage{min-height:0;overflow:hidden;padding:8px}.template-studio-canvas-grid:not(.focus-mode) .template-studio-canvas-cell .fixed-layout-editor-canvas-stage{min-width:0;min-height:0;width:100%;height:100%;box-sizing:border-box}.template-studio-canvas-grid:not(.focus-mode) .template-studio-canvas-cell{min-height:0}.template-studio-canvas-grid:not(.focus-mode) .template-studio-canvas-cell .fixed-layout-editor-canvas{max-width:100%;max-height:100%}.template-studio-canvas-grid:not(.focus-mode) .template-studio-canvas-cell{min-height:120px}.template-studio-canvas-grid.focus-mode .template-studio-canvas-cell{height:100%;min-height:0;overflow:hidden}.template-studio-canvas-grid.focus-mode .template-studio-canvas-cell .fixed-layout-editor-canvas-stage{width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;overflow:hidden;padding:16px}.template-studio-canvas-grid.focus-mode .template-studio-canvas-cell .fixed-layout-editor-canvas{max-width:100%;max-height:100%}@media (max-width:980px){.template-management-studio.fixed-layout-studio{height:auto;min-height:100svh;overflow:visible}.template-management-studio .fixed-layout-editor-shell{grid-template-columns:410px minmax(460px,1fr) 348px;height:520px;min-height:520px;overflow:hidden}.template-management-studio .fixed-layout-editor-workspace{height:520px;min-height:520px;overflow:hidden}.template-management-studio .template-studio-canvas-grid{min-height:520px}}.template-studio-viewport-status{flex:0 0 auto;border-radius:999px;background:#fff0f5;color:#9c2f55;font-size:11px;font-weight:900;padding:4px 9px;white-space:nowrap}.template-studio-grid-opacity-wrapper{position:absolute;inset:0;pointer-events:none}.template-studio-grid-opacity-wrapper>*{pointer-events:auto}.template-studio-grid-opacity-wrapper.reference>*{pointer-events:none!important}.template-studio-light-reference{position:absolute;display:grid;place-items:center;border:1px dashed rgba(225,29,72,.62);border-radius:8px;background:rgba(255,241,242,.22);color:rgba(156,47,85,.78);font-size:11px;font-weight:800;line-height:1.1;overflow:hidden;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.template-studio-light-reference span{max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-processing-mode-editor{display:grid;grid-gap:8px;gap:8px;margin:0;padding:10px;border:1px solid #efd4df;border-radius:10px;background:rgba(255,248,251,.72)}.editor-processing-mode-editor legend{padding:0 4px;color:#8d3e5c;font-size:12px;font-weight:800}.editor-processing-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.template-studio-canvas-empty{display:grid;min-height:240px;place-items:center;border:1px dashed #edb9c9;border-radius:16px;color:#9a5069;background:rgba(255,255,255,.72);font-weight:800}.fixed-layout-editor-canvas{position:relative;flex:0 0 auto;overflow:hidden;border:1px solid #b9c9d4;border-radius:6px;background:#eaf8ff;box-shadow:0 16px 40px rgba(41,50,62,.13);touch-action:none}.fixed-layout-editor-canvas.show-grid{background:linear-gradient(rgba(43,119,137,.12) 1px,transparent 0),linear-gradient(90deg,rgba(43,119,137,.12) 1px,transparent 0),#eaf8ff;background-size:18px 18px}.fixed-layout-editor-ruler{position:absolute;z-index:12;border-radius:999px;background:rgba(255,255,255,.94);color:#51606d;font-size:11px;font-weight:900;pointer-events:none}.fixed-layout-editor-ruler.horizontal{top:6px;left:50%;padding:3px 8px;transform:translateX(-50%)}.fixed-layout-editor-ruler.vertical{top:50%;left:6px;padding:8px 3px;writing-mode:vertical-rl;transform:translateY(-50%)}.fixed-layout-editor-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.keychain-layout-guides{position:absolute;inset:0;z-index:9;pointer-events:none}.keychain-layout-guide{position:absolute;display:grid;place-items:start center;box-sizing:border-box;padding:3px 6px;font-size:10px;font-weight:900;line-height:1;pointer-events:none}.keychain-layout-guide.product{place-items:start center;border:1px solid rgba(236,72,153,.64);background:rgba(255,228,238,.16);color:#b83272}.keychain-layout-guide.hole-center{place-items:center end;border-top:1px dashed rgba(236,72,153,.86);color:#b83272}.keychain-layout-guide.body{place-items:start end;border:1px dashed rgba(37,99,235,.78);background:rgba(219,234,254,.18);color:#1d4ed8}.keychain-layout-guide.safe{place-items:center;border-top:1px dashed rgba(217,119,6,.78);background:rgba(254,243,199,.3);color:#92400e}.fixed-layout-editor-slot{position:absolute;display:grid;place-items:center;border:1px solid rgba(17,125,107,.78);background:rgba(255,255,255,.52);color:var(--brand-strong);cursor:move;font-size:11px;font-weight:900;line-height:1;outline:1px solid rgba(255,255,255,.7);transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fixed-layout-editor-slot.selected{border:1px solid #2f86ff;background:rgba(230,244,255,.42);box-shadow:0 0 0 1px rgba(47,134,255,.36)}.fixed-layout-editor-slot.selected:before,.template-studio-canvas-text.selected:before{content:"";position:absolute;inset:-1px;border:1px solid #2f86ff;pointer-events:none}.fixed-layout-editor-slot.selected:after,.template-studio-canvas-text.selected:after{content:"";position:absolute;top:-4px;left:-4px;width:7px;height:7px;border:1px solid #2f86ff;border-radius:999px;background:#fff;pointer-events:none}.fixed-layout-editor-slot.smart{border-color:rgba(239,68,68,.88);background:rgba(255,242,242,.58);color:#9f2d2d}.fixed-layout-editor-slot.smart.selected{border-color:#ff4f62;box-shadow:0 0 0 1px rgba(255,79,98,.28)}.fixed-layout-editor-slot.locked{cursor:not-allowed;opacity:.72}.fixed-layout-editor-hole{position:absolute;display:grid;place-items:center;border:2px solid #ef4444;border-radius:999px;background:rgba(255,255,255,.16);outline:1px solid rgba(255,255,255,.82);cursor:pointer;pointer-events:auto;transform-origin:center}.fixed-layout-editor-hole span{display:block;width:38%;height:38%;border:1px dashed #ef4444;border-radius:999px;background:rgba(255,255,255,.4)}.fixed-layout-editor-hole.selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(47,134,255,.32)}.fixed-layout-editor-hole.locked{cursor:not-allowed;opacity:.8}.fixed-layout-editor-cutline-contour{position:absolute;display:grid;place-items:end center;border:2px dashed #ef4444;background:rgba(239,68,68,.04);color:#b91c1c;font-size:10px;font-weight:900;pointer-events:auto;cursor:pointer}.fixed-layout-editor-cutline-contour span{border-radius:999px;background:rgba(255,255,255,.88);padding:2px 6px;transform:translateY(50%)}.fixed-layout-editor-cutline-contour.selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(47,134,255,.25);color:#1459a8}.fixed-layout-editor-cutline-svg{position:absolute;overflow:visible;border:1px solid #ef4444;background:rgba(255,255,255,.08)}.fixed-layout-editor-cutline-svg img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;object-position:center;pointer-events:none}.fixed-layout-editor-cutline-svg.component{border:0;background:transparent;place-items:center}.fixed-layout-editor-cutline-svg.component img{mix-blend-mode:normal;filter:none}.fixed-layout-editor-cutline-svg.component.selected{border:1px dashed rgba(230,0,18,.9);background:rgba(230,0,18,.035);box-shadow:0 0 0 1px rgba(230,0,18,.16)}.fixed-layout-editor-cutline-contour.locked{cursor:not-allowed;opacity:.78}.fixed-layout-editor-slot span{border-radius:999px;background:rgba(255,255,255,.82);padding:3px 6px}.fixed-layout-editor-handle{position:absolute;right:-7px;bottom:-7px;width:13px;height:13px;border:2px solid #fff;border-radius:999px;background:#2f86ff;cursor:nwse-resize;pointer-events:auto;touch-action:none;z-index:80}.template-studio-canvas-color-window .fixed-layout-editor-handle,.template-studio-canvas-guide.template-asset-guide .fixed-layout-editor-handle,.template-studio-canvas-text .fixed-layout-editor-handle{right:2px;bottom:2px}.template-studio-object-image{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;pointer-events:none}.fixed-layout-editor-slot>span{position:relative;z-index:2;max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-studio-canvas-text{position:absolute;display:flex;align-items:flex-start;box-sizing:border-box;overflow:visible;border:0;cursor:move;line-height:1.2;padding:0;transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.template-studio-canvas-text>span{width:100%;overflow:visible;text-overflow:clip}.template-studio-canvas-text-svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.template-studio-inline-text-editor{width:auto;min-width:2.5em;height:auto;min-height:1.35em;box-sizing:border-box;border:1px dashed rgba(47,134,255,.72);border-radius:3px;background:rgba(255,255,255,.18);color:inherit;font:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;outline:2px solid rgba(255,255,255,.82);padding:0;resize:none;text-align:inherit}.template-studio-inline-text-editor.multiline{white-space:pre-wrap}.template-studio-canvas-text.selected{outline:1px solid #2f86ff;box-shadow:0 0 0 2px rgba(47,134,255,.2)}.template-studio-canvas-text.locked{cursor:not-allowed}.template-studio-canvas-guide{position:absolute;box-sizing:border-box;border:1px dashed #2d9c72;color:#167153;font-size:9px;pointer-events:auto;cursor:move}.template-studio-canvas-guide.selected{border-color:#2f86ff;box-shadow:0 0 0 2px rgba(47,134,255,.18)}.template-studio-canvas-guide.guide-bleed{border-color:#e05260;color:#a92937}.template-studio-canvas-guide>span{position:absolute;top:2px;left:3px;border-radius:3px;background:rgba(255,255,255,.86);padding:1px 3px}.template-studio-canvas-guide.template-asset-guide{display:grid;overflow:hidden;border-color:rgba(15,118,110,.75);background:rgba(255,255,255,.72)}.template-studio-canvas-guide.template-asset-guide img{width:100%;height:100%;object-fit:contain;opacity:.92;pointer-events:none}.template-studio-canvas-color-window{position:absolute;box-sizing:border-box;overflow:hidden;border:1px solid rgba(236,72,153,.74);border-radius:12px;color:#be185d;font-size:10px;opacity:.58;pointer-events:auto;cursor:move}.template-studio-canvas-color-window.selected{opacity:.78;border-color:#db2777;box-shadow:0 0 0 2px rgba(219,39,119,.15)}.template-studio-canvas-color-window.locked{cursor:not-allowed}.template-studio-canvas-color-window>span{position:absolute;top:3px;left:4px;z-index:2;border-radius:999px;background:rgba(255,255,255,.9);padding:1px 6px;pointer-events:none}.template-asset-document-preview{display:grid;height:100%;place-items:center;padding:8px;text-align:center}.template-asset-document-preview strong{border-radius:999px;background:#0f766e;color:#fff;font-size:12px;padding:4px 8px}.template-asset-document-preview em{max-width:100%;overflow:hidden;color:#475569;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.fixed-product-contour{inset:1.5%;border-style:solid;border-radius:8px;pointer-events:none}.template-studio-history-button{width:34px;min-width:34px;padding-inline:0;font-size:19px}.template-studio-snapshot-background,.template-studio-snapshot-background img,.template-studio-snapshot-canvas,.template-studio-snapshot-image img{width:100%;height:100%}.template-studio-snapshot-canvas{position:absolute;inset:0;overflow:hidden;background:#fff}.template-studio-snapshot-canvas>*{position:absolute;box-sizing:border-box;transform-origin:center}.template-studio-snapshot-background img,.template-studio-snapshot-image img{display:block}.template-studio-snapshot-image{display:grid;place-items:center;overflow:hidden;border:1px solid rgba(44,112,146,.72);background:rgba(220,240,248,.64);color:#2b627c;font-size:7px;font-weight:900}.template-studio-snapshot-image.smart{border-color:rgba(211,72,87,.78);background:rgba(255,231,234,.58);color:#9e3040}.template-studio-snapshot-text{overflow:hidden;line-height:1.15;white-space:pre-wrap}.template-studio-snapshot-guide{border:1px dashed #2d9c72}.template-studio-snapshot-guide.guide-bleed{border-color:#e05260}.template-studio-snapshot-contour{border:1px solid #df4757;border-radius:6px;pointer-events:none}.template-studio-snapshot-hole{border:1px solid #df4757;border-radius:50%;background:rgba(255,255,255,.55)}.fixed-layout-editor-properties{height:100%;min-height:0;overflow:auto;border-left:1px solid #d9dde3}.fixed-layout-studio-left>.fixed-layout-editor-layers{display:block;height:100%;max-height:100%;min-height:0;overflow-x:hidden;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#8a98a8 #edf2f5;scrollbar-width:auto;padding-right:8px}.fixed-layout-studio-left>.fixed-layout-editor-layers::-webkit-scrollbar{width:12px}.fixed-layout-studio-left>.fixed-layout-editor-layers::-webkit-scrollbar-track{border-radius:999px;background:#edf2f5}.fixed-layout-studio-left>.fixed-layout-editor-layers::-webkit-scrollbar-thumb{border:3px solid #edf2f5;border-radius:999px;background:#8a98a8}.fixed-layout-studio-left>.fixed-layout-editor-layers::-webkit-scrollbar-thumb:hover{background:#657384}.fixed-layout-editor-properties .fixed-layout-editor-layers{padding:12px}.fixed-layout-editor-properties .editor-layer-row{grid-template-columns:1fr auto}.fixed-layout-editor-properties .editor-layer-delete,.fixed-layout-editor-properties .editor-layer-lock{display:none}.fixed-layout-editor-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e3e7eb;background:#fff}.fixed-layout-editor-tabs button{min-height:46px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#4d5965;font-size:14px}.fixed-layout-editor-tabs button.active{border-bottom-color:#2f86ff;color:#1c6cd5}.template-studio-object-actions{display:grid;grid-gap:8px;gap:8px;border-bottom:1px solid #e3e7eb;background:#fbfcfd;padding:10px 12px}.template-studio-object-actions strong{overflow:hidden;color:#24313c;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.template-studio-object-actions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.template-studio-object-actions button{min-height:32px;border:1px solid #d4dce3;border-radius:6px;background:#fff;color:#334155;font-size:12px;font-weight:800;padding:5px 8px}.template-studio-object-actions button:hover:not(:disabled){border-color:#86b7ee;background:#f2f8ff;color:#1d63b7}.template-studio-object-actions button:disabled{cursor:not-allowed;opacity:.45}.template-studio-size-options{display:grid;grid-gap:7px;gap:7px;border:1px solid #f3c6d6;border-radius:10px;background:rgba(255,247,250,.86);padding:8px}.template-studio-size-options-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8a2e50;font-size:12px;font-weight:900}.template-studio-size-options-head strong{color:#364152;font-size:12px}.template-studio-size-manual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.template-studio-size-manual label{display:grid;grid-gap:3px;gap:3px;min-width:0;color:#7a435a;font-size:11px;font-weight:850}.template-studio-size-manual input{width:100%;min-width:0;height:30px;border:1px solid #e7ccd5;border-radius:7px;background:rgba(255,255,255,.95);color:#26323f;font-size:12px;font-weight:850;padding:4px 7px}.template-studio-size-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:5px;gap:5px}.template-studio-object-actions .template-studio-size-option-grid button{min-height:27px;border-radius:6px;font-size:11px;padding:3px 4px}.template-studio-size-options p{margin:0;color:#7a6170;font-size:11px;line-height:1.35}.editor-property-grid{display:grid;grid-gap:8px;gap:8px}.split-copy-editor-controls{display:grid;grid-gap:6px;gap:6px;padding:8px;border:1px solid #f6bfd0;border-radius:10px;background:#fff8fb}.split-copy-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.split-copy-editor-grid .editor-field{gap:3px}.split-copy-editor-grid .editor-field span{font-size:11px}.split-copy-layout-editor-controls{gap:8px}.split-copy-editor-layout{display:grid;grid-gap:8px;gap:8px}.split-copy-editor-summary{max-width:160px}.split-copy-arrange-tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:5px 6px;border:1px solid #f3ccd8;border-radius:8px;background:#fff}.split-copy-arrange-tools span{margin-right:2px;color:#7b4058;font-size:11px;font-weight:700;line-height:1}.split-copy-arrange-tools button{min-height:24px;padding:2px 7px;border:1px solid #e9b6c7;border-radius:999px;background:#fff8fb;color:#7b4058;cursor:pointer;font-size:11px;font-weight:700;line-height:1}.split-copy-arrange-tools button:hover:not(:disabled){border-color:#e94873;background:#fff0f5;color:#d72d60}.split-copy-arrange-tools button:disabled{cursor:not-allowed;opacity:.45}.split-copy-grid-arrange-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(68px,1fr));grid-gap:4px;gap:4px;align-items:end;padding:5px 6px;border:1px solid #f3ccd8;border-radius:8px;background:#fffafb}.split-copy-grid-arrange-tools label{display:grid;grid-gap:2px;gap:2px;min-width:0}.split-copy-grid-arrange-tools label span{color:#7b4058;font-size:10px;font-weight:700;line-height:1;white-space:nowrap}.split-copy-grid-arrange-tools input{width:100%;min-width:0;min-height:24px;padding:2px 5px;border:1px solid #f0cad6;border-radius:7px;background:#fff;color:#3f2430;font-size:11px}.split-copy-grid-arrange-tools button{min-height:24px;padding:2px 7px;border:1px solid #e0b9c6;border-radius:7px;background:#fff;color:#7b4058;cursor:pointer;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.split-copy-grid-arrange-tools button:hover:not(:disabled){border-color:#e94873;background:#fff0f5;color:#d72d60}.split-copy-grid-arrange-tools button:disabled{cursor:not-allowed;opacity:.45}.split-copy-layout-table{display:grid;grid-template-columns:34px repeat(4,minmax(42px,1fr));grid-gap:4px;gap:4px;align-items:center;overflow:hidden}.split-copy-layout-table span,.split-copy-layout-table strong{color:#7b4058;font-size:11px;line-height:1;text-align:center}.split-copy-layout-table input{width:100%;min-width:0;min-height:26px;padding:3px 5px;border:1px solid #f0cad6;border-radius:7px;background:#fff;color:#3f2430;font-size:11px}.split-copy-editor-note{margin:0;color:#8a6472;font-size:11px;line-height:1.45}.template-studio-split-copy-layout-overlay{position:absolute;display:grid;place-items:center;border:1.5px dashed #e94873;border-radius:8px;background:rgba(233,72,115,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}.template-studio-split-copy-layout-overlay.draggable{cursor:move}.template-studio-split-copy-layout-overlay.draggable:hover,.template-studio-split-copy-layout-overlay.selected{border-style:solid;background:rgba(233,72,115,.13);box-shadow:0 0 0 2px rgba(233,72,115,.12),inset 0 0 0 1px rgba(255,255,255,.85)}.template-studio-split-copy-layout-overlay.multi-selected{border-color:#1f7ae0;border-style:solid;background:rgba(31,122,224,.14);box-shadow:0 0 0 2px rgba(31,122,224,.16),inset 0 0 0 1px rgba(255,255,255,.85)}.template-studio-split-copy-layout-overlay.reference{filter:saturate(.85)}.template-studio-split-copy-layout-overlay span{min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e94873;color:#fff;font-size:10px;font-weight:800;line-height:16px;text-align:center}.template-studio-selection-marquee{position:absolute;z-index:2300;border:1px dashed #1f7ae0;border-radius:6px;background:rgba(31,122,224,.12);pointer-events:none}.template-studio-split-copy-group-box{position:absolute;z-index:2290;border:1px dashed #1f7ae0;border-radius:8px;background:rgba(31,122,224,.04);cursor:move;pointer-events:auto}.template-studio-split-copy-group-box>span{position:absolute;top:-18px;left:50%;transform:translateX(-50%);padding:2px 6px;border-radius:999px;background:#1f7ae0;color:#fff;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}.template-studio-split-copy-group-handle{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#1f7ae0;box-shadow:0 1px 4px rgba(0,0,0,.22);cursor:nwse-resize;pointer-events:auto}.editor-background-preview{display:grid;min-height:120px;place-items:center;overflow:hidden;border:1px dashed #c7dfe8;border-radius:8px;background:#f7fbfd;color:var(--muted);font-size:12px;font-weight:800}.editor-background-preview a,.editor-background-preview img{display:block;width:100%}.editor-background-preview img{max-height:180px;object-fit:contain}.editor-field{gap:5px}.editor-field input,.editor-field select{min-height:34px}.editor-checkbox{min-height:36px}.editor-checkbox.inline{min-height:30px;padding:0}.editor-property-note{display:grid;grid-gap:8px;gap:8px;border:1px solid #d9e7ee;border-radius:8px;background:#f7fbfd;padding:10px}.editor-property-note strong{font-size:14px}.editor-property-note em,.editor-property-note span{color:var(--muted);font-size:12px;font-style:normal;word-break:break-word}.compact-table{min-width:640px}.admin-page .compact-table td,.admin-page .compact-table th{padding:6px 8px;font-size:12px;vertical-align:top}@media (max-width:980px){.fixed-layout-editor-top-toolbar{grid-template-columns:1fr}.fixed-layout-studio-canvas-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fixed-layout-editor-top-actions{justify-content:flex-start}.fixed-layout-editor-toolbar{align-items:flex-start;flex-direction:column}.fixed-layout-editor-view-tools{justify-content:flex-start}}.admin-page .compact-table input,.admin-page .compact-table select{width:100%;min-width:72px;height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:4px 6px;font:inherit}.admin-page .compact-table td>input+input,.admin-page .compact-table td>select+input{margin-top:5px}.secondary-fields{grid-column:1/-1;border:1px dashed var(--line);border-radius:7px;background:#fff;padding:8px}.secondary-fields summary{cursor:pointer;color:var(--brand-strong);font-size:12px;font-weight:700}.secondary-fields[open] summary{margin-bottom:8px}.admin-page .checkbox-field{min-height:34px;padding:6px 8px}.admin-page .binding-board{grid-template-columns:minmax(220px,.9fr) minmax(250px,1fr) minmax(390px,1.5fr);gap:9px}.admin-page .binding-column{min-height:470px}.admin-page .binding-column>header{padding:10px 12px}.admin-page .binding-column h2{font-size:15px}.admin-page .binding-create{padding:8px 10px}.admin-page .binding-item{gap:4px;min-height:74px;padding:9px 11px}.admin-page .binding-item-link{gap:4px}.admin-page .binding-edit summary,.admin-page .binding-item span{font-size:12px}.admin-page .binding-mini-form{gap:8px;margin-top:8px;padding:9px}.production-profile-fields{display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;border:1px dashed #cfe0d7;border-radius:7px;background:#fbfffd;padding:8px}.production-profile-fields legend{color:var(--brand-strong);font-size:12px;font-weight:800;padding:0 4px}.admin-page .binding-form{grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;padding:10px 12px}.admin-page .compact-checkbox{min-height:34px}.admin-page .binding-template-list{gap:8px;padding:10px 12px}.admin-page .binding-template-card{gap:8px;padding:10px}.admin-page .binding-template-card h3{font-size:14px}.admin-page .binding-template-meta{gap:5px}.admin-page .binding-template-meta span{padding:3px 7px;font-size:12px}.import-step-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;margin-bottom:10px}.import-step-card{display:grid;grid-gap:4px;gap:4px;border:1px solid var(--line);border-radius:7px;background:#fff;color:inherit;padding:10px 12px;text-decoration:none}.import-step-card strong{font-size:13px}.import-step-card span{color:var(--muted);font-size:12px}.admin-page .import-preview-panel,.admin-page .product-import-upload{margin-bottom:10px;padding:12px}.admin-page .import-preview-panel h2,.admin-page .product-import-upload h2{margin:0;font-size:15px}.admin-page .import-preview-head{gap:10px}.admin-page .import-summary-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.admin-page .import-stat{gap:3px;padding:8px 10px}.admin-page .import-stat span{font-size:12px}.admin-page .import-stat strong{font-size:18px}.operation-filter-panel{gap:8px;margin-bottom:10px;padding:10px 12px}.operation-log-file{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.operation-log-file h2{margin:0;font-size:15px}.admin-page .operation-filter-form{grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) minmax(220px,1.2fr) auto auto;border-bottom:0;padding:0}.admin-page .operation-log-detail{min-width:280px}.admin-page .json-detail-grid{gap:8px;margin-top:8px}.admin-page .json-detail-grid pre{max-height:240px;padding:9px;font-size:11px}@media (max-width:900px){.import-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .binding-board,.admin-page .operation-filter-form{grid-template-columns:1fr}}.buyer-page{min-height:100svh;display:grid;grid-template-rows:auto auto auto 1fr auto;background:#fff2f3;overflow-x:hidden}.buyer-inline-warning{width:min(960px,calc(100vw - 28px));margin:10px auto 0;border:1px solid #ead2a8;border-radius:8px;background:#fff8e9;color:var(--warn);font-weight:700;padding:10px 12px;text-align:center}.preview-confirm-page{height:100svh;min-height:100svh;max-width:100%;overflow-x:hidden;overflow-y:auto}.buyer-step-bar{width:min(980px,calc(100vw - 32px));justify-self:center;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;padding:10px 0 4px}.buyer-step{min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #f1dfe2;border-radius:999px;background:rgba(255,255,255,.72);color:#7a6c70;font-size:12px;font-weight:800;padding:7px 8px}.buyer-step span{width:20px;height:20px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#f5e5e9;color:#7a6c70;font-size:11px}.buyer-step strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buyer-step.active{border-color:#ffacc4;background:#ffe7ee;color:#2d2d2d}.buyer-step.active span,.buyer-step.done span{background:var(--brand);color:#fff}.buyer-step.done{border-color:#b8d6c8;background:#edf8f2;color:var(--brand-strong)}.buyer-header{height:64px;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;border-bottom:1px solid #f1dfe2;background:#fff}.buyer-header h1{margin:0;text-align:center;font-size:22px;line-height:1}.buyer-admin-link{justify-self:center;color:var(--muted);font-size:14px;text-decoration:none}.buyer-stage{display:grid;align-items:start;justify-items:center;min-height:0;overflow:auto;padding:18px 20px 190px;scroll-padding-bottom:190px}.catalog-summary{width:min(980px,calc(100vw - 32px));justify-self:center;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:8px;gap:8px;padding:10px 14px;border-bottom:1px solid #f1dfe2;background:rgba(255,255,255,.86)}.catalog-summary div{display:grid;grid-gap:3px;gap:3px;min-width:0}.catalog-summary span{color:var(--muted);font-size:12px}.catalog-summary strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.catalog-selector label{color:var(--muted);font-size:12px}.catalog-selector select{width:100%;min-height:32px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:13px;font-weight:700;padding:4px 8px}.buyer-summary-card{width:min(980px,calc(100vw - 32px));justify-self:center;display:grid;grid-gap:10px;gap:10px;border:1px solid #f1dfe2;border-radius:12px;background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(88,56,66,.06);padding:12px 14px}.buyer-summary-selects{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.buyer-summary-selects label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:12px;font-weight:800}.buyer-summary-selects input,.buyer-summary-selects select{min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:800;padding:7px 10px}.buyer-field-hint{color:var(--muted);font-size:11px;font-style:normal;font-weight:700;line-height:1.35}.buyer-summary-facts{display:flex;flex-wrap:wrap;gap:8px}.buyer-summary-facts span{border:1px solid #e7f0ec;border-radius:999px;background:#f5fbf8;color:#24443b;font-size:13px;font-weight:800;padding:7px 10px}.buyer-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.buyer-summary-head div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;min-width:0}.buyer-summary-choice>span,.buyer-summary-head span{color:#895165;font-size:11px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.buyer-summary-head strong{color:#18392f;font-size:clamp(18px,2vw,24px);font-weight:950;line-height:1.1}.buyer-summary-head em{max-width:min(46vw,360px);overflow:hidden;color:#5c766f;font-size:12px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.buyer-summary-tile-groups{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;min-width:0}.buyer-summary-with-quantity{grid-template-columns:minmax(0,2fr) minmax(180px,.7fr);align-items:start}.buyer-summary-choice{display:grid;grid-gap:7px;gap:7px;min-width:0;border:1px solid rgba(232,93,126,.1);border-radius:18px;background:rgba(255,255,255,.68);box-shadow:0 10px 24px rgba(121,51,75,.055),inset 0 1px 0 rgba(255,255,255,.9);padding:10px}.buyer-summary-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));grid-gap:8px;gap:8px}.buyer-summary-option{min-height:52px;display:grid;align-items:center;border:1px solid rgba(78,121,110,.13);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,252,254,.95));color:#22352f;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.94);font:inherit;font-size:15px;font-weight:900;padding:8px 12px;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}.buyer-summary-option:hover:not(:disabled){border-color:rgba(20,120,102,.32);box-shadow:0 10px 22px rgba(20,120,102,.08),inset 0 1px 0 rgba(255,255,255,.95);transform:translateY(-1px)}.buyer-summary-option.active{border-color:rgba(20,120,102,.48);background:linear-gradient(135deg,rgba(235,253,247,1),rgba(255,244,248,.96));color:#0d6f5d;box-shadow:0 12px 26px rgba(20,120,102,.12),inset 0 0 0 1px rgba(20,120,102,.16)}.buyer-summary-option:disabled{cursor:wait;opacity:.7}.buyer-summary-template{overflow:hidden;color:#7a6c70;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.preview-summary-card{gap:8px;padding:10px 12px}.preview-catalog-summary{border:1px solid #f1dfe2;border-radius:8px}.add-photo-card{width:min(420px,100%);aspect-ratio:1/1;display:grid;align-content:center;justify-items:center;grid-gap:14px;gap:14px;border:1.5px dashed #ff9ab8;border-radius:16px;background:linear-gradient(180deg,#fff,#ffeaf0);color:var(--ink);font-size:18px;box-shadow:0 18px 46px rgba(159,97,115,.12);padding:28px}.add-photo-card strong{font-size:24px}.add-photo-card span,.add-photo-card span:last-child{color:#5f6562;font-size:14px;font-weight:400}.add-photo-card em{color:#5f6562;font-size:13px;font-style:normal;font-weight:700}.add-photo-card b{border-radius:999px;background:var(--brand);color:#fff;font-size:15px;padding:9px 18px}.add-photo-card:hover{border-color:var(--brand);background:linear-gradient(180deg,#fff,#ffdfe9)}.add-photo-card:disabled{cursor:not-allowed;opacity:.7}.add-photo-icon{position:relative;width:78px;height:78px;border:4px solid #252525;border-radius:50%;background:#bdd9f6;box-shadow:0 0 0 7px #fff}.add-photo-icon:after,.add-photo-icon:before{content:"";position:absolute;left:50%;top:50%;width:38px;height:4px;border-radius:999px;background:#252525;transform:translate(-50%,-50%)}.add-photo-icon:after{transform:translate(-50%,-50%) rotate(90deg)}.photo-preview-wrap{position:relative;width:min(640px,100%);min-height:360px;display:grid;place-items:center;border:1px solid #f1dfe2;border-radius:14px;background:rgba(255,255,255,.8);box-shadow:0 18px 46px rgba(88,56,66,.08);padding:14px;margin-bottom:36px}.photo-preview{width:100%;max-height:min(52svh,calc(100svh - 390px),640px);object-fit:contain;border-radius:8px}.smart-cutout-page,.smart-preview-page,.smart-success-page{height:100svh;min-height:100svh;grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden}.smart-cutout-upload_empty{grid-template-rows:auto auto auto minmax(0,1fr)}.smart-preview-page{grid-template-rows:auto auto minmax(0,1fr) auto}.smart-success-page{grid-template-rows:auto auto minmax(0,1fr)}.smart-cutout-page .buyer-header,.smart-preview-page .buyer-header,.smart-success-page .buyer-header{height:56px}.smart-cutout-page .buyer-step-bar,.smart-preview-page .buyer-step-bar,.smart-success-page .buyer-step-bar{padding-top:8px}.smart-cutout-page .buyer-summary-card,.smart-preview-page .buyer-summary-card{gap:8px;padding:9px 12px}.smart-cutout-page .buyer-summary-selects select{min-height:34px;padding:5px 9px}.smart-cutout-page .buyer-summary-facts span,.smart-preview-page .buyer-summary-facts span{font-size:12px;padding:6px 9px}.smart-cutout-page .buyer-stage{align-items:stretch;overflow:auto;padding:12px 20px 18px;scroll-padding-bottom:24px}.smart-workspace{min-height:0}.smart-work-card{width:min(1080px,100%);min-height:min(540px,calc(100svh - 270px));display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);grid-gap:16px;gap:16px;align-items:stretch;border:1px solid #f1dfe2;border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 18px 44px rgba(88,56,66,.08);padding:16px}.smart-work-card.empty{width:min(760px,100%);grid-template-columns:1fr;justify-items:center}.smart-work-copy{display:grid;align-content:center;grid-gap:12px;gap:12px;min-width:0;border-radius:12px;background:#fff8fa;padding:20px}.smart-eyebrow{width:max-content;max-width:100%;border:1px solid #ffc1cf;border-radius:999px;background:#ffe3eb;color:#7d3449;font-size:12px;font-weight:900;padding:5px 10px}.smart-work-copy h2{margin:0;color:#1f2e28;font-size:clamp(22px,2.8vw,34px);line-height:1.12}.smart-work-copy p{margin:0;color:#5f6562;font-size:14px;font-weight:700;line-height:1.65}.smart-copy-points{display:flex;flex-wrap:wrap;gap:8px}.smart-copy-points span{border:1px solid #e7f0ec;border-radius:999px;background:#fff;color:#24443b;font-size:12px;font-weight:800;padding:6px 9px}.cutout-mode-card{display:grid;grid-gap:10px;gap:10px;border:1px solid #f1d5dd;border-radius:12px;background:rgba(255,255,255,.72);padding:12px}.cutout-mode-head{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;justify-content:space-between}.cutout-mode-head strong{color:#26352f;font-size:15px}.cutout-mode-head span,.cutout-mode-processing{color:#706267;font-size:12px;font-weight:800}.cutout-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.cutout-mode-chip{display:grid;grid-gap:4px;gap:4px;border:1px solid #ead5dc;border-radius:10px;background:#fff;color:#4b5954;cursor:pointer;padding:9px 10px;text-align:left}.cutout-mode-chip strong{color:#243931;font-size:14px}.cutout-mode-chip span{color:#748079;font-size:11px;font-weight:800;line-height:1.35}.cutout-mode-chip.active{border-color:#ff9eba;background:#ffe8ef;box-shadow:0 8px 18px rgba(255,158,186,.18)}.cutout-mode-chip:disabled{cursor:wait;opacity:.72}.cutout-mode-processing{width:max-content;max-width:100%;border:1px solid #f1d5dd;border-radius:999px;background:#fff;color:#7d3449;padding:6px 10px}.smart-preview-panel,.smart-work-preview{min-height:0;display:grid}.smart-work-preview{place-items:center}.smart-preview-panel{width:100%;gap:8px}.smart-preview-label{justify-self:start;color:#5d6460;font-size:13px;font-weight:900}.smart-work-card .photo-preview-wrap{width:100%;height:clamp(280px,calc(100svh - 320px),560px);min-height:260px;margin:0;padding:12px;overflow:auto}.smart-cutout-page .photo-preview{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.smart-work-card.empty .add-photo-card{width:min(360px,100%);aspect-ratio:1/.95}.smart-cutout-page .buyer-bottom-bar,.smart-preview-page .buyer-bottom-bar{position:static;bottom:auto;align-self:end;grid-template-columns:minmax(0,1fr) minmax(260px,520px);align-items:center;padding:12px max(20px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom))}.smart-action-bar.compact{grid-template-columns:minmax(0,560px);justify-content:center}.smart-action-bar.compact .buyer-actions{width:100%;justify-self:center}.smart-cutout-page .buyer-bottom-bar:has(.buyer-primary-action){grid-template-columns:1fr}.smart-cutout-page .buyer-actions{justify-self:end;width:min(520px,100%)}.smart-cutout-page .selected-file strong{font-size:15px}.smart-cutout-page .selected-file span{font-size:12px}.smart-success-stage{min-height:0;display:grid;place-items:center;overflow:auto;padding:18px 20px 28px}.smart-success-stage .success-box{width:min(560px,100%)}.fixed-layout-page{height:100svh;min-height:100svh;grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden}.fixed-layout-page .buyer-header{height:56px}.fixed-layout-step-bar{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:8px}.fixed-layout-page .catalog-summary{border:1px solid #f1dfe2;border-radius:12px;box-shadow:0 10px 28px rgba(88,56,66,.05);margin-top:4px;padding:6px 10px}.fixed-layout-page .fixed-layout-summary{width:min(1040px,calc(100vw - 32px));grid-template-columns:minmax(150px,210px) minmax(170px,250px) minmax(0,1fr);gap:8px}.fixed-layout-summary .catalog-selector{gap:3px}.fixed-layout-summary .catalog-selector label{font-size:11px}.fixed-layout-summary .catalog-selector select{min-height:32px;border-radius:8px;font-size:13px;padding:5px 8px}.fixed-layout-summary-line{display:flex!important;align-items:center;gap:8px;min-width:0;overflow:hidden;color:#415850;font-size:13px;font-weight:800;white-space:nowrap}.fixed-layout-summary-line strong{color:var(--ink);overflow:hidden;text-overflow:ellipsis}.fixed-layout-summary-line span{border-left:1px solid #e7d8dc;padding-left:8px}.fixed-layout-page .buyer-summary-card.fixed-layout-summary{width:min(1040px,calc(100vw - 32px));grid-template-columns:1fr;gap:10px;margin-top:4px}.fixed-layout-stage{min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:10px;gap:10px;align-items:start;justify-content:center;overflow:auto;padding:12px 20px 172px;scroll-padding-top:18px;scroll-padding-bottom:190px}.fixed-layout-preview-panel{display:grid;justify-items:center;grid-gap:14px;gap:14px;padding:4px 20px 28px}.fixed-layout-editor-hint{width:min(920px,100%);border-radius:0;background:#ffacc4;color:#26312d;display:grid;place-items:center;min-height:48px;font-size:clamp(16px,2.1vw,22px);font-weight:900;line-height:1.45;margin-top:8px;padding:10px 18px;text-align:center;white-space:normal}.fixed-layout-editor-toast{width:min(520px,100%);border:1px solid #ead2a8;border-radius:999px;background:#fff8e9;color:var(--warn);font-size:13px;font-weight:800;padding:8px 14px;text-align:center}.fixed-layout-preview-shell{display:grid;grid-template-columns:auto;grid-gap:0;gap:0;align-items:center;justify-content:center;padding:0 96px 34px}.fixed-layout-preview-shell.has-toolbar{grid-template-columns:auto minmax(88px,108px);gap:20px}.fixed-layout-canvas{position:relative;container-type:size;height:min(calc(100svh - 310px),918px);min-height:520px;overflow:visible;border:1px solid #acd7e9;border-radius:12px;background:#eaf8ff;box-shadow:0 16px 42px rgba(95,122,132,.18)}.fixed-layout-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;border-radius:inherit;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fixed-layout-slot{position:absolute;display:grid;place-items:center;min-height:0;overflow:hidden;border:1.5px dashed rgba(23,107,91,.62);border-radius:8px;background:rgba(255,255,255,.66);color:var(--brand-strong);font-size:clamp(10px,1.9vh,13px);font-weight:700;padding:0;transform-origin:center;cursor:pointer}.fixed-layout-slot:hover{border-style:solid;background:rgba(255,255,255,.84)}.fixed-layout-slot.selected{border-color:var(--brand);border-style:solid;box-shadow:0 0 0 3px rgba(23,107,91,.2),0 0 0 6px rgba(255,172,196,.26)}.fixed-layout-slot.filled{border-style:solid;border-color:rgba(255,172,196,.9);background:#fff}.fixed-layout-slot img{position:absolute;max-width:none;max-height:none;transform-origin:center;transition:transform .14s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.fixed-layout-slot span{pointer-events:none;line-height:1.25;text-align:center}.fixed-layout-text-preview{position:absolute;display:flex;align-items:flex-start;justify-content:flex-start;min-height:0;overflow:hidden;padding:0;pointer-events:none;transform-origin:center;word-break:break-word}.fixed-layout-text-preview.editable{text-shadow:0 1px 0 rgba(255,255,255,.52)}.fixed-layout-replace-hint,.fixed-layout-slot.filled:hover .fixed-layout-replace-hint{display:none}.fixed-layout-inline-toolbar{position:static;display:flex;flex-direction:column;gap:6px;align-self:center;justify-self:start;padding:12px 10px;border:1px solid #ece4e6;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(48,37,42,.16)}.fixed-layout-inline-toolbar button{min-width:72px;min-height:58px;display:grid;justify-items:center;grid-gap:3px;gap:3px;border:0;border-radius:12px;background:#fff;color:#242b28;font-size:13px;font-weight:900;padding:6px 8px}.fixed-layout-inline-toolbar button span{display:grid;place-items:center;width:28px;height:28px;color:#2d3632;font-size:24px;line-height:1}.fixed-layout-inline-toolbar button strong{font-size:14px;line-height:1.1;white-space:nowrap}.fixed-layout-inline-toolbar button:hover{background:#fff1f5;color:#171d1a}.fixed-layout-side-panel{display:grid;grid-gap:9px;gap:9px;min-width:0;margin-bottom:24px;border:1px solid #f1dfe2;border-radius:12px;background:rgba(255,255,255,.88);padding:12px}.fixed-layout-progress-card{border:1px solid #dbeae4;border-radius:12px;background:#f7fcfa;padding:10px}.fixed-layout-progress-card strong{font-size:22px}.fixed-layout-progress-card em{color:#547068;font-size:12px;font-style:normal;font-weight:700}.fixed-layout-side-panel>div{display:grid;grid-gap:4px;gap:4px}.fixed-layout-side-panel span{color:var(--muted);font-size:12px;font-weight:700}.fixed-layout-side-panel strong{color:var(--ink);font-size:15px}.fixed-layout-text-panel{width:min(920px,100%);display:grid;grid-gap:10px;gap:10px;margin:-6px auto 18px;border:1px solid #dbeae4;border-radius:14px;background:rgba(255,255,255,.92);padding:14px}.fixed-layout-text-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.fixed-layout-text-panel-head strong{color:var(--ink);font-size:17px}.fixed-layout-text-panel-head span{color:var(--muted);font-size:13px;font-weight:800}.fixed-layout-text-field{display:grid;grid-gap:6px;gap:6px}.fixed-layout-text-field span{color:var(--brand-strong);font-size:13px;font-weight:900}.fixed-layout-text-field input,.fixed-layout-text-field textarea{width:100%;border:1px solid #cbded8;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:16px;font-weight:800;line-height:1.35;padding:11px 12px}.fixed-layout-text-field textarea{resize:vertical}.fixed-layout-text-field.readonly strong{border:1px solid #e1ece8;border-radius:10px;background:#f7fbf9;color:var(--muted);font-size:15px;padding:10px 12px}.fixed-layout-add-card{width:100%;aspect-ratio:auto;min-height:132px;gap:8px;border-width:1.5px;border-color:var(--brand);background:#ffd5df}.fixed-layout-add-card .add-photo-icon{width:52px;height:52px;border-width:3px;box-shadow:0 0 0 5px #fff}.fixed-layout-add-card .add-photo-icon:after,.fixed-layout-add-card .add-photo-icon:before{width:26px;height:3px}.fixed-layout-add-card strong{font-size:20px}.fixed-layout-add-card b{border-radius:999px;background:var(--brand);color:#fff;font-size:13px;padding:7px 14px}.fixed-layout-reupload-card{display:grid;grid-gap:7px;gap:7px;border:1.5px solid #b8d6c8;border-radius:10px;background:#edf8f2;color:var(--brand-strong);padding:14px;text-align:left}.fixed-layout-reupload-card strong{font-size:18px}.fixed-layout-reupload-card span{color:#46655d;font-size:13px;font-weight:700}.fixed-layout-reupload-card em{width:max-content;border:1px solid var(--brand);border-radius:999px;background:#fff;color:var(--brand-strong);font-size:12px;font-style:normal;font-weight:700;padding:5px 9px}.fixed-layout-done,.fixed-layout-missing,.fixed-layout-notice{border-radius:8px;padding:9px 10px;font-size:13px;font-weight:700}.fixed-layout-error,.fixed-layout-guide,.fixed-layout-selected-slot{display:grid;grid-gap:6px;gap:6px;border-radius:10px;padding:10px;font-size:12px}.fixed-layout-guide-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:22px;background:rgba(24,36,32,.42)}.fixed-layout-guide-modal{width:min(420px,100%);display:grid;justify-items:center;grid-gap:12px;gap:12px;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(18,44,36,.24);padding:24px;text-align:center}.fixed-layout-guide-modal h2{margin:0;color:var(--ink);font-size:24px}.fixed-layout-guide-modal p{margin:0;color:#546d66;font-size:15px;font-weight:700;line-height:1.6}.fixed-layout-guide{border:1px solid #d9e7ee;background:#f4fbff;color:#3f6374}.fixed-layout-error strong,.fixed-layout-guide strong,.fixed-layout-selected-slot strong{color:var(--ink);font-size:14px}.fixed-layout-error em,.fixed-layout-error span,.fixed-layout-guide span{font-style:normal;font-weight:700;line-height:1.45}.fixed-layout-guide button{width:max-content;border:1px solid #b8d6c8;border-radius:999px;background:#fff;color:var(--brand-strong);font-weight:800;padding:5px 10px}.fixed-layout-selected-slot{border:1px solid #b8d6c8;background:#edf8f2}.fixed-layout-selected-slot>span{color:var(--muted);font-size:12px;font-weight:800}.fixed-layout-selected-slot .button{min-height:38px;border-radius:999px}.fixed-layout-adjust-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:22px;background:rgba(20,28,25,.56)}.fixed-layout-adjust-dialog{width:min(720px,100%);max-height:calc(100svh - 44px);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;grid-gap:14px;gap:14px;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 26px 72px rgba(16,34,28,.28);padding:18px}.fixed-layout-adjust-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fixed-layout-adjust-head span{color:var(--muted);font-size:13px;font-weight:800}.fixed-layout-adjust-head h2{margin:2px 0 0;color:var(--ink);font-size:24px}.fixed-layout-adjust-head button{width:36px;height:36px;border:1px solid #dbe7e2;border-radius:999px;background:#f8fbfa;color:var(--ink);font-size:24px;line-height:1}.fixed-layout-adjust-body{display:grid;justify-items:center;grid-gap:10px;gap:10px}.fixed-layout-adjust-frame{position:relative;width:min(560px,100%);max-height:min(54svh,440px);overflow:hidden;border:2px solid var(--brand);border-radius:14px;background:linear-gradient(45deg,#e9eef0 25%,transparent 0),linear-gradient(-45deg,#e9eef0 25%,transparent 0),linear-gradient(45deg,transparent 75%,#e9eef0 0),linear-gradient(-45deg,transparent 75%,#e9eef0 0);background-color:#fff;background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px;touch-action:none;cursor:-webkit-grab;cursor:grab}.fixed-layout-adjust-frame:active{cursor:-webkit-grabbing;cursor:grabbing}.fixed-layout-adjust-frame img{width:100%;height:100%;transform-origin:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.fixed-layout-adjust-body p{margin:0;color:#547068;font-size:13px;font-weight:700;text-align:center}.fixed-layout-adjust-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center}.fixed-layout-adjust-actions button,.fixed-layout-adjust-controls button{min-height:38px}.fixed-layout-adjust-controls label{display:grid;grid-gap:6px;gap:6px;color:var(--ink);font-size:13px;font-weight:800}.fixed-layout-adjust-controls input{width:100%;accent-color:var(--brand)}.fixed-layout-adjust-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.fixed-layout-error{border:1px solid #f0c1c1;background:#fff4f4;color:#8f3030}.fixed-layout-missing,.fixed-layout-notice{border:1px solid #ead2a8;background:#fff8e9;color:var(--warn)}.fixed-layout-done{border:1px solid #b8d6c8;background:#edf8f2;color:var(--brand-strong)}.fixed-layout-crop-note{border:1px solid #d9e7ee;border-radius:8px;background:#f4fbff;color:#3f6374;font-size:12px;font-weight:700;line-height:1.5;padding:8px 10px}.fixed-layout-success-card{grid-column:1/-1;width:min(620px,100%);justify-self:center;display:grid;justify-items:center;grid-gap:8px;gap:8px;border:1px solid #b8d6c8;border-radius:16px;background:#f5fbf8;box-shadow:0 18px 44px rgba(23,107,91,.12);padding:18px;text-align:center}.fixed-layout-success-card>span{border-radius:999px;background:var(--brand);color:#fff;font-size:12px;font-weight:900;padding:5px 10px}.fixed-layout-success-card h2{margin:0;color:#18372f;font-size:26px}.fixed-layout-success-card p{margin:0;color:#49665f;font-size:14px;font-weight:700}.fixed-layout-success-card>strong{border:1px solid #dbeae4;border-radius:999px;background:#fff;color:var(--brand-strong);padding:8px 14px}.fixed-layout-success-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:4px}.fixed-layout-page .buyer-bottom-bar{position:static;bottom:auto;grid-template-columns:minmax(0,1fr) minmax(260px,520px);align-items:center;padding:12px max(20px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom))}.fixed-layout-page .fixed-layout-bottom-bar.success{grid-template-columns:minmax(260px,520px);justify-content:center}.fixed-layout-page .fixed-layout-bottom-bar.success .buyer-actions{justify-content:center;width:100%}.fixed-layout-page .buyer-actions .button:disabled{cursor:not-allowed}.processing-card{position:absolute;inset:auto 50% 34px auto;width:min(280px,calc(100vw - 48px));display:grid;justify-items:center;grid-gap:10px;gap:10px;padding:22px 20px;border-radius:8px;background:rgba(37,37,37,.84);color:#fff;text-align:center;transform:translateX(50%)}.processing-card strong{font-size:20px}.processing-card span{color:rgba(255,255,255,.78);font-size:13px}.processing-card em{color:#ffe4a8;font-size:12px;font-style:normal;font-weight:800}.spinner{width:42px;height:42px;border:5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .9s linear infinite}.buyer-bottom-bar{position:-webkit-sticky;position:sticky;bottom:0;z-index:20;display:grid;grid-gap:12px;gap:12px;padding:16px max(20px,env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(255,255,255,.96)}.buyer-primary-action{width:min(360px,100%);justify-self:center;min-height:54px;border-color:#252525;border-radius:999px;background:#ffacc4;color:#252525;font-size:22px}.selected-file{display:grid;grid-gap:4px;gap:4px;min-width:0}.selected-file strong{font-size:17px}.selected-file span{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.buyer-error{color:var(--danger)!important}.buyer-error-details{width:-moz-fit-content;width:fit-content;max-width:100%;border:1px solid #f0c1c1;border-radius:8px;background:#fff4f4;color:#8f3030;font-size:12px;padding:6px 8px}.buyer-error-details summary{cursor:pointer;font-weight:800}.buyer-error-details span{display:block;margin-top:4px;color:#8f3030;white-space:normal}.buyer-submit-error{justify-self:center;width:min(620px,100%);border:1px solid #f0c1c1;border-radius:8px;background:#fff4f4;color:#8f3030;font-size:13px;font-weight:800;padding:8px 10px;text-align:center}.buyer-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.buyer-actions.single{grid-template-columns:1fr}.buyer-actions.three{grid-template-columns:1fr 1fr 1fr}.buyer-actions form{display:contents}.buyer-actions .remat-mode-form{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,1fr);grid-gap:8px;gap:8px;align-items:center}.remat-mode-form label{display:grid;grid-gap:4px;gap:4px}.remat-mode-form label span{color:var(--muted);font-size:11px;font-weight:900}.remat-mode-form select{min-height:50px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:800;padding:0 12px}.buyer-actions .button{min-height:50px;border-radius:999px}.buyer-actions .button:disabled{opacity:.64;cursor:wait}.buyer-actions .button.disabled{pointer-events:none;opacity:.58}.buyer-actions .primary-strong{background:var(--brand);color:#fff;box-shadow:0 10px 24px rgba(23,107,91,.18)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.preview-page-stage{width:100%;max-width:100%;min-width:0;display:grid;align-items:start;justify-items:center;grid-gap:14px;gap:14px;padding:12px 20px 104px}.preview-confirm-page .preview-page-stage{min-height:0;overflow:visible;gap:8px;padding:8px 20px 120px}.contour-notice{width:min(980px,100%);border:1px solid #ffc1cf;border-radius:8px;background:#ffb3c6;color:#2d2d2d;font-size:15px;font-weight:700;text-align:center;padding:10px 14px}.production-preview-layout{width:min(1180px,100%);max-width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,210px);grid-gap:14px;gap:14px;align-items:start}.production-card{display:grid;grid-gap:10px;gap:10px;min-width:0;min-height:0;border:1px solid #f1dfe2;border-radius:14px;background:rgba(255,255,255,.72);box-shadow:0 18px 44px rgba(88,56,66,.08);padding:12px}.preview-main-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.preview-main-title strong{color:#182c25;font-size:16px}.preview-main-title span{color:var(--muted);font-size:12px;font-weight:700}.source-card{display:grid;grid-gap:8px;gap:8px;opacity:.68}.source-card h2{margin:0;font-size:16px;text-align:center}.source-image-box{min-height:160px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.source-image-box img{width:100%;max-height:210px;object-fit:contain}.transparent-bg{background:linear-gradient(45deg,#ededed 25%,transparent 0),linear-gradient(-45deg,#ededed 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ededed 0),linear-gradient(-45deg,transparent 75%,#ededed 0);background-color:#fff;background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.production-canvas{position:relative;width:100%;max-width:100%;min-width:0;height:clamp(360px,calc(100svh - 300px),620px);min-height:0;display:grid;place-items:center;overflow:hidden;border:1px solid #ffd3dd;border-radius:8px;padding:48px 108px 34px 34px}.production-canvas.magnifier-active{cursor:zoom-in}.production-canvas.has-back-side:not(.magnifier-active){cursor:-webkit-grab;cursor:grab;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;perspective:1200px}.preview-side-switch{position:absolute;top:10px;right:58px;z-index:8;display:inline-flex;align-items:center;gap:3px;border:1px solid rgba(232,93,126,.24);border-radius:999px;background:rgba(255,255,255,.9);padding:3px;box-shadow:0 6px 16px rgba(91,24,42,.08);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.preview-side-switch button{border:0;border-radius:999px;background:transparent;color:#8a5262;cursor:pointer;font-size:12px;font-weight:900;line-height:1;padding:7px 10px;opacity:1}.preview-side-switch button.active{background:#e85d7e;color:#fff}.preview-side-switch button:disabled{opacity:1}.preview-side-switch span{color:#ad7d8d;font-size:11px;font-weight:800;padding:0 8px 0 3px;white-space:nowrap}.preview-magnifier-tools{position:absolute;right:12px;top:10px;z-index:8;display:flex;align-items:center;gap:6px}.preview-magnifier-toggle{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(232,93,126,.24);border-radius:999px;background:rgba(255,255,255,.92);color:#c43d62;cursor:zoom-in;padding:0;box-shadow:0 6px 16px rgba(91,24,42,.1)}.preview-magnifier-zoom-options{display:grid;grid-template-columns:repeat(5,34px);grid-gap:2px;gap:2px;padding:3px;border:1px solid rgba(232,93,126,.2);border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 6px 16px rgba(91,24,42,.1)}.preview-magnifier-zoom-options button{width:34px;min-width:34px;height:28px;border:0;border-radius:5px;background:transparent;color:#8a5262;cursor:pointer;font-size:11px;font-weight:900;line-height:1;padding:0;white-space:nowrap}.preview-magnifier-zoom-options button:hover{background:rgba(232,93,126,.1)}.preview-magnifier-zoom-options button.active{background:#e85d7e;color:#fff}.preview-magnifier-toggle.active{border-color:#e60012;background:#e60012;color:#fff}.preview-magnifier-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.preview-magnifier-window{position:absolute;left:16px;top:16px;z-index:9;contain:layout paint;overflow:hidden;border:2px solid #e60012;border-radius:12px;pointer-events:none;box-shadow:0 12px 28px rgba(91,24,42,.24);will-change:left,top}.preview-magnifier-content.cutout-stack{position:absolute;left:0;top:0;max-width:none;max-height:none;overflow:visible;transition:none;will-change:transform}.preview-magnifier-label{position:absolute;right:8px;bottom:8px;z-index:10;border-radius:999px;background:rgba(230,0,18,.9);color:#fff;font-size:11px;font-weight:900;line-height:1;padding:5px 7px}.preview-confirm-page .production-canvas{height:clamp(340px,calc(100svh - 360px),600px)}.bleed-zone{position:relative;width:100%;height:100%;display:grid;place-items:center;padding:0}.bleed-zone,.cutout-stack{max-width:100%;min-width:0}.cutout-stack{position:relative;max-height:100%;overflow:visible;isolation:isolate;transform:rotateY(calc(var(--preview-side-front-base-rotate-y, 0deg) + var(--preview-side-rotate-y, 0deg)));transform-origin:center center;transform-style:preserve-3d;transition:transform .22s cubic-bezier(.2,.75,.2,1);will-change:transform}.cutout-stack.back-side-mirror-stack{transform:rotateY(calc(var(--preview-side-back-base-rotate-y, -180deg) + var(--preview-side-rotate-y, 0deg)))}.cutout-ruler-layer{position:absolute;inset:0;z-index:6;display:grid;place-items:center;pointer-events:none;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.cutout-ruler-frame{position:relative;min-width:0;max-width:100%;max-height:100%;overflow:visible}.production-canvas.side-dragging .cutout-stack{transition:none;cursor:-webkit-grabbing;cursor:grabbing}.cutout-viewport{position:absolute;inset:0;overflow:hidden}.color-window-gradient-handle-layer,.color-window-transform-layer{position:absolute;inset:0;z-index:9;overflow:visible;pointer-events:none}.color-window-image-transform-frame{position:absolute;box-sizing:border-box;border:1.5px dashed rgba(225,29,72,.9);background:rgba(225,29,72,.025);box-shadow:0 0 0 1px rgba(255,255,255,.78);pointer-events:none}.color-window-image-transform-frame.moving,.color-window-image-transform-frame.scaling{border-style:solid;box-shadow:0 0 0 3px rgba(225,29,72,.14)}.color-window-image-move-handle{position:absolute;inset:0;z-index:1;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;cursor:move;padding:0;pointer-events:auto;touch-action:none}.color-window-image-move-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.color-window-image-move-handle>span{top:8px;background:rgba(255,255,255,.94)}.color-window-image-move-handle>span,.color-window-image-size-badge{position:absolute;left:50%;border:1px solid rgba(225,29,72,.28);border-radius:999px;color:#9f1239;font-size:10px;font-weight:800;line-height:1;padding:4px 7px;transform:translateX(-50%);white-space:nowrap;pointer-events:none}.color-window-image-size-badge{bottom:-25px;z-index:3;background:rgba(255,255,255,.96)}.color-window-image-scale-handle{position:absolute;right:-11px;bottom:-11px;z-index:4;width:22px;min-width:22px;max-width:22px;height:22px;min-height:22px;max-height:22px;border:3px solid #fff;border-radius:5px;background:#e11d48;box-shadow:0 2px 9px rgba(159,18,57,.3);cursor:nwse-resize;padding:0;pointer-events:auto;touch-action:none;transform:rotate(45deg)}.color-window-gradient-handle-layer>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.color-window-gradient-handle-layer line{stroke:rgba(225,29,72,.72);stroke-width:2;vector-effect:non-scaling-stroke}.color-window-gradient-endpoint{position:absolute;display:grid;place-items:center;width:22px;min-width:22px;max-width:22px;height:22px;min-height:22px;max-height:22px;border:3px solid #fff;border-radius:999px;box-shadow:0 0 0 1.5px rgba(159,18,57,.72),0 2px 8px rgba(91,24,42,.2);cursor:-webkit-grab;cursor:grab;padding:0;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.color-window-gradient-endpoint.dragging{cursor:-webkit-grabbing;cursor:grabbing;box-shadow:0 0 0 4px rgba(225,29,72,.2),0 4px 12px rgba(91,24,42,.3)}.color-window-gradient-midpoint{position:absolute;display:grid;place-items:center;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;max-height:24px;padding:0;border:2px solid #e11d48;border-radius:999px;background:rgba(255,255,255,.96);color:#9f1239;box-shadow:0 2px 8px rgba(91,24,42,.2);cursor:-webkit-grab;cursor:grab;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.color-window-gradient-midpoint.dragging{cursor:-webkit-grabbing;cursor:grabbing;box-shadow:0 0 0 4px rgba(225,29,72,.2),0 4px 12px rgba(91,24,42,.3)}.color-window-gradient-midpoint span{width:8px;height:8px;border-radius:999px;background:#e11d48;pointer-events:none}.color-window-gradient-endpoint span{width:6px;height:6px;border-radius:999px;background:rgba(255,255,255,.88);pointer-events:none}.color-window-gradient-angle-badge{position:absolute;border:1px solid rgba(225,29,72,.28);border-radius:999px;background:rgba(255,255,255,.96);color:#9f1239;font-size:10px;font-weight:800;line-height:1;padding:4px 7px;transform:translate(-50%,-50%);white-space:nowrap;pointer-events:none}.cutout-with-contour{position:absolute;display:block;z-index:1;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.fixed-cutline-clip-layer{position:absolute;inset:0;z-index:1;pointer-events:none}.cutout-with-contour.white-ink-source-hidden{opacity:0;pointer-events:none}.white-ink-artwork-fill{z-index:1;background:rgba(230,0,18,.82);opacity:.92;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.white-ink-artwork-fill,.white-ink-preview-layer{position:absolute;display:block;pointer-events:none}.white-ink-preview-layer{z-index:2;object-fit:contain;opacity:.42}.white-ink-preview-layer.overlay-mask,.white-ink-preview-layer.pure{opacity:1}.template-asset-preview-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.template-asset-preview-layer.below-artwork{z-index:0}.template-asset-preview-layer.above-artwork,.template-asset-preview-layer.white-ink-template-assets{z-index:2}.template-asset-preview-layer.white-ink-template-assets img{filter:brightness(0) saturate(0);opacity:1}.template-asset-preview-layer.white-ink-template-assets.overlay img{opacity:.88}.template-asset-preview-layer img{position:absolute;display:block;object-fit:contain;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.template-text-preview-layer{position:absolute;inset:0;z-index:4;pointer-events:none;container-type:size}.template-text-preview-layer.editing{pointer-events:auto}.template-text-preview{position:absolute;display:flex;align-items:flex-start;justify-content:flex-start;min-height:0;overflow:visible;padding:0;transform-origin:center;word-break:break-word;text-rendering:geometricPrecision}.template-text-preview.editable{outline:1px dashed rgba(230,48,80,.34);outline-offset:2px}.template-text-preview-layer.editing .template-text-preview{pointer-events:none}.template-text-preview-layer.editing .template-text-preview.editable{cursor:-webkit-grab;cursor:grab;pointer-events:auto}.template-text-preview-layer.editing .template-text-preview.selected,.template-text-preview-layer.editing .template-text-preview.transforming{outline:1.5px solid rgba(30,136,229,.88);outline-offset:3px}.template-text-preview-layer.editing .template-text-preview.transforming{cursor:-webkit-grabbing;cursor:grabbing}.template-text-preview-resize-handle{position:absolute;right:-7px;bottom:-7px;width:13px;min-width:13px;max-width:13px;height:13px;min-height:13px;max-height:13px;border:2px solid #fff;border-radius:999px;background:rgba(30,136,229,.92);box-shadow:0 2px 8px rgba(30,64,175,.28);cursor:nwse-resize;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1;padding:0;pointer-events:auto}.cutline-canvas{z-index:3}.cutline-canvas,.fixed-cutline-visible-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.fixed-cutline-visible-svg{z-index:6;overflow:visible}.fixed-cutline-visible-svg path{fill:none;stroke:#e60012;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.fixed-cutline-drag-handle{position:absolute;z-index:8;border:1px dashed rgba(15,118,110,.55);border-radius:8px;background:rgba(15,118,110,.025);touch-action:none;will-change:transform}.fixed-cutline-drag-handle,.fixed-layout-editor-canvas.pan-ready{cursor:-webkit-grab;cursor:grab}.fixed-layout-editor-canvas.pan-ready:active{cursor:-webkit-grabbing;cursor:grabbing}.fixed-layout-tool-file{display:grid;place-items:center;min-height:38px;border:1px solid rgba(18,121,103,.35);border-radius:10px;background:#fff;color:#127967;font-size:12px;font-weight:800;cursor:pointer;text-align:center}.fixed-layout-tool-file input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.template-studio-guide-asset-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.fixed-cutline-drag-handle:after{content:"移动内容";position:absolute;left:50%;top:-26px;transform:translateX(-50%);border-radius:999px;background:rgba(15,118,110,.88);color:#fff;font-size:11px;font-weight:800;line-height:1;padding:5px 8px;white-space:nowrap;pointer-events:none}.fixed-cutline-drag-handle.locked,.fixed-cutline-drag-handle:disabled{cursor:not-allowed;opacity:.45}.fixed-cutline-drag-handle.locked:after,.fixed-cutline-drag-handle:disabled:after{content:"已锁定"}.fixed-cutline-drag-handle.dragging{cursor:-webkit-grabbing;cursor:grabbing;background:rgba(15,118,110,.08);box-shadow:0 0 0 4px rgba(15,118,110,.12)}.cutline-margin-guide-layer{position:absolute;inset:0;z-index:5;pointer-events:none}.cutline-margin-preview-box{position:absolute;border:1.5px dashed rgba(230,0,18,.42);border-radius:16px;box-shadow:0 0 0 1px rgba(255,255,255,.5)}.cutline-margin-preview-box span{position:absolute;right:0;top:0;border:1px solid rgba(230,0,18,.16);border-radius:999px;background:rgba(255,255,255,.94);color:#e60012;font-size:11px;font-weight:900;padding:2px 8px;transform:translateY(-110%);box-shadow:0 4px 10px rgba(91,24,42,.12)}.cutline-margin-gap-guide{position:absolute;background:rgba(255,172,196,.16)}.cutline-margin-gap-guide.bottom,.cutline-margin-gap-guide.top{border-top:1px solid rgba(230,0,18,.2);border-bottom:1px solid rgba(230,0,18,.2)}.cutline-margin-gap-guide.left,.cutline-margin-gap-guide.right{border-left:1px solid rgba(230,0,18,.2);border-right:1px solid rgba(230,0,18,.2)}.cutline-margin-guide-layer.pending .cutline-margin-preview-box span{background:#fff3f6}.hole-drag-layer{position:absolute;inset:0;z-index:4;pointer-events:none}.hole-drag-handle{position:absolute;display:grid;place-items:center;min-width:22px;min-height:22px;border:2px solid #e60012;border-radius:999px;background:rgba(255,255,255,.92);color:#e60012;cursor:-webkit-grab;cursor:grab;font-size:11px;font-weight:900;line-height:1;padding:0;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%);overflow:visible;box-shadow:0 3px 10px rgba(91,24,42,.2)}.hole-drag-handle:before{left:50%;top:50%;width:var(--hole-outer-ring-size,34px);height:var(--hole-outer-ring-size,34px);border:1.5px dashed rgba(230,0,18,.48);pointer-events:none;box-shadow:0 0 0 2px rgba(255,255,255,.34)}.hole-drag-handle:after,.hole-drag-handle:before{content:"";position:absolute;border-radius:999px;transform:translate(-50%,-50%)}.hole-drag-handle:after{inset:50%;width:5px;height:5px;background:#e60012}.hole-drag-handle span{position:absolute;left:50%;top:-18px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:#e60012;color:#fff;transform:translateX(-50%)}.hole-drag-handle.dragging{cursor:-webkit-grabbing;cursor:grabbing;box-shadow:0 0 0 5px rgba(230,0,18,.16),0 5px 16px rgba(91,24,42,.26)}.hole-drag-handle.selected{box-shadow:0 0 0 5px rgba(230,0,18,.18),0 5px 14px rgba(91,24,42,.22)}.template-component-drag-layer{position:absolute;inset:0;z-index:5;pointer-events:none}.template-component-drag-handle{position:absolute;display:grid;place-items:end center;border:0;border-radius:8px;background:transparent;color:#e60012;cursor:-webkit-grab;cursor:grab;font-size:11px;font-weight:900;min-width:0;min-height:0;padding:0;pointer-events:auto;touch-action:none;transform:translate(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:left,top,width,height;box-shadow:none;overflow:visible}.template-component-shape-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.template-component-shape-svg path{fill:transparent;stroke:#e60012;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.15px;vector-effect:non-scaling-stroke}.template-component-shape-svg .template-component-outline-margin-path{fill:transparent;stroke:rgba(230,0,18,.34);stroke-dasharray:5 5;stroke-width:.95px}.template-component-grab-chip{position:absolute;z-index:4;left:50%;top:-28px;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:14px;border:1px solid rgba(230,0,18,.2);border-radius:999px;background:rgba(255,255,255,.58);color:rgba(230,0,18,.78);cursor:-webkit-grab;cursor:grab;font-size:9px;font-weight:900;line-height:1;padding:0 5px;pointer-events:none;transform:translateX(-50%);opacity:.66;box-shadow:0 3px 8px rgba(91,24,42,.1)}.template-component-grab-chip:after{content:"";position:absolute;left:50%;top:100%;width:1px;height:6px;background:rgba(230,0,18,.18);transform:translateX(-50%)}.template-component-drag-handle.dragging .template-component-grab-chip{cursor:-webkit-grabbing;cursor:grabbing;background:rgba(230,0,18,.88);color:#fff;opacity:1}.template-component-rotate-handle{position:absolute;z-index:7;right:-18px;top:-18px;display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;border:1.5px solid rgba(230,0,18,.92);border-radius:999px;background:rgba(255,255,255,.94);color:rgba(230,0,18,.92);cursor:pointer;font-size:8px;font-weight:900;line-height:1;pointer-events:auto;opacity:.92;box-shadow:0 0 0 2px rgba(255,255,255,.84),0 0 0 4px rgba(230,0,18,.12),0 2px 6px rgba(91,24,42,.18)}.template-component-drag-handle.dragging,.template-component-drag-handle.selected{background:transparent;box-shadow:none}.template-component-drag-handle.dragging .template-component-shape-svg path,.template-component-drag-handle.resizing .template-component-shape-svg path,.template-component-drag-handle.rotating .template-component-shape-svg path,.template-component-drag-handle.selected .template-component-shape-svg path{fill:transparent;stroke-width:1.45px}.template-component-drag-handle.dragging{cursor:-webkit-grabbing;cursor:grabbing}.template-component-drag-handle.resizing{cursor:nwse-resize;background:transparent;box-shadow:none}.template-component-drag-handle.rotating{cursor:alias;background:transparent;box-shadow:none}.template-component-drag-handle.locked{cursor:default;opacity:.72}.template-component-size-badge{position:absolute;z-index:2;left:50%;top:calc(100% + 20px);display:inline-flex;align-items:center;justify-content:center;min-width:58px;border:1px solid rgba(230,0,18,.12);border-radius:999px;background:rgba(255,255,255,.54);color:rgba(122,45,65,.76);font-size:9px;font-weight:800;line-height:1;padding:2px 5px;pointer-events:none;transform:translateX(-50%);white-space:nowrap;opacity:.64;box-shadow:0 2px 6px rgba(91,24,42,.08)}.template-component-resize-handle{position:absolute;z-index:3;width:8px;height:8px;border:1.5px solid rgba(230,0,18,.9);background:rgba(255,255,255,.94);opacity:.9;box-shadow:0 0 0 2px rgba(255,255,255,.82),0 0 0 4px rgba(230,0,18,.1),0 2px 6px rgba(91,24,42,.16);pointer-events:auto;touch-action:none}.template-component-resize-handle.horizontal{top:50%;right:-17px;border-radius:999px;cursor:ew-resize;transform:translateY(-50%)}.template-component-resize-handle.vertical{bottom:-17px;left:50%;border-radius:999px;cursor:ns-resize;transform:translateX(-50%)}.template-component-resize-handle.corner{z-index:6;right:-18px;bottom:-18px;width:10px;height:10px;border-radius:3px;cursor:nwse-resize;transform:rotate(45deg)}.template-component-drag-handle:not(.selected) .template-component-resize-handle,.template-component-drag-handle:not(.selected) .template-component-rotate-handle,.template-component-drag-handle:not(.selected) .template-component-size-badge{opacity:0}.template-component-drag-handle.selected .template-component-resize-handle,.template-component-drag-handle.selected .template-component-rotate-handle,.template-component-drag-handle.selected .template-component-size-badge,.template-component-drag-handle:hover .template-component-resize-handle,.template-component-drag-handle:hover .template-component-rotate-handle,.template-component-drag-handle:hover .template-component-size-badge{opacity:1}.template-component-drag-handle.selected .template-component-grab-chip,.template-component-drag-handle:hover .template-component-grab-chip{opacity:.9}.margin-note{justify-self:center;border:1px solid #ffd3dd;border-radius:999px;background:#fff;color:#6d3c47;font-size:14px;font-weight:700;padding:8px 14px}.preview-debug{justify-self:center;width:min(100%,720px);display:flex;flex-wrap:wrap;gap:6px 12px;border:1px dashed #d7c4c8;border-radius:8px;background:rgba(255,255,255,.78);color:#57484c;font-size:12px;padding:8px 10px}.preview-confirm-page .preview-debug{max-height:72px;overflow:auto;padding:6px 8px}.preview-debug strong{color:#2d2d2d}.preview-debug-details{justify-self:center;width:min(100%,720px);border:1px dashed #d7c4c8;border-radius:8px;background:rgba(255,255,255,.78);color:#57484c;font-size:12px;padding:7px 9px}.preview-debug-details summary{cursor:pointer;color:var(--brand-strong);font-weight:800}.preview-debug-details .preview-debug{width:100%;border:0;background:transparent;padding:8px 0 0}.cutline-warning{justify-self:center;width:min(100%,560px);display:grid;grid-gap:3px;gap:3px;border:1px solid #f0c1c1;border-radius:8px;background:#fff4f4;color:#8f3030;font-size:13px;font-weight:700;text-align:center;padding:8px 10px}.cutline-warning span{color:#9c5959;font-size:12px;font-weight:400}.cutline-ruler-side,.cutline-ruler-top{position:absolute;z-index:3;color:#fff;font-weight:700;pointer-events:none}.cutline-ruler-top{height:22px;border-top:2px solid #ffd1dc}.cutline-ruler-top:after,.cutline-ruler-top:before{content:"";position:absolute;top:-7px;width:2px;height:14px;background:#ffd1dc}.cutline-ruler-top:before{left:0}.cutline-ruler-top:after{right:0}.cutline-ruler-top span{position:absolute;left:50%;top:-15px;border-radius:7px;background:#ffacc4;padding:4px 10px;transform:translateX(-50%)}.cutline-ruler-side{width:24px;border-left:2px solid #ffd1dc}.cutline-ruler-side:after,.cutline-ruler-side:before{content:"";position:absolute;left:-7px;width:14px;height:2px;background:#ffd1dc}.cutline-ruler-side:before{top:0}.cutline-ruler-side:after{bottom:0}.cutline-ruler-side span{position:absolute;left:8px;top:50%;border-radius:7px;background:#ffacc4;padding:7px 5px;writing-mode:vertical-rl;transform:translateY(-50%)}.preview-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:10px;gap:10px;align-items:center;justify-content:center;width:min(100%,780px);max-width:100%;min-width:0;justify-self:center}.preview-controls label{font-size:14px}.preview-controls input,.preview-controls select,.preview-metric{min-height:40px;padding:8px 10px}.preview-metric{display:inline-flex;align-items:center;justify-content:center;min-width:0;border:1px solid var(--line);border-radius:6px;background:#fff;color:#34423a;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;text-align:center;white-space:normal}.preview-confirm-page .buyer-bottom-bar{position:relative;bottom:auto;padding:10px max(20px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom))}.smart-preview-page{overflow:hidden}.smart-preview-page .preview-page-stage{min-height:0;overflow:auto;gap:10px;padding:8px 20px 28px}.smart-preview-page .contour-notice{width:min(1040px,100%);padding:9px 14px}.smart-preview-page .preview-summary-card{width:min(1040px,calc(100vw - 32px))}.smart-preview-page .production-preview-layout{width:min(1180px,calc(100vw - 32px));grid-template-columns:minmax(0,1fr) minmax(140px,180px);gap:12px}.smart-preview-page .production-card{gap:8px;padding:10px 10px 14px}.smart-preview-page .production-canvas{height:clamp(390px,calc(100svh - 320px),680px);padding:16px 56px 16px 16px;background-size:32px 32px;background-position:0 0,0 16px,16px -16px,-16px 0}.smart-preview-page .preview-main-title strong{font-size:17px}.smart-preview-page .preview-main-title span{font-size:12px}.smart-preview-page .source-card{align-self:start;gap:5px;opacity:.44}.smart-preview-page .source-card h2{font-size:14px}.source-card p{margin:0;color:var(--muted);font-size:11px;font-weight:700;line-height:1.45;text-align:center}.smart-preview-page .source-image-box{min-height:96px;border-color:#eadfe2;background:rgba(255,255,255,.72)}.smart-preview-page .source-image-box img{max-height:128px}.smart-preview-page .preview-controls{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.smart-preview-page .preview-metric{min-height:34px;font-size:12px;padding:7px 9px}.smart-preview-page .margin-note{font-size:12px;margin-bottom:2px;padding:6px 10px}.smart-preview-page .buyer-bottom-bar{position:static;bottom:auto;padding:10px max(20px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom))}.preview-confirm-page .buyer-bottom-bar{display:grid;justify-items:center;border-top:0;background:linear-gradient(180deg,rgba(255,246,249,0),rgba(255,246,249,.92) 22%,rgba(255,246,249,.98));padding-top:12px}.preview-confirm-page .buyer-actions{width:min(980px,100%);align-items:end;border:1px solid rgba(232,93,126,.16);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 18px 38px rgba(119,43,68,.1);padding:10px}.preview-confirm-page .buyer-actions.three{grid-template-columns:minmax(96px,.7fr) minmax(260px,1.35fr) minmax(190px,.9fr)}.preview-confirm-page .buyer-actions.two{grid-template-columns:minmax(120px,.8fr) minmax(190px,1fr)}.preview-confirm-page .buyer-actions .button,.preview-confirm-page .remat-mode-form select{min-height:44px;border-radius:14px}.preview-confirm-page .buyer-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:900;letter-spacing:.02em}.preview-confirm-page .buyer-actions>a.button.secondary:before{content:"";font-size:15px;line-height:1}.preview-confirm-page .remat-mode-form{align-items:end;border:1px solid rgba(232,93,126,.14);border-radius:16px;background:#fff8fb;padding:6px}.preview-confirm-page .remat-mode-form label span{padding-left:3px;color:#9a5268;font-size:10px;letter-spacing:.04em}.preview-confirm-page .remat-mode-form select{border-color:rgba(232,93,126,.2);background:#fff;color:#4b2632;font-size:13px;padding:0 34px 0 12px}.preview-confirm-page .remat-mode-form .button:before{content:"";font-size:13px;line-height:1}.preview-confirm-page .buyer-actions .primary-strong{min-height:50px;border:0;border-radius:16px;background:linear-gradient(135deg,#147866,#0f6a5a);color:#fff;box-shadow:0 14px 28px rgba(20,120,102,.22)}.preview-confirm-page .buyer-actions .primary-strong:before{content:"";display:inline-grid;width:20px;height:20px;place-items:center;border-radius:999px;background:rgba(255,255,255,.18);font-size:13px;line-height:1}.preview-confirm-page .buyer-actions .primary-strong:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 18px 34px rgba(20,120,102,.26)}.preview-confirm-page .buyer-submit-error{margin-bottom:8px;border-radius:14px;box-shadow:0 10px 24px rgba(143,48,48,.08)}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:720px){.binding-board,.binding-form,.upload-grid{grid-template-columns:1fr}.upload-grid{padding:16px}.topbar{align-items:flex-start;flex-direction:column}.buyer-stage{padding:20px 16px 188px;scroll-padding-bottom:188px}.buyer-summary-card{width:calc(100vw - 28px);padding:10px}.buyer-summary-selects,.buyer-summary-tile-groups{grid-template-columns:1fr}.buyer-summary-facts{gap:6px}.buyer-summary-facts span{font-size:12px;padding:6px 8px}.buyer-step-bar{grid-template-columns:repeat(5,max-content);justify-content:flex-start;overflow-x:auto;padding:8px 14px 2px;width:100%}.buyer-step{min-width:94px;padding:6px 8px}.fixed-layout-stage{grid-template-columns:1fr;padding:10px 14px 188px;overflow:auto;scroll-padding-top:14px;scroll-padding-bottom:210px}.fixed-layout-canvas{height:min(62svh,720px);min-height:480px}.fixed-layout-preview-panel{gap:10px;padding:6px 8px 72px}.fixed-layout-editor-hint{width:calc(100vw - 28px);min-height:44px;font-size:16px;margin-top:8px;padding:10px 12px}.fixed-layout-preview-shell{grid-template-columns:1fr;justify-items:center;padding:0 22px 58px}.fixed-layout-preview-shell.has-toolbar{grid-template-columns:1fr;gap:0}.fixed-layout-inline-toolbar{position:fixed;left:14px!important;right:14px;top:auto!important;bottom:calc(86px + env(safe-area-inset-bottom));flex-direction:row;flex-wrap:wrap;justify-content:center;border-radius:16px;transform:none!important;z-index:22}.fixed-layout-inline-toolbar button{min-width:62px;min-height:54px;font-size:13px}.fixed-layout-inline-toolbar button span{width:24px;height:24px;font-size:22px}.fixed-layout-inline-toolbar button strong{font-size:13px}.fixed-layout-side-panel{width:100%}.fixed-layout-page{overflow:hidden}.fixed-layout-page .catalog-summary{width:calc(100vw - 28px);margin-top:6px}.fixed-layout-page .fixed-layout-summary{grid-template-columns:1fr 1fr;gap:6px;padding:6px}.fixed-layout-page .buyer-summary-card.fixed-layout-summary{grid-template-columns:1fr;gap:10px;padding:10px}.fixed-layout-summary-line{grid-column:1/-1;gap:6px;overflow-x:auto;font-size:12px;padding:1px 2px}.fixed-layout-step-bar{grid-template-columns:repeat(4,max-content);justify-content:flex-start;overflow-x:auto;padding:8px 14px 2px;width:100%}.fixed-layout-page .buyer-bottom-bar{grid-template-columns:1fr;gap:8px;padding:10px max(14px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom))}.fixed-layout-success-card{padding:14px}.fixed-layout-success-card h2{font-size:22px}.nesting-download-head{grid-template-columns:1fr}.nesting-download-actions{justify-content:flex-start}.catalog-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.add-photo-card{width:min(100%,420px)}.photo-preview-wrap{min-height:58svh;padding:10px;margin-bottom:52px}.photo-preview{max-height:min(50svh,calc(100svh - 410px),560px)}.production-preview-layout{grid-template-columns:1fr}.source-card{order:2;opacity:.82}.production-canvas{height:clamp(260px,calc(100svh - 390px),430px);padding:34px 72px 34px 24px}.preview-confirm-page .preview-page-stage{padding:6px 14px 148px}.preview-confirm-page .contour-notice{font-size:13px;padding:7px 10px}.preview-confirm-page .production-canvas{height:clamp(300px,calc(100svh - 400px),460px);padding:24px 56px 24px 18px}.preview-confirm-page .source-card,.preview-main-title{display:grid}.preview-confirm-page .preview-controls{grid-template-columns:auto minmax(120px,1fr)}.preview-confirm-page .preview-debug,.preview-debug-details{display:none}.bleed-zone{width:100%}.preview-controls{grid-template-columns:1fr;width:100%}.smart-cutout-page,.smart-preview-page,.smart-success-page{grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden}.smart-cutout-page .buyer-header,.smart-preview-page .buyer-header,.smart-success-page .buyer-header{height:52px}.smart-cutout-page .buyer-stage{padding:10px 14px 12px;scroll-padding-bottom:16px}.smart-work-card{min-height:auto;grid-template-columns:1fr;gap:10px;padding:10px}.smart-work-copy{align-content:start;gap:8px;padding:12px}.smart-work-copy h2{font-size:22px}.smart-work-copy p{font-size:13px}.cutout-mode-options{grid-template-columns:1fr}.smart-work-card .photo-preview-wrap{height:min(48svh,500px);min-height:240px;margin:0}.smart-work-card.empty .add-photo-card{width:min(100%,360px);aspect-ratio:1/.92}.smart-cutout-page .buyer-bottom-bar,.smart-preview-page .buyer-bottom-bar{grid-template-columns:1fr;gap:8px;padding:10px max(14px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom))}.smart-cutout-page .buyer-actions{justify-self:stretch;width:100%}.buyer-actions .remat-mode-form,.buyer-actions.three{grid-template-columns:1fr}.preview-confirm-page .buyer-actions,.preview-confirm-page .buyer-actions.three,.preview-confirm-page .buyer-actions.two{grid-template-columns:1fr;width:100%;border-radius:18px;padding:8px}.preview-confirm-page .remat-mode-form{grid-template-columns:1fr}.smart-preview-page .preview-page-stage{overflow:auto;padding:6px 12px 10px}.smart-preview-page .production-preview-layout{width:calc(100vw - 24px);grid-template-columns:1fr}.smart-preview-page .production-canvas{height:clamp(330px,calc(100svh - 420px),520px);padding:22px 52px 22px 18px}.smart-preview-page .source-card{opacity:.72}.smart-preview-page .source-image-box{min-height:96px}.smart-preview-page .source-image-box img{max-height:130px}.smart-preview-page .preview-controls{grid-template-columns:1fr}}@media (max-width:980px){.fixed-layout-editor-shell{grid-template-columns:1fr;min-height:auto}.fixed-layout-studio-left{grid-template-columns:1fr}.fixed-layout-tool-rail{grid-template-columns:repeat(4,minmax(0,1fr));border-right:0;border-bottom:1px solid #e3e7eb}.fixed-layout-editor-properties{position:static;height:auto;border-left:0}.fixed-layout-editor-canvas{max-height:none}}.board-template-library-page,.board-template-studio-empty,.board-template-studio-page{width:min(1720px,calc(100vw - 28px));margin:0 auto;padding:18px 0 34px}.board-template-library-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.board-template-library-head h1{margin:4px 0 6px}.board-template-library-stats{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.board-template-card-meta span,.board-template-fit-button,.board-template-library-stats span,.board-template-zoom-control span{border:1px solid var(--line);border-radius:999px;background:#fff;color:#40524d;font-size:12px;font-weight:700;padding:5px 9px}.board-template-fit-button{border-color:#2f80ed;color:#1d63b7;background:#eff7ff;text-decoration:none}.board-template-create-card,.board-template-filter-card{margin-top:14px}.board-template-create-form,.board-template-filter-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:12px;gap:12px;align-items:end}.board-template-create-form button,.board-template-filter-form .secondary-link,.board-template-filter-form button{min-height:36px}.checkbox-line{min-height:38px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:8px 10px}.board-template-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));grid-gap:14px;gap:14px;margin-top:14px}.board-template-card{display:grid;grid-template-columns:108px minmax(0,1fr);grid-gap:14px;gap:14px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(23,107,91,.06);padding:14px}.board-template-card-preview{min-height:156px;display:grid;place-items:center;overflow:hidden;border:1px dashed #bfd7cf;border-radius:6px;background:#f7fbf9;color:var(--muted);font-size:12px}.board-template-card-preview img{width:100%;height:100%;object-fit:contain}.board-template-card-body,.board-template-card-title{min-width:0}.board-template-card-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.board-template-card-title h2{margin:0;font-size:17px}.board-template-card-title p{margin:4px 0 0;color:var(--muted);font-size:12px;word-break:break-word}.board-template-card-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.board-template-card-actions{display:flex;flex-wrap:wrap;gap:8px}.board-template-card-actions form{display:inline-flex}.admin-primary-link,.secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid var(--brand);border-radius:6px;color:#fff;background:var(--brand);font-size:13px;font-weight:700;text-decoration:none;padding:7px 11px}.secondary-link{border-color:var(--line);background:#fff;color:var(--brand-strong)}.admin-primary-button{min-height:36px}.board-template-studio-page{max-width:none;height:100vh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}.board-template-studio-form{min-height:0;flex:1 1;display:flex;flex-direction:column;gap:10px}.board-template-studio-toolbar{min-height:64px;display:grid;grid-template-columns:auto minmax(220px,1.5fr) minmax(180px,1fr) repeat(4,minmax(86px,.55fr)) auto auto;grid-gap:10px;gap:10px;align-items:end;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 22px rgba(23,107,91,.06);padding:10px}.board-template-studio-toolbar label,.board-template-toolbar-id{min-width:0;display:grid;grid-gap:4px;gap:4px;color:#50615d;font-weight:700}.board-template-warning{display:grid;grid-gap:4px;gap:4px;border:1px solid #f6c453;border-radius:8px;background:#fff7d6;color:#7a4a00;font-weight:700;padding:10px 12px}.board-template-warning span{font-size:12px;font-weight:600}.board-template-studio-toolbar input,.board-template-studio-toolbar select{min-width:0}.board-template-toolbar-id{grid-template-columns:minmax(160px,1fr) auto;align-items:end}.board-template-toolbar-id span{grid-column:1/-1}.board-template-toolbar-id input{overflow:hidden;border:1px solid var(--line);border-radius:5px;background:#f7fbf9;color:#20332f;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;padding:9px}.board-template-toolbar-id input[readonly]{background:#eef2f1;color:#667085}.board-template-toolbar-id button{min-height:37px;white-space:nowrap}.board-template-studio-shell{min-height:0;flex:1 1;display:grid;grid-template-columns:320px minmax(420px,1fr) 360px;grid-gap:10px;gap:10px;overflow:hidden}.board-template-canvas-panel,.board-template-studio-left,.board-template-studio-right{min-height:0;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff}.board-template-studio-left,.board-template-studio-right{padding:12px}.board-template-tool-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin-bottom:12px}.board-template-tool-rail a,.board-template-tool-rail button,.board-template-tool-rail label,.board-template-tool-rail span{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfd7cf;border-radius:6px;background:#f7fbf9;color:var(--brand-strong);font-size:13px;font-weight:800;text-align:center;text-decoration:none;padding:8px}.board-template-tool-rail label{gap:6px}.board-template-tool-rail label input{width:auto;min-width:0}.board-template-tool-rail a.active,.board-template-tool-rail a:hover,.board-template-tool-rail button.active,.board-template-tool-rail button:hover{border-color:#2f8f7a;background:#eaf7f2}.board-template-tool-rail span{color:var(--muted);background:#fff;font-weight:700}.board-template-snap-toggle{color:var(--muted);background:#fff;font-weight:800}.board-template-display-controls{display:grid;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:7px;background:#fff;margin-bottom:12px;padding:10px}.board-template-display-controls strong{font-size:13px}.board-template-display-controls>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.board-template-display-controls label{display:inline-flex;align-items:center;gap:6px;color:#40524d;font-size:12px;font-weight:700}.board-template-display-controls input{width:auto;min-width:0}.board-template-layer-list{display:grid;grid-gap:8px;gap:8px}.board-template-layer-list-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:4px}.board-template-layer-list-head span{color:var(--muted);font-size:12px}.board-template-layer{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:4px;gap:4px;align-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);text-align:left;text-decoration:none;padding:10px}.board-template-layer.active{border-color:#2f80ed;background:#eff7ff;box-shadow:inset 3px 0 0 #2f80ed}.board-template-layer span{color:var(--muted);font-size:12px}.board-template-layer-main{min-width:0;display:grid;grid-gap:4px;gap:4px;border:0;background:transparent;color:inherit;padding:0;text-align:left}.board-template-layer-lock{align-self:stretch;min-width:46px;border:1px solid #d6e3de;border-radius:6px;background:#f8fbfa;color:#174c40;font-weight:800;padding:0 8px}.board-template-layer-lock.locked{background:#eef4f2;color:#64748b}.board-template-canvas-panel{display:flex;flex-direction:column;background:#f7f9f8}.board-template-canvas-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid var(--line);background:#fff;padding:12px 14px}.board-template-canvas-heading h1{margin:2px 0 0;font-size:18px}.board-template-zoom-control{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.board-template-canvas-stage{min-height:0;flex:1 1;position:relative;overflow:hidden;padding:0;background-image:radial-gradient(circle,rgba(37,73,65,.12) 1px,transparent 0);background-size:18px 18px;cursor:default}.board-template-canvas-stage.is-pan-ready{cursor:-webkit-grab;cursor:grab}.board-template-canvas-stage.is-panning{cursor:-webkit-grabbing;cursor:grabbing}.board-template-canvas-pan-layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:96px;box-sizing:border-box;transform-origin:center center;will-change:transform}.board-template-canvas{position:relative;height:auto;max-width:100%;max-height:100%;overflow:hidden;border:1px solid #9bcfc2;border-radius:10px;background:#fff;box-shadow:0 16px 44px rgba(16,60,52,.16)}.board-template-canvas-legend{position:absolute;right:10px;bottom:10px;z-index:8;display:grid;grid-gap:5px;gap:5px;max-width:210px;border-radius:8px;color:#33413d;font-size:12px;font-weight:700;pointer-events:auto}.board-template-canvas-legend-toggle{justify-self:end;min-height:26px;border:1px solid rgba(190,210,204,.95);border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 6px 18px rgba(16,60,52,.12);color:#33413d;font-size:12px;font-weight:800;line-height:1;padding:5px 9px}.board-template-canvas-legend-body{display:grid;grid-gap:3px;gap:3px;border:1px solid rgba(190,210,204,.9);border-radius:8px;background:rgba(255,255,255,.92);box-shadow:0 8px 20px rgba(16,60,52,.14);padding:6px 7px}.board-template-canvas-legend span{display:inline-flex;align-items:center;gap:5px;line-height:1.25;white-space:nowrap}.board-template-canvas-legend i{width:14px;height:0;display:inline-block;border-top:2px solid #999}.board-template-canvas-legend .legend-bg{border-color:#f87171}.board-template-canvas-legend .legend-safe{border-color:#0891b2;border-top-style:dashed}.board-template-canvas-legend .legend-cut{border-color:#ff0000}.board-template-canvas-legend .legend-select{border-color:#2563eb;border-top-style:dashed}.board-template-canvas-bg,.board-template-canvas-grid,.board-template-canvas-overlay{position:absolute;inset:0;width:100%;height:100%}.board-template-canvas-bg{object-position:center}.board-template-canvas-grid{pointer-events:none;background-image:linear-gradient(rgba(47,143,122,.12) 1px,transparent 0),linear-gradient(90deg,rgba(47,143,122,.12) 1px,transparent 0);background-size:20px 20px}.board-template-canvas-overlay{pointer-events:auto}.board-template-canvas-overlay a,.board-template-svg-clickable{cursor:pointer}.board-template-svg-clickable:active{cursor:-webkit-grabbing;cursor:grabbing}.board-template-svg-text{pointer-events:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none}.board-template-resize-handle{fill:#2f80ed;stroke:#fff;stroke-width:.45;cursor:nwse-resize;pointer-events:auto}.board-template-property-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-bottom:12px}.board-template-property-tabs a,.board-template-property-tabs button,.board-template-property-tabs span{display:grid;place-items:center;min-height:38px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-weight:800;text-decoration:none;padding:0 10px}.board-template-property-tabs .active{border-color:#2f80ed;color:#1d63b7;background:#eff7ff}.board-template-property-section{display:grid;grid-gap:10px;gap:10px;margin-bottom:12px}.board-template-property-section h2{margin:0;font-size:17px}.board-template-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.board-template-field-wide{grid-column:1/-1}.board-template-inline-actions{display:flex;flex-wrap:wrap;gap:8px}.board-template-field-grid label,.board-template-studio-right label{display:grid;grid-gap:5px;gap:5px;font-weight:800;color:#31413d}.board-template-background-preview{display:grid;place-items:center;overflow:hidden;min-height:190px;border:1px dashed #bfd7cf;border-radius:8px;background:#f7fbf9;color:var(--muted);margin-bottom:12px}.board-template-background-preview img{max-width:100%;max-height:240px;object-fit:contain}.board-template-readonly-stack{display:grid;grid-gap:8px;gap:8px;margin-bottom:12px}.board-template-variable-help{border:1px solid #d7ebe3;border-radius:8px;background:#f7fbf9;color:#50615d;font-size:12px;line-height:1.6;padding:10px;margin-bottom:12px}.board-template-color-picker{display:grid;grid-gap:8px;gap:8px}.board-template-color-main{display:grid;grid-template-columns:42px minmax(0,1fr);grid-gap:8px;gap:8px}.board-template-color-main input[type=color]{width:42px;height:36px;min-width:42px;border-radius:7px;padding:3px}.board-template-color-swatches{display:flex;flex-wrap:wrap;gap:6px}.board-template-color-swatches button{width:26px;height:26px;min-height:26px;border:1px solid #cbd5d1;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);padding:0}.board-template-color-swatches button.active{outline:2px solid #2f80ed;outline-offset:2px}.board-template-advanced{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}.board-template-advanced summary{cursor:pointer;font-weight:800}.board-template-advanced p{margin:8px 0 0;color:var(--muted);font-size:12px;word-break:break-all}.danger-outline{border-color:#f2c4c4!important;color:#a53b3b!important}.multi-design-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:12px;gap:12px}.multi-design-page{height:auto;min-height:100svh;grid-template-rows:auto auto auto auto auto;overflow-y:auto;padding-bottom:24px}.multi-design-list-panel,.multi-design-process-panel{width:min(1180px,calc(100vw - 32px));align-self:start;justify-self:center}.multi-design-count-strip{display:flex;flex-wrap:wrap;gap:8px}.multi-design-count-strip span{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-size:13px;font-weight:800;padding:8px 10px}.multi-design-count-strip .ok{border-color:#b8dfcf;background:#edf8f2;color:#0d5c4b}.multi-design-count-strip .danger{border-color:#f1b8b8;background:#fff2f2;color:#a53b3b}.multi-design-grid.compact{grid-template-columns:repeat(auto-fit,minmax(174px,210px));align-items:stretch;justify-content:start}.multi-design-card{display:grid;grid-template-columns:92px minmax(0,1fr);grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}.multi-design-card.compact{grid-template-columns:1fr;align-content:start;min-height:250px}.multi-design-art-card{gap:9px;padding:8px}.multi-design-card.active{border-color:#2f80ed;box-shadow:0 0 0 2px rgba(47,128,237,.1)}.multi-design-add-card{display:grid;place-items:center;align-content:center;min-height:250px;border:1px dashed #b8d7ce;border-radius:8px;background:#f7fbf9;color:#0d5c4b;cursor:pointer;grid-gap:8px;gap:8px;padding:18px;text-align:center}.multi-design-add-card span{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:#0d5c4b;color:#fff;font-size:28px;line-height:1}.multi-design-add-card strong{font-size:17px}.multi-design-add-card em{color:var(--muted);font-size:12px;font-style:normal;line-height:1.45}.multi-design-card-top{display:grid;grid-template-columns:72px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:start}.multi-design-art-preview{position:relative;display:grid;min-height:142px}.multi-design-thumb{position:relative;width:92px;height:92px;border:1px solid var(--line);border-radius:8px;background:#f7fbf9;overflow:hidden;padding:0}.multi-design-card.compact .multi-design-thumb{width:100%;height:148px}.multi-design-art-card .multi-design-thumb{cursor:pointer}.multi-design-thumb img{width:100%;height:100%;object-fit:contain}.multi-design-final-thumb{position:relative;width:100%;height:100%;margin:0 auto;overflow:hidden;background-color:#fff;background-image:linear-gradient(45deg,rgba(15,23,42,.06) 25%,transparent 0),linear-gradient(-45deg,rgba(15,23,42,.06) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(15,23,42,.06) 0),linear-gradient(-45deg,transparent 75%,rgba(15,23,42,.06) 0);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.multi-design-final-thumb-artwork,.multi-design-final-thumb-layer,.multi-design-final-thumb-text{position:absolute;pointer-events:none}.multi-design-final-thumb-artwork img,.multi-design-final-thumb-layer img{display:block;width:100%;height:100%;object-fit:contain}.multi-design-final-thumb-text{display:flex;align-items:flex-start;justify-content:center;overflow:hidden;text-align:center;white-space:pre-line;word-break:break-word;line-height:1.08}.multi-design-thumb span{position:absolute;left:6px;top:6px;border-radius:999px;background:rgba(13,92,75,.88);color:#fff;font-size:11px;font-weight:800;padding:2px 6px}.multi-design-delete-float{position:absolute;right:8px;bottom:8px;min-height:34px;border:1px solid #f1b8b8;border-radius:8px;background:rgba(255,255,255,.94);color:#c83b55;cursor:pointer;font-size:13px;font-weight:900;padding:4px 9px}.multi-design-delete-float:disabled{cursor:not-allowed;opacity:.55}.multi-design-card-body{display:grid;grid-gap:8px;gap:8px}.multi-design-card-title{display:grid;grid-gap:3px;gap:3px;min-width:0}.multi-design-card-title strong{font-size:14px}.multi-design-card-title em,.multi-design-card-title span{overflow:hidden;color:var(--muted);font-size:12px;font-style:normal;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.multi-design-card-body label{display:grid;grid-gap:4px;gap:4px;color:var(--muted);font-size:12px}.multi-design-card-body input,.multi-design-card-body select{min-height:34px}.multi-design-quantity-control{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;grid-gap:6px;gap:6px;margin-top:2px}.multi-design-quantity-control button,.multi-design-quantity-control input{min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-size:17px;font-weight:900;text-align:center}.multi-design-quantity-control button{cursor:pointer}.multi-design-quantity-control button:disabled,.multi-design-quantity-control input:disabled{cursor:not-allowed;opacity:.55}.multi-design-card-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;margin-top:auto}.multi-design-card-actions .button{min-height:36px;padding-inline:8px}.multi-design-card-warning{border:1px solid #f1d3a9;border-radius:8px;background:#fff8eb;color:#9a641d;font-size:12px;font-weight:700;line-height:1.45;padding:8px}.button-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.status-pill{display:inline-flex;width:-moz-fit-content;width:fit-content;align-items:center;border-radius:999px;background:#edf7f3;color:#0d5c4b;font-size:12px;font-weight:800;padding:3px 8px}.status-failed{background:#fff0f0;color:#a53b3b}.status-processing{background:#f4f0ff;color:#5d46a1}.multi-design-preview-panel{margin-top:14px}.multi-design-process-panel{display:grid;grid-gap:12px;gap:12px;padding-top:12px}.multi-design-process-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}.multi-design-process-head h2{margin:0 0 3px;font-size:18px}.multi-design-process-head span{color:var(--muted);font-size:12px;font-weight:700}.multi-design-process-grid{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);grid-gap:12px;gap:12px;align-items:start}.multi-design-process-card,.multi-design-process-empty{display:grid;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px}.multi-design-process-card{position:-webkit-sticky;position:sticky;top:12px}.multi-design-process-thumb{display:grid;place-items:center;height:min(42svh,360px);min-height:260px;border:1px solid var(--line);border-radius:8px;background-color:#f7fbf9;background-image:linear-gradient(45deg,rgba(13,92,75,.07) 25%,transparent 0),linear-gradient(-45deg,rgba(13,92,75,.07) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(13,92,75,.07) 0),linear-gradient(-45deg,transparent 75%,rgba(13,92,75,.07) 0);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px;overflow:hidden}.multi-design-process-thumb img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.multi-design-process-meta{display:grid;grid-gap:5px;gap:5px}.multi-design-process-meta span{color:var(--muted);font-size:12px;font-weight:700}.multi-design-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.multi-design-mode-options .cutout-mode-chip{min-height:72px;padding:9px}.multi-design-process-empty{min-height:180px;align-content:center;justify-items:center;color:var(--muted);text-align:center}.multi-design-page .multi-design-order-bar{position:static;width:min(1180px,calc(100vw - 32px));justify-self:center;grid-template-columns:minmax(280px,620px);justify-content:end;margin-top:2px;border-radius:8px;padding-block:10px;box-shadow:0 -10px 28px rgba(0,0,0,.06)}.multi-design-page .multi-design-order-bar .buyer-actions{width:min(620px,100%);justify-self:end}.multi-design-submit-tip{justify-self:end;border:1px solid #f0c1c1;border-radius:8px;background:#fff4f4;color:#a53b3b;font-size:13px;font-weight:900;line-height:1.45;padding:8px 10px}.multi-design-list-head{align-items:center}.multi-design-preview-panel{margin-top:0;max-width:100%;min-width:0;overflow-x:hidden}.multi-design-preview-panel .preview-confirm-page{height:auto;min-height:0;max-width:100%;border:1px solid var(--line);border-radius:8px;background:#fff2f3;overflow-x:hidden;overflow-y:visible}.multi-design-preview-panel .preview-confirm-page.embedded-compact{display:block}.multi-design-preview-panel .preview-confirm-page>.buyer-header{display:none}.multi-design-preview-panel .preview-page-stage{width:100%;max-width:100%;min-width:0;padding-inline:12px}.multi-design-preview-panel .embedded-compact .preview-page-stage{gap:8px;padding-block:12px}.multi-design-preview-panel .embedded-compact .production-preview-layout{width:100%;max-width:100%;min-width:0;grid-template-columns:1fr}.multi-design-preview-panel .embedded-compact .production-canvas{height:min(52svh,560px);min-height:320px;padding:14px clamp(28px,6vw,48px) 14px 14px}.multi-design-preview-panel .embedded-compact .preview-controls{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.preview-extra-metrics{display:grid;grid-column:1/-1;min-width:0;border:1px dashed #ead5dc;border-radius:8px;background:rgba(255,255,255,.72);padding:6px 8px}.preview-extra-metrics summary{cursor:pointer;color:var(--brand-strong);font-size:12px;font-weight:900}.preview-extra-metrics div{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:8px;gap:8px;margin-top:8px}.multi-design-preview-panel .buyer-bottom-bar{border-radius:0 0 8px 8px}.multi-design-preview-panel .embedded-compact .buyer-bottom-bar{grid-template-columns:1fr;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.multi-design-preview-panel .embedded-compact .buyer-actions.two{grid-template-columns:minmax(140px,220px) minmax(180px,1fr);justify-content:end;width:100%}@media (max-width:900px){.multi-design-process-grid{grid-template-columns:1fr}.multi-design-process-card{position:static}.multi-design-mode-options,.multi-design-page .multi-design-order-bar{grid-template-columns:1fr}}@media (max-width:720px){.multi-design-page{padding-bottom:calc(116px + env(safe-area-inset-bottom))}.multi-design-list-panel,.multi-design-process-panel{width:calc(100vw - 24px)}.multi-design-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;justify-content:stretch}.multi-design-add-card,.multi-design-card.compact{min-height:244px;padding:8px}.multi-design-card-top{grid-template-columns:1fr}.multi-design-card.compact .multi-design-thumb{width:100%;height:128px}.multi-design-card-actions{grid-template-columns:1fr}.multi-design-quantity-control{grid-template-columns:36px minmax(0,1fr) 36px}.multi-design-process-head{grid-template-columns:1fr}.multi-design-process-thumb{height:280px;min-height:240px}.multi-design-page .multi-design-order-bar{position:-webkit-sticky;position:sticky;bottom:0;z-index:24;width:100%;grid-template-columns:1fr;margin-top:4px;border-radius:0}.multi-design-page .multi-design-order-bar .buyer-actions,.multi-design-submit-tip{justify-self:stretch}.multi-design-preview-panel .embedded-compact .buyer-bottom-bar{position:-webkit-sticky;position:sticky;bottom:0;z-index:24}.multi-design-preview-panel .embedded-compact .buyer-actions.two{grid-template-columns:1fr}}@media (max-width:1180px){.board-template-studio-page{height:auto;overflow:visible}.board-template-studio-shell,.board-template-studio-toolbar{grid-template-columns:1fr}.board-template-canvas-panel,.board-template-studio-left,.board-template-studio-right{max-height:none}.board-template-canvas{width:min(86vw,640px);height:auto}}@media (max-width:760px){.board-template-canvas-heading,.board-template-card-title,.board-template-library-head{flex-direction:column;align-items:stretch}.board-template-card{grid-template-columns:1fr}.board-template-card-preview{min-height:180px}.board-template-field-grid{grid-template-columns:1fr}}.order-management-page .managed-order-card{gap:9px;padding:11px 13px}.order-management-page .managed-order-card-head{padding-bottom:8px}.order-management-page .order-status-metric{min-height:60px;padding:8px}.order-management-page .order-thumb,.order-management-page .order-thumb-more,.order-management-page .order-thumb-placeholder{width:42px;height:42px}.managed-order-detail-page{display:grid;grid-gap:12px;gap:12px}.managed-order-detail-topbar{margin-bottom:0}.managed-detail-summary,.managed-internal-grid,.managed-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:10px;gap:10px}.managed-detail-summary,.managed-internal-info,.managed-progress-panel{padding:13px}.managed-summary-item{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid var(--line);border-radius:7px;background:#fbfcfb;padding:9px}.managed-summary-item span{color:var(--muted);font-size:12px;font-weight:800}.managed-summary-item strong{overflow-wrap:anywhere;color:#25332c;font-size:13px;line-height:1.35}.managed-summary-item .strong-value{font-size:15px}.managed-summary-item.tone-warning{border-color:#ead2a8;background:#fff9ed}.managed-summary-item.tone-danger{border-color:#e0b5b5;background:#fff3f3}.managed-summary-item.tone-danger strong{color:var(--danger)}.managed-progress-panel{display:grid;grid-gap:10px;gap:10px}.managed-detail-section h2,.managed-progress-panel h2{margin:0;font-size:17px}.managed-history-panel{border:1px dashed #cfd8d2;border-radius:7px;background:#fff;padding:9px}.managed-history-panel summary,.managed-internal-info summary{cursor:pointer;font-weight:900}.managed-history-panel p{margin:8px 0 0}.managed-detail-section{display:grid;grid-gap:10px;gap:10px}.managed-detail-section-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.managed-detail-section-head span{color:var(--muted);font-size:13px;font-weight:800}.managed-design-grid{display:grid;grid-gap:12px;gap:12px}.managed-design-card{display:grid;grid-gap:11px;gap:11px;padding:13px}.managed-design-card>header{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:9px}.managed-design-card>header>div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.managed-design-card>header strong{overflow-wrap:anywhere}.managed-design-mr-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border:1px solid #d8e7df;border-radius:7px;background:#fbfffd;padding:8px 9px}.managed-design-mr-line span{color:var(--muted);font-size:12px;font-weight:800}.managed-design-mr-line strong{overflow-wrap:anywhere;color:#25332c;font-size:13px}.managed-design-body{display:grid;grid-template-columns:104px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:stretch}.managed-design-thumb{display:grid;place-items:center;width:104px;height:104px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.managed-design-thumb img{max-width:100%;max-height:100%;object-fit:contain}.managed-design-thumb span{color:var(--muted);font-size:12px;font-weight:800}.managed-design-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:8px;gap:8px}.managed-design-sorting{border:1px solid #d8e7df;border-radius:7px;background:#fbfffd;color:#34423a;font-size:13px;font-weight:800;padding:8px 9px}.managed-design-exceptions{display:grid;grid-gap:7px;gap:7px}.managed-design-exception{display:flex;gap:8px;border-radius:7px;padding:8px 10px;font-size:13px;line-height:1.45}.managed-design-exception strong{flex:0 0 auto}.managed-design-exception.severity-blocking{border:1px solid #e0b5b5;background:#fff3f3;color:var(--danger)}.managed-design-exception.severity-warning{border:1px solid #ead2a8;background:#fff9ed;color:var(--warn)}.managed-design-actions{display:flex;flex-wrap:wrap;gap:8px}.managed-blocking-badge{border-color:#e0b5b5!important;background:#fff3f3!important;color:var(--danger)!important}.button.disabled,button.disabled{pointer-events:none;opacity:.55}.managed-internal-info{display:grid;grid-gap:12px;gap:12px}.managed-internal-table-wrap{overflow-x:auto}.managed-internal-table{min-width:900px}@media (max-width:820px){.managed-design-body{grid-template-columns:1fr}.managed-design-thumb{width:100%;height:180px}}@media (max-width:800px){.fixed-layout-editor-form.fixed-layout-studio.template-management-studio{height:auto;min-height:100svh;overflow:visible}.template-management-studio .fixed-layout-editor-layers,.template-management-studio .fixed-layout-editor-properties,.template-management-studio .fixed-layout-editor-shell,.template-management-studio .fixed-layout-editor-workspace,.template-management-studio .fixed-layout-studio-left{height:auto;min-height:0;overflow:visible}.template-management-studio .fixed-layout-editor-canvas-stage{min-height:520px}}.fixed-layout-studio-page .fixed-layout-editor-form.fixed-layout-studio.template-management-studio{height:100vh;min-height:0;overflow:hidden}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-topbar{grid-template-columns:auto minmax(150px,220px) minmax(120px,1fr) minmax(280px,440px) minmax(220px,auto);gap:8px;padding:6px 10px}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-back{min-height:30px;padding:5px 9px}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-id,.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-title-field{gap:1px}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-canvas-fields .editor-field input,.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-canvas-fields .editor-field select,.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-title-field input{min-height:30px;padding:4px 8px}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-canvas-fields{grid-template-columns:repeat(4,minmax(60px,1fr));gap:6px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-top-actions{gap:6px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-top-actions .button,.fixed-layout-studio-page .template-management-studio .template-studio-history-button{min-height:30px;padding:5px 8px}.fixed-layout-studio-page .template-management-studio .template-studio-publish-sync{min-height:30px;padding:4px 8px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-shell{flex:1 1 auto;height:auto;min-height:0;overflow:hidden;grid-template-columns:350px minmax(550px,1fr) minmax(270px,320px)}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-properties,.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-workspace,.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-left{height:auto;min-height:0;overflow:hidden}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-properties{display:flex;flex-direction:column;height:100%;max-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-left{grid-template-columns:104px minmax(0,1fr)}.fixed-layout-studio-page .template-management-studio .template-studio-layer-tools{padding:8px 6px}.fixed-layout-studio-page .template-management-studio .fixed-layout-studio-left>.fixed-layout-editor-layers{padding:8px 6px 8px 8px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-panel-head{display:grid;grid-gap:2px;gap:2px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-panel-head span{line-height:1.3;overflow-wrap:anywhere}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-layer-actions{gap:4px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-layer-actions button{min-height:28px;padding:4px 5px;font-size:11px;white-space:nowrap}.fixed-layout-studio-page .template-management-studio .editor-production-layer-group+.editor-production-layer-group{margin-top:6px}.fixed-layout-studio-page .template-management-studio .editor-production-layer-group summary{gap:5px;padding:6px 7px}.fixed-layout-studio-page .template-management-studio .editor-production-layer-group .editor-layer-row{grid-template-columns:minmax(0,1fr) 34px 34px;grid-template-rows:repeat(2,minmax(28px,auto));gap:3px;align-items:stretch;margin:3px 4px}.fixed-layout-studio-page .template-management-studio .editor-layer{grid-column:1;grid-row:1/3;min-height:42px;padding:5px 6px}.fixed-layout-studio-page .template-management-studio .editor-layer span{max-width:100%;overflow:visible;font-size:12px;line-height:1.25;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.fixed-layout-studio-page .template-management-studio .editor-layer em{display:block;max-width:100%;overflow:visible;font-size:10px;line-height:1.3;overflow-wrap:anywhere;-webkit-line-clamp:unset}.fixed-layout-studio-page .template-management-studio .editor-layer-delete,.fixed-layout-studio-page .template-management-studio .editor-layer-eye,.fixed-layout-studio-page .template-management-studio .editor-layer-lock{width:100%;min-height:28px;padding:3px 2px;font-size:10px;line-height:1.2;white-space:nowrap}.fixed-layout-studio-page .template-management-studio .editor-layer-eye{grid-column:2;grid-row:1}.fixed-layout-studio-page .template-management-studio .editor-layer-lock{grid-column:3;grid-row:1}.fixed-layout-studio-page .template-management-studio .editor-layer-delete{grid-column:2/4;grid-row:2}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-toolbar,.fixed-layout-studio-page .template-management-studio .fixed-layout-production-layer-switches{gap:8px;padding:8px 10px}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-canvas-workspace{gap:6px;min-height:0}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-grid-toolbar{min-height:34px;padding:4px 8px}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-grid{height:100%;min-height:0;gap:5px;padding:4px;overflow:auto}.fixed-layout-studio-page .template-management-studio .fixed-layout-editor-canvas-stage{min-height:0}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-cell{border-radius:12px}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-grid:not(.focus-mode) .template-studio-canvas-cell{min-height:96px}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-cell-header{padding:4px 8px}.fixed-layout-studio-page .template-management-studio .template-studio-canvas-cell .fixed-layout-editor-canvas-stage{padding:5px}.geometry-edit-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.geometry-edit-toolbar .button{display:inline-flex;width:76px;min-height:48px;height:48px;align-items:center;justify-content:center;padding:4px 8px;line-height:1;vertical-align:middle}.geometry-edit-toolbar .button.active{border-color:#e85d7e;background:#e85d7e;color:#fff}.geometry-toolbar-label{display:inline-grid;grid-template-columns:1fr;grid-template-rows:18px auto;align-items:center;justify-content:center;justify-items:center;gap:3px;height:36px;line-height:1;white-space:nowrap}.geometry-toolbar-icon{display:block;width:18px;height:18px;flex:0 0 auto;color:currentColor;overflow:visible}.geometry-toolbar-label>span{display:block;font-size:12px;line-height:1}.geometry-policy-note{color:#8b6670;font-size:12px}.back-side-editor-panel,.white-ink-editor-panel{gap:8px}.white-ink-page-body{display:flex;align-items:center;gap:10px;border:1px solid #ead7dd;border-radius:10px;background:#fff;padding:8px 9px}.back-side-page-body{border-color:#d9e7e2;background:#f8fffc}.white-ink-page-summary{display:grid;grid-gap:2px;gap:2px;min-width:0;margin-right:auto}.white-ink-editor-panel strong{color:#24191d;font-size:13px}.white-ink-editor-panel span{color:#7b6269;font-size:11px}.white-ink-editor-panel small{color:#9b7a84;font-size:11px}.white-ink-page-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.white-ink-view-toggle{display:inline-flex;align-items:center;gap:2px;border:1px solid #ead7dd;border-radius:999px;background:#fff7f9;padding:2px}.white-ink-view-toggle button{border:0;border-radius:999px;background:transparent;color:#8a5262;cursor:pointer;font-size:12px;font-weight:800;line-height:1;padding:7px 10px;white-space:nowrap}.white-ink-view-toggle button.active{background:#e85d7e;color:#fff;box-shadow:0 3px 8px rgba(232,93,126,.18)}.white-ink-upload-button{position:relative;overflow:hidden;white-space:nowrap}.white-ink-upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.white-ink-status{color:#5f7770;font-weight:700}.white-ink-error{color:#bb3f61;font-weight:800}.geometry-editor-panel{display:grid;grid-gap:12px;gap:12px;border:1px solid #f2c6d0;border-radius:12px;background:#fff9fb;padding:12px}.cutline-library-panel>header,.geometry-editor-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.geometry-editor-panel>header>div{display:grid;grid-gap:3px;gap:3px}.geometry-editor-empty,.geometry-editor-panel>header span{color:#7b6269;font-size:12px}.geometry-editor-panel>header button,.hole-editor-heading button{border:0;background:transparent;color:#bb3f61;font-weight:700}.geometry-editor-header-actions{display:flex;align-items:center;gap:10px}.geometry-editor-header-actions button:disabled{color:#b9a0a7;cursor:not-allowed}.fixed-cutline-image-move-control{display:grid;grid-gap:8px;gap:8px}.fixed-cutline-image-move-control.locked,.fixed-cutline-image-move-control>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7b6269;font-size:12px}.fixed-cutline-image-move-control.locked{border-top:1px solid #f0d0d8;padding-top:8px}.color-window-template-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));grid-gap:6px;gap:6px}.color-window-template-picker button{display:grid;grid-gap:2px;gap:2px;border:1px solid #f0d0d8;border-radius:9px;background:#fff;color:#5f454d;cursor:pointer;min-height:44px;padding:6px 8px;text-align:left}.color-window-template-picker button.active{border-color:#ec5f86;background:#fff3f7;box-shadow:0 0 0 2px rgba(236,95,134,.12)}.color-window-template-picker strong{color:#7a2d41;font-size:12px;line-height:1.15}.color-window-template-picker span{color:#8a6a72;font-size:10px;font-weight:700;line-height:1.2}.color-window-editor-panel{gap:5px;padding:8px 10px}.color-window-editor-panel>header{margin-bottom:0}.color-window-editor-panel>header span{display:none}.color-window-editor-panel .color-window-template-picker{display:flex;gap:5px;overflow-x:auto;padding:1px 1px 3px;scrollbar-width:thin}.color-window-editor-panel .color-window-template-picker button{position:relative;display:grid;flex:0 0 auto;grid-template-columns:15px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;grid-column-gap:6px;column-gap:6px;grid-row-gap:1px;row-gap:1px;min-width:128px;max-width:176px;min-height:38px;border-radius:10px;padding:5px 8px}.color-window-editor-panel .color-window-template-picker button:before{content:"";grid-row:1/3;width:12px;height:12px;border:2px solid #f4a0b7;border-radius:999px;background:#fff;box-sizing:border-box}.color-window-editor-panel .color-window-template-picker button.active,.color-window-editor-panel .color-window-template-picker button[aria-checked=true]{border-color:#e11d48;background:linear-gradient(180deg,#fff7fa,#ffe8f0);box-shadow:0 0 0 2px rgba(225,29,72,.12),inset 3px 0 0 #e11d48}.color-window-editor-panel .color-window-template-picker button.active:before,.color-window-editor-panel .color-window-template-picker button[aria-checked=true]:before{content:"";display:grid;place-items:center;border-color:#e11d48;background:#e11d48;color:#fff;font-size:9px;font-weight:900;line-height:1}.color-window-editor-panel .color-window-template-picker strong{grid-column:2;overflow:hidden;color:#7a1630;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.color-window-editor-panel .color-window-template-picker span{display:block;grid-column:2;overflow:hidden;color:#9b6373;font-size:9.5px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.template-text-editor-panel{gap:8px;padding:10px}.template-text-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:8px;gap:8px}.template-text-editor-field{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid #f1d8df;border-radius:10px;background:rgba(255,255,255,.86);padding:8px}.template-text-editor-field.active{border-color:rgba(30,136,229,.7);box-shadow:0 0 0 2px rgba(30,136,229,.12)}.template-text-editor-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.template-text-editor-title button,.template-text-reset-button{border:1px solid #8db9ac;border-radius:8px;background:#fff;color:#0f766e;cursor:pointer;font-size:12px;font-weight:900;padding:5px 8px}.template-text-editor-field span{overflow:hidden;color:#7a1630;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.template-text-editor-field input,.template-text-editor-field textarea{width:100%;min-width:0;border:1px solid #d9e8e2;border-radius:9px;background:#fff;color:#1f2933;font:inherit;font-size:14px;font-weight:800;line-height:1.35;padding:8px 10px}.template-text-editor-field textarea{resize:vertical}.template-text-layout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.template-text-layout-grid label{display:grid;grid-gap:3px;gap:3px;color:#7a1630;font-size:11px;font-weight:900}.template-text-layout-grid input{padding:6px 7px}.template-text-font-field{display:grid;grid-gap:4px;gap:4px;color:#7a1630;font-size:11px;font-weight:900}.template-text-font-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));grid-gap:5px;gap:5px}.template-text-font-grid button{display:grid;min-width:0;min-height:40px;align-content:center;border:1px solid #efd5de;border-radius:9px;background:#fff;color:#4b2536;cursor:pointer;padding:5px 6px;text-align:center}.template-text-font-grid button.active{border-color:#e85d7e;background:#fff2f6;box-shadow:0 0 0 2px rgba(232,93,126,.13)}.template-text-font-grid strong{min-width:0;font-size:12px;font-weight:900;line-height:1.15;overflow-wrap:anywhere;white-space:normal}.template-text-font-preview{display:block;margin-top:4px;border:1px dashed #f0a7b9;border-radius:9px;background:#fff;color:#4b2536;font-size:13px;line-height:1.2;padding:6px 8px}.template-text-reset-button{justify-self:start}.template-text-editor-field.readonly strong{overflow:hidden;border:1px solid #e6efeb;border-radius:9px;background:#f7fbf9;color:#6f7f7a;font-size:13px;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.color-window-editor-grid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:5px}.color-window-editor-field{display:flex;align-items:center;gap:5px;flex:0 1 170px;min-width:0;border:1px solid #f1d8df;border-radius:7px;background:rgba(255,255,255,.78);padding:3px 5px}.color-window-editor-field.wide{flex-basis:210px}.color-window-editor-grid .white-ink-error{flex:1 0 100%}.color-window-editor-field span{flex:0 0 auto;color:#5f2c3e;font-size:10.5px;font-weight:800;white-space:nowrap}.color-window-editor-field input[type=file],.color-window-editor-field input[type=number],.color-window-editor-field select{min-width:0;width:100%;min-height:24px;border:1px solid #e9d4db;border-radius:6px;background:#fff;color:#3f3036;font-size:11px;font-weight:700;padding:2px 5px}.color-window-editor-field input[type=color]{flex:1 1 auto;min-width:36px;width:100%;height:24px;border:1px solid #e9d4db;border-radius:6px;background:#fff;padding:2px}.color-window-transform-summary{display:flex;flex:1 1 250px;align-items:center;gap:5px;min-width:0;min-height:32px;border:1px solid #ecd8de;border-radius:7px;background:rgba(255,255,255,.8);padding:4px 5px}.color-window-transform-summary span{flex:0 0 auto;border-radius:5px;background:#fff1f5;color:#9f1239;font-size:10px;font-weight:800;line-height:1;padding:5px 6px;white-space:nowrap}.color-window-editor-panel .color-window-preset-picker{max-height:130px;overflow-x:auto;overflow-y:hidden}.color-window-editor-panel .color-window-preset-picker button{grid-template-columns:minmax(0,1fr);grid-template-rows:82px minmax(0,1fr);width:132px;min-width:132px;max-width:132px;min-height:0;max-height:124px;gap:5px;padding:7px}.color-window-editor-panel .color-window-preset-picker button:focus{outline:none}.color-window-editor-panel .color-window-preset-picker button:focus-visible{outline:2px solid rgba(232,95,134,.45);outline-offset:1px}.color-window-editor-panel .color-window-preset-picker button:before{display:none}.color-window-editor-panel .color-window-preset-picker button.active,.color-window-editor-panel .color-window-preset-picker button[aria-checked=true]{border-color:#ee8aa7;background:#fff9fb;box-shadow:0 0 0 1px rgba(225,29,72,.08)}.color-window-editor-panel .color-window-preset-picker button.active:before,.color-window-editor-panel .color-window-preset-picker button[aria-checked=true]:before{content:none;display:none}.color-window-editor-panel .color-window-preset-picker .color-window-preset-thumbnail{display:block;grid-column:1;grid-row:1;justify-self:center;width:100%;height:82px;aspect-ratio:4/3;border:1px solid rgba(127,29,56,.18);border-radius:9px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)}.color-window-editor-panel .color-window-preset-picker button.active .color-window-preset-thumbnail,.color-window-editor-panel .color-window-preset-picker button[aria-checked=true] .color-window-preset-thumbnail{border-color:#e85f86;box-shadow:0 0 0 2px rgba(232,95,134,.14),inset 0 0 0 1px rgba(255,255,255,.5)}.color-window-editor-panel .color-window-preset-picker .color-window-preset-copy{display:grid;grid-column:1;grid-row:2;grid-gap:2px;gap:2px;min-width:0;text-align:left}.color-window-editor-panel .color-window-preset-picker .color-window-preset-copy small,.color-window-editor-panel .color-window-preset-picker .color-window-preset-copy strong{display:block;grid-column:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-window-editor-panel .color-window-preset-picker .color-window-preset-copy strong{color:#7a1630;font-size:11px}.color-window-editor-panel .color-window-preset-picker .color-window-preset-copy small{color:#9b6373;font-size:9.5px;font-weight:700}.color-window-transform-summary button{margin-left:auto;min-height:24px;border:1px solid #d9c5cc;border-radius:6px;background:#fff;color:#5f2c3e;font-size:10.5px;font-weight:800;padding:3px 9px;white-space:nowrap}.template-asset-editor-panel{gap:8px}.template-asset-thumbnail-picker{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}.template-asset-thumbnail-picker button{display:grid;grid-gap:5px;gap:5px;width:132px;min-height:0;border:1px solid #efd2db;border-radius:12px;background:rgba(255,255,255,.9);color:#603342;cursor:pointer;padding:7px;text-align:left}.template-asset-thumbnail-picker button.active,.template-asset-thumbnail-picker button[aria-checked=true]{border-color:#e11d48;background:#fff3f7;box-shadow:0 0 0 2px rgba(225,29,72,.14)}.template-asset-thumbnail-frame{display:grid;place-items:center;width:100%;height:82px;aspect-ratio:4/3;overflow:hidden;border:1px solid #f1d6df;border-radius:9px;background:linear-gradient(45deg,#eee 25%,transparent 0),linear-gradient(-45deg,#eee 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eee 0),linear-gradient(-45deg,transparent 75%,#eee 0);background-color:#fff;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.template-asset-thumbnail-frame img{display:block;width:100%;height:100%;object-fit:contain}.template-asset-thumbnail-frame em{color:#a36a7a;font-size:11px;font-style:normal;font-weight:800}.template-asset-thumbnail-picker strong{overflow:hidden;color:#7a1630;font-size:11px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.template-asset-thumbnail-picker small{overflow:hidden;color:#9b6373;font-size:9.5px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.color-window-preset-admin{display:grid;grid-column:1/-1;grid-gap:8px;gap:8px;border:1px solid #f2c7d3;border-radius:12px;background:rgba(255,247,250,.72);padding:8px}.color-window-preset-admin-head,.color-window-preset-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.color-window-preset-admin-head strong{color:#7d1635;font-size:13px}.color-window-preset-list{display:grid;grid-gap:6px;gap:6px}.color-window-preset-row{border:1px solid #efd1dc;border-radius:10px;background:rgba(255,255,255,.86);padding:5px}.color-window-preset-row.active{border-color:#ee5c8a;box-shadow:0 0 0 1px rgba(238,92,138,.18)}.color-window-preset-row>button:first-child{display:grid;flex:1 1 92px;grid-gap:2px;gap:2px;min-width:0;border:0;background:transparent;color:#6b1730;text-align:left}.color-window-preset-name-input{flex:0 1 132px;min-width:76px;min-height:28px;border:1px solid #ead4dc;border-radius:8px;background:#fff;color:#5f2438;font-size:12px;font-weight:700;padding:4px 7px}.color-window-preset-name-input:focus{border-color:#ee5c8a;outline:2px solid rgba(238,92,138,.14)}.color-window-preset-row>button:first-child span,.color-window-preset-row>button:first-child strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-window-preset-row>button:first-child span{color:#8f5671;font-size:11px;font-weight:700}.color-window-preset-row .danger{flex:0 0 auto;min-height:28px;border:1px solid #f0b7c5;border-radius:8px;background:#fff5f7;color:#b83258;font-size:12px;font-weight:800}.cutline-picker-panel{gap:8px;padding:8px 10px 9px}.cutline-picker-panel>header{min-height:28px}.cutline-picker-panel>header>div{gap:1px}.cutline-picker-panel>header strong{font-size:14px}.cutline-picker-panel>header span{font-size:11px;font-weight:600}.cutline-picker-panel>header button{border:1px solid #f1c4cf;border-radius:999px;background:#fff;font-size:12px;line-height:1;padding:6px 12px}.cutline-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));grid-gap:6px;gap:6px}.cutline-margin-control{display:grid;grid-template-columns:minmax(118px,.36fr) minmax(220px,1fr);align-items:center;grid-gap:8px;gap:8px;border:1px solid #f0d5dc;border-radius:9px;background:#fff;padding:7px 8px}.cutline-margin-control>div{display:grid;grid-gap:1px;gap:1px}.cutline-margin-control strong{color:#4b2632;font-size:12px}.cutline-margin-control em,.cutline-margin-control span{color:#7b6269;font-size:10.5px;font-style:normal}.cutline-margin-control label{display:grid;grid-template-columns:minmax(120px,1fr) 64px 24px;align-items:center;grid-gap:7px;gap:7px}.cutline-margin-control input[type=range]{min-width:0}.cutline-margin-control input[type=number]{width:58px;min-height:28px;padding:4px 6px}.fixed-cutline-crop-control{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(220px,1fr) auto;align-items:center;grid-gap:8px;gap:8px;border:1px solid #f0d5dc;border-radius:9px;background:#fff;padding:7px 8px}.fixed-cutline-crop-control>div{display:grid;grid-gap:1px;gap:1px}.fixed-cutline-crop-control strong{color:#4b2632;font-size:12px}.fixed-cutline-crop-control em,.fixed-cutline-crop-control span{color:#7b6269;font-size:10.5px;font-style:normal}.fixed-cutline-crop-control label{display:grid;grid-template-columns:auto minmax(120px,1fr) 44px;align-items:center;grid-gap:7px;gap:7px}.fixed-cutline-crop-control button{border:1px solid #b8d7cf;border-radius:8px;background:#fff;color:#0f766e;font-size:12px;font-weight:800;min-height:30px;padding:5px 10px}.cutline-margin-pending{grid-column:1/-1;margin:-1px 0 0;border:1px dashed rgba(230,0,18,.2);border-radius:8px;background:#fff7f9;color:#8f3047;font-size:11px;font-weight:700;padding:5px 7px}.cutline-picker-grid label{position:relative;display:grid;grid-template-rows:38px auto;align-items:center;justify-content:center;justify-items:center;grid-gap:4px;gap:4px;min-height:74px;border:1px solid #eadfe2;border-radius:9px;background:#fff;cursor:pointer;padding:6px 7px;text-align:center}.cutline-picker-grid label.selected{border-color:#e85d7e;box-shadow:0 0 0 2px rgba(232,93,126,.12)}.cutline-picker-grid input{position:absolute;opacity:0}.cutline-picker-thumb{width:36px;height:36px}.cutline-option-empty-preview,.cutline-picker-auto,.cutline-picker-shape-thumb{display:grid;place-items:center;border:1px solid #f3c5d0;border-radius:10px;background:#fff7fa;color:#e60012}.cutline-picker-auto{border-style:dashed}.cutline-picker-auto svg,.cutline-picker-shape-thumb svg{width:30px;height:30px}.cutline-picker-auto svg path,.cutline-picker-shape-thumb svg circle,.cutline-picker-shape-thumb svg rect{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.8}.cutline-picker-image-thumb{display:block;border:1px solid #f3c5d0;border-radius:10px;background:linear-gradient(45deg,#f5f5f5 25%,transparent 0),linear-gradient(-45deg,#f5f5f5 25%,transparent 0),linear-gradient(45deg,transparent 75%,#f5f5f5 0),linear-gradient(-45deg,transparent 75%,#f5f5f5 0);background-color:#fff;background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;object-fit:contain;padding:3px}.cutline-option-empty-preview{border:1px dashed #eadfe2;color:#9d7480;font-size:9px;line-height:1.15}.cutline-picker-grid label strong{display:-webkit-box;max-width:100%;overflow:hidden;color:#3f2c31;font-size:11px;font-weight:800;line-height:1.2;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.geometry-editor-empty.compact{margin:-2px 0 0;font-size:11px}.hole-policy-summary{display:flex;flex-wrap:wrap;gap:7px}.hole-policy-summary span{border-radius:999px;background:#f4e6ea;color:#744b56;font-size:12px;padding:5px 9px}.component-add-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;grid-gap:8px;gap:8px;padding:7px 8px;border:1px solid #f1d5dc;border-radius:10px;background:#fff}.component-selection-control{display:grid;grid-gap:7px;gap:7px;padding:8px;border:1px solid #f1d5dc;border-radius:8px;background:#fff}.component-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.component-selection-heading strong{color:#5d353f;font-size:12px;line-height:1.2}.component-selection-heading span{flex:0 0 auto;border:1px solid #f0d6dd;border-radius:999px;background:#fff8fa;color:#9a5263;font-size:10px;font-weight:700;line-height:1;padding:4px 7px}.component-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,76px));grid-gap:6px;gap:6px;justify-content:start;min-width:0}.component-picker-grid--selection{display:flex;flex-wrap:wrap;gap:7px}.component-picker-grid--selection button{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;flex:0 1 132px;width:132px;min-height:48px;justify-content:stretch;justify-items:start;grid-gap:2px 7px;gap:2px 7px;padding:6px 8px;text-align:left}.component-picker-grid--selection button .component-picker-thumb{grid-column:1;grid-row:1/3;align-self:center;width:30px;height:30px;min-width:30px;border-radius:6px}.component-picker-grid--selection button strong{grid-column:2;grid-row:1;align-self:end;width:100%;text-align:left}.component-picker-state{grid-column:2;grid-row:2;align-self:start;border-radius:999px;background:#f4e9ec;color:#80515c;font-size:9px;font-weight:700;line-height:1;padding:3px 6px;white-space:nowrap}.component-picker-grid--selection button.selected .component-picker-state{background:#fce1e8;color:#b23453}.component-picker-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;place-items:center;gap:3px;min-height:54px;width:100%;border:1px solid #eadfe2;border-radius:9px;background:#fff;color:#3f2c31;cursor:pointer;padding:4px 5px}.component-picker-grid button.selected{border-color:#e85d7e;background:#fff7fa;box-shadow:0 0 0 2px rgba(232,93,126,.12)}.component-picker-grid button strong{display:block;max-width:100%;overflow:hidden;font-size:10px;font-weight:800;line-height:1.15;text-align:center;text-overflow:ellipsis;white-space:nowrap}.component-picker-thumb{position:relative;display:inline-grid;width:26px;height:26px;min-width:26px;place-items:center;border:1px solid #f3c5d0;border-radius:7px;background:#fff7fa;color:#e60012;flex:0 0 auto;overflow:visible}.component-picker-thumb--asset{overflow:hidden;background:linear-gradient(45deg,#f8f8f8 25%,transparent 0),linear-gradient(-45deg,#f8f8f8 25%,transparent 0),linear-gradient(45deg,transparent 75%,#f8f8f8 0),linear-gradient(-45deg,transparent 75%,#f8f8f8 0);background-color:#fff;background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.component-picker-thumb-svg-host{display:grid;width:21px;height:21px;place-items:center;pointer-events:none}.component-picker-thumb-svg-host svg{display:block;width:21px;height:21px;overflow:visible;color:#e60012}.component-picker-thumb-svg-host svg *{fill:none!important;stroke:currentColor!important;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8!important;vector-effect:non-scaling-stroke}.component-picker-thumb-line,.component-picker-thumb-line:after,.component-picker-thumb-line:before{position:absolute;box-sizing:border-box;content:"";border:1.8px solid;background:transparent;pointer-events:none}.component-picker-thumb--square .component-picker-thumb-line{width:16px;height:16px;border-radius:4px}.component-picker-thumb--circle .component-picker-thumb-line,.component-picker-thumb--hole .component-picker-thumb-line{width:18px;height:18px;border-radius:999px}.component-picker-thumb--hole .component-picker-thumb-line:after{inset:5px;border-radius:999px}.component-picker-thumb--stand-foot .component-picker-thumb-line{width:10px;height:17px;top:4px;border-radius:4px 4px 2px 2px}.component-picker-thumb--stand-foot .component-picker-thumb-line:after{left:-6px;right:-6px;bottom:-4px;height:7px;border-radius:2px}.component-picker-thumb--opener .component-picker-thumb-line{width:15px;height:18px;border-radius:7px 7px 4px 4px}.component-picker-thumb--opener .component-picker-thumb-line:before{left:4px;top:3px;width:7px;height:7px;border-radius:999px}.component-picker-thumb--generic .component-picker-thumb-line{width:15px;height:14px;border-radius:4px}.component-picker-thumb--generic .component-picker-thumb-line:after{right:-4px;top:-4px;width:7px;height:7px;border-radius:999px}.component-add-control>span{color:#744b56;font-size:11px;white-space:nowrap}.component-add-control>button{min-height:32px;border:1px solid #cda7b2;border-radius:7px;background:#147866;color:#fff;cursor:pointer;padding:4px 9px}.component-add-control>button:disabled{cursor:not-allowed;opacity:.45}.hole-editor-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(176px,1fr));grid-gap:6px;gap:6px;overflow-x:visible;padding:2px}.hole-preset-panel{display:grid;grid-gap:9px;gap:9px;border:1px solid #f1d5dc;border-radius:10px;background:#fff;padding:10px}.hole-preset-panel>div:first-child{display:grid;grid-gap:2px;gap:2px}.hole-preset-panel strong{color:#4b2632;font-size:13px}.hole-preset-panel span{color:#7b6269;font-size:12px}.hole-preset-grid{display:grid;grid-auto-flow:column;grid-auto-columns:62px;justify-content:start;grid-gap:8px;gap:8px;overflow-x:auto;padding-bottom:2px}.hole-preset-button{display:grid;place-items:center;grid-gap:3px;gap:3px;min-height:62px;width:62px;border:1px solid #efd4dc;border-radius:10px;background:#fff8fa;color:#8b2f49;cursor:pointer;font-size:12px;font-weight:700;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.hole-preset-button:hover{border-color:#e60012;box-shadow:0 6px 16px rgba(230,0,18,.12);transform:translateY(-1px)}.hole-preset-icon{width:38px;height:38px}.hole-preset-icon-body,.hole-preset-icon-hole,.hole-preset-icon-hole-inner{fill:none;stroke:#e60012;stroke-linecap:round;stroke-linejoin:round}.hole-preset-icon-body{stroke-width:2;opacity:.62}.hole-preset-icon-hole{fill:#fff;stroke-width:2.2}.hole-preset-icon-hole-inner{stroke-width:1.8}.hole-editor-list article{display:grid;min-width:0;grid-gap:5px;gap:5px;border:1px solid #eadfe2;border-radius:9px;background:#fff;padding:6px;cursor:pointer}.hole-editor-list article.selected{border-color:#e60012;box-shadow:0 0 0 3px rgba(230,0,18,.1)}.hole-editor-heading{display:flex;align-items:center;gap:6px;justify-content:space-between;font-size:12px}.hole-editor-heading strong{display:inline-flex;min-width:0;align-items:center;gap:5px;overflow:hidden;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.hole-editor-heading .component-picker-thumb{width:22px;height:22px;min-width:22px;border-radius:7px;flex:0 0 auto}.hole-editor-heading .component-picker-thumb-svg-host,.hole-editor-heading .component-picker-thumb-svg-host svg{width:18px;height:18px}.hole-editor-heading .component-picker-thumb--square .component-picker-thumb-line{width:14px;height:14px}.hole-editor-heading .component-picker-thumb--circle .component-picker-thumb-line,.hole-editor-heading .component-picker-thumb--hole .component-picker-thumb-line{width:15px;height:15px}.hole-editor-heading button{flex:0 0 auto;font-size:11px;padding:2px 4px}.hole-editor-list label{display:grid;grid-template-columns:34px minmax(64px,1fr) 52px 18px;align-items:center;grid-gap:5px;gap:5px;font-size:11px}.hole-editor-drag-note{color:#7b6269;display:-webkit-box;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;line-height:1.35}.hole-editor-list input[type=range]{min-width:0}.hole-editor-list input[type=number]{min-height:28px;width:52px;padding:4px 6px}.hole-editor-list em{color:#7b6269;font-style:normal}.component-quick-control{display:grid;grid-gap:4px;gap:4px;border:1px solid #f1d5dc;border-radius:8px;background:#fff9fb;padding:6px}.component-quick-control-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#744b56;font-size:11px}.component-quick-control-head strong{color:#4b2632;font-size:12px}.component-position-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:5px;gap:5px}.component-position-button{display:grid;place-items:center;grid-gap:2px;gap:2px;min-height:46px;border:1px solid #efd4dc;border-radius:8px;background:#fff;color:#8b2f49;cursor:pointer;font-size:10px;font-weight:700}.component-position-button .hole-preset-icon{width:28px;height:28px}.component-position-button:disabled{cursor:not-allowed;opacity:.35}.component-size-control-stack{display:grid;grid-template-columns:repeat(3,minmax(116px,1fr));grid-gap:5px;gap:5px;overflow:visible;padding-bottom:2px}.component-size-control-stack[hidden]{display:none!important}.component-canvas-resize-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#744b56;font-size:11px;font-weight:700}.component-canvas-resize-summary button{min-height:26px;border:1px solid #b8d8d1;border-radius:7px;background:#fff;color:#0f7665;cursor:pointer;font-size:11px;font-weight:800;padding:0 8px}.component-canvas-resize-summary button:hover{background:#f0fdfa;border-color:#0f7665}.component-size-control{display:grid;grid-template-columns:24px 20px minmax(42px,1fr) 20px;align-items:center;grid-gap:3px;gap:3px;min-width:116px}.component-size-control>span{color:#744b56;font-size:10px;font-weight:700}.component-size-control button{min-height:22px;padding:0;border:1px solid #d7ebe6;border-radius:6px;background:#fff;color:#0f7665;cursor:pointer;font-size:14px;font-weight:800;line-height:1}.component-size-control input[type=range]{min-width:0;height:16px}.component-size-control.compact{grid-template-columns:minmax(72px,1fr) 54px 22px;min-width:0}.component-mm-input{width:54px;min-height:26px;border:1px solid #e6d6dc;border-radius:7px;background:#fff;color:#3f2f36;font-size:12px;font-weight:800;padding:2px 6px}.geometry-editor-panel .hole-editor-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start;gap:6px}.geometry-editor-panel .hole-editor-list article{display:flex;flex-wrap:wrap;align-items:center;align-self:start;min-height:0;gap:4px;border-radius:12px;padding:6px}.geometry-editor-panel .hole-editor-list article.selected{gap:4px}.geometry-editor-panel .hole-editor-heading{flex:1 1 120px;gap:6px;min-width:0}.geometry-editor-panel .hole-editor-heading strong{gap:6px;min-width:0;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.geometry-editor-panel .hole-editor-heading .component-picker-thumb,.geometry-editor-panel .hole-editor-heading .component-picker-thumb-fallback{width:22px;height:22px;border-radius:6px}.geometry-editor-panel .hole-editor-heading span{flex:0 0 auto;font-size:11px;white-space:nowrap}.geometry-editor-panel .hole-editor-heading span button{min-height:22px;border-radius:7px;font-size:10px;padding:0 6px}.geometry-editor-panel .hole-editor-drag-note{margin:0;font-size:11px;line-height:1.35}.geometry-editor-panel .component-inline-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 1 100%;min-width:0;grid-gap:3px;gap:3px;overflow:visible;padding-bottom:0}.geometry-editor-panel .component-inline-meta span{flex:0 1 auto;max-width:100%;overflow:hidden;border:1px solid #f1d5dc;border-radius:999px;background:rgba(255,249,251,.86);color:#744b56;font-size:10px;font-weight:800;line-height:1;padding:3px 5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.geometry-editor-panel .component-quick-control{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:3px;border:0;border-radius:0;background:transparent;padding:0}.geometry-editor-panel .component-quick-control.compact{gap:3px;padding:0}.geometry-editor-panel .component-quick-control-head{min-width:0;gap:4px;font-size:10px}.geometry-editor-panel .component-quick-control-head strong{font-size:11px;white-space:nowrap}.geometry-editor-panel .component-quick-control-head span{display:none}.geometry-editor-panel .component-position-grid{display:grid;grid-template-columns:repeat(8,minmax(22px,26px));min-width:0;grid-gap:2px;gap:2px;overflow:visible;padding-bottom:0}.geometry-editor-panel .component-position-button{min-width:0;min-height:25px;gap:1px;border-radius:7px;font-size:8px;padding:1px}.geometry-editor-panel .component-position-button .hole-preset-icon{width:15px;height:15px}.geometry-editor-panel .component-canvas-resize-summary{display:flex;flex:1 1 auto;flex-wrap:wrap;min-width:0;gap:4px;justify-content:flex-start;font-size:10px}.geometry-editor-panel .component-canvas-resize-summary>span{display:none}.geometry-editor-panel .component-canvas-resize-summary button{min-height:21px;flex:0 0 auto;border-radius:7px;font-size:10px;padding:0 5px}.geometry-editor-panel .component-size-control.compact{flex:1 1 150px;grid-template-columns:minmax(64px,1fr) 40px 14px;gap:3px;min-width:0}.geometry-editor-panel .component-size-control input[type=range]{height:14px;min-width:0}.geometry-editor-panel .component-mm-input{width:42px;min-height:22px;border-radius:7px;font-size:11px;padding:1px 5px}.add-hole-button{justify-self:start}.cutline-management-page{gap:16px}.cutline-admin-message{border-left:4px solid #39a66b}.cutline-admin-message.error{border-left-color:#d83e4f;color:#9d2634}.cutline-admin-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);grid-gap:16px;gap:16px}.cutline-library-panel,.cutline-policy-panel,.cutline-upload-panel{display:grid;grid-gap:12px;gap:12px}.cutline-library-panel h2,.cutline-library-panel p,.cutline-policy-panel h2,.cutline-policy-panel p,.cutline-upload-panel h2,.cutline-upload-panel p{margin:0}.cutline-upload-hint{display:grid;grid-gap:3px;gap:3px;padding:10px 12px;border:1px solid #f3d7de;border-radius:10px;background:#fff7f9;color:#6c4b55;font-size:12px;line-height:1.45}.cutline-upload-hint strong{color:#9d2634;font-size:13px}.cutline-upload-panel form{display:grid;grid-gap:10px;gap:10px}.cutline-upload-panel label{display:grid;grid-gap:5px;gap:5px}.cutline-upload-panel input,.cutline-upload-panel select,.cutline-upload-panel textarea{width:100%}.cutline-policy-list{display:grid;grid-gap:10px;gap:10px;max-height:440px;overflow:auto}.cutline-policy-list form{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,auto) 110px auto;align-items:center;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:9px;padding:9px}.cutline-policy-list label{display:inline-flex;align-items:center;gap:5px;font-size:12px}.cutline-policy-title{display:grid;min-width:0}.cutline-policy-title code{overflow:hidden;font-size:10px;text-overflow:ellipsis}.cutline-policy-count{display:grid!important;grid-template-columns:auto 58px}.cutline-policy-count input{width:58px}.cutline-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:12px;gap:12px}.cutline-library-card{display:grid;grid-template-columns:92px minmax(0,1fr);grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:10px;padding:10px}.cutline-library-preview{display:grid;place-items:center;width:92px;height:92px;border-radius:8px;background:#f7f3f4}.cutline-library-preview img{width:76px;height:76px;object-fit:contain}.cutline-library-card>div:nth-child(2){display:grid;align-content:center;grid-gap:4px;gap:4px;min-width:0}.cutline-library-card code{overflow:hidden;font-size:10px;text-overflow:ellipsis}.cutline-library-card form{grid-column:1/-1;display:flex;gap:8px}.cutline-library-card .cutline-library-details-form{display:grid;grid-gap:8px;gap:8px}.cutline-library-details-form label{display:grid;grid-gap:4px;gap:4px;font-size:12px}.cutline-library-details-form input,.cutline-library-details-form textarea{width:100%}.cutline-size-preset-fields{display:grid;grid-gap:7px;gap:7px;min-width:0;margin:0;padding:8px;border:1px solid var(--line);border-radius:6px}.cutline-size-preset-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.cutline-size-preset-heading strong{padding:0;font-size:12px;font-weight:700}.cutline-size-preset-list{display:grid;grid-gap:6px;gap:6px}.cutline-size-preset-row{display:grid;grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr) auto;align-items:end;grid-gap:6px;gap:6px}.cutline-size-preset-row label{display:grid;grid-gap:3px;gap:3px}.cutline-size-preset-row input{width:100%;min-width:0}.cutline-library-card .cutline-library-delete-form{align-items:center;padding:8px;border:1px solid #f0bdc6;border-radius:6px;background:#fff5f6}.cutline-library-delete-form button{border-color:#c93043;background:#c93043;color:#fff}.style-asset-management-page{gap:16px}.style-asset-admin-message{border-left:4px solid #63a982}.style-asset-admin-message.error{border-left-color:#d83e4f;color:#9d2634}.style-asset-admin-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(560px,1.3fr);grid-gap:16px;gap:16px;align-items:start}.style-asset-library-panel,.style-asset-upload-panel{display:grid;grid-gap:12px;gap:12px}.style-asset-library-panel h2,.style-asset-library-panel p,.style-asset-upload-panel h2{margin:0}.style-asset-upload-hint{display:grid;grid-gap:3px;gap:3px;border:1px solid #edc1d6;border-radius:8px;background:#fff2f8;color:#6c4b5a;padding:10px 12px;font-size:12px;line-height:1.45}.style-asset-upload-hint strong{color:#9b3f6d;font-size:13px}.style-asset-library-details-form,.style-asset-library-details-form label,.style-asset-upload-panel form,.style-asset-upload-panel label{display:grid;grid-gap:7px;gap:7px}.style-asset-library-details-form input,.style-asset-upload-panel input{width:100%}.style-asset-library-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.style-asset-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));grid-gap:10px;gap:10px}.style-asset-library-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-gap:10px;gap:10px;border:1px solid #edc1d6;border-radius:8px;background:#fffafd;padding:10px}.style-asset-library-preview{display:grid;width:112px;height:96px;place-items:center;overflow:hidden;border:1px solid #f0d5e2;border-radius:6px;background:#fff}.style-asset-library-preview img{width:100%;height:100%;object-fit:contain}.style-asset-library-summary{display:grid;align-content:center;grid-gap:4px;gap:4px;min-width:0}.style-asset-library-summary code,.style-asset-library-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-asset-library-summary code{font-size:10px}.style-asset-library-card form{grid-column:1/-1;display:flex;gap:8px}.style-asset-library-card .style-asset-library-details-form{display:grid}.style-asset-library-card .style-library-delete-form{align-items:center;border:1px solid #f0bdc6;border-radius:6px;background:#fff5f6;padding:8px}.style-library-delete-form button{border-color:#c93043;background:#c93043;color:#fff}.style-asset-picker-dialog>div{width:min(680px,100%);gap:10px;padding:12px}.style-asset-picker-actions{display:flex;gap:6px}.style-asset-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:8px;gap:8px;max-height:min(470px,68vh);overflow:auto;padding:2px}.style-asset-picker-card{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid #edc1d6;border-radius:7px;background:#fffafd;color:var(--ink);cursor:pointer;padding:7px;text-align:left}.style-asset-picker-card:focus-visible,.style-asset-picker-card:hover{border-color:#c7789e;background:#fbe4ef;outline:2px solid rgba(199,120,158,.16)}.style-asset-picker-thumbnail{display:grid;width:100%;height:104px;place-items:center;overflow:hidden;border-radius:5px;background:#fff}.style-asset-picker-thumbnail img{width:100%;height:100%;object-fit:contain}.style-asset-picker-card small,.style-asset-picker-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-asset-picker-card small{color:var(--muted)}@media (max-width:900px){.style-asset-admin-layout{grid-template-columns:1fr}}.template-library-management-page{gap:16px}.template-library-message{border-left:4px solid #579fa1}.template-library-message.error{border-left-color:#d83e4f;color:#9d2634}.template-library-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(560px,1.3fr);grid-gap:16px;gap:16px;align-items:start}.template-library-panel,.template-library-upload-panel{display:grid;grid-gap:12px;gap:12px}.template-library-panel h2,.template-library-panel p,.template-library-upload-panel h2{margin:0}.template-library-upload-hint{display:grid;grid-gap:3px;gap:3px;border:1px solid #b6dcdd;border-radius:8px;background:#effafa;color:#3e6263;padding:10px 12px;font-size:12px;line-height:1.45}.template-library-upload-hint strong{color:#397f81;font-size:13px}.template-library-details-form,.template-library-details-form label,.template-library-upload-panel form,.template-library-upload-panel label{display:grid;grid-gap:7px;gap:7px}.template-library-details-form input,.template-library-upload-panel input{width:100%}.template-library-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.template-library-management-page .template-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));grid-gap:10px;gap:10px}.template-library-management-page .template-library-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-gap:10px;gap:10px;border:1px solid #b6dcdd;border-radius:8px;background:#f8fefe;padding:10px}.template-library-preview{display:grid;width:112px;height:96px;place-items:center;overflow:hidden;border:1px solid #cde8e9;border-radius:6px;background:linear-gradient(45deg,#edf1f1 25%,transparent 0),linear-gradient(-45deg,#edf1f1 25%,transparent 0),linear-gradient(45deg,transparent 75%,#edf1f1 0),linear-gradient(-45deg,transparent 75%,#edf1f1 0);background-color:#fff;background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.template-library-preview img{width:100%;height:100%;object-fit:contain}.template-library-summary{display:grid;align-content:center;grid-gap:4px;gap:4px;min-width:0}.template-library-summary code,.template-library-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-library-summary code{font-size:10px}.template-library-picker-card .warning-text,.template-library-summary .warning-text{overflow:visible;text-overflow:clip;white-space:normal;line-height:1.35}.template-library-management-page .template-library-card form{grid-column:1/-1;display:flex;gap:8px}.template-library-management-page .template-library-card .template-library-details-form{display:grid}.template-library-management-page .template-library-card .template-library-delete-form{align-items:center;border:1px solid #f0bdc6;border-radius:6px;background:#fff5f6;padding:8px}.template-library-delete-form button{border-color:#c93043;background:#c93043;color:#fff}.template-library-picker-dialog>div{width:min(700px,100%);gap:10px;padding:12px}.template-library-picker-actions{display:flex;gap:6px}.template-library-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:8px;gap:8px;max-height:min(470px,68vh);overflow:auto;padding:2px}.template-library-picker-card{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid #b6dcdd;border-radius:7px;background:#f8fefe;color:var(--ink);cursor:pointer;padding:7px;text-align:left}.template-library-picker-card:focus-visible,.template-library-picker-card:hover{border-color:#579fa1;background:#def3f3;outline:2px solid rgba(87,159,161,.16)}.template-library-picker-thumbnail{display:grid;width:100%;height:108px;place-items:center;overflow:hidden;border-radius:5px;background:linear-gradient(45deg,#edf1f1 25%,transparent 0),linear-gradient(-45deg,#edf1f1 25%,transparent 0),linear-gradient(45deg,transparent 75%,#edf1f1 0),linear-gradient(-45deg,transparent 75%,#edf1f1 0);background-color:#fff;background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.template-library-picker-thumbnail img{width:100%;height:100%;object-fit:contain}.template-library-picker-card small,.template-library-picker-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-library-picker-card small{color:var(--muted)}@media (max-width:900px){.template-library-layout{grid-template-columns:1fr}}.smart-cutout-page.smart-cutout-upload_empty{background:radial-gradient(circle at 50% 118px,rgba(255,226,237,.78),rgba(255,246,249,0) 380px),linear-gradient(180deg,#fff8fb,#fff3f7 46%,#fff9fb)}.smart-cutout-page.smart-cutout-upload_empty .buyer-step-bar{width:min(1050px,calc(100vw - 48px));justify-self:center;border:1px solid rgba(235,128,158,.18);border-radius:20px;background:rgba(255,255,255,.76);box-shadow:0 14px 34px rgba(121,51,75,.07);padding:8px}.smart-cutout-page.smart-cutout-upload_empty .buyer-step{border-radius:16px;background:rgba(255,255,255,.88)}.smart-cutout-page.smart-cutout-upload_empty .buyer-step.active{background:linear-gradient(135deg,rgba(235,253,247,.98),rgba(255,244,248,.96));box-shadow:inset 0 0 0 1px rgba(20,120,102,.18),0 10px 22px rgba(20,120,102,.08)}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-card{position:relative;overflow:hidden;gap:13px;border:1px solid rgba(235,128,158,.22);border-left:6px solid #ee6f95;border-radius:22px;background:radial-gradient(circle at 5% 0,rgba(255,183,207,.4),transparent 31%),radial-gradient(circle at 92% 120%,rgba(20,120,102,.12),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.99),rgba(255,247,251,.94));box-shadow:0 20px 48px rgba(121,51,75,.11),inset 0 1px 0 rgba(255,255,255,.92);padding:17px 20px 15px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;min-width:0}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head span{color:#b84b6b;font-size:11px;font-weight:900;letter-spacing:.08em}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head strong{overflow:hidden;color:#21352f;font-size:18px;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head em{flex:0 1 auto;overflow:hidden;border:1px solid rgba(232,93,126,.14);border-radius:999px;background:rgba(255,255,255,.72);color:#8a5b69;font-size:12px;font-style:normal;font-weight:800;padding:6px 10px;text-overflow:ellipsis;white-space:nowrap}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects{gap:14px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-choice{display:grid;grid-gap:7px;gap:7px;min-width:0;border:1px solid rgba(232,93,126,.1);border-radius:18px;background:rgba(255,255,255,.68);box-shadow:0 10px 24px rgba(121,51,75,.055),inset 0 1px 0 rgba(255,255,255,.9);padding:10px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-choice>span,.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects label{color:#895165;font-size:11px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects label span{display:inline-flex;align-items:center;gap:6px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));grid-gap:8px;gap:8px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-option{min-height:52px;display:grid;align-items:center;border:1px solid rgba(78,121,110,.13);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,252,254,.95));color:#22352f;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.94);font:inherit;font-size:15px;font-weight:900;letter-spacing:-.01em;padding:8px 12px;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-option:hover:not(:disabled){border-color:rgba(20,120,102,.32);box-shadow:0 10px 22px rgba(20,120,102,.08),inset 0 1px 0 rgba(255,255,255,.95);transform:translateY(-1px)}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-option.active{border-color:rgba(20,120,102,.48);background:linear-gradient(135deg,rgba(235,253,247,1),rgba(255,244,248,.96));color:#0d6f5d;box-shadow:0 12px 26px rgba(20,120,102,.12),inset 0 0 0 1px rgba(20,120,102,.16)}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-option:disabled{cursor:wait;opacity:.7}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects select{min-height:52px;border:1px solid rgba(78,121,110,.13);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,252,254,.95));color:#22352f;box-shadow:inset 0 1px 0 rgba(255,255,255,.94);font-size:16px;letter-spacing:-.01em;padding:0 44px 0 17px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects select:focus{border-color:rgba(20,120,102,.45);box-shadow:0 0 0 4px rgba(20,120,102,.08),0 12px 26px rgba(20,120,102,.1);outline:0}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-facts span,.smart-cutout-page.smart-cutout-upload_empty .smart-copy-points span{display:grid;justify-items:start;grid-gap:2px;gap:2px;min-width:0;border-color:rgba(20,120,102,.16);border-radius:14px;background:linear-gradient(180deg,rgba(250,255,253,.96),rgba(240,252,248,.9));color:#21594e;box-shadow:0 6px 16px rgba(20,120,102,.06),inset 0 1px 0 rgba(255,255,255,.82);font-size:12px;line-height:1.2;padding:8px 10px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-facts span b{color:#8b6871;font-size:10px;font-weight:900}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-facts span{overflow:hidden;text-overflow:ellipsis}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-template{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:6px;border:1px solid rgba(232,93,126,.12);border-radius:12px;background:rgba(255,255,255,.62);color:#8a5b69;font-size:12px;font-weight:800;padding:5px 8px}.smart-cutout-page.smart-cutout-upload_empty .buyer-stage.smart-workspace{display:grid;place-items:start center;padding-top:14px}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty{position:relative;width:min(820px,calc(100vw - 48px));min-height:min(500px,calc(100svh - 258px));border:1px solid rgba(235,128,158,.16);border-radius:26px;background:radial-gradient(circle at 50% 36%,rgba(255,222,233,.68),transparent 220px),linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,249,252,.94));box-shadow:0 24px 70px rgba(103,48,68,.1);padding:22px}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty .smart-work-copy{width:min(560px,100%);justify-items:center;align-content:start;gap:12px;border:0;background:radial-gradient(circle at 50% 0,rgba(255,235,243,.95),rgba(255,248,251,.3) 58%,rgba(255,255,255,0));padding:0 0 4px;text-align:center}.smart-cutout-page.smart-cutout-upload_empty .smart-eyebrow{border-color:rgba(232,93,126,.18);background:#fff0f5;color:#b94061;box-shadow:0 8px 18px rgba(232,93,126,.08)}.smart-cutout-page.smart-cutout-upload_empty .smart-work-copy h2{max-width:520px;color:#1d2d27;font-size:clamp(30px,3.3vw,42px);letter-spacing:-.03em}.smart-cutout-page.smart-cutout-upload_empty .smart-work-copy p{max-width:520px;color:#62706a;font-size:15px}.smart-cutout-page.smart-cutout-upload_empty .smart-copy-points{justify-content:center}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty .add-photo-card{width:min(360px,100%);min-height:260px;aspect-ratio:auto;gap:10px;border:1.5px dashed rgba(232,93,126,.42);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,239,245,.9)),radial-gradient(circle at 50% 0,rgba(255,255,255,.92),transparent 50%);box-shadow:0 18px 44px rgba(129,56,78,.12),inset 0 0 0 1px rgba(255,255,255,.86);padding:22px;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty .add-photo-card:hover{border-color:rgba(20,120,102,.62);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(239,252,247,.95)),radial-gradient(circle at 50% 0,rgba(255,255,255,.94),transparent 50%);box-shadow:0 22px 54px rgba(20,120,102,.16),inset 0 0 0 1px rgba(255,255,255,.9);transform:translateY(-2px)}.smart-cutout-page.smart-cutout-upload_empty .add-photo-icon{width:70px;height:70px;border:0;background:linear-gradient(135deg,#e9f7ff,#c8e3ff);box-shadow:inset 0 0 0 4px #26352f,0 0 0 8px rgba(255,255,255,.9),0 12px 26px rgba(60,103,132,.16)}.smart-cutout-page.smart-cutout-upload_empty .add-photo-icon:after,.smart-cutout-page.smart-cutout-upload_empty .add-photo-icon:before{width:34px;height:4px;background:#26352f}.smart-cutout-page.smart-cutout-upload_empty .add-photo-card strong{color:#1f2e28;font-size:24px;letter-spacing:-.02em}.smart-cutout-page.smart-cutout-upload_empty .add-photo-card span{max-width:270px;color:#6a5f64;font-size:13px;line-height:1.45}.smart-cutout-page.smart-cutout-upload_empty .add-photo-card em{color:#6f4f5a;font-size:12px;letter-spacing:.02em}.smart-cutout-page.smart-cutout-upload_empty .add-photo-card b{margin-top:2px;background:linear-gradient(135deg,#147866,#0f6a5a);box-shadow:0 12px 24px rgba(20,120,102,.2);font-size:14px;padding:10px 22px}@media (max-width:720px){.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-card{width:calc(100vw - 24px);border-radius:16px;padding:12px}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-selects{grid-template-columns:1fr}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-head{align-items:flex-start;flex-direction:column}.smart-cutout-page.smart-cutout-upload_empty .buyer-summary-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty{width:calc(100vw - 24px);min-height:auto;border-radius:22px;padding:16px}.smart-cutout-page.smart-cutout-upload_empty .smart-work-copy h2{font-size:28px}.smart-cutout-page.smart-cutout-upload_empty .smart-work-card.empty .add-photo-card{min-height:236px}}@media (max-width:900px){.cutline-admin-grid{grid-template-columns:1fr}.cutline-policy-list form{grid-template-columns:1fr 1fr}}@media (max-width:620px){.hole-editor-list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.hole-editor-list label{grid-template-columns:32px minmax(50px,1fr) 48px 16px}.cutline-policy-list form{grid-template-columns:1fr}}.template-studio-other-grid-picker,.template-studio-style-library{position:relative}.template-studio-other-grid-picker>summary,.template-studio-style-library>summary{cursor:pointer;font-size:12px;font-weight:700;color:#334155}.template-studio-other-grid-picker>div{position:absolute;z-index:80;top:calc(100% + 6px);left:0;width:min(320px,70vw);max-height:320px;overflow:auto;padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 16px 40px rgb(15 23 42/18%)}.template-studio-focus-switcher,.template-studio-other-grid-picker header,.template-studio-other-grid-picker label{display:flex;align-items:center;gap:8px}.template-studio-other-grid-picker header{justify-content:flex-end;margin-bottom:7px}.template-studio-other-grid-picker header button{border:0;background:transparent;color:#2563eb;cursor:pointer}.template-studio-other-grid-picker label{padding:5px 3px;font-size:12px}.template-studio-focus-switcher span{white-space:nowrap;font-size:12px}.template-studio-focus-switcher select{max-width:160px;min-height:30px}.template-studio-style-library>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;margin-top:7px}.template-studio-style-library button{min-width:0;padding:5px}.template-studio-style-library img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:6px;background:#f8fafc}.template-studio-style-library button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-studio-color-binding,.template-studio-style-layer-properties{margin:10px;padding:12px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.multi-template-all-preview>header,.multi-template-picker-panel header,.template-studio-color-binding header,.template-studio-style-layer-properties header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.template-studio-color-binding header span,.template-studio-style-layer-properties header span{font-size:12px;color:#475569}.template-studio-color-binding-options,.template-studio-style-sku-list{display:grid;grid-gap:6px;gap:6px;margin-top:8px}.template-studio-color-binding-options label,.template-studio-style-sku-list label{display:flex;align-items:center;gap:7px;font-size:12px}.multi-template-picker-panel{width:min(1120px,calc(100% - 32px));margin:0 auto 16px;padding:16px;border:1px solid #c4b5fd;border-radius:18px;background:linear-gradient(135deg,#faf5ff,#eff6ff)}.multi-template-picker-panel header span,.multi-template-picker-panel>p{display:block;margin-top:3px;color:#64748b;font-size:12px}.multi-template-all-preview-grid,.multi-template-picker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:10px;gap:10px}.multi-template-picker-grid label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dbeafe;border-radius:12px;background:#fff}.multi-template-picker-grid label.active{border-color:#7c3aed;box-shadow:inset 0 0 0 1px #7c3aed}.multi-template-picker-grid em,.multi-template-picker-grid span,.multi-template-picker-grid strong{display:block}.multi-template-picker-grid em{margin-top:3px;color:#64748b;font-size:11px}.multi-template-all-preview{width:min(1180px,calc(100% - 32px));margin:18px auto 110px}.multi-template-all-preview-grid article{padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.multi-template-all-preview-grid article>div{display:grid;place-items:center;max-height:360px;overflow:hidden;border-radius:10px;background:repeating-conic-gradient(#f1f5f9 0 25%,#fff 0 50%) 0 /18px 18px}.multi-template-all-preview-grid img{width:100%;height:100%;object-fit:contain}.multi-template-all-preview-grid article>span,.multi-template-all-preview-grid strong{display:block;margin-top:6px}.multi-template-all-preview-grid article>span{color:#64748b;font-size:12px}.multi-template-all-preview-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.fixed-layout-style-layer{position:absolute;pointer-events:none;object-fit:contain;z-index:0}.smart-layer-panel{width:100%;min-width:0;box-sizing:border-box;margin:0 0 22px;padding:24px;border:1px solid #e1e9e5;border-radius:22px;background:linear-gradient(145deg,#f5faf7,#ffffff 65%);box-shadow:0 6px 24px rgba(24,66,48,.035);color:#263c32}.smart-layer-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.smart-layer-eyebrow{display:block;color:#658475;font-size:11px;font-weight:600;letter-spacing:.12em;margin-bottom:7px}.smart-layer-panel h2{margin:0;color:#213e31;font-size:21px;font-weight:650;line-height:1.4}.smart-layer-panel-heading p{margin:7px 0 0;color:#7a8981;font-size:12px;line-height:1.7}.smart-layer-progress{flex:0 0 104px;display:grid;grid-gap:5px;gap:5px;text-align:right}.smart-layer-progress>strong{color:#22765b;font-size:26px;line-height:1.1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.smart-layer-progress strong span{font-size:16px;font-weight:400;color:#a1afa6}.smart-layer-progress>span{font-size:11px;color:#72877a}.smart-layer-progress-track{height:4px;margin-top:3px;border-radius:8px;background:#e4eee7;overflow:hidden}.smart-layer-progress-track i{display:block;height:100%;background:#419678;border-radius:inherit;transition:width .25s ease}.smart-layer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));align-items:stretch;grid-gap:16px;gap:16px}.smart-layer-card{position:relative;min-width:0;overflow:hidden;border:1px solid #e4e9e5;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(25,55,40,.025)}.smart-layer-card.is-complete{border-color:#d2e4d9}.smart-layer-card-heading{display:flex;align-items:center;gap:10px;padding:15px 14px 13px}.smart-layer-number{flex:0 0 29px;display:grid;place-items:center;width:29px;height:32px;background:#f2f5f2;border-radius:9px;color:#72887a;font-size:12px;font-weight:650;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.is-complete .smart-layer-number{background:#eef6f0;color:#287354}.smart-layer-card-heading>div{flex:1 1;min-width:0}.smart-layer-card h3{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px;font-size:13px;font-weight:650;color:#32483b}.smart-layer-card-heading>div>span{color:#95a198;font-size:10px}.smart-layer-status{flex-shrink:0;padding:4px 7px;border-radius:6px;background:#f5f5f1;color:#92968a;font-size:10px;white-space:nowrap}.smart-layer-status.complete{background:#edf6ef;color:#3c8460}.smart-layer-panel .smart-layer-dropzone{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:180px;margin:0 14px;padding:0;overflow:hidden;border:1px dashed #cbdad0;border-radius:11px;background:#f8fbf8;cursor:pointer;transition:border-color .15s,background .15s}.smart-layer-panel .smart-layer-dropzone.has-image{border-style:solid;border-color:#edf0ec;background-color:#fcfcfa;background-image:linear-gradient(45deg,#eff1ed 25%,transparent 0),linear-gradient(-45deg,#eff1ed 25%,transparent 0),linear-gradient(45deg,transparent 75%,#eff1ed 0),linear-gradient(-45deg,transparent 75%,#eff1ed 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.smart-layer-dropzone.is-dragging,.smart-layer-dropzone:not(.is-locked):hover{border-color:#4c9972;background-color:#edf7ef}.smart-layer-dropzone.is-locked{cursor:wait}.smart-layer-dropzone>img{display:block;width:100%;height:100%;object-fit:contain;padding:14px;box-sizing:border-box}.smart-layer-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:15px}.smart-layer-upload-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:3px;color:#58826a;background:#eaf3ec;border-radius:13px}.smart-layer-upload-icon svg{width:25px;height:25px}.smart-layer-empty strong{color:#54715e;font-size:13px;font-weight:600}.smart-layer-empty>span:not(.smart-layer-upload-icon){color:#93a194;font-size:11px}.smart-layer-empty small{margin-top:5px;color:#a6afa5;font-size:9px;letter-spacing:.04em}.smart-layer-primary-tag,.smart-layer-replace{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);padding:6px 12px;border:1px solid #e2e8e2;border-radius:8px;background:rgba(255,255,255,.95);color:#4a6a54;font-size:11px;white-space:nowrap;box-shadow:0 2px 6px #1c41280a}.smart-layer-primary-tag{color:#859185;font-size:10px}.smart-layer-panel .smart-layer-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.smart-layer-file-input:focus-visible+.smart-layer-dropzone{outline:3px solid #55a780;outline-offset:3px}.smart-layer-card-footer{padding:15px 14px 12px}.smart-layer-mode-label,.smart-layer-mode-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;color:#6a7a6f;font-size:11px}.smart-layer-mode-label span{color:#a2ada3;font-size:10px}.smart-layer-mode-summary strong{font-weight:500;color:#498361;padding:5px 10px;border-radius:6px;background:#f1f7f2}.smart-layer-mode-summary{min-height:47px}.smart-layer-mode-options{display:flex;gap:5px;padding:3px;border:1px solid #edf0eb;border-radius:8px;background:#f6f8f5}.smart-layer-panel .smart-layer-mode-options button{flex:1 1;min-width:0;margin:0;padding:7px 4px;border:0;border-radius:5px;background:transparent;color:#8a968b;font-size:11px;line-height:1.3;cursor:pointer;box-shadow:none}.smart-layer-panel .smart-layer-mode-options button[aria-pressed=true]{color:#28714e;background:#fff;box-shadow:0 1px 4px #28463312;font-weight:600}.smart-layer-panel .smart-layer-mode-options button:disabled{opacity:.5;cursor:wait}.smart-layer-panel .smart-layer-file-caption{height:17px;margin:11px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#a2aaa0;font-size:10px;line-height:17px}.smart-layer-panel-note{display:flex;align-items:center;gap:7px;margin:17px 0 0;color:#8b9b8f;font-size:11px;line-height:1.6}.smart-layer-panel-note span{color:#72a384}.smart-layer-processing{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(247,251,247,.93);color:#47765a;font-size:12px}.smart-layer-processing i{width:23px;height:23px;border:2px solid #d8e9dd;border-top-color:#45966a;border-radius:50%;animation:smart-layer-spin 1s linear infinite}.smart-layer-error{margin:14px 0 0;padding:10px 12px;border:1px solid #efd5cc;border-radius:9px;background:#fff8f5;color:#a05843;font-size:12px}@keyframes smart-layer-spin{to{transform:rotate(1turn)}}@media (max-width:540px){.smart-layer-panel{padding:17px 14px;border-radius:16px}.smart-layer-panel-heading{align-items:flex-start;gap:12px;margin-bottom:16px}.smart-layer-panel h2{font-size:17px}.smart-layer-panel-heading p{max-width:210px;font-size:11px}.smart-layer-progress{flex-basis:66px;padding-top:6px}.smart-layer-progress>strong{font-size:23px}.smart-layer-grid{grid-template-columns:1fr;gap:13px}.smart-layer-panel .smart-layer-dropzone{height:190px}}@media (prefers-reduced-motion:reduce){.smart-layer-dropzone,.smart-layer-progress-track i{transition:none}.smart-layer-processing i{animation:none}}.multi-design-process-grid.has-smart-layer-sidebar{grid-template-columns:minmax(0,1fr)}.smart-layer-workspace-main{min-width:0;width:100%}.smart-preview-page .preview-page-stage.smart-layer-workspace{display:grid;grid-template-columns:292px minmax(0,1fr);grid-gap:20px;gap:20px;align-items:start;justify-items:stretch;width:100%;max-width:none}.smart-layer-workspace>.smart-layer-panel{padding:15px 12px;margin:0;border-radius:16px}.smart-layer-workspace .smart-layer-panel-heading{gap:8px;align-items:flex-start;margin-bottom:15px}.smart-layer-workspace .smart-layer-panel h2{font-size:16px}.smart-layer-workspace .smart-layer-panel-heading p{font-size:10px;line-height:1.7}.smart-layer-workspace .smart-layer-eyebrow{font-size:9px;margin-bottom:5px}.smart-layer-workspace .smart-layer-progress{flex-basis:44px;padding-top:6px}.smart-layer-workspace .smart-layer-progress>strong{font-size:21px}.smart-layer-workspace .smart-layer-progress strong span{font-size:12px}.smart-layer-workspace .smart-layer-progress>span{font-size:9px;white-space:nowrap}.smart-layer-workspace .smart-layer-grid{grid-template-columns:minmax(0,1fr);gap:12px}.smart-layer-workspace .smart-layer-card-heading{padding:12px 11px 10px;gap:8px}.smart-layer-workspace .smart-layer-card h3{font-size:12px}.smart-layer-workspace .smart-layer-dropzone{height:142px;margin-inline:11px}.smart-layer-workspace .smart-layer-card-footer{padding:11px}.smart-layer-workspace .smart-layer-panel-note{font-size:10px;align-items:flex-start}.smart-layer-panel .smart-layer-regenerate{width:100%;padding:7px 8px;margin:8px 0 0;border:1px solid #dce9df;border-radius:7px;background:#f7fbf7;color:#4c795b;font-size:11px;cursor:pointer}.smart-layer-panel .smart-layer-regenerate:disabled{opacity:.5;cursor:wait}.smart-layer-workspace-main>.production-preview-layout{margin-top:0}@media (max-width:900px){.smart-preview-page .preview-page-stage.smart-layer-workspace{grid-template-columns:minmax(0,1fr)}.smart-layer-workspace .smart-layer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:540px){.smart-layer-workspace .smart-layer-grid{grid-template-columns:minmax(0,1fr)}.smart-layer-workspace .smart-layer-dropzone{height:170px}}.smart-preview-page .preview-page-stage.smart-layer-workspace{grid-template-columns:244px minmax(0,1fr);gap:16px}.smart-layer-workspace>.smart-layer-panel{padding:11px 9px;border-radius:13px}.smart-layer-workspace .smart-layer-panel-heading{margin-bottom:10px}.smart-layer-workspace .smart-layer-panel h2{font-size:14px}.smart-layer-workspace .smart-layer-panel-heading p{margin-top:5px;font-size:9px}.smart-layer-workspace .smart-layer-progress{flex-basis:36px}.smart-layer-workspace .smart-layer-progress>strong{font-size:18px}.smart-layer-workspace .smart-layer-grid{gap:9px}.smart-layer-workspace .smart-layer-card{border-radius:11px}.smart-layer-workspace .smart-layer-card-heading{padding:8px;gap:6px}.smart-layer-workspace .smart-layer-number{width:24px;height:25px;flex-basis:24px;border-radius:6px;font-size:10px}.smart-layer-workspace .smart-layer-card h3{font-size:11px;margin-bottom:2px}.smart-layer-workspace .smart-layer-card-heading>div>span{font-size:9px}.smart-layer-workspace .smart-layer-status{font-size:9px;padding:3px 5px}.smart-layer-workspace .smart-layer-dropzone{height:88px;margin-inline:8px;border-radius:8px}.smart-layer-workspace .smart-layer-dropzone>img{padding:5px 9px}.smart-layer-workspace .smart-layer-primary-tag,.smart-layer-workspace .smart-layer-replace{bottom:5px;padding:3px 7px;font-size:9px;border-radius:5px}.smart-layer-workspace .smart-layer-empty{gap:3px;padding:8px}.smart-layer-workspace .smart-layer-upload-icon{width:25px;height:25px;margin:0;border-radius:7px}.smart-layer-workspace .smart-layer-upload-icon svg{width:18px;height:18px}.smart-layer-workspace .smart-layer-empty strong{font-size:11px}.smart-layer-workspace .smart-layer-empty>span:not(.smart-layer-upload-icon){font-size:9px}.smart-layer-workspace .smart-layer-empty small{display:none}.smart-layer-workspace .smart-layer-card-footer{padding:8px}.smart-layer-workspace .smart-layer-mode-label{margin-bottom:5px;font-size:10px;gap:4px}.smart-layer-workspace .smart-layer-mode-label span{font-size:9px}.smart-layer-workspace .smart-layer-mode-options{padding:2px;border-radius:6px}.smart-layer-workspace .smart-layer-mode-options button{height:23px;padding:3px 2px;font-size:10px}.smart-layer-workspace .smart-layer-regenerate{display:block;min-height:0;height:25px;padding:3px 6px;margin-top:5px;font-size:10px}.smart-layer-workspace .smart-layer-file-caption{height:14px;line-height:14px;margin-top:5px}.smart-layer-workspace .smart-layer-panel-note{margin-top:10px;font-size:9px}@media (max-width:900px){.smart-preview-page .preview-page-stage.smart-layer-workspace{grid-template-columns:minmax(0,1fr)}}.smart-layer-workspace>.smart-layer-panel{position:-webkit-sticky;position:sticky;top:12px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;min-height:0}.smart-layer-error,.smart-layer-filters,.smart-layer-panel-heading,.smart-layer-panel-note{flex:0 0 auto}.smart-layer-workspace .smart-layer-grid{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;grid-auto-rows:max-content;align-content:start;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5d7ca transparent;scrollbar-gutter:stable}.smart-layer-grid:focus-visible{outline:2px solid #86b398;outline-offset:3px;border-radius:8px}.smart-layer-filters{display:grid;grid-gap:7px;gap:7px;margin-bottom:10px}.smart-layer-filter-tabs{display:flex;gap:5px}.smart-layer-panel .smart-layer-filter-tabs button{flex:1 1;display:block;min-height:0;height:27px;padding:4px;border:1px solid #e0e9e1;border-radius:6px;background:#fff;color:#7a8e7f;font-size:10px;cursor:pointer}.smart-layer-panel .smart-layer-filter-tabs button[aria-pressed=true]{border-color:#bed6c5;background:#edf6ef;color:#3a7850}.smart-layer-panel .smart-layer-filters input{display:block;width:100%;box-sizing:border-box;height:29px;min-height:0;padding:5px 8px;margin:0;border:1px solid #dfe8df;border-radius:6px;background:#fff;color:#3d5f49;font-size:11px}.smart-layer-list-empty{padding:20px 6px;display:grid;justify-items:center;grid-gap:12px;gap:12px}.smart-layer-list-empty strong{color:#789180;font-size:12px;font-weight:500}.smart-layer-panel .smart-layer-list-empty button{min-height:0;padding:5px 9px;border:1px solid #d6e6db;border-radius:6px;background:#fff;color:#64846e;font-size:11px}@media (max-width:900px){.smart-layer-workspace>.smart-layer-panel{position:static;max-height:min(58dvh,520px)}}.smart-layer-workspace .smart-layer-card{display:grid;grid-template-columns:80px minmax(0,1fr);grid-column-gap:7px;column-gap:7px}.smart-layer-workspace .smart-layer-card-heading{grid-column:1/-1;padding:7px 8px 6px}.smart-layer-workspace .smart-layer-dropzone{grid-column:1;grid-row:2;width:72px;height:72px;margin:0 0 8px 8px;border-radius:7px}.smart-layer-workspace .smart-layer-card-footer{grid-column:2;grid-row:2;min-width:0;padding:0 8px 7px 0}.smart-layer-workspace .smart-layer-dropzone>img{padding:3px}.smart-layer-workspace .smart-layer-primary-tag,.smart-layer-workspace .smart-layer-replace{display:none}.smart-layer-workspace .smart-layer-empty{padding:4px;gap:4px}.smart-layer-workspace .smart-layer-empty strong{font-size:9px;text-align:center;line-height:1.3}.smart-layer-workspace .smart-layer-empty>span:not(.smart-layer-upload-icon){display:none}.smart-layer-workspace .smart-layer-upload-icon{width:24px;height:24px}.smart-layer-workspace .smart-layer-mode-options{display:block;margin:0;padding:0;border:none;background:transparent}.smart-layer-card-actions{display:flex;align-items:center;gap:5px;margin-top:5px}.smart-layer-panel .smart-layer-card-actions button,.smart-layer-panel .smart-layer-card-actions label{display:inline-flex;flex:1 1;justify-content:center;align-items:center;box-sizing:border-box;min-width:0;min-height:0;width:auto;height:23px;padding:3px 2px;margin:0;border:1px solid #dce7de;border-radius:5px;background:#fff;color:#63816b;font-size:9px;line-height:1;white-space:nowrap;cursor:pointer}.smart-layer-panel .smart-layer-card-actions .is-disabled{opacity:.5;pointer-events:none}.smart-layer-workspace .smart-layer-file-caption{font-size:9px;margin-top:4px;line-height:13px;height:13px}.smart-layer-workspace .smart-layer-processing{gap:6px;font-size:9px;text-align:center}.smart-layer-workspace .smart-layer-processing i{width:16px;height:16px}.smart-layer-workspace .smart-layer-mode-summary{min-height:0;height:25px;margin-bottom:4px;font-size:10px}.smart-layer-workspace .smart-layer-mode-options{display:flex;gap:3px}.smart-layer-workspace .smart-layer-mode-options button{flex:1 1;min-width:0;min-height:0;height:25px;padding:3px 1px;border:1px solid #dce7de;border-radius:5px;background:#fff;color:#7a8a7e;font-size:9px;white-space:nowrap}.smart-layer-workspace .smart-layer-mode-options button[aria-pressed=true]{background:#eaf5ed;border-color:#bdd7c5;color:#34774c;box-shadow:none}.smart-layer-size-control{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) 35px;align-items:center;grid-gap:5px;gap:5px;margin:0 8px 8px;padding-top:6px;border-top:1px solid #e6ede8;font-size:10px}.smart-layer-size-control input{min-width:0;width:100%;height:16px;accent-color:#34774c}.smart-layer-size-control small{grid-column:1/-1;font-size:9px;color:#728477}.editor-layer-copy{border:1px solid #dce7de;border-radius:5px;background:#f5faf7;color:#34774c;padding:3px;font-size:10px}.editor-layer-copy:disabled{opacity:.4;cursor:not-allowed}.fixed-layout-studio-page .template-management-studio .editor-layer-delete{grid-column:2}.fixed-layout-studio-page .template-management-studio .editor-layer-copy{grid-column:3;grid-row:2;width:100%;min-height:28px}}.template-management-studio .fixed-layout-editor-properties{min-width:0}.template-management-studio .fixed-layout-editor-properties .fixed-layout-editor-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4px;gap:4px}.template-management-studio .template-studio-object-actions{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #dfe9e5;border-radius:14px;background:#fbfdfc}.template-management-studio .template-studio-object-actions h3{margin:0;font-size:12px;color:#637d74;font-weight:600}.template-management-studio .inspector-heading{display:flex;flex-direction:column;gap:4px;min-width:0}.template-management-studio .inspector-heading>span{color:#71857e;font-size:11px}.template-management-studio .inspector-heading strong{white-space:normal;overflow-wrap:anywhere;line-height:1.4;font-size:15px}.template-management-studio .template-studio-object-actions>.inspector-align-grid,.template-management-studio .template-studio-object-actions>.inspector-coordinate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.template-management-studio .inspector-coordinate-grid label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;color:#586d65}.template-management-studio .template-studio-object-actions>.inspector-move-row{display:grid;grid-template-columns:minmax(70px,1fr) minmax(130px,1.5fr);grid-gap:10px;gap:10px;align-items:center}.template-management-studio .inspector-direction-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:4px;gap:4px}.template-management-studio .inspector-direction-pad button:first-child{grid-area:1/2}.template-management-studio .inspector-direction-pad button:nth-child(2){grid-area:2/2}.template-management-studio .inspector-direction-pad button:nth-child(3){grid-area:2/1}.template-management-studio .inspector-direction-pad button:nth-child(4){grid-area:2/3}.template-management-studio .template-studio-object-actions .template-studio-size-options{display:flex;flex-direction:column;gap:9px;padding:0;border:0;background:transparent}.template-management-studio .template-studio-size-options-head>strong{display:none}.template-management-studio .template-studio-size-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.template-management-studio .template-studio-size-option-grid button:last-child{grid-column:1/-1}.template-management-studio .fixed-layout-editor-properties input:not([type=checkbox]):not([type=radio]),.template-management-studio .fixed-layout-editor-properties select{width:100%;min-width:0;box-sizing:border-box;min-height:34px;border-radius:8px;border:1px solid #dce5e1;padding:7px 9px;font-size:13px}.template-management-studio .template-studio-object-actions button{padding:7px 4px;min-height:32px;border-radius:8px;font-size:12px;font-weight:500}.template-management-studio .fixed-layout-editor-properties .editor-property-grid{gap:10px;min-width:0}.template-management-studio .inspector-readonly-value{display:block;padding:6px 0;font-size:12px;color:#60756c;overflow-wrap:anywhere}@media (max-width:480px){.template-management-studio .template-studio-object-actions>.inspector-move-row{grid-template-columns:1fr}}.template-management-studio .inspector-settings-title{margin:14px 0 8px;font-size:12px;font-weight:600;color:#637d74}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings{min-width:0;container-type:inline-size}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 8px;gap:10px 8px;padding:0;border:0;background:transparent}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-property-grid>*{grid-column:1/-1;min-width:0}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-property-grid>.field:has(input[inputmode=decimal]),.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-property-grid>.field:has(input[type=color]){grid-column:auto}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .field{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0;font-size:12px}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .checkbox-field{display:flex;align-items:flex-start;gap:7px;padding:7px 0;margin:0;font-size:12px;line-height:1.5}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .checkbox-field input{flex:0 0 auto;margin-top:3px}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;border:1px solid #dce5e1;border-radius:8px;padding:8px;font:inherit}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings :is(.editor-property-title,.color-window-preset-admin-head,.keychain-property-actions){display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings :is(.editor-property-title,.template-studio-layer-rules-card,.keychain-advanced-details,.editor-property-note){padding:10px 0;border:0;border-top:1px solid #e5ece8;border-radius:0;background:transparent;box-shadow:none}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings :is(h4,strong){font-size:12px;overflow-wrap:anywhere}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings h4{margin:0 0 10px;color:#637d74}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings :is(p,em,.editor-property-title span){font-size:11px;line-height:1.6;color:#75867e;overflow-wrap:anywhere}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:30px;border-radius:7px;font-size:12px}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .color-window-preset-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .color-window-preset-row>input{grid-column:1}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-background-preview{max-height:120px;overflow:auto}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-background-preview img{max-width:100%;max-height:120px;object-fit:contain}@container (max-width: 220px){.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .editor-property-grid>.field{grid-column:1/-1}}.fixed-layout-studio-page .template-management-studio .inspector-layer-settings .checkbox-field{border:0;background:transparent;box-shadow:none;border-radius:0}.merged-canvas-selection{position:absolute;inset:0;width:100%;height:100%;z-index:100000;touch-action:none;cursor:crosshair}.merged-canvas-controls{padding:14px;border:1px solid #d4e4d9;border-radius:12px;background:#f5faf6;margin:10px 0}.merged-canvas-controls p{color:#6a7e70;font-size:12px;margin:8px 0}.merged-canvas-controls>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;margin-top:10px}.merged-canvas-controls button{padding:7px;font-size:12px}.smart-geometry-overlay{position:fixed;inset:0;z-index:1000;background:#173d335e;display:flex;align-items:center;justify-content:center;padding:16px}.smart-geometry-editor{width:min(900px,100%);max-height:94dvh;overflow:auto;background:#fffafc;padding:18px;border-radius:16px;box-shadow:0 15px 60px #173d3333}.smart-geometry-editor header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.smart-geometry-editor header span,.smart-geometry-editor header strong{display:block;overflow-wrap:anywhere}.smart-geometry-editor header span{margin-top:6px;color:#687c74;font-size:12px}.smart-geometry-summary{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;margin:14px 0}.smart-geometry-canvas{display:block;width:100%;height:min(65dvh,580px);touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.smart-layer-size-control>button{grid-column:1/-1;font-size:12px;padding:6px 10px}@media (max-width:600px){.smart-geometry-overlay{padding:8px}.smart-geometry-editor{padding:12px}}.smart-geometry-editor header .geometry-editor-header-actions{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap}.smart-geometry-editor .geometry-editor-header-actions button{border:1px solid #bfd3ca;border-radius:8px;background:#fff;color:#185f4d;padding:8px 14px;min-width:58px}.template-studio-split-copy-layout-overlay{container-type:size;box-sizing:border-box;border:0;border-radius:0;box-shadow:none}.template-studio-split-copy-layout-overlay .split-copy-visible-outline{position:absolute;inset:0;overflow:visible;pointer-events:none}.split-copy-visible-outline rect{stroke:#d6295b;stroke-width:1.5px}.template-studio-split-copy-layout-overlay.multi-selected .split-copy-visible-outline rect{stroke:#1f7ae0}.template-studio-split-copy-layout-overlay>span{display:none;pointer-events:none}@container (min-width: 28px) and (min-height: 22px){.template-studio-split-copy-layout-overlay>span{display:block}}.template-library-page{--library-ink:#234c45;--library-border:#dce8e3}.template-library-classification{padding:18px 20px;background:#fff;border:1px solid var(--library-border);border-radius:16px;margin:16px 0}.template-library-classification header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.template-library-classification header div{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline}.template-library-classification strong{color:var(--library-ink);font-size:16px}.template-library-classification header span{font-size:12px;color:#74827d}.template-library-classification nav{display:flex;gap:8px;flex-wrap:wrap}.template-library-classification nav a{padding:8px 15px;border-radius:10px;background:#f4f8f6;color:#49665d;font-size:13px;text-decoration:none;overflow-wrap:anywhere;max-width:100%}.template-library-classification nav a.active{background:#197565;color:#fff;box-shadow:0 3px 8px #19756520}.template-library-page .template-library-category-tabs{display:flex;gap:8px;flex-wrap:wrap;min-width:0}.template-library-page .template-library-group-bar{display:block;padding:16px;border-radius:16px;border:1px solid var(--library-border);background:#fafcfb}.template-library-page .template-library-group-manager{margin-top:16px;width:100%}.template-library-page .template-library-group-manager h3{font-size:13px;color:#587067;margin:0 0 8px}.template-library-page .template-library-group-manager-panel{position:static;display:block;min-width:0;width:100%;max-width:none;box-shadow:none;border:0;background:transparent;padding:0}.template-library-page .template-library-group-create{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.template-library-page .template-library-group-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));grid-gap:8px;gap:8px;margin-top:12px}.template-library-page .template-library-group-row{min-width:0;flex-wrap:wrap;border-radius:10px;background:#fff;padding:8px}.template-library-page .template-library-group-row form{min-width:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.template-library-page .template-library-group-row input{width:130px;min-width:0;flex:1 1}.template-library-page .template-library-tools form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.template-library-page .template-library-tools input,.template-library-page .template-library-tools select{min-height:38px;border-radius:9px;border-color:var(--library-border)}.template-library-page .template-library-card{border:1px solid var(--library-border);border-radius:16px;overflow:hidden;box-shadow:0 3px 12px #234c4508}.template-library-page .template-library-card:hover{box-shadow:0 6px 20px #234c4514}.template-library-page .template-library-card h3,.template-library-page .template-library-card strong{overflow-wrap:anywhere}.template-library-page .template-library-card-actions{display:flex;gap:6px;flex-wrap:wrap}.template-asset-editor-panel .template-asset-layer-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));grid-gap:8px;gap:8px}.template-asset-editor-panel .template-asset-layer-picker button{text-align:left;min-width:0;padding:10px 12px;border-radius:12px}.template-asset-editor-panel .template-asset-layer-picker strong{white-space:normal;overflow-wrap:anywhere;font-size:14px}.template-asset-editor-panel .template-asset-thumbnail-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,120px),1fr));grid-gap:10px;gap:10px;max-height:360px;overflow:auto;padding:4px}.template-asset-editor-panel .template-asset-thumbnail-picker button{min-width:0;border-radius:12px;padding:7px}.template-asset-editor-panel .template-asset-thumbnail-frame{height:86px;overflow:hidden;border-radius:8px;background:repeating-conic-gradient(#eef3f0 0 25%,#fff 0 50%) 0 0/16px 16px}.template-asset-editor-panel .template-asset-thumbnail-frame img{width:100%;height:100%;object-fit:contain}.template-asset-editor-panel .template-asset-thumbnail-picker strong{white-space:normal;overflow-wrap:anywhere;font-size:13px}.template-asset-editor-panel .template-asset-thumbnail-picker small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){.template-library-classification{padding:12px}.template-library-classification header{align-items:flex-start}.template-library-page .template-library-tools form>label{flex:1 1 130px;min-width:0}.template-library-page .template-library-tools input,.template-library-page .template-library-tools select{width:100%;min-width:0}.template-library-page .template-library-grid{grid-template-columns:minmax(0,1fr)}.geometry-editor-header-actions,.smart-geometry-editor header,.smart-geometry-summary{flex-wrap:wrap}}.smart-preview-page .production-canvas{touch-action:none;overflow:hidden}.preview-zoom-reset{position:absolute;left:12px;top:12px;z-index:35;background:#ffffffeb;color:#28675a;border:1px solid #c6ddd2;border-radius:9px;padding:7px 10px;font-size:12px}.fixed-layout-editor-canvas .template-studio-split-copy-layout-overlay{border:0;border-radius:0;box-shadow:none;padding:0}.fixed-layout-editor-canvas .template-studio-split-copy-layout-overlay .split-copy-visible-outline{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none}.fixed-layout-editor-canvas .fixed-layout-editor-handle,.fixed-layout-editor-canvas .template-studio-split-copy-group-handle{box-sizing:border-box;width:calc(13px * var(--editor-ui-scale, 1));height:calc(13px * var(--editor-ui-scale, 1));border-width:calc(2px * var(--editor-ui-scale, 1));right:calc(-6px * var(--editor-ui-scale, 1));bottom:calc(-6px * var(--editor-ui-scale, 1))}.fixed-layout-editor-canvas .template-studio-canvas-color-window .fixed-layout-editor-handle,.fixed-layout-editor-canvas .template-studio-canvas-guide.template-asset-guide .fixed-layout-editor-handle,.fixed-layout-editor-canvas .template-studio-canvas-text .fixed-layout-editor-handle{right:0;bottom:0}.fixed-layout-editor-canvas .fixed-layout-editor-slot>span,.fixed-layout-editor-canvas .template-studio-canvas-color-window>span,.fixed-layout-editor-canvas .template-studio-canvas-guide>span{font-size:calc(11px * var(--editor-ui-scale, 1));line-height:1.25;padding:calc(2px * var(--editor-ui-scale, 1)) calc(4px * var(--editor-ui-scale, 1));top:calc(2px * var(--editor-ui-scale, 1));left:calc(2px * var(--editor-ui-scale, 1));max-width:calc(100% - 4px * var(--editor-ui-scale, 1));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.fixed-layout-editor-canvas .template-studio-split-copy-layout-overlay>span{display:none;font-size:calc(10px * var(--editor-ui-scale, 1));min-width:0;height:auto;line-height:1.3;padding:calc(1px * var(--editor-ui-scale, 1)) calc(3px * var(--editor-ui-scale, 1))}@container (min-width: 28px) and (min-height: 22px){.fixed-layout-editor-canvas .template-studio-split-copy-layout-overlay>span{display:block}}.fixed-layout-editor-canvas .fixed-layout-editor-ruler{font-size:calc(11px * var(--editor-ui-scale, 1));padding:calc(4px * var(--editor-ui-scale, 1)) calc(6px * var(--editor-ui-scale, 1));border-radius:calc(7px * var(--editor-ui-scale, 1))}.fixed-layout-editor-canvas .template-studio-split-copy-group-box>span{font-size:calc(10px * var(--editor-ui-scale, 1));top:calc(-18px * var(--editor-ui-scale, 1));padding:calc(2px * var(--editor-ui-scale, 1)) calc(6px * var(--editor-ui-scale, 1))}.fixed-layout-editor-canvas .fixed-layout-editor-handle,.fixed-layout-editor-canvas .template-studio-split-copy-group-handle{width:13px;height:13px;border-width:2px;transform:scale(var(--editor-ui-scale,1));transform-origin:right bottom}.fixed-layout-editor-canvas .split-copy-visible-outline rect{stroke-width:calc(1.5px * var(--editor-ui-scale, 1))}.fixed-layout-editor-canvas .template-studio-canvas-guide.selected{box-shadow:0 0 0 calc(2px * var(--editor-ui-scale, 1)) rgba(47,134,255,.18)}.fixed-layout-editor-canvas .template-studio-active-drag-outline{position:absolute;z-index:2147483646;pointer-events:none;border:0;padding:0;background:transparent;overflow:visible}.fixed-layout-editor-canvas .template-studio-active-drag-outline>svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.fixed-layout-editor-canvas .template-studio-active-drag-outline rect{stroke:#237be5;stroke-width:calc(2px * var(--editor-ui-scale, 1))}.template-text-compact-dialog{padding:12px}.template-text-compact-dialog>header{position:-webkit-sticky;position:sticky;top:-12px;z-index:3;background:#fffafc;padding-bottom:8px}.template-text-compact-dialog .template-text-reset-actions{display:flex;flex-wrap:wrap;gap:6px}.template-text-compact-dialog .template-text-reset-actions button{width:auto;margin:0}.template-text-compact-dialog .template-text-editor-grid{margin:0}.template-text-compact-dialog .template-text-font-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));grid-gap:6px;gap:6px;max-height:150px;overflow-y:auto;margin-top:8px}.template-text-compact-dialog .template-text-font-grid button{min-height:42px;white-space:normal;overflow-wrap:anywhere}.template-text-compact-dialog .template-text-font-preview{display:none}.template-text-compact-dialog .template-text-modal-layout{padding-top:0}:root .fixed-layout-studio-topbar.fixed-layout-editor-top-toolbar{grid-template-columns:52px minmax(180px,320px) 132px minmax(160px,1fr);grid-template-areas:"back title options identity" "dimensions dimensions actions actions";gap:12px 14px;padding:12px 16px;align-items:end}:root .fixed-layout-studio-topbar>.fixed-layout-studio-back{grid-area:back;width:auto;justify-self:start}:root .fixed-layout-studio-topbar>.fixed-layout-studio-title-field{grid-area:title;min-width:0}:root .fixed-layout-studio-topbar>button{grid-area:options;width:auto;justify-self:start;white-space:nowrap}:root .fixed-layout-studio-topbar>.fixed-layout-studio-id{grid-area:identity;align-self:center;justify-self:end;max-width:100%}:root .fixed-layout-studio-topbar>.fixed-layout-studio-id strong{font-size:12px;font-weight:500}:root .fixed-layout-studio-topbar>.fixed-layout-studio-canvas-fields{grid-area:dimensions;grid-template-columns:repeat(3,minmax(60px,1fr)) minmax(100px,1.3fr);gap:8px;min-width:0}:root .fixed-layout-studio-topbar>.fixed-layout-editor-top-actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;min-width:0}:root .fixed-layout-studio-topbar .button{width:auto;flex:none;min-height:34px;padding:6px 12px;font-size:13px}:root .fixed-layout-studio-topbar .template-studio-publish-sync{width:auto;margin:0;font-size:12px}:root .fixed-layout-studio-topbar .editor-field input,:root .fixed-layout-studio-topbar .editor-field select{min-height:34px;width:100%}@media(max-width:1100px){:root .fixed-layout-studio-topbar.fixed-layout-editor-top-toolbar{grid-template-columns:auto minmax(160px,1fr) auto;grid-template-areas:"back title options" "identity identity identity" "dimensions dimensions dimensions" "actions actions actions";gap:8px 12px}:root .fixed-layout-studio-topbar>.fixed-layout-studio-id{justify-self:start}:root .fixed-layout-studio-topbar>.fixed-layout-editor-top-actions{justify-content:flex-start}}@media(max-width:540px){:root .fixed-layout-studio-topbar.fixed-layout-editor-top-toolbar{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"back options" "title title" "identity identity" "dimensions dimensions" "actions actions";padding:10px}:root .fixed-layout-studio-topbar>.fixed-layout-studio-canvas-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}.template-studio-canvas-text.measured-text-bounds.selected{outline:none;box-shadow:none}.template-studio-canvas-text.measured-text-bounds.selected:after,.template-studio-canvas-text.measured-text-bounds.selected:before{display:none}