:root{--ink:#16181d;--ink-2:#3b414b;--muted:#6b7280;--line:#e6e8ec;--line-2:#d5d9e0;--bg:#f4f5f7;--panel:#ffffff;--accent:#ff5a36;--accent-soft:#fff0ec;--danger:#e5484d;--ok:#30a46c;--radius:12px;--shadow:0 1px 2px rgba(16,24,40,0.06),0 4px 16px rgba(16,24,40,0.06)}*{box-sizing:border-box}body,html{margin:0;height:100%}body{background:var(--bg);color:var(--ink);font-family:Pretendard,system-ui,-apple-system,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}.btn-ghost,.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 16px;border-radius:10px;font-weight:700;white-space:nowrap;border:1px solid transparent;transition:background .15s,border-color .15s}.btn-primary{background:var(--ink);color:#fff}.btn-primary:hover:not(:disabled){background:#000}.btn-primary.big{height:48px;padding:0 28px;font-size:16px}.btn-ghost.full,.btn-primary.full{width:100%}.btn-ghost{background:#fff;border-color:var(--line-2)}.btn-ghost:hover:not(:disabled){border-color:var(--ink)}.btn-ghost.small{height:30px;padding:0 10px;font-size:13px;font-weight:600}.icon-btn{width:32px;height:32px;border-radius:8px;border:0;background:transparent;font-size:17px;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover:not(:disabled){background:var(--bg)}.link{border:0;background:none;color:var(--accent);font-weight:600;padding:0}.hint{color:var(--muted);font-size:12.5px;line-height:1.5;margin:6px 0 0}.hint.pad{padding:4px 16px 16px}.err{color:var(--danger);font-weight:600}.center-msg{height:100vh;display:grid;place-content:center;grid-gap:12px;gap:12px;text-align:center;color:var(--muted)}.brand{display:flex;align-items:center;gap:12px}.brand>div{display:flex;flex-direction:column}.brand strong{font-size:17px;letter-spacing:-.3px}.brand span{color:var(--muted);font-size:12.5px}.brand-mark{width:36px;height:36px;border-radius:10px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:900;font-size:17px}.home-head{position:-webkit-sticky;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:14px 32px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.home-main{max-width:1240px;margin:0 auto;padding:32px}.home-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px}.home-toolbar h1{font-size:24px;margin:0;letter-spacing:-.5px}.search{height:38px;width:260px;max-width:50vw;border:1px solid var(--line-2);border-radius:10px;padding:0 12px}.empty,.search{background:#fff}.empty{border:1px dashed var(--line-2);border-radius:20px;padding:64px 24px;text-align:center}.empty h2{margin:18px 0 6px;font-size:20px}.empty p{color:var(--muted);margin:0 0 22px}.empty-art{display:inline-flex;gap:6px;align-items:flex-end}.empty-art i{display:block;width:34px;border-radius:8px;background:var(--line)}.empty-art i:first-child{height:56px}.empty-art i:nth-child(2){height:76px;background:var(--accent)}.empty-art i:nth-child(3){height:44px}.doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));grid-gap:20px;gap:20px}.doc-card{position:relative;background:#fff;border-radius:16px;border:1px solid var(--line);overflow:hidden;transition:box-shadow .15s}.doc-card:hover{box-shadow:var(--shadow)}.doc-thumb{display:block;aspect-ratio:4/5;background:var(--bg);overflow:hidden}.doc-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.doc-thumb span{display:grid;place-items:center;height:100%;color:var(--muted);font-size:12px}.doc-info{padding:12px 14px 14px;display:flex;flex-direction:column;gap:3px}.doc-name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-meta{color:var(--muted);font-size:12px}.doc-del{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:8px;border:0;background:rgba(255,255,255,.9);opacity:0;transition:opacity .15s}.doc-card:hover .doc-del{opacity:1}.doc-confirm{position:absolute;inset:auto 8px 8px 8px;background:#fff;border:1px solid var(--line-2);border-radius:10px;padding:8px;display:flex;gap:6px;align-items:center;box-shadow:var(--shadow)}.doc-confirm span{flex:1 1;font-weight:600;font-size:13px}.doc-confirm button{border:1px solid var(--line-2);background:#fff;border-radius:6px;padding:4px 8px;font-size:12px}.doc-confirm .danger{background:var(--danger);border-color:var(--danger);color:#fff}.new-layout{max-width:1040px;margin:0 auto;padding:28px 32px 140px;display:grid;grid-template-columns:170px 1fr;grid-gap:32px;gap:32px}.step-nav{position:-webkit-sticky;position:sticky;top:90px;align-self:start;display:flex;flex-direction:column;gap:4px}.step-nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:var(--muted);font-weight:600}.step-nav a:hover{background:#fff;color:var(--ink)}.step-dot{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line-2);display:grid;place-items:center;font-size:11px;background:#fff}.new-form{display:flex;flex-direction:column;gap:18px;min-width:0}.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 28px;scroll-margin-top:90px}.form-card h2{font-size:19px;margin:0 0 6px;letter-spacing:-.4px;display:flex;align-items:center;gap:8px}.form-card h3{font-size:13.5px;margin:22px 0 10px;color:var(--ink-2)}.form-card .desc{color:var(--muted);margin:0 0 14px;line-height:1.55}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.req{font-size:11px;font-weight:700;color:var(--accent);background:var(--accent-soft);padding:2px 7px;border-radius:6px}.big-input input{width:100%;height:56px;border:1.5px solid var(--line-2);border-radius:12px;padding:0 18px;font-size:18px;font-weight:600;margin-top:10px;outline:none}.area:focus,.big-input input:focus,.field-text input:focus{border-color:var(--ink)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips button{height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line-2);background:#fff;font-weight:600}.chips.small button{height:32px;padding:0 12px;font-size:13px}.chips button.on{background:var(--ink);color:#fff;border-color:var(--ink)}.dropzone{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));grid-gap:10px;gap:10px;padding:12px;border:1.5px dashed var(--line-2);border-radius:14px;transition:background .15s}.dropzone.over{background:var(--accent-soft);border-color:var(--accent)}.photo-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--bg)}.photo-item img{width:100%;height:100%;object-fit:cover}.photo-badge{position:absolute;top:6px;left:6px;background:var(--ink);color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:6px}.photo-actions{position:absolute;inset:auto 0 0 0;display:flex;justify-content:space-between;padding:6px;opacity:0;transition:opacity .15s;background:linear-gradient(transparent,rgba(0,0,0,.45))}.photo-item:hover .photo-actions{opacity:1}.photo-actions button{width:26px;height:26px;border-radius:7px;border:0;background:#fff;font-size:12px}.photo-add{aspect-ratio:1;border-radius:10px;border:0;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px}.photo-add span{color:var(--muted);font-size:11.5px;text-align:center}.area{width:100%;border:1.5px solid var(--line-2);border-radius:12px;padding:14px 16px;resize:vertical;line-height:1.6;outline:none}.row-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-top:16px}.field-text{display:flex;flex-direction:column;gap:6px}.field-text>span{font-size:12.5px;font-weight:600;color:var(--ink-2)}.field-text input{height:40px;border:1.5px solid var(--line-2);border-radius:10px;padding:0 12px;outline:none}.option-list{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.option-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 6px 0 12px;border-radius:8px;background:var(--bg);font-weight:600}.option-chip button{border:0;background:transparent;width:22px;height:22px;border-radius:6px;font-size:11px;color:var(--muted)}.option-list form{flex:1 1;min-width:240px}.option-list input{width:100%;height:34px;border:1px dashed var(--line-2);border-radius:8px;padding:0 10px;outline:none}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px}.template-card{text-align:left;border:2px solid var(--line);border-radius:16px;padding:10px;background:#fff;display:flex;flex-direction:column;gap:10px;transition:border-color .15s}.template-card.on{border-color:var(--ink)}.template-info{display:flex;flex-direction:column;gap:3px;padding:0 4px 4px}.template-info strong{display:flex;justify-content:space-between;font-size:15px}.template-info span{color:var(--ink-2);font-size:12.5px}.template-info em{color:var(--muted);font-size:12px;font-style:normal}.check{width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:11px}.tthumb{height:190px;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line)}.tthumb .bar{display:block;height:7px;border-radius:4px;background:#c9ced6;margin-bottom:5px}.tthumb .bar.white{background:rgba(255,255,255,.9)}.tthumb .bar.dark{background:var(--ink);height:10px}.tthumb .bar.c{margin-left:auto;margin-right:auto}.tthumb .w30{width:30%}.tthumb .w40{width:40%}.tthumb .w50{width:50%}.tthumb .w60{width:60%}.tthumb .w70{width:70%}.tthumb .photo{background:linear-gradient(135deg,#b8c4d0,#8c9aaa)}.tthumb .photo.r{border-radius:8px}.tthumb .photo.round{width:60%;aspect-ratio:1;border-radius:50%;margin:auto}.tthumb .circle{width:70%;aspect-ratio:1;border-radius:50%;margin:2px auto;display:flex}.tthumb .strip{height:18px;margin:auto -8px -8px}.tthumb .card{background:#fff;border-radius:10px;padding:6px}.tthumb .card.row{display:flex;align-items:center;gap:6px}.tthumb .card.row .bar{margin:0}.tthumb .dot{width:16px;height:16px;border-radius:50%;display:block}.tthumb .num{display:block;font-style:normal;font-weight:900;font-size:26px;line-height:1;margin-bottom:4px}.color-picker{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.color-picker>button{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line-2)}.color-picker>button.on{box-shadow:0 0 0 2px var(--ink)}.hex-input{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-2);border-radius:10px;height:34px;padding:0 10px;margin-left:6px}.hex-input i{width:16px;height:16px;border-radius:4px}.hex-input input{border:0;outline:none;width:80px;font-family:ui-monospace,monospace}.new-footer{position:fixed;inset:auto 0 0 0;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--line)}.new-footer-inner{max-width:1040px;margin:0 auto;padding:14px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.gen-overlay{position:fixed;inset:0;background:rgba(22,24,29,.55);display:grid;place-items:center;z-index:50}.gen-box{background:#fff;border-radius:20px;padding:32px 36px;width:360px;text-align:center}.gen-box h3{margin:18px 0 16px}.gen-box ol{text-align:left;list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.gen-box li{color:var(--muted);padding-left:26px;position:relative}.gen-box li:before{content:"";position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;border:2px solid var(--line-2)}.gen-box li.now{color:var(--ink);font-weight:700}.gen-box li.now:before{border-color:var(--accent);border-top-color:transparent;animation:spin .8s linear infinite}.gen-box li.done{color:var(--ink)}.gen-box li.done:before{background:var(--ok);border-color:var(--ok)}.gen-spinner{width:44px;height:44px;margin:0 auto;border-radius:12px;background:var(--accent);animation:pulse 1.2s ease-in-out infinite}@keyframes spin{to{transform:rotate(1turn)}}@keyframes pulse{0%,to{transform:scale(.9) rotate(0)}50%{transform:scale(1) rotate(8deg)}}.editor{height:100vh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#fff;border-bottom:1px solid var(--line);gap:12px}.topbar-left,.topbar-mid,.topbar-right{display:flex;align-items:center;gap:6px}.topbar-left{min-width:0;flex:1 1}.topbar-right{flex:1 1;justify-content:flex-end}.brand-mini .brand-mark{width:32px;height:32px;font-size:15px}.doc-title{display:flex;flex-direction:column;min-width:0;margin-left:6px}.doc-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}.save-state{font-size:11.5px;color:var(--muted)}.save-state.s-saved{color:var(--ok)}.save-state.s-error{color:var(--danger)}.divider{width:1px;height:20px;background:var(--line);margin:0 4px}.zoom-val{width:44px;text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:13px}.editor-body{flex:1 1;display:grid;grid-template-columns:264px 1fr 280px;min-height:0}.left-panel{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.left-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);padding:6px 6px 0}.left-tabs button{border:0;background:none;height:38px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}.left-tabs button.on{color:var(--ink);border-color:var(--ink)}.left-body{overflow-y:auto;flex:1 1}.outline{padding:8px}.outline-row{display:flex;align-items:center;border-radius:8px}.outline-row.on,.outline-row:hover{background:var(--bg)}.outline-row.on{box-shadow:inset 2px 0 0 var(--accent)}.outline-name{flex:1 1;min-width:0;border:0;background:none;text-align:left;display:flex;align-items:center;gap:8px;height:36px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outline-num{font-size:11px;color:var(--muted);width:16px;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;flex:none}.outline-swatch{width:12px;height:12px;border-radius:3px;border:1px solid var(--line-2);flex:none}.outline-actions{display:flex;opacity:0}.outline-row.on .outline-actions,.outline-row:hover .outline-actions{opacity:1}.outline-actions button{border:0;background:none;width:24px;height:28px;border-radius:6px;color:var(--ink-2);font-size:12px}.outline-actions button:hover:not(:disabled){background:#fff}.block-grid{padding:12px;display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.block-grid .hint{grid-column:1/-1;padding:4px 2px}.block-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:600;font-size:13px}.block-card:hover{border-color:var(--ink)}.block-ico{width:56px;height:40px;border-radius:6px;background:var(--bg);position:relative;overflow:hidden}.block-ico:after,.block-ico:before{content:"";position:absolute;background:#c4cad3;border-radius:2px}.block-ico:before{left:14px;right:14px;top:8px;height:5px}.block-ico:after{left:18px;right:18px;top:17px;height:16px;border-radius:4px;background:var(--accent);opacity:.6}.block-ico.k-blank:after,.block-ico.k-blank:before{display:none}.block-ico.k-notice:after,.block-ico.k-spec:after{background:repeating-linear-gradient(#c4cad3 0 2px,transparent 2px 5px);opacity:1;left:10px;right:10px}.elements-tab,.photos-tab{padding:12px}.elements-tab h5{margin:6px 2px 8px;font-size:12px;color:var(--muted)}.preset-list{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.preset-list button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px}.preset-list button:hover,.shape-grid button:hover{border-color:var(--ink)}.shape-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:6px;gap:6px}.shape-grid button{aspect-ratio:1;border:1px solid var(--line);background:#fff;border-radius:10px;display:grid;place-items:center}.shape-grid i{display:block;background:var(--ink-2)}.s-rect,.s-round{width:24px;height:24px}.s-pill,.s-round{border-radius:7px}.s-pill{width:30px;height:14px}.s-circle{width:24px;height:24px;border-radius:50%}.s-tri{width:24px;height:22px;-webkit-clip-path:polygon(50% 0,100% 100%,0 100%);clip-path:polygon(50% 0,100% 100%,0 100%)}.s-star{width:26px;height:26px;-webkit-clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.s-line{width:28px;height:3px}.thumb-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px;margin-top:10px}.thumb-grid.small{grid-template-columns:repeat(4,1fr)}.thumb-grid button{aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:var(--bg)}.thumb-grid button.on{border-color:var(--accent)}.thumb-grid img{width:100%;height:100%;object-fit:cover;display:block}.canvas-scroll{overflow:auto;background:#e9ebef;padding:40px 48px 120px;min-width:0}.canvas-column{margin:0 auto;display:flex;flex-direction:column}.section-frame{position:relative;outline:1px solid transparent}.section-frame:hover{outline-color:rgba(255,90,54,.35)}.section-frame.is-active{outline:2px solid var(--accent);z-index:1}.section-tag{position:absolute;right:calc(100% + 8px);top:0;border:0;background:none;font-size:11.5px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:4px;padding:2px 4px;border-radius:6px;writing-mode:horizontal-tb}.section-frame.is-active .section-tag{color:var(--accent);font-weight:700}.section-tag-num{background:#fff;border-radius:5px;padding:0 5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.text-editor{position:absolute;z-index:5;margin:0;padding:0;border:0;outline:1px dashed var(--accent);background:transparent;resize:none;overflow:hidden;white-space:pre-wrap;word-break:keep-all}.props-panel{background:#fff;border-left:1px solid var(--line);overflow-y:auto}.panel-group{padding:16px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:10px}.panel-group header{display:flex;justify-content:space-between;align-items:center}.panel-group h4{margin:0;font-size:13px}.field-color,.field-num,.field-select{display:flex;flex-direction:column;gap:4px;position:relative;min-width:0}.field-color>span,.field-num>span,.field-range>span,.field-select>span{font-size:11.5px;color:var(--muted);font-weight:600}.field-num input,.field-select select{height:32px;border:1px solid var(--line-2);border-radius:8px;padding:0 8px;background:#fff;width:100%;min-width:0}.field-num em{position:absolute;right:8px;bottom:7px;font-style:normal;color:var(--muted);font-size:12px;pointer-events:none}.field-num input::-webkit-inner-spin-button{opacity:.5}.field-area{width:100%;border:1px solid var(--line-2);border-radius:8px;padding:8px;resize:vertical;line-height:1.5}.panel-group .field-text input{height:32px;border-width:1px;border-radius:8px}.row2{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.segmented{display:flex;background:var(--bg);border-radius:9px;padding:3px;gap:2px}.segmented button{flex:1 1;border:0;background:none;height:28px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}.segmented button.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}.toggle-row{display:flex;gap:6px}.toggle-row button{flex:1 1;height:30px;border:1px solid var(--line-2);border-radius:8px;background:#fff;font-size:12.5px}.toggle-row button.on{background:var(--ink);color:#fff;border-color:var(--ink)}.btn-row{display:flex;gap:4px;flex-wrap:wrap}.btn-row button{flex:1 1;height:30px;border:1px solid var(--line-2);border-radius:8px;background:#fff;font-size:12px;white-space:nowrap;padding:0 6px}.btn-row button:hover{border-color:var(--ink)}.btn-row .danger{color:var(--danger)}.swatch-btn{display:flex;align-items:center;gap:8px;height:32px;border:1px solid var(--line-2);border-radius:8px;background:#fff;padding:0 8px;font-family:ui-monospace,monospace;font-size:12px}.swatch-btn i{width:18px;height:18px;border-radius:5px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.color-pop{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;background:#fff;border:1px solid var(--line-2);border-radius:12px;box-shadow:var(--shadow);padding:10px}.palette{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:6px;gap:6px}.palette button{aspect-ratio:1;border-radius:6px;border:1px solid rgba(0,0,0,.1)}.palette button.on{outline:2px solid var(--ink);outline-offset:1px}.color-row{display:flex;gap:6px;margin-top:8px}.color-row input[type=color]{width:36px;padding:2px;background:#fff}.color-row .hex,.color-row input[type=color]{height:30px;border:1px solid var(--line-2);border-radius:6px}.color-row .hex{flex:1 1;min-width:0;padding:0 8px;font-family:ui-monospace,monospace}.modal-back{position:fixed;inset:0;background:rgba(22,24,29,.5);display:grid;place-items:center;z-index:100;padding:24px}.modal{background:#fff;border-radius:18px;width:420px;max-width:100%;max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden}.modal.wide{width:860px}.modal>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}.modal h3{margin:0;font-size:16px}.form-stack{padding:20px;display:flex;flex-direction:column;gap:12px}.font-sample{font-size:24px;padding:14px;background:var(--bg);border-radius:10px;text-align:center}.export-body{display:grid;grid-template-columns:260px 1fr;min-height:0;overflow:hidden}.export-pages{border-right:1px solid var(--line);overflow-y:auto;max-height:70vh}.export-pages-head{position:-webkit-sticky;position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid var(--line)}.export-pages ul{list-style:none;margin:0;padding:6px 8px}.export-pages label{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer}.export-pages label:hover{background:var(--bg)}.export-opts{padding:16px 20px 20px;overflow-y:auto;max-height:70vh;display:flex;flex-direction:column;gap:6px}.export-opts h5{margin:10px 0 4px;font-size:12.5px;color:var(--ink-2)}.market-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px}.market-grid button{border:1.5px solid var(--line);background:#fff;border-radius:10px;padding:10px;text-align:left;display:flex;flex-direction:column;gap:2px}.market-grid button.on{border-color:var(--ink);background:var(--bg)}.market-grid strong{font-size:12.5px}.market-grid span{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:4px}.market-grid input{width:64px;height:22px;border:1px solid var(--line-2);border-radius:5px;padding:0 4px}.field-range{display:flex;flex-direction:column;gap:4px;margin-top:6px}.notice-msg{background:var(--bg);border-radius:8px;padding:10px 12px;margin:6px 0 0;font-size:13px}.export-opts .btn-primary{margin-top:10px;height:44px}.preview-head{display:flex;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid var(--line)}.preview-head .hint{margin:0}.preview-stage{background:#e9ebef;padding:24px;display:flex;justify-content:center;overflow:hidden}.preview-device{background:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:var(--shadow)}.preview-stage.mobile .preview-device{width:390px;height:68vh;border-radius:28px;border:8px solid #16181d}.preview-stage.pc .preview-device{width:760px;height:68vh;border-radius:10px}.preview-bar{height:44px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 16px;font-weight:700;font-size:13px}.preview-scroll{overflow-y:auto;flex:1 1}.preview-stage.pc .preview-scroll{padding:0 calc((760px - 560px) / 2)}.preview-scroll img{display:block;width:100%}.shortcut-table{margin:12px 20px 20px;border-collapse:collapse}.shortcut-table td{padding:8px 0;border-bottom:1px solid var(--line)}.shortcut-table td:last-child{text-align:right}kbd{background:var(--bg);border:1px solid var(--line-2);border-radius:6px;padding:2px 7px;font-family:inherit;font-size:12px}@media (max-width:860px){.new-layout{grid-template-columns:1fr;padding:16px 16px 140px}.step-nav{display:none}.row-2,.template-grid{grid-template-columns:1fr}.home-head,.home-main{padding-left:16px;padding-right:16px}.new-footer-inner{padding:12px 16px}}.step-nav-title{font-size:12px;font-weight:700;color:var(--muted);margin:0 0 6px 10px}.step-nav a .step-label{flex:1 1}.step-nav a em{font-style:normal;font-size:11px;color:var(--muted);background:var(--line);border-radius:5px;padding:1px 6px}.step-nav a.skip{color:#a0a6b0}.step-nav a.done{color:var(--ink)}.step-nav a.done .step-dot{background:var(--ink);border-color:var(--ink);color:#fff}.opt{font-size:11px;font-weight:700;color:var(--muted);background:var(--bg);padding:2px 7px;border-radius:6px;margin-left:2px}.pf{display:flex;flex-direction:column;gap:6px;margin-top:14px}.pf-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.pf-head b{font-size:12.5px;color:var(--ink-2);font-weight:600}.pf input,.pf textarea{width:100%;border:1.5px solid var(--line-2);border-radius:10px;padding:10px 12px;outline:none;line-height:1.55;resize:vertical;background:#fff}.pf input{height:42px;padding:0 12px}.pf input:focus,.pf textarea:focus{border-color:var(--ink)}.count{font-size:11.5px;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.count.over{color:var(--accent);font-weight:700}.point-list{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.point-card{border:1px solid var(--line);border-radius:14px;padding:4px 16px 16px;background:#fcfcfd}.point-head{display:flex;justify-content:space-between;align-items:center;padding-top:12px}.point-head strong{font-size:13.5px}.mini-actions{display:flex;gap:2px}.mini-actions button{width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--ink-2);font-size:12px}.mini-actions button:hover:not(:disabled){background:var(--bg)}.inline-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2);cursor:pointer}.btn-ghost.dashed{border-style:dashed;color:var(--ink-2)}.step-rows{display:flex;flex-direction:column;gap:8px;margin:14px 0 10px}.step-row{display:flex;gap:8px;align-items:center}.step-row input{height:40px;border:1.5px solid var(--line-2);border-radius:10px;padding:0 12px;outline:none;width:180px}.step-row input.grow{flex:1 1;width:auto}.step-row input:focus{border-color:var(--ink)}.step-row button{width:30px;height:30px;border:0;background:none;border-radius:6px;color:var(--muted)}.step-num{width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}.row-2 .pf{margin-top:0}.head-left{display:flex;align-items:center;gap:28px}.main-nav{display:flex;gap:4px}.main-nav a{height:34px;padding:0 12px;border-radius:8px;display:inline-flex;align-items:center;font-weight:600;color:var(--muted)}.main-nav a:hover{background:var(--bg);color:var(--ink)}.main-nav a.on{background:var(--ink);color:#fff}.banner{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;padding:14px 16px;margin-bottom:18px;line-height:1.6}.banner strong{display:block;margin-bottom:2px}.banner code,.say{background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:1px 7px;font-weight:700;font-family:inherit;white-space:nowrap}.section-title{display:flex;align-items:baseline;gap:10px;margin:28px 0 12px}.section-title h2{font-size:17px;margin:0}.section-title span{color:var(--muted);font-size:13px}.draft-list{display:flex;flex-direction:column;gap:8px}.draft-row{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}.draft-row:hover{border-color:var(--ink-2)}.draft-row .noimg,.draft-row img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--bg);flex:none}.draft-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.draft-main span,.draft-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-main span{color:var(--muted);font-size:12.5px}.status{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;white-space:nowrap}.status.waiting{background:#fff4d6;color:#8a5a00}.status.done,.status.planned{background:#e3f6ec;color:#1d7a4b}.status.made{background:var(--bg);color:var(--muted)}.row-del{border:0;background:none;color:var(--muted);width:28px;height:28px;border-radius:6px}.row-del:hover{background:var(--bg);color:var(--danger)}.quick-card{border:2px solid var(--ink)}.quick-card textarea{min-height:120px}.quick-actions{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}.quick-actions .hint{margin:0;flex:1 1}.or-line{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12.5px;margin:4px 0}.or-line:after,.or-line:before{content:"";flex:1 1;height:1px;background:var(--line-2)}.plan-note{white-space:pre-wrap}.study-layout{max-width:1240px;margin:0 auto;padding:28px 32px 80px;display:grid;grid-template-columns:380px 1fr;grid-gap:28px;gap:28px;align-items:start}.study-form{position:-webkit-sticky;position:sticky;top:86px}.study-form .dropzone{grid-template-columns:repeat(3,1fr)}.study-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:14px;gap:14px}.study-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.study-card:hover{box-shadow:var(--shadow)}.study-thumb{height:150px;background:var(--bg);overflow:hidden}.study-thumb img{width:100%;object-fit:cover;object-position:top;display:block}.study-info{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px}.study-info strong{font-size:14.5px}.study-info p{margin:0;color:var(--ink-2);font-size:12.5px;line-height:1.5}.study-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tag{font-size:11.5px;background:var(--bg);border-radius:6px;padding:2px 8px;color:var(--ink-2)}.study-detail{max-width:1240px;margin:0 auto;padding:24px 32px 80px;display:grid;grid-template-columns:360px 1fr;grid-gap:28px;gap:28px;align-items:start}.study-images{position:-webkit-sticky;position:sticky;top:86px;max-height:calc(100vh - 110px);overflow-y:auto;border-radius:14px;border:1px solid var(--line);background:#fff}.study-images img{width:100%;display:block}.study-body h1{font-size:24px;margin:0 0 6px;letter-spacing:-.5px}.study-body .lead{font-size:15px;color:var(--ink-2);line-height:1.6;margin:0 0 18px}.flow-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--line)}.flow-table td,.flow-table th{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5;font-size:13px}.flow-table th{background:var(--bg);font-size:12px;color:var(--muted)}.flow-table td:first-child{font-weight:700;white-space:nowrap}.flow-table .num{color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;width:28px}.note-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-top:14px}.note-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}.note-box h3{margin:0 0 8px;font-size:14px}.note-box ul{margin:0;padding-left:18px;line-height:1.65;font-size:13.5px}.note-box.wide{grid-column:1/-1;border-color:var(--ink)}.memo-box{background:var(--bg);border-radius:10px;padding:10px 12px;font-size:13px;color:var(--ink-2);margin:10px 0 18px;white-space:pre-wrap}@media (max-width:960px){.study-detail,.study-layout{grid-template-columns:1fr;padding:16px}.study-form,.study-images{position:static;max-height:none}.note-grid{grid-template-columns:1fr}}.footer-btns{display:flex;gap:8px}.btn-ghost.big{height:48px;padding:0 22px;font-size:15px}.ai-btn{color:var(--accent);border-color:#ffc9bb}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:16px}.login-card{width:100%;max-width:360px;text-align:center}.login-card h2{justify-content:center}.login-card input{width:100%;height:48px;margin-top:8px;padding:0 14px;border:1.5px solid var(--line-2);border-radius:12px;background:#fff;font-size:15px;outline:none}.login-card input:focus{border-color:var(--ink)}.login-card input::placeholder{color:#a0a6b0}.login-card .btn-primary{height:48px;border-radius:12px;font-size:15px}.login-logo{width:44px;height:44px;margin:0 auto 12px;border-radius:12px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}.login-error{margin:8px 0 0;color:#e5484d;font-size:13px}