:root{font-family:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253748;background:#f3f5f7;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #62bcbd;outline-offset:3px}button{transition:background .18s,border-color .18s,transform .18s}button:disabled{opacity:.55;cursor:wait}button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:hover{filter:brightness(.98)}.app-header{height:88px;background:#fff;border-bottom:1px solid #e3e8ed;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.brand{display:flex;gap:14px;color:inherit;text-decoration:none;align-items:center}.brand-mark{width:39px;height:39px;display:grid;grid-template-columns:1fr 1fr;gap:4px;transform:rotate(-7deg)}.brand-mark i{border-radius:3px;background:#264858}.brand-mark i:first-child{background:#47a7a8}.brand-mark i:last-child{background:#92c9c6}.brand small{display:block;letter-spacing:1.8px;font-size:9px;color:#657884;font-weight:700;margin-bottom:5px}.brand strong{font-size:19px;letter-spacing:.5px}.header-actions{display:flex;align-items:center;gap:25px}.local-note{font-size:11px;color:#7d8c98;display:flex;gap:7px;align-items:center}.local-note span,.mini-dot{width:5px;height:5px;border-radius:50%;background:#529897;display:inline-block}.primary{border:0;background:#203c4e;color:#fff;display:inline-flex;align-items:center;gap:10px;padding:13px 21px;border-radius:9px;font-size:13px;font-weight:600;box-shadow:0 3px 7px #203c4e18}.primary:hover{background:#2d5166}.workspace{display:grid;grid-template-columns:326px minmax(0,1fr);min-height:calc(100vh - 88px);max-width:1900px;margin:auto}.sidebar{background:#fff;border-right:1px solid #e3e8ed;display:flex;flex-direction:column}.tabs{display:flex;border-bottom:1px solid #e8edf1;padding:0 20px;gap:12px;height:64px;align-items:stretch}.tab{background:none;border:0;border-bottom:2px solid transparent;padding:0 10px;color:#8896a1;font-size:13px;white-space:nowrap}.tab.active{border-bottom-color:#338e92;color:#24434d;font-weight:700}.tab span{font-size:9px;background:#ecf1f2;padding:2px 4px;border-radius:4px;margin-left:1px}.tab-panel{padding:25px 22px 22px}.tab-panel[hidden]{display:none}.section-head{display:flex;align-items:center;justify-content:space-between}h2{font-size:14px;margin:0;font-weight:650}.count{font-size:10px;color:#8998a2;font-variant-numeric:tabular-nums}.helper{font-size:11px;line-height:1.8;color:#87949e;margin:10px 0 20px}.upload-batch{border:1px dashed #b8cbd0;border-radius:9px;background:#f7fbfb;width:100%;padding:18px 8px 16px;display:flex;align-items:center;flex-direction:column;color:#385c69;gap:8px}.upload-batch svg{width:22px;height:22px;margin-bottom:2px}.upload-batch strong{font-size:12px;font-weight:600}.upload-batch span{font-size:9px;color:#859da5}.upload-batch.dragover{border-color:#318b90;background:#e4f3f1}.order-note{font-size:9px;line-height:1.7;color:#8a969f;margin:10px 0 19px}.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 9px}.slot{min-width:0}.slot.main-slot{grid-column:1/-1}.slot-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:10px;color:#6b7f8e;gap:2px}.slot-actions{display:flex;gap:2px}.slot-actions button{border:0;background:none;color:#91a0aa;padding:1px 3px;font-size:12px;border-radius:3px}.slot-actions button:hover{background:#e8eff2;color:#314e63}.slot-pick{position:relative;aspect-ratio:1.05;width:100%;display:flex;align-items:center;justify-content:center;border:1px solid #dfe6eb;background:#f3f6f8;border-radius:6px;overflow:hidden;padding:0}.slot-pick img{width:100%;height:100%;object-fit:contain;background:#24262a;pointer-events:none}.main-slot .slot-pick{height:88px;aspect-ratio:auto;justify-content:flex-start;gap:16px}.main-slot .slot-pick img{width:99px;object-fit:contain}.main-slot .slot-pick .main-description{font-size:10px;color:#7c8c99;text-align:left}.main-description strong{display:block;font-size:11px;color:#36505c;margin-bottom:6px}.slot-pick .plus{font-size:23px;font-weight:300;color:#a0b2bd}.slot.swap-selected .slot-pick{outline:3px solid #35959b;outline-offset:1px}.slot-pick:hover:after{content:'変更';position:absolute;inset:0;background:#1c344686;color:white;display:flex;align-items:center;justify-content:center;font-size:11px}.slot-pick.empty:hover:after{content:'追加'}.small-help{font-size:10px;color:#8797a3;line-height:1.9;margin:17px 0}.sub-actions{display:flex;justify-content:space-between;border-top:1px solid #e8edf1;padding-top:15px;gap:8px}.text-button{border:0;background:none;color:#567781;padding:3px 0;font-size:11px}.text-button:hover{color:#1b5968}.text-button.danger{color:#a88284;font-size:10px}.sidebar-footer{margin-top:auto;padding:15px 22px;border-top:1px solid #e8edf1;font-size:9px;display:flex;align-items:center;gap:7px;color:#96a3ac}.preview-area{padding:36px 42px 30px;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.6px;color:#8496a2}h1{font-size:25px;font-weight:600;letter-spacing:1.5px;margin:8px 0 0}.secondary{background:#fff;color:#647b89;border:1px solid #dfe7ed;border-radius:7px;padding:9px 12px;font-size:10px;display:inline-flex;align-items:center;gap:7px}.secondary svg{width:15px;height:15px}.artboard-top,.artboard-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#91a0aa;gap:12px}.artboard-top{margin-bottom:12px}.artboard-top>span:first-child{color:#566f7d;display:flex;gap:6px;align-items:center}.artboard-top b{font-weight:400;background:#e6ecf0;padding:2px 5px;border-radius:3px;margin-left:7px;font-size:9px}.live-dot{width:5px;height:5px;border-radius:50%;background:#50a39d}.canvas-shell{background:#1c2631;border-radius:10px;overflow:hidden;box-shadow:0 14px 35px #2b46571c;border:1px solid #1b2630}#board{display:block;width:100%;height:auto}.artboard-bottom{margin-top:13px;font-size:9px}#active-style{color:#667d8c}.design-strip-heading{display:flex;align-items:center;justify-content:space-between;margin:34px 0 16px}.design-strip-heading h2{font-size:12px}.design-strip-heading button{font-size:10px}.quick-designs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.quick-design{padding:0;border:0;background:transparent;text-align:left;min-width:0}.quick-design canvas{display:block;width:100%;height:auto;border-radius:6px;border:2px solid transparent;padding:2px}.quick-design.active canvas{border-color:#4b969a}.quick-design span{font-size:9px;color:#8396a2;display:block;margin:6px 0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-design.active span{color:#315b69;font-weight:600}.info-strip{display:flex;gap:11px;align-items:flex-start;margin-top:28px;border-top:1px solid #e0e7ec;padding-top:18px;color:#8b9ca8}.info-icon{border:1px solid #b4c4cc;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:10px;flex-shrink:0;margin-top:2px}.info-strip p{font-size:10px;line-height:1.8;margin:0}.info-strip strong{font-weight:500;color:#597889}.filters{display:flex;gap:6px;margin:0 0 18px}.filters button{border:1px solid #e0e7ec;background:#fff;color:#8998a3;padding:6px 11px;font-size:10px;border-radius:20px}.filters .active{background:#e9f3f2;color:#39767e;border-color:#cde3e1}.design-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px}.design-card{border:0;background:none;padding:0;text-align:left;position:relative}.design-card canvas{display:block;width:100%;height:auto;border-radius:6px;border:2px solid transparent;padding:2px}.design-card.active canvas{border-color:#48989b}.design-card strong{font-weight:500;font-size:10px;color:#677f8c;display:block;margin-top:5px}.design-card small{font-size:8px;color:#99a7b0;display:block;margin-top:3px}.design-card.active:after{content:'✓';position:absolute;right:6px;top:6px;background:#438a91;color:white;border-radius:50%;font-size:10px;width:16px;height:16px;display:grid;place-items:center}.field{display:block;font-size:11px;color:#65808d;margin-top:24px}.field input{display:block;width:100%;border:1px solid #dce5eb;background:#fbfcfd;padding:11px 12px;border-radius:6px;margin-top:9px;font-size:12px;color:#34505e}.field .optional{font-size:9px;color:#acb6bd;margin-left:6px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.setting-row strong{font-size:11px;font-weight:500;color:#486372}.setting-row small{display:block;font-size:9px;margin-top:6px;color:#98a6af}.setting-row input{accent-color:#418e93;width:17px;height:17px;cursor:pointer}.output-card{background:#f2f7f8;border:1px solid #e4edef;border-radius:8px;padding:17px;margin-top:28px}.output-card>span{font-size:10px;color:#79919a}.output-card strong{display:block;font-size:24px;letter-spacing:.6px;color:#385767;margin-top:9px;font-weight:500}.output-card small{font-size:12px;color:#91a4ae}.output-card p{font-size:9px;color:#8c9ea9;margin:9px 0 0}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#244452;color:white;padding:13px 20px;border-radius:9px;box-shadow:0 4px 20px #193c4633;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:0;padding:18px;border-radius:12px;background:#f5f7f9;width:min(96vw,1600px);max-width:none;max-height:95vh}dialog::backdrop{background:#122130b3;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;font-size:12px;color:#5d7888}#large-board{display:block;width:100%;height:auto;border-radius:6px;max-height:80vh;object-fit:contain}@media(min-width:1600px){.preview-area{padding:40px 60px}.workspace{grid-template-columns:350px minmax(0,1fr)}.tab-panel{padding:28px}.sidebar-footer{padding-left:28px}}@media(max-width:1100px){.app-header{padding:0 22px}.local-note{display:none}.workspace{grid-template-columns:290px minmax(0,1fr)}.sidebar .tab-panel{padding:22px 18px}.preview-area{padding:30px 24px}.quick-designs{grid-template-columns:repeat(3,1fr)}.quick-design canvas{max-height:80px}h1{font-size:22px}.tabs{padding:0 10px;gap:6px}}@media(max-width:760px){.app-header{height:76px;padding:0 16px}.brand{gap:9px}.brand-mark{width:27px;height:27px;gap:3px}.brand small{font-size:7px;letter-spacing:1px}.brand strong{font-size:14px}.primary{font-size:11px;padding:11px 13px;gap:6px}.primary svg{width:16px}.workspace{display:flex;flex-direction:column}.preview-area{order:0;padding:24px 16px 15px}.sidebar{order:1;border-right:0;border-top:1px solid #e1e8ec}.preview-heading{margin-bottom:20px}h1{font-size:22px}.eyebrow{font-size:8px}.artboard-bottom{font-size:8px}.quick-designs{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.quick-design span{font-size:8px}.quick-design canvas{padding:1px}.design-strip-heading{margin-top:25px;margin-bottom:12px}.info-strip{display:none}.tabs{padding:0 20px;gap:20px;height:58px}.tab{flex:1}.sidebar .tab-panel{padding:22px}.slots{gap:14px}.main-slot .slot-pick{height:100px}.slot-pick{max-height:155px}.slot-head{font-size:11px}.design-grid{grid-template-columns:repeat(3,1fr)}.design-card strong{font-size:9px}.small-help,.order-note{font-size:10px}.preview-area .secondary{font-size:9px;padding:8px}.canvas-shell{border-radius:6px}.sidebar-footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.slot-head>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot-actions{flex-shrink:0}
@media(min-width:761px){.app-header{position:sticky;top:0;z-index:5}.sidebar{height:calc(100dvh - 88px);position:sticky;top:88px}.tabs,.sidebar-footer{flex-shrink:0}.tab-panel{flex:1;overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#cad6dd transparent}}
.filters{flex-wrap:wrap;gap:5px;margin-bottom:12px}.filters button{padding:6px 10px}.type-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:21px;padding-bottom:16px;border-bottom:1px solid #e7ecef}.type-filters button{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1e6ea;border-radius:5px;background:#fff;padding:6px 8px;color:#71838e;font-size:10px}.type-filters button:before{content:'';width:7px;height:7px;background:var(--type-color);border-radius:2px}.type-filters button.active{border-color:var(--type-color);background:color-mix(in srgb,var(--type-color) 10%,white);color:#354d5c;font-weight:650}.quick-design,.design-card{position:relative}.design-type-dot{position:absolute;left:7px;top:7px;width:7px;height:7px;border-radius:2px;box-shadow:0 0 0 1px #ffffff70}.quick-design>.design-type-dot{display:none}.type-design strong{letter-spacing:-.15px}.design-card small{line-height:1.6}.design-grid{align-items:start}
.field textarea{display:block;width:100%;border:1px solid #dce5eb;background:#fbfcfd;padding:11px 12px;border-radius:6px;margin-top:9px;font:inherit;font-size:12px;line-height:1.8;color:#34505e;resize:vertical;min-height:78px}.field textarea:focus-visible{outline:3px solid #62bcbd;outline-offset:3px}.name-read-status{font-size:10px;line-height:1.8;color:#65858a;margin:13px 0}.name-read-status.reading{color:#3a838c}.name-read-status.reading:before{content:'';display:inline-block;width:8px;height:8px;border:1.5px solid #b8d4d8;border-top-color:#3a838c;border-radius:50%;margin-right:6px;animation:name-reading 1s linear infinite}.read-name-button{margin-top:14px;width:100%;justify-content:center}.auto-name-row{margin-top:20px}@keyframes name-reading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.name-read-status.reading:before{animation:none}}
