.tc-root,.tc-root *{box-sizing:border-box}.tc-root{--tc-ink: #1d3b35;--tc-ink-soft: #57504a;--tc-ink-faint: #7a7167;--tc-surface: #ffffff;--tc-surface-soft: #f4eee3;--tc-surface-sunken: #faf7f1;--tc-accent: #c0563a;--tc-accent-deep: #a8462d;--tc-accent-soft: rgba(196, 90, 58, .1);--tc-gold: #c99700;--tc-danger: #dc3545;--tc-danger-soft: rgba(220, 53, 69, .1);--tc-engrave: #a000a0;--tc-line: #e9e2d6;--tc-line-strong: #ddd5c7;--tc-control-border: #8a8175;--tc-radius-sm: 8px;--tc-radius-md: 10px;--tc-radius-lg: 16px;--tc-pill: 100px;--tc-shadow-soft: none;--tc-shadow-card: none;--tc-shadow-lift: 0 .625rem 1.26rem rgba(39, 66, 73, .08), 0 1.25rem 3.78rem rgba(39, 66, 73, .1);--tc-shadow-cta: none;--tc-touch: 44px;--tc-tool: 44px;position:relative;width:100%;max-width:100%;min-width:0;margin:2rem 0;padding:1.25rem;border-radius:var(--tc-radius-lg);background:var(--tc-surface);box-shadow:var(--tc-shadow-card);color:var(--tc-ink);font-size:15px;line-height:1.5}.tc-root--loading{min-height:220px;display:flex;align-items:center;justify-content:center}.tc-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem .5rem;min-width:0;margin-bottom:1.25rem}.tc-header-text{min-width:0}.tc-help-button{flex:0 0 auto}.tc-title{margin:0 0 .25rem;font-size:1.45rem;font-weight:800;letter-spacing:-.0375em;color:var(--tc-ink)}.tc-subtitle{margin:0;color:var(--tc-ink-soft);font-size:.925rem}.tc-layout{display:grid;gap:1.25rem;grid-template-columns:1fr}.tc-layout>*{min-width:0}.tc-layout-stage{order:1}.tc-layout-sidebar{order:2}@media(min-width:992px){.tc-layout{grid-template-columns:minmax(280px,340px) 1fr;align-items:start}.tc-layout-sidebar{order:1}.tc-layout-stage{order:2;position:sticky;top:var(--tc-sticky-top, 1rem)}}.tc-sidebar{display:flex;flex-direction:column;gap:1.25rem}.tc-section{min-width:0;padding:1.1rem;border-radius:var(--tc-radius-md);background:var(--tc-surface);box-shadow:var(--tc-shadow-soft)}.tc-section-title{display:flex;align-items:center;gap:.55rem;margin:0 0 .85rem;font-size:1rem;font-weight:800;letter-spacing:-.02em}.tc-step{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border-radius:var(--tc-pill);background:var(--tc-ink);color:#fff;font-size:.78rem;font-weight:700}.tc-hint{margin:.5rem 0 0;color:var(--tc-ink-soft);font-size:.85rem}.tc-label{display:block;margin-bottom:.35rem;color:var(--tc-ink-soft);font-size:.85rem;font-weight:600}.tc-templates-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem .85rem;min-width:0;padding:.85rem 1rem;border-radius:var(--tc-radius-md);background:var(--tc-surface-soft)}.tc-templates-text{display:flex;flex-direction:column;min-width:0;font-size:.875rem}.tc-templates-text span{color:var(--tc-ink-soft)}.tc-modal-lead{margin:0;padding:0 1.25rem .85rem;color:var(--tc-ink-soft);font-size:.875rem}.tc-template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin:0;padding:0;list-style:none}.tc-template-card,.tc-gallery-card{display:flex;flex-direction:column;gap:.3rem;width:100%;min-width:0;padding:.85rem;border:0;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken);color:var(--tc-ink);font:inherit;text-align:left;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}.tc-template-card:hover,.tc-gallery-card:hover{background:var(--tc-surface);box-shadow:var(--tc-shadow-card);transform:translateY(-1px)}.tc-template-thumb{width:100%;height:92px;margin-bottom:.25rem}.tc-template-path--cut{fill:none;stroke:var(--tc-ink);stroke-width:1.4;vector-effect:non-scaling-stroke}.tc-template-path--engrave{fill:var(--tc-engrave);opacity:.75}.tc-template-path--outline{fill:none;stroke:var(--tc-ink);stroke-linejoin:round;stroke-linecap:round;opacity:.22}.tc-template-path--hole{fill:var(--tc-surface-sunken);stroke:var(--tc-ink);stroke-width:1.2;vector-effect:non-scaling-stroke}.tc-template-name{font-weight:700}.tc-template-note{color:var(--tc-ink-soft);font-size:.8rem;line-height:1.35}.tc-select--block{display:block;width:100%}.tc-material-preview{display:flex;align-items:center;gap:.85rem;min-width:0;margin:.65rem 0 0;padding:.5rem;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken)}.tc-material-preview-image{flex:0 0 auto;width:84px;height:84px;object-fit:cover;border-radius:var(--tc-radius-sm);box-shadow:var(--tc-shadow-soft)}.tc-material-preview-image--color{display:block}.tc-material-preview-caption{display:flex;flex-direction:column;gap:.1rem;min-width:0}.tc-material-preview-name{font-weight:700;overflow-wrap:anywhere}.tc-material-preview-meta{color:var(--tc-ink-soft);font-size:.8125rem}.tc-preset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:.5rem}.tc-preset{display:flex;flex-direction:column;align-items:center;gap:.4rem;min-width:0;padding:.6rem .35rem .5rem;border:0;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken);color:var(--tc-ink);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease,color .18s ease}.tc-preset:hover:not(:disabled){background:var(--tc-surface-soft)}.tc-preset--active{background:var(--tc-ink);color:#fff;box-shadow:var(--tc-shadow-soft)}.tc-preset .tc-object-item-thumb{width:38px;height:38px}.tc-preset-missing{display:grid;place-items:center;width:38px;height:38px;color:var(--tc-ink-faint)}.tc-preset-label{text-align:center;line-height:1.2}.tc-size-choices{display:flex;gap:.15rem;min-width:0;margin-top:.6rem;padding:.15rem;border-radius:var(--tc-pill);background:var(--tc-surface-soft)}.tc-size-choices .tc-btn{flex:1 1 0;min-width:0;min-height:var(--tc-tool);padding:.35rem .4rem;background:transparent;color:var(--tc-ink-soft);font-size:.8rem;white-space:normal;line-height:1.15}.tc-choice{display:flex;flex-direction:column;align-items:center;gap:.05rem;min-width:0}.tc-choice-name{font-weight:700}.tc-choice-meta{font-size:.72rem;font-weight:500;opacity:.75;font-variant-numeric:tabular-nums;white-space:nowrap}.tc-size-choices .tc-btn:hover:not(:disabled){background:var(--tc-surface);color:var(--tc-ink)}.tc-size-choices .tc-btn--on{background:var(--tc-ink);color:#fff}.tc-button-row{display:flex;flex-wrap:wrap;gap:.4rem;min-width:0}.tc-button-row .tc-btn{flex:0 1 auto}.tc-text-card{min-width:0;margin-bottom:.75rem;padding:.75rem;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken)}.tc-text-card--active{background:var(--tc-surface);box-shadow:inset 0 0 0 1.5px #c45a3a66}.tc-label-meta{margin-left:.4rem;color:var(--tc-ink-faint);font-weight:500;font-size:.75rem}.tc-textarea--text{min-height:var(--tc-touch);max-height:8rem;line-height:1.35}.tc-input-group{display:flex;align-items:flex-start;gap:.35rem;min-width:0}.tc-input,.tc-textarea{width:100%;min-width:0;min-height:var(--tc-touch);padding:.6rem .9rem;border:0;border-radius:var(--tc-radius-md);background:var(--tc-surface);box-shadow:inset 0 0 0 1px var(--tc-control-border);color:var(--tc-ink);font:inherit;font-size:16px}.tc-input::placeholder,.tc-textarea::placeholder{color:var(--tc-ink-faint)}.tc-textarea{min-height:72px;resize:vertical}.tc-input:focus-visible,.tc-textarea:focus-visible,.tc-root button:focus-visible,.tc-root select:focus-visible,.tc-range:focus-visible{outline:2px solid var(--tc-accent);outline-offset:2px}.tc-font-picker{position:relative;margin-bottom:.9rem}.tc-font-current,.tc-font-option{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,auto);align-items:baseline;column-gap:.75rem;width:100%;min-height:var(--tc-touch);padding:.45rem .75rem;border:1.5px solid transparent;border-radius:var(--tc-radius-sm);background:none;color:var(--tc-ink);font:inherit;text-align:left;cursor:pointer;flex:0 0 auto}.tc-font-current{grid-template-columns:minmax(7rem,1fr) minmax(0,auto) auto;border-color:var(--tc-line-strong);background:var(--tc-surface)}.tc-font-current:hover:not(:disabled){border-color:var(--tc-ink-faint)}.tc-font-current[aria-expanded=true]{border-color:var(--tc-accent)}.tc-font-caret{align-self:center;width:0;height:0;border-top:.3rem solid var(--tc-ink-soft);border-right:.28rem solid transparent;border-left:.28rem solid transparent}.tc-font-menu{position:absolute;z-index:20;top:calc(100% + .35rem);left:0;right:0;max-height:19rem;margin:0;padding:.3rem;border:1px solid var(--tc-line);border-radius:var(--tc-radius-md);background:var(--tc-surface);box-shadow:var(--tc-shadow-lift);list-style:none;overflow-y:auto;overscroll-behavior:contain}.tc-font-option:hover{background:var(--tc-surface-sunken)}.tc-font-option-sample{min-width:0;font-family:var(--tc-sample-font, inherit),serif!important;font-size:1.45rem;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tc-font-name{min-width:0;overflow:hidden;color:var(--tc-ink-soft);font-size:.78rem;white-space:nowrap;text-overflow:ellipsis}.tc-font-option--active{background:var(--tc-accent-soft)}.tc-font-option--active .tc-font-name{color:var(--tc-accent-deep);font-weight:600}@media(max-width:26rem){.tc-font-current,.tc-font-option{grid-template-columns:minmax(5rem,1fr) minmax(0,auto)}.tc-font-current{grid-template-columns:minmax(5rem,1fr) minmax(0,auto) auto}.tc-font-option-sample{font-size:1.3rem}}.tc-object-list{display:flex;flex-direction:column;gap:.3rem;margin:.6rem 0 0;padding:0;list-style:none}.tc-object-list li{display:flex;align-items:center;gap:.25rem;min-width:0}.tc-object-item{display:flex;flex:1 1 auto;align-items:center;gap:.6rem;min-width:0;min-height:var(--tc-touch);padding:.4rem .6rem;border:0;border-radius:var(--tc-radius-sm);background:var(--tc-surface-sunken);color:var(--tc-ink);font:inherit;text-align:left;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}.tc-object-item:hover:not(:disabled){background:var(--tc-surface-soft)}.tc-object-item--active{background:var(--tc-accent-soft);box-shadow:inset 0 0 0 1px #c45a3a59}.tc-object-check{flex:0 0 auto;display:grid;place-items:center;width:1.5rem;height:1.5rem;margin-right:.1rem;border:1.5px solid var(--tc-line-strong);border-radius:6px;background:var(--tc-surface);color:transparent;font-size:.8rem;font-weight:800;line-height:1;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.tc-object-check:hover:not(:disabled){border-color:var(--tc-accent)}.tc-object-check--on{border-color:var(--tc-accent);background:var(--tc-accent);color:#fff}.tc-object-item-thumb{flex:0 0 auto;width:26px;height:26px;fill:#27424924;stroke:var(--tc-ink);stroke-width:1.5;vector-effect:non-scaling-stroke;overflow:visible}.tc-object-item-text{display:flex;flex-direction:column;min-width:0}.tc-object-item-name{font-weight:600;overflow-wrap:anywhere}.tc-object-item-meta{color:var(--tc-ink-soft);font-size:.78rem}.tc-range{width:100%;min-height:var(--tc-touch);margin-top:.35rem;accent-color:var(--tc-accent)}.tc-root .tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:var(--tc-touch);padding:.6rem 1.25rem;border:0;border-radius:var(--tc-pill);background:var(--tc-surface-soft);color:var(--tc-ink);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.tc-root .tc-btn:hover:not(:disabled){background:var(--tc-line)}.tc-root .tc-btn:disabled{opacity:.45;cursor:not-allowed}.tc-root .tc-btn--primary{background:var(--tc-accent);color:#fff;box-shadow:none}.tc-root .tc-btn--primary:disabled{background:var(--tc-line-strong);color:var(--tc-ink-soft);opacity:1}.tc-root .tc-btn--primary:hover:not(:disabled){background:var(--tc-accent-deep);transform:translateY(-1px);box-shadow:0 6px 14px #00000026}.tc-root .tc-btn--secondary{background:var(--tc-accent-soft);color:var(--tc-accent-deep)}.tc-root .tc-btn--secondary:hover:not(:disabled){background:#c45a3a29}.tc-root .tc-btn--quiet{background:transparent;color:var(--tc-ink);font-weight:600}.tc-root .tc-btn--quiet:hover:not(:disabled){background:var(--tc-surface-soft)}.tc-root .tc-btn--ghost{background:transparent;color:var(--tc-ink-soft);font-weight:600}.tc-root .tc-btn--ghost:hover:not(:disabled){background:var(--tc-surface-soft);color:var(--tc-ink)}.tc-root .tc-btn--danger{color:var(--tc-danger)}.tc-root .tc-btn--danger:hover:not(:disabled){background:var(--tc-danger-soft)}.tc-root .tc-btn--large{min-width:240px;min-height:3.2rem;padding:.75rem 2.25rem;font-size:1.1688rem;font-weight:700}.tc-root .tc-btn--icon{width:var(--tc-touch);min-width:var(--tc-touch);padding:0;background:transparent;color:var(--tc-ink-soft);font-size:1.2rem;line-height:1}.tc-root .tc-btn--icon:hover:not(:disabled){background:var(--tc-surface-soft);color:var(--tc-ink)}.tc-root .tc-btn--on{background:var(--tc-ink);color:#fff}.tc-root .tc-btn--on:hover:not(:disabled){background:var(--tc-ink)}.tc-icon{flex:0 0 auto;margin-top:-1px}.tc-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0}.tc-toolgroup{display:inline-flex;align-items:center;gap:.1rem;padding:.15rem;border-radius:var(--tc-pill);background:var(--tc-surface-soft)}.tc-root .tc-tool{display:inline-flex;align-items:center;justify-content:center;width:var(--tc-tool);height:var(--tc-tool);padding:0;border:0;border-radius:var(--tc-pill);background:transparent;color:var(--tc-ink);cursor:pointer;transition:background-color .15s ease,color .15s ease}.tc-root .tc-tool:hover:not(:disabled){background:var(--tc-surface);box-shadow:var(--tc-shadow-soft)}.tc-root .tc-tool--danger{color:var(--tc-danger)}.tc-root .tc-tool--danger:hover:not(:disabled){background:var(--tc-danger-soft)}.tc-root .tc-tool:disabled{opacity:.35;cursor:not-allowed}.tc-preview-button{margin-left:auto}.tc-selection-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .65rem;min-width:0;margin-bottom:.75rem;padding:.4rem .5rem .4rem .9rem;border-radius:var(--tc-pill);background:var(--tc-surface-soft)}.tc-selection-name{margin-right:.15rem;font-weight:700;min-width:0;overflow-wrap:anywhere}.tc-object-item--active .tc-object-item-name{font-weight:700}.tc-outline-control{display:flex;flex-direction:column;gap:.1rem;min-width:0}.tc-outline-row{display:inline-flex;align-items:center;gap:.35rem;min-width:0}.tc-range--inline{width:6.5rem;margin:0}.tc-outline-value{min-width:3.2rem;font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--tc-ink-soft)}.tc-selection-actions{display:inline-flex;align-items:center;gap:.25rem}.tc-selection-bar .tc-btn{min-height:var(--tc-tool);padding:.35rem .9rem;font-size:.9rem}.tc-selection-bar .tc-toolgroup{background:var(--tc-surface)}.tc-stage{display:flex;flex-direction:column;gap:.75rem;min-width:0}.tc-stage-svg{display:block;width:100%;max-width:100%;height:auto;border:1px solid var(--tc-line);border-radius:var(--tc-radius-md);background:var(--tc-surface-soft);touch-action:pan-y}.tc-stage-svg--dragging{touch-action:none}.tc-workspace{fill:#fff;stroke:none}.tc-rulers{pointer-events:none}.tc-ruler-band{fill:var(--tc-surface-soft);stroke:none;opacity:.85}.tc-ruler-tick{stroke:var(--tc-ink-soft)}.tc-ruler-label{fill:var(--tc-ink);font-family:inherit;font-weight:600;dominant-baseline:hanging}.tc-max-area{fill:none;stroke:var(--tc-gold);stroke-width:.4;stroke-dasharray:2 2}.tc-max-area--exceeded{stroke:var(--tc-danger);stroke-width:.8;stroke-dasharray:none}.tc-object{cursor:grab;touch-action:none}.tc-object-path{pointer-events:all}.tc-outline-path{fill:#a00000;stroke:#a00000;stroke-linejoin:round;stroke-linecap:round;pointer-events:all}.tc-outline{opacity:.18}.tc-outline:has(+.tc-object--selected){opacity:.26}.tc-object-hit{fill:transparent;stroke:none;pointer-events:all}.tc-object-path--cut{fill:none;stroke:var(--tc-ink);stroke-width:1.2;vector-effect:non-scaling-stroke}.tc-object-path--engrave{fill:var(--tc-engrave);stroke:none}.tc-object--selected .tc-object-path--cut{stroke:var(--tc-accent);stroke-width:2}.tc-object--selected{cursor:grabbing}.tc-guide{fill:none;stroke-dasharray:2 1.5;vector-effect:non-scaling-stroke;pointer-events:none}.tc-guide--workspace{stroke:var(--tc-gold)}.tc-guide--object{stroke:var(--tc-accent)}.tc-selection-outline{fill:none;stroke:var(--tc-accent);stroke-dasharray:1.5 1.5;vector-effect:non-scaling-stroke}.tc-handle{fill:#fff;stroke:var(--tc-accent);stroke-width:.5;touch-action:none}.tc-handle--scale{cursor:nwse-resize}.tc-handle--edge{fill:#fff;stroke:var(--tc-accent);stroke-width:.5;touch-action:none}.tc-handle--edge-x{cursor:ew-resize}.tc-handle--edge-y{cursor:ns-resize}.tc-handle--rotate{cursor:grab;fill:var(--tc-accent)}.tc-handle-line{stroke:var(--tc-accent);stroke-dasharray:1 1}.tc-stage-footer{margin-top:.85rem}.tc-stage-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;min-width:0}.tc-stage-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1.25rem;min-width:0}.tc-size{display:flex;flex-direction:column;min-width:0}.tc-size-label{color:var(--tc-ink-faint);font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.tc-size-value{font-size:1.15rem;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tc-size--error .tc-size-value{color:var(--tc-danger)}.tc-workspace-size{display:flex;flex-direction:column;gap:.15rem;min-width:0}.tc-select{min-height:var(--tc-touch);max-width:100%;padding:.4rem .9rem;border:0;border-radius:var(--tc-pill);background:var(--tc-surface);box-shadow:inset 0 0 0 1px var(--tc-control-border);color:var(--tc-ink);font:inherit;font-weight:600;font-size:16px}.tc-zoom-value,.tc-rotation-value{min-width:3.4rem;text-align:center;font-size:.85rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--tc-ink-soft)}.tc-checks{display:flex;flex-direction:column;gap:.35rem;margin:.75rem 0 0;padding:0;list-style:none}.tc-check{display:flex;align-items:flex-start;gap:.5rem;min-width:0;padding:.55rem .75rem;border-radius:var(--tc-radius-sm);font-size:.85rem;line-height:1.4}.tc-check--blocking{background:var(--tc-danger-soft);color:#8f1622}.tc-check--warning{background:#c997001f;color:#6b5200}.tc-check--info{background:var(--tc-surface-soft);color:var(--tc-ink-soft)}.tc-check--info .tc-check-mark{background:var(--tc-ink-soft);color:#fff}.tc-check-mark{flex:0 0 auto;display:grid;place-items:center;width:1.15rem;height:1.15rem;margin-top:.05rem;border-radius:var(--tc-pill);background:currentColor;color:#fff;font-size:.72rem;font-weight:800}.tc-check--blocking .tc-check-mark{color:#fff;background:#8f1622}.tc-check--warning .tc-check-mark{color:#fff;background:#6b5200}.tc-stage-debug{display:flex;flex-wrap:wrap;gap:.35rem .5rem;margin-top:.6rem}.tc-size-note{color:var(--tc-ink-soft);font-size:.8rem}.tc-debug-note{padding:.15rem .5rem;border-radius:var(--tc-radius-sm);background:var(--tc-surface-soft);font-family:ui-monospace,monospace;font-size:.75rem}.tc-share{display:inline-flex;align-items:center;gap:.35rem;min-width:0}.tc-share-input{width:min(280px,100%);font-size:.8125rem}.tc-stage-hint{margin:.5rem 0 0;color:var(--tc-ink-faint);font-size:.8rem}.tc-stage-warning{display:flex;gap:.5rem;margin:.75rem 0 0;padding:.6rem .9rem;border-radius:var(--tc-radius-sm);background:var(--tc-danger-soft);color:#8f1622;font-size:.875rem}.tc-object--invalid .tc-object-path{stroke:var(--tc-danger);stroke-width:1.6;vector-effect:non-scaling-stroke}.tc-operations{display:inline-flex;gap:.15rem;padding:.15rem;border-radius:var(--tc-pill);background:var(--tc-surface)}.tc-operation{display:inline-flex;align-items:center;gap:.4rem;min-height:var(--tc-tool);padding:.3rem .8rem;border:0;border-radius:var(--tc-pill);background:transparent;color:var(--tc-ink-soft);font:inherit;font-size:.875rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease}.tc-operation:hover{color:var(--tc-ink)}.tc-operation-dot{width:.6rem;height:.6rem;border-radius:var(--tc-pill);background:#a00000}.tc-operation--engrave .tc-operation-dot{background:var(--tc-engrave)}.tc-operation--active{background:var(--tc-ink);color:#fff}.tc-modal-backdrop{position:fixed;inset:0;z-index:var(--tc-modal-z, 1000);display:flex;align-items:center;justify-content:center;padding:1rem;background:#27424973;overscroll-behavior:contain}.tc-modal{display:flex;flex-direction:column;width:min(760px,100%);max-height:min(86vh,760px);max-height:min(86dvh,760px);border-radius:var(--tc-radius-lg);background:var(--tc-surface);box-shadow:var(--tc-shadow-lift);color:var(--tc-ink)}.tc-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem .85rem}.tc-modal-title{margin:0;font-size:1.15rem;font-weight:800;letter-spacing:-.02em}.tc-modal--preview{width:min(620px,100%)}.tc-preview-body{padding:1.25rem;background-color:#f6f3ee;background-image:linear-gradient(45deg,rgba(36,50,53,.05) 25%,transparent 25%),linear-gradient(-45deg,rgba(36,50,53,.05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(36,50,53,.05) 75%),linear-gradient(-45deg,transparent 75%,rgba(36,50,53,.05) 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.tc-preview-svg{display:block;width:100%;max-height:60vh;max-height:60dvh;filter:drop-shadow(0 3px 6px rgba(0,0,0,.35))}.tc-preview-footer{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:baseline;padding:.9rem 1.25rem 1.1rem}.tc-preview-note{font-weight:700}.tc-category-tabs{display:flex;flex-wrap:wrap;gap:.35rem;padding:0 1.25rem .85rem}.tc-category-tab{flex:0 0 auto;min-height:var(--tc-tool);padding:.35rem .9rem;border:0;border-radius:var(--tc-pill);background:var(--tc-surface-soft);color:var(--tc-ink-soft);font:inherit;font-size:.85rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,color .15s ease}.tc-category-tab:hover{color:var(--tc-ink)}.tc-category-tab--active{background:var(--tc-ink);color:#fff}.tc-modal-body{overflow-y:auto;overscroll-behavior:contain;padding:0 1.25rem 1.25rem}.tc-shape-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.6rem;margin:0;padding:0;list-style:none}.tc-shape-card{display:flex;flex-direction:column;align-items:center;gap:.4rem;width:100%;height:100%;min-width:0;padding:.85rem .6rem .7rem;border:0;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken);color:var(--tc-ink);font:inherit;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}.tc-shape-card:hover{background:var(--tc-surface);box-shadow:var(--tc-shadow-card);transform:translateY(-1px)}.tc-shape-thumb{width:100%;height:66px;fill:#27424924;stroke:var(--tc-ink);stroke-width:1.5;vector-effect:non-scaling-stroke}.tc-shape-card-name{display:flex;align-items:center;min-height:2.4em;font-size:.85rem;font-weight:600;text-align:center;line-height:1.2}.tc-shape-card-size{margin-top:auto;color:var(--tc-ink-faint);font-size:.75rem;font-variant-numeric:tabular-nums}.tc-modal--help{width:min(880px,100%)}.tc-help-body{display:grid;grid-template-columns:1fr;gap:.75rem;min-height:0;padding:0 1.25rem 1.25rem;overflow:hidden}@media(min-width:720px){.tc-help-body{grid-template-columns:200px 1fr;gap:1.25rem}}.tc-help-nav{display:flex;gap:.25rem;min-width:0;overflow-x:auto;scrollbar-width:thin;mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 2rem),transparent 100%)}@media(min-width:720px){.tc-help-nav{flex-direction:column;overflow-x:visible;overflow-y:auto;mask-image:none;max-height:min(60vh,520px);max-height:min(60dvh,520px)}}.tc-help-tab{flex:0 0 auto;padding:.5rem .8rem;border:0;border-radius:var(--tc-radius-sm);background:transparent;color:var(--tc-ink-soft);font:inherit;font-size:.85rem;font-weight:600;text-align:left;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,color .15s ease}@media(min-width:720px){.tc-help-tab{white-space:normal}}.tc-help-tab:hover{background:var(--tc-surface-soft);color:var(--tc-ink)}.tc-help-tab--active{background:var(--tc-ink);color:#fff}.tc-help-content{min-width:0;max-height:min(60vh,520px);max-height:min(60dvh,520px);overflow-y:auto;overscroll-behavior:contain}.tc-help-heading{margin:0 0 .6rem;font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.tc-help-block+.tc-help-block{margin-top:.85rem}.tc-help-text{margin:0;line-height:1.55}.tc-help-list{margin:.35rem 0 0;padding-left:1.1rem;line-height:1.5}.tc-help-list li+li{margin-top:.25rem}.tc-help-keys{display:grid;gap:.3rem;margin:.35rem 0 0}.tc-help-key{display:grid;grid-template-columns:minmax(0,8.5rem) 1fr;gap:.6rem;align-items:baseline}.tc-help-key dt,.tc-help-key dd{margin:0;min-width:0}.tc-help-key kbd{display:inline-block;padding:.15rem .45rem;border-radius:6px;background:var(--tc-surface-soft);color:var(--tc-ink);font-family:inherit;font-size:.8rem;font-weight:600;white-space:nowrap}.tc-help-key dd{color:var(--tc-ink-soft);font-size:.875rem}.tc-help-note{display:flex;align-items:flex-start;gap:.5rem;margin:.6rem 0 0;padding:.6rem .75rem;border-radius:var(--tc-radius-sm);background:var(--tc-surface-soft);font-size:.875rem;line-height:1.45}.tc-help-note-mark{flex:0 0 auto;display:grid;place-items:center;width:1.15rem;height:1.15rem;margin-top:.1rem;border-radius:var(--tc-pill);background:var(--tc-ink);color:#fff;font-size:.7rem;font-weight:800}.tc-pricebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.85rem 2.5rem;min-width:0;margin-top:1.25rem;padding:1.1rem 1.25rem;border-radius:var(--tc-radius-md);background:var(--tc-surface-sunken)}.tc-pricebar--done{background:#eef6ee}.tc-notice{display:flex;align-items:flex-start;gap:.55rem;flex-basis:100%;min-width:0;margin:0;padding:.6rem .85rem;border-radius:var(--tc-radius-sm);background:var(--tc-surface);color:var(--tc-ink-soft);font-size:.8125rem;line-height:1.45}.tc-done-title{display:block;font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.tc-done-note{color:var(--tc-ink-soft);font-size:.875rem}.tc-pricebar-left,.tc-pricebar-right{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;min-width:0}.tc-price{display:flex;flex-direction:column;min-width:0}.tc-price-label{color:var(--tc-ink-faint);font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.tc-price-value{font-size:2rem;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.tc-quantity{display:flex;flex-direction:column;gap:.15rem;min-width:0}.tc-quantity-controls{display:inline-flex;align-items:center;gap:.15rem;padding:.15rem;border-radius:var(--tc-pill);background:var(--tc-surface)}.tc-quantity-value{min-width:2.25rem;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.tc-progress,.tc-loading{display:inline-flex;align-items:center;gap:.5rem;margin:0;color:var(--tc-ink-soft);font-size:.875rem}.tc-spinner{width:1.1rem;height:1.1rem;border:2px solid var(--tc-line-strong);border-top-color:var(--tc-accent);border-radius:var(--tc-pill);animation:tc-spin .8s linear infinite}@keyframes tc-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tc-root *,.tc-root *:before,.tc-root *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.tc-error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;padding:1rem 1.25rem;border:1.5px solid rgba(179,38,30,.35);border-radius:var(--tc-radius-md);background:#fff6f5}.tc-error-title{display:block;color:var(--tc-danger)}.tc-error-message{margin:.25rem 0 0;font-size:.9rem}.tc-error-actions{display:flex;flex-wrap:wrap;gap:.5rem}.tc-adapter-note{margin-bottom:1rem;padding:.9rem 1.1rem;border-left:4px solid var(--tc-gold);border-radius:var(--tc-radius-sm);background:#fffaf0;font-size:.875rem}.tc-adapter-note--blocking{border-left-color:var(--tc-danger);background:#fff6f5}.tc-adapter-note ul{margin:.4rem 0 0;padding-left:1.1rem}.tc-draft-prompt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;padding:.9rem 1.1rem;border-radius:var(--tc-radius-md);background:var(--tc-surface-soft)}.tc-draft-actions{display:flex;gap:.5rem}@media(max-width:600px){.tc-root{padding:.85rem;margin:1.25rem 0}.tc-section{padding:.85rem}.tc-stage-bar{flex-direction:column;align-items:stretch;flex-wrap:nowrap}.tc-preview-button{margin-left:0}.tc-selection-bar{border-radius:var(--tc-radius-md);padding:.6rem .7rem}.tc-selection-actions{margin-left:0}.tc-material-preview-image{width:66px;height:66px}.tc-pricebar{padding:.9rem}.tc-pricebar-right,.tc-pricebar-right .tc-btn--large{flex:1 1 100%}.tc-size-choices{flex-direction:column;border-radius:var(--tc-radius-md)}.tc-size-choices .tc-btn{border-radius:var(--tc-radius-sm)}}.tc-native-hidden{visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}.tc-error-diagnostics{display:flex;flex-direction:column;gap:4px;width:100%;margin-top:8px;font-size:12px}.tc-error-diagnostics-text{width:100%;padding:6px 8px;border:1px solid var(--tc-line-strong);border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.45;resize:vertical}.tc-check-fix{display:inline-flex;align-items:center;min-height:var(--tc-touch);margin-left:.4rem;padding:.15rem .9rem;border:1px solid currentColor;border-radius:100px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.tc-check-fix:hover,.tc-check-fix:focus-visible{background:#ffffff8c}.tc-header-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-start}.tc-save-email{display:flex;flex-direction:column;gap:.35rem;flex:1 1 100%;min-width:0;padding:.6rem .75rem;border-radius:var(--tc-radius-sm);background:var(--tc-surface-muted, #f3f6f7);font-size:.85rem}.tc-save-email-label{font-weight:600}.tc-save-email-row{display:flex;flex-wrap:wrap;gap:.4rem;min-width:0}.tc-save-email-row .tc-input{flex:1 1 12rem;min-width:0}.tc-save-email-note{margin:0;color:var(--tc-text-muted, #5c6b6f);font-size:.78rem}.tc-save-email-error{margin:0;color:#8f1622}.tc-save-email--done .tc-input{width:100%}.tc-share-gallery{display:flex;flex-direction:column;gap:.5rem;flex:1 1 100%;min-width:0;padding:.6rem .75rem;border-radius:var(--tc-radius-sm);background:var(--tc-surface-muted, #f3f6f7);font-size:.85rem}.tc-share-gallery-consent{display:flex;align-items:flex-start;gap:.45rem;cursor:pointer}.tc-share-gallery-consent input{margin-top:.2rem;flex-shrink:0}.tc-share-gallery-row{display:flex;flex-wrap:wrap;gap:.4rem}.tc-share-gallery-error{margin:0;color:#8f1622}.tc-preview-scale rect,.tc-preview-scale circle{fill:#ffffffe0;stroke:#fff;stroke-width:.4;stroke-dasharray:2 1.5}.tc-preview-summary{flex-basis:100%;color:var(--tc-ink-soft);font-size:.875rem;overflow-wrap:anywhere}.tc-preview-scale-toggle{min-height:44px;display:inline-flex;gap:.35rem;align-items:center;font-size:.8rem;cursor:pointer}.tc-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.tc-price-breakdown{display:block;margin-top:.25rem;color:var(--tc-ink-soft);font-size:.8125rem;line-height:1.35}.tc-hint--blocked{color:var(--tc-danger, #9b2c1f)}.tc-link{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}.tc-price-placeholder{color:var(--tc-ink-soft);font-size:.9375rem;line-height:1.3}.tc-price-value--updating{opacity:.45;transition:opacity .15s}.tc-error:focus{outline:2px solid var(--tc-ink);outline-offset:2px}.tc-stepper-row{display:flex;align-items:center;gap:.4rem}.tc-stepper-row .tc-range{flex:1 1 auto;min-width:0;height:var(--tc-touch);margin:0}.tc-stepper-row .tc-btn--icon{flex:0 0 auto;min-width:var(--tc-touch);min-height:var(--tc-touch);padding:0}.tc-stepper-number{display:inline-flex;align-items:center;gap:.25rem;flex:0 0 auto;color:var(--tc-ink-soft)}.tc-stepper-number .tc-input{width:4rem;min-height:var(--tc-touch);text-align:right}.tc-hint--range{margin:.15rem 0 0}.tc-stepper-problem{margin:.35rem 0 0;padding:.5rem .7rem;border-radius:var(--tc-radius-sm);background:var(--tc-danger-soft);color:#8f1622;font-size:.8125rem;line-height:1.4}@media(max-width:26rem){.tc-stepper-row{flex-wrap:wrap}.tc-stepper-row .tc-range{order:3;flex-basis:100%}}.tc-selection-idle{display:flex;align-items:center;min-height:3.2rem;margin:0 0 .75rem;padding:.4rem .9rem;color:var(--tc-ink-soft);font-size:.85rem}@media(max-width:600px){.tc-selection-idle{min-height:10.5rem}}.tc-help-tab{min-height:var(--tc-touch)}.tc-material-single{margin:0;padding:.25rem .1rem;color:var(--tc-ink)}@media(max-width:991px){.tc-sidebar>.tc-section--text{order:-1}.tc-stage--typing .tc-stage-svg{max-height:30vh;max-height:30dvh}.tc-stage-svg{min-height:240px}}
