.tc-page{padding-bottom:40px}.tc-hero{text-align:center;margin-bottom:24px;padding:32px 20px 28px}.tc-hero-icon{background:linear-gradient(135deg, var(--color-primary) 0%, #4a9aff 100%);color:#fff;border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:14px;display:inline-flex}.tc-hero-title{color:var(--ink);margin:0 0 8px;font-size:26px;font-weight:900;line-height:1.3}.tc-hero-desc{color:var(--muted);margin:0;max-width:520px;margin-inline:auto;font-size:13px;line-height:1.7}.tc-flagship-grid{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px;display:grid}@media (max-width:720px){.tc-flagship-grid{grid-template-columns:1fr}}.tc-flagship{background:linear-gradient(135deg, var(--color-surface-soft) 0%, #f0f7ff 40%, #e8f0fe 100%);color:inherit;transition:transform .22s var(--easing-emphasized), box-shadow .22s var(--easing-standard), border-color .22s var(--easing-standard);border:2px solid #1a6dff;border-radius:14px;padding:18px 24px;text-decoration:none;display:block;position:relative;overflow:hidden}.tc-flagship:hover{border-color:var(--color-primary-hover);transform:translateY(-3px);box-shadow:0 10px 28px #1769ff24}.tc-flagship:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.tc-flagship--secondary{background:linear-gradient(135deg,#f0fdfa 0%,#e6faf7 40%,#e0f5f0 100%);border-color:#0d9488}.tc-flagship--secondary:hover{border-color:#0f766e;box-shadow:0 10px 28px #0d948824}.tc-flagship-body{align-items:center;gap:16px;display:flex}.tc-flagship-icon{background:var(--color-primary);color:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.tc-flagship--secondary .tc-flagship-icon{background:#0d9488}.tc-flagship-text{flex:1;min-width:0}.tc-flagship-title{color:var(--ink);margin:0 0 2px;font-size:17px;font-weight:900}.tc-flagship-desc{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.tc-hero-ad{margin-top:16px;margin-bottom:24px}.tc-hero-ad-slot{border-radius:12px;min-height:120px;overflow:hidden}.tc-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px;display:grid}.tc-card{border:1px solid var(--line);text-align:start;cursor:pointer;color:inherit;transition:transform .2s var(--easing-emphasized), box-shadow .2s var(--easing-standard), border-color .2s var(--easing-standard);background:#fff;border-radius:12px;flex-direction:column;padding:18px;text-decoration:none;display:flex}.tc-card:hover{border-color:var(--color-border-focus);transform:translateY(-3px);box-shadow:0 10px 28px #2643701a}.tc-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.tc-card--active{border-color:var(--blue);background:var(--sky);box-shadow:0 0 0 3px #1769ff1f}.tc-card--active:hover{transform:none;box-shadow:0 0 0 3px #1769ff1f}.tc-card-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.tc-card-icon-wrap{background:var(--sky);width:38px;height:38px;color:var(--blue);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.tc-card-title{color:var(--ink);margin:0 0 6px;font-size:14px;font-weight:900}.tc-card-desc{color:var(--muted);flex:1;margin:0 0 12px;font-size:11px;line-height:1.6}.tc-card-footer{border-top:1px solid var(--line);margin-top:auto;padding-top:10px}.tc-card-action{color:var(--blue);font-size:11px;font-weight:800;display:inline-block}.tc-card:hover .tc-card-action{text-decoration:underline}.tc-badge{border-radius:999px;align-items:center;padding:2px 8px;font-size:9px;font-weight:800;line-height:1.4;display:inline-flex}.tc-badge-success{color:#16a34a;background:#dcfce7}.tc-badge-info{color:#0284c7;background:#e0f2fe}.tc-badge-warning{color:#d97706;background:#fef3c7}.tc-badge-muted{color:#94a3b8;background:#f1f5f9}.tc-active-tool{border:1px solid var(--line);background:#fff;border-radius:12px;margin-top:8px;overflow:hidden}.tc-active-tool-header{border-bottom:1px solid var(--line);background:var(--sky);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.tc-active-tool-title{color:var(--ink);margin:0;font-size:15px;font-weight:900}.tc-active-tool-close{background:var(--color-primary-soft);width:28px;height:28px;color:var(--color-text-secondary);cursor:pointer;border:0;border-radius:50%;flex-shrink:0;place-items:center;font-size:16px;line-height:1;display:grid}.tc-active-tool-close:hover{background:#c8daf5}.tc-active-tool-body{padding:20px}.tc-tool-loading{text-align:center;color:var(--muted);padding:40px;font-size:12px}.tc-skeleton-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px}.tc-skeleton-row{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.tc-skeleton-icon{background:#e8ecf2;border-radius:8px;width:32px;height:32px;animation:1.5s ease-in-out infinite tc-pulse}.tc-skeleton-badge{background:#e8ecf2;border-radius:999px;width:56px;height:18px;animation:1.5s ease-in-out infinite tc-pulse}.tc-skeleton-title{background:#e8ecf2;border-radius:4px;width:60%;height:14px;margin-bottom:8px;animation:1.5s ease-in-out infinite tc-pulse}.tc-skeleton-text{background:#e8ecf2;border-radius:4px;width:100%;height:10px;margin-bottom:6px;animation:1.5s ease-in-out infinite tc-pulse}.tc-skeleton-text--short{width:70%}.tc-skeleton-footer{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.tc-skeleton-footer:before{content:"";background:#e8ecf2;border-radius:4px;width:64px;height:10px;animation:1.5s ease-in-out infinite tc-pulse;display:block}@keyframes tc-pulse{0%,to{opacity:1}50%{opacity:.4}}html[data-theme=dark] .tc-hero-title{color:#e8efff}html[data-theme=dark] .tc-hero-desc{color:#8fa3c4}html[data-theme=dark] .tc-flagship{background:linear-gradient(135deg,#0f1d33 0%,#12253e 40%,#0e1a2d 100%);border-color:#3b6ed4}html[data-theme=dark] .tc-flagship:hover{border-color:var(--color-border-focus);box-shadow:0 12px 36px #00000040}html[data-theme=dark] .tc-flagship-title{color:#e8efff}html[data-theme=dark] .tc-flagship-sub,html[data-theme=dark] .tc-flagship-desc{color:#8fa3c4}html[data-theme=dark] .tc-flagship--secondary{background:linear-gradient(135deg,#0a2220 0%,#0d2b28 40%,#0a2421 100%);border-color:#2dd4bf}html[data-theme=dark] .tc-flagship--secondary:hover{border-color:#5eead4;box-shadow:0 12px 36px #00000040}html[data-theme=dark] .tc-card{background:#0e1a2d;border-color:#263a5a}html[data-theme=dark] .tc-card:hover{border-color:var(--color-border-focus);box-shadow:0 8px 24px #0003}html[data-theme=dark] .tc-card--active{border-color:var(--blue);background:#0f2548}html[data-theme=dark] .tc-card-icon-wrap{color:var(--color-primary);background:#152a4b}html[data-theme=dark] .tc-card-title{color:#e8efff}html[data-theme=dark] .tc-card-desc{color:#8fa3c4}html[data-theme=dark] .tc-card-footer{border-color:#263a5a}html[data-theme=dark] .tc-badge-success{color:#22c55e;background:#052e16}html[data-theme=dark] .tc-badge-info{color:#38bdf8;background:#0c4a6e}html[data-theme=dark] .tc-badge-warning{color:#fbbf24;background:#451a03}html[data-theme=dark] .tc-badge-muted{color:#94a3b8;background:#1e293b}html[data-theme=dark] .tc-active-tool{background:#0e1a2d;border-color:#263a5a}html[data-theme=dark] .tc-active-tool-header{background:#152a4b;border-color:#263a5a}html[data-theme=dark] .tc-active-tool-close{color:#b8c9e2;background:#1a345d}html[data-theme=dark] .tc-skeleton-card{background:#0e1a2d;border-color:#263a5a}html[data-theme=dark] .tc-skeleton-icon,html[data-theme=dark] .tc-skeleton-badge,html[data-theme=dark] .tc-skeleton-title,html[data-theme=dark] .tc-skeleton-text,html[data-theme=dark] .tc-skeleton-footer:before{background:#1a3050}@media (max-width:720px){.tc-grid{grid-template-columns:1fr}.tc-hero-ad{margin-top:10px}.tc-active-tool-body{padding:14px}}@media (min-width:721px) and (max-width:1024px){.tc-grid{grid-template-columns:repeat(2,1fr)}}.tc-tool-inner{max-width:860px;margin:0 auto}.tc-calculator-title{color:var(--ink);letter-spacing:-.015em;margin:0 0 5px;font-size:19px;font-weight:900;line-height:1.45}.tc-calculator-subtitle{color:var(--muted);margin:0 0 18px;font-size:13px;line-height:1.75}.tc-tool-heading{color:var(--ink);text-align:center;margin:0 0 6px;font-size:17px;font-weight:900}.tc-tool-sub{color:var(--muted);text-align:center;margin:0 0 18px;font-size:12px}.tc-file-name{background:var(--sky);color:var(--blue-dark);border-radius:999px;margin:8px 0 0;padding:4px 12px;font-size:11px;font-weight:700;display:inline-block}.tc-field-label{color:var(--muted);margin:14px 0 6px;font-size:11px;display:block}.tc-textarea{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);resize:vertical;border-radius:8px;outline:none;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;transition:border-color .15s}.tc-textarea:focus{border-color:var(--color-border-focus);box-shadow:0 0 0 3px #1769ff1a}.tc-settings-row{border:1px dashed var(--line);color:var(--ink);border-radius:10px;flex-wrap:wrap;align-items:center;gap:16px;margin:12px 0;padding:10px 14px;display:flex}.tc-settings-row label{align-items:center;gap:6px;font-size:11px;display:flex}.tc-settings-row input[type=checkbox]{accent-color:var(--blue)}.tc-points-summary{background:var(--sky);color:var(--ink);border-radius:8px;flex-wrap:wrap;gap:20px;margin:10px 0 14px;padding:8px 14px;font-size:12px;display:flex}.tc-points-summary strong{color:var(--blue-dark)}.tc-empty-inline{background:var(--color-danger-soft);color:#dc2626;text-align:center;border-radius:8px;margin-top:10px;padding:14px;font-size:12px}.tc-copy-btn{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;margin-top:14px;padding:8px 16px;font-size:11px;font-weight:700;transition:all .15s}.tc-copy-btn:hover{border-color:var(--color-border-focus);background:var(--sky)}.tc-dropzone{background:var(--color-surface);text-align:center;cursor:pointer;border:2px dashed #b9c9e2;border-radius:12px;margin-top:4px;padding:28px 16px;transition:border-color .15s,background .15s;position:relative}.tc-dropzone:hover{border-color:var(--blue);background:var(--sky)}.tc-dropzone--active{border-color:var(--blue);background:var(--color-primary-soft)}.tc-dropzone--error{background:var(--color-danger-soft);border-color:#f87171}.tc-dropzone-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.tc-dropzone-icon{margin-bottom:8px;font-size:26px;line-height:1;display:block}.tc-dropzone-text{color:var(--ink);font-size:12px;font-weight:800;display:block}.tc-dropzone-hint{color:var(--muted);margin-top:4px;font-size:10px;display:block}.tc-dropzone-error{color:#dc2626;margin-top:8px;font-size:11px;font-weight:700;display:block}.cad-panel{border:1px solid var(--line);background:#fff;border-radius:10px;margin:14px 0;padding:14px 16px}.cad-panel-title{color:var(--ink);margin:0 0 10px;font-size:12px;font-weight:900}.cad-layers-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.cad-layer-row{border:1px solid var(--line);background:var(--paper);border-radius:8px;align-items:center;gap:10px;padding:7px 10px;display:flex}.cad-layer-swatch{border:1px solid #00000026;border-radius:5px;flex-shrink:0;width:18px;height:18px}.cad-layer-name{color:var(--ink);flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700}.cad-layer-vis{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.cad-layer-color{border:1px solid var(--line);width:58px;color:var(--ink);background:#fff;border-radius:6px;padding:4px 6px;font-size:10px}.cad-validation{border-radius:10px;margin:14px 0;padding:12px 14px;font-size:12px}.cad-validation--ok{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.cad-validation--warn{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.cad-validation--err{background:var(--color-danger-soft);color:#b91c1c;border:1px solid #fecaca}.cad-validation-summary{margin-bottom:4px;font-weight:800}.cad-validation-list{margin:6px 0 0;padding-inline-start:18px;font-size:11px}.cad-validation-list li{margin-bottom:3px}.cad-validation--err .cad-validation-list{color:#b91c1c}.cad-validation--warn .cad-validation-list{color:#b45309}.cad-preview{border:1px solid var(--line);background:#fff;border-radius:10px;margin:14px 0;overflow:hidden}.cad-preview-toolbar{border-bottom:1px solid var(--line);background:var(--sky);flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;display:flex}.cad-tool-btn{border:1px solid var(--line);min-width:30px;height:28px;color:var(--ink);cursor:pointer;background:#fff;border-radius:6px;padding:0 8px;font-size:12px;transition:all .15s}.cad-tool-btn:hover{border-color:var(--blue);color:var(--blue)}.cad-preview-zoom{color:var(--muted);margin-inline-start:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700}.cad-preview-measure{color:var(--blue-dark);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700}.cad-preview-wrap{touch-action:none;position:relative}.cad-preview-canvas{background:radial-gradient(circle, var(--color-border) 1px, transparent 1px) 0 0 / 24px 24px, var(--color-surface);width:100%;height:460px;display:block}.cad-preview-coords{inset-inline-end:10px;color:var(--color-text-secondary);pointer-events:none;background:#ffffffe6;border-radius:6px;padding:4px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;position:absolute;bottom:10px;box-shadow:0 1px 4px #0000001f}.cad-export-panel{border:1px solid var(--line);background:#fff;border-radius:10px;margin:14px 0;padding:14px 16px}.cad-export-row{flex-wrap:wrap;gap:14px;display:flex}.cad-field{flex-direction:column;gap:4px;display:flex}.cad-field>span{color:var(--muted);font-size:10px;font-weight:700}.cad-export-meta{background:var(--sky);color:var(--ink);border-radius:8px;flex-wrap:wrap;gap:16px;margin:12px 0;padding:8px 12px;font-size:11px;font-weight:700;display:flex}.cad-export-blocked{background:var(--color-danger-soft);color:#b91c1c;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:11px;font-weight:700}.cad-export-progress{background:var(--sky);color:var(--blue-dark);border-radius:8px;margin:8px 0;padding:8px 12px;font-size:11px;font-weight:700}.cad-export-error{background:var(--color-danger-soft);color:#b91c1c;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:11px;font-weight:700}.cad-export-result{color:#15803d;background:#f0fdf4;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:11px;font-weight:700}.cad-export-btn{width:100%;margin-top:12px}.cad-export-btn:disabled{opacity:.55;cursor:not-allowed}html[data-theme=dark] .cad-panel,html[data-theme=dark] .cad-export-panel,html[data-theme=dark] .cad-preview{background:#0e1a2d;border-color:#263a5a}html[data-theme=dark] .cad-panel-title{color:#e8efff}html[data-theme=dark] .cad-layer-row{background:#0f1d33;border-color:#304867}html[data-theme=dark] .cad-layer-name{color:#e8efff}html[data-theme=dark] .cad-layer-color{color:#e8efff;background:#0f1d33;border-color:#304867}html[data-theme=dark] .cad-validation--ok{color:#4ade80;background:#052e16;border-color:#14532d}html[data-theme=dark] .cad-validation--warn{color:#fbbf24;background:#451a03;border-color:#78350f}html[data-theme=dark] .cad-validation--err{color:#fca5a5;background:#450a0a;border-color:#7f1d1d}html[data-theme=dark] .cad-validation--err .cad-validation-list{color:#fca5a5}html[data-theme=dark] .cad-validation--warn .cad-validation-list{color:#fbbf24}html[data-theme=dark] .cad-preview-toolbar{background:#152a4b;border-color:#263a5a}html[data-theme=dark] .cad-tool-btn{color:#e8efff;background:#0f1d33;border-color:#304867}html[data-theme=dark] .cad-tool-btn:hover{border-color:var(--blue);color:var(--color-primary)}html[data-theme=dark] .cad-preview-canvas{background:radial-gradient(circle,#22314d 1px,#0000 1px) 0 0/24px 24px,#0a1424}html[data-theme=dark] .cad-preview-coords{color:#b8c9e2;background:#0d192de6}html[data-theme=dark] .cad-export-meta{color:#e8efff;background:#152a4b}html[data-theme=dark] .cad-export-progress{color:var(--color-primary);background:#152a4b}html[data-theme=dark] .tc-dropzone{background:#0d192d;border-color:#304867}html[data-theme=dark] .tc-dropzone:hover,html[data-theme=dark] .tc-dropzone--active{border-color:var(--blue);background:#152a4b}html[data-theme=dark] .tc-dropzone-text,html[data-theme=dark] .tc-tool-heading,html[data-theme=dark] .tc-calculator-title{color:#e8efff}html[data-theme=dark] .tc-calculator-subtitle{color:#9fb0ca}html[data-theme=dark] .tc-textarea{color:#e8efff;background:#0f1d33;border-color:#304867}html[data-theme=dark] .tc-settings-row{border-color:#304867}html[data-theme=dark] .tc-settings-row,html[data-theme=dark] .tc-points-summary{color:#e8efff}html[data-theme=dark] .tc-points-summary{background:#152a4b}html[data-theme=dark] .tc-copy-btn{color:#e8efff;background:#0f1d33;border-color:#304867}html[data-theme=dark] .tc-copy-btn:hover{border-color:var(--blue);background:#152a4b}html[data-theme=dark] .tc-empty-inline{color:#fca5a5;background:#450a0a}@media (max-width:720px){.cad-preview-canvas{height:320px}.cad-export-row{flex-direction:column}}
