/* PSS — original construction character, refined with black and gold. */
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--ink:#151515;--muted:#6c665d;--line:#ded6c8;--paper:#fff;--bg:#f8f5ef;--accent:#896a34;--accent-light:#f2eadb;--gold:#c0a16a;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 13px;cursor:pointer;font-weight:600;line-height:1.3}button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-light)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.dropzone:focus-within{outline:3px solid #c0a16a;outline-offset:3px}input,select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px;min-width:0;color:var(--ink)}label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}input:not([type=checkbox]),select{width:100%}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover:not(:disabled){background:#a48650;color:white}.plain{background:transparent;border-color:transparent}.full{width:100%;margin-top:12px}a{color:var(--accent)}[hidden]{display:none!important}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.brand{display:flex;align-items:center;gap:15px;font-size:30px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;color:var(--ink)}.brand span{border-left:1px solid var(--line);padding-left:16px;font-size:12px;letter-spacing:0;font-weight:400;line-height:1.5;color:var(--muted)}.badge,.local-badge{font-size:12px;border:1px solid var(--line);border-radius:30px;padding:9px 13px;color:var(--muted);background:white}.local-badge span{color:var(--accent);margin-right:5px}.account{display:flex;gap:15px;align-items:center;font-size:12px;overflow-wrap:anywhere}.workspace{max-width:1800px;margin:auto;padding:38px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--accent)}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.1;margin:12px 0}h2{font-size:16px;letter-spacing:-.2px;margin:0}p{color:var(--muted);line-height:1.6}.heading p{margin:10px 0 0}.editor-layout{display:grid;grid-template-columns:250px minmax(300px,1fr) 300px;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.panel-heading,.selection-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.count{font-size:11px;background:var(--bg);padding:4px 8px;border-radius:5px;color:var(--muted)}.dropzone{border:1px dashed #bca77e;border-radius:9px;background:#fbf8f1;text-align:center;padding:22px 8px;cursor:pointer;margin-bottom:10px;position:relative}.dropzone input{position:absolute;width:1px!important;height:1px;opacity:0}.dropzone small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:7px}.upload-icon{display:block;font-size:29px;color:var(--accent);font-weight:400;margin-bottom:8px}.dropzone.dragover{background:var(--accent-light);outline:2px solid var(--accent)}.hint,small{color:var(--muted);font-size:11px;line-height:1.65}.hint{margin:10px 0}.steps{margin-top:20px;background:transparent}.steps h2{font-size:13px}.steps p{font-size:12px;display:flex;gap:9px;align-items:center}.steps b{background:white;border:1px solid var(--line);border-radius:50%;width:22px;height:22px;text-align:center;font-size:11px;padding-top:1px;flex-shrink:0}.file-item{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:13px;margin-top:13px}.file-item .file-info{min-width:0;flex:1}.file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.file-item button{padding:6px;border:0;font-weight:400}.file-marker{width:28px;height:34px;background:var(--accent-light);color:var(--accent);font-size:9px;font-weight:bold;display:grid;place-items:center;border-radius:5px}.button-row{display:flex;gap:7px}.button-row button{font-size:11px;padding:7px 9px}.muted{color:var(--muted);font-weight:400;font-size:12px;margin-left:4px}.range-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(130px,1.2fr) auto;gap:8px;margin-bottom:9px}.range-row input,.range-row select{font-size:12px;padding:10px}.range-row button{font-size:12px}.status{font-size:12px;padding:15px 2px;min-height:47px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.error{color:#b03d34!important}.pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;align-items:start}.page-card{background:#fff;border:2px solid transparent;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #38270e08;position:relative}.page-card.selected{border-color:var(--accent);background:#fcf8ed}.page-top{display:flex;justify-content:space-between;align-items:center;padding:9px 9px 0}.page-top label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;cursor:pointer}.page-top input{accent-color:var(--accent);width:17px;height:17px;margin:0}.page-top button{padding:3px 5px;font-size:15px;border:0;background:transparent}.thumb{margin:10px 10px 0;height:175px;display:flex;align-items:center;justify-content:center;background:#f0ece4;cursor:zoom-in;width:calc(100% - 20px);padding:5px;border:0;overflow:hidden}.thumb canvas{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 1px 4px #0002;background:white}.thumb span{font-size:11px;color:var(--muted)}.page-caption{padding:10px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.empty{text-align:center;border:1px dashed var(--line);border-radius:12px;padding:70px 15px}.empty-icon{font-size:52px;color:#b39a6e;margin-bottom:18px}.empty h2{font-size:19px}.empty p{font-size:12px}.result-panel{position:sticky;top:20px}.result-panel h2{font-size:20px;margin:12px 0 20px}.result-count{display:flex;align-items:baseline;gap:9px;margin-bottom:16px;color:var(--muted);font-size:12px}.result-count>span:first-child{font-size:35px;font-weight:600;color:var(--ink)}.order-list{list-style:none;padding:0;margin:12px 0;max-height:350px;overflow:auto;overscroll-behavior:contain}.order-list li{display:flex;gap:5px;align-items:center;background:var(--bg);padding:8px 6px;border-radius:6px;margin-bottom:6px;cursor:grab}.order-list li.drag-target{outline:2px solid var(--accent)}.order-list .order-name{flex:1;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-list .position{font-size:10px;color:var(--muted);min-width:17px}.order-list button{padding:4px;border:0;background:transparent;font-size:12px}.result-panel label{margin-top:20px}.result-panel input{font-size:12px}.download-link{display:block;margin-top:15px;font-size:12px}.notice{background:#fff4d9;border:1px solid #ecd49a;padding:15px;border-radius:9px;line-height:1.6;margin-bottom:20px}footer{display:flex;gap:20px;justify-content:space-between;padding:24px 38px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);margin-top:30px}.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}dialog{border:1px solid var(--line);border-radius:12px;max-width:95vw;width:1100px;max-height:94vh;padding:18px;background:var(--bg)}dialog::backdrop{background:#151515bb}.preview-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:14px}.preview-header h2{font-size:14px;overflow-wrap:anywhere}.preview-canvas{overflow:auto;text-align:center;max-height:78vh}.preview-canvas canvas{max-width:100%;height:auto;background:#fff}.login-layout{max-width:1120px;margin:50px auto;display:grid;grid-template-columns:1.2fr 1fr;gap:100px;padding:35px 30px;align-items:center}.intro h1{font-size:50px;letter-spacing:-2px;line-height:1.12;margin-top:22px}.intro h1 span{color:var(--accent)}.intro>p{font-size:15px;max-width:430px}.login-card{background:white;border:1px solid var(--line);border-radius:16px;padding:36px;box-shadow:0 12px 50px #38270e08}.login-card h2{font-size:26px;margin-top:17px}.login-card p{font-size:13px}.login-card form{margin-top:25px}.login-note{border-top:1px solid var(--line);padding-top:18px;font-size:11px;color:var(--muted);line-height:1.6;margin-top:24px}#code{letter-spacing:8px;font-size:26px}.illustration{height:200px;position:relative;margin-top:35px}.paper{position:absolute;top:10px;width:125px;height:160px;background:white;border:1px solid var(--line);border-radius:6px;padding:20px;box-shadow:0 8px 20px #38270e10}.paper b{font-size:25px;color:#b39a6e}.paper i{display:block;width:100%;height:1px;background:var(--line);margin-top:18px}.p1{left:10px;transform:rotate(-9deg)}.p2{left:100px;transform:rotate(3deg);top:0}.p3{left:195px;transform:rotate(12deg);border-color:var(--accent)}.p3 b{color:var(--accent)}.p3 span{position:absolute;right:-14px;bottom:17px;background:var(--accent);color:white;width:33px;height:33px;border-radius:50%;text-align:center;padding-top:7px;transform:rotate(-12deg)}.privacy{color:var(--accent);font-size:12px;line-height:1.8;margin-top:15px}.privacy small{color:var(--muted)}@media(min-width:1500px){.pages-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.thumb{height:215px}}@media(max-width:1180px){.workspace{padding:26px 20px}.editor-layout{grid-template-columns:200px minmax(260px,1fr) 250px;gap:15px}.panel{padding:15px}.range-row{grid-template-columns:1fr auto}.range-row select{grid-column:1/-1}.pages-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.thumb{height:150px}.selection-top{align-items:flex-start;flex-direction:column}.topbar{padding:0 22px}.login-layout{gap:50px}}@media(max-width:900px){.editor-layout{grid-template-columns:200px minmax(0,1fr)}.result-area{grid-column:1/-1}.result-panel{position:static}.order-list{max-height:230px}.heading{align-items:flex-start;flex-direction:column}.login-layout{gap:35px}.intro h1{font-size:38px}.login-card{padding:25px}.illustration{transform:scale(.85);transform-origin:left top}}@media(max-width:600px){.topbar{height:70px;padding:0 16px}.brand{font-size:26px}.brand span{display:none}.account{gap:5px;font-size:10px}.account button{font-size:11px}.workspace{padding:25px 14px}.heading h1{font-size:29px}.editor-layout{display:flex;flex-direction:column}.sidebar,.pages-area,.result-area{width:100%}.steps{display:none}.sidebar>.plain{margin-top:4px}.dropzone{padding:14px}.upload-icon{display:inline;margin-right:8px;font-size:20px}.file-list{max-height:180px;overflow:auto}.pages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.selection-top{flex-direction:row;align-items:center;flex-wrap:wrap}.thumb{height:170px}.empty{padding:40px 10px}.result-panel{padding:20px}.heading{margin-bottom:20px}.login-layout{display:flex;flex-direction:column;padding:15px 20px;margin:25px auto;gap:25px}.intro{width:100%}.intro h1{font-size:36px;margin:15px 0}.intro>p{font-size:13px}.illustration,.privacy{display:none}.login-card{width:100%;padding:25px}.badge{font-size:10px;padding:7px 9px}footer{padding:20px 16px;flex-direction:column;gap:8px}.preview-header h2{font-size:12px}}

