/* Lentochka: original logo and website palette; operational statuses keep their colors. */
:root{--blue:#de0031;--brand:#de0031;--brand-hover:#be002a;--brand-soft:#fff2f2;--border:#e0e0e0;--muted:#707070;color:#212121;background:#f4f6f7}
button:focus-visible,a:focus-visible,input:focus,select:focus{outline-color:#f2a7b8}
.button.primary{background:var(--brand);border-color:var(--brand);box-shadow:0 2px 4px #de003118}
.button.primary:hover:enabled{background:var(--brand-hover);border-color:var(--brand-hover)}
.button.secondary{color:#333;border-color:#dedede}
.button.secondary:hover:enabled{background:#f4f6f7}
.brand{flex-direction:column;align-items:flex-start;gap:7px}
.brand img{width:180px;height:auto;max-width:100%}
.brand-sub{font-size:11px;color:#707070;font-weight:500;letter-spacing:0}
.topbar,.user,.invoice-brand,.document-heading h2,.document-summary strong,.paper-total strong,.editor-totals strong{color:#212121}
.workspace{background:#f7f7f7;border-color:var(--border)}
.workspace-mark{background:var(--brand-soft);color:var(--brand)}
.nav.active{background:var(--brand-soft);color:var(--brand)}
.nav b{background:#f9e1e6;color:var(--brand)}
.avatar{background:#f5ecee;color:#8b243a}
.heading .eyebrow,.eyebrow,.document-heading .eyebrow{color:#737373}
.doc-row.selected{background:#fff6f7;box-shadow:inset 3px 0 var(--brand)}
.doc-row:hover{background:#faf7f8}
.doc-icon{color:#9e3048;background:#fff6f7;border-color:#f2dce1}
.document-context{background:#f7f7f7;border-color:#e8e8e8}
.document-context strong{color:#333}.document-context p{color:#707070}
.progress-step.current{color:#9f0023}.progress-step.current b{background:var(--brand-soft);border-color:#f1ccd4;color:var(--brand)}
.document-art{border-color:#edccd4;background:linear-gradient(135deg,#fffafb,#fff0f3)}.art-lines{color:#e4b1bd}
.steps li>b{background:#fff2f5;border-color:#f4dfe4;color:#ad314d}
.document-meta,.certificate-note,.field-note,.send-hint{color:#707070}
.detail-footer a,.person-line button,.file-row button{color:#a90027}
.detail-actions{background:#fdfcfc}
.login img{width:230px;max-width:100%;height:auto}
.shell>main{display:flex;flex-direction:column;min-width:0}.shell>main>.page{width:100%}
.invoice-brand{display:flex;align-items:center;gap:20px;margin-bottom:24px;padding:4px 0 20px;border-bottom:1px solid var(--border)}
.invoice-brand img{width:220px;max-width:55%;height:auto}.invoice-brand span{font-size:12px;color:#707070}
.app-brand{gap:18px;color:#333;font-weight:600}
.app-brand img{width:220px;max-width:55vw;height:auto}
.app-brand>span{padding-left:18px;border-left:1px solid #dedede;font-size:11px;color:#707070;letter-spacing:0}
.app-title>span{color:#707070}
.invoice-tabs button[aria-selected=true]::after{background:#2563eb}
.state-badge{background:#f4f4f4;color:#555}.state-badge.reviewed{background:#edf7ef;color:#408254}
.document-card{border-color:var(--border);box-shadow:0 8px 28px #11111104}
.recipient-box,.dialog-footer{background:#fafafa;border-color:#e8e8e8}
.dialog-header,.parties{background:#f8f8f8}.paper-title h3{color:#212121}
.editor-intro{background:#fff6f7;border-color:#f2dce1}.editor-intro strong{color:#a92c46}
.text-button{color:#a90027}
.product-footer{margin-top:auto;padding:18px 24px 22px;text-align:center}
.developer-credit{margin-top:14px;line-height:1.5;font-size:11px;font-weight:400;letter-spacing:0}
.developer-credit a{color:#707070;text-decoration:none;border-bottom:1px solid #d4d4d4;padding-bottom:2px}
.developer-credit a:hover{color:var(--brand);border-color:var(--brand)}
@media(max-width:700px){.brand img{width:145px}.app-title{gap:16px;align-items:flex-start}.app-brand{gap:12px}.app-brand img{width:175px}.app-brand>span{padding-left:12px}.invoice-brand{gap:14px}.invoice-brand img{width:190px}.product-footer{padding:16px}}
@media(max-width:480px){.app-brand{flex-direction:column;align-items:flex-start;gap:8px}.app-brand>span{border:0;padding:0}.app-title>span{max-width:145px;text-align:right}.invoice-brand{align-items:flex-start;flex-direction:column;gap:10px}.invoice-brand img{max-width:80%}}
