@font-face{font-family:Manrope;src:url('/vendor/manrope-cyrillic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;src:url('/vendor/manrope-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('/vendor/manrope-cyrillic-600-normal.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;src:url('/vendor/manrope-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url('/vendor/manrope-cyrillic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;src:url('/vendor/manrope-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--bg:#f7f7f2;--panel:#fff;--ink:#25372e;--muted:#68726c;--line:#dee3dc;--accent:#285442;--on-accent:#fff;--soft:#eaf0e5;--stage:#e9ece6;--input:#fff;--danger:#a2372d;--warning:#875417;--shadow:0 16px 38px -18px #263e3c55;color-scheme:light;font-family:Manrope, sans-serif;font-synthesis:none;font-size:14px}
:root[data-theme=dark]{--bg:#181e1b;--panel:#202823;--ink:#ecf0e7;--muted:#a5b2a9;--line:#39463d;--accent:#bed9a5;--on-accent:#1b3125;--soft:#2e3b30;--stage:#131a16;--input:#28312b;--danger:#ffaaa0;--warning:#ecc17f;--shadow:0 16px 38px -18px #000a;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer;transition:background .15s,color .15s,outline-color .15s}button:disabled{opacity:.45;cursor:default}a{color:inherit}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}::selection{background:var(--accent);color:var(--on-accent)}input{caret-color:var(--accent)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}h1,h2,h3,h4,p{margin:0}h1{font-size:36px;font-weight:600;letter-spacing:-1.2px;line-height:1.22}h2{font-size:20px;font-weight:600;letter-spacing:-.4px}h3{font-size:14px;font-weight:700}h4{font-size:13px}p{line-height:1.7}small,.small{font-size:12px}.muted{color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.point-right{transform:rotate(180deg)}.primary,.secondary,.text-button,.nav-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border-radius:7px;font-weight:600;padding:10px 15px;border:1px solid transparent;text-decoration:none;line-height:1.3}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover:not(:disabled){filter:brightness(1.1)}.secondary{background:var(--panel);border-color:var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:var(--soft)}.text-button{background:none;padding:5px 0;color:var(--accent);font-size:12px;min-height:30px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;border:0;border-radius:7px;background:transparent;color:var(--ink);flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--soft)}.wide{width:100%}.quiet{color:var(--muted)}.boot{min-height:75vh;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;line-height:1.5}input:not([type=checkbox]):not([type=range]):not([type=color]),select{min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--input);color:var(--ink);padding:10px 11px;width:100%;height:40px}input::placeholder{color:var(--muted);opacity:1}input[type=range]{width:100%;margin:4px 0 0;accent-color:var(--accent);cursor:pointer}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}input[type=color]{padding:0;width:24px;height:24px;border:0;background:none;cursor:pointer}select{cursor:pointer}form{display:flex;flex-direction:column;gap:20px}hr{border:0;border-top:1px solid var(--line);width:100%;margin:28px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:var(--bg);padding:13px 22px;border-radius:8px;box-shadow:var(--shadow);z-index:100;max-width:min(90vw,650px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:var(--danger);color:var(--bg)}dialog{border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);padding:30px;width:min(560px,calc(100% - 24px));max-height:85vh;box-shadow:var(--shadow)}dialog::backdrop{background:#0f1a166b}dialog p{margin:12px 0 24px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-heading .icon-button{font-size:0}.help-list{padding-left:22px;display:grid;gap:17px;line-height:1.7}.form-error{color:var(--danger);font-size:12px;min-height:0}.form-error:empty{display:none}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.6px;white-space:nowrap}.brand span{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:5px;padding-left:14px;border-left:1px solid var(--line)}.header{height:84px;padding:0 44px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:var(--panel);gap:40px}.header nav{display:flex;gap:15px;margin-left:25px}.nav-link{background:none;color:var(--muted);font-size:13px;padding:9px 10px}.nav-link.active{color:var(--accent);background:var(--soft)}.header-end{margin-left:auto;display:flex;gap:15px;align-items:center}.account-button{background:none;border:0;color:var(--ink);display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;max-width:180px}.account-button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--soft);color:var(--accent);flex-shrink:0}.auth-shell{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-story{background:#dfe8d9;color:#233f30;padding:36px 42px;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand{color:#233f30}.auth-story .brand span{color:#52654e;border-color:#bccdb3}.story-content{margin:auto 0;max-width:650px;align-self:center;width:100%;padding:45px 0 0}.story-content h1{font-size:clamp(32px,3.3vw,53px);letter-spacing:-1.7px;line-height:1.22;font-weight:600}.story-content h1 em{font-style:normal;color:#59794d}.story-content p{font-size:14px;color:#52654e;margin-top:26px;line-height:1.8}.paper-composition{position:relative;height:280px;margin-top:28px}.sample-paper{position:absolute;background:#fcfaf4;padding:12px 12px 45px;width:147px;height:190px;box-shadow:5px 12px 20px -8px #38503844}.sample-color{width:100%;height:100%}.sample-one{left:5%;top:35px;transform:rotate(-12deg)}.sample-one .sample-color{background:#9bae8b}.sample-two{left:32%;top:16px;transform:rotate(7deg)}.sample-two .sample-color{background:#cfb89a}.sample-three{left:60%;top:44px;transform:rotate(-6deg)}.sample-three .sample-color{background:#a2b7b6}.paper-caption{position:absolute;bottom:15px;left:25%;font-size:12px;color:#52654e;letter-spacing:.2px}.story-footer{display:flex;justify-content:space-between;font-size:10px;gap:12px;padding-top:28px;border-top:1px solid #bfd0b5;color:#52654e}.auth-main{padding:36px 48px;display:flex;position:relative;flex-direction:column}.auth-main>.icon-button{align-self:flex-end}.auth-form-wrap{width:min(100%,355px);margin:auto; padding:35px 0 60px}.auth-form-wrap h2{font-size:32px;margin-bottom:12px}.auth-form-wrap>p{font-size:13px;margin-bottom:30px}.auth-form-wrap form{gap:22px}.auth-form-wrap form .primary{justify-content:space-between;margin-top:2px}.auth-switch{text-align:center;font-size:12px;margin-top:23px}.privacy-note{margin-top:45px;padding-top:24px;border-top:1px solid var(--line);display:flex;gap:14px;color:var(--muted);align-items:center}.privacy-note p{font-size:11px;line-height:1.8}.auth-foot{font-size:10px;color:var(--muted);text-align:center}.home{max-width:1380px;margin:0 auto;padding:54px 60px 0}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.home-heading h1{display:flex;align-items:center;gap:15px}.home-heading p{margin-top:14px}.count{font-size:14px;background:var(--soft);color:var(--accent);border-radius:5px;padding:4px 10px;letter-spacing:0}.home-tools{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:28px 0 20px;margin-bottom:28px;color:var(--muted);font-size:12px}.search-label{width:240px}.search-label input{background:transparent!important}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:32px 25px;min-height:220px}.project-card{min-width:0}.project-cover{border:0;background:var(--stage);width:100%;height:220px;padding:28px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:12px}.project-cover>img{max-width:82%;height:170px;object-fit:cover;aspect-ratio:3/4;display:block;border:8px solid #fff;border-bottom-width:26px;transform:rotate(-4deg);box-shadow:0 8px 16px -9px #15332388;transition:transform .2s}.project-cover:hover>img{transform:rotate(0deg) translateY(-3px)}.blank-cover{display:flex;flex-direction:column;align-items:center;gap:14px;font-size:11px;color:var(--muted)}.blank-cover .icon{width:40px;height:40px;stroke-width:1}.cover-tag{position:absolute;bottom:12px;right:12px;background:var(--panel);color:var(--muted);padding:5px 9px;border-radius:5px;font-size:10px}.project-meta{display:grid;grid-template-columns:1fr auto;align-items:center;padding:10px 0}.project-title{border:0;background:none;color:var(--ink);text-align:left;font-size:15px;font-weight:600;padding:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-meta>.muted{font-size:10px;grid-column:1 / -1}.empty-projects{grid-column:1 / -1;text-align:center;padding:55px 15px 65px;display:flex;align-items:center;flex-direction:column;gap:15px}.empty-projects h2{font-size:22px}.empty-projects p{font-size:13px}.empty-paper{background:var(--panel);width:65px;height:80px;display:grid;place-items:center;border:1px solid var(--line);border-radius:3px;padding-bottom:10px;transform:rotate(-6deg);margin-bottom:10px}.empty-paper .icon{width:28px;height:28px;color:var(--accent);stroke-width:1.3}.work-note{display:flex;gap:25px;align-items:center;border-top:1px solid var(--line);padding:30px 0;margin-top:35px}.work-note>div{display:flex;gap:14px;align-items:center;min-width:250px}.work-note h2{font-size:15px;white-space:nowrap}.work-note p{color:var(--muted);font-size:12px;max-width:530px}.work-note>.text-button{margin-left:auto;white-space:nowrap}.home-footer{border-top:1px solid var(--line);padding:22px 0 30px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.editor-header{height:70px;border-bottom:1px solid var(--line);background:var(--panel);display:flex;gap:14px;align-items:center;padding:0 22px}.project-heading{min-width:0;max-width:420px;display:flex;flex-direction:column;gap:4px}.project-name{border:0;background:none;padding:0;text-align:left;font-weight:700;color:var(--ink);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-status{font-size:10px;color:var(--muted)}.save-status:before{content:'';display:inline-block;width:5px;height:5px;background:#719b63;border-radius:50%;margin-right:6px;vertical-align:middle}.save-status.failed{color:var(--danger)}.save-status.failed:before{background:var(--danger)}.history-controls{display:flex;border-left:1px solid var(--line);margin-left:15px;padding-left:15px;gap:4px}.editor-header-end{margin-left:auto;display:flex;align-items:center;gap:12px}.editor-header-end .secondary,.editor-header-end .primary{min-height:36px;font-size:12px}.steps{height:62px;display:flex;justify-content:center;gap:40px;border-bottom:1px solid var(--line);background:var(--panel)}.steps button{display:flex;align-items:center;gap:9px;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);padding:0 7px;font-size:12px;font-weight:600}.steps button>span{font-size:10px;width:21px;height:21px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.steps button.active{color:var(--accent);border-bottom-color:var(--accent)}.steps button.active>span{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.steps small{font-size:10px;padding:3px 6px;background:var(--soft);border-radius:4px}.workspace{display:grid;grid-template-columns:294px minmax(300px,1fr) 270px;height:calc(100vh - 132px)}.left-panel,.inspector{background:var(--panel);overflow:auto;padding:24px 22px;scrollbar-gutter:stable}.left-panel{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.panel-heading h2{font-size:15px;letter-spacing:-.2px;white-space:nowrap}.panel-heading>.muted{font-size:10px;white-space:nowrap}.panel-heading>.text-button{font-size:10px}.control-section{border-top:1px solid var(--line);padding-top:20px;margin-top:23px;display:flex;flex-direction:column;gap:15px}.control-section:first-of-type{border-top:0;padding-top:0}.control-section h3{margin-bottom:1px}.control-section .wide{font-size:12px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.number-field>span{position:relative;display:block}.number-field input{padding-right:35px!important;height:36px!important;font-size:12px;font-variant-numeric:tabular-nums}.number-field>span>span{position:absolute;right:10px;top:9px;font-size:10px;color:var(--muted);pointer-events:none}.number-field input::-webkit-inner-spin-button{display:none}.control-section>label>select{font-size:12px;height:36px}.style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:5px 0}.style-option{background:transparent;border:1px solid var(--line);color:var(--muted);padding:10px 3px;font-size:10px;display:flex;flex-direction:column;gap:10px;align-items:center;border-radius:7px;min-height:89px}.style-option.selected{border-color:var(--accent);background:var(--soft);color:var(--accent)}.style-sample{width:30px;height:39px;background:#a9b7a0;border:3px solid #fff;outline:1px solid #bec6b8}.style-sample.none{border:0}.style-sample.retro{border-bottom-width:10px}.color-heading{display:flex;align-items:center;justify-content:space-between}.custom-color{flex-direction:row;align-items:center;gap:5px;font-size:10px;color:var(--muted);font-weight:400}.swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;justify-items:center;padding:4px 0}.swatch{border:1px solid #a4afa7;width:25px;height:25px;border-radius:50%;background:var(--swatch);position:relative}.swatch.selected:after{content:'';position:absolute;inset:-4px;border:1.5px solid var(--accent);border-radius:50%}.toggle-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:400}.toggle-row small{display:block;font-size:9px;line-height:1.7;color:var(--muted);margin-top:3px}.control-section summary{cursor:pointer;font-size:12px;font-weight:600;list-style-position:outside;margin-left:12px}.control-section[open] summary{margin-bottom:17px}details.control-section{display:block}details.control-section>.field-pair{margin-bottom:17px}details.control-section>.toggle-row{margin-top:15px}details.control-section>.muted{margin:14px 0}.range-field{display:block;font-weight:400;font-size:11px;margin-bottom:13px}.range-field>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.range-field output{font-size:10px;font-variant-numeric:tabular-nums;background:var(--soft);padding:2px 6px;border-radius:3px;min-width:26px;text-align:center}.upload-actions{display:flex;flex-direction:column;gap:9px}.upload-actions button{font-size:12px}.drop-zone{border:1px dashed var(--line);border-radius:7px;text-align:center;padding:18px 8px;margin-top:16px;color:var(--muted)}.drop-zone p{font-size:11px}.drop-zone small{font-size:9px}.photo-list-tools{display:flex;justify-content:space-between;margin:20px 0 12px}.photo-list-tools button{font-size:10px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-tile{border:2px solid transparent;background:var(--stage);padding:5px;border-radius:7px;position:relative;min-width:0;text-align:left;overflow:hidden;color:var(--ink)}.photo-tile.selected{border-color:var(--accent)}.photo-tile.excluded{opacity:.45}.photo-tile img{width:100%;height:98px;object-fit:cover;border-radius:3px;display:block}.photo-number{position:absolute;top:9px;left:9px;background:#fff;color:#273c31;font-size:8px;width:17px;height:17px;display:grid;place-items:center;border-radius:3px}.photo-check{position:absolute;right:9px;top:9px;color:#fff;background:#285442;border-radius:50%;width:16px;height:16px;display:grid;place-items:center}.photo-check .icon{width:12px;height:12px}.photo-file{display:block;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 2px 3px}.panel-note{color:var(--muted);font-size:10px;line-height:1.8;margin-top:18px}.stage{display:flex;flex-direction:column;min-width:0;background:var(--stage);overflow:hidden}.stage-toolbar{height:70px;min-height:70px;display:flex;justify-content:space-between;gap:12px;padding:0 28px;align-items:center;border-bottom:1px solid var(--line)}.stage-toolbar>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.stage-toolbar strong{font-size:12px;font-weight:600}.stage-toolbar .muted{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.stage-pager{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:10px;color:var(--muted)}.stage-pager .icon-button{width:28px;height:30px;padding:5px}.canvas-space{flex:1;min-height:250px;overflow:auto;display:flex;justify-content:center;align-items:center;padding:42px 45px;position:relative}.paper-with-ruler{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;height:100%}.paper-with-ruler canvas{max-width:100%;max-height:100%;object-fit:contain;display:block;box-shadow:0 9px 26px -10px #182a384d;background:white;touch-action:none}.paper-with-ruler .crop-canvas{cursor:grab}.paper-with-ruler .crop-canvas:active{cursor:grabbing}.ruler-label{position:absolute;top:-24px;left:0;right:0;text-align:center;color:var(--muted);font-size:9px;font-variant-numeric:tabular-nums}.vertical-ruler{position:absolute;right:-35px;top:50%;writing-mode:vertical-rl;font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}.stage-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;color:var(--muted);max-width:340px}.stage-empty h2{color:var(--ink);font-size:23px}.stage-empty p{font-size:12px}.stage-empty>.muted{font-size:9px}.stage-empty .empty-paper{width:76px;height:95px;box-shadow:var(--shadow);margin-bottom:15px}.stage-footer{min-height:48px;padding:7px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:9px;border-top:1px solid var(--line)}.stage-footer button{font-size:10px}.stage-footer .icon{width:14px;height:14px}.inspector-preview{width:100%;height:175px;border:0;border-radius:5px;background:var(--stage);display:flex;justify-content:center;align-items:center;padding:14px}.inspector-preview canvas{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 4px 12px -6px #152e3c66}.file-name{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:12px}.dpi-status{font-size:9px;color:var(--accent);margin-top:5px;line-height:1.8}.dpi-status.warning{color:var(--warning)}.inspector .control-section{gap:13px}.inspector .field-pair{gap:8px}.inspector .field-pair button{font-size:10px;padding:8px 6px;gap:5px}.inspector .field-pair .icon{width:14px;height:14px}.inspector .field-pair label{font-size:9px;font-weight:400}.segmented{display:flex;border:1px solid var(--line);border-radius:6px;padding:3px;gap:3px}.segmented button{flex:1;border:0;border-radius:4px;background:none;color:var(--muted);padding:8px 4px;font-size:10px}.segmented button.selected{background:var(--soft);color:var(--accent);font-weight:600}.copies-field{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:11px;font-weight:400}.copies-field input{width:70px!important;height:34px!important;font-size:12px}.tip{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.tip h3{font-size:11px;margin-bottom:8px}.tip p{font-size:10px;color:var(--muted);line-height:1.9}.inspector-empty{display:flex;flex-direction:column;gap:18px;align-items:flex-start;color:var(--muted);margin:35px 0}.inspector-empty>.icon{width:33px;height:33px;stroke-width:1}.inspector-empty p{font-size:11px}.export-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 0 5px}.export-summary>div{display:flex;flex-direction:column;gap:6px}.export-summary strong{font-size:32px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.export-summary span{font-size:10px;color:var(--muted)}.export-status{font-size:11px;color:var(--accent);margin-top:24px}.account-page{max-width:460px;margin:50px auto;padding:0 25px 60px}.account-page>p{margin:15px 0 30px}.account-page h2{font-size:18px}.account-page form{gap:18px}.account-page form hr{margin:10px 0}.account-page form button{margin-top:12px}.table-wrap{margin-top:32px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;color:var(--muted);font-weight:400;padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:19px 18px;border-bottom:1px solid var(--line);font-size:12px;white-space:nowrap}td strong{font-weight:600}td small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.drag-over{outline:3px dashed var(--accent);outline-offset:-12px}#print-root{display:none}
@media(min-width:1700px){.workspace{grid-template-columns:320px minmax(400px,1fr) 300px}.canvas-space{padding:52px 65px}.left-panel,.inspector{padding:28px}.stage-toolbar{padding:0 40px}}
@media(max-width:1150px){.brand span{display:none}.header{padding:0 25px;gap:20px}.header nav{margin-left:0}.home{padding:40px 32px 0}.workspace{grid-template-columns:260px minmax(280px,1fr) 238px}.left-panel,.inspector{padding:20px 15px}.stage-toolbar{padding:0 15px}.stage-pager{gap:0;font-size:9px}.work-note{flex-wrap:wrap}.work-note>.text-button{margin-left:0}.canvas-space{padding:40px 35px}.style-option{font-size:9px}.story-content h1{font-size:36px}.sample-paper{width:125px;height:165px}.sample-three{left:57%}.auth-story{padding:30px}.auth-main{padding:30px}}
@media(max-width:900px){.workspace{grid-template-columns:250px minmax(260px,1fr);height:auto;min-height:calc(100vh - 132px)}.stage{height:calc(100vh - 132px);min-height:550px;position:sticky;top:0}.left-panel{max-height:calc(100vh - 132px);min-height:550px}.inspector{grid-column:1 / -1;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:180px 1fr 1fr;gap:15px 25px}.inspector .panel-heading{grid-column:1 / -1;margin-bottom:0}.inspector-preview{grid-column:1;grid-row:2 / 5}.inspector .file-name,.inspector .dpi-status{grid-column:1;margin:0}.inspector .control-section{grid-column:2;grid-row:2 / 6;border-top:0;margin:0;padding:0}.inspector .control-section+.control-section{grid-column:3;grid-row:2}.inspector .tip{grid-column:3;grid-row:3 / 6}.inspector-empty{grid-column:1 / -1}.header nav{gap:3px}.header-end{gap:5px}.header .account-button>span:last-child{display:none}.home{padding:35px 25px 0}.auth-shell{grid-template-columns:.9fr 1fr}.auth-story{padding:25px}.auth-main{padding:25px}.story-content h1{font-size:30px;letter-spacing:-1px}.story-content p{font-size:12px}.paper-composition{height:240px}.sample-paper{width:100px;height:140px;padding:9px 9px 30px}.sample-two{left:26%}.sample-three{left:52%}.paper-caption{left:10%;bottom:20px}.story-footer{font-size:8px}.steps{gap:20px}.stage-toolbar .muted{max-width:150px}.stage-pager{font-size:0}.stage-pager span{font-size:9px}}
@media(max-width:620px){h1{font-size:29px}.auth-shell{display:block;min-height:100dvh}.auth-story{padding:22px 25px}.story-brand .brand span{display:inline;font-size:9px}.story-content{padding:30px 0 12px}.story-content h1{font-size:29px;line-height:1.3;letter-spacing:-1px}.story-content h1 br:first-child{display:none}.story-content p,.paper-composition,.story-footer{display:none}.auth-main{padding:20px 25px 28px}.auth-main>.icon-button{position:absolute;right:20px;top:20px}.auth-form-wrap{padding:20px 0 35px;max-width:390px}.auth-form-wrap h2{font-size:25px}.auth-form-wrap>p{font-size:12px;margin-bottom:25px}.privacy-note{margin-top:30px}.auth-foot{font-size:8px}.header{height:70px;padding:0 17px;gap:12px}.brand{font-size:19px;gap:8px}.brand img{width:30px;height:30px}.header nav{margin-left:auto}.header .nav-link{font-size:0;padding:8px;min-height:34px}.header .nav-link .icon{width:18px;height:18px}.header-end{margin-left:0}.avatar{width:28px;height:28px}.header .icon-button{width:30px;height:30px}.home{padding:30px 19px 0}.home-heading{align-items:flex-start;gap:16px}.home-heading h1{font-size:27px;gap:9px}.home-heading>.primary{font-size:0;width:40px;padding:10px}.home-heading>.primary .icon{width:20px;height:20px}.home-heading p{font-size:11px;max-width:240px;margin-top:10px}.home-tools{gap:12px;padding:22px 0 16px;font-size:10px}.search-label{width:165px}.search-label input{height:34px!important;font-size:10px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.project-cover{height:155px;padding:20px 15px}.project-cover>img{height:120px;border:6px solid #fff;border-bottom-width:19px}.project-title{font-size:12px}.project-meta>.muted{font-size:9px}.blank-cover{font-size:9px}.blank-cover .icon{width:28px;height:28px}.cover-tag{font-size:8px;bottom:9px;right:9px}.empty-projects{padding:35px 0}.empty-projects h2{font-size:20px;max-width:290px}.work-note{gap:14px;margin-top:20px;padding:25px 0}.work-note p{font-size:11px}.home-footer{font-size:8px;gap:15px}.home-footer>span:last-child{max-width:140px;text-align:right}.editor-header{height:65px;gap:7px;padding:0 10px}.project-heading{max-width:calc(100vw - 175px)}.project-name{font-size:12px}.save-status{font-size:8px}.history-controls{margin-left:0;padding-left:0;border:0;gap:0}.history-controls .icon-button{width:28px;height:30px;padding:5px}.history-controls .icon{width:16px;height:16px}.editor-header-end{gap:4px}.editor-header-end>.secondary,.editor-header-end>.primary{display:none}.editor-header-end .icon-button{width:29px}.steps{height:55px;justify-content:space-between;gap:0;padding:0 10px}.steps button{font-size:9px;gap:5px;padding:0 4px;white-space:nowrap}.steps button>span{width:17px;height:17px;font-size:8px}.steps small{display:none}.workspace{display:flex;flex-direction:column;min-height:0}.stage{position:relative;order:0;min-height:420px;height:56vh;max-height:620px}.left-panel{order:1;height:auto;max-height:none;min-height:0;border-top:1px solid var(--line);border-right:0;padding:22px}.inspector{order:2;display:block;padding:22px}.inspector-preview{height:210px}.inspector .panel-heading{margin-bottom:18px}.inspector .control-section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.inspector .file-name{margin-top:14px}.inspector .dpi-status{margin-top:6px}.inspector .tip{margin-top:20px}.stage-toolbar{height:57px;min-height:57px}.stage-toolbar .muted{max-width:180px}.canvas-space{padding:34px 40px}.stage-footer{min-height:38px;padding:5px 15px;font-size:8px}.stage-footer .text-button{font-size:0}.stage-footer .text-button .icon{width:16px;height:16px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-tile img{height:100px}.upload-actions{display:grid;grid-template-columns:1fr 1fr}.upload-actions button{font-size:10px;gap:6px;padding:9px}.upload-actions .icon{width:16px;height:16px}.control-section{margin-top:22px;padding-top:22px}.style-options{gap:12px}.style-option{font-size:11px}.swatches{display:flex;justify-content:space-between;gap:5px}.toggle-row{font-size:12px}.toggle-row small{font-size:10px}.range-field{font-size:12px}.inspector .field-pair label{font-size:11px}.inspector .field-pair button{font-size:12px}.account-page{margin:35px auto}.table-wrap{margin:25px -5px 0}.home>.panel-note{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{html,body{background:white!important;color:black!important;margin:0!important;padding:0!important}#app,#toast,dialog{display:none!important}#print-root{display:block}#print-root img{display:block;max-width:none;max-height:none;break-after:page;page-break-after:always;margin:0;padding:0}#print-root img:last-child{break-after:auto;page-break-after:auto}}

.home-tools{flex-wrap:wrap;gap:12px}.home-tools>.text-button{margin-left:auto}.home-tools .search-label{flex-shrink:0}