/* PSS identity: original emblem, Manrope and the website's black/gold palette. */
body{font-weight:450;background:var(--bg)}
.primary{background:#c0a16a;border-color:#c0a16a;color:#151515}.primary:hover:not(:disabled){background:#d2b780;color:#151515}
.site-header{background:linear-gradient(115deg,#111 20%,#1a1917 100%);color:#fffdf9;border-bottom:1px solid #785c2e;padding:22px 38px 0}
.site-header-inner{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:20px}
.site-brand{display:flex;align-items:center;gap:18px;color:#fffdf9;text-decoration:none;min-width:0}
.site-emblem{--emblem-size:90px;display:block;position:relative;width:var(--emblem-size);height:var(--emblem-size);flex-shrink:0;border-radius:50%;overflow:hidden;background:#111;box-shadow:0 0 0 1px #b7965c}
.site-emblem img{position:absolute;width:calc(var(--emblem-size)*5.76577);max-width:none;height:auto;left:calc(var(--emblem-size)*-.36937);top:calc(var(--emblem-size)*-.05405)}
.site-wordmark{display:flex;flex-direction:column;gap:6px;line-height:1.4}.site-wordmark strong{font-size:22px;letter-spacing:-.035em;font-weight:750}.site-wordmark>span{font-size:12px;color:#d1b47e}
.site-return{color:#ddc48f;text-underline-offset:5px;font-size:13px;white-space:nowrap}
.site-nav{max-width:1440px;margin:auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px 26px;border-top:1px solid #51432e;padding:18px 0}
.site-nav a,.site-mobile-menu a{color:#fffdf9;text-decoration:none;font-size:14px;font-weight:600}.site-nav a:hover,.site-nav a[aria-current],.site-mobile-menu a[aria-current]{color:#ddc48f;text-decoration:underline;text-underline-offset:7px}
.site-mobile-menu{display:none}.account{color:#e6d9c2}.account button{color:#ddc48f;border-color:#655337}.account button:hover:not(:disabled){color:#151515}
.login-layout{max-width:1180px;margin:38px auto;gap:90px}.intro h1{font-weight:750;font-size:52px;letter-spacing:-.045em}.login-card{border-radius:12px;box-shadow:0 14px 44px #38270e06}.login-card h2{font-weight:700}.login-card label:not(:first-child){margin-top:18px}.login-card .remember{display:flex;align-items:center;gap:10px;margin-top:22px;font-size:12px;line-height:1.5;cursor:pointer;font-weight:500}.remember input{width:17px;height:17px;margin:0;accent-color:#896a34;flex-shrink:0}.auth-links{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.auth-links button{font-size:12px;color:#896a34;padding:6px 0;text-decoration:underline;text-underline-offset:4px}.login-card #password-hint{display:block;margin-top:6px}.login-card #login-status:empty{display:none}.privacy{color:#896a34}.panel,.page-card{border-radius:8px}footer{background:#151515;color:#c4bdaf;border-top-color:#785c2e;padding-block:28px}
@media(max-width:900px){.site-header{padding-inline:22px}.login-layout{gap:35px}.intro h1{font-size:40px}.site-nav{gap:18px}}
@media(max-width:600px){.site-header{padding:16px 18px 0}.site-header-inner{flex-wrap:wrap;gap:18px;padding-bottom:16px}.site-emblem{--emblem-size:68px}.site-brand{gap:12px}.site-wordmark strong{font-size:19px}.site-wordmark>span{font-size:10px}.site-return{display:none}.site-nav{display:none}.site-mobile-menu{display:block;border-top:1px solid #51432e}.site-mobile-menu summary{padding:14px 0;cursor:pointer;font-size:13px;list-style:none;display:flex;justify-content:space-between;color:#ddc48f}.site-mobile-menu summary::-webkit-details-marker{display:none}.site-mobile-menu nav{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:10px 0 24px}.site-mobile-menu a{font-size:12px}.account{width:100%;justify-content:space-between;font-size:12px}.login-layout{margin:24px auto;gap:24px}.intro h1{font-size:36px}.login-card{padding:25px}.auth-links{flex-wrap:wrap}footer{margin-top:25px}}
@media(max-width:360px){.site-wordmark strong{font-size:16px}.site-emblem{--emblem-size:60px}}

.optimize-panel{margin-top:20px;border-top:3px solid #c0a16a}.optimize-panel .eyebrow{font-size:9px;letter-spacing:.7px;line-height:1.6;margin-bottom:10px}.optimize-panel h2{font-size:19px}.optimize-panel label{margin-top:18px;font-size:12px}.optimize-panel select{font-size:12px;padding:10px}.optimize-panel .download-link{overflow-wrap:anywhere;line-height:1.65}.optimize-panel #optimize-status:empty{display:none}#cancel-optimize{color:#896a34} .optimize-panel button{font-size:12px} @media(max-width:600px){.optimize-panel{margin-top:16px}.optimize-panel .eyebrow{font-size:10px;letter-spacing:1px}}

/* fields-2310: visible editable controls even before focus. */
body {--pss-field-bg:#fffefb;--pss-field-ink:#202922;--pss-field-border:#797f73;--pss-field-hint:#626a60;--pss-field-focus:#705222;--pss-field-readonly:#edf0e9;}
@media screen {
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden]) {border:1px solid var(--pss-field-border);border-radius:7px;background-color:var(--pss-field-bg);color:var(--pss-field-ink);caret-color:currentColor;}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden])::placeholder {color:var(--pss-field-hint);opacity:1;}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden]):hover:not(:disabled):not([readonly]) {border-color:var(--pss-field-focus);}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden]):focus {border-color:var(--pss-field-focus);outline:3px solid var(--pss-field-focus);outline-offset:2px;}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden])[readonly] {background-color:var(--pss-field-readonly);opacity:1;}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden]):disabled {background-color:var(--pss-field-readonly);border-style:dashed;opacity:.7;cursor:not-allowed;}
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden])[aria-invalid=true] {border-color:#b24432;}
}
@media screen and (max-width:760px) {
body :is(input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):not([hidden]) {font-size:16px;}
}
