:root { color-scheme:light; --ink:#17191b; --muted:#777b80; --line:#e2e3df; --paper:#f7f7f3; --accent:#1b1f21; }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body.solid-body { margin:0; padding:0; background:var(--paper); color:var(--ink); font-family:"DM Sans",-apple-system,BlinkMacSystemFont,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; }button,select,textarea,input { font:inherit; }
button { cursor:pointer; }button:disabled { cursor:wait;opacity:.6; }
:focus-visible { outline:3px solid #3b83a0; outline-offset:3px; }
[hidden] { display:none !important; }
.solid-header { height:70px; padding:0 26px; background:#181a1b; color:#fff; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:8px; position:sticky;top:0;z-index:20; }
.solid-header__back { justify-self:start; display:flex;align-items:center;gap:11px;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap; }
.solid-header__back:hover {opacity:.75;}
.solid-header__title { justify-self:center;text-align:center;font-size:16px;letter-spacing:-.025em;font-weight:700;white-space:nowrap; }
.solid-header__action,.solid-header__action-placeholder { justify-self:end; }
.solid-header__action { background:#fff;color:#141414;border:0;min-height:43px;padding:0 17px;border-radius:3px;font-weight:700;font-size:13px;white-space:nowrap; }
.solid-header__action:hover { background:#dfe8ec; }
.solid-header__action span {margin-left:9px;font-size:18px;}
.app-shell { max-width:1250px; margin:0 auto; padding:42px 28px 86px; }
.app-intro__index {color:#777;letter-spacing:.22em;font-size:11px;font-weight:800;}
.app-intro h1 {font-size:clamp(38px,5.5vw,74px);font-weight:700;letter-spacing:-.06em;line-height:1.08;margin:17px 0 15px;}
.app-intro p {color:#6f7476;font-size:15px;line-height:1.65;margin:0;max-width:600px;}
.tool-tabs { border-top:1px solid #222;border-bottom:1px solid var(--line); display:grid;grid-template-columns:repeat(3,1fr);margin:43px 0 26px; }
.tool-tab { min-height:67px;border:0;border-right:1px solid var(--line);background:none;color:#85898b;text-align:left;padding:17px 24px 16px;font-size:16px;font-weight:650;transition:color .15s,background .15s; }
.tool-tab:last-child {border-right:0;}
.tool-tab:hover {color:#222;background:#eeeeeb;}
.tool-tab.is-active {color:#121415;box-shadow:inset 0 -3px 0 #17191b;}
.tool-tab__index {font-size:10px;font-weight:700;letter-spacing:.1em;margin-right:13px;color:#aaa;vertical-align:2px;}
.editor-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,460px);gap:35px;align-items:start;}
.canvas-area { min-width:0; position:sticky;top:90px; }
.preview-head { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;font-size:11px;font-weight:700;letter-spacing:.16em;color:#858a8c; }
.preview-head label {display:flex;align-items:center;gap:10px;letter-spacing:0;font-size:12px;color:#707578;}
.preview-head select { min-height:34px; padding:5px 32px 5px 11px; border:1px solid #dcddda;border-radius:4px;color:#242627;background:#fff; }
.stage-wrap { min-height:560px; background:#e9e9e5;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:22px;border:1px solid #e4e4df; }
.stage-wrap canvas {display:block;width:auto;height:auto;max-width:100%;max-height:650px;box-shadow:0 9px 24px rgba(0,0,0,.12);cursor:grab;touch-action:none;}
.stage-wrap canvas.dragging {cursor:grabbing;}
.preview-foot { display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px;min-height:28px;color:#858889;font-size:11px; }
.drag-hint { margin-left:auto; }
.quiet-button {color:#292e30;background:none;border:0;text-decoration:underline;padding:4px 0;font-size:11px;}
.quiet-button span {font-size:16px;margin-left:3px;}
.settings-area { min-width:0; }
.tab-panel {min-height:300px;}
.settings-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:3px 0 8px;}
.mini-label {font-size:10px;letter-spacing:.2em;font-weight:750;color:#909497;}
.settings-heading h2 {font-size:29px;line-height:1.17;letter-spacing:-.04em;font-weight:650;margin:8px 0;}
.settings-subtitle {color:#797d7f;font-size:13px;line-height:1.7;margin:0 0 26px;}
.color-chip {width:42px;height:42px;border:3px solid white;outline:1px solid #d7d8d3;border-radius:50%;flex:none;}
.palette-group {margin-bottom:24px;}
.palette-group__head { display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px;}
.palette-group__head h3 {font-size:13px;font-weight:700;margin:0;}
.palette-group__head span {font-size:10px;letter-spacing:.11em;color:#a1a4a5;}
.swatch-grid {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;}
.swatch { min-height:44px; min-width:0;border:2px solid transparent;border-radius:3px;background:var(--swatch);position:relative;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04); }
.swatch:hover {transform:translateY(-2px);}
.swatch.is-selected {outline:2px solid #222;outline-offset:2px;}
.swatch__check {opacity:0;display:flex;align-items:center;justify-content:center;position:absolute;inset:0;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.8);font-size:19px;font-weight:900;}
.swatch.is-selected .swatch__check {opacity:1;}
.color-detail {display:flex;justify-content:space-between;align-items:center;gap:9px;padding:17px 0;border-top:1px solid var(--line);font-size:13px;}
.color-detail span {font-family:"IBM Plex Mono",monospace;font-size:13px;color:#777;}
.color-editor {border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;}
.color-editor summary {font-size:13px;font-weight:700;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;}
.color-editor summary::-webkit-details-marker {display:none;}
.color-editor[open] summary span {transform:rotate(45deg);}
.color-editor summary span {font-size:20px;font-weight:400;}
.color-editor__inside {padding-top:20px;}
.color-inputs {display:grid;grid-template-columns:1fr 1fr;gap:17px;}
.color-inputs label,.field-label {display:flex;flex-direction:column;gap:8px;font-size:12px;color:#515658;font-weight:650;}
.color-inputs input[type=color] {padding:3px;border:1px solid var(--line);height:43px;width:100%;background:#fff;border-radius:4px;cursor:pointer;}
.color-inputs input[type=text],.field-label input,.field-label select,.field-label textarea {border:1px solid #d5d7d3;background:#fff;border-radius:3px;min-height:43px;padding:10px 12px;color:#222;min-width:0;width:100%;}
.field-label textarea { resize:vertical;min-height:94px;line-height:1.5; }
.range-control {display:block;margin-top:23px;font-size:12px;font-weight:650;color:#515658;}
.range-control output {float:right;color:#8a8f91;font-family:"IBM Plex Mono",monospace;font-size:11px;}
.range-control input[type=range] {display:block;width:100%;margin:13px 0 0; accent-color:#222;cursor:pointer;}
.quote-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 20px;}
.quote-chip {min-height:45px;border:1px solid var(--line);border-radius:3px;background:#fff;text-align:left;padding:9px 11px;font-weight:650;font-size:11px;line-height:1.35;letter-spacing:.005em;}
.quote-chip:hover,.quote-chip.is-selected {border-color:#1e2325;background:#e8eced;}
.field-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px;align-items:start;}
fieldset {margin:0;min-width:0;}
.color-choice {border:0;padding:0;display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.color-choice legend {font-size:12px;font-weight:650;color:#515658;margin-bottom:12px;padding:0;}
.color-choice label {display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;}
.color-choice input {accent-color:#222;margin:0;}
.color-dot {width:17px;height:17px;border:1px solid #a1a1a1;border-radius:50%;}
.dot-white {background:#fff;}.dot-black {background:#111;border-color:#111;}
.color-choice--calendar {margin-top:22px;}
.segmented {border:0;padding:0;display:flex;flex-wrap:wrap;gap:9px;}
.segmented legend {font-size:12px;font-weight:650;margin-bottom:10px;padding:0;}
.segmented label {flex:1;min-width:0;cursor:pointer;}
.segmented input {position:absolute;opacity:0;width:1px;height:1px;}
.segmented span {display:block;padding:13px;text-align:center;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:750;}
.segmented input:checked+span {background:#1e2123;color:#fff;border-color:#1e2123;}
.segmented input:focus-visible+span {outline:3px solid #3b83a0;outline-offset:2px;}
.edit-hint {font-size:12px;color:#919598;line-height:1.5;margin:25px 0 15px;}
.outline-button {background:none;border:1px solid #c8cbcb;color:#303537;min-height:40px;padding:0 17px;border-radius:3px;font-weight:600;font-size:12px;}
.outline-button:hover {background:#eee;}
.bottom-content {max-width:1250px;margin:0 auto;padding:0 28px 38px;}
.ad-area {border-top:1px solid var(--line);padding-top:28px;min-height:110px;margin-top:18px;}
.ad-label {font-size:10px;letter-spacing:.18em;color:#a8abad;text-align:center;margin-bottom:12px;}
.seo-content {max-width:840px;padding:45px 0 62px;}
.seo-content h2 {font-size:clamp(25px,3vw,36px);margin:15px 0 24px;letter-spacing:-.04em;line-height:1.2;}
.seo-content p {font-size:14px;line-height:1.9;color:#656c70;margin:15px 0;}
.solid-footer {border-top:1px solid var(--line);padding:22px 0;display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:11px;color:#97999b;}
.solid-footer span {margin-right:auto;}
.solid-footer a {text-decoration:none;color:#52575a;}
.solid-footer a:hover {text-decoration:underline;}
.download-layout {max-width:1170px;margin:0 auto;padding:67px 28px 80px;}
.download-hero {margin-bottom:45px;}.download-hero h1 {font-size:clamp(39px,5vw,67px);font-weight:700;letter-spacing:-.06em;line-height:1.12;margin:12px 0;}.download-hero p {color:#797e80;line-height:1.6;}
.download-grid {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:58px;align-items:start;}
.download-preview {background:#e7e8e5;padding:28px;min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.download-canvas-wrap {width:100%;display:flex;justify-content:center;}
.download-canvas-wrap canvas {display:block;max-width:100%;max-height:640px;width:auto;height:auto;box-shadow:0 10px 24px rgba(0,0,0,.15);}
.download-size {font-size:11px;color:#626a6b;letter-spacing:.09em;margin-top:18px;}
.download-actions {padding-top:26px;}.download-actions h2 {font-size:27px;margin:0 0 12px;letter-spacing:-.04em;}.download-actions>p {color:#777e81;line-height:1.75;font-size:13px;}
.download-btn {width:100%;padding:18px 19px;background:#1f2425;color:#fff;display:flex;align-items:center;justify-content:space-between;border:1px solid #1f2425;font-weight:700;font-size:14px;margin-top:13px;}
.download-btn--secondary {background:transparent;color:#1f2425;}
.download-btn:hover {filter:brightness(1.18);}
.download-help {margin:20px 0;color:#7c8284;font-size:12px !important;}
.save-preview {display:block;max-width:100%;width:auto;max-height:160px;box-shadow:0 3px 8px rgba(0,0,0,.1);}
.secondary-link {display:inline-block;font-size:13px;margin-top:22px;text-decoration:underline;text-underline-offset:3px;}
.download-warning {background:#fff0d5;color:#754a05 !important;padding:13px;font-size:12px;}
@media(max-width:960px){.editor-grid {grid-template-columns:minmax(0,1fr) minmax(330px,390px);gap:22px;}.swatch-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;}.stage-wrap {min-height:520px;padding:14px;}.stage-wrap canvas {max-height:550px;}.tool-tab{padding-left:17px;}.download-grid{gap:25px;}}
@media(max-width:760px){.app-shell{padding:28px 18px 55px;}.app-intro h1{font-size:46px;}.editor-grid {grid-template-columns:1fr;}.canvas-area{position:static;}.stage-wrap{min-height:300px;padding:16px;}.stage-wrap canvas{max-height:490px;}.settings-area{padding-top:22px;}.swatch-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:9px;}.tool-tabs{margin:29px 0 18px;}.bottom-content{padding:0 18px 25px;}.download-grid{grid-template-columns:1fr;gap:19px;}.download-preview{min-height:320px;}.download-canvas-wrap canvas{max-height:480px;}.download-layout{padding:38px 18px 58px;}.download-actions{padding-top:15px;}}
@media(max-width:480px){.solid-header{height:62px;padding:0 11px;gap:3px;}.solid-header__back{font-size:12px;gap:4px;}.solid-header__back span{display:none;}.solid-header__title{font-size:12px;letter-spacing:-.035em;}.solid-header__action{padding:0 10px;font-size:11px;min-height:37px;}.solid-header__action span{font-size:14px;margin-left:3px;}.app-shell{padding:23px 13px 45px;}.app-intro__index{font-size:9px;}.app-intro h1{font-size:39px;}.app-intro p{font-size:13px;}.tool-tabs{margin:25px 0 13px;}.tool-tab{min-height:58px;padding:11px 8px;font-size:13px;text-align:center;}.tool-tab__index{display:block;margin:0 0 2px;font-size:9px;}.stage-wrap{padding:12px;min-height:280px;}.stage-wrap canvas{max-height:440px;}.preview-head{font-size:10px;}.preview-head select{font-size:11px;max-width:165px;}.settings-heading h2{font-size:27px;}.swatch-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;}.swatch{min-height:35px;}.quote-grid{gap:6px;}.quote-chip{font-size:10px;padding:9px;}.bottom-content{padding:0 13px 20px;}.seo-content{padding:30px 0;}.seo-content p{font-size:13px;}.download-layout{padding:30px 13px 48px;}.download-hero h1{font-size:39px;}.download-preview{padding:16px;}.download-canvas-wrap canvas{max-height:460px;}.download-actions h2{font-size:24px;}}
@media(max-width:350px){.solid-header__title{font-size:11px;}.solid-header__action{padding:0 7px;font-size:10px;}.swatch-grid{grid-template-columns:repeat(7,minmax(0,1fr));}.field-row{gap:10px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}.swatch:hover{transform:none;}}

/* Language switch and typography, shared by EN / JA / ES. */
.solid-language { display:flex; gap:7px; align-items:center; flex-wrap:wrap; margin:15px 0 0; }
.solid-language a { font-size:11px; font-weight:650; color:#777c7d; text-decoration:none; border:1px solid #d8dad8; border-radius:3px; padding:5px 9px; line-height:1.45; }
.solid-language a:hover { color:#161616; border-color:#888; }
.solid-language a[aria-current=page] { color:#fff; background:#202426; border-color:#202426; }
html:lang(ja) body.solid-body { font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,"DM Sans",sans-serif; }
html:lang(ja) .app-intro h1,html:lang(ja) .download-hero h1 { letter-spacing:-.065em; font-weight:700; }
html:lang(es) .solid-header__title { letter-spacing:-.03em; }
.download-hero .solid-language { margin:14px 0 19px; }
@media(max-width:480px){.solid-language { gap:5px; }.solid-language a { font-size:10px; padding:4px 7px; }}
