.tpc-app,.tpc-app *{box-sizing:border-box}.tpc-app{--tpc-bg:#f4f5f8;--tpc-surface:#fff;--tpc-surface-soft:#f8f9fb;--tpc-border:#dfe3ea;--tpc-border-strong:#cbd1dc;--tpc-text:#243438;--tpc-muted:#6d7382;--tpc-accent:#6c5ce7;--tpc-accent-strong:#5142c9;--tpc-accent-soft:#efecff;--tpc-danger:#c84d62;--tpc-success:#28875c;--tpc-shadow:0 18px 56px rgba(25,31,43,.12);--tpc-radius:14px;width:100%;max-width:1920px;min-height:0;margin:8px auto 28px;color:var(--tpc-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;font-size:14px;line-height:1.55;background:#f5f6f8;border:1px solid #e2e5eb;isolation:isolate}.tpc-app button,.tpc-app input,.tpc-app select,.tpc-app textarea{font:inherit}.tpc-app button{cursor:pointer}.tpc-app [hidden]{display:none!important}.tpc-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:9px 15px;background:#fff;border-bottom:1px solid #e5e8ed}.tpc-hero h2{margin:1px 0;font-size:clamp(17px,1.6vw,24px);line-height:1.25}.tpc-hero p{margin:0;color:var(--tpc-muted);font-size:12px}.tpc-lang-switch{display:inline-flex;padding:3px;background:#f1f2f5;border-radius:999px}.tpc-lang-switch button{min-width:50px;padding:6px 10px;color:var(--tpc-muted);font-size:11px;font-weight:800;background:transparent;border:0;border-radius:999px}.tpc-lang-switch button[aria-pressed="true"]{color:#fff;background:var(--tpc-accent-strong)}.tpc-workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;grid-template-areas:"preview editor";align-items:start;gap:10px;min-height:0;padding:10px}.tpc-preview-column{grid-area:preview;min-width:0}.tpc-preview-sticky{position:sticky;top:8px;padding:10px;background:rgba(255,255,255,.97);border:1px solid var(--tpc-border);border-radius:12px;box-shadow:var(--tpc-shadow)}.tpc-canvas-shell{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio: 16 / 9;padding:8px;background:#eceef2;border:1px solid #e0e3e9;overflow:hidden}.tpc-canvas-shell canvas{display:block;width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio: 16 / 9;background:transparent;box-shadow:0 12px 34px rgba(25,30,42,.14);touch-action:none;user-select:none}.tpc-output-panel{display:grid;gap:9px;margin-top:10px;padding:10px;background:#fff;border:1px solid var(--tpc-border);border-radius:10px}.tpc-output-panel>label{display:grid;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:10px;font-size:12px;font-weight:800}.tpc-share-grid{display:flex;flex-wrap:wrap;gap:8px}.tpc-share-grid .tpc-button{flex:1 1 160px}.tpc-share-note{margin:0;color:var(--tpc-muted);font-size:10px}.tpc-rendering{position:absolute;inset:10px;z-index:20;display:grid;place-content:center;gap:9px;color:#fff;text-align:center;background:rgba(25,28,37,.74);backdrop-filter:blur(5px)}.tpc-rendering span{width:34px;height:34px;margin:0 auto;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:tpc-spin .8s linear infinite}@keyframes tpc-spin { to { transform: rotate(360deg); } }.tpc-editor{grid-area:editor;min-width:0;padding-right:2px}.tpc-panel{margin:0 0 8px;background:#fff;border:1px solid var(--tpc-border);border-radius:11px;overflow:clip}.tpc-panel>summary{display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 11px;font-size:13px;font-weight:900;list-style:none;cursor:pointer;user-select:none}.tpc-panel>summary::-webkit-details-marker{display:none}.tpc-panel>summary::after{content:"+";margin-left:auto;color:var(--tpc-muted);font-size:20px;line-height:1}.tpc-panel[open]>summary::after{content:"−"}.tpc-panel-number{display:grid;place-items:center;width:25px;height:25px;color:#fff;font-size:11px;background:var(--tpc-accent-strong);border-radius:8px}.tpc-panel-body{display:grid;gap:12px;padding:11px;border-top:1px solid #eceef2}.tpc-field{display:grid;gap:6px;min-width:0}.tpc-field>label,.tpc-field-heading>label{font-size:11px;font-weight:900}.tpc-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.tpc-field-grid{display:grid;gap:9px}.tpc-field-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpc-field-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpc-app input[type="text"],.tpc-app input[type="number"],.tpc-app input[type="url"],.tpc-app select,.tpc-app textarea{width:100%;min-width:0;min-height:40px;padding:8px 10px;color:var(--tpc-text);background:#fff;border:1px solid var(--tpc-border-strong);border-radius:9px;outline:none}.tpc-app textarea{min-height:92px;resize:vertical}.tpc-app input:focus,.tpc-app select:focus,.tpc-app textarea:focus{border-color:var(--tpc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--tpc-accent) 14%,transparent)}.tpc-app input[type="range"]{width:100%;accent-color:var(--tpc-accent)}.tpc-app input[type="color"]{width:100%;height:40px;padding:3px;background:#fff;border:1px solid var(--tpc-border-strong);border-radius:9px}.tpc-field output{justify-self:end;margin-top:-2px;color:var(--tpc-muted);font-size:10px;font-weight:800}.tpc-help{margin:0;color:var(--tpc-muted);font-size:10px}.tpc-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:132px;min-height:41px;padding:8px 22px;color:var(--tpc-text);font-size:12px;font-weight:800;line-height:1.2;background:#fff;border:1px solid var(--tpc-border-strong);border-radius:10px;text-align:center}.tpc-button:hover{border-color:var(--tpc-accent)}.tpc-button-primary{color:#fff;background:linear-gradient(135deg,var(--tpc-accent),var(--tpc-accent-strong));border-color:transparent}.tpc-button-danger{color:var(--tpc-danger)}.tpc-link-button{padding:3px 5px;color:var(--tpc-accent-strong);font-size:10px;font-weight:800;background:transparent;border:0}.tpc-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tpc-theme-grid button{position:relative;min-height:36px;padding:5px;color:#fff;font-size:11px;font-weight:900;background:linear-gradient(135deg,var(--theme-a),var(--theme-b));border:2px solid transparent;border-radius:9px}.tpc-theme-grid button[aria-pressed="true"]{border-color:#fff;box-shadow:0 0 0 2px var(--tpc-accent-strong)}.tpc-segmented{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:5px}.tpc-segmented label{position:relative}.tpc-segmented input{position:absolute;opacity:0}.tpc-segmented span{display:flex;align-items:center;justify-content:center;min-height:36px;padding:6px 7px;color:var(--tpc-muted);font-size:8px;font-weight:800;background:#fff;border:1px solid var(--tpc-border-strong);border-radius:8px;cursor:pointer}.tpc-segmented input:checked+span{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-upload-zone{display:grid;place-items:center;gap:3px;min-height:86px;padding:12px;text-align:center;background:var(--tpc-surface-soft);border:2px dashed var(--tpc-border-strong);border-radius:11px;cursor:pointer}.tpc-upload-zone input{position:absolute;opacity:0;pointer-events:none}.tpc-upload-zone small{color:var(--tpc-muted);font-size:9px}.tpc-upload-zone.is-dragover{background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-profile-editor{display:grid;grid-template-columns:96px minmax(0,1fr);gap:11px}.tpc-icon-upload{display:grid;gap:5px;text-align:center;cursor:pointer}.tpc-icon-upload input{position:absolute;opacity:0}.tpc-icon-upload-preview{display:grid;place-items:center;width:88px;height:88px;color:#fff;font-size:30px;background:linear-gradient(135deg,var(--tpc-accent),var(--tpc-accent-strong));background-position:center;background-size:cover;border:4px solid #fff;box-shadow:0 6px 20px rgba(30,35,46,.14)}.tpc-icon-upload-preview[data-shape="circle"]{border-radius:50%}.tpc-icon-upload-preview[data-shape="rounded"]{border-radius:18px}.tpc-icon-upload-preview[data-shape="square"]{border-radius:4px}.tpc-icon-upload small{font-size:9px;font-weight:800}.tpc-profile-fields{display:grid;gap:9px}.tpc-identity-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tpc-identity-options label{position:relative}.tpc-identity-options input{position:absolute;opacity:0}.tpc-identity-options span{display:flex;align-items:center;justify-content:center;min-height:40px;background:#fff;border:1px solid var(--tpc-border-strong);border-radius:9px;cursor:pointer}.tpc-identity-options strong{display:grid;place-items:center;width:29px;height:29px;color:#fff;font-size:16px;background:var(--tpc-accent-strong);border-radius:999px}.tpc-identity-options input:checked+span{background:var(--tpc-accent-soft);border-color:var(--tpc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--tpc-accent) 14%,transparent)}.tpc-chip-checks{display:flex;flex-wrap:wrap;gap:6px}.tpc-chip-checks label{position:relative}.tpc-chip-checks input{position:absolute;opacity:0}.tpc-chip-checks span{display:inline-flex;align-items:center;min-height:31px;padding:5px 10px;color:var(--tpc-muted);font-size:10px;font-weight:800;background:#fff;border:1px solid var(--tpc-border-strong);border-radius:999px;cursor:pointer}.tpc-chip-checks input:checked+span{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-function-list{display:grid;gap:7px}.tpc-function-row{display:grid;grid-template-columns:40px 32px 38px 56px 14px 68px;grid-template-rows:auto auto;align-items:center;gap:7px;min-height:78px;padding:8px;background:#fff;border:1px solid var(--tpc-border);border-left:5px solid var(--function-color);border-radius:10px}.tpc-drag-handle{grid-column:1;grid-row: 1 / 3;display:grid;place-items:center;width:40px;height:54px;color:var(--tpc-muted);font-size:18px;background:#f1f3f6;border:1px solid var(--tpc-border);border-radius:8px;cursor:grab;touch-action:none}.tpc-drag-handle:active{cursor:grabbing}.tpc-function-code{color:var(--function-color);font-size:15px;text-align:center}.tpc-function-color{width:38px!important;height:34px!important;padding:2px!important}.tpc-function-value{width:56px!important;min-height:34px!important;padding:5px!important;text-align:right}.tpc-function-percent{font-size:10px;font-weight:800}.tpc-function-buttons{display:grid;grid-template-columns:1fr 1fr;gap:4px}.tpc-function-buttons button{width:31px;height:31px;padding:0;background:#fff;border:1px solid var(--tpc-border);border-radius:7px}.tpc-function-range{grid-column: 2 / -1;grid-row:2;width:100%;accent-color:var(--function-color)!important}.tpc-function-placeholder{min-height:78px;background:color-mix(in srgb,var(--tpc-accent-soft) 76%,transparent);border:2px dashed var(--tpc-accent);border-radius:10px}.is-function-ghost{position:fixed;z-index:999999;margin:0;pointer-events:none;opacity:.92;box-shadow:0 18px 40px rgba(25,30,42,.24)}.tpc-contact-label{display:inline-flex;align-items:center;gap:7px}.tpc-contact-label img{width:19px;height:19px;object-fit:contain}.tpc-policy-list{display:grid;gap:6px}.tpc-policy-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 34px;align-items:center;gap:6px}.tpc-policy-row>span{min-width:0;font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpc-policy-row button{width:34px;height:34px;padding:0;color:var(--tpc-danger);background:#fff;border:1px solid var(--tpc-border);border-radius:8px}.tpc-inline-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.tpc-stamp-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.tpc-stamp-palette button{display:grid;place-items:center;gap:3px;min-height:76px;padding:6px 3px;color:var(--tpc-muted);font-size:9px;font-weight:800;background:#fff;border:1px solid var(--tpc-border);border-radius:10px}.tpc-stamp-palette button:hover{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-stamp-palette img{width:44px;height:44px;object-fit:contain}.tpc-stamp-palette span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpc-stamp-upload{min-height:70px}.tpc-stamp-empty{padding:12px;color:var(--tpc-muted);font-size:10px;text-align:center;background:var(--tpc-surface-soft);border:1px dashed var(--tpc-border-strong);border-radius:9px}.tpc-stamp-controls{display:grid;gap:10px;padding:10px;background:var(--tpc-surface-soft);border:1px solid var(--tpc-border);border-radius:10px}.tpc-stamp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tpc-stamp-actions .tpc-button{width:100%;min-width:0;padding-inline:10px}.tpc-char-counter{justify-self:end;color:var(--tpc-muted);font-size:10px}.tpc-editor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:4px 0 8px}.tpc-editor-actions .tpc-button{width:100%;min-width:0;padding-inline:8px}.tpc-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:11px 14px 16px;color:var(--tpc-muted);font-size:10px}.tpc-footer strong{color:var(--tpc-text)}.tpc-footer p{margin:3px 0 0}.tpc-toast-region{position:fixed;right:16px;bottom:16px;z-index:1000000;display:grid;gap:8px;width:min(340px,calc(100vw - 32px));pointer-events:none}.tpc-toast{padding:11px 13px;color:#fff;font-size:12px;font-weight:800;background:rgba(35,39,50,.94);border-radius:10px;box-shadow:0 12px 28px rgba(20,24,33,.22)}.tpc-toast.is-error{background:rgba(177,55,76,.96)}.tpc-landing-page{width:100%;max-width:none}.tpc-breadcrumb,.tpc-type-content{width:min(1180px,calc(100% - 28px));margin-inline:auto}.tpc-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px;color:#707687;font-size:12px}.tpc-type-content{margin-top:18px;margin-bottom:50px;padding:clamp(20px,3vw,42px);background:#fff;border:1px solid #e2e5eb;border-radius:20px;box-shadow:0 18px 55px rgba(30,35,48,.08)}.tpc-type-content header h1{margin:5px 0 12px;font-size:clamp(28px,4vw,48px);line-height:1.2}.tpc-type-content header p{max-width:850px}.tpc-type-kicker{color:#6555cc;font-size:11px;font-weight:900;letter-spacing:.14em}.tpc-type-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}.tpc-type-content-grid article,.tpc-howto,.tpc-faq,.tpc-type-links{padding:20px;background:#f8f9fb;border:1px solid #e5e8ee;border-radius:15px}.tpc-type-content h2{margin:0 0 10px;font-size:20px}.tpc-type-note{color:#767c8a;font-size:12px}.tpc-howto,.tpc-faq,.tpc-type-links{margin-top:16px}.tpc-faq details{padding:12px 0;border-bottom:1px solid #dde1e8}.tpc-faq details:last-child{border-bottom:0}.tpc-faq summary{font-weight:800;cursor:pointer}.tpc-type-links>div{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.tpc-type-links a{display:grid;place-items:center;min-height:39px;color:#4e5160;font-weight:900;text-decoration:none;background:#fff;border:1px solid #d9dde5;border-radius:9px}.tpc-type-links a[aria-current="page"]{color:#fff;background:#6555cc;border-color:#6555cc}@media (max-width:1180px){.tpc-workspace{grid-template-columns:minmax(0,1fr) 340px}.tpc-function-row{grid-template-columns:38px 30px 36px 52px 12px 62px}.tpc-type-links>div{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:920px){.tpc-app{margin:0;border-right:0;border-left:0}.tpc-hero{position:sticky;top:0;z-index:35}.tpc-workspace{display:block;padding:8px}.tpc-preview-column{display:block;margin-bottom:10px}.tpc-footer{padding-bottom:16px}.tpc-type-content-grid{grid-template-columns:1fr}}@media (max-width:620px){.tpc-hero{align-items:flex-start}.tpc-hero p{display:none}.tpc-field-grid-2,.tpc-field-grid-3{grid-template-columns:1fr}.tpc-profile-editor{grid-template-columns:86px minmax(0,1fr)}.tpc-icon-upload-preview{width:80px;height:80px}.tpc-theme-grid,.tpc-stamp-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-function-row{grid-template-columns:40px 34px 38px 54px 13px;grid-template-rows:auto auto auto}.tpc-function-buttons{grid-column: 2 / -1;grid-row:3;justify-self:end}.tpc-function-range{grid-column: 2 / -1;grid-row:2}.tpc-policy-row{grid-template-columns:minmax(0,1fr) 118px 34px}.tpc-editor-actions{grid-template-columns:1fr}.tpc-footer{grid-template-columns:1fr}.tpc-type-links>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:420px){.tpc-theme-grid,.tpc-stamp-palette{grid-template-columns:repeat(3,minmax(0,1fr))}.tpc-profile-editor{grid-template-columns:1fr}.tpc-icon-upload-preview{margin-inline:auto}.tpc-stamp-actions{grid-template-columns:1fr}}.tpc-app{--tpc-bg:#f4f5f8;--tpc-surface:#fff;--tpc-surface-soft:#f8f8fb;--tpc-border:#dfe2e8;--tpc-border-strong:#c8cdd7;--tpc-text:#243438;--tpc-muted:#697080;--tpc-accent:#6c5ce7;--tpc-accent-strong:#5142c9;--tpc-accent-soft:#eeebff;--tpc-danger:#c43b52;--tpc-success:#28875c;--tpc-shadow-sm:0 6px 18px rgba(31,35,48,.07);--tpc-shadow-lg:0 24px 70px rgba(31,35,48,.16);--tpc-radius-sm:10px;--tpc-radius:16px;--tpc-radius-lg:24px;--tpc-rail-width:356px;position:relative;width:100%;max-width:1920px;min-height:0;margin:8px auto 24px;padding:0;color:var(--tpc-text);font-size:15px;line-height:1.65;background:#f5f6f8;border:1px solid #e3e6eb;border-radius:0;box-shadow:none;isolation:isolate;overflow:visible}.tpc-app[data-tpc-ready="false"] .tpc-workspace{opacity:.65;pointer-events:none}.tpc-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 18px;background:#fff;border-bottom:1px solid #e6e8ec}.tpc-hero>div:first-child{max-width:760px}.tpc-hero h2{margin:0;color:var(--tpc-text);font-size:clamp(21px,2.5vw,31px);font-weight:800;line-height:1.3;letter-spacing:.015em}.tpc-hero p{display:block;max-width:760px;margin:7px 0 0;color:var(--tpc-muted);font-size:13px}.tpc-lang-switch,.tpc-language-switch{display:inline-flex;flex:0 0 auto;padding:4px;background:rgba(255,255,255,.82);border:1px solid var(--tpc-border);border-radius:999px;box-shadow:var(--tpc-shadow-sm);backdrop-filter:blur(12px)}.tpc-lang-switch button,.tpc-lang-button{min-width:0;min-height:38px;padding:7px 14px;color:var(--tpc-muted);font-size:13px;font-weight:700;background:transparent;border:0;border-radius:999px}.tpc-lang-switch button[aria-pressed="true"],.tpc-lang-button[aria-pressed="true"]{color:#fff;background:var(--tpc-accent)}.tpc-workspace{display:grid;grid-template-columns:minmax(0,1fr) var(--tpc-rail-width);grid-template-areas:"preview editor";align-items:stretch;gap:10px;min-height:0;padding:10px}.tpc-preview-column{grid-area:preview;min-width:0;align-self:stretch}.tpc-preview-sticky{position:sticky;top:8px;display:flex;flex-direction:column;width:100%;height:auto;min-height:0;padding:10px;background:rgba(255,255,255,.96);border:1px solid var(--tpc-border);border-radius:12px;box-shadow:0 14px 38px rgba(24,30,40,.10);backdrop-filter:blur(14px);overflow:visible}.tpc-canvas-shell{padding:8px;background:#eceef2;border:1px solid #e0e3e9;border-radius:8px}.tpc-canvas-shell canvas{box-shadow:0 12px 34px rgba(25,30,42,.14)}.tpc-output-panel{display:grid;gap:9px;width:auto;margin-top:10px;padding:10px;background:#fff;border:1px solid var(--tpc-border);border-radius:10px}.tpc-output-panel>label{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:8px;font-size:11px;font-weight:800}.tpc-output-panel select{min-height:36px;padding:5px 8px;border-radius:8px}.tpc-output-panel>.tpc-button-primary{width:100%;min-height:52px;font-size:16px;border-radius:14px}.tpc-share-grid{gap:8px}.tpc-share-grid .tpc-button{flex:1 1 160px}.tpc-share-note{font-size:11px}.tpc-editor{grid-area:editor;min-width:0;padding:0 4px 0 0;overflow:visible}.tpc-panel{margin:0 0 12px;background:rgba(255,255,255,.94);border:1px solid var(--tpc-border);border-radius:var(--tpc-radius);box-shadow:0 1px 0 rgba(255,255,255,.7) inset;overflow:clip}.tpc-panel[open]{box-shadow:var(--tpc-shadow-sm)}.tpc-panel>summary{display:flex;align-items:center;gap:11px;min-height:58px;padding:13px 18px;font-size:15px;font-weight:800}.tpc-panel>summary::after{display:grid;place-items:center;width:28px;height:28px;margin-left:auto;color:var(--tpc-muted);font-size:19px;font-weight:400;background:var(--tpc-surface-soft);border-radius:999px}.tpc-panel-number{width:28px;height:28px;color:var(--tpc-accent-strong);font-size:12px;background:var(--tpc-accent-soft);border-radius:9px}.tpc-panel-body{display:block;padding:4px 18px 22px;border-top:1px solid #edf0f4}.tpc-field{display:block;min-width:0;margin-top:16px}.tpc-field>label,.tpc-field-heading>label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;letter-spacing:.01em}.tpc-field-heading{align-items:flex-end}.tpc-field-grid{gap:12px}.tpc-app input[type="text"],.tpc-app input[type="number"],.tpc-app input[type="url"],.tpc-app select,.tpc-app textarea{min-height:44px;padding:8px 12px;border-radius:11px}.tpc-app textarea{min-height:92px;padding:11px 12px}.tpc-app input[type="color"]{height:44px;padding:4px;border-radius:11px}.tpc-field output{display:block;margin-top:2px;font-size:11px;text-align:right}.tpc-help{margin:6px 0 0;font-size:12px;line-height:1.6}.tpc-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:124px;min-height:40px;padding:8px 20px;font-size:13px;font-weight:700;line-height:1.2;border-radius:11px;white-space:normal}.tpc-button-primary{color:#fff;background:linear-gradient(135deg,var(--tpc-accent),var(--tpc-accent-strong));box-shadow:0 10px 26px rgba(81,66,201,.25)}.tpc-button-secondary{color:var(--tpc-text);background:var(--tpc-surface-soft);border:1px solid var(--tpc-border)}.tpc-button-x{color:#fff;background:#111218}.tpc-link-button{font-size:12px}.tpc-theme-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.tpc-theme-grid button,.tpc-theme-chip{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;min-height:0;padding:7px 3px;color:var(--tpc-muted);font-size:10px;font-weight:800;background:var(--tpc-surface-soft);border:1px solid var(--tpc-border);border-radius:10px;cursor:pointer}.tpc-theme-grid button[aria-pressed="true"],.tpc-theme-chip[aria-pressed="true"]{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:var(--tpc-accent);box-shadow:0 0 0 2px rgba(108,92,231,.10)}.tpc-theme-swatch{display:block;flex:0 0 14px;width:14px;height:14px;background:linear-gradient(135deg,var(--theme-a,#8f7be8),var(--theme-b,#c8b9ff));border:2px solid rgba(255,255,255,.94);border-radius:999px;box-shadow:0 0 0 1px rgba(30,31,40,.14) , 0 2px 5px rgba(30,31,40,.10)}.tpc-theme-name{display:block;line-height:1}.tpc-stamp-palette{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px}.tpc-stamp-palette button{min-height:88px;padding:8px 5px;font-size:10px;background:var(--tpc-surface-soft);border-radius:11px}.tpc-stamp-palette img{width:50px;height:50px}.tpc-stamp-upload{min-height:88px;margin-top:14px}.tpc-stamp-empty{margin-top:14px;padding:14px;font-size:12px;border-radius:11px}.tpc-stamp-controls{margin-top:14px;padding:14px;border-radius:12px}.tpc-stamp-controls .tpc-field:first-child{margin-top:0}.tpc-stamp-actions{gap:8px}.tpc-stamp-actions .tpc-button{padding-inline:12px}.tpc-editor-actions{gap:8px;padding:4px 0 12px}.tpc-footer{gap:14px;padding:12px 14px 18px;font-size:12px}@media (max-width:1180px){.tpc-app{--tpc-rail-width:330px}}@media (max-width:920px){.tpc-app{width:100%;min-height:0;margin:0;border-right:0;border-left:0}.tpc-hero{position:sticky;top:0;z-index:35}.tpc-workspace{display:block;min-height:0;padding:8px}.tpc-editor{max-height:none;padding:0;overflow:visible}.tpc-preview-column{display:block}.tpc-preview-sticky{position:static;top:auto}.tpc-footer{padding:10px 8px 16px}}@media (max-width:680px){.tpc-app{font-size:14px}.tpc-hero{align-items:flex-start}.tpc-hero h2{font-size:clamp(21px,7vw,30px)}.tpc-hero p{font-size:13px}.tpc-field-grid-2,.tpc-field-grid-3{grid-template-columns:1fr}.tpc-footer{grid-template-columns:1fr}}@media (max-width:480px){.tpc-hero{padding:10px 12px}.tpc-hero p{display:none}.tpc-lang-switch button{min-height:34px;padding:6px 10px;font-size:11px}.tpc-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-stamp-palette{grid-template-columns:repeat(3,minmax(0,1fr))}.tpc-stamp-actions,.tpc-editor-actions{grid-template-columns:1fr}}.tpc-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-theme-swatch{width:22px;height:22px;flex-basis:22px}.tpc-profile-input-layout{display:grid;grid-template-columns:minmax(136px,.88fr) minmax(0,1.12fr);align-items:start;gap:14px}.tpc-upload-card{padding:12px;margin-top:16px;background:var(--tpc-surface-soft);border:1px solid var(--tpc-border);border-radius:14px}.tpc-icon-upload-card{align-self:start;margin-top:8px}.tpc-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:102px;padding:14px 10px;text-align:center;background:#fff;border:1px dashed var(--tpc-border-strong);border-radius:12px;cursor:pointer;transition:background .15s ease , border-color .15s ease}.tpc-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.tpc-dropzone:hover,.tpc-dropzone.is-dragover{background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-icon-dropzone{min-height:108px}.tpc-icon-upload-preview{display:grid;place-items:center;width:62px;height:62px;margin:0 0 7px;color:var(--tpc-muted);font-size:28px;background-color:var(--tpc-surface-soft);background-position:center;background-size:cover;border:1px solid var(--tpc-border);overflow:hidden;transition:border-radius .18s ease}.tpc-icon-upload-preview[data-shape="circle"]{border-radius:50%}.tpc-icon-upload-preview[data-shape="rounded"]{border-radius:14px}.tpc-icon-upload-preview[data-shape="square"]{border-radius:4px}.tpc-icon-dropzone strong{font-size:11px;line-height:1.35}.tpc-icon-upload-card .tpc-field{margin-top:13px}.tpc-icon-upload-card .tpc-field>label{margin-bottom:6px;font-size:11px}.tpc-icon-position-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tpc-icon-position-grid .tpc-field{min-width:0}.tpc-icon-position-grid output,.tpc-icon-upload-card output{font-size:10px}.tpc-remove-icon-button,.tpc-text-button{padding:3px 0;color:var(--tpc-danger);font-size:12px;font-weight:700;background:transparent;border:0}.tpc-profile-fields{display:block;min-width:0}.tpc-profile-fields>.tpc-field:first-child{margin-top:8px}.tpc-profile-fields .tpc-field-grid{gap:10px}.tpc-contact-panel .tpc-panel-body{padding-top:18px}.tpc-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:17px 9px}.tpc-contact-field{min-width:0;margin-top:0}.tpc-contact-label{display:flex;align-items:center;gap:5px;width:100%;margin-bottom:7px;font-size:11px;font-weight:800;line-height:1.35}.tpc-contact-label img{display:block;flex:0 0 14px;width:14px;height:14px;object-fit:contain}.tpc-contact-label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpc-contact-other{grid-column: 1 / -1}.tpc-contact-other>label{margin-bottom:7px;font-size:11px}.tpc-input-prefix{display:flex;align-items:stretch;width:100%;padding:0;overflow:hidden;background:#fff;border:1px solid #dce0e6}.tpc-input-prefix>span{display:grid;place-items:center;flex:0 0 34px;min-width:34px;color:#6f7486;font-size:12px;font-weight:700;background:#fafbfe;border-right:1px solid #e3e6ec}.tpc-input-prefix input[type="text"]{flex:1 1 auto;min-width:0;width:100%;min-height:34px;padding:7px 9px;background:transparent;border:0;border-radius:0;box-shadow:none}.tpc-input-prefix:focus-within{border-color:var(--tpc-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--tpc-accent) 18%,transparent)}.tpc-input-prefix input[type="text"]:focus{outline:none;box-shadow:none}.tpc-field input[type="text"],.tpc-field input[type="url"],.tpc-field input[type="number"],.tpc-field select,.tpc-field textarea,.tpc-custom-policy-add input,.tpc-input-prefix{min-height:36px;font-size:12px;border-color:#dce0e6;border-radius:8px;box-shadow:none}.tpc-field input[type="text"],.tpc-field input[type="url"],.tpc-field input[type="number"],.tpc-field select,.tpc-custom-policy-add input{padding:7px 10px}@media (max-width:1180px){.tpc-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:680px){.tpc-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-profile-input-layout{grid-template-columns:minmax(130px,.9fr) minmax(0,1.1fr);gap:12px}.tpc-profile-input-layout .tpc-field-grid-2:not(.tpc-icon-position-grid) {grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:340px){.tpc-contact-grid{gap:15px 7px}.tpc-input-prefix>span{flex-basis:30px;min-width:30px}}@media (max-width:420px){.tpc-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-profile-input-layout{grid-template-columns:1fr}.tpc-icon-upload-card{margin-top:8px}}.tpc-contact-label{display:flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;text-align:left}.tpc-contact-label>img{display:block;flex:0 0 14px;width:14px;height:14px;margin:0;object-fit:contain}.tpc-contact-label>span{display:block;min-width:0}.tpc-contact-label{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;justify-content:start;column-gap:5px;width:100%;margin-bottom:7px;text-align:left}.tpc-contact-label>img{display:block;grid-column:1;width:14px;height:14px;margin:0;object-fit:contain}.tpc-contact-label>span{display:block;grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpc-field>label,.tpc-field>.tpc-field-label{font-size:11px;font-weight:800;color:#505867}.tpc-field>label,.tpc-field>.tpc-label,.tpc-output-row>label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;letter-spacing:.01em}.tpc-field>label.tpc-contact-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:5px;width:100%;min-width:0;margin:0 0 7px;color:#505867;font-size:11px;font-weight:800;line-height:1.35;letter-spacing:0;text-align:left}.tpc-field>label.tpc-contact-label>img{display:block;flex:0 0 14px;order:0;width:14px;height:14px;margin:0;object-fit:contain}.tpc-field>label.tpc-contact-label>span{display:block;flex:1 1 auto;order:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpc-functions-field{margin-top:16px}.tpc-function-intro{display:grid;grid-template-columns:minmax(0,1fr) 94px;align-items:end;gap:10px;margin-bottom:9px}.tpc-function-intro-copy{min-width:0}.tpc-function-intro-copy>label{display:block;margin:0 0 4px;color:var(--tpc-text);font-size:12px;font-weight:800;line-height:1.35;letter-spacing:.01em}.tpc-function-intro-copy>.tpc-help{margin:0;color:#697080;font-size:10px;line-height:1.45}.tpc-function-preset-button{display:flex;align-items:center;justify-content:center;width:94px;min-height:50px;padding:7px 8px;color:#5e6574;font-size:11px;font-weight:700;line-height:1.45;text-align:center;white-space:normal;background:#fff;border:1px solid #dce0e6;border-radius:9px}.tpc-function-preset-button:hover,.tpc-function-preset-button:focus-visible{color:var(--tpc-accent-strong);border-color:var(--tpc-accent)}.tpc-function-list{display:grid;gap:7px}.tpc-function-row{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto;align-items:stretch;gap:7px;min-height:69px;padding:9px 8px;background:#f8f9fb;border:1px solid #dce0e6;border-left:1px solid #dce0e6;border-radius:8px}.tpc-drag-handle{grid-column:1;grid-row:1;display:grid;place-items:center;align-self:stretch;width:26px;height:auto;min-height:48px;padding:0;color:#9ba1ad;font-size:12px;font-weight:700;line-height:1;background:transparent;border:0;border-radius:5px;cursor:grab;touch-action:none}.tpc-drag-handle:hover,.tpc-drag-handle:focus-visible{color:var(--function-color);background:#fff;outline:1px solid #e1e4ea}.tpc-drag-handle:active{cursor:grabbing}.tpc-function-main{grid-column:2;grid-row:1;display:grid;grid-template-rows:28px 16px;align-content:space-between;gap:7px;min-width:0}.tpc-function-top{display:grid;grid-template-columns:36px 27px 40px 11px minmax(50px,1fr);align-items:center;gap:5px;min-width:0}.tpc-function-code{color:var(--function-color);font-size:12px;font-weight:900;line-height:1;text-align:center}.tpc-app .tpc-function-color{width:25px!important;height:25px!important;min-height:25px!important;padding:2px!important;background:#fff;border:1px solid #cfd4dc;border-radius:6px;cursor:pointer}.tpc-app .tpc-function-value{width:40px!important;height:28px!important;min-height:28px!important;padding:3px 5px!important;color:#343946;font-size:11px;font-variant-numeric:tabular-nums;line-height:1;text-align:right;background:#fff;border:1px solid #cfd4dc;border-radius:5px;box-shadow:inset 0 1px 2px rgba(28,32,42,.04);appearance:textfield;-moz-appearance:textfield}.tpc-function-value::-webkit-inner-spin-button,.tpc-function-value::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.tpc-function-percent{color:#687080;font-size:10px;font-weight:700;line-height:1}.tpc-function-buttons{display:flex;grid-template-columns:none;justify-content:flex-end;gap:4px;min-width:0}.tpc-function-buttons button{display:grid;place-items:center;width:23px;height:23px;min-width:23px;padding:0;color:#526176;font-size:10px;font-weight:800;line-height:1;background:#fff;border:1px solid #d7dce4;border-radius:6px}.tpc-function-buttons button:hover:not(:disabled),
.tpc-function-buttons button:focus-visible:not(:disabled) {color:var(--function-color);border-color:var(--function-color)}.tpc-function-buttons button:disabled{color:#b7bdc8;background:#fafbfc;cursor:default;opacity:.6}.tpc-function-range{grid-column:auto;grid-row:auto;width:100%;height:14px;margin:0;padding:0;background:transparent;border:0;border-radius:999px;box-shadow:none;appearance:none;-webkit-appearance:none;accent-color:var(--function-color)!important;cursor:pointer}.tpc-function-range::-webkit-slider-runnable-track{height:5px;background: linear-gradient(
		to right,
		var(--function-color) 0,
		var(--function-color) var(--function-progress, 50%),
		#3f4145 var(--function-progress, 50%),
		#3f4145 100%
	);border:0;border-radius:999px}.tpc-function-range::-webkit-slider-thumb{width:12px;height:12px;margin-top:-3.5px;background:var(--function-color);border:0;border-radius:999px;box-shadow:none;appearance:none;-webkit-appearance:none}.tpc-function-range::-moz-range-track{height:5px;background:#3f4145;border:0;border-radius:999px}.tpc-function-range::-moz-range-progress{height:5px;background:var(--function-color);border:0;border-radius:999px}.tpc-function-range::-moz-range-thumb{width:12px;height:12px;background:var(--function-color);border:0;border-radius:999px;box-shadow:none}.tpc-function-placeholder{min-height:69px;background:color-mix(in srgb,var(--tpc-accent-soft) 76%,transparent);border:2px dashed var(--tpc-accent);border-radius:8px}.is-function-ghost.tpc-function-row{grid-template-columns:26px minmax(0,1fr);min-height:69px;padding:9px 8px;background:rgba(248,249,251,.98)}@media (max-width:420px){.tpc-function-intro{grid-template-columns:minmax(0,1fr) 92px;gap:8px}.tpc-function-preset-button{width:92px;font-size:10px}.tpc-function-row{grid-template-columns:24px minmax(0,1fr);gap:6px;padding:8px 7px}.tpc-function-top{grid-template-columns:31px 25px 38px 10px minmax(49px,1fr);gap:4px}}.tpc-stamp-item{position:relative;min-width:0}.tpc-stamp-item>.tpc-stamp-source-button{width:100%}.tpc-stamp-palette .tpc-custom-stamp-delete{position:absolute;top:5px;right:5px;z-index:2;display:grid;place-items:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;color:#c9465d;font-size:16px;font-weight:900;line-height:1;background:rgba(255,255,255,.96);border:1px solid #efc6ce;border-radius:999px;box-shadow:0 2px 7px rgba(48,28,34,.13)}.tpc-stamp-palette .tpc-custom-stamp-delete:hover,.tpc-stamp-palette .tpc-custom-stamp-delete:focus-visible{color:#fff;background:#c9465d;border-color:#c9465d;outline:none}.tpc-canvas-shell canvas{cursor:default}.tpc-stamp-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-stamp-undo-row{display:flex;justify-content:center;margin-top:10px}.tpc-stamp-undo-row[hidden]{display:none!important}.tpc-stamp-undo-button{width:100%;color:var(--tpc-accent-strong);background:#fff;border-color:var(--tpc-accent)}.tpc-stamp-undo-button:disabled{opacity:.45;cursor:not-allowed}.tpc-mobile-stamp-delete{display:none}.tpc-mobile-stamp-delete[hidden]{display:none!important}@media (max-width:920px){.tpc-stamp-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-mobile-stamp-delete:not([hidden]) {position:absolute;right:16px;bottom:16px;z-index:12;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:82px;min-height:42px;padding:8px 13px;color:#fff;font-size:12px;font-weight:900;background:rgba(197,55,78,.94);border:1px solid rgba(255,255,255,.72);border-radius:999px;box-shadow:0 8px 22px rgba(70,20,31,.24);backdrop-filter:blur(8px)}}@media (max-width:480px){.tpc-stamp-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.tpc-stamp-palette button{min-height:76px;padding-inline:2px}.tpc-stamp-palette img{width:42px;height:42px}}.tpc-preview-column{align-self:stretch}.tpc-preview-sticky{position:relative;top:auto;height:100%;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;overflow:visible}.tpc-canvas-shell{position:sticky;top:8px;z-index:10;padding:10px;background:#eceef2;border:1px solid var(--tpc-border);border-radius:12px;box-shadow:0 14px 38px rgba(24,30,40,.10)}.tpc-rendering{inset:10px;border-radius:8px}.tpc-editor>.tpc-output-panel{width:100%;margin:0 0 12px;padding:14px;box-shadow:var(--tpc-shadow-sm)}.tpc-panel>summary{position:relative}.tpc-panel-drag-handle{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-right:-4px;color:#7b8391;font-size:19px;font-weight:800;line-height:1;background:#f4f6f9;border:1px solid #e1e5eb;border-radius:8px;cursor:grab;touch-action:none;user-select:none}.tpc-panel-drag-handle:hover,.tpc-panel-drag-handle:focus-visible{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:color-mix(in srgb,var(--tpc-accent) 48%,#dfe3e9);outline:none}.tpc-panel-drag-handle:active{cursor:grabbing}.tpc-panel-placeholder{margin:0 0 12px;background:color-mix(in srgb,var(--tpc-accent-soft) 58%,#fff);border:2px dashed var(--tpc-accent);border-radius:var(--tpc-radius)}.tpc-panel-drag-ghost{position:fixed;z-index:1000010;display:flex;align-items:center;gap:11px;min-height:58px;padding:13px 18px;color:var(--tpc-text,#292d37);font-size:15px;font-weight:800;background:rgba(255,255,255,.98);border:1px solid var(--tpc-accent,#7a68d7);border-radius:var(--tpc-radius,14px);box-shadow:0 18px 44px rgba(24,30,40,.22);pointer-events:none;opacity:.96}.tpc-panel-drag-ghost::after{content:none!important}.tpc-panel-drag-ghost .tpc-panel-drag-handle{cursor:grabbing}.tpc-editor-actions{grid-template-columns:1fr;gap:8px;padding:4px 0 12px}.tpc-editor-action-item{display:grid;grid-template-columns:minmax(126px,.72fr) minmax(0,1.28fr);align-items:center;gap:10px;padding:10px;background:rgba(255,255,255,.9);border:1px solid var(--tpc-border);border-radius:10px}.tpc-editor-action-item>.tpc-button{width:100%;min-width:0;margin:0}.tpc-editor-action-item>small{display:block;margin:0;color:var(--tpc-muted);font-size:10px;font-weight:600;line-height:1.55}@media (max-width:920px){.tpc-preview-sticky{height:auto}}@media (max-width:480px){.tpc-editor-action-item{grid-template-columns:1fr;gap:7px}}@media (max-width:680px){.tpc-hero{align-items:center;gap:8px;min-height:0;padding:6px 10px}.tpc-hero>div:first-child{min-width:0;max-width:none}.tpc-hero h2{margin:0;font-size:15px;line-height:1.15;letter-spacing:-.02em}.tpc-hero p{display:none}.tpc-lang-switch,.tpc-language-switch{padding:2px}.tpc-lang-switch button,.tpc-language-switch button{min-width:38px;min-height:28px;padding:4px 7px;font-size:10px;line-height:1}}@media (max-width:420px){.tpc-hero{gap:6px;padding:5px 8px}.tpc-hero h2{font-size:14px}.tpc-lang-switch button,.tpc-language-switch button{min-width:35px;min-height:26px;padding:3px 6px;font-size:9px}}@media (orientation:landscape) and (max-height:500px) and (max-width:950px){.tpc-hero{align-items:center;gap:5px;min-height:0;padding:3px 8px}.tpc-hero>div:first-child{min-width:0;max-width:none}.tpc-hero h2{margin:0;font-size:12px;line-height:1;letter-spacing:-.015em}.tpc-hero p{display:none}.tpc-lang-switch,.tpc-language-switch{gap:1px;padding:1px}.tpc-lang-switch button,.tpc-language-switch button{min-width:30px;min-height:22px;padding:2px 5px;font-size:8px;line-height:1;border-radius:6px}}.tpc-app,.tpc-content-section{scroll-margin-top:20px}.tpc-nav-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;background:#fff;border-bottom:1px solid var(--tpc-border)}.tpc-nav-logo{display:inline-flex;flex:0 0 auto;align-items:baseline;gap:6px;color:var(--tpc-text);font-size:14px;font-weight:900;line-height:1.2;letter-spacing:-.02em;text-decoration:none}.tpc-nav-logo:hover,.tpc-nav-logo:focus-visible{color:var(--tpc-text)}.tpc-nav-links{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}.tpc-nav-links button,.tpc-nav-links a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;color:var(--tpc-muted);font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;background:transparent;border:0;border-radius:8px;cursor:pointer;transition:color .2s ease , background-color .2s ease}.tpc-nav-links button:hover,.tpc-nav-links button:focus-visible,.tpc-nav-links a:hover,.tpc-nav-links a:focus-visible{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);outline:none}html.tpc-guide-modal-open,html.tpc-guide-modal-open body{overflow:hidden}.tpc-app.is-guide-modal-open{z-index:99999}.tpc-guide-modal[hidden],.tpc-content-section[hidden]{display:none!important}.tpc-guide-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px}.tpc-guide-modal-backdrop{position:absolute;inset:0;background:rgba(23,25,34,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.tpc-guide-modal-dialog{position:relative;z-index:1;width:min(1040px,100%);max-height:min(88vh,900px);background:#fff;border:1px solid var(--tpc-border);border-radius:18px;box-shadow:0 30px 80px rgba(18,20,28,.28);overflow:hidden;outline:none}.tpc-guide-modal-scroll{max-height:min(88vh,900px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.tpc-guide-modal-close{position:absolute;top:14px;right:14px;z-index:4;display:grid;place-items:center;width:42px;height:42px;padding:0;color:var(--tpc-text);font-size:26px;font-weight:500;line-height:1;background:rgba(255,255,255,.94);border:1px solid var(--tpc-border);border-radius:50%;box-shadow:0 8px 22px rgba(28,32,44,.12);cursor:pointer}.tpc-guide-modal-close:hover,.tpc-guide-modal-close:focus-visible{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);outline:2px solid var(--tpc-accent);outline-offset:2px}.tpc-guide-content{padding:0;background:#fff}.tpc-content-section{width:100%;margin:0;padding:clamp(32px,5vw,64px);padding-top:clamp(58px,7vw,82px);background:#fff}.tpc-section-heading{max-width:760px;margin-bottom:28px;padding-right:42px}.tpc-section-kicker{display:block;margin-bottom:7px;color:var(--tpc-accent-strong);font-size:10px;font-weight:900;letter-spacing:.15em}.tpc-section-heading h2{margin:0 0 10px;color:var(--tpc-text);font-size:clamp(24px,3.2vw,36px);line-height:1.25;letter-spacing:-.035em}.tpc-section-heading p{margin:0;color:var(--tpc-muted);font-size:15px;line-height:1.8}.tpc-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tpc-feature-card{position:relative;min-height:190px;padding:24px 20px 20px;background:linear-gradient(145deg,#fff 0%,#faf8fb 100%);border:1px solid var(--tpc-border);border-radius:14px;overflow:hidden}.tpc-feature-card::after{content:"";position:absolute;right:-26px;bottom:-32px;width:92px;height:92px;background:var(--tpc-accent-soft);border-radius:50%;opacity:.8}.tpc-feature-number{display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px;margin-bottom:18px;color:var(--tpc-accent-strong);font-size:11px;font-weight:900;background:var(--tpc-accent-soft);border-radius:999px}.tpc-feature-card h3,.tpc-tip-list h3{margin:0 0 8px;color:var(--tpc-text);font-size:16px;line-height:1.45}.tpc-feature-card p,.tpc-tip-list p,.tpc-about-copy p,.tpc-faq-item p{margin:0;color:var(--tpc-muted);font-size:13px;line-height:1.8}.tpc-about-section{background:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--tpc-accent-soft) 30%,#fff) 100%)}.tpc-about-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:28px;align-items:start}.tpc-about-copy{display:grid;gap:14px}.tpc-about-copy p{font-size:14px}.tpc-about-note{padding:22px;background:#fff;border:1px solid var(--tpc-border);border-left:5px solid var(--tpc-accent);border-radius:12px;box-shadow:0 10px 25px rgba(28,32,44,.05)}.tpc-about-note strong{display:block;margin-bottom:10px;font-size:14px}.tpc-about-note ul{margin:0;padding-left:20px}.tpc-about-note li{margin-bottom:7px;color:var(--tpc-muted);font-size:12px;line-height:1.7}.tpc-tip-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.tpc-tip-list>li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:18px;background:#fff;border:1px solid var(--tpc-border);border-radius:12px}.tpc-tip-list>li>span{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;color:#fff;font-size:13px;font-weight:900;background:var(--tpc-accent-strong);border-radius:50%}.tpc-faq-list{display:grid;gap:10px}.tpc-faq-item{background:#fff;border:1px solid var(--tpc-border);border-radius:12px;overflow:hidden}.tpc-faq-item summary{position:relative;padding:18px 52px 18px 20px;color:var(--tpc-text);font-size:14px;font-weight:800;line-height:1.55;cursor:pointer;list-style:none}.tpc-faq-item summary::-webkit-details-marker{display:none}.tpc-faq-item summary::after{content:"+";position:absolute;top:50%;right:18px;width:24px;height:24px;color:var(--tpc-accent-strong);font-size:20px;font-weight:500;line-height:22px;text-align:center;transform:translateY(-50%)}.tpc-faq-item[open] summary{background:var(--tpc-accent-soft)}.tpc-faq-item[open] summary::after{content:"−"}.tpc-faq-item>div{padding:0 20px 20px}.tpc-back-to-tool{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:24px;padding:10px 18px;color:#fff;font-size:13px;font-weight:800;background:var(--tpc-accent-strong);border:0;border-radius:9px;text-decoration:none;cursor:pointer}.tpc-back-to-tool:hover,.tpc-back-to-tool:focus-visible{color:#fff;filter:brightness(1.08)}@media (max-width:900px){.tpc-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tpc-about-grid{grid-template-columns:1fr}}@media (max-width:680px){.tpc-nav-header{position:static;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}.tpc-nav-logo{font-size:12px}.tpc-nav-links{justify-content:flex-start;gap:2px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.tpc-nav-links button,.tpc-nav-links a{min-height:30px;padding:5px 8px;font-size:10px}.tpc-guide-modal{align-items:end;padding:10px}.tpc-guide-modal-dialog{width:100%;max-height:92vh;border-radius:18px 18px 10px 10px}.tpc-guide-modal-scroll{max-height:92vh}.tpc-guide-modal-close{top:10px;right:10px;width:40px;height:40px}.tpc-content-section{padding:62px 18px 26px}.tpc-section-heading{margin-bottom:22px;padding-right:30px}.tpc-section-heading h2{font-size:25px}.tpc-section-heading p{font-size:13px}.tpc-feature-grid,.tpc-tip-list{grid-template-columns:1fr}.tpc-feature-card{min-height:0;padding:20px 18px}.tpc-tip-list>li{grid-template-columns:36px minmax(0,1fr);padding:16px}.tpc-tip-list>li>span{width:34px;height:34px}.tpc-faq-item summary{padding:16px 46px 16px 16px;font-size:13px}.tpc-faq-item>div{padding:0 16px 16px}}@media (min-width:921px){.tpc-canvas-shell{width:min(90%);margin-inline:auto}}.tpc-icon-upload-preview{color:#fff;text-shadow:0 1px 4px rgba(20,24,36,.28)}.tpc-preview-save-panel{display:grid;gap:5px;width:min(90%);margin:10px auto 0}.tpc-preview-save-panel .tpc-button{width:100%;min-height:48px;font-size:15px;border-radius:12px}.tpc-editor-actions{grid-template-columns:1fr}.tpc-output-panel{margin-top:0}@media (min-width:921px){.tpc-preview-sticky{position:sticky;top:8px;height:fit-content}.tpc-canvas-shell{position:relative;top:auto}}.tpc-preview-save-panel{gap:14px;padding:16px 18px 14px;background:#f7fafb;border:1px solid #dbe4e7;border-radius:16px}.tpc-preview-save-panel .tpc-generate-image-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:88px;padding:18px 24px;color:#fff;font-size:clamp(20px,1.7vw,28px);font-weight:800;line-height:1.2;letter-spacing:.02em;background:#46757e;border:0;border-radius:18px;box-shadow:0 16px 36px rgba(53,91,99,.22)}.tpc-preview-save-panel .tpc-generate-image-button:hover{background:#3d6870;transform:translateY(-1px)}.tpc-preview-save-panel .tpc-generate-image-button:focus-visible{outline:3px solid rgba(70,117,126,.28);outline-offset:3px}.tpc-generate-image-icon{flex:0 0 auto;font-size:.92em;line-height:1}.tpc-preview-save-description{margin:0;color:#687b80;font-size:13px;line-height:1.7}@media (max-width:920px){.tpc-preview-save-panel{padding:12px;border-radius:12px}.tpc-preview-save-panel .tpc-generate-image-button{min-height:60px;padding:13px 18px;font-size:17px;border-radius:12px}.tpc-preview-save-description{font-size:11px}}.tpc-app{--tpc-bg:#f3f6f7;--tpc-surface:#fff;--tpc-surface-soft:#f7f9fa;--tpc-border:#dce5e7;--tpc-border-strong:#c7d4d7;--tpc-text:#243438;--tpc-muted:#66797d;--tpc-accent:#46757e;--tpc-accent-strong:#345b63;--tpc-accent-soft:#eaf2f3;--tpc-danger:#b84d58;--tpc-danger-soft:#fff1f2;--tpc-success:#2e7d62;--tpc-success-soft:#edf8f3;--tpc-info:#3c6f8b;--tpc-info-soft:#eef7fb;--tpc-shadow-sm:0 5px 18px rgba(32,58,64,.07);--tpc-shadow-md:0 18px 52px rgba(32,58,64,.12);width:min(1680px,calc(100% - 24px));margin:24px auto 40px;color:var(--tpc-text);font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.65;background:var(--tpc-bg);border:1px solid rgba(70,117,126,.14);border-radius:22px;box-shadow:var(--tpc-shadow-md);isolation:isolate;overflow:visible}.tpc-app [hidden],.tpc-content-section[hidden],.tpc-generate-message[hidden],.tpc-generated-result[hidden],.tpc-rendering[hidden]{display:none!important}.tpc-app :focus-visible{outline:3px solid rgba(70,117,126,.24);outline-offset:2px}.tpc-nav-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;background:#fff;border-bottom:1px solid var(--tpc-border);border-radius:inherit;border-bottom-right-radius:0;border-bottom-left-radius:0}.tpc-nav-logo{display:inline-flex;flex:0 0 auto;align-items:baseline;gap:6px;color:var(--tpc-text);font-size:14px;font-weight:900;line-height:1.2;letter-spacing:-.02em;text-decoration:none}.tpc-nav-links{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}.tpc-nav-links button,.tpc-nav-links a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;color:var(--tpc-muted);font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;background:transparent;border:0;border-radius:8px;transition:color .2s ease , background-color .2s ease}.tpc-nav-links button:hover,.tpc-nav-links button:focus-visible,.tpc-nav-links a:hover,.tpc-nav-links a:focus-visible{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);outline:none}.tpc-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:16px clamp(18px,3vw,34px);background:radial-gradient(circle at 92% 12%,rgba(70,117,126,.13),transparent 31%) , linear-gradient(135deg,#fff 0%,#f8fbfb 100%);border-bottom:1px solid var(--tpc-border)}.tpc-hero h2{margin:0;color:var(--tpc-text);font-size:clamp(21px,2.5vw,31px);font-weight:800;line-height:1.3;letter-spacing:.015em}.tpc-hero p{display:block;max-width:760px;margin:7px 0 0;color:var(--tpc-muted);font-size:13px}.tpc-workspace{display:grid;grid-template-columns:minmax(0,.92fr) minmax(390px,440px);align-items:start;gap:12px;min-height:0;padding:12px}.tpc-preview-column,.tpc-editor{min-width:0}.tpc-preview-column{align-self:stretch;overflow:visible}.tpc-preview-sticky{position:sticky;top:8px;display:grid;gap:10px;height:fit-content;padding:10px;background:rgba(255,255,255,.98);border:1px solid var(--tpc-border);border-radius:13px;box-shadow:var(--tpc-shadow-md)}.tpc-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(90%);margin-inline:auto;padding:2px 2px 0}.tpc-output-kicker{display:block;margin:0;color:var(--tpc-accent-strong);font-size:clamp(18px,2vw,26px);font-weight:900;line-height:1;letter-spacing:.14em}.tpc-output-status{flex:0 0 auto;padding:5px 9px;color:var(--tpc-muted);font-size:9px;font-weight:900;background:var(--tpc-surface-soft);border:1px solid var(--tpc-border);border-radius:999px}.tpc-output-status[data-state="processing"]{color:var(--tpc-info);background:var(--tpc-info-soft);border-color:rgba(60,111,139,.2)}.tpc-output-status[data-state="success"]{color:var(--tpc-success);background:var(--tpc-success-soft);border-color:rgba(46,125,98,.2)}.tpc-output-status[data-state="editing"]{color:#946722;background:#fff8e8;border-color:rgba(148,103,34,.2)}.tpc-output-status[data-state="error"]{color:var(--tpc-danger);background:var(--tpc-danger-soft);border-color:rgba(184,77,88,.2)}.tpc-canvas-shell{position:relative;top:auto;display:flex;align-items:center;justify-content:center;width:min(90%);min-height:0;margin-inline:auto;padding:8px;aspect-ratio: 16 / 9;background:linear-gradient(45deg,#e9edef 25%,transparent 25%,transparent 75%,#e9edef 75%) , linear-gradient(45deg,#e9edef 25%,#f7f9fa 25%,#f7f9fa 75%,#e9edef 75%);background-position:0 0 , 10px 10px;background-size:20px 20px;border:1px solid var(--tpc-border);border-radius:9px;overflow:hidden}.tpc-canvas-shell canvas{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 250px);background:#fff;box-shadow:0 12px 34px rgba(25,45,50,.16);touch-action:none;user-select:none}.tpc-rendering{position:absolute;inset:8px;z-index:20;display:grid;place-content:center;gap:10px;color:#fff;text-align:center;background:rgba(28,49,54,.78);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.tpc-rendering b{font-size:13px;font-weight:800}.tpc-spinner{display:block;width:38px;height:38px;margin:0 auto;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:tpc-generation-spin .8s linear infinite}@keyframes tpc-generation-spin {
	to { transform: rotate(360deg); }
}.tpc-preview-save-panel{display:grid;gap:8px;width:min(90%);margin:0 auto;padding:10px;background:var(--tpc-surface-soft);border:1px solid var(--tpc-border);border-radius:10px}.tpc-preview-save-panel .tpc-generate-image-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:10px 16px;color:#fff;font-size:13px;font-weight:800;line-height:1.2;letter-spacing:.015em;background:var(--tpc-accent);border:1px solid var(--tpc-accent);border-radius:10px;box-shadow:none;transition:background-color .18s ease , border-color .18s ease , transform .18s ease}.tpc-preview-save-panel .tpc-generate-image-button:hover:not(:disabled) {background:var(--tpc-accent-strong);border-color:var(--tpc-accent-strong);transform:translateY(-1px)}.tpc-preview-save-panel .tpc-generate-image-button:disabled{cursor:wait;opacity:.68;transform:none}.tpc-generate-image-icon{flex:0 0 auto;font-size:1em;line-height:1}.tpc-preview-save-description{margin:0;color:var(--tpc-muted);font-size:11px;line-height:1.65}.tpc-generate-message{padding:9px 11px;font-size:10px;font-weight:700;line-height:1.55;border:1px solid transparent;border-radius:8px}.tpc-generate-message.is-error{color:var(--tpc-danger);background:var(--tpc-danger-soft);border-color:rgba(184,77,88,.22)}.tpc-generate-message.is-info{color:var(--tpc-info);background:var(--tpc-info-soft);border-color:rgba(60,111,139,.2)}.tpc-generate-message.is-success{color:var(--tpc-success);background:var(--tpc-success-soft);border-color:rgba(46,125,98,.2)}.tpc-generated-result{width:100%}.tpc-result-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:7px}.tpc-result-actions .tpc-button{width:100%;min-height:42px;text-decoration:none}.tpc-editor{width:100%;max-width:none;min-width:0;margin:0;padding:0;justify-self:stretch}.tpc-panel{margin:0 0 10px;background:var(--tpc-surface);border:1px solid var(--tpc-border);border-radius:14px;box-shadow:var(--tpc-shadow-sm);overflow:clip}.tpc-panel>summary{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 14px;font-size:14px;font-weight:800;list-style:none;cursor:pointer;user-select:none}.tpc-panel>summary:hover{background:var(--tpc-surface-soft)}.tpc-panel>summary::after{margin-left:auto;color:var(--tpc-muted);font-size:22px;font-weight:400;line-height:1}.tpc-panel-number{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;color:#fff;font-size:11px;font-weight:900;background:var(--tpc-accent-strong);border-radius:9px}.tpc-panel-body{display:grid;gap:16px;padding:16px;border-top:1px solid #ebeff0}.tpc-field>label,.tpc-field>.tpc-field-label,.tpc-field>.tpc-label,.tpc-output-row>label{color:var(--tpc-text);font-size:12px;font-weight:800}.tpc-field input[type="text"],.tpc-field input[type="url"],.tpc-field input[type="number"],.tpc-field select,.tpc-field textarea,.tpc-custom-policy-add input,.tpc-input-prefix{min-height:36px;font-size:12px;background:#fff;border-color:#dce0e6;border-radius:8px;box-shadow:none;transition:border-color .18s ease , box-shadow .18s ease , background .18s ease}.tpc-field input:hover,.tpc-field select:hover,.tpc-field textarea:hover,.tpc-custom-policy-add input:hover{border-color:#aebfc2}.tpc-field input:focus,.tpc-field select:focus,.tpc-field textarea:focus,.tpc-custom-policy-add input:focus,.tpc-input-prefix:focus-within{border-color:var(--tpc-accent);box-shadow:0 0 0 4px rgba(70,117,126,.13)}.tpc-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;font-size:12px;font-weight:800;line-height:1.25;border-radius:10px;transition:transform .18s ease , background-color .18s ease , border-color .18s ease}.tpc-button-primary{color:#fff;background:var(--tpc-accent);border-color:var(--tpc-accent)}.tpc-button-primary:hover,.tpc-button-primary:focus-visible{color:#fff;background:var(--tpc-accent-strong);border-color:var(--tpc-accent-strong)}.tpc-button-secondary{color:var(--tpc-text);background:#fff;border:1px solid var(--tpc-border-strong)}.tpc-button-secondary:hover,.tpc-button-secondary:focus-visible{color:var(--tpc-accent-strong);background:var(--tpc-accent-soft);border-color:var(--tpc-accent)}.tpc-editor-actions,.tpc-output-panel{padding:12px;background:var(--tpc-surface);border:1px solid var(--tpc-border);border-radius:12px;box-shadow:var(--tpc-shadow-sm)}.tpc-segmented span{font-size:8px}@media (max-width:1180px){.tpc-workspace{grid-template-columns:minmax(0,1fr) minmax(350px,400px)}}@media (max-width:920px){.tpc-app{width:100%;margin:0;border-right:0;border-left:0;border-radius:0}.tpc-workspace{display:block;padding:8px}}@media (max-width:680px){.tpc-nav-header{position:static;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}.tpc-nav-logo{font-size:12px}.tpc-nav-links{justify-content:flex-start;gap:2px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.tpc-nav-links button,.tpc-nav-links a{min-height:30px;padding:5px 8px;font-size:10px}.tpc-hero{gap:10px;min-height:0;padding:8px 12px}.tpc-hero h2{font-size:18px}.tpc-hero p{margin-top:4px;font-size:11px}.tpc-preview-save-panel{padding:9px}.tpc-preview-save-description{font-size:10px}.tpc-result-actions{grid-template-columns:1fr}}@media (orientation:landscape) and (max-height:500px) and (max-width:950px){.tpc-hero{min-height:0;padding:3px 8px}.tpc-hero h2{font-size:12px;line-height:1}.tpc-hero p{display:none}}@media (min-width:921px){.tpc-workspace{grid-template-columns:minmax(0,1.15fr) minmax(360px,410px)}.tpc-preview-column{position:sticky;top:10px;align-self:start;max-height:calc(100vh - 20px);overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--tpc-border-strong) transparent}.tpc-preview-column::-webkit-scrollbar{width:7px}.tpc-preview-column::-webkit-scrollbar-thumb{background:var(--tpc-border-strong);border-radius:999px}.tpc-preview-sticky{position:static;top:auto;width:100%;min-height:min(780px,calc(100vh - 20px));padding:14px}.tpc-canvas-shell{min-height:360px}}@media (min-width:921px) and (max-width:1180px){.tpc-workspace{grid-template-columns:minmax(0,1fr) minmax(340px,380px)}.tpc-preview-sticky{min-height:min(680px,calc(100vh - 20px));padding:12px}.tpc-canvas-shell{min-height:300px}}.tpc-stamp-palette:empty{display:none}