:root{color:#243142;background:#f7fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,rgba(156,230,223,.55),transparent 38%),linear-gradient(315deg,rgba(251,125,162,.45),transparent 35%),#f7fafc}.login-panel{width:min(460px,100%);padding:36px;background:#fff;border:1px solid #d8e3ee;border-radius:8px;box-shadow:0 24px 80px #2f455c1f}.login-panel h1,.page h1,.topbar h2{margin:0;color:#243142;letter-spacing:0}.eyebrow,.muted{color:#87919d;margin:0}.eyebrow{text-transform:uppercase;font-size:.78rem;font-weight:800;letter-spacing:0;color:#fb5b8d}.login-form,.panel,.detail-grid,.toolbar,.metric-grid,.dashboard-grid,.exercises-grid,.date-pair,.admin-config-grid,.admin-create-form,.config-table{display:grid;gap:16px}.login-form{margin-top:28px}label{display:grid;gap:8px;color:#536071;font-weight:700}input,select{width:100%;border:1px solid #cfdce8;border-radius:8px;padding:13px 14px;color:#243142;background:#fff;outline:none}input:focus,select:focus{border-color:#2f455c;box-shadow:0 0 0 3px #2f455c1a}textarea{width:100%;min-height:96px;resize:vertical;padding:.6rem .75rem;border:1px solid var(--border-color, #cfdce8);border-radius:8px;background:var(--field-bg, #fff);color:inherit}textarea:focus{outline:none;border-color:var(--primary-color, #2f455c);box-shadow:0 0 0 3px #2f455c1a}textarea:disabled{opacity:.6;cursor:not-allowed}.primary-button,.outline-button,.ghost-button,.danger-button,.icon-button,.link-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:999px;padding:0 22px;font-weight:800;border:1px solid transparent}.primary-button{background:#fb5b8d;color:#fff}.outline-button{background:#fff;color:#2f455c;border-color:#2f455c}.ghost-button{background:transparent;color:#536071}.danger-button{background:#fff1f2;color:#be123c;border-color:#fecdd3}.danger-button:disabled{color:#9ca3af;background:#f8fafc;border-color:#e5e7eb;cursor:not-allowed}.icon-button{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:#fff;border-color:#d8e3ee}.link-button{min-height:auto;padding:4px 0;border:0;border-radius:0;background:transparent;color:#536071;font-size:.82rem;font-weight:800;justify-content:flex-start}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border:1px solid #d8e3ee;border-radius:999px;background:#f8fafc;color:#64748b;font-size:.75rem;font-weight:900;white-space:nowrap}.status-pill.ok{border-color:#bfeadc;background:#f0fbf8;color:#147767}.status-pill.warning{border-color:#f6d78b;background:#fff8e6;color:#915f00}.status-pill.muted{background:#f4f7fa;color:#64748b}.primary-button:disabled{opacity:.6;cursor:not-allowed}.error-text{color:#be123c;font-weight:700}.shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;background:#fff;border-right:1px solid #d8e3ee;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:#2f455c;color:#fff;border-radius:8px;font-weight:900}.brand small{display:block;color:#87919d;margin-top:3px}.sidebar nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 14px;border-radius:8px;color:#536071;font-weight:800}.nav-item.active{color:#243142;background:#eef7f6}.logout{margin-top:auto;justify-content:flex-start}.workspace{min-width:0;overflow-x:clip}.topbar{height:86px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8e3ee;background:#ffffffdb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:sticky;top:0;z-index:2}.avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fef0f5;color:#fb5b8d;font-weight:900}.page{min-width:0;max-width:100%;padding:32px;display:grid;gap:26px}.page-heading,.panel-header,.transactions-hero{display:flex;align-items:center;justify-content:space-between;gap:18px}.compact-field{min-width:min(320px,100%)}.transactions-hero{min-width:0;min-height:130px;padding:20px 28px;background:#fff;border:1px solid #d8e3ee;border-radius:8px}.transactions-hero strong{display:block;margin-top:6px;font-size:clamp(2rem,4vw,3rem)}.transactions-hero small{display:block;margin-top:4px;font-weight:800}.toolbar{grid-template-columns:minmax(220px,360px) 170px auto;align-items:center}.transactions-toolbar{flex:1;min-width:0;grid-template-columns:minmax(0,1.4fr) repeat(6,minmax(0,165px)) auto}.transactions-filter-category{min-width:0}.transactions-filter-category .category-picker{flex:initial}.search-box{position:relative;display:block}.search-box svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#87919d}.search-box input{padding-left:45px;border-radius:999px}.timeline{display:grid;gap:34px;min-width:0}.month-group{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:22px;min-width:0}.month-marker{display:flex;align-items:start;gap:14px;padding-top:12px}.month-marker span{width:54px;height:54px;border-radius:50%;background:#fff4e6;border:1px solid #f7b267}.month-marker h2{margin:9px 0 0;font-size:1.45rem}.month-marker .link-button{margin-top:6px}.month-delete-control{display:grid;gap:8px;margin-top:8px}.month-delete-control label{display:inline-flex;align-items:center;gap:8px;color:#536071;font-size:.85rem;font-weight:800}.month-delete-control input{width:18px;height:18px;margin:0;padding:0;accent-color:#fb5b8d}.month-delete-button{min-height:36px;justify-self:start;padding:0 14px;font-size:.82rem}.transaction-list{display:grid;gap:10px;min-width:0}.transaction-card{min-width:0;max-width:100%;min-height:82px;display:grid;grid-template-columns:72px 42px minmax(0,1.1fr) minmax(0,1.3fr) minmax(0,190px) minmax(80px,110px);align-items:center;gap:14px;padding:0 18px;background:#fff;border:1px solid #d8e3ee;border-radius:8px;transition:border-color .16s ease,box-shadow .16s ease}.transaction-card:hover{border-color:#9cb4c9;box-shadow:0 10px 30px #2f455c14}.inline-select{min-width:0;width:100%;height:44px;padding:0 38px 0 14px;border-radius:999px;background-color:#f8fbfd;font-weight:800}.transaction-category-cell,.transaction-vat-cell{display:flex;align-items:center;gap:8px;min-width:0}.transaction-category-cell{justify-content:flex-start}.transaction-vat-cell{justify-content:flex-end}.transaction-vat-cell .inline-select{flex:1}.quick-assign-button{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;border:1px solid #d8e3ee;border-radius:999px;background:#fff7fb;color:#fb7da2;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .12s ease}.quick-assign-button:hover{border-color:#fb7da2;background:#ffe8f1;transform:scale(1.04)}.category-picker{position:relative;min-width:0;flex:1}.category-picker-trigger{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;padding:6px 38px 6px 14px;border:1px solid #d8e3ee;border-radius:999px;background:#f8fbfd;text-align:left;cursor:pointer;position:relative}.category-picker-trigger:disabled{opacity:.6;cursor:not-allowed}.category-picker.open .category-picker-trigger{border-color:#9cb4c9;box-shadow:0 0 0 3px #9cb4c933}.category-picker-dot{width:10px;height:10px;border-radius:999px;flex:0 0 auto}.category-picker-label{display:grid;gap:2px;min-width:0}.category-picker-label small{color:#64748b;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.category-picker-label strong,.category-picker-placeholder{font-size:.92rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-picker-placeholder{color:#94a3b8}.category-picker-chevron{position:absolute;right:12px;color:#64748b}.category-picker-panel{z-index:1200;display:flex;flex-direction:column;padding:12px;border:1px solid #d8e3ee;border-radius:12px;background:#fff;box-shadow:0 18px 48px #2f455c29;box-sizing:border-box}.category-picker-columns{display:flex;flex:1;min-height:0;gap:0;overflow-x:auto;overflow-y:auto;padding-top:8px}.category-picker-column{flex:0 0 168px;padding:0 10px;border-right:1px solid #e8eef4}.category-picker-column:last-child{border-right:none}.category-picker-column-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:.82rem;font-weight:800;color:#334155}.category-picker-column ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}.category-picker-option{width:100%;text-align:left;padding:8px 10px;border:none;border-radius:8px;background:transparent;font-size:.88rem;font-weight:700;color:#2f455c;cursor:pointer}.category-picker-option:hover,.category-picker-option.active{background:#f1f5f9}.category-picker-option.active{background:#ffe8f1;color:#be185d}.category-picker-option.muted{color:#94a3b8;margin-bottom:4px}.date-cell{text-align:center}.date-cell strong{display:block;font-size:1.1rem}.date-cell span,.transaction-main small{color:#87919d}.transaction-main{min-width:0}.transaction-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted-icon{color:#87919d}.ok-icon{color:#08a88a}.pill{justify-self:start;max-width:100%;padding:8px 12px;border-radius:999px;background:#f3f7fb;color:#3f4d5e;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount{justify-self:end;white-space:nowrap}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.positive{color:#08a88a}.amount-xl{font-size:clamp(2rem,4vw,3.2rem)}.panel,.metric{padding:24px;background:#fff;border:1px solid #d8e3ee;border-radius:8px}.panel h2{margin:0 0 8px}.detail-grid{grid-template-columns:minmax(280px,420px) 1fr;align-items:start}.drop-zone{min-height:170px;display:grid;place-items:center;text-align:center;padding:28px;border:1px dashed #9cb4c9;border-radius:8px;background:#f9fbfd;cursor:pointer}.drop-zone input{display:none}.attachment-list{display:grid;gap:9px}.attachment-button,.attachment-list a{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #d8e3ee;border-radius:8px;background:#fff;color:#243142;font-weight:800;text-align:left}.attachment-button{justify-content:flex-start;width:100%}.attachment-button span,.transaction-attachment-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-attachment-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.transaction-attachment-button{display:inline-flex;align-items:center;gap:6px;max-width:180px;min-height:30px;padding:0 10px;border:1px solid #cfe5df;border-radius:999px;background:#f0fbf8;color:#147767;font-size:.78rem;font-weight:900}.preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:24px;background:#24314294}.preview-dialog{width:min(980px,100%);max-height:min(860px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(280px,1fr) auto;overflow:hidden;background:#fff;border:1px solid #d8e3ee;border-radius:8px;box-shadow:0 28px 90px #121c2a47}.preview-header,.preview-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #d8e3ee}.preview-header h2{max-width:min(680px,70vw);margin:2px 0 0;overflow:hidden;color:#243142;font-size:1.1rem;text-overflow:ellipsis;white-space:nowrap}.preview-body{min-height:0;display:grid;place-items:center;padding:18px;background:#f7fafc}.preview-image{max-width:100%;max-height:calc(100vh - 230px);border-radius:8px;object-fit:contain;background:#fff}.preview-frame{width:100%;height:min(680px,calc(100vh - 230px));border:1px solid #d8e3ee;border-radius:8px;background:#fff}.preview-fallback{display:grid;justify-items:center;gap:12px;color:#536071;font-weight:800}.preview-actions{justify-content:flex-end;border-top:1px solid #d8e3ee;border-bottom:0}.import-panel{min-height:240px}.preview-table{display:grid;gap:8px}.preview-row{display:grid;grid-template-columns:120px minmax(180px,1fr) 140px 90px 110px;gap:12px;align-items:center;padding:12px;border:1px solid #e1e9f0;border-radius:8px}.preview-row.duplicate{opacity:.52}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.metric-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-heading-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px}.dashboard-basis{min-height:24px}.metric{display:grid;gap:12px}.metric span{color:#87919d;font-weight:700}.metric strong{font-size:1.8rem}.chart-panel{height:390px}.dashboard-grid{grid-template-columns:minmax(280px,.9fr) 1.1fr}.category-table{gap:0}.category-table-header,.category-table-row{min-height:58px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,auto) minmax(100px,auto) minmax(100px,auto);gap:18px;align-items:center;border-top:1px solid #e1e9f0}.category-table-header{min-height:42px;color:#87919d;font-size:.78rem;font-weight:900;text-transform:uppercase}.category-table-header span:not(:first-child),.category-table-row strong{text-align:right}.category-table-row>span{min-width:0}.category-table-row>span strong,.category-table-row>span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-table-row>span small{margin-top:3px;color:#87919d;font-weight:700}.category-table>h2+.category-table-header{border-top:0}.exercises-grid{grid-template-columns:minmax(280px,420px) 1fr;align-items:start}.date-pair{grid-template-columns:1fr 1fr}.panel-title-row{display:flex;align-items:center;gap:10px}.panel-title-row h2,.exercise-list h2{margin:0}.exercise-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;border-top:1px solid #e1e9f0}.exercise-row:first-of-type{border-top:0}.exercise-row>strong{min-width:0;overflow-wrap:anywhere}.exercise-row span{flex:0 0 auto;color:#87919d;font-weight:700}.exercise-edit-dialog{width:min(560px,100%);max-height:min(680px,calc(100vh - 48px));overflow:hidden;background:#fff;border:1px solid #d8e3ee;border-radius:8px;box-shadow:0 28px 90px #121c2a47}.exercise-edit-form{display:grid;gap:16px;padding:20px}.exercise-edit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.opening-preview-panel{margin-top:20px}.opening-preview-card,.opening-lines{display:grid;gap:10px}.opening-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:center}.opening-summary span:not(.status-pill){display:grid;gap:4px;padding:12px;border:1px solid #e1e9f0;border-radius:8px;background:#f8fafc}.opening-summary small,.opening-line small{color:#87919d;font-weight:700}.opening-summary strong,.opening-line strong{color:#243142}.opening-line{display:grid;grid-template-columns:minmax(0,1fr) 120px 120px;gap:12px;align-items:center;min-height:48px;padding:8px 0;border-top:1px solid #e1e9f0}.opening-line>span:first-child{display:grid;gap:3px;min-width:0}.opening-line>span:not(:first-child){text-align:right;font-weight:800;color:#536071}.opening-line-header{min-height:32px;color:#87919d;font-size:.78rem;font-weight:800;text-transform:uppercase}.opening-actions{display:flex;flex-wrap:wrap;gap:10px}.admin-users-page{gap:20px}.admin-user-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;margin-top:18px}.admin-user-form .password-strength,.admin-user-form .error-text,.admin-user-form .primary-button,.user-edit-form footer{grid-column:1 / -1}.admin-user-form .primary-button{justify-self:start}.admin-users-list{overflow-x:auto}.admin-users-header,.admin-user-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.2fr) 110px 150px 96px;align-items:center;gap:14px;min-width:830px}.admin-users-header{color:#87919d;font-size:.78rem;font-weight:900;text-transform:uppercase}.admin-user-row{min-height:62px;border-top:1px solid #e1e9f0}.admin-user-row strong,.admin-user-row span{min-width:0;overflow-wrap:anywhere}.admin-user-cell{display:inline-flex;align-items:flex-start;flex-direction:column;gap:4px;justify-self:start}.admin-user-cell .status-pill{justify-self:start}.admin-user-cell small{font-size:.72rem;font-weight:800}.admin-user-actions{display:flex;justify-content:flex-end;gap:8px}.user-edit-dialog{width:min(620px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden auto;background:#fff;border:1px solid #d8e3ee;border-radius:8px;box-shadow:0 28px 90px #121c2a47}.user-edit-form{padding:20px}.password-change-panel{max-width:620px}.password-change-form{display:grid;gap:16px;margin-top:20px}.password-strength{display:grid;gap:8px}.password-strength-header{display:flex;justify-content:space-between;gap:12px;color:#64748b;font-size:.84rem;font-weight:900}.password-strength-track{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.password-strength-track span{height:7px;border-radius:999px;background:#d8e3ee}.password-strength-track span.active{background:#34d399}.password-checks{display:flex;flex-wrap:wrap;gap:6px}.password-checks span{padding:5px 8px;border:1px solid #d8e3ee;border-radius:999px;color:#87919d;font-size:.76rem;font-weight:800}.password-checks span.valid{border-color:#bfeadc;background:#f0fbf8;color:#147767}.admin-config-grid{grid-template-columns:1fr 1fr;align-items:start}.admin-config-panel h2{margin:0}.admin-tab-panel{display:grid;gap:18px}.tabs{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px;border:1px solid #d8e3ee;border-radius:8px;background:#f8fbfd}.tab-button{min-height:38px;padding:0 18px;border:0;border-radius:6px;background:transparent;color:#536071;font-weight:900}.tab-button.active{background:#fff;color:#243142;box-shadow:0 4px 16px #2f455c14}.admin-create-form{grid-template-columns:repeat(4,minmax(120px,1fr));align-items:center}.admin-create-form .primary-button{justify-self:start}.vat-create-form{grid-template-columns:minmax(120px,1fr) 120px 110px auto}.config-table{gap:8px}.config-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) 56px minmax(130px,.9fr) minmax(90px,.7fr) minmax(140px,1fr) minmax(120px,.9fr) 110px 44px 44px 44px;gap:8px;align-items:center;padding:8px;border:1px solid #e1e9f0;border-radius:8px}.vat-config-row{grid-template-columns:minmax(120px,1fr) 110px 110px 44px 44px 44px}.category-read-row,.vat-read-row{grid-template-columns:minmax(180px,1fr) 180px 110px 44px 44px}.config-main-cell{display:flex;align-items:center;gap:12px;min-width:0}.config-main-cell div{min-width:0}.config-main-cell strong,.config-main-cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-main-cell small{margin-top:3px;color:#87919d;font-weight:700}.color-swatch{width:22px;height:22px;flex:0 0 22px;border-radius:50%;border:1px solid #cfdce8}.default-badge{justify-self:start;padding:6px 10px;border-radius:999px;background:#eef7f6;color:#087f70;font-size:.82rem;font-weight:900}.category-status,.accounting-state{display:inline-flex;align-items:center;justify-self:start;gap:7px;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:900}.category-status.ok,.accounting-state.ok{background:#eaf8f2;color:#087f70}.category-status.warning,.accounting-state.warning,.category-status.manual{background:#fff7ed;color:#b45309}.category-status.blocked{background:#fff1f2;color:#be123c}.company-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px}.attachment-editor{display:grid;gap:10px;padding:12px;border:1px solid #e1e9f0;border-radius:8px;background:#f9fbfd}.attachment-editor .field-hint{display:block;margin-top:4px;font-size:.8rem;font-weight:400;color:#64748b;line-height:1.35}.attachment-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.transaction-title-link{color:inherit;text-decoration:none}.transaction-title-link:hover strong{text-decoration:underline}.muted-link{color:#64748b;text-decoration:none}.muted-link:hover{text-decoration:underline}.ghost-button.danger-text{color:#b42318}.detail-heading-title{display:flex;align-items:flex-start;gap:12px;min-width:0}.detail-heading-title h1{margin:0}.transaction-nav-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.transaction-nav-link{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:8px;min-height:38px;width:260px;max-width:100%;padding:7px 12px;border:1px solid #d8e3ee;border-radius:999px;background:#fff;color:#2f455c;font-size:.82rem;font-weight:900}.transaction-nav-link>span{display:grid;min-width:0;line-height:1.1}.transaction-nav-icon{width:18px;height:18px;place-items:center}.transaction-nav-icon svg{width:16px;height:16px;flex:0 0 16px;stroke-width:2.3}.transaction-nav-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-nav-link small{margin-top:2px;color:#87919d;font-size:.74rem;font-weight:800}.transaction-nav-summary{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:6px;align-items:center;min-width:0}.transaction-nav-summary span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-nav-summary b{color:#536071;font-weight:900;white-space:nowrap}.transaction-nav-link.disabled{color:#9ca3af;background:#f8fafc;cursor:not-allowed}.detail-heading .back-button{flex-shrink:0;margin-top:2px}.panel-heading-row,.accounting-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.accounting-actions{justify-content:flex-start;flex-wrap:wrap}.accounting-alert{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:8px;font-weight:800}.accounting-alert.warning{background:#fff7ed;color:#b45309}.accounting-alert.blocked{background:#fff1f2;color:#be123c}.accounting-lines{display:grid;border:1px solid #e1e9f0;border-radius:8px;overflow:hidden}.accounting-line{display:grid;grid-template-columns:minmax(180px,1fr) 140px 140px;gap:14px;align-items:center;min-height:54px;padding:10px 14px;border-top:1px solid #e1e9f0}.accounting-line:first-child{border-top:0}.accounting-line.header{min-height:38px;background:#f8fbfd;color:#87919d;font-size:.78rem;font-weight:900;text-transform:uppercase}.accounting-line>strong{text-align:right}.accounting-line small{display:block;margin-top:3px;color:#87919d;font-weight:700}.fec-errors{display:grid;gap:8px}.export-period{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.export-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.export-card{display:flex;align-items:flex-start;gap:14px;padding:18px;background:#fff;border:1px solid #e1e9f0;border-radius:12px}.export-card-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#eef4fb;color:#2f455c;flex-shrink:0}.export-card-body{flex:1;min-width:0}.export-card-body h3{margin:0 0 4px;font-size:1rem}.export-card-body p{margin:0;font-size:.85rem}.export-card-flag{display:inline-block;margin-top:8px;font-size:.76rem;font-weight:800;color:#be123c}.export-card .primary-button{flex-shrink:0}.config-row input[type=color],.admin-create-form input[type=color]{width:48px;height:44px;padding:4px}.inline-checkbox{display:inline-flex;align-items:center;gap:8px;margin:0;color:#536071;font-size:.9rem;font-weight:800}.inline-checkbox input{width:18px;height:18px;margin:0;padding:0;accent-color:#fb5b8d}.icon-action{width:44px;min-height:44px;padding:0}@media(max-width:1060px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #d8e3ee}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.logout{margin-top:0}.transactions-hero,.page-heading,.panel-header{align-items:stretch;flex-direction:column}.toolbar,.transactions-toolbar,.metric-grid,.metric-grid-2,.metric-grid-3,.metric-grid-4,.dashboard-grid,.exercises-grid,.admin-config-grid,.admin-create-form,.vat-create-form,.company-settings-grid,.accounting-line,.config-row,.vat-config-row,.category-read-row,.vat-read-row,.date-pair,.detail-grid,.month-group{grid-template-columns:1fr}.transaction-card{grid-template-columns:56px 42px minmax(0,1fr)}.transaction-card .transaction-category-cell,.transaction-card .transaction-vat-cell,.transaction-card .amount{grid-column:3}.transaction-attachment-button{max-width:min(260px,100%)}}@media(max-width:640px){.page,.topbar{padding-left:16px;padding-right:16px}.sidebar nav{grid-template-columns:1fr 1fr}.transaction-card{padding:12px;grid-template-columns:48px 40px minmax(0,1fr)}.transaction-card .transaction-category-cell,.transaction-card .transaction-vat-cell,.transaction-card .amount{grid-column:1 / -1;width:100%;justify-self:stretch}.preview-row{grid-template-columns:1fr}.category-table-header,.category-table-row{grid-template-columns:minmax(0,1fr) auto}.category-table-header span:nth-child(2),.category-table-header span:nth-child(3),.category-table-row>strong:nth-child(2),.category-table-row>strong:nth-child(3){display:none}.preview-backdrop{padding:10px}.preview-dialog{max-height:calc(100vh - 20px)}.preview-header,.preview-actions{align-items:stretch;flex-direction:column}.preview-header{align-items:center;flex-direction:row}.preview-header h2{max-width:calc(100vw - 120px)}.preview-actions .outline-button,.preview-actions .primary-button{width:100%}}.fixed-assets-layout{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:18px;align-items:start}.fixed-assets-page,.fixed-assets-layout,.fixed-assets-sidebar,.fixed-asset-detail,.fixed-asset-create,.fixed-asset-list,.disposal-panel,.depreciation-preview-panel{min-width:0}.fixed-assets-sidebar,.fixed-asset-detail,.fixed-asset-create,.fixed-asset-list,.disposal-panel,.depreciation-preview-panel{display:grid;gap:16px}.fixed-assets-page label,.fixed-assets-page input,.fixed-assets-page select,.fixed-assets-page textarea,.fixed-assets-page .panel,.fixed-assets-page .primary-button,.fixed-assets-page .outline-button{min-width:0}.fixed-assets-page .date-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}.fixed-asset-create .date-pair{grid-template-columns:1fr}.fixed-asset-create .primary-button,.fixed-asset-detail>.panel>.outline-button{width:100%}.fixed-assets-page input[type=date]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.fixed-asset-row,.depreciation-preview-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:12px;align-items:center;width:100%;padding:12px;border:1px solid #d8e3ee;border-radius:8px;background:#fff;color:inherit;text-align:left}.fixed-asset-row>strong{justify-self:end;white-space:nowrap}.depreciation-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,auto) minmax(0,max-content);gap:12px;align-items:center;width:100%;padding:12px;border:1px solid #d8e3ee;border-radius:8px;background:#fff;color:inherit;text-align:left}.fixed-asset-row.active{border-color:#2f455c;box-shadow:inset 4px 0 #45c4b8}.fixed-asset-row span,.depreciation-preview-row span{min-width:0}.fixed-asset-row span{overflow:hidden}.depreciation-main,.depreciation-entry-header>div:first-child,.preview-entry h3{min-width:0}.fixed-asset-row small,.depreciation-main small,.depreciation-preview-row small{display:block;margin-top:4px;color:#87919d;font-weight:600}.fixed-asset-row strong,.fixed-asset-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.depreciation-main strong,.disposal-entry-header h3,.preview-entry h3{overflow-wrap:anywhere}.depreciation-summary,.depreciation-actions,.disposal-entry-header{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.depreciation-summary,.depreciation-actions{justify-content:flex-end}.asset-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.asset-metric{display:grid;gap:4px;padding:12px;border:1px solid #d8e3ee;border-radius:8px;background:#f7fafc}.asset-metric small{color:#87919d;font-weight:700}.checkbox-row{display:flex;gap:10px;align-items:center}.checkbox-row input{width:auto}.depreciation-lines,.depreciation-preview-table,.disposal-preview,.preview-entry{display:grid;gap:12px}.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.small-action-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid transparent;border-radius:999px;padding:0 13px;font-size:.82rem;font-weight:900;white-space:nowrap}.small-action-button.primary{background:#fb5b8d;color:#fff}.small-action-button.danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.small-action-button:disabled{opacity:.6;cursor:not-allowed}.accounting-lines.compact{gap:6px}.disposal-entry-list{display:grid;gap:14px}.disposal-entry-card{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid #d8e3ee;border-radius:8px;background:#f8fbfd}.disposal-entry-header{justify-content:space-between}.disposal-entry-header h3{margin:0;color:#243142}.preview-entry h3{margin:0;font-size:1rem;color:#243142}@media(max-width:1040px){.fixed-assets-layout{grid-template-columns:1fr}.fixed-asset-create .date-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}}@media(max-width:720px){.fixed-asset-row,.depreciation-row,.depreciation-preview-row{grid-template-columns:1fr}.depreciation-summary,.depreciation-actions,.disposal-entry-header{justify-content:flex-start}.depreciation-actions .small-action-button,.disposal-entry-card .small-action-button{flex:1 1 180px}}
