:root{font-family:-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1d1d1f;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}body{margin:0;min-width:320px;min-height:100vh;overscroll-behavior:none}button{font-family:inherit;cursor:pointer;border:none}button:focus-visible{outline:3px solid #007aff;outline-offset:2px}input:focus-visible{outline:none}body,html,#root{min-height:100%;height:auto}.app-shell{width:100%;height:100vh;height:100dvh;background:url(/wooden.jpg) center / cover;display:flex;justify-content:center;align-items:center}.step-scroll{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding:4px 28px 20px}.step-scroll:before,.step-scroll:after{content:"";flex:1 0 0}.step-scroll:after{flex-grow:2}.step-title:focus{outline:none}.card{background:#ffffffeb;width:80vw;max-width:1100px;height:90vh;border-radius:20px;display:flex;flex-direction:column;box-shadow:0 4px 20px #00000040}.form-group{display:flex;flex-direction:column;margin-bottom:16px}.form-label{font-size:14px;font-weight:600;margin-bottom:6px;color:#222}.form-input{padding:10px 14px;border:1px solid #bbb;border-radius:6px;font-size:15px;color:#222;background:#fff;outline:none;transition:border .2s ease}.form-input:focus{border:1px solid #333}.primary-btn{width:100%;padding:12px;font-size:16px;background:#1a1a1a;color:#fff;border:none;border-radius:6px;cursor:pointer;margin-top:20px;transition:background .2s ease}@media(hover:hover){.primary-btn:hover{background:#333}}.device-option{width:150px;padding:18px;border-radius:12px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease}@media(hover:hover){.device-option:hover{transform:scale(1.05)}}.summary-card{background:#0000000d;padding:14px 16px;border-radius:10px;margin-bottom:16px}.summary-title{font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:12px}.summary-row{display:flex;justify-content:space-between;font-size:14px;margin:4px 0}.summary-card{background:#0000000d;padding:18px 20px;border-radius:12px;margin-bottom:20px}.summary-title{font-weight:700;font-size:16px;display:flex;align-items:center;gap:10px;margin-bottom:12px}.summary-row{display:flex;justify-content:space-between;font-size:15px;margin:6px 0}.shell-header{padding:14px 28px 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.shell-title{grid-column:2;margin:0;font-size:26px;font-weight:700;letter-spacing:-.02em;color:#1d1d1f}.restart-btn{background:transparent;color:#6e6e73;font-size:15px;font-weight:600;padding:12px 14px;margin:-12px 0;border-radius:10px;min-height:44px;white-space:nowrap}.restart-btn:active{background:#0000000f;color:#1d1d1f}@media(hover:hover){.restart-btn:hover{background:#0000000f;color:#1d1d1f}}.progress{padding:8px 28px 4px}.progress-meta{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font-size:15px;font-weight:600;color:#6e6e73;margin-bottom:6px}.progress-meta>:last-child{text-align:right}.progress-track{display:flex;gap:6px}.progress-seg{flex:1;height:6px;border-radius:3px;background:#0000001a;transition:background .25s ease}.progress-seg.done{background:#32c773}.progress-seg.current{background:#007aff}.step{display:flex;flex-direction:column;min-width:0;color:#1d1d1f}.step-title{text-align:center;margin:4px 0 2px;font-size:26px;font-weight:700;letter-spacing:-.01em}.step-subtitle{text-align:center;margin:0 0 16px;font-size:16px;color:#6e6e73}.form-column{width:100%;max-width:560px;margin:0 auto;flex:1}.step-actions{max-width:560px;width:100%;margin:12px auto 0;display:flex;gap:12px}.primary-btn.large{background:#32c773;padding:16px 20px;font-size:20px;font-weight:600;border-radius:12px;min-height:56px;margin-top:0}@media(hover:hover){.primary-btn.large:hover{background:#2bb266}}.field{display:flex;flex-direction:column;margin-bottom:12px}.field-label{display:flex;justify-content:space-between;align-items:baseline;font-size:16px;font-weight:600;margin-bottom:6px;color:#1d1d1f}.field-optional{font-size:14px;font-weight:500;color:#6e6e73}.field-input{padding:13px 16px;font-size:18px;line-height:1.3;min-height:52px;border:1.5px solid #c7c7cc;border-radius:12px;color:#1d1d1f;background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease;-webkit-appearance:none;appearance:none}.field-required{color:#d70015}.field-input::placeholder{color:#6e6e73}.field-input:focus{border-color:#007aff;box-shadow:0 0 0 4px #007aff26}.field-input.invalid{border-color:#d70015;background:#fff7f7}.field-input.invalid:focus{box-shadow:0 0 0 4px #d7001526}.field-error{margin-top:8px;font-size:15px;font-weight:600;color:#d70015}.form-hint{font-size:15px;color:#6e6e73;margin:-6px 0 18px}.form-banner-error{background:#fff1f1;border:1.5px solid #ffb3b8;color:#b00020;font-size:16px;font-weight:600;padding:12px 16px;border-radius:12px;margin-bottom:12px}.form-column.wide,.step-actions.wide{max-width:900px}.step-actions{margin-top:auto;padding-top:12px}.secondary-btn{flex:1;min-height:56px;padding:14px 20px;font-size:18px;font-weight:600;border-radius:12px;border:1.5px solid #c7c7cc;background:#fff;color:#1d1d1f}.secondary-btn:active{background:#f5f5f7}@media(hover:hover){.secondary-btn:hover{background:#f5f5f7}}.primary-btn.large{flex:2}.primary-btn.large:disabled,.primary-btn.large[aria-disabled=true]{background:#d2d2d7;color:#8e8e93;cursor:not-allowed}.select-input{padding-right:52px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%236e6e73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center}.select-input.placeholder{color:#6e6e73}.textarea-input{resize:vertical;min-height:84px;line-height:1.45;font-family:inherit}.choice-grid{display:grid;gap:14px;margin-bottom:18px}.choice-grid.cols-1{grid-template-columns:1fr}.choice-grid.cols-2{grid-template-columns:repeat(2,1fr)}.choice-grid.cols-3{grid-template-columns:repeat(3,1fr)}.choice-grid.cols-4{grid-template-columns:repeat(4,1fr)}.choice-card{--accent: #32c773;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;padding:18px 12px;border-radius:16px;border:2px solid #d2d2d7;background:#fff;color:#1d1d1f;text-align:center;font-family:inherit;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;-webkit-user-select:none;user-select:none}.choice-card:active{transform:scale(.985)}.choice-card.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,#fff);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}.choice-card.invalid{border-color:#d70015}.choice-card-icon{color:#6e6e73;line-height:0;transition:color .15s ease}.choice-card.selected .choice-card-icon{color:var(--accent)}.choice-card-label{font-size:18px;font-weight:700}.choice-card-sub{font-size:14px;color:#6e6e73;line-height:1.3}.choice-card-price{font-size:16px;font-weight:700;color:#1e7f4d;margin-top:2px}.choice-card-price.muted{font-weight:400;color:#6e6e73}.choice-card-check{position:absolute;top:10px;right:10px;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center}.section-label{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;margin:4px 0 10px;color:#1d1d1f}.section-label .choice-card-icon{color:#32c773}.info-box{background:#0000000a;border:none;color:#3a3a3c;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.45;margin-bottom:18px}.toggle-row{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 16px;border-radius:14px;border:2px solid #d2d2d7;background:#fff;color:#1d1d1f;font-family:inherit;font-size:17px;font-weight:600;text-align:left;margin-bottom:18px}.toggle-row.selected{border-color:#32c773;background:#f0fbf5}.toggle-row-sub{display:block;font-size:14px;font-weight:500;color:#6e6e73}.toggle-switch{margin-left:auto;flex:none;width:52px;height:32px;border-radius:16px;background:#d2d2d7;position:relative;transition:background .2s ease}.toggle-switch:after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #00000040;transition:transform .2s ease}.toggle-row.selected .toggle-switch{background:#32c773}.toggle-row.selected .toggle-switch:after{transform:translate(20px)}.pattern-wrap{display:flex;justify-content:center;align-items:center;gap:36px;margin-bottom:12px}.pattern-grid{position:relative;width:216px;height:216px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;touch-action:none}.pattern-dot{width:61px;height:61px;border-radius:50%;border:2px solid #8e8e93;background:#f2f2f7;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;z-index:2;-webkit-user-select:none;user-select:none}.pattern-dot.active{background:#32c773;border-color:#32c773;color:#fff}.pattern-summary{min-width:170px;font-size:16px;color:#6e6e73}.pattern-summary b{display:block;font-size:22px;color:#1d1d1f;margin-top:4px}.link-btn{background:transparent;color:#007aff;font-size:16px;font-weight:600;padding:10px 4px;min-height:44px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-col{display:flex;flex-direction:column;gap:16px}.summary-card{background:#fff;border:1.5px solid #e5e5ea;margin-bottom:0}.summary-row{gap:16px}.summary-row.stacked{flex-direction:column;align-items:flex-start;gap:2px}.summary-row.stacked b{text-align:left;font-weight:400}.summary-row b{text-align:right;word-break:break-word}.success-box{box-sizing:border-box;background:#eafff3;border:2px solid #32c773;border-radius:14px;padding:28px 24px;text-align:center;font-size:18px;font-weight:600;color:#1e7f4d}.success-title{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}.success-box .order-no{margin-top:16px;font-size:20px;color:#1d1d1f}.success-box .order-no b{display:block;margin-top:4px;font-size:56px;line-height:1.1;letter-spacing:.02em;color:#1e7f4d}.summary-title .link-btn{margin-left:auto;padding:0;min-height:44px;font-size:15px}.success-box .muted{display:block;margin-top:12px;font-size:15px;font-weight:500;color:#6e6e73}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@media(max-width:900px){.summary-grid{grid-template-columns:1fr}}@media(max-width:700px){.app-shell{align-items:stretch}.card{width:100%;height:100%;max-width:none;border-radius:0}.step-scroll{padding:4px 16px 20px}.shell-header,.progress{padding-left:16px;padding-right:16px}.restart-btn{padding:12px 0 12px 8px;font-size:15px}.choice-grid.cols-3,.choice-grid.cols-4{grid-template-columns:1fr;gap:10px}.choice-grid.cols-3 .choice-card,.choice-grid.cols-4 .choice-card{display:grid;grid-template-columns:48px 1fr;grid-template-areas:"icon label" "icon sub";column-gap:16px;row-gap:2px;align-items:center;justify-items:start;min-height:84px;padding:12px 16px;text-align:left}.choice-grid.cols-3 .choice-card-icon,.choice-grid.cols-4 .choice-card-icon{grid-area:icon;justify-self:center}.choice-grid.cols-3 .choice-card-icon svg,.choice-grid.cols-4 .choice-card-icon svg{width:36px;height:36px}.choice-grid.cols-3 .choice-card-label,.choice-grid.cols-4 .choice-card-label{grid-area:label;align-self:end}.choice-grid.cols-3 .choice-card-sub,.choice-grid.cols-4 .choice-card-sub{grid-area:sub;align-self:start}.pattern-wrap{flex-direction:column;gap:16px}}.maker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.maker-chip{min-width:0;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;min-height:56px;padding:10px 12px;border-radius:14px;border:2px solid #d2d2d7;background:#fff;color:#1d1d1f;font-family:inherit;font-size:17px;font-weight:600}.maker-chip.selected{border-color:#1fa463;background:color-mix(in srgb,#1fa463 7%,#fff);box-shadow:0 0 0 4px color-mix(in srgb,#1fa463 18%,transparent)}.maker-chip.invalid{border-color:#d70015}@media(max-width:700px){.maker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.card{width:min(1100px,calc(100vw - 232px))}.app-shell{gap:12px}.side-nav{flex:none;width:96px;align-self:center;display:flex;justify-content:center}.side-nav button.nav-btn{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:96px;min-height:140px;margin:0;padding:16px 2px;border-radius:20px;font-size:15px;font-weight:700;line-height:1.2;white-space:normal;box-shadow:0 4px 16px #00000040}.side-nav button.nav-btn>span[aria-hidden=true]{order:-1;font-size:40px;line-height:1}@media(max-width:700px){.card{width:100%}.shell-title{font-size:20px}.side-nav{position:fixed;top:calc(10px + env(safe-area-inset-top,0px));width:auto;z-index:5}.side-nav.prev{left:12px}.side-nav.next{right:12px}.side-nav button.nav-btn{flex-direction:row;width:auto;max-width:128px;min-height:44px;padding:6px 14px;border-radius:12px;font-size:15px;line-height:1.1;box-shadow:none}.side-nav button.nav-btn>span[aria-hidden=true]{order:0;font-size:22px}}button,input,select,textarea,label{touch-action:manipulation}.step-scroll{overscroll-behavior:contain}html.kb-open .app-shell{position:fixed;top:0;left:0;right:0;height:var(--vvh);transform:translateY(var(--vvtop, 0px));align-items:stretch;padding:8px 0;box-sizing:border-box}html.kb-open .card{height:100%}@media(min-width:701px){html.kb-open .shell-header{display:none}}@media(max-width:700px){html.kb-open .app-shell{padding:0}}@media(min-width:701px)and (max-width:900px){.choice-grid.cols-4{grid-template-columns:repeat(2,1fr)}}
