/* Shared screen-only polish: saved report and print layouts retain their own styling. */
@media screen{
.auth-page,.auth-page *{box-sizing:border-box}
.dx-toast-content{max-width:calc(100vw - 32px);border-radius:12px;box-shadow:0 10px 30px #15384c26}.dx-toast-message{white-space:normal;overflow-wrap:anywhere;line-height:1.7}
:root{--app-accent:#087f78;--app-focus:#149c91}body{line-height:1.65}button,input,select,textarea{font-family:inherit}a,button,input,select,textarea,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--app-focus);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.65}input:disabled,select:disabled,textarea:disabled{background:#edf1f4;color:#536572}input[type=checkbox],input[type=radio]{accent-color:var(--app-accent)}
body:not(.auth-page) main>.hero,body:not(.auth-page) main>header:not(.topbar){background:linear-gradient(120deg,#12384d,#0e6269)}.surface,.panel,.currency-report{box-shadow:0 8px 28px #153c4d08}.hint,.caption{line-height:1.9}.error{border-inline-start:4px solid #b43737;border-radius:10px}.empty{border:1px dashed #c5d9df;border-radius:14px;text-align:center;line-height:1.9}.btn:not(.remove):not(.secondary){background:#087f78}.dx-button-mode-contained.dx-button-default{background:#087f78;border-color:#087f78}.dx-texteditor.dx-state-focused{border-color:#087f78}.dx-datagrid-headers,.dx-treelist-headers{background:#edf6f5}.dx-datagrid .dx-row-alt>td{background:#f7fafb}.dx-button{min-height:38px}.workspace-nav{box-shadow:0 3px 15px #15374a08}.filters{border:1px solid #e0e9ed;align-items:end}.filters label{flex:1;min-width:180px}.filters input,.filters select{width:100%;min-width:0;max-width:100%;background:#fff}.filters .btn{min-height:44px}.table-wrap{border:1px solid #e1eaee;border-radius:10px}.table-wrap table{margin-top:0}.table-wrap tbody tr:hover{background:#f2f9f7}.actions{align-items:center}.actions form{margin:0}
.app-skip{position:fixed;top:-100px;right:16px;z-index:99999;background:white;color:#075e58;padding:12px;border:2px solid #087f78;border-radius:8px}.app-skip:focus{top:10px}.app-tools{position:fixed;inset-inline-end:18px;bottom:18px;display:flex;gap:8px;z-index:80}.app-tools button{width:42px;height:42px;background:#fff;border:1px solid #c6d8df;color:#155966;border-radius:50%;box-shadow:0 4px 12px #1b34451a;cursor:pointer;font-size:20px}.app-network{position:fixed;bottom:72px;inset-inline:16px;max-width:640px;margin:auto;background:#fff4dc;color:#644300;border:1px solid #d7ac5e;border-radius:12px;padding:14px;z-index:99999;font-size:14px}.app-help{border:0;border-radius:20px;padding:28px;width:min(480px,calc(100% - 32px));color:#17364a;box-shadow:0 25px 90px #1238}.app-help::backdrop{background:#102d4077}.app-help h2{margin-top:0}.app-help p{line-height:1.9}.app-help button,.app-presets button{border:1px solid #c9dedf;background:#edf8f5;color:#0b605a;border-radius:8px;padding:8px 14px;cursor:pointer;font:inherit}.app-presets{flex-basis:100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#526c80}.app-password{position:relative;display:block}.app-password input{padding-inline-end:78px!important;width:100%}.app-password button{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);margin:0;width:auto;padding:7px;background:#edf6f4;border:0;border-radius:6px;color:#075f59;font:12px Tahoma;cursor:pointer}.app-caps{color:#865613;font-size:12px;margin:6px 0}.app-busy{opacity:.7;cursor:progress}.auth-page{min-height:100dvh;background:radial-gradient(ellipse at top right,#d7ede8,transparent 60%),#eff4f7;display:grid;place-items:center;padding:24px;margin:0;color:#17364a;font:15px Tahoma,Arial}.auth-card{width:min(440px,100%);background:#fff;padding:38px;border:1px solid #dde9ed;border-radius:24px;box-shadow:0 24px 80px #15394d14}.auth-brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:bold;letter-spacing:2px}.auth-brand span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#087f78;color:white}.auth-card h1{font-size:24px;margin:24px 0 8px}.auth-card p{color:#526c80;font-size:13px;line-height:1.9}.auth-card label{display:block;font-weight:bold;font-size:13px;margin:20px 0 7px}.auth-card input{padding:13px;border:1px solid #c8d8df;border-radius:10px;width:100%;font:16px Tahoma;background:#fbfdfe;box-sizing:border-box}.auth-submit{width:100%;margin-top:24px;padding:14px;border:0;border-radius:10px;background:#087f78;color:white;font:700 15px Tahoma;cursor:pointer}.auth-card .auth-error{color:#a12d2d;background:#fff2ef;border-radius:9px;padding:12px}.auth-note{border-top:1px solid #e7eef1;padding-top:18px;margin-top:22px}.auth-card [hidden],[hidden].app-network,[hidden].app-caps{display:none!important}
.app-help{width:min(580px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto}.app-help-voucher-types{margin:18px 0;padding:16px;border:1px solid #cfe4e1;border-radius:12px;background:#f5fbfa}.app-help-voucher-types h3{margin:0;color:#075e58;font-size:16px}.app-help-voucher-types p{margin:7px 0 12px;font-size:13px}.app-help-voucher-types dl{margin:0;display:grid;gap:9px}.app-help-voucher-types dl div{padding:10px 12px;border-radius:9px;background:#fff;border-inline-start:3px solid #087f78}.app-help-voucher-types dt{font-weight:bold;color:#17364a}.app-help-voucher-types dd{margin:4px 0 0;font-size:13px;line-height:1.75;color:#526c80}.app-help-voucher-types strong{color:#17364a}.page-help-standalone{position:fixed;inset-inline-end:18px;bottom:18px;z-index:80;width:42px;height:42px;border:1px solid #c6d8df;border-radius:50%;background:#fff;color:#155966;box-shadow:0 4px 12px #1b34451a;font-size:20px;cursor:pointer}
@media(max-width:650px){body:not(.auth-page) main{max-width:100%;padding:14px}.hero{border-radius:16px}.hero h1{font-size:23px}.surface,.panel,.currency-report{padding:16px;border-radius:14px}.filters{padding:14px}.filters label{min-width:0;flex-basis:100%}.actions>.btn,.actions>form{flex:1}.actions>form>.btn{width:100%}.btn{min-height:44px}.auth-page{padding:16px}.auth-card{padding:26px 22px}.app-tools{bottom:12px;inset-inline-end:12px}.app-presets button{min-height:40px}input,select,textarea{font-size:16px}.table-wrap{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}
@media print{.app-tools,.app-network,.app-help,.app-skip,.app-presets,.app-caps{display:none!important}}
