:root{--surface: #f4f5f0;--panel: #fbfcf8;--panel-strong: #ffffff;--ink: #1d1f1b;--muted: #6e7269;--faint: #a4a99f;--rule: #d9ddd4;--rule-strong: #c7ccc1;--accent: #2457e6;--accent-hover: #1948ca;--accent-soft: #e9eeff;--grid-line: rgba(61, 67, 57, .075);--danger: #b53c30;--radius: 12px;color-scheme:light;font-family:DM Sans,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;background:var(--surface)}body{margin:0;background:var(--surface);color:var(--ink);min-width:320px;text-rendering:optimizeLegibility}button,input{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}button{color:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.outline-app{min-height:100vh;padding:0 clamp(20px,4vw,64px)}.app-header{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--rule);animation:enter-down .46s cubic-bezier(.2,.8,.2,1) both}.brand,.header-link{color:var(--ink);text-decoration:none}.brand{justify-self:start;display:inline-flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-weight:700;letter-spacing:-.025em}.brand-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:var(--ink)}.brand-mark svg{width:22px;height:22px;fill:var(--surface)}.brand-mark .brand-cut{fill:var(--ink)}.product-title{display:flex;align-items:center;gap:12px;color:#4d514a;font-size:13px;font-weight:600}.header-rule{width:28px;height:1px;background:var(--rule-strong)}.local-badge{padding:3px 7px;border:1px solid var(--rule-strong);border-radius:999px;color:var(--muted);font-size:10px;line-height:1;letter-spacing:.06em;text-transform:uppercase}.header-link{justify-self:end;display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:600;transition:color .16s ease}.header-link:hover{color:var(--ink)}.header-link svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.6}.intro{width:min(1180px,100%);margin:0 auto;padding:clamp(44px,7vw,88px) 0 clamp(34px,5vw,58px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.7fr);gap:clamp(40px,7vw,112px);align-items:end}.eyebrow{margin:0 0 12px;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.intro h1{margin:0;max-width:720px;font-family:Manrope,sans-serif;font-size:clamp(42px,6.1vw,78px);font-weight:600;line-height:.99;letter-spacing:-.052em;animation:enter-up .62s 80ms cubic-bezier(.2,.8,.2,1) both}.intro-copy{max-width:450px;margin:0 0 5px;color:var(--muted);font-size:15px;line-height:1.65;animation:enter-up .62s .17s cubic-bezier(.2,.8,.2,1) both}.editor-shell{width:min(1280px,100%);min-height:640px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;overflow:hidden;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--panel);box-shadow:0 20px 60px #22281e14;animation:editor-enter .7s .18s cubic-bezier(.2,.8,.2,1) both}.workspace-column{min-width:0;display:grid;grid-template-rows:58px minmax(520px,1fr)}.workspace-toolbar{min-width:0;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--rule);background:var(--panel-strong)}.empty-summary{margin:0;color:var(--faint);font-size:12px;font-weight:500}.file-summary{min-width:0;display:flex;align-items:center;gap:9px;font-size:12px}.file-indicator{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#48a76c;box-shadow:0 0 0 3px #e6f4ea}.file-name{max-width:min(28vw,300px);overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.file-meta{color:var(--faint);white-space:nowrap}.toolbar-actions,.view-switch{display:flex;align-items:center}.toolbar-actions{gap:12px}.view-switch{padding:3px;border:1px solid var(--rule);border-radius:8px;background:var(--surface)}.view-button{width:28px;height:26px;padding:0;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;cursor:pointer}.view-button.is-active{background:var(--panel-strong);box-shadow:0 1px 3px #1e231a24}.view-button svg{width:16px;fill:none;stroke:#7c8177;stroke-width:1}.background-dot{width:13px;height:13px;border:1px solid var(--rule-strong);border-radius:50%}.light-dot{background:#fff}.dark-dot{background:#292c27;border-color:#292c27}.replace-button{padding:6px 0;border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:600;cursor:pointer}.replace-button:hover{color:var(--accent-hover)}.canvas-stage{position:relative;min-height:520px;overflow:hidden;display:grid;place-items:center;isolation:isolate;transition:background-color .22s ease}.canvas-stage:before{position:absolute;inset:0;z-index:-1;content:"";opacity:0;background-image:linear-gradient(45deg,var(--grid-line) 25%,transparent 25%),linear-gradient(-45deg,var(--grid-line) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--grid-line) 75%),linear-gradient(-45deg,transparent 75%,var(--grid-line) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;transition:opacity .22s ease}.canvas-stage.is-grid{background-color:#eef0ea}.canvas-stage.is-grid:before{opacity:1}.canvas-stage.is-light{background:#fff}.canvas-stage.is-dark{background:#252823}.drop-zone{width:calc(100% - clamp(40px,8vw,120px));height:calc(100% - clamp(40px,8vw,100px));min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1.5px dashed #b5baaf;border-radius:10px;background:#fbfcf8c7;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background-color .18s ease}.drop-zone:hover,.drop-zone.is-dragging{transform:translateY(-2px);border-color:var(--accent);background:#f9fafff0}.drop-zone.is-dragging{box-shadow:inset 0 0 0 3px var(--accent-soft)}.drop-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.drop-illustration{width:92px;margin-bottom:24px;display:block}.drop-illustration svg{display:block;width:100%;overflow:visible}.drop-shadow-shape{fill:#dce4ff}.drop-paper{fill:var(--panel-strong);stroke:var(--ink);stroke-linejoin:round;stroke-width:2}.drop-fold,.drop-art{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.drop-title{font-family:Manrope,sans-serif;font-size:18px;font-weight:600;letter-spacing:-.025em}.drop-copy{margin-top:7px;color:var(--muted);font-size:13px}.drop-copy strong{color:var(--accent);font-weight:600}.drop-limit{margin-top:30px;color:var(--faint);font-size:11px}.preview-wrap{width:100%;height:100%;min-height:520px;padding:clamp(42px,7vw,86px);display:grid;place-items:center}.preview-artboard{width:100%;height:100%;display:grid;place-items:center;animation:preview-in .42s cubic-bezier(.2,.8,.2,1) both}.preview-artboard svg{width:100%;height:100%;max-width:680px;max-height:500px;overflow:visible;filter:drop-shadow(0 18px 24px rgba(31,36,28,.12))}.processing{position:absolute;left:50%;bottom:22px;transform:translate(-50%);min-width:190px;padding:8px 12px;display:flex;align-items:center;gap:10px;border:1px solid var(--rule);border-radius:8px;background:#fffffff0;color:var(--muted);font-size:11px;box-shadow:0 8px 30px #1e231a1f}.processing-line{position:relative;width:36px;height:2px;overflow:hidden;background:var(--rule)}.processing-line:after{position:absolute;inset:0;content:"";background:var(--accent);transform:translate(-100%);animation:process .9s ease-in-out infinite}.inspector{min-width:0;padding:24px 22px 20px;display:flex;flex-direction:column;border-left:1px solid var(--rule);background:var(--panel-strong)}.inspector-heading{padding-bottom:22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rule)}.inspector-heading .eyebrow{margin-bottom:5px}.inspector-heading h2{margin:0;font-family:Manrope,sans-serif;font-size:21px;line-height:1.1;letter-spacing:-.03em}.toggle-control{position:relative;cursor:pointer}.toggle-control input{position:absolute;opacity:0}.toggle-control>span:first-of-type{width:36px;height:20px;display:block;border-radius:999px;background:#c9cdc4;transition:background-color .16s ease}.toggle-control>span:first-of-type:after{width:14px;height:14px;position:absolute;top:3px;left:3px;content:"";border-radius:50%;background:#fff;box-shadow:0 1px 3px #14191233;transition:transform .16s ease}.toggle-control input:checked+span{background:var(--accent)}.toggle-control input:checked+span:after{transform:translate(16px)}.control-group{padding:20px 0;border-bottom:1px solid var(--rule)}.control-group>label,.control-label label{color:#484c45;font-size:12px;font-weight:600}.control-label{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.control-label output{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.color-row{margin-top:12px;display:grid;grid-template-columns:42px 1fr;gap:9px}.color-swatch{width:42px;height:38px;padding:4px;border:1px solid var(--rule-strong);border-radius:7px;background:var(--panel);cursor:pointer}.color-swatch input{position:absolute;width:1px;height:1px;opacity:0}.color-swatch span{width:100%;height:100%;display:block;border-radius:4px;background:#1d1f1b}.hex-field{height:38px;display:flex;align-items:center;border:1px solid var(--rule-strong);border-radius:7px;background:var(--panel)}.hex-field span{padding-left:11px;color:var(--faint);font-size:12px}.hex-field input{width:100%;height:100%;padding:0 10px 0 2px;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.range{--value: 20%;width:100%;height:18px;margin:0;appearance:none;background:transparent;cursor:pointer}.range::-webkit-slider-runnable-track{height:3px;border-radius:999px;background:linear-gradient(to right,var(--accent) var(--value),#d7dbd2 var(--value))}.range::-moz-range-track{height:3px;border-radius:999px;background:#d7dbd2}.range::-moz-range-progress{height:3px;border-radius:999px;background:var(--accent)}.range::-webkit-slider-thumb{width:15px;height:15px;margin-top:-6px;appearance:none;border:3px solid var(--panel-strong);border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.range::-moz-range-thumb{width:10px;height:10px;border:3px solid var(--panel-strong);border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.control-help{margin:9px 0 0;color:var(--faint);font-size:10.5px;line-height:1.45}.outline-note{margin-top:18px;display:flex;gap:9px;color:var(--muted)}.outline-note svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:var(--accent);stroke-linecap:round;stroke-width:1.4}.outline-note p{margin:0;font-size:10.5px;line-height:1.45}.export-actions{margin-top:auto;padding-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.export-actions button{min-height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}.export-actions button:not(:disabled):active{transform:translateY(1px)}.export-actions button:disabled{cursor:not-allowed;opacity:.42}.export-actions svg{width:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.secondary-action{border:1px solid var(--rule-strong);background:var(--panel-strong)}.secondary-action:not(:disabled):hover{border-color:#aeb4a8;background:var(--surface)}.primary-action{border:1px solid var(--accent);background:var(--accent);color:#fff}.primary-action:not(:disabled):hover{border-color:var(--accent-hover);background:var(--accent-hover)}.app-footer{width:min(1280px,100%);margin:0 auto;padding:24px 0 34px;display:flex;justify-content:space-between;gap:20px;color:var(--faint);font-size:11px}.app-footer p{margin:0}.toast{position:fixed;left:50%;bottom:28px;z-index:20;padding:10px 14px;border:1px solid #30342e;border-radius:8px;background:#242722;color:#fff;font-size:12px;font-weight:500;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .18s ease,transform .18s ease}.toast.is-visible{opacity:1;transform:translate(-50%)}.toast.is-error{border-color:#8f2f27;background:var(--danger)}@keyframes enter-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes enter-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes editor-enter{0%{opacity:0;transform:translateY(24px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes preview-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes process{0%{transform:translate(-100%)}50%,to{transform:translate(100%)}}@media (max-width: 900px){.app-header{grid-template-columns:1fr auto}.product-title{display:none}.intro{grid-template-columns:1fr;gap:24px}.intro-copy{max-width:600px}.editor-shell{grid-template-columns:1fr}.inspector{border-top:1px solid var(--rule);border-left:0}.export-actions{margin-top:8px}}@media (max-width: 560px){.outline-app{padding:0 14px}.brand>span:last-child,.header-link span{display:none}.intro{padding-top:38px}.intro h1{font-size:clamp(38px,13vw,56px)}.editor-shell{border-radius:9px}.workspace-toolbar{padding:0 12px}.file-meta,.view-switch{display:none}.drop-zone{width:calc(100% - 28px);min-height:390px;padding:30px 20px;text-align:center}.preview-wrap{min-height:430px;padding:36px 24px}.app-footer{align-items:flex-start;flex-direction:column}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
