.modern-portal{--workspace-line:#dce5df;--workspace-muted:#586b61;--workspace-accent:#236b49}.modern-portal .workspace-heading{gap:16px;margin-bottom:22px}.modern-portal .workspace-heading h1{letter-spacing:-.025em;font-size:clamp(24px,2.2vw,32px);line-height:1.2}.modern-portal.office-layout .agenda-content{padding-top:26px}.modern-portal .section-heading:empty{display:none}.modern-portal .register-toolbar{align-items:end;gap:12px;margin-bottom:12px}.modern-portal .register-toolbar label{min-width:0}.modern-portal .register-toolbar input,.modern-portal .register-toolbar select{min-height:42px}.modern-portal .register-toolbar .more-filters{margin:0}.modern-portal .more-filters>summary,.saved-views>summary{border:1px solid var(--workspace-line);color:#244e38;cursor:pointer;background:#fff;border-radius:10px;align-items:center;min-height:42px;padding:10px 14px;font-size:13px;font-weight:600;list-style:none;display:flex}.more-filters>summary:after,.saved-views>summary:after{content:"⌄";margin-left:14px}.more-filters[open]>summary:after,.saved-views[open]>summary:after{transform:rotate(180deg)}.more-filters[open]>summary,.saved-views[open]>summary{border-color:#7eaa8e;box-shadow:0 0 0 2px #d8eade}.modern-portal .filter-popover{z-index:12;max-height:min(60dvh,480px);overflow:auto}.register-options{min-width:0;color:var(--workspace-muted);flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0 10px;font-size:13px;display:flex}.register-count{white-space:nowrap;margin-right:auto}.register-count strong{color:#203e2e;font-variant-numeric:tabular-nums}.density-switch{border:1px solid var(--workspace-line);background:#f0f4f1;border-radius:10px;padding:3px;display:inline-flex}.density-switch button{color:#54685b;cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:30px;padding:7px 12px;font-size:12px}.density-switch button[aria-pressed=true]{color:#205d3e;background:#fff;font-weight:650;box-shadow:0 1px 3px #193c241a}.saved-views{position:relative}.saved-views>summary{min-height:38px;padding:8px 12px;font-size:12px}.saved-views-popover{z-index:14;border:1px solid var(--workspace-line);color:#294d37;background:#fff;border-radius:14px;gap:12px;width:310px;max-width:calc(100vw - 32px);max-height:60dvh;padding:18px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 14px 44px #18352420}.saved-views-popover ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.saved-views-popover li{gap:6px;display:flex}.saved-views-popover li button{text-align:left;color:#244e38;overflow-wrap:anywhere;cursor:pointer;background:#f3f7f4;border:0;border-radius:8px;flex:1;padding:9px 10px}.saved-views-popover li .remove-view{text-align:center;flex:0 0 34px}.saved-views-popover label{gap:6px;font-size:12px;display:grid}.saved-views-popover .subtle-note{margin:0;line-height:1.5}.active-filters{flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0;font-size:12px;display:flex}.filter-chip{overflow-wrap:anywhere;color:#24583c;text-align:left;cursor:pointer;background:#eaf3ed;border:1px solid #ccdcd1;border-radius:7px;align-items:center;gap:10px;max-width:100%;padding:6px 9px;line-height:1.5;display:inline-flex}.filter-chip>span{font-size:17px;line-height:1}.active-filters .text-link{color:#40664d;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:8px;text-decoration:underline}.modern-portal .register-scroll{border:1px solid var(--workspace-line);border-radius:12px;max-height:none;scroll-margin-top:12px;overflow:visible}.modern-portal .register-scroll table{border:0;margin:0}.modern-portal .register-scroll .invoice-table{table-layout:fixed;width:100%;min-width:0}.modern-portal .register-scroll th,.modern-portal .register-scroll td{overflow-wrap:anywhere;min-width:0}.modern-portal .register-scroll th:has(input[type=checkbox]){width:48px}.modern-portal .register-scroll th:nth-child(2){width:26%}.modern-portal .register-scroll .sort-heading{white-space:normal}.modern-portal .register-scroll th{z-index:2;box-shadow:0 1px 0 var(--workspace-line);color:#4c6656;background:#f1f5f2;padding:12px 16px;font-weight:650;position:sticky;top:0}.modern-portal .intake-office-entry{margin:0 0 18px}.modern-portal .intake-office-entry>a{border:1px solid var(--workspace-line);background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:13px 16px;font-size:13px;line-height:1.5;display:flex}.modern-portal .intake-office-entry strong{color:#24583c}.modern-portal .intake-office-entry span{color:var(--workspace-muted)}.modern-portal .intake-office-entry span[aria-hidden]{margin-left:auto}.sort-heading{text-align:left;width:100%;min-height:24px;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.sort-heading span{color:#799180;margin-left:auto;font-size:14px}[aria-sort=ascending] .sort-heading,[aria-sort=descending] .sort-heading,[aria-sort=ascending] .sort-heading span,[aria-sort=descending] .sort-heading span{color:#215f3f}.modern-portal .register-workspace[data-density=compact] .invoice-table td{padding:11px 16px}.modern-portal .register-workspace[data-density=comfortable] .invoice-table td{padding:18px 16px}.modern-portal .register-workspace .invoice-table td{font-size:13px;line-height:1.5}.modern-portal .register-workspace .invoice-table td small{color:#65766b;font-size:12px}.modern-portal .register-workspace .invoice-table .row-link{text-underline-offset:3px;font-weight:650;line-height:1.5}.modern-portal .register-workspace .money-cell{font-variant-numeric:tabular-nums;font-weight:650}.modern-portal .register-table tr.is-selected td{background:#e8f3ec}.modern-portal .register-table tr.is-selected td:first-child{box-shadow:inset 3px 0 #347852}.modern-portal .register-table tr.is-new td{animation:2.4s ease-out register-new-row}@keyframes register-new-row{0%,25%{background:#daf0e2}to{background:0 0}}.modern-portal .selection-toolbar{background:#eaf4ed;border:1px solid #bed8c7;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:12px 16px;display:flex}.modern-portal .selection-toolbar strong{margin-right:auto}.modern-portal .state-badge,.modern-portal .pill{line-height:1.45}.modern-portal .compact-empty{text-align:center;padding:32px 20px}.modern-portal .compact-empty h3{margin-bottom:8px;font-size:17px}.modern-portal .pagination{flex-wrap:wrap;gap:12px;padding-top:12px;font-size:12px}.modern-portal .pagination>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.modern-portal .detail-drawer{padding:0;display:none;overflow:hidden}.modern-portal .detail-drawer[open]{flex-direction:column;display:flex}.modern-portal .drawer-heading{border-bottom:1px solid var(--workspace-line);flex-shrink:0;align-items:center;gap:16px;margin:0;padding:20px 24px}.modern-portal .drawer-heading h2{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:21px;line-height:1.3}.modern-portal .drawer-content{overscroll-behavior:contain;grid-auto-rows:max-content;align-content:start;min-height:0;padding:24px;scroll-padding:24px;overflow:auto}.detail-navigation{flex-shrink:0;align-items:center;gap:6px;display:flex}.detail-navigation button{border:1px solid var(--workspace-line);color:#285c3e;cursor:pointer;background:#f4f7f5;border-radius:8px;width:34px;height:34px;font-size:18px}.detail-navigation button:disabled{opacity:.35;cursor:default}.detail-navigation span{text-align:center;color:#5e7164;font-variant-numeric:tabular-nums;min-width:50px;font-size:12px}.copy-value{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:7px;display:flex}.copy-value>span:first-child{min-width:0}.copy-button{color:#416c4f;cursor:pointer;background:#f5f8f5;border:1px solid #dbe6dd;border-radius:6px;min-width:28px;min-height:28px;font-size:17px}.copy-feedback{color:#2b7149;width:100%;font-size:12px;font-weight:400}.copy-feedback:empty{display:none}.resource-refresh{color:#50715c;align-items:center;gap:8px;margin:8px 0;font-size:12px;display:flex}.resource-refresh:before{content:"";background:#4f9467;border-radius:50%;width:7px;height:7px;animation:1.8s ease-in-out infinite portal-skeleton-pulse;display:block}.search-group-title{color:#657769;text-transform:uppercase;letter-spacing:.07em;margin:20px 0 8px;font-size:11px;font-weight:700}.search-results a{min-width:0}.search-results a>span{overflow-wrap:anywhere;min-width:0}.search-results a small{color:#68796d;margin-top:3px;font-size:12px;font-weight:400;display:block}.search-results a:focus-visible{outline-offset:-2px;background:#eaf3ed;outline:2px solid #3c8156}.search-scope{color:#657769;margin:10px 0;font-size:12px}.modern-portal :is(.sort-heading,.filter-chip,.density-switch button,.detail-navigation button,.copy-button,summary):focus-visible{outline-offset:3px;outline:3px solid #5a9470}@media (max-width:900px){.modern-portal .drawer-heading{padding:16px 20px}.modern-portal .drawer-content{padding:20px}.modern-portal .register-toolbar{flex-wrap:wrap}.modern-portal .register-toolbar>label{flex:150px}}@media (max-width:640px){.modern-portal.office-layout .agenda-content{padding-top:18px}.modern-portal .workspace-heading{gap:10px;margin-bottom:18px}.modern-portal .register-toolbar>label:first-child{flex-basis:100%}.modern-portal .register-toolbar>label{flex-basis:calc(50% - 12px)}.modern-portal .register-toolbar input,.modern-portal .register-toolbar select{width:100%;min-height:44px}.modern-portal .register-options{gap:10px}.register-count{flex-basis:100%}.density-switch button{min-height:38px}.saved-views{margin-left:auto}.saved-views>summary{min-height:44px}.filter-chip{min-height:36px}.modern-portal .filter-popover{max-width:calc(100vw - 36px);left:auto;right:0}.modern-portal .register-scroll{scrollbar-gutter:auto;background:0 0;border:0;max-height:none;overflow:visible}.modern-portal .register-scroll table,.modern-portal .register-scroll tbody{width:100%;min-width:0;display:block}.modern-portal .register-scroll thead{margin:0 0 12px;display:block}.modern-portal .register-scroll thead tr{flex-wrap:wrap;gap:4px;display:flex}.modern-portal .register-scroll th{width:auto;min-width:0;box-shadow:none;background:0 0;border:0;padding:4px 6px;font-size:10px;display:block;position:static}.modern-portal .register-scroll th:has(input){align-items:center;min-width:34px;display:flex}.modern-portal .register-scroll th:has(input):after{content:"Výběr";margin-left:5px}.sort-heading{gap:5px;min-height:34px}.modern-portal .register-scroll tbody tr{border:1px solid var(--workspace-line);background:#fff;border-radius:12px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;padding:16px;display:grid;position:relative;box-shadow:0 2px 4px #193b2005}.modern-portal .register-workspace .register-scroll tbody td{overflow-wrap:anywhere;white-space:normal;border:0;width:auto;min-width:0;max-width:100%;padding:0;font-size:13px;display:block;box-shadow:none!important;background:0 0!important}.modern-portal .register-scroll td[data-label]:before{content:attr(data-label);color:#718173;letter-spacing:.03em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.modern-portal .register-scroll .record-cell{border-bottom:1px solid #edf1ed;grid-column:1/-1;padding-bottom:10px}.modern-portal .register-scroll tr:has(.row-selection) .record-cell{padding-right:34px}.modern-portal .register-scroll .row-selection{width:30px;position:absolute;top:14px;right:14px}.modern-portal .register-scroll .row-selection:before{display:none}.modern-portal .register-scroll .row-selection input{width:20px;height:20px;margin:3px}.modern-portal .register-table tr.is-selected{background:#edf7f0;border-color:#75a989}.modern-portal .register-table tr.is-new{animation:2.4s ease-out register-new-row}.modern-portal .register-workspace[data-density=compact] .register-scroll tbody tr{gap:8px;padding:12px}.modern-portal .register-scroll .money-cell{text-align:left;font-size:15px!important}.modern-portal .register-scroll .state-badge,.modern-portal .register-scroll .pill{white-space:normal;min-width:0}.modern-portal .detail-drawer{border-radius:16px;width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);margin:auto}.modern-portal .drawer-heading{flex-wrap:wrap;gap:8px;padding:14px}.modern-portal .drawer-heading h2{flex-basis:calc(100% - 52px);order:0;font-size:18px}.modern-portal .drawer-heading .drawer-close{order:1;width:40px;height:40px}.detail-navigation{border-top:1px solid #e7eee8;order:2;justify-content:center;width:100%;padding-top:8px}.detail-navigation button{width:44px;height:38px}.detail-navigation span{min-width:70px}.modern-portal .drawer-content{padding:14px;padding-bottom:max(20px,env(safe-area-inset-bottom));scroll-padding-bottom:90px}.modern-portal .record-summary{padding:16px}.modern-portal .record-tab-panel{padding:18px 14px}.modern-portal .record-actions{flex-wrap:wrap;padding:12px 14px;position:static}.modern-portal .detail-facts{grid-template-columns:1fr;gap:5px}.modern-portal .detail-facts dd{overflow-wrap:anywhere;margin-bottom:14px}.copy-button{min-width:38px;min-height:38px}.modern-portal .pagination>div{width:100%}.modern-portal .pagination .button{min-height:40px}}@media (prefers-reduced-motion:reduce){.modern-portal .register-table tr.is-new,.modern-portal .register-table tr.is-new td,.resource-refresh:before{animation:none}}.modern-portal .register-workspace{gap:12px}.modern-portal .register-workspace>.register-toolbar,.modern-portal .register-workspace>.register-options,.modern-portal .register-workspace>.active-filters{margin:0}.modern-portal.office-layout .agenda-workspace{gap:18px}.modern-portal.office-layout .workspace-heading{margin-bottom:0}.modern-portal.office-layout .register-toolbar{padding:12px}@media (max-width:640px){.modern-portal .register-scroll td.row-selection:before{display:none}.saved-views[open]{flex-basis:100%}.saved-views-popover{width:100%;max-width:none;max-height:none;margin-top:8px;position:static;box-shadow:0 5px 16px #1835240d}.modern-portal .more-filters[open]{width:100%}.modern-portal .filter-popover{width:100%;max-width:none;max-height:none;margin-top:8px;position:static}.modern-portal .record-summary{grid-template-columns:1fr 1fr;gap:14px;display:grid}.modern-portal .record-summary>div:first-child{grid-column:1/-1}.modern-portal .record-summary .record-summary-value{margin:0}.modern-portal .record-summary .record-statuses{gap:8px;margin:0;display:grid}.modern-portal .record-summary .record-summary-value strong{font-size:24px}.modern-portal .record-summary .record-summary-value{grid-column:1/-1}.modern-portal .record-summary .record-summary-value strong{white-space:nowrap;font-size:clamp(19px,6vw,24px)}.modern-portal .record-summary .record-statuses{grid-column:1/-1;grid-template-columns:1fr 1fr}}.unit-invitations{max-width:54rem;margin:1.25rem 0 2rem}.unit-invitations>h2{margin:0 0 .65rem;font-size:1rem}.unit-invite{border:1px solid #c8d7d1;background:#fff;border-inline-start:4px solid #216852;border-radius:.8rem;margin-bottom:.8rem;padding:clamp(1rem,3vw,1.6rem)}.unit-invite header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem 1rem;display:flex}.unit-invite header h3{margin:0;font-size:1.28rem}.unit-invite header small,.unit-invite dt{color:#495e56}.unit-invite dl{border-block:1px solid #e0e8e3;margin:1rem 0;padding:.7rem 0}.unit-invite dl div{grid-template-columns:8rem 1fr;gap:.7rem;padding:.24rem 0;display:grid}.unit-invite dd{overflow-wrap:anywhere;margin:0}.unit-invite footer{justify-content:flex-end;display:flex}@media (max-width:560px){.unit-invite dl div{grid-template-columns:1fr;gap:.1rem;margin:.3rem 0}.unit-invite footer button{width:100%}}.report-ledger{min-width:0;padding:1rem 0}.report-ledger h3{margin-block:.9rem .3rem}.report-switch{border:1px solid #d6e1db;border-radius:.65rem;flex-wrap:wrap;gap:.25rem;padding:.24rem;display:inline-flex}.report-switch button{font:inherit;cursor:pointer;background:0 0;border:0;padding:.45rem .75rem}.report-switch button[aria-pressed=true]{color:#fff;background:#194e40;border-radius:.4rem}.imported-finance .register-table tbody tr:hover,.imported-finance .register-table tbody tr:focus-within{background:#eff6f3}.imported-finance td strong{font-weight:600}.imported-finance td small{color:#52645c;display:block}.movement-direction{white-space:nowrap;font-size:.84rem;font-weight:600;display:inline-flex}.movement-direction[data-flow=income],.movement-link{color:#225e48}.movement-direction[data-flow=expense]{color:#824a38}.movement-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.client-unit-list{gap:.6rem;max-width:54rem;display:grid}.client-unit-list>a{color:#163f33;background:#fff;border:1px solid #cedbd4;border-radius:.65rem;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;text-decoration:none;display:flex}.client-unit-list>a:hover,.client-unit-list>a:focus-visible{background:#f3f8f5;border-color:#38745e}.client-unit-list strong,.client-unit-list small{display:block}.client-unit-list small{color:#546960}.client-unit-list>a>span{white-space:nowrap;font-size:.85rem}.report-balances{gap:.5rem;margin:.85rem 0;display:grid}.report-balances dl{background:#f2f6f3;border-inline-start:3px solid #417965;border-radius:.4rem;flex-wrap:wrap;gap:1rem 3rem;margin:0;padding:.85rem 1rem;display:flex}.report-balances dt{color:#495e56;font-size:.82rem}.report-balances dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.12rem;font-weight:650}.work-filters{border-bottom:1px solid #d6dfd9;flex-wrap:wrap;gap:.35rem .7rem;display:flex}.work-filters button{color:#4c5c55;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:.45rem;padding:.55rem .25rem;display:inline-flex}.work-filters button[aria-pressed=true]{color:#164f3d;border-bottom-color:#267450;font-weight:650}.work-filters button span{color:#41574a;font-variant-numeric:tabular-nums;background:#eaf0eb;border-radius:.3rem;padding:.03rem .35rem;font-size:.78rem}.work-filters button:focus-visible{outline-offset:2px;outline:2px solid #267450}.quantity-cell{font-variant-numeric:tabular-nums;text-align:center}.report-ledger tfoot{border-top:2px solid #bdcec4;font-weight:650}.modern-portal .register-workspace .invoice-list .invoice-partner{color:#254736;text-align:left;overflow-wrap:anywhere;font-size:14px;font-weight:700}.modern-portal .invoice-list .invoice-reference{font-variant-numeric:tabular-nums}@media (min-width:641px){.modern-portal .register-scroll .invoice-list{table-layout:auto}.modern-portal .register-scroll .invoice-list th:nth-child(2){width:auto}:is(.modern-portal .register-scroll .invoice-list td:has(.row-link),.modern-portal .register-scroll .invoice-list td:has(.state-badge),.modern-portal .register-scroll .invoice-list td:has(.pill)){min-width:0}.modern-portal .register-scroll .invoice-list td small{line-height:1.3}}@media screen{.modern-portal .table-container :is(.invoice-table,.register-table){--table-rule:#dfe7e2;--table-ink:#203c31;font-variant-numeric:lining-nums tabular-nums}.modern-portal .table-container :is(.invoice-table,.register-table) tbody .row-link{color:var(--table-ink);text-align:start;text-underline-offset:.2em;font-weight:680}.modern-portal .table-container :is(.invoice-table,.register-table) tbody td small{color:#56685f;margin-block-start:.22rem;line-height:1.35}.modern-portal .table-container .money-cell,.modern-portal .table-container .table-result{font-weight:650}.modern-portal .table-container .table-reference{font-variant-numeric:tabular-nums}.modern-portal .table-container .clickable-row :focus-visible{outline-offset:2px;outline:2px solid #337a60}}@media screen and (min-width:641px){.modern-portal .table-container:has(>:is(.invoice-table,.register-table)){background:#fff;border:1px solid #d6e1da;border-radius:10px}.modern-portal .table-container :is(.invoice-table,.register-table) thead th{color:#40594d;background:#eaf0ed;border-bottom:1px solid #cbd8d0;font-size:.76rem;font-weight:650;line-height:1.35}.modern-portal .table-container :is(.invoice-table,.register-table) tbody :is(td,th){border-bottom:1px solid var(--table-rule);vertical-align:middle}.modern-portal .table-container :is(.invoice-table,.register-table):not(.period-cards) tbody tr:nth-child(2n):not(.is-selected):not(:has(:checked))>:is(td,th){background-color:#f8faf9}.modern-portal .table-container :is(.invoice-table,.register-table):not(.period-cards) tbody .clickable-row:is(:hover,:focus-within):not(.is-selected):not(:has(:checked))>td{background-color:#ebf4ee}.modern-portal .table-container :is(.invoice-table,.register-table) tfoot :is(th,td){background:#eaf2ed;border-top:2px solid #a8c0b0;padding:.75rem 1rem}.modern-portal .register-scroll .register-table:not(.invoice-list){table-layout:auto}.modern-portal .register-scroll .register-table:not(.invoice-list) th:nth-child(2){width:auto}.modern-portal .table-container .quantity-cell{text-align:start}}@media screen and (max-width:640px){.modern-portal .table-container:has(>.summary-register){background:0 0;border:0;overflow:visible}.modern-portal .table-container .summary-register,.modern-portal .summary-register tbody{width:100%;min-width:0;display:block}.modern-portal .summary-register thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.modern-portal .summary-register tbody tr{background:#fff;border:1px solid #d6e1da;border-radius:.65rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;margin-block-end:.55rem;padding:.85rem 1rem;display:grid}.modern-portal .table-container .summary-register tbody td{text-align:start;white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0}.modern-portal .summary-register td[data-label]:before{content:attr(data-label);color:#506358;font-size:.73rem;display:block}.modern-portal .summary-register .summary-title{grid-area:1/1/auto/-1}}@media screen and (min-width:641px){.modern-portal .register-scroll .invoice-list .sort-heading{overflow-wrap:normal;gap:.25rem}.modern-portal .register-scroll .invoice-list td .state-badge{white-space:nowrap}}@media screen and (min-width:641px) and (max-width:1200px){.modern-portal .register-workspace .register-scroll .invoice-list :is(th,td){padding-inline:.6rem}}.modern-portal .portal-footer .assistant-dock:not(:has(.assistant-chat)){margin-inline-start:auto;position:static}.modern-portal .portal-footer{flex-wrap:wrap;align-items:center;gap:.75rem}.modern-portal .portal-footer .assistant-launcher{box-shadow:none;border-radius:.55rem;padding:.5rem .75rem}.modern-portal .table-container:has(>.period-cards){background:0 0;border:0;overflow:visible}.modern-portal .table-container .period-cards{background:0 0;width:100%;min-width:0;display:block}.modern-portal .period-cards thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.modern-portal .table-container .period-cards tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.8rem;display:grid}.modern-portal .table-container .period-cards tbody tr{background:#fff;border:1px solid #d4dfd8;border-top:3px solid #738f82;border-radius:.65rem;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:.8rem 1rem;margin:0;padding:1rem;display:grid}.modern-portal .table-container .period-cards tbody tr[data-status=open]{border-top-color:#ae8043}.modern-portal .period-cards tr[data-status=ready]{border-top-color:#36745c}.modern-portal .table-container .period-cards tbody tr>td{min-width:0;box-shadow:none;text-align:start;background:0 0;border:0;padding:0}.modern-portal .period-cards .summary-title{grid-column:1/-1}.modern-portal .period-cards .summary-title button{font-size:1.04rem}.modern-portal .period-cards td[data-label]:before{content:attr(data-label);color:#52675a;margin-bottom:.2rem;font-size:.74rem;display:block}.modern-portal .table-container .period-cards tr:focus-within,.modern-portal .table-container .period-cards tr:hover{border-color:#799c89}.modern-portal .period-cards tbody tr:only-child{max-width:32rem}.modern-portal .table-container .period-cards tbody tr:is(:hover,:focus-within)>td{color:var(--ink);box-shadow:none;background:0 0}.modern-portal .period-cards tbody tr:is(:hover,:focus-within) .row-link{color:#205e52;text-decoration:none}.modern-portal .period-cards tbody tr:is(:hover,:focus-within) small{color:var(--muted)}.finance-month-controls{justify-content:space-between;align-items:end;gap:16px;display:flex}.finance-month-controls label{gap:8px;max-width:100%;display:grid}.finance-month-controls select{min-width:220px;max-width:100%}.finance-month-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;display:grid}.finance-month-card{min-width:0;color:var(--ink);text-align:left;background:#fff;border:1px solid #dbe4d6;border-radius:18px;flex-direction:column;gap:20px;padding:22px;transition:border-color .15s,box-shadow .15s;display:flex}.finance-month-card:hover{border-color:#7e9e85;box-shadow:0 5px 18px #24482d0b}.finance-month-title{grid-template-columns:1fr auto;gap:7px;display:grid}.finance-month-title>strong{font-size:19px}.finance-month-title>small{color:var(--muted);grid-row:2;font-size:11px}.finance-month-title>b{color:#537b5c;grid-area:1/2/3;align-self:center}.finance-balances{color:var(--muted);border-block:1px solid #e8ede4;grid-template-columns:1fr 1fr;gap:14px;padding:12px 0;font-size:11px;display:grid}.finance-balances>span{gap:8px;display:grid}.finance-balances :is(strong,b){color:#536553;font-size:13px;font-weight:500}.finance-month-flows{gap:14px;display:grid}.finance-month-flows>[data-flow]>span:first-child{justify-content:space-between;gap:10px;font-size:12px;display:flex}.finance-month-flows strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:13px}.finance-bar{background:#eef2e9;border-radius:6px;height:5px;margin-top:9px;display:block;overflow:hidden}.finance-bar i{background:#4b8566;border-radius:6px;height:100%;display:block}.finance-monthly [data-flow=expense] .finance-bar i{background:#b58b56}.finance-no-data{color:var(--muted);padding:15px 0;font-size:12px}.finance-omitted{color:#8c642e;font-size:11px}.finance-back{justify-self:start;font-size:13px}.finance-flow-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.finance-flow-card{text-align:left;color:#315c43;background:#f2f7ed;border:1px solid #d6e3cf;border-radius:18px;gap:20px;min-width:0;padding:28px;display:grid}.finance-flow-card[data-flow=expense]{color:#805d34;background:#fcf7ef;border-color:#e9ddcd}.finance-flow-card>strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:clamp(20px,3vw,30px)}.finance-flow-card:hover{border-color:currentColor}.finance-flow-card>small{font-size:12px}@media (max-width:560px){.finance-flow-pair{grid-template-columns:1fr}.finance-flow-card{padding:22px}.finance-month-controls select{width:100%;min-width:0}}.ledger-scale{width:min(100%,9rem);height:6px;margin:.3rem 0 0 auto;display:block;position:relative}.ledger-scale:after{content:"";border-left:1px solid #819188;height:100%;position:absolute;left:50%}.ledger-scale i{background:#48826a;border-radius:2px;height:100%;position:absolute;left:50%}.ledger-scale i[data-loss=true]{background:#a26148;left:auto;right:50%}@media (max-width:640px){.modern-portal .register-scroll th:has(input[type=checkbox]){width:auto}.modern-portal .table-container .ledger-months{min-width:0}.modern-portal .table-container .ledger-months :is(td,th){overflow-wrap:anywhere;white-space:normal;padding:.5rem .28rem;font-size:.75rem}}.scope-mobile-toggle{display:none}@media (max-width:640px){.office-scope .scope-mobile-toggle{color:#24563e;min-height:40px;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-items:center;padding:.25rem 0;text-decoration:underline;display:inline-flex}.office-scope .scope-controls[data-expanded=false]{display:none}}.report-ledger .report-switch{background:#edf2ee;gap:3px;width:fit-content;padding:4px;display:flex}.report-ledger .report-switch button{border-radius:7px;min-height:40px;font-weight:600}.report-ledger .report-switch button:focus-visible{outline-offset:2px;outline:2px solid #286b55}.report-ledger h3{margin:1.3rem 0 .4rem;font-size:clamp(1.25rem,2vw,1.6rem)}.report-metrics{background:#d6e1db;border:1px solid #d6e1db;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:1px;margin:1rem 0;display:grid;overflow:hidden}.report-metrics>div{background:#f5f8f5;min-width:0;padding:1rem 1.15rem}.report-metrics dt{margin:0 0 .35rem;font-size:.85rem}.report-metrics dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:clamp(1.1rem,2vw,1.65rem);font-weight:650}.report-profit>div:first-child{color:#fff;background:#214f43}.profit-chart{background:#fff;border:1px solid #d6e1db;border-radius:12px;margin:1rem 0;padding:1rem 1.2rem}.profit-chart figcaption{flex-wrap:wrap;align-items:baseline;gap:.25rem 1rem;font-weight:650;display:flex}.profit-chart figcaption small{color:#56675d;font-weight:400}.profit-columns{text-align:center;font-variant-numeric:tabular-nums;margin-top:1rem;display:flex}.profit-columns>div{flex:1;min-width:0}.profit-track{background:linear-gradient(#0000 calc(50% - 1px),#afbeb5 calc(50% - 1px) 50%,#0000 50%);height:7rem;display:block;position:relative}.profit-track i{background:#347661;border-radius:3px 3px 0 0;width:50%;position:absolute;bottom:50%;left:25%}.profit-track i[data-loss=true]{background:#a75c46;border-radius:0 0 3px 3px;top:50%;bottom:auto}.report-overdue{color:#923c26;font-weight:600;display:block}@media (max-width:640px){.report-ledger .report-switch{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.report-ledger .report-switch button{padding:.45rem;font-size:.85rem}.report-profit{grid-template-columns:repeat(2,minmax(0,1fr))}.report-profit>div:first-child{grid-column:1/-1}.report-metrics>div{padding:.75rem}}.report-ledger .report-coverage{color:#594729;background:#fbf6eb;border-left:3px solid #a47b37;padding:.7rem 1rem;line-height:1.5}.modern-portal .invoice-table.report-figures thead th{color:#25493d;background:#e6eee8;font-size:.9rem;font-weight:700}.modern-portal .report-figures .money-cell{text-align:right;font-variant-numeric:tabular-nums}.report-profit dt{font-weight:650}.report-figures .account-entry{cursor:pointer}.report-figures .account-entry:is(:hover,:focus-within) td{background:#edf4ef}.account-period{margin:0 0 1rem}@media (max-width:640px){.modern-portal .invoice-table.report-figures thead th{font-size:.8rem}.detail-drawer .report-figures{width:100%;min-width:0}.detail-drawer .report-figures :is(td,th){padding:.55rem .35rem}}.modern-portal .account-trigger-copy{text-align:left;gap:2px;min-width:0;line-height:1.2;display:grid}.account-trigger-copy small{color:#355648;overflow-wrap:anywhere;max-width:min(32vw,24rem);font-size:.76rem}.modern-portal .register-toolbar,.modern-portal.office-layout .register-toolbar{gap:.4rem .65rem;margin-bottom:.4rem;padding:.5rem .65rem}.modern-portal .register-toolbar :is(input,select),.modern-portal .register-toolbar summary{min-height:36px;padding-block:.35rem}.modern-portal .register-toolbar>label:first-child{flex:0 18rem}.modern-portal .compact-reports>.button{place-self:flex-start start}.report-ledger .report-profit>div{padding:.65rem .9rem}.modern-portal .report-ledger .invoice-table.report-figures :is(td,th){padding:.52rem .72rem}.account-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.account-columns>section{min-width:0}.account-columns h3{margin:.8rem 0 .4rem;font-size:1rem}.modern-portal .account-columns .invoice-table{width:100%;min-width:0}.account-columns .row-link{text-align:left;overflow-wrap:anywhere}.report-partner{margin-bottom:.15rem;line-height:1.35;display:block}.modern-portal .cash-draft-workspace{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;padding:.7rem .85rem;display:flex}.modern-portal .cash-draft-workspace>.record-actions{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;display:flex}.cash-draft-workspace>details[open],.cash-draft-workspace>p{flex-basis:100%}.optional-flow>summary,.cash-draft-list>summary{color:#28563e;cursor:pointer;padding:.45rem .1rem;font-size:.85rem;font-weight:600}.modern-portal .imported-finance{gap:.5rem}.modern-portal .imported-finance>.subtle-note{margin:0}.modern-portal .register-options{margin-block:.25rem}@media (max-width:850px){.account-columns{grid-template-columns:minmax(0,1fr);gap:.35rem}}@media (max-width:640px){.modern-portal .register-toolbar{gap:.4rem}.modern-portal .register-toolbar>label:first-child{flex:12rem}.account-trigger-copy small{max-width:min(32vw,12rem);font-size:.69rem}.modern-portal .portal-account>summary{width:auto}}.report-ledger{container-type:inline-size}.monthly-comparison{align-items:start;gap:.7rem;display:grid}.monthly-comparison .profit-chart{margin:0}.monthly-figures{min-width:0}.monthly-figures>.button{margin-top:.4rem}@container (min-width:62rem){.monthly-comparison{grid-template-columns:minmax(16rem,.8fr) minmax(32rem,1.5fr)}}.modern-portal .agenda-workspace{gap:.8rem}.agenda-context-bar{border-bottom:1px solid var(--workspace-line);flex-wrap:wrap;align-items:center;gap:.4rem .75rem;min-width:0;padding-bottom:.5rem;display:flex}.agenda-context-bar>.compact-unit-context{flex:18rem;min-width:0;margin:0}.agenda-context-bar .unit-context-top{justify-content:flex-start;align-items:center;gap:.6rem;display:flex}.agenda-context-bar .context-breadcrumb{display:none}.agenda-context-bar .unit-switcher{width:auto;min-width:0;max-width:100%;margin:0}.agenda-context-bar .unit-switcher summary{gap:.75rem;width:auto;min-height:36px;padding:.3rem .65rem}.agenda-context-bar .unit-switcher summary small{display:none}.agenda-context-bar .agenda-discussion{margin:0}.agenda-context-bar>.pill,.agenda-context-bar>label{white-space:nowrap}.agenda-context-bar>label select{width:auto}.modern-portal .invoice-list-controls{border-block:1px solid var(--workspace-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.45rem .8rem;padding:.35rem 0;display:flex}.modern-portal .invoice-list-controls :is(.work-filters,.register-toolbar){width:auto;min-width:0;max-width:100%;box-shadow:none;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0;padding:0;display:flex}.modern-portal .invoice-list-controls .work-filters button{padding:.4rem .55rem}.modern-portal .invoice-list-controls .register-toolbar>label{flex:0 auto;margin:0}.modern-portal .invoice-list-controls input[type=search]{width:clamp(10rem,16vw,17rem);max-width:100%}.invoice-kind{justify-self:start;max-width:14rem}.modern-portal .cash-draft-workspace,.modern-portal .register-workspace{gap:.45rem}.modern-portal .agenda-workspace .workspace-section>.section-heading{min-height:0;margin-block:.2rem}.modern-portal .agenda-workspace .register-toolbar>label{flex:0 auto}.modern-portal .agenda-workspace .register-toolbar:not(:has(input[type=search])){place-self:flex-start start;width:fit-content}.modern-portal :is(.period-list,.employee-list,.payment-list){width:100%;max-width:72rem}.modern-portal .period-list .pagination:has(button:first-child:disabled):has(button:last-child:disabled)>div{display:none}.modern-portal .register-workspace>.section-heading:empty{display:none}.pdf-viewer{contain:inline-size;position:relative}.pdf-viewer .pdf-page,.pdf-viewer .pdf-page[aria-busy=true]{scrollbar-gutter:stable;overscroll-behavior:contain;height:clamp(16rem,55dvh,40rem);max-height:65dvh;overflow:auto}.pdf-viewer>.pdf-loading{z-index:1;white-space:nowrap;pointer-events:none;background:#fff;border-radius:.5rem;position:absolute;top:4rem;left:50%;transform:translate(-50%)}.detail-drawer:has(.document-preview-frame) .drawer-content{scrollbar-gutter:stable;overflow-anchor:none}@media (max-width:700px){.agenda-context-bar{gap:.3rem .5rem}.agenda-context-bar>.compact-unit-context{flex-basis:60%}.modern-portal .invoice-list-controls .register-toolbar{width:100%}.modern-portal .invoice-list-controls .register-toolbar>label:has(input[type=search]){flex:8rem}.modern-portal .invoice-list-controls input[type=search]{width:100%}}.modern-portal .office-scope{flex-wrap:wrap;align-items:center;gap:.4rem 1rem;padding:.55rem .75rem;display:flex}.modern-portal .office-scope-heading{align-items:center;gap:.6rem;margin:0}.modern-portal .office-scope .scope-mobile-toggle{color:#24563e;cursor:pointer;background:0 0;border:0;align-items:center;min-height:36px;margin-inline-start:auto;font-weight:600;display:inline-flex}.modern-portal .office-scope .scope-controls{flex-basis:100%}.modern-portal .office-scope .scope-controls[data-expanded=false]{display:none}.agenda-context-bar .unit-context-top .unit-switcher{flex:0 auto;width:max-content;max-width:100%}.agenda-context-bar .unit-context-top .unit-switcher summary{min-width:min(15rem,100%);max-width:27rem}@media (min-width:701px){.modern-portal .register-workspace[data-density=comfortable] .invoice-list tbody td{padding-block:.65rem}.modern-portal .invoice-list th.money-cell .sort-heading{justify-content:flex-end}}.modern-portal .invoice-list-controls .mobile-invoice-view{display:none}@media (max-width:640px){.modern-portal .invoice-list-controls>.work-filters{display:none}.modern-portal .invoice-list-controls .mobile-invoice-view{display:block}.modern-portal .invoice-list-controls .register-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;display:grid}.modern-portal .invoice-list-controls .register-toolbar :is(input,select,summary){height:39px;min-height:39px;margin:0}.modern-portal .invoice-list-controls .invoice-kind{justify-self:stretch;max-width:none}.modern-portal .invoice-list-controls .more-filters[open]{grid-column:1/-1}.modern-portal .register-workspace>.section-heading{flex-flow:wrap;align-items:center;gap:.35rem;display:flex}.modern-portal .register-workspace>.section-heading h2{margin:0}.modern-portal .register-workspace>.section-heading>.button{margin-left:auto}.modern-portal .imported-finance .section-heading{flex-direction:row;justify-content:flex-start;align-items:center}.modern-portal .imported-finance>.register-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:end;display:grid}.modern-portal .imported-finance>.register-toolbar>label:first-child{grid-column:1/-1}.modern-portal .imported-finance>.register-toolbar label{gap:.1rem}.modern-portal .imported-finance>.register-toolbar :is(input,select){min-height:37px;margin-top:0}.modern-portal .imported-finance>.register-toolbar .more-filters[open]{grid-column:1/-1}}.modern-portal .office-agenda-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin:0 0 .65rem;display:flex}.modern-portal .office-agenda-heading h1{margin:0;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.2}.modern-portal .office-agenda-heading .agenda-section-navigation{width:auto;max-width:100%;margin:0}.modern-portal.office-layout .office-scope{margin:0 0 .75rem}.modern-portal.office-layout .register-workspace{gap:.55rem}.modern-portal.office-layout .office-register>.register-toolbar,.modern-portal.office-layout .imported-finance>.register-toolbar{justify-content:flex-start;align-items:center;gap:.4rem .6rem;margin:0}.modern-portal.office-layout .office-register>.register-toolbar>label,.modern-portal.office-layout .imported-finance>.register-toolbar>label{flex:0 auto}.modern-portal.office-layout .office-register>.register-toolbar input[type=search],.modern-portal.office-layout .imported-finance>.register-toolbar input[type=search]{width:min(19rem,100%);min-width:0}.office-register-footer,.office-report-actions{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.office-report-actions{margin:.55rem 0}.office-register-footer .register-options{flex:auto}.office-register td{overflow-wrap:anywhere}.office-cash-switch{margin:0 0 .6rem}.office-review-mark,.assignment-filter{color:#765019;background:#fff4dc;border-radius:.45rem;align-items:center;gap:.45rem;padding:.32rem .55rem;font-weight:650;display:inline-flex}.assignment-filter{cursor:pointer;border:1px solid #d7bd8a;min-height:36px}.assignment-filter[aria-pressed=true]{color:#fff;background:#674a1e}@media (max-width:640px){.modern-portal .office-agenda-heading{grid-template-columns:minmax(0,1fr);display:grid}.modern-portal .office-agenda-heading .agenda-section-navigation{width:100%}.modern-portal.office-layout .office-register>.register-toolbar{align-items:center;display:flex}.modern-portal.office-layout .office-register>.register-toolbar>label{flex:9rem}.modern-portal.office-layout .imported-finance>.register-toolbar{flex-wrap:wrap;display:flex}.modern-portal.office-layout .imported-finance>.register-toolbar>label:has(input[type=search]){flex:12rem}.modern-portal.office-layout .register-toolbar input[type=search]{width:100%}}.office-mobile-agendas,.portal-search-button .mobile-search-prompt,.scope-short-label{display:none}@media (max-width:640px){.modern-portal.office-layout .portal-header{min-height:58px;padding-block:6px}.modern-portal.office-layout .portal-search-button{white-space:nowrap;flex:0 auto;min-height:40px}.office-layout .portal-search-button .search-prompt,.office-layout .scope-long-label{display:none}.office-layout .portal-search-button .mobile-search-prompt,.office-layout .scope-short-label{display:inline}.office-layout .portal-account{margin-inline-start:auto}.modern-portal.office-layout .portal-rail{border-radius:14px;margin-bottom:0;padding:4px 7px}.modern-portal.office-layout .rail-mobile-toggle{min-height:38px;padding-block:6px}.modern-portal.office-layout .agenda-content{padding-top:12px}.modern-portal .office-agenda-heading{flex-wrap:nowrap;gap:.5rem;margin-bottom:.45rem;display:flex;position:relative}.modern-portal .office-agenda-heading h1{min-width:0;font-size:1.25rem}.office-agenda-heading>.agenda-section-navigation{display:none}.office-mobile-agendas{flex:none;display:block}.office-mobile-agendas>summary{cursor:pointer;color:#285644;border:1px solid var(--workspace-line);background:#fff;border-radius:.5rem;padding:.5rem .6rem;font-size:.8rem;font-weight:600}.modern-portal .office-mobile-agendas .agenda-section-navigation{z-index:15;border:1px solid var(--workspace-line);background:#fff;width:max-content;max-width:100%;display:grid;position:absolute;top:calc(100% + .25rem);right:0;box-shadow:0 6px 20px #173c3020}.modern-portal .office-mobile-agendas .agenda-section-navigation a{justify-content:flex-start}.modern-portal .office-scope{grid-template-columns:minmax(0,1fr) auto;gap:4px;margin-bottom:.5rem;padding:.4rem .55rem;display:grid}.modern-portal .office-scope-heading{flex-wrap:wrap;justify-content:flex-start;gap:.35rem}.modern-portal .office-scope-heading strong{font-size:.84rem}.modern-portal .office-scope>.scope-controls,.modern-portal .office-scope>.notice,.modern-portal .office-scope>.office-scope-chips{grid-column:1/-1}.modern-portal.office-layout .register-scroll thead{margin-bottom:.35rem}.modern-portal.office-layout .register-scroll thead tr{scrollbar-width:thin;flex-wrap:nowrap;align-items:center;overflow-x:auto}.modern-portal.office-layout .register-scroll thead th{white-space:nowrap;flex:none;width:auto;padding:.16rem .32rem}.modern-portal.office-layout .register-scroll th .sort-heading{white-space:nowrap}.modern-portal.office-layout .register-workspace .register-scroll tbody td{padding:.2rem .3rem}.modern-portal.office-layout .register-scroll .record-cell{border:0}.office-layout .report-ledger .report-switch{flex-wrap:nowrap;align-items:stretch;width:100%;display:flex}.office-layout .report-ledger .report-switch button{flex:1 1 0;min-width:0;padding:.35rem .15rem;line-height:1.25}.office-layout .report-ledger .report-profit{margin:.65rem 0}.office-layout .report-ledger .report-profit>div{padding:.45rem .75rem}.office-layout .monthly-comparison .profit-chart{padding:.6rem .75rem}.office-layout .profit-chart figcaption{gap:.1rem .4rem}.office-layout .profit-columns{margin-top:.4rem}.office-layout .profit-track{height:3.5rem}}.received-split{grid-template-columns:minmax(245px,.8fr) minmax(0,1.5fr);align-items:start;gap:14px;display:grid}@media (max-width:959px){.received-split{grid-template-columns:minmax(0,1fr)}.received-split>.rail-records{display:none}}.received-shortlist,.received-side-detail{border:1px solid var(--workspace-line);background:#fff;border-radius:12px;min-width:0}.received-shortlist{overflow:visible}.received-shortlist button{border:0;border-bottom:1px solid var(--workspace-line);width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit;background:#fff;justify-content:space-between;align-items:baseline;gap:8px;padding:12px;display:flex}.received-shortlist button[aria-current=true]{background:#e3f1e8;box-shadow:inset 4px 0 #22604a}.received-shortlist button:focus-visible{outline-offset:-3px}.received-shortlist button span{overflow-wrap:anywhere;min-width:0}.received-shortlist small{color:#55675c;font-size:.75rem;display:block}.received-shortlist b{white-space:nowrap;font-variant-numeric:tabular-nums}.received-side-detail{flex-direction:column;max-height:none;display:flex;overflow:visible}.received-side-detail .drawer-heading{flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.received-side-detail .drawer-heading h2{overflow-wrap:anywhere;min-width:0;margin:0 auto 0 0;font-size:1rem}.modern-portal .received-side-detail .drawer-content{scrollbar-gutter:auto;padding:16px;overflow:visible}.received-side-detail .record-detail{min-width:0;display:block}.received-side-detail .record-summary{border:0;padding:12px}.received-side-detail .record-tabs{flex-wrap:wrap;gap:4px;display:flex}.received-side-detail .record-tab-panel{min-width:0;padding:10px}@media (min-width:960px){:has(>.received-split)>:is(.table-container,.document-list,.account-columns,.pagination,.group-tile-grid){display:none}.invoice-list-stage:has(>.received-split)+.pagination :is(select,label,button:not(:first-child)){display:none}.received-split{scroll-margin-top:5rem}.rail-records{min-width:0}.rail-records nav{color:#375746;background:#ebf1ec;border-radius:10px 10px 0 0;align-items:center;gap:6px;padding:6px 10px;display:flex}.rail-records nav strong{font-variant-numeric:tabular-nums;flex:1;font-size:.84rem}.rail-records nav button{min-width:36px;min-height:34px;color:inherit;cursor:pointer;background:#fff;border:1px solid #c5d4c9;border-radius:7px}.rail-records nav button:disabled{opacity:.42;cursor:default}.rail-records .received-shortlist{border-radius:0 0 10px 10px}.rail-records .received-shortlist b{white-space:normal;text-align:right;max-width:48%}.received-side-detail .drawer-content{min-height:0;max-height:none}}@media (min-width:960px) and (min-height:760px){.rail-records{position:sticky;top:5rem}}.modern-portal :is(.received-side-detail,.detail-drawer) .record-tabs{background:#f3f6f3;border:1px solid #d7e2d9;border-radius:10px;flex-wrap:wrap;gap:6px;margin-block:12px;padding:5px;display:flex;overflow:visible}.modern-portal :is(.received-side-detail,.detail-drawer) .record-tabs button[role=tab]{border:1px solid #0000;border-radius:7px;min-height:38px;padding:8px 13px;line-height:1.3}.modern-portal :is(.received-side-detail,.detail-drawer) .record-tabs button[aria-selected=true]{color:#164c39;background:#fff;border-color:#bdcfc2;box-shadow:0 1px 3px #18382514}.cash-draft-workspace:has(>.received-split)>.cash-draft-list{display:none}@media (min-width:960px){.rail-records{position:static}.rail-records nav{z-index:2;position:sticky;top:4.25rem}.rail-records .received-shortlist button{padding:8px 12px}.received-side-detail .record-detail>.record-summary{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:12px 16px;display:grid}.received-side-detail .record-summary .record-statuses{flex-wrap:wrap;grid-column:1/-1;gap:6px 16px;margin:0;display:flex}.received-side-detail .record-summary .record-statuses>div{align-items:center;gap:6px;display:flex}.received-side-detail .record-summary .record-statuses :is(dt,dd){margin:0}.received-side-detail .record-detail>.record-actions{margin:8px 0;padding:0}.received-side-detail .record-tab-panel .detail-facts{grid-template-columns:max-content minmax(0,1fr);gap:6px 14px;margin:0;padding:0;display:grid}.received-side-detail .record-tab-panel .detail-facts :is(dt,dd){align-self:center;margin:0}.received-side-detail .record-tab-panel .detail-facts dd{align-items:center;gap:6px;display:flex}.received-side-detail{container-type:inline-size}}@container (min-width:680px){.received-side-detail .record-tab-panel .detail-facts{grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr)}}.invoice-balance{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.invoice-payment-choice{font:inherit;color:#225746;cursor:pointer;background:0 0;border:1px solid #b9cec2;border-radius:6px;padding:4px 8px;font-size:.82rem}.invoice-payment-choice:hover,.invoice-payment-choice:focus-visible{background:#edf4ee}.invoice-payment-choice:disabled{cursor:default;color:#4c6359;background:#eef3ee}.modern-portal .activity-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.modern-portal .activity-reports{gap:1rem;min-width:0;display:grid}.modern-portal .activity-report{min-width:0;padding:1.25rem}.modern-portal .activity-bars{gap:1rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.modern-portal .activity-bars button{text-align:left;width:100%;color:inherit;background:0 0;border:0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.3rem 0;display:flex}.modern-portal .activity-bars button span{overflow-wrap:anywhere;min-width:0}.modern-portal .activity-bars small{color:var(--muted,#58685f);margin-top:.2rem;font-size:.75rem;display:block}.modern-portal .activity-bars strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.9rem}.modern-portal .activity-bar{background:#e9efeb;border-radius:4px;height:5px;margin-top:.35rem;display:block;overflow:hidden}.modern-portal .activity-bar i{background:#34745c;height:100%;display:block}.modern-portal .activity-bar i[data-negative=true]{background:#a55245}.modern-portal .record-file .section-heading{flex-wrap:wrap;align-items:flex-start;gap:1rem}.modern-portal .record-file .section-heading>div:first-child{overflow-wrap:anywhere;flex:220px;min-width:0}.modern-portal .record-file-actions{flex-wrap:wrap;gap:.5rem;display:flex}.modern-portal .record-file iframe{border-radius:8px;margin-top:1rem}.modern-portal .report-ledger .report-switch{flex-wrap:wrap;max-width:100%}.modern-portal .report-ledger .report-switch button{white-space:normal}.modern-portal .home-attention .text-link{margin-top:.75rem;display:block}@media (min-width:641px){.modern-portal .invoice-list .pill{white-space:nowrap;overflow-wrap:normal;word-break:normal}.modern-portal .register-scroll .invoice-list{min-width:740px}}@media (max-width:1100px){.modern-portal .activity-report-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:640px){.modern-portal .activity-bars button{flex-direction:column;gap:.35rem}.modern-portal .portal-header{flex-wrap:nowrap;align-items:center}.modern-portal .portal-search-button .search-prompt{display:none}.modern-portal .portal-search-button .mobile-search-prompt{display:inline}.modern-portal .portal-search-button{justify-content:center;max-width:none;min-height:44px}.modern-portal .portal-account .account-trigger-copy{display:none}.modern-portal .portal-account>summary{justify-content:center;min-width:44px;min-height:44px}.modern-portal .activity-report{padding:1rem}.modern-portal .report-ledger .report-switch{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}}.modern-portal .activity-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0;display:grid}.modern-portal .activity-result{min-width:0;padding:1.2rem}.modern-portal .activity-result h4{margin:0 0 1rem;font-size:1.08rem}.modern-portal .activity-result dl{margin:0}.modern-portal .activity-result dl>div{justify-content:space-between;gap:1rem;padding:.45rem 0;display:flex}.modern-portal .activity-result dd{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.modern-portal .activity-net{border-top:1px solid var(--border,#dce3ea);color:#166534;margin-top:.35rem;font-weight:700}.modern-portal .activity-net[data-loss=true]{color:#a63838}.modern-portal .activity-result[data-unassigned=true]{border-color:#d4a956}.modern-portal .activity-result summary{cursor:pointer;padding:.85rem 0;font-size:.85rem;line-height:1.5}.modern-portal .activity-rule-list{margin:0;padding:0;list-style:none}.modern-portal .activity-rule-list li{border-top:1px solid var(--border,#dce3ea);flex-wrap:wrap;justify-content:space-between;gap:.3rem .8rem;padding:.7rem 0;font-size:.85rem;display:flex}.modern-portal .activity-rule-list small{color:#526174;flex-basis:100%}@media (max-width:800px){.modern-portal .activity-result-grid{grid-template-columns:minmax(0,1fr)}}.modern-portal .unit-switcher>summary{border:1px solid var(--border);min-height:46px;padding:10px 14px;list-style:none;box-shadow:0 2px 6px #163d3705}.unit-switcher>summary::marker{content:""}.unit-switcher>summary:after{content:none}.unit-switcher-chevron{flex:none;transition:transform .15s;display:flex}.unit-switcher[open] .unit-switcher-chevron{transform:rotate(180deg)}.unit-switcher-menu{border-radius:16px;min-width:min(340px,100vw - 48px);max-width:calc(100vw - 48px);padding:12px;box-shadow:0 16px 48px #163d3724}.unit-switcher-menu label{gap:7px;font-size:12px;display:grid}.unit-switcher-menu input{width:100%;min-width:0}.unit-switcher-menu li a{border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.unit-switcher-menu li a>svg{flex:none}.unit-switcher-menu li a[aria-current]{font-weight:650}.unit-switcher-menu>.text-link{border-top:1px solid var(--border);padding:12px 8px 2px;font-size:12px;display:block}.settings-back{align-items:center;gap:8px;margin-bottom:18px;display:inline-flex}.invoice-group-row th{text-align:left;background:#edf2e9!important;padding:14px 18px!important}.invoice-group-row button{text-align:left;width:100%;color:var(--green);align-items:center;gap:12px;font-weight:650;display:flex}.invoice-group-row small{color:var(--muted);font-weight:400}.invoice-group-totals{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;gap:6px 16px;margin-left:auto;display:flex}.invoice-group-toggle{transition:transform .15s;display:inline-block}.invoice-group-toggle[data-open=true]{transform:rotate(90deg)}@media (max-width:640px){.invoice-list .invoice-group-row{border:0!important;padding:0!important;display:block!important}.invoice-list .invoice-group-row th{display:block!important}.invoice-group-row button{flex-wrap:wrap}.invoice-group-totals{justify-content:flex-start;width:100%;margin-left:25px}.unit-switcher-menu{width:min(360px,100vw - 48px);left:0;right:auto}}.tax-profile-fields{border:0;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0;display:grid}.tax-profile-fields>.subtle-note,.tax-deadline-editor{grid-column:1/-1}.tax-deadline-editor>div{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0;display:flex}.tax-deadline-editor>div>span{flex:1;min-width:200px}.tax-deadline-editor small{color:var(--muted);margin-top:4px;display:block}.tax-deadline-editor input[type=date]{width:160px}@media (max-width:640px){.tax-profile-fields{grid-template-columns:1fr}}.group-tile-grid{isolation:isolate;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));align-items:start;gap:18px;margin-top:20px;display:grid}.group-tile{background:#fff;border:1px solid #d9e3dc;border-radius:20px;min-width:0;overflow:clip;box-shadow:0 3px 14px #214a3205}.group-tile-trigger{text-align:left;width:100%;min-height:194px;color:var(--ink);background:0 0;border:0;border-radius:19px;flex-direction:column;align-items:stretch;gap:9px;padding:22px;transition:background .18s,border-color .18s;display:flex}.group-tile-trigger:hover{background:#f4f8ef}.group-tile-trigger:focus-visible{outline-offset:-4px;outline:3px solid #537b5c}.group-tile-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;display:flex}.group-tile-mark{color:#355e48;background:#edf3e7;border-radius:9px;place-items:center;width:28px;height:28px;font-size:20px;font-weight:400;display:grid}.group-tile-state{color:#758178;font-size:11px}.group-tile-title{overflow-wrap:anywhere;font-size:20px;font-weight:650;line-height:1.35}.group-tile-title:first-letter{text-transform:uppercase}.group-tile-subtitle{color:var(--muted);font-size:12px}.group-tile-summary{flex-direction:column;gap:10px;min-width:0;margin-top:auto;padding-top:14px;display:flex}.group-tile-summary>strong{letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#315c43;font-size:21px;font-weight:600}.group-tile-summary>small{color:var(--muted);font-size:11px}.group-tile.is-expanded{z-index:1;border-color:#a3b8a5;grid-column:1/-1;box-shadow:0 8px 28px #23482f08}.group-tile.is-expanded>.group-tile-trigger{background:#edf3e7;border-radius:19px 19px 0 0;grid-template-columns:1fr auto;gap:5px 22px;min-height:0;padding:20px 24px;display:grid}.group-tile.is-expanded .group-tile-top{flex-direction:row-reverse;grid-area:1/2/3;align-self:center;margin:0}.group-tile.is-expanded .group-tile-title{grid-area:1/1}.group-tile.is-expanded .group-tile-subtitle{grid-area:2/1}.group-tile.is-expanded .group-tile-summary{flex-flow:wrap;grid-column:1/-1;gap:8px 24px;padding-top:8px}.group-tile-detail{min-width:0;padding:0 20px 20px}.group-tile-detail .register-scroll{max-height:none;margin-top:18px}.group-tile-detail .invoice-group-more td{text-align:center;padding:16px!important}.finance-monthly .group-tile.is-expanded>.group-tile-trigger .group-tile-summary{display:none}.finance-monthly .group-tile-summary,.finance-monthly .finance-month-flows{width:100%}.month-detail-heading{justify-content:space-between;align-items:center;gap:20px;padding:26px 4px 22px;display:flex}.month-detail-heading h3{letter-spacing:-.03em;margin:5px 0;font-size:25px}.month-detail-heading p{color:var(--muted);margin:0;font-size:12px}.month-evidence-note{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.month-flow-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px;display:grid}.month-currency-summary{background:#fafcf8;border:1px solid #e2e7df;border-radius:16px;min-width:0;padding:18px}.month-currency-summary>.eyebrow{margin-bottom:12px;display:block}.month-currency-summary .finance-flow-pair{gap:12px}.month-currency-summary .finance-flow-card{border-radius:12px;gap:10px;padding:18px}.month-currency-summary .finance-flow-card>strong{font-size:clamp(20px,2vw,27px)}.month-flow-difference{color:#69776d;justify-content:space-between;gap:16px;padding:15px 2px 0;font-size:12px;display:flex}.month-flow-difference strong{font-variant-numeric:tabular-nums;color:#3e5547}.month-movements{gap:14px!important;padding-top:22px!important}.month-list-heading{border-top:1px solid #e4e9e1;justify-content:space-between;align-items:center;padding-top:22px;display:flex}.month-list-heading h4{margin:0;font-size:16px}.month-list-heading>span{color:var(--muted);font-size:12px}.month-movements .register-toolbar{background:#f7f9f4;border-radius:12px;align-items:end;padding:14px}.month-movements .register-toolbar>label:first-child{flex:1;min-width:180px}.month-movements .register-toolbar input{width:100%}.month-movements .register-scroll{border:1px solid #e2e8df;border-radius:12px}@media (max-width:640px){.group-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.group-tile-trigger{min-height:180px;padding:16px}.group-tile-title{font-size:17px}.group-tile-state{display:none}.group-tile-summary>strong{font-size:17px}.group-tile.is-expanded>.group-tile-trigger{padding:18px}.group-tile-detail{padding:0 12px 14px}.month-detail-heading{flex-direction:column;align-items:start;gap:10px;padding:20px 2px}.month-detail-heading h3{font-size:22px}.month-currency-summary{padding:12px}.month-currency-summary .finance-flow-pair{grid-template-columns:1fr}.month-flow-difference{flex-wrap:wrap}.finance-monthly .group-tile:not(.is-expanded) .finance-month-flows>[data-flow]>span:first-child{flex-direction:column;gap:4px}.month-movements .register-toolbar>label{width:100%}.month-movements .register-toolbar{gap:12px}.month-evidence-note{font-size:10px}}@media (prefers-reduced-motion:reduce){.group-tile-trigger{transition:none}}.group-tiles-more{grid-column:1/-1;justify-self:center;margin:4px 0 12px}.finance-overview-header{grid-template-columns:220px minmax(0,1fr) auto;align-items:stretch;gap:24px;display:grid}.finance-overview-context h2{margin:6px 0 14px;font-size:19px}.finance-overview-context label{gap:7px;font-size:12px;display:grid}.finance-overview-context select{width:100%;min-width:0}.finance-overview-actions{flex-direction:column;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.month-compact-summary{background:#f0f5eb;border:1px solid #dce6d8;border-radius:16px;align-items:center;gap:26px;padding:16px 22px;animation:.46s ease-out month-summary-in;display:flex}.month-compact-title{flex:none;gap:5px;display:grid}.month-compact-title h3{letter-spacing:-.02em;margin:0;font-size:22px;line-height:1.2}.month-compact-title>span:not(.eyebrow){color:var(--muted);font-size:12px}.month-compact-title button{text-align:left;justify-self:start;margin-top:2px;padding:3px 0;font-size:11px}.month-compact-totals{flex:1;gap:10px;min-width:0;display:grid}.month-compact-currency{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.month-compact-currency button{text-align:left;color:#315c43;border-left:1px solid #cfddc9;border-radius:0 8px 8px 0;gap:7px;min-width:0;padding:8px 12px;display:grid}.month-compact-currency button[data-flow=expense]{color:#805d34}.month-compact-currency button:hover{background:#ffffff80}.month-compact-currency button>span{justify-content:space-between;gap:8px;font-size:12px;display:flex}.month-compact-currency strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(16px,1.5vw,23px);font-weight:600}.month-compact-detail .month-movements{gap:10px!important;padding-top:0!important}.month-compact-detail .month-list-heading{display:none}.month-compact-detail .register-scroll{margin-top:0}.month-compact-detail .register-toolbar{padding:10px 12px}.group-tile-trigger{position:relative}.group-tile-top{flex-direction:row-reverse;gap:8px;position:absolute;top:20px;right:18px}.group-tile-mark{color:#789080;background:0 0;border-radius:50%;width:24px;height:24px}.group-tile-mark svg{width:19px;height:19px}.group-tile-state{display:none}.group-tile-title{padding-right:28px}.group-tile.is-expanded .group-tile-top{position:static}@keyframes month-summary-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1100px){.finance-overview-header{grid-template-columns:200px minmax(0,1fr);gap:16px}.finance-overview-actions{flex-direction:row;grid-column:1/-1;align-items:center}.month-compact-summary{gap:15px;padding:14px}.month-compact-currency{gap:8px}.month-compact-title h3{font-size:19px}}@media (max-width:700px){.finance-overview-header{grid-template-columns:1fr;gap:12px}.finance-overview-context{grid-template-columns:1fr 1fr;align-items:center;gap:4px 12px;display:grid}.finance-overview-context .eyebrow{grid-column:1}.finance-overview-context h2{grid-column:1;margin:0;font-size:17px}.finance-overview-context label{grid-area:1/2/3}.month-compact-summary{flex-direction:column;align-items:stretch;gap:10px}.month-compact-title{grid-template-columns:1fr auto;align-items:center;display:grid}.month-compact-title .eyebrow{display:none}.month-compact-title h3,.month-compact-title>span{grid-column:1}.month-compact-title button{grid-area:1/2/3;margin:0}.month-compact-currency button{padding:6px 10px}.month-compact-currency strong{font-size:17px}.finance-overview-actions{grid-column:auto}.group-tile-top{top:15px;right:13px}}@media (prefers-reduced-motion:reduce){.month-compact-summary{animation:none}}.finance-overview-header{scroll-margin-top:16px}.finance-overview-actions{grid-column:3}.month-compact-title h3:focus{outline:none}@media (max-width:1100px){.finance-overview-actions{grid-column:1/-1}}.invoice-group-summary{background:#f0f5eb;border:1px solid #d8e3d2;border-radius:15px;align-items:center;gap:24px;margin-bottom:12px;padding:16px 20px;scroll-margin-top:16px;animation:.46s ease-out month-summary-in;display:flex}.invoice-group-summary:focus{outline:none}.invoice-group-identity{flex:1;gap:4px;min-width:0;display:grid}.invoice-group-identity h3{overflow-wrap:anywhere;margin:0;font-size:21px;line-height:1.25}.invoice-group-identity h3:first-letter{text-transform:uppercase}.invoice-group-identity>span:last-child{color:var(--muted);font-size:12px}.invoice-group-amounts{gap:6px;min-width:0;display:grid}.invoice-group-amounts>div{flex-wrap:wrap;gap:6px 20px;display:flex}.invoice-group-amounts strong{color:#315c43;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:22px}.invoice-group-amounts small{color:var(--muted);font-size:11px}.button.overview-return{color:#254d38;white-space:normal;background:#fff;border:1px solid #8fa991;flex-shrink:0;justify-content:center;align-items:center;gap:9px;padding:10px 14px;font-size:12px;font-weight:650;display:inline-flex;box-shadow:0 2px 4px #24472c09}.button.overview-return:hover{background:#dfead6;border-color:#3c6949}.overview-return svg{flex-shrink:0;width:18px;height:18px}.month-compact-title .overview-return{margin-top:6px;padding:8px 10px;font-size:11px}.invoice-list-stage:has(>.received-split)>.invoice-group-detail{display:none}@media (max-width:700px){.invoice-group-summary{grid-template-columns:1fr;gap:12px;padding:14px;display:grid}.invoice-group-summary>.overview-return{justify-self:start}.invoice-group-identity h3{font-size:19px}.invoice-group-amounts>div{gap:6px 16px}.invoice-group-amounts strong{font-size:19px}.month-compact-title .overview-return{grid-area:auto/1/auto/-1;justify-self:stretch;margin-top:5px;padding:9px 12px}}@media (prefers-reduced-motion:reduce){.invoice-group-summary{animation:none}}
