:where(a,button,input,select,textarea,summary):focus-visible{outline-offset:3px;outline:3px solid #178454}.main:focus{outline:none}.skip-link{z-index:20000;background:var(--green);color:#fff;border-radius:10px;padding:12px 18px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.navigation-trail{color:#62766c;margin:0 0 14px;font-size:.78rem}.navigation-trail ol{flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;list-style:none;display:flex}.navigation-trail li,.navigation-trail a{align-items:center;gap:7px;display:inline-flex}.navigation-trail a{color:#4b6558;min-height:28px;text-decoration:none}.navigation-trail [aria-current]{color:#203c2e;font-weight:650}.quick-navigation-trigger{color:#dbeae1;text-align:left;cursor:pointer;background:#ffffff09;border:1px solid #fff2;border-radius:9px;align-items:center;gap:9px;width:calc(100% - 24px);margin:0 12px 14px;padding:10px 12px;display:flex}.quick-navigation-trigger span{flex:1}.quick-navigation-trigger kbd{font:inherit;color:#a1b7aa;border:1px solid #ffffff28;border-radius:4px;padding:1px 4px;font-size:.7rem}.sidebar:has(.sidebar-toggle-input:checked) .quick-navigation-trigger{justify-content:center;width:42px;margin-inline:auto;padding:10px}.sidebar:has(.sidebar-toggle-input:checked) .quick-navigation-trigger :is(span,kbd){display:none}.quick-navigation-card{width:min(580px,100%)}.quick-navigation-card h2{margin:0}.quick-navigation-card .modal-head p{color:var(--muted);margin:5px 0 0;font-size:.85rem}.quick-navigation-results{gap:3px;max-height:min(430px,50dvh);margin:12px -4px 0;padding:4px;display:grid;overflow:auto}.quick-navigation-results a{color:var(--ink);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;font-size:.9rem;text-decoration:none;display:flex}.quick-navigation-results a:hover,.quick-navigation-results a:focus-visible{color:#135c37;background:#edf6f0}.quick-navigation-data-search{border-top:1px solid var(--line);margin-top:7px}.quick-navigation-data-search span{overflow-wrap:anywhere;align-items:center;gap:8px;display:flex}.quick-navigation-help{color:var(--muted);margin:12px 0 0;font-size:.73rem}.dialog-content{display:contents}dialog.modal-backdrop .dialog-content>:is(.modal-card,.calendar-modal,.backup-progress-modal){overscroll-behavior:contain;scrollbar-gutter:stable;align-self:center;height:auto;min-height:0;max-height:calc(100dvh - 48px);overflow:auto}dialog.modal-backdrop .dialog-content>.stat-fullscreen-modal{min-height:0;max-height:calc(100dvh - 48px)}.dialog-discard-confirm{border:1px solid var(--line);z-index:1;background:#fff;border-radius:14px;width:min(460px,100% - 32px);padding:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #10281bd9,0 24px 70px #0005}.dialog-discard-confirm h2{margin:0 0 10px;font-size:1.2rem}.dialog-discard-confirm p{color:#526359;line-height:1.55}.dialog-discard-confirm .toolbar{flex-wrap:wrap}.form-feedback{overflow-wrap:anywhere;border-radius:9px;grid-column:1/-1;margin:0;padding:12px 14px;line-height:1.5}.form-success{color:#145d32;background:#ecf7ef;border:1px solid #b8dfc5}.form-error{overflow-wrap:anywhere}.field-error{color:#a12b28;font-size:.8rem;line-height:1.5}.field-hint{color:#66766e;font-size:.78rem;line-height:1.45}.record-source-note.record-field{display:block}.select-clear{justify-self:start;font-size:.78rem}button.link-action{appearance:none;min-height:36px;font:inherit;color:var(--green);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:6px 2px;font-weight:700;text-decoration:underline}button.link-action:disabled{opacity:.5;cursor:default}:is(.customer-select,.supplier-select)>label{display:block}:is(.customer-select-controls,.supplier-select-controls)>.include-closed-option{cursor:pointer;align-items:center;gap:8px;font-size:.78rem;line-height:1.4;display:flex}.entity-primary a{color:#1f4432;font-weight:650;text-decoration:none}.entity-primary a:hover{text-decoration:underline}.entity-list-table td{overflow-wrap:anywhere}@media (max-width:760px){.navigation-trail{margin:0 0 8px;font-size:.73rem}.navigation-trail a{min-height:36px}dialog.modal-backdrop .dialog-content>:is(.modal-card,.calendar-modal,.backup-progress-modal){max-height:calc(100dvh - 24px)}dialog.stat-fullscreen-backdrop{padding:8px}dialog.modal-backdrop .dialog-content>.stat-fullscreen-modal{max-height:calc(100dvh - 16px)}.quick-navigation-results a{min-height:48px}.quick-navigation-help{display:none}.field-label,.form-grid,.record-edit-form{min-width:0}:is(.note-actions,.modal-footer,.modal-actions) :is(button,a){min-height:44px}.entity-table-scroll{overflow:visible}.entity-table-scroll>table.table.entity-list-table{background:0 0;border:0;width:100%;min-width:0;display:block;overflow:visible}.entity-list-table thead{margin-bottom:12px;display:block}.entity-list-table thead tr{flex-wrap:wrap;gap:6px;display:flex}.entity-list-table thead th{background:0 0;border:0;padding:0;font-size:.72rem;display:block}.entity-list-table thead th:not(:has(.table-sort)){display:none}.entity-list-table .table-sort{border:1px solid var(--line);background:#f4f7f5;border-radius:7px;align-items:center;min-height:40px;padding:6px 10px;display:flex}.entity-list-table tbody{gap:12px;display:grid}.entity-list-table tbody tr{background:#fff;border:1px solid #dfe7e2;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px;display:grid;box-shadow:0 3px 9px #1c3b2606}.entity-list-table tbody td{text-align:left;border:0;flex-direction:column;gap:5px;min-width:0;padding:0;font-size:.85rem;display:flex}.entity-list-table tbody td:before{content:attr(data-label);color:#66766d;font-size:.7rem;font-weight:500}.entity-list-table tbody td.entity-primary{border-bottom:1px solid #e9eee9;grid-column:1/-1;padding-bottom:9px;font-size:1rem}.entity-list-table tbody td.entity-primary:before{display:none}.entity-list-table tbody td.entity-state{grid-column:1/-1}.entity-list-table :is(.status,.closed-entity-badge){align-self:start}.entity-list-table td.entity-action:before{display:none}.entity-list-table .entity-action a{color:#135e36;background:#f0f7f2;border:1px solid #cfdfd3;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:8px 12px;display:inline-flex}.entity-list-table .entity-state button{min-height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.filter-disclosure,.filter-disclosure-fields{display:contents}.filter-disclosure-toggle{display:none}@media (max-width:760px){.filter-disclosure{grid-column:1/-1;gap:12px;display:grid}.filter-disclosure-toggle{justify-content:center;display:flex}.filter-disclosure-fields{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.filter-disclosure-fields[data-expanded=false]{display:none}}.calendar-load-error{text-align:center;color:#53665c;padding:28px 20px}.calendar-load-error strong{color:var(--ink)}.calendar-load-error p{max-width:640px;margin:12px auto 20px;line-height:1.6}.filter-form-actions{flex-wrap:wrap;grid-column:1/-1;align-items:end;gap:10px;display:flex}@media (max-width:760px){.filter-form-actions>:is(button,a){flex:100px}.pagination .page-link{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}}@container (min-width:320px) and (max-width:439px){.executive-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directional-dashboard .kpi-card{gap:8px;min-height:176px;padding:13px}.directional-dashboard .kpi-head{align-items:start;gap:7px}.directional-dashboard .kpi-head strong{font-size:.8rem}.directional-dashboard .kpi-head span{font-size:.68rem}.directional-dashboard .kpi-icon{flex-basis:28px;width:28px;height:28px}.directional-dashboard .kpi-icon svg{width:17px;height:17px}.directional-dashboard .kpi-value{font-size:1.3rem}.directional-dashboard .kpi-detail{font-size:.72rem}}.mobile-menu-backdrop,.sidebar-mobile-close{border:0}.task-preview-description{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin-top:4px;font-size:.8rem;line-height:1.5;display:-webkit-box;overflow:hidden}@media (max-width:760px){.topbar>.toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.topbar>.toolbar>*{min-width:0}.topbar>.toolbar>.primary:first-child:last-child{grid-column:1/-1}.topbar>.toolbar.ai-topbar-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.ai-topbar-actions>.button{min-height:44px}.practice-list-table td a{align-items:center;min-height:32px;display:inline-flex}}.manual-line-field{gap:5px;min-width:0;display:grid}.manual-line-field>span{color:#5c6d63;font-size:.68rem;font-weight:600}.manual-line-head{display:none}.manual-line-row{align-items:end}@media (max-width:760px){.manual-lines-list{min-width:0;overflow:visible}.manual-line-row{background:#f9fbf9;border:1px solid #dae5dd;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding:14px}.manual-line-description,.manual-line-productCode{grid-column:1/-1}.manual-line-row>button{justify-self:end;min-width:44px;min-height:44px}.manual-line-field>span{font-size:.75rem}}.not-found-page{place-items:center;min-height:80dvh;padding:24px;display:grid}.not-found-page>.card{width:min(620px,100%);padding:clamp(22px,5vw,42px)}.not-found-page h1{margin:18px 0 12px;font-size:clamp(1.8rem,4vw,2.4rem)}.not-found-page p{color:var(--muted);margin-bottom:24px;line-height:1.65}dialog.ai-history-dialog{place-items:stretch end;padding:0}dialog.ai-history-dialog .dialog-content>.ai-history-drawer{border-radius:0;width:min(420px,100%);height:100dvh;max-height:100dvh;margin:0;position:static;overflow:auto}@media (max-width:980px),(pointer:coarse) and (max-width:1180px){.mobile-nav-toggle-input:not(:checked)~aside.sidebar{visibility:hidden}.mobile-nav-toggle-input:checked~aside.sidebar{visibility:visible}}.ai-memory-tabpanel{gap:16px;min-width:0;display:grid}@media (max-width:760px){.grid.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid.metrics>.card{min-width:0;padding:14px}.receivables-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible}.receivables-kpis article{min-width:0;padding:14px}.receivables-kpis article:first-child{grid-column:1/-1}.profile-settings-form .field{min-height:48px;font-weight:500}}.order-date-trigger{color:#185f39;min-height:40px;font:inherit;cursor:pointer;white-space:nowrap;background:#f2f8f4;border:1px solid #d2e3d8;border-radius:8px;justify-content:space-between;align-items:center;gap:9px;padding:8px 10px;display:inline-flex}.order-date-trigger:hover{background:#e5f2e9;border-color:#8fbf9f}.order-date-saved{color:#176339;margin-top:5px;display:block}.order-date-form{gap:16px;display:grid}.order-date-modal .modal-head h2{margin-top:0}.order-dates-bulk-modal{flex-direction:column;gap:12px;width:min(1160px,100%);height:calc(100dvh - 48px);display:flex}.dialog-content>.order-dates-bulk-modal.modal-card{height:calc(100dvh - 48px);overflow:hidden}.order-dates-bulk-modal>.modal-head{flex:none;margin:0}.order-dates-bulk-modal h2{margin:0}.order-dates-bulk-form{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.order-dates-controls{grid-template-columns:minmax(0,1fr) minmax(200px,.45fr);gap:16px;display:grid}.order-dates-controls label>span{align-items:center;gap:6px;display:flex}.order-dates-selection{flex-wrap:wrap;align-items:center;gap:10px 18px;display:flex}.order-dates-selection strong{color:#1f5635;margin-right:auto}.order-dates-list{border:1px solid var(--line);overscroll-behavior:contain;border-radius:10px;flex:120px;min-height:80px;overflow:auto}.order-date-option{cursor:pointer;border-bottom:1px solid #e5ece7;align-items:center;gap:14px;padding:14px 16px;display:flex}.order-date-option:last-child{border-bottom:0}.order-date-option.is-selected{background:#eaf6ee}.order-date-option>input{width:19px;height:19px;accent-color:var(--green);flex:0 0 19px}.order-date-option>span{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.order-date-option>span:nth-child(2){flex:1}.order-date-option small{color:#66766b;font-size:.76rem}.order-date-current{text-align:right;font-size:.85rem}.order-dates-pagination{justify-content:space-between;align-items:center;gap:12px;font-size:.8rem;display:flex}.order-dates-footer{background:#fff;flex:none;margin:0}.order-dates-bulk-form>:is(.field-hint,.form-error,.field-error){margin:0}@media (max-width:760px){.order-date-trigger{min-height:44px}.dialog-content>.order-dates-bulk-modal.modal-card{height:calc(100dvh - 24px);padding:16px}.order-dates-controls{grid-template-columns:minmax(0,1fr);gap:10px}.order-dates-bulk-form{gap:10px}.order-dates-selection{gap:8px 12px;font-size:.8rem}.order-dates-selection button{min-height:36px}.order-dates-selection .link-action{min-height:44px;font-size:.78rem}.order-dates-selection .button{padding:6px 10px;font-size:.75rem}.order-date-option{flex-wrap:wrap;gap:10px;padding:12px 10px;font-size:.85rem}.order-date-current{text-align:left;flex-basis:100%;padding-left:29px;gap:8px!important;display:flex!important}.order-dates-pagination{gap:8px}.order-dates-pagination .button{min-height:40px;padding:7px;font-size:.75rem}.order-dates-footer{gap:8px;padding-top:10px;display:flex}.order-dates-footer>.button{flex:1;padding:9px}}@media (max-height:500px){.order-dates-bulk-modal .field-hint,.order-dates-selection .link-action{display:none}.order-dates-controls{grid-template-columns:1fr 1fr}.order-dates-bulk-form{gap:5px}}.order-date-fields{border:0;min-width:0;margin:0;padding:0;display:contents}dialog.order-dates-backdrop .dialog-content>.order-dates-bulk-modal.modal-card{height:calc(100dvh - 48px);overflow:hidden}.order-dates-bulk-form{overscroll-behavior:contain;overflow-y:auto}.order-dates-bulk-form :is(.field-hint,.form-error,.field-error){margin:0}.order-dates-footer{z-index:3;background:#fff;position:sticky;bottom:0;box-shadow:0 -6px 12px #ffffffed}@media (max-width:760px){dialog.order-dates-backdrop .dialog-content>.order-dates-bulk-modal.modal-card{height:calc(100dvh - 24px)}}.dashboard-reminders.is-readonly .reminder-row{grid-template-columns:28px minmax(0,1fr)}.dashboard-reminders .reminder-readonly-status{color:var(--green);place-items:center;display:inline-grid}.dashboard-reminders.is-readonly :is(.reminder-readonly-text,.reminder-completed-text){white-space:pre-wrap;overflow-wrap:anywhere;grid-column:2/-1;display:block}
.inbox-workspace{gap:20px;min-width:0;display:grid}.inbox-intro{margin-bottom:0}.inbox-indicator{color:#dcebe2;border-radius:10px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;text-decoration:none;display:inline-flex;position:relative}.inbox-indicator:hover,.inbox-indicator.unread{color:#fff;background:#ffffff12}.inbox-indicator .notification-count{color:#fff;background:#c44c40;border:2px solid #173a2b;border-radius:10px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:750;display:grid;position:absolute;top:-3px;right:-6px}.inbox-mobile-launcher,.mobile-menu-tools{display:none}.sidebar .brand-actions{gap:5px}.inbox-address-card{background:linear-gradient(130deg,#f1f9f3,#fff 70%);border-color:#cfe2d6;align-items:start;gap:16px;min-width:0;padding:22px;display:flex}.inbox-address-icon{color:#1a7442;background:#e0f0e5;border-radius:13px;flex:0 0 48px;place-items:center;width:48px;height:48px;display:grid}.inbox-address-copy{flex:1;min-width:0}.inbox-address-copy h2{margin:0 0 10px;font-size:.98rem}.inbox-address-copy p{color:#5b7062;max-width:880px;margin:10px 0 0;font-size:.82rem;line-height:1.55}.inbox-address{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.inbox-address code{color:#174b31;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;background:#fff;border:1px solid #d9e6dd;border-radius:8px;min-width:0;padding:11px 12px;font:600 .87rem ui-monospace,SFMono-Regular,Menlo,monospace}.inbox-address .button{padding:9px 12px}.inbox-shell{grid-template-columns:minmax(300px,.72fr) minmax(0,1.3fr);align-items:start;gap:20px;min-width:0;display:grid}.inbox-list-panel{min-width:0;padding:0;overflow:hidden}.inbox-list-tools{border-bottom:1px solid var(--line);gap:14px;padding:16px;display:grid}.inbox-filter-tabs{flex-wrap:wrap;gap:6px;display:flex}.inbox-filter-tabs button{color:#5f7065;min-height:36px;font:inherit;cursor:pointer;background:#f1f5f2;border:0;border-radius:7px;padding:8px 10px;font-size:.75rem;font-weight:600}.inbox-filter-tabs button.active{color:#155e35;background:#dcefe2}.inbox-search{border:1px solid var(--line);color:#6a7d70;border-radius:9px;align-items:center;gap:9px;min-width:0;padding:0 10px;display:flex}.inbox-search input{width:100%;min-width:0;min-height:42px;color:var(--ink);font:inherit;outline-offset:-2px;background:0 0;border:0;font-size:.8rem}.inbox-message-list{margin:0;padding:0;list-style:none}.inbox-message-list li{margin:0}.inbox-message-row{color:#3f5447;text-align:left;cursor:pointer;width:100%;font:inherit;background:#fff;border-top:0;border-bottom:1px solid #e5ece7;border-left:3px solid #0000;border-right:0;gap:8px;min-width:0;padding:17px 16px;display:grid}.inbox-message-row:hover{background:#f6faf7}.inbox-message-row.is-selected{background:#edf7f0;border-left-color:#188650}.inbox-row-top{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;display:flex}.inbox-row-top strong{color:#596f60;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.75rem;font-weight:500;overflow:hidden}.inbox-row-top time{color:#7c8d80;white-space:nowrap;flex:none;font-size:.65rem}.inbox-row-subject{color:#243e2e;overflow-wrap:anywhere;align-items:baseline;gap:7px;min-width:0;font-size:.9rem;display:flex}.inbox-message-row.is-unread .inbox-row-subject,.inbox-message-row.is-unread .inbox-row-top strong{font-weight:750}.inbox-unread-dot{background:#188650;border-radius:50%;flex:0 0 7px;width:7px;height:7px}.inbox-row-snippet{color:#6b7c70;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.77rem;line-height:1.45;display:-webkit-box;overflow:hidden}.inbox-row-tags{color:#7c8e7f;align-items:center;gap:10px;font-size:.68rem;display:flex}.inbox-row-tags>span{align-items:center;gap:4px;display:flex}.inbox-row-tags .inbox-status-imported{color:#21804a}.inbox-row-tags .inbox-status-warning{color:#a26a20}.inbox-pagination{color:#687e6d;justify-content:space-between;align-items:center;gap:8px;padding:14px 12px;font-size:.72rem;display:flex}.inbox-pagination .button{min-height:36px;padding:7px 9px}.inbox-empty,.inbox-list-error,.inbox-list-loading{text-align:center;color:#728878;justify-items:center;gap:12px;padding:40px 22px;display:grid}.inbox-empty h2{color:#34583f;margin:0;font-size:1rem}.inbox-empty p,.inbox-list-error p{margin:0;font-size:.82rem;line-height:1.6}.inbox-detail-panel{min-width:0}.inbox-detail{min-width:0;padding:22px}.inbox-detail-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:18px;display:flex}.inbox-detail-actions>.primary{margin-left:auto}.inbox-back{display:none}.inbox-message-heading{min-width:0;margin:22px 0}.inbox-eyebrow{letter-spacing:.09em;text-transform:uppercase;color:#2e8050;align-items:center;gap:7px;font-size:.68rem;font-weight:750;display:flex}.inbox-message-heading h2{overflow-wrap:anywhere;margin:10px 0 18px;font-size:clamp(1.1rem,2vw,1.45rem);line-height:1.4}.inbox-message-meta{gap:8px;margin:0;font-size:.78rem;display:grid}.inbox-message-meta>div{grid-template-columns:62px minmax(0,1fr);gap:10px;display:grid}.inbox-message-meta dt{color:#7a8f80}.inbox-message-meta dd{overflow-wrap:anywhere;color:#435f4c;margin:0;line-height:1.5}.inbox-imported-notice,.inbox-processing{color:#2a7544;background:#edf7ef;border-radius:8px;align-items:start;gap:10px;padding:13px;font-size:.8rem;line-height:1.6;display:flex}.inbox-imported-notice svg{flex:none;margin-top:3px}.inbox-processing{color:#796434;background:#f9f4e9}.inbox-body-section h3,.inbox-attachments h3{margin:20px 0 12px;font-size:.84rem}.inbox-email-body{white-space:pre-wrap;overflow-wrap:anywhere;color:#3d5145;overscroll-behavior:contain;background:#f8faf8;border:1px solid #e5ebe6;border-radius:10px;max-height:520px;padding:17px;font-size:.87rem;line-height:1.7;overflow:auto}.inbox-attachments h3{align-items:center;gap:8px;display:flex}.inbox-attachments h3 span{color:#87978c;margin-left:auto;font-size:.73rem}.inbox-attachments ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.inbox-attachments li{border:1px solid var(--line);border-radius:9px;align-items:center;gap:12px;padding:12px;display:flex}.inbox-attachments li>div{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.inbox-attachments li>div>svg{color:#66856e;flex:none}.inbox-attachments li>div>span{gap:5px;min-width:0;display:grid}.inbox-attachments strong{overflow-wrap:anywhere;font-size:.8rem;font-weight:650}.inbox-attachments small{color:#7d8d81;overflow-wrap:anywhere;font-size:.7rem;line-height:1.45}.inbox-attachments .button{padding:7px 10px;font-size:.75rem}.inbox-attachment-unavailable{color:#8a7760;font-size:.7rem}.inbox-detail-empty{text-align:center;color:#6b8573;align-content:center;justify-items:center;gap:13px;min-height:310px;padding:34px;display:grid}.inbox-detail-empty h2{color:#3f644b;margin:0;font-size:1.1rem}.inbox-detail-empty p{max-width:480px;margin:0;font-size:.85rem;line-height:1.65}dialog.inbox-import-backdrop .dialog-content>.inbox-import-modal{flex-direction:column;gap:16px;width:min(1020px,100%);padding:24px;display:flex}.inbox-import-modal .modal-head{margin:0}.inbox-import-modal .modal-head h2{margin:6px 0 7px;font-size:1.35rem}.inbox-import-modal .modal-head p{color:#697e70;overflow-wrap:anywhere;max-width:760px;margin:0;font-size:.8rem}.inbox-import-steps{border-bottom:1px solid var(--line);color:#89998e;align-items:center;gap:24px;margin:0;padding:0 0 15px;font-size:.8rem;list-style:none;display:flex}.inbox-import-steps li{align-items:center;gap:8px;display:flex}.inbox-import-steps li>span{border:1px solid #d9e5dc;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.inbox-import-steps li[aria-current]{color:#1c7443;font-weight:700}.inbox-import-steps li[aria-current]>span{color:#fff;background:#1d804b;border-color:#1d804b}.inbox-import-modal form{min-width:0}.inbox-import-modal form>fieldset{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.inbox-destination-form{width:100%;max-width:680px;margin-inline:auto}.inbox-ai-option{cursor:pointer;background:#f0f8f3;border:1px solid #bedcc8;border-radius:11px;align-items:start;gap:12px;padding:17px;display:flex}.inbox-ai-option>input{accent-color:#1e804c;flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}.inbox-ai-option>svg{color:#2f8b55;flex:none;margin-top:1px}.inbox-ai-option>span{gap:7px;display:grid}.inbox-ai-option strong{color:#266140;font-size:.86rem}.inbox-review-heading{color:#365c43;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.inbox-review-heading strong{font-size:.9rem}.inbox-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;display:grid}.inbox-review-grid .full-span{grid-column:1/-1}.inbox-customer-fields{border:1px solid var(--line);border-radius:9px;gap:12px;min-width:0;padding:15px;display:grid}.inbox-create-customer-option{color:#55725e;align-items:start;gap:8px;font-size:.8rem;line-height:1.5;display:flex}.inbox-create-customer-option input{accent-color:#1e804c;width:17px;height:17px;margin:1px 0 0}.inbox-quote-lines{gap:13px;min-width:0;display:grid}.inbox-quote-lines .section-head{flex-wrap:wrap}.inbox-quote-lines .section-head>div{flex:300px}.inbox-quote-lines h3{margin:0;font-size:.95rem}.inbox-quote-line{border:1px solid var(--line);border-radius:9px;min-width:0;margin:0;padding:13px}.inbox-quote-line legend{color:#64816d;padding-inline:5px;font-size:.73rem}.inbox-quote-line .manual-line-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}.inbox-quote-line .manual-line-description{grid-column:span 2}.inbox-quote-line .manual-line-row>button{place-self:end;min-width:40px;min-height:40px}.inbox-import-modal .modal-footer{z-index:2;background:#fff;flex-wrap:wrap;margin-top:4px;padding-bottom:4px;position:sticky;bottom:-24px;box-shadow:0 -8px 12px #ffffffed}@media (max-width:1180px){.inbox-shell{grid-template-columns:minmax(260px,.65fr) minmax(0,1fr);gap:14px}.inbox-detail{padding:18px}.inbox-row-top{flex-direction:column;gap:5px}.inbox-detail-actions>.button{padding:8px 10px;font-size:.76rem}}@media (max-width:980px),(pointer:coarse) and (max-width:1180px){.mobile-menu-tools{left:clamp(12px,2.5vw,20px);top:max(10px, env(safe-area-inset-top));z-index:145;align-items:center;gap:8px;display:flex;position:fixed}.mobile-menu-tools .mobile-menu-launcher{position:static;inset:auto}.inbox-mobile-launcher{color:#1c6a3e;background:#fff;border:1px solid #d8e5dc;border-radius:9px;width:42px;height:42px;display:inline-flex;position:relative;box-shadow:0 5px 15px #143f2110}.inbox-mobile-launcher:hover,.inbox-mobile-launcher.unread{color:#17683a;background:#eef8f1}.inbox-mobile-launcher .notification-count{border-color:#fff}.inbox-shell{grid-template-columns:minmax(0,1fr)}.inbox-detail-panel,.inbox-workspace[data-detail-open=true] .inbox-list-panel,.inbox-workspace[data-detail-open=true] .inbox-address-card,.inbox-workspace[data-detail-open=true] .inbox-intro{display:none}.inbox-workspace[data-detail-open=true] .inbox-detail-panel{display:block}.inbox-back{display:inline-flex}.inbox-detail-actions>.primary{margin-left:0}.inbox-row-top{flex-direction:row;gap:12px}}@media (max-width:760px){.inbox-workspace{gap:14px}.inbox-address-card{gap:12px;padding:17px}.inbox-address-icon{border-radius:10px;flex-basis:36px;width:36px;height:36px}.inbox-address-icon svg{width:20px}.inbox-address{align-items:stretch}.inbox-address code{width:100%;padding:10px;font-size:.72rem}.inbox-address .button{min-height:42px}.inbox-address-copy p{font-size:.78rem}.inbox-address-card .inbox-address-copy{width:calc(100% - 48px)}.inbox-list-tools{padding:13px}.inbox-filter-tabs{gap:5px}.inbox-filter-tabs button{min-height:44px;padding:7px 8px;font-size:.72rem}.inbox-message-row{padding:15px 13px}.inbox-row-top time{font-size:.62rem}.inbox-row-top strong{font-size:.7rem}.inbox-detail{padding:15px}.inbox-detail-actions{gap:7px}.inbox-detail-actions>.button{flex:125px;justify-content:center;min-height:44px;font-size:.75rem}.inbox-detail-actions>.primary{flex-basis:100%}.inbox-message-heading h2{font-size:1.15rem}.inbox-message-meta>div{grid-template-columns:48px minmax(0,1fr);gap:7px;font-size:.74rem}.inbox-email-body{max-height:470px;padding:13px;font-size:.82rem}.inbox-attachments li{gap:9px;padding:10px}.inbox-attachments .button{min-width:42px;min-height:42px;padding:8px}.inbox-attachments .button span{display:none}.inbox-attachments strong{font-size:.76rem}dialog.inbox-import-backdrop .dialog-content>.inbox-import-modal{gap:14px;padding:17px}.inbox-import-modal .modal-head h2{font-size:1.1rem}.inbox-import-steps{gap:14px;font-size:.68rem}.inbox-import-steps li{gap:5px}.inbox-import-steps li>span{width:21px;height:21px}.inbox-review-grid{grid-template-columns:minmax(0,1fr);gap:14px}.macc-brand-refresh .inbox-import-modal .modal-footer[data-page-actions]{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;align-items:stretch;gap:8px;width:100%;display:grid;bottom:-17px}.macc-brand-refresh .inbox-import-modal .modal-footer[data-page-actions]>.button{white-space:normal;overflow-wrap:anywhere;text-align:center;flex:none;justify-content:center;width:100%;min-width:0;height:auto;min-height:44px;padding:9px 10px;font-size:.8rem;line-height:1.25}.macc-brand-refresh .inbox-import-modal .modal-footer[data-page-actions]>.primary:last-child:nth-child(odd){grid-column:1/-1}.inbox-ai-option{gap:9px;padding:13px}.inbox-ai-option>svg{display:none}.inbox-customer-fields{padding:12px}.inbox-quote-line .manual-line-row{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-quote-line .manual-line-description,.inbox-quote-line .manual-line-productCode{grid-column:1/-1}.inbox-detail-empty{min-height:220px;padding:24px 18px}}@media (max-height:500px){.inbox-import-steps{display:none}dialog.inbox-import-backdrop .dialog-content>.inbox-import-modal{gap:10px}}.inbox-background-error{margin:12px;font-size:.78rem;line-height:1.5}.sidebar:has(.sidebar-toggle-input:checked) .brand-actions{flex-wrap:wrap;gap:4px;max-width:64px}.sidebar:has(.sidebar-toggle-input:checked) .brand-actions :is(.inbox-indicator,.header-notification-trigger,.sidebar-toggle){flex-basis:28px;width:28px;height:28px}.inbox-review-metadata{border:1px solid var(--line);border-radius:10px;min-width:0;padding:13px}.inbox-review-metadata>summary{cursor:pointer;font-weight:650;line-height:1.5}.inbox-review-metadata[open]>summary{margin-bottom:14px}.inbox-review-toolbar{align-items:center;gap:10px}.inbox-review-actions,.inbox-entity-choices{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inbox-review-actions .button,.inbox-entity-choices .button{min-height:40px;padding:8px 11px;font-size:.8rem}.inbox-review-core>*,.inbox-supplier-fields{min-width:0}.inbox-entity-choices{margin-top:6px}.inbox-review-core .inbox-create-customer-option{font-size:.8rem}@media (max-width:760px){.inbox-review-metadata{padding:11px}.inbox-review-actions .button,.inbox-entity-choices .button{min-height:44px}.inbox-import-footer .button{flex:0 auto;height:auto;min-height:44px}}.inbox-quote-line .quote-line-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inbox-quote-line .quote-line-compact .manual-line-productCode{grid-column:auto}.inbox-quote-line .quote-line-compact .manual-line-description{grid-column:1/-1}.quote-line-compact textarea{resize:vertical;min-height:70px;line-height:1.45}.quote-line-optional{grid-column:1/-1;min-width:0;font-size:.8rem}.quote-line-optional>summary{cursor:pointer;color:#476d56;padding-block:7px}.quote-line-optional>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-block:6px;display:grid}.quote-line-compact-total{color:#476d56;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;font-size:.8rem;display:flex}.quote-line-compact-total .icon-button{flex:0 0 40px;height:40px;min-height:40px}@media (max-width:760px){.inbox-quote-lines .section-head>div{flex-basis:150px}.inbox-quote-lines .section-head>.button{min-height:40px;padding:8px;font-size:.75rem}.inbox-quote-lines .section-head .field-hint{font-size:.75rem;line-height:1.4}}.inbox-quote-line .quote-line-compact textarea.field{height:84px;min-height:84px}@media (min-width:1000px){.inbox-quote-line .quote-line-compact{grid-template-columns:repeat(6,minmax(0,1fr))}.inbox-quote-line .quote-line-compact .manual-line-productCode{grid-column:span 2}.inbox-quote-line .quote-line-compact .manual-line-description{grid-column:span 3}.inbox-quote-line .quote-line-compact .manual-line-quantity,.inbox-quote-line .quote-line-compact .manual-line-unitPrice{grid-column:span 2}.inbox-quote-line .quote-line-compact .quote-line-optional{grid-column:span 2;align-self:end}.inbox-quote-line .quote-line-compact textarea.field{height:64px;min-height:64px}}.quote-line-compact-total output{margin-right:auto}.inbox-review-core .inbox-customer-fields{border:0;gap:8px;padding:0}.inbox-supplier-fields{align-content:start;gap:8px;display:grid}
.orders-results{min-width:0}.orders-results-heading{margin:0 0 16px}.orders-results-heading>p{color:#324d40;flex-wrap:wrap;align-items:baseline;gap:4px;margin:0;font-size:.86rem;display:flex}.orders-results-heading>p>strong{color:#17673c}.orders-results-heading>p>span{color:#6b7c71;margin-left:auto;font-size:.78rem}.orders-mobile-sorting,.order-mobile-customer{display:none}.order-primary-cell>a{color:#174e33;text-decoration:none}.order-primary-cell>a:hover{text-decoration:underline}.order-open-cell>a{white-space:nowrap}.order-dates-steps{color:#718078;flex-shrink:0;align-items:center;gap:24px;margin:0;padding:0;font-size:.78rem;list-style:none;display:flex}.order-dates-steps>li{align-items:center;gap:8px;display:flex}.order-dates-steps>li>span{background:#edf2ef;border-radius:50%;flex:0 0 26px;place-items:center;width:26px;height:26px;font-weight:800;display:grid}.order-dates-steps>li[aria-current=step]{color:#146c3c;font-weight:800}.order-dates-steps>li[aria-current=step]>span{background:#dff1e5}.order-dates-search{min-width:0}.order-dates-search label>span{align-items:center;gap:7px;display:flex}.order-dates-search .field{width:100%}.order-dates-retained{color:#366047;background:#eef7f1;border-radius:8px;margin:0;padding:8px 11px;font-size:.78rem;line-height:1.5}.order-dates-pagination>span{text-align:center;gap:3px;display:grid}.order-dates-pagination>span>small{color:#718078;font-size:.72rem}.order-dates-extra-actions{color:#617366;padding:0;font-size:.78rem}.order-dates-extra-actions>summary{cursor:pointer;color:#1d6240;align-items:center;width:fit-content;min-height:38px;font-weight:700;display:flex}.order-dates-extra-actions>summary:after{content:"⌄";margin-left:8px}.order-dates-extra-actions[open]>summary:after{content:"⌃"}.order-dates-extra-actions>p{margin:0 0 7px;line-height:1.5}.order-dates-extra-actions>div{flex-wrap:wrap;gap:8px 20px;padding-bottom:6px;display:flex}.order-dates-extra-actions button{min-height:40px}.order-dates-review{background:#f4faf6;border:1px solid #d6e8dc;border-radius:12px;padding:16px}.order-dates-review h3{color:#1c5436;margin:0;font-size:1rem}.order-dates-review p{margin:9px 0 14px;font-size:.86rem;line-height:1.5}.order-dates-review .field-label{max-width:340px}.order-dates-review .order-dates-review-help{color:#637b6a;margin-bottom:0;font-size:.77rem}.order-dates-review-list .order-date-option>span:first-child{flex:1}.order-dates-footer .button{min-height:44px}.order-dates-bulk-modal .modal-head>div{min-width:0}.order-dates-bulk-modal .modal-head h2{overflow-wrap:anywhere}@media (max-width:980px){.orders-results-heading{gap:14px;display:grid}.orders-results-heading>p{font-size:.88rem}.orders-results-heading>p>span{flex-basis:100%;margin:2px 0 0;font-size:.76rem}.orders-mobile-sorting{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}.orders-mobile-sorting>.field-label{min-width:0;margin:0;font-size:.73rem}.orders-mobile-sorting .field{width:100%;min-width:0;min-height:44px;padding-right:26px;font-size:16px}.orders-mobile-sorting>.button{min-height:44px;padding:8px 11px}.orders-mobile-cards{width:100%;min-width:0;max-width:100%;display:block;overflow:visible}.orders-mobile-cards thead{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.orders-mobile-cards tbody{gap:12px;width:100%;min-width:0;display:grid}.orders-mobile-cards tbody tr{background:#fff;border:1px solid #dbe6df;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:12px 14px;width:100%;min-width:0;padding:16px;display:grid;box-shadow:0 3px 12px #173d2507}.orders-mobile-cards tbody td{white-space:normal;overflow-wrap:anywhere;border:0;flex-direction:column;align-items:stretch;gap:5px;width:auto;min-width:0;max-width:100%;padding:0;font-size:.86rem;display:flex}.orders-mobile-cards tbody td:before{content:attr(data-label);color:#617267;font-size:.7rem;font-weight:500}.orders-mobile-cards tbody .order-primary-cell{grid-column:1/-1;gap:6px}.orders-mobile-cards tbody .order-primary-cell:before{display:none}.order-primary-cell>a{overflow-wrap:anywhere;font-size:.98rem;line-height:1.4;display:block}.order-mobile-customer{color:#526b5c;font-size:.82rem;line-height:1.45;display:block}.orders-mobile-cards tbody .order-customer-cell{display:none}.orders-mobile-cards tbody .order-supplier-cell{border-top:1px solid #edf1ee;grid-column:1/-1;padding-top:10px}.orders-mobile-cards tbody .order-date-cell{align-self:start}.orders-mobile-cards .order-date-trigger{white-space:normal;text-align:left;width:100%;max-width:100%;min-height:44px;padding:8px 9px;font-size:.79rem}.orders-mobile-cards .order-date-trigger>svg{flex-shrink:0}.orders-mobile-cards tbody .order-amount-cell{color:#174b30;font-size:1rem;font-weight:750}.orders-mobile-cards tbody .order-amount-cell:before{margin-bottom:9px}.orders-mobile-cards tbody .order-open-cell{grid-column:1/-1}.orders-mobile-cards tbody .order-open-cell:before{display:none}.orders-mobile-cards .order-open-cell>.link-action{color:#17673c;background:#edf7f0;border:1px solid #cce1d3;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:9px 12px;font-weight:700;display:inline-flex}.order-dates-bulk-modal>.modal-head .label{margin-top:6px;font-size:.79rem}.order-dates-steps{gap:15px;font-size:.71rem}.order-dates-steps>li{gap:5px}.order-dates-steps>li>span{flex-basis:22px;width:22px;height:22px}.order-dates-search .field{min-height:44px;font-size:16px}.order-dates-selection{align-items:center;gap:8px;display:flex}.order-dates-selection>strong{font-size:.78rem}.order-dates-selection>.button{min-height:44px;padding:8px 10px;font-size:.74rem}.order-dates-list{flex:160px;min-height:135px}.order-date-option{padding:13px 10px}.order-date-option>span>strong{font-size:.85rem;line-height:1.4}.order-date-option small{line-height:1.4}.order-dates-review-list .order-date-current{padding-left:0}.order-dates-pagination{gap:6px}.order-dates-pagination>.button{min-height:44px;padding:7px 9px;font-size:.72rem}.order-dates-pagination>span{font-size:.72rem}.order-dates-pagination>span>small{font-size:.66rem}.order-dates-extra-actions>summary,.order-dates-extra-actions button{min-height:44px}.order-dates-bulk-modal .modal-footer.order-dates-footer{flex-flow:wrap;align-items:stretch;gap:8px;display:flex}.order-dates-bulk-modal .modal-footer.order-dates-footer>.button{white-space:normal;flex:80px;justify-content:center;width:auto;min-width:0;height:auto;min-height:46px;padding:8px;font-size:.8rem}.order-dates-bulk-modal .modal-footer.order-dates-footer>.primary{flex:2 148px}.order-dates-review{padding:13px}.order-dates-review .field-label{max-width:none}.order-dates-review .field{width:100%;min-height:48px;font-size:16px}.order-dates-bulk-modal[data-order-step=date] .order-dates-review-list{min-height:90px}}@media (max-height:500px){.order-dates-bulk-modal>.modal-head .label{display:none}.order-dates-steps{gap:18px;font-size:.7rem}.order-dates-steps>li>span{flex-basis:20px;width:20px;height:20px}.order-dates-bulk-modal .order-dates-list{flex:100px;min-height:100px}.order-dates-extra-actions,.order-dates-review .order-dates-review-help{display:none}.order-dates-review{padding:10px}.order-dates-review h3{font-size:.85rem}.order-dates-review p{margin:5px 0 8px;font-size:.77rem}}@media (max-width:980px){.order-date-modal .modal-footer{z-index:4;background:#fff;flex-flow:wrap;gap:8px;padding:10px 0 0;display:flex;position:sticky;bottom:0;box-shadow:0 -8px 12px #fff}.order-date-modal .modal-footer>.button{flex:100px;width:auto;min-width:0;min-height:44px}}
.mobile-practices-board{min-width:0;max-width:100%}.mobile-kanban-navigator{align-items:center;gap:12px;margin:0 0 6px;padding:8px 0;display:none}.mobile-kanban-caption{color:var(--muted);flex-wrap:wrap;gap:4px 10px;font-size:.76rem;display:flex}.mobile-kanban-caption>:first-child{font-weight:650}.mobile-kanban-navigator .field{text-align:center;text-align-last:center;width:100%;min-width:0;min-height:44px;padding-inline:6px;font-size:.9rem;font-weight:700}.mobile-kanban-pager{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;display:grid}.mobile-kanban-pager .button{justify-content:center;min-width:44px;min-height:44px;padding:8px}.mobile-kanban-help{color:var(--muted);margin:0 2px 12px;font-size:.78rem;line-height:1.5;display:block}.kanban-card-select{cursor:pointer;flex:none;justify-content:center;align-items:center;display:inline-flex}.mobile-practices-board :is(.kanban,.receivables-kanban){touch-action:pan-x pan-y pinch-zoom;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;width:100%;min-width:0;max-width:100%;scroll-margin-top:calc(72px + env(safe-area-inset-top));-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:stretch;gap:12px;padding:0 0 14px;display:flex;overflow:auto hidden}.mobile-practices-board .kanban>.column,.mobile-practices-board .receivables-kanban>.receivable-column{scroll-snap-align:start;flex:0 0 320px;width:320px;min-width:0;max-width:320px}.mobile-practices-board :is(.column,.receivable-column){height:auto;min-height:320px;max-height:none}.mobile-practices-board .kanban-card-list{flex-direction:column;align-content:start;gap:10px;padding:2px 0 4px;display:flex;overflow:visible}.mobile-practices-board .kanban-card{flex:none;min-height:0;margin:0;padding:12px}.mobile-practices-board .kanban-card-title{padding:3px 0;font-size:.92rem;line-height:1.4}.mobile-practices-board .kanban-card-customer,.mobile-practices-board .kanban-card-supplier{white-space:normal;overflow-wrap:anywhere;line-height:1.45;overflow:visible}.mobile-practices-board .kanban-card-top{flex-wrap:wrap;gap:4px;margin-bottom:4px}.mobile-practices-board .kanban-card-select{min-width:36px;min-height:44px}.mobile-practices-board .kanban-card-select .card-check{width:21px;height:21px;margin:0}.mobile-practices-board .kanban-touch-handle,.mobile-practices-board .kanban-card-menu summary{width:44px;min-width:44px;height:44px;min-height:44px;display:inline-grid}.mobile-practices-board .kanban-touch-handle{touch-action:none;cursor:grab}.mobile-practices-board .kanban-touch-handle:active{cursor:grabbing}.mobile-practices-board .kanban-card-menu-panel{max-height:min(360px,65dvh);overflow-y:auto}.mobile-practices-board .kanban-card-menu-panel button{min-height:44px;font-size:.9rem}.mobile-practices-board .kanban-card-controls:has(.kanban-card-menu[open]){flex:100%;align-items:flex-start}.mobile-practices-board .kanban-card-menu[open]{flex:1;min-width:0}.mobile-practices-board .kanban-card-menu[open]>summary{margin-left:auto}.mobile-practices-board .kanban-card-menu[open] .kanban-card-menu-panel{width:100%;margin-top:6px;position:static}.mobile-kanban-empty{color:var(--muted);margin:4px 0;padding:18px 12px;font-size:.85rem;line-height:1.5;display:block}.mobile-practices-board .column-select{min-height:44px}.mobile-practices-board .receivable-card{margin:0}.mobile-practices-board .receivable-column-body{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.mobile-practices-board .receivable-card-select{gap:9px;width:fit-content;min-height:44px;padding:0 6px}.mobile-practices-board .receivable-card-select input{width:21px;height:21px}.mobile-practices-board .receivable-card-link{gap:7px}.mobile-practices-board .receivable-card-link strong,.mobile-practices-board .receivable-card-link span{white-space:normal;overflow-wrap:anywhere}.mobile-practices-board .receivable-archive-trigger{flex-basis:44px;width:44px;height:44px}.mobile-practices-board .bulk-bar .button,.mobile-practices-board .bulk-bar .link-action{min-height:44px}.mobile-practices-board .kanban-scroll-button{display:none}.mobile-practices-board :is(.kanban,.receivables-kanban)[data-card-dragging]{scroll-snap-type:none;scroll-behavior:auto}.kanban-drag-preview{z-index:10000;pointer-events:none;border:2px solid var(--green);max-width:min(280px,70vw);color:var(--ink);background:#fff;border-radius:10px;padding:12px 16px;font-size:.9rem;font-weight:750;position:fixed;transform:translate(-50%,calc(-100% - 18px));box-shadow:0 12px 35px #10372344}.kanban-drag-status{z-index:9999;bottom:calc(90px + env(safe-area-inset-bottom));pointer-events:none;color:#fff;background:#174d3a;border-radius:10px;max-width:90vw;padding:10px 15px;font-size:.82rem;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #10372344}@media (max-width:600px){.mobile-kanban-navigator{grid-template-columns:minmax(0,1fr);gap:5px;display:grid}.mobile-kanban-caption{justify-content:space-between}.mobile-practices-board :is(.kanban,.receivables-kanban){scroll-snap-type:x mandatory}.mobile-practices-board .kanban>.column,.mobile-practices-board .receivables-kanban>.receivable-column{flex-basis:100%;width:100%;min-width:0;max-width:100%}}@media (max-width:980px),(max-width:1180px) and (pointer:coarse){.mobile-practices-board .kanban-search{flex-direction:column;align-items:stretch;gap:6px}.mobile-practices-board .kanban-search-count{padding-left:2px;font-size:.78rem}.mobile-practices-board .kanban-search-field input{min-height:46px;font-size:1rem}.mobile-practices-board .kanban-search-field button{width:44px;height:44px}.mobile-practice-finance-table{table-layout:auto;display:block}.mobile-practice-finance-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-practice-finance-table tbody{gap:14px;display:grid}.mobile-practice-finance-table tbody tr{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:minmax(0,1fr);padding:10px 13px;display:grid}.mobile-practice-finance-table tbody td{white-space:normal;overflow-wrap:anywhere;border:0;grid-template-columns:minmax(100px,.75fr) minmax(0,1fr);align-items:baseline;gap:10px;width:100%;padding:9px 0;display:grid}.mobile-practice-finance-table tbody td:before{content:attr(data-label);color:var(--muted);font-size:.75rem;font-weight:600}.mobile-practice-finance-table tbody td[data-label=Fattura]{border-bottom:1px solid var(--line);padding-top:3px;font-size:1rem}.mobile-practice-finance-table tbody td[data-label=Residuo]{border-top:1px solid var(--line);color:var(--green);padding:12px 0;font-size:1.05rem}.mobile-practice-finance-table tbody td[data-label=Azioni]{display:block}.mobile-practice-finance-table tbody td[data-label=Azioni]:before{display:none}.mobile-practice-finance-table .receivable-row-actions{white-space:normal;flex-flow:wrap;align-items:center;gap:8px;display:flex}.mobile-practice-finance-table .receivable-row-actions>.button{flex:100%;justify-content:center;min-height:46px}.mobile-practice-finance-table .receivable-row-actions .icon-button{width:44px;height:44px}}@media (min-width:600px) and (max-width:980px),(min-width:600px) and (max-width:1180px) and (pointer:coarse){.mobile-practice-finance-table tbody{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.practice-board-settings-toggle{display:none}@media (max-width:980px),(max-width:1180px) and (pointer:coarse){.practice-board-settings{margin:0 0 12px}.practice-board-settings-toggle{width:100%;min-height:44px;color:var(--muted);justify-content:flex-start;align-items:center;gap:8px;display:flex}.practice-board-settings-toggle span{text-align:left;flex:1}.practice-board-settings[data-expanded=false] .practice-board-settings-content{display:none}.practice-board-settings[data-expanded=true] .practice-board-settings-content{padding-top:10px}.practice-board-settings[data-expanded=true] .practice-board-settings-toggle>svg:last-child{transform:rotate(180deg)}}.mobile-practices-board .kanban>.column:first-child,.mobile-practices-board .receivables-kanban>.receivable-column:first-child{margin-inline-start:auto}.mobile-practices-board .kanban>.column:last-child,.mobile-practices-board .receivables-kanban>.receivable-column:last-child{margin-inline-end:auto}.macc-brand-refresh .mobile-practices-board .receivable-column-title{min-height:40px}.macc-brand-refresh .mobile-practices-board .receivable-archive-trigger{border-radius:7px;flex:0 0 28px;width:28px;min-width:28px;height:28px;min-height:28px;padding:0}@media (max-width:760px),(pointer:coarse){.macc-brand-refresh .mobile-practices-board .receivable-archive-trigger:before{content:"";position:absolute;inset:-8px}}
.statistics-comparison-cards,.line-chart-mobile,.statistics-mobile-range{display:none}.statistics-filter-summary-copy .statistics-filter-context{white-space:normal;line-height:1.4}.statistics-reading-hint,.statistics-comparison-disabled{color:#526b5e;margin:-4px 0 16px;font-size:.82rem;line-height:1.55}.statistics-comparison-disabled{background:#f6faf7;border:1px solid #dce9e1;border-radius:12px;margin:0 0 16px;padding:16px}.statistics-filter-pending{color:#1b6941;flex:1 0 100%;margin:0;font-size:.82rem}.statistics-section-heading{scroll-margin-top:138px}@media screen and (max-width:760px),screen and (max-width:980px) and (pointer:coarse){.statistics-page .analytics-hero{padding:16px}.statistics-page .dashboard-title h1{font-size:clamp(1.65rem,7vw,2rem)}.statistics-page .dashboard-title p{font-size:.86rem;line-height:1.5}.statistics-page .analytics-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.statistics-page .analytics-actions .button{width:100%;min-height:44px;font-size:.8rem}.statistics-filter-summary{grid-template-columns:34px minmax(0,1fr) 24px;gap:10px}.statistics-filter-summary-copy strong{font-size:1rem}.statistics-filter-summary-copy .statistics-mobile-range{color:#233f31;white-space:normal;font-size:.79rem;font-weight:700;display:block}.statistics-filter-summary-copy .statistics-filter-context{font-size:.72rem}.statistics-filter-summary-icon{width:34px;height:34px}.statistics-commercial-filters>summary{align-items:center;width:100%;min-height:44px;display:flex}.statistics-filter-submit{z-index:3;padding:12px 14px max(12px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce8df;gap:8px;margin:0 -14px -14px;position:sticky;bottom:0}.statistics-filter-submit .button{flex:120px;justify-content:center;min-height:44px}.statistics-filter-submit .primary{flex:1.5 160px}.statistics-page .analysis-summary-bar{padding:12px;font-size:.78rem;line-height:1.55}.statistics-page .analysis-summary-bar>.pill{display:none}.statistics-reading-hint{margin:-3px 0 12px;font-size:.75rem}.statistics-section-nav{gap:6px;padding:5px;scroll-padding-inline:5px}.statistics-section-nav a{justify-content:center;align-items:center;min-height:44px;padding:8px 12px;font-size:.8rem;display:inline-flex}.statistics-primary-kpis,.statistics-secondary-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.statistics-primary-kpis .analytics-kpi-tile,.statistics-secondary-kpis .analytics-kpi-tile{gap:8px;min-height:112px;padding:13px}.statistics-primary-kpis .analytics-kpi-tile>strong,.statistics-secondary-kpis .analytics-kpi-tile>strong{overflow-wrap:anywhere;font-size:clamp(1.16rem,5vw,1.5rem)}.statistics-primary-kpis .kpi-mini-head,.statistics-secondary-kpis .kpi-mini-head{gap:6px}.statistics-primary-kpis .kpi-mini-icon,.statistics-secondary-kpis .kpi-mini-icon{display:none}.statistics-primary-kpis .stat-title-button,.statistics-secondary-kpis .stat-title-button{font-size:.78rem;line-height:1.35}.statistics-primary-kpis .analytics-kpi-tile small,.statistics-secondary-kpis .analytics-kpi-tile small{font-size:.7rem;line-height:1.4}.statistics-page .chart-card{padding:14px}.statistics-page .section-head{align-items:flex-start;gap:10px}.statistics-page .stat-title-button{font-size:.96rem;line-height:1.4}.statistics-page .section-subtitle{font-size:.74rem;line-height:1.45}.statistics-page .bar-row-head{align-items:flex-start;gap:8px}.statistics-page .bar-row-head>:first-child{overflow-wrap:anywhere;min-width:0;font-size:.81rem}.statistics-page .bar-row-head strong{flex-shrink:0;font-size:.85rem}.statistics-page .legend-row{grid-template-columns:10px minmax(0,1fr) auto;gap:7px;font-size:.76rem}.statistics-page .legend-row>span:nth-child(2){white-space:normal;overflow-wrap:anywhere}.statistics-page .legend-row>small{grid-column:3}.statistics-page .donut-chart{width:180px;height:180px}.statistics-comparison-desktop{display:none}.statistics-comparison-cards{gap:10px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.statistics-comparison-card{background:#fff;border:1px solid #dce7e0;border-radius:12px;min-width:0;overflow:hidden}.statistics-result-heading{gap:4px;padding:13px 13px 0;display:grid}.statistics-result-heading>span{color:#658071;font-size:.7rem}.statistics-result-heading h3{overflow-wrap:anywhere;margin:0;font-size:.96rem;line-height:1.45}.statistics-result-heading h3 a{color:#176d40;text-underline-offset:3px;text-decoration:underline}.statistics-result-key-values{grid-template-columns:minmax(0,1fr) auto;gap:13px 10px;margin:0;padding:13px;display:grid}.statistics-result-key-values>div{gap:5px;display:grid}.statistics-result-key-values dt{color:#61776b;font-size:.72rem}.statistics-result-key-values dd{overflow-wrap:anywhere;margin:0;font-size:1.16rem;font-weight:800}.statistics-result-key-values .statistics-result-change{grid-column:1/-1}.statistics-result-change dd{flex-wrap:wrap;align-items:center;gap:10px;font-size:.9rem;display:flex}.statistics-result-change small{font-size:.76rem}.statistics-result-details{background:#f8fbf9;border-top:1px solid #e6ede8}.statistics-result-details>summary{color:#246945;cursor:pointer;min-height:44px;padding:12px 13px;font-size:.78rem;font-weight:750}.statistics-result-secondary-values{gap:10px;margin:0;padding:0 13px 13px;display:grid}.statistics-result-secondary-values>div{justify-content:space-between;align-items:baseline;gap:12px;font-size:.76rem;display:flex}.statistics-result-secondary-values dt{color:#61776b}.statistics-result-secondary-values dd{text-align:right;margin:0;font-weight:750}.statistics-result-actions{flex-wrap:wrap;gap:8px;padding:0 13px 13px;display:flex}.statistics-result-actions .button{flex:110px;justify-content:center;min-height:44px;font-size:.73rem}.statistics-result-empty{border:1px dashed #cfdfd3;border-radius:12px;justify-items:start;gap:9px;padding:16px;font-size:.82rem;display:grid}.statistics-result-empty span{color:#61776b;line-height:1.5}.detailed-table-module .table-tools{grid-template-columns:1fr 1fr;gap:8px;display:grid}.detailed-table-module .table-search,.detailed-table-module .table-sort{grid-column:1/-1;min-width:0;min-height:44px}.detailed-table-module .table-tools>.button{min-height:44px;padding-inline:9px;font-size:.77rem}.detailed-table-module .table-tools>.primary{grid-column:1/-1}.detailed-table-module .table-pagination{gap:9px;padding-top:3px;font-size:.76rem}.detailed-table-module .table-pagination .toolbar{grid-template-columns:1fr 1fr;gap:8px;display:grid}.detailed-table-module .table-pagination .button{min-height:44px}.chart-shell .line-chart.line-chart-desktop{display:none}.chart-shell .line-chart.line-chart-mobile{width:100%;min-width:0;display:block}.line-chart-mobile .chart-label{font-size:15px}:is(.stat-modal-body .statistics-order-records,.statistics-customer-page .card:has(.statistics-customer-table)){overflow-x:visible}.statistics-order-records .table,.statistics-order-records tbody,.statistics-order-records tr,.statistics-customer-table,.statistics-customer-table tbody,.statistics-customer-table tr{width:100%;min-width:0;display:block}.statistics-order-records thead,.statistics-customer-table thead{display:none}.statistics-order-records tr,.statistics-customer-table tr{background:#fff;border:1px solid #dce7e0;border-radius:10px;margin-bottom:10px;padding:8px 11px}.statistics-order-records td,.statistics-customer-table td{white-space:normal;overflow-wrap:anywhere;border:0;justify-content:space-between;gap:10px;padding:6px 0;font-size:.78rem;display:flex}.statistics-order-records td[data-label]:before,.statistics-customer-table td[data-label]:before{content:attr(data-label);color:#647b6c;flex:0 0 70px;font-weight:500}.statistics-order-records td[colspan],.statistics-customer-table td[colspan]{display:block}.statistics-customer-page .metric strong{font-size:1.5rem}.statistics-customer-page .form-grid{gap:13px}.statistics-customer-page .monthly-strip{flex-wrap:wrap}.statistics-customer-page .month-cell{flex:110px;min-width:0}.goals-page .goal-metric-list dd,.report-page .report-hero-comparison{overflow-wrap:anywhere}}@media screen and (max-width:359px){.statistics-primary-kpis,.statistics-secondary-kpis{grid-template-columns:minmax(0,1fr)}}@media print{.statistics-comparison-cards{display:none!important}.statistics-comparison-desktop{display:block!important}.line-chart-mobile{display:none!important}}
.mobile-quick-nav,.mobile-entity-sort{display:none}.dashboard-calendar-actions>.button,.dashboard-calendar-nav>button{border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;gap:0;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;line-height:1;display:inline-flex}.dashboard-calendar-actions>.button>svg,.dashboard-calendar-nav>button>svg{flex:none;display:block}textarea.reminder-text-input{resize:none;overflow-wrap:anywhere;min-width:0;line-height:1.5;display:block;overflow:hidden}.mobile-practice-picker{width:min(520px,100%)}.mobile-practice-picker .modal-head p{color:var(--muted);margin:7px 0 0;font-size:.9rem;line-height:1.45}.mobile-practice-picker nav{gap:8px;display:grid}.mobile-practice-picker nav a{color:#244938;background:#f8fbf9;border:1px solid #dce7df;border-radius:10px;align-items:center;gap:12px;min-height:54px;padding:12px 14px;text-decoration:none;display:flex}.mobile-practice-picker nav a>:last-child{margin-left:auto}.mobile-practice-picker nav a[aria-current=page]{background:#e9f5ed;border-color:#1a7b4a}@media (max-width:760px),(max-width:980px) and (pointer:coarse){.app-shell .main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.app-shell{scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}:is(input,select,textarea).field,.main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea),dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea){font-size:max(1rem,16px)!important}:is(input,select).field{min-height:46px}.main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select){min-height:44px}.orders-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-filter-bar>.field,.orders-filter-bar>.filter-disclosure{grid-column:1/-1}.entity-primary a{align-items:center;min-height:44px;display:flex}.main :is(button,a.button,summary),dialog :is(button,a.button,summary){min-height:44px}.main :is(button.icon-button,button[aria-label]:empty),dialog .icon-button{min-width:44px}.main :is(.field-label,.field-hint,.field-error){line-height:1.5}.main :is(.field-hint,.field-error){font-size:.85rem}.macc-brand-refresh .table.search-results-table,.macc-brand-refresh .search-results-table :is(tbody,tr,td){white-space:normal;width:100%;min-width:0;max-width:100%;display:block}.macc-brand-refresh .table.search-results-table{overflow:visible}.macc-brand-refresh .search-results-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.macc-brand-refresh .search-results-table tbody{gap:12px;display:grid}.macc-brand-refresh .search-results-table tr{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:4px 12px}.macc-brand-refresh .search-results-table td{overflow-wrap:anywhere;grid-template-columns:minmax(80px,.55fr) minmax(0,1fr);align-items:start;gap:8px;padding:9px 0;display:grid}.macc-brand-refresh .search-results-table td:before{content:attr(data-label);color:var(--muted);font-size:.75rem}.macc-brand-refresh .search-results-table td:first-child{font-size:1rem;display:block}.macc-brand-refresh .search-results-table td:first-child .label{margin-top:5px}.macc-brand-refresh .search-results-table td:first-child:before,.macc-brand-refresh .search-results-table td:last-child:before{display:none}.macc-brand-refresh .search-results-table td:last-child{border-bottom:0;display:block}.macc-brand-refresh .search-results-table td:last-child>.link-action{background:#f0f7f2;border:1px solid #cfdfd3;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:44px;padding:8px 12px;display:flex}.topbar .page-title p{font-size:.94rem;line-height:1.45}.page-title h1{overflow-wrap:anywhere;font-size:clamp(1.65rem,7vw,2rem);line-height:1.12}.topbar{gap:12px}.navigation-trail{line-height:1.6}.navigation-trail a{min-height:40px}:is(.customer-select-controls,.supplier-select-controls){gap:8px}.include-closed-option{min-height:44px}input:is([type=checkbox],[type=radio]){min-width:20px;min-height:20px;accent-color:var(--green)}.record-edit-actions{bottom:calc(70px + env(safe-area-inset-bottom));z-index:8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--line);background:#ffffffed;padding:12px 0;position:sticky}.record-edit-actions>.button{width:100%;min-height:48px}.form-feedback:focus{outline-offset:3px;outline:3px solid #28784f60}.mobile-menu-tools :is(.mobile-menu-launcher,.inbox-mobile-launcher){min-height:44px}.mobile-menu-tools .inbox-mobile-launcher{width:44px}.mobile-quick-nav{padding:5px max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:140;background:#fffffffa;border-top:1px solid #d7e4dc;align-items:stretch;min-height:66px;display:flex;position:fixed;inset:auto 0 0;box-shadow:0 -3px 16px #1238230a}.mobile-quick-nav>:is(a,button){color:#5d6e64;min-width:0;min-height:54px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:4px;padding:5px 2px;font-size:.67rem;font-weight:650;line-height:1.2;text-decoration:none;display:flex}.mobile-quick-nav>[aria-current=page],.mobile-quick-nav>[aria-expanded=true]{color:#11693c;background:#eaf5ee}.mobile-quick-nav>:is(a,button):focus-visible{outline-offset:-3px;outline:3px solid #1a7b4a}.mobile-quick-nav[inert]{visibility:hidden}body:has(dialog[open]) .mobile-quick-nav{visibility:hidden}.calendar-global-notifications{bottom:calc(76px + env(safe-area-inset-bottom));max-height:min(40dvh, calc(100dvh - 160px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));overscroll-behavior:contain;pointer-events:auto;overflow-y:auto}.calendar-global-notifications article>div{overflow-wrap:anywhere;min-width:0}.calendar-global-notifications article>:is(i,svg,button){flex-shrink:0}.calendar-global-notifications article button{place-items:center;width:44px;min-width:44px;min-height:44px;padding:0;display:grid}dialog.mobile-practice-picker-backdrop .dialog-content>.mobile-practice-picker{max-height:calc(100dvh - 24px);padding:20px}.mobile-entity-sort{border:1px solid var(--line);background:#f8faf9;border-radius:10px;margin:12px 0;display:block}.mobile-entity-sort summary{color:#42604f;cursor:pointer;align-items:center;gap:8px;min-height:46px;padding:10px 12px;font-size:.85rem;list-style:none;display:flex}.mobile-entity-sort summary::-webkit-details-marker{display:none}.mobile-entity-sort summary strong{color:#214331}.mobile-entity-sort nav{gap:5px;padding:0 8px 8px;display:grid}.mobile-entity-sort nav a{color:#264a36;background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:10px;font-size:.85rem;text-decoration:none;display:flex}.mobile-entity-sort nav a[aria-current]{background:#eaf4ee}.mobile-entity-sort+.entity-table-scroll .entity-list-table thead{display:none}.dashboard-organizer-grid .dashboard-reminder-form :is(input,button){min-height:44px}.dashboard-organizer-grid .dashboard-reminders{height:auto;min-height:0}.dashboard-reminders-scroll{flex:0 auto;max-height:min(60dvh,480px)}.dashboard-reminders .reminder-row{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:4px 8px;padding:10px 12px}.dashboard-reminders .reminder-checkbox{background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px;position:relative}.dashboard-reminders .reminder-checkbox:before{content:"";border:2px solid #7d9186;border-radius:50%;width:22px;height:22px}.dashboard-reminders .reminder-checkbox:hover:before{border-color:var(--green)}.dashboard-reminders .reminder-checkbox.is-checked:before{border-color:var(--green);background:var(--green)}.dashboard-reminders .reminder-checkbox>svg{margin:auto;position:absolute;inset:0}.dashboard-reminders .reminder-checkbox-placeholder{flex:0 0 44px}.dashboard-reminders .reminder-checkbox-placeholder:before{border-color:#a5b4ac}.dashboard-reminders .reminder-text-input{color:#253b31;grid-column:2;min-height:44px;padding:10px 0}.dashboard-reminders .reminder-row-actions{opacity:1;grid-column:2;justify-self:end;gap:4px}.dashboard-reminders .reminder-row-actions .icon-button{width:44px;min-width:44px;height:44px;padding:0}.dashboard-reminders .reminder-touch-order{display:inline-flex}.dashboard-reminders .reminder-drag-handle{display:none}.dashboard-reminders .reminder-completed-text{white-space:normal;overflow-wrap:anywhere;grid-column:2;align-self:center;padding:10px 0;line-height:1.5}.dashboard-reminders-add{gap:8px}.dashboard-reminders-add input{min-width:0}.completed-reminders-head{flex-wrap:wrap;gap:4px 12px}.dashboard-calendar-title{flex:auto;min-width:0}.dashboard-calendar-actions{flex:none}.dashboard-calendar-head .dashboard-calendar-actions>.button,.dashboard-calendar-nav>button{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.dashboard-calendar-nav{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;display:grid}.dashboard-calendar-nav>strong{text-align:center;overflow-wrap:anywhere;min-width:0;line-height:1.4}.team-settings .field-label>span:has(input[type=checkbox]){align-items:center;gap:10px;min-height:44px;display:flex}}@media (max-width:380px){.mobile-quick-nav>:is(a,button){font-size:.63rem}.pagination-size{flex-wrap:wrap}}@media (max-width:760px) and (max-height:480px),(max-width:980px) and (max-height:480px) and (pointer:coarse){.mobile-quick-nav{min-height:48px;padding-top:2px}.mobile-quick-nav>:is(a,button){flex-direction:row;gap:7px;min-height:44px;font-size:.72rem}.mobile-quick-nav svg{width:18px;height:18px}.calendar-global-notifications{bottom:calc(62px + env(safe-area-inset-bottom));max-height:min(40dvh, calc(100dvh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}}@media print{.mobile-quick-nav{display:none!important}}@media (min-width:761px) and (max-width:980px) and (pointer:coarse){.mobile-entity-sort{display:none}.mobile-entity-sort+.entity-table-scroll .entity-list-table thead{display:table-header-group}}@media (max-width:980px),(max-width:1180px) and (pointer:coarse){.mobile-nav-toggle-input:checked~.sidebar .sidebar-profile{flex:0 0 56px;grid-template-columns:minmax(0,1fr) 82px;align-items:center;gap:8px;min-height:56px;display:grid}.mobile-nav-toggle-input:checked~.sidebar .profile-copy{gap:2px;min-width:0;display:grid}.mobile-nav-toggle-input:checked~.sidebar .profile-copy strong{font-size:.78rem}.mobile-nav-toggle-input:checked~.sidebar .profile-copy span{font-size:.65rem}.mobile-nav-toggle-input:checked~.sidebar .sidebar-logout{min-height:44px}}@media (max-width:1180px) and (max-height:600px){.calendar-global-notifications{overscroll-behavior:contain;max-height:min(40dvh,100dvh - 100px);overflow-y:auto}.calendar-global-notifications article>div{overflow-wrap:anywhere;min-width:0}.calendar-global-notifications article button{flex-shrink:0;place-items:center;width:44px;min-width:44px;min-height:44px;padding:0;display:grid}}
.app-shell>.main:has(>.ai-page){height:var(--ai-screen-height,100dvh);flex-direction:column;min-height:0;padding-bottom:22px;display:flex;overflow:hidden}.main:has(>.ai-page)>.navigation-trail{flex:none}.ai-page{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.ai-page .ai-topbar{flex-flow:row;flex:none;align-items:center;gap:10px;min-height:44px;margin:0 0 14px;padding:0;display:flex}.ai-page .ai-topbar .page-title{text-align:left;flex:auto;width:auto;min-width:0}.ai-page .ai-topbar h1{letter-spacing:-.025em;white-space:nowrap;text-align:left;margin:0;font-size:24px;line-height:1.2}.ai-page .ai-topbar-actions{flex-wrap:nowrap;flex:none;gap:6px;width:auto;margin-left:auto;display:flex}.ai-page .ai-topbar-actions>.button{justify-content:center;min-height:44px;padding:9px 12px}.ai-options{position:relative}.ai-options>summary{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:9px;place-items:center;width:44px;height:44px;list-style:none;display:grid}.ai-options>summary::-webkit-details-marker{display:none}.ai-options[open]>summary{background:#edf5ef;border-color:#7ca98e}.ai-options nav{z-index:30;border:1px solid var(--line);background:#fff;border-radius:12px;width:220px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #1238231a}.ai-options nav a{min-height:44px;color:var(--ink);border-radius:7px;align-items:center;gap:10px;padding:9px;text-decoration:none;display:flex}.ai-options nav a:hover{background:#edf5ef}.ai-page .ai-workspace{flex:auto;min-height:0;display:flex}.ai-page .ai-chat{min-width:0;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;flex-direction:column;flex:auto;padding:4px 0;display:flex;overflow:hidden}.ai-page .ai-messages{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding:6px 8px 18px}.ai-page .ai-chat.is-empty .ai-messages{flex:0 auto;margin-top:auto;padding:0}.ai-page .ai-welcome{margin:0 auto}.ai-page .ai-welcome h2{letter-spacing:-.035em;margin:0;font-size:clamp(24px,3vw,34px);line-height:1.2}.ai-page .ai-welcome p{color:var(--muted);margin:12px 0 0}.ai-page .ai-composer{background:#fff;border:1px solid #bdcfc2;border-radius:22px;flex-direction:row;flex:none;align-items:flex-end;gap:10px;width:min(820px,100%);margin:12px auto 0;padding:10px 12px;display:flex;box-shadow:0 4px 18px #12382308}.ai-page .ai-composer:focus-within{border-color:#33845b;box-shadow:0 0 0 3px #1a7b4a12}.ai-page .ai-composer textarea{min-height:52px;max-height:min(160px, max(52px, calc(var(--ai-screen-height,100dvh) - 280px)));box-shadow:none;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;padding:12px 0;line-height:1.5;display:block}.ai-page .ai-composer textarea::placeholder{color:#6b7c72}.ai-page .ai-composer-actions{flex:none;align-self:flex-end;padding:0 0 4px}.ai-page .ai-composer-actions>.button{border-radius:50%;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid}.ai-page .ai-starters{flex:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(540px,100%);margin:14px auto auto;display:grid}.ai-page .ai-starters button{color:#42604d;min-height:44px;font:inherit;cursor:pointer;background:#ffffffa6;border:1px solid #dae5de;border-radius:12px;padding:10px 12px;font-size:.85rem}.ai-page .ai-starters button:hover{background:#eef6f0;border-color:#7ca98e}.ai-page :is(.form-error,.form-success,.ai-job-progress){flex:0 auto;min-height:0;max-height:120px;margin:8px 0 0;overflow:auto}.ai-page .ai-message{flex:none}.ai-page :is(button,summary,a):focus-visible{outline-offset:2px;outline:3px solid #2b8053}@media (max-width:760px),(max-width:980px) and (pointer:coarse){.app-shell>.main:has(>.ai-page){padding-bottom:calc(82px + env(safe-area-inset-bottom))}.ai-page .ai-topbar{margin-bottom:10px}.ai-page .ai-topbar h1{font-size:21px}.ai-page .ai-topbar-actions>.button{width:44px;min-width:44px;height:44px;padding:0}.ai-page .ai-topbar-actions :is(.ai-action-label,.ai-count){display:none}.ai-page .ai-chat{padding:2px 0}.ai-page .ai-messages{padding:4px 0 12px}.ai-page .ai-chat.is-empty .ai-messages{margin-top:clamp(12px,4svh,32px)}.ai-page .ai-welcome p{display:none}.ai-page .ai-composer{border-radius:20px;margin-top:16px;padding:8px 10px}.ai-page .ai-starters{gap:6px;margin-top:10px}.ai-page .ai-starters button{padding:8px;font-size:.78rem;line-height:1.4}.ai-page .ai-chat.is-empty.is-writing .ai-messages,.ai-page .ai-chat.is-empty.is-writing .ai-starters,.main[data-ai-keyboard-open=true] .ai-chat.is-empty .ai-messages,.main[data-ai-keyboard-open=true] .ai-chat.is-empty .ai-starters{display:none}.ai-page .ai-chat.is-empty.is-writing .ai-composer,.main[data-ai-keyboard-open=true] .ai-chat.is-empty .ai-composer{margin-block:auto}.app-shell>.main[data-ai-keyboard-open=true]:has(>.ai-page){padding-bottom:12px}.main[data-ai-keyboard-open=true]>.navigation-trail,.main[data-ai-keyboard-open=true] .ai-job-progress small{display:none}body:has(.main[data-ai-keyboard-open=true]>.ai-page) .mobile-quick-nav{visibility:hidden}}@media (max-width:980px) and (max-height:480px){.ai-page .ai-welcome h2{font-size:20px}.ai-page .ai-starters{display:none}.app-shell>.main:has(>.ai-page){padding-top:62px;padding-bottom:58px}.main:has(>.ai-page)>.navigation-trail{display:none}}
.dashboard-calendar-days{scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin}.dashboard-calendar-days article{scroll-snap-align:start}.dashboard-calendar-days article>header{gap:8px}.dashboard-calendar-days article>header>*{flex:none}.dashboard-calendar-days article a{align-items:flex-start;line-height:1.4}.dashboard-calendar-days article a i{margin-top:.4em}.dashboard-calendar-days article a span{-webkit-line-clamp:2;white-space:normal;overflow-wrap:break-word;-webkit-box-orient:vertical;display:-webkit-box}.dashboard-calendar-days:focus-visible{outline:3px solid var(--green);outline-offset:-3px}@container (max-width:1119px){.dashboard-organizer-grid .dashboard-reminders:not(.is-collapsed){height:auto;min-height:0}.dashboard-organizer-grid .dashboard-reminders-scroll{max-height:min(60dvh,480px)}}@media (max-width:980px),(max-width:1180px) and (pointer:coarse){html{scroll-padding-top:calc(72px + env(safe-area-inset-top))}.mobile-menu-tools{width:100%;min-height:calc(64px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) clamp(12px, 2.5vw, 20px) 10px;background:#f5faf7;border-bottom:1px solid #dce7e0;inset:0 0 auto;box-shadow:0 3px 12px #1238230a}.mobile-menu-tools :is(.mobile-menu-launcher,.inbox-mobile-launcher){min-height:44px}.mobile-menu-tools .inbox-mobile-launcher{width:44px}body:has(dialog[open]) .mobile-menu-tools{visibility:hidden}}
.entity-list-table td{overflow-wrap:normal;word-break:normal}.entity-list-table .entity-primary{min-width:180px}.entity-list-table :is(.entity-number,.entity-date,.entity-action){white-space:nowrap;font-variant-numeric:tabular-nums}.entity-list-table .entity-number .status{white-space:nowrap}.entity-list-table .entity-action .link-action{white-space:nowrap;align-items:center;min-height:44px;padding:8px 5px;display:inline-flex}.entity-list-table .analytics-exclusion-label input{flex:none}.entity-table-scroll>.entity-list-table{min-width:1040px}@media (max-width:1180px){.entity-directory>.section-head{flex-wrap:wrap;align-items:baseline}.entity-directory .analytics-status-filter{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.entity-directory .analytics-status-filter>.field-label{flex:220px}.entity-directory .analytics-status-filter>.button{justify-content:center;min-height:44px}.entity-directory .mobile-entity-sort{border:1px solid var(--line);background:#f8faf9;border-radius:10px;margin:12px 0;display:block}.entity-directory .mobile-entity-sort summary{color:#42604f;cursor:pointer;align-items:center;gap:8px;min-height:46px;padding:10px 12px;font-size:.85rem;list-style:none;display:flex}.entity-directory .mobile-entity-sort summary::-webkit-details-marker{display:none}.entity-directory .mobile-entity-sort summary>span{flex:1}.entity-directory .mobile-entity-sort summary strong{color:#214331}.entity-directory .mobile-entity-sort nav{gap:5px;padding:0 8px 8px;display:grid}.entity-directory .mobile-entity-sort nav a{color:#264a36;background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:10px;font-size:.85rem;text-decoration:none;display:flex}.entity-directory .mobile-entity-sort nav a[aria-current]{background:#eaf4ee}.entity-directory .entity-table-scroll{overflow:visible}.entity-directory .entity-table-scroll>table.entity-list-table{background:0 0;border:0;width:100%;min-width:0;display:block;overflow:visible}.entity-directory .entity-table-scroll .entity-list-table thead{display:none}.entity-directory .entity-list-table tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start;gap:14px;display:grid}.entity-directory .entity-list-table tbody tr{background:#fff;border:1px solid #dfe7e2;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;min-width:0;padding:16px;display:grid;box-shadow:0 3px 9px #1c3b2606}.entity-directory .entity-list-table tbody tr.commercial-entity-closed{background:#f3f4f4}.entity-directory .entity-list-table tbody td{border:0;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:0;font-size:.88rem;display:flex;text-align:left!important}.entity-directory .entity-list-table tbody td:before{content:attr(data-label);color:#66766d;white-space:normal;font-size:.73rem;font-weight:500}.entity-directory .entity-list-table tbody td.entity-primary{border-bottom:1px solid #e9eee9;grid-column:1/-1;min-width:0;padding-bottom:9px;font-size:1rem}.entity-directory .entity-primary a{overflow-wrap:break-word;align-items:center;min-height:44px;display:flex}.entity-directory .entity-list-table tbody td.entity-primary:before,.entity-directory .entity-list-table tbody td.entity-action:before{display:none}.entity-directory .entity-list-table :is(.status,.closed-entity-badge){align-self:start}.entity-directory .entity-list-table .entity-action{align-self:end}.entity-directory .entity-list-table .entity-action a{color:#135e36;background:#f0f7f2;border:1px solid #cfdfd3;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:44px;padding:8px 12px;display:inline-flex}.entity-directory .entity-list-table--suppliers .entity-action{grid-column:1/-1}.entity-directory .entity-list-table tbody td.entity-state{grid-column:1/-1;padding-top:4px}.entity-directory .entity-state .analytics-exclusion-label{min-height:44px}.entity-directory .entity-state .analytics-exclusion-control{min-width:0;max-width:100%}.entity-directory .entity-state .analytics-exclusion-label{white-space:normal}}.settings-hub{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:stretch}.settings-hub .settings-hub-card{gap:18px;height:auto;min-height:0}.settings-hub-card>*{flex-shrink:0;max-width:100%}.settings-hub-card .settings-hub-card-head{margin:0}.settings-hub-card .settings-icon{flex:0 0 46px}.settings-hub-card h2,.settings-hub-card>p,.settings-hub-card .settings-feature-list{margin:0}.settings-hub-card .settings-account-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.settings-hub-card .settings-feature-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}.settings-hub-card .settings-feature-list li,.settings-hub-card .settings-feature-grid span{min-width:0;line-height:1.5}.settings-hub-card .settings-hub-action{text-align:center;white-space:normal;justify-content:center;align-self:stretch;min-height:46px;margin-top:auto;line-height:1.45}.settings-hub-card .settings-hub-action svg{flex:none}@media (max-width:520px){.settings-hub .settings-hub-card{gap:16px;padding:20px}.settings-hub-card .settings-feature-list{gap:10px;display:grid}}@media (max-width:380px){.entity-directory .entity-list-table td[data-label^=Fatturato]{grid-column:1/-1}}
.statistics-quick-controls{grid-template-columns:minmax(180px,1fr) minmax(150px,.8fr) minmax(200px,1fr);align-items:start;gap:10px 14px;margin:0;display:grid}.statistics-quick-controls>label{color:#526b5e;gap:5px;min-width:0;font-size:.73rem;font-weight:700;display:grid}.statistics-quick-controls .field{color:#213c2e;background:#fff;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 10px;font-size:.88rem;font-weight:650}.statistics-quick-controls small{color:#64776c;min-width:0;font-size:.69rem;font-weight:500;line-height:1.35}.statistics-filter-panel-modern{scroll-margin-top:calc(80px + env(safe-area-inset-top));border-radius:12px;margin:0}.statistics-filter-panel-modern>.statistics-filter-summary{gap:10px;min-height:60px;padding:10px 14px;display:flex}.statistics-filter-panel-modern .statistics-filter-summary-icon{border-radius:9px;flex:0 0 32px;width:32px;height:32px}.statistics-filter-panel-modern .statistics-filter-summary-copy{flex:1;gap:2px}.statistics-filter-panel-modern .statistics-filter-summary-copy strong{font-size:.9rem}.statistics-filter-panel-modern .statistics-filter-summary-copy small{color:#63786a;text-overflow:ellipsis;white-space:nowrap;font-size:.73rem;line-height:1.4;display:block;overflow:hidden}.statistics-filter-panel-modern .statistics-applied-filter-count{color:#246344;white-space:nowrap;background:#ebf5ef;border-radius:7px;flex:none;padding:5px 8px;font-size:.72rem;font-weight:750}.statistics-filter-panel-modern .statistics-filter-summary-action{flex:none;gap:6px;font-size:.78rem}.statistics-filter-panel-modern .statistics-filter-body{padding:16px}.statistics-filter-panel-modern .advanced-filter-form{gap:15px}.statistics-filter-panel-modern .statistics-filter-compact{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.statistics-filter-panel-modern .statistics-custom-periods{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;padding:12px}.statistics-filter-panel-modern .statistics-custom-periods input{scroll-margin-top:100px}.statistics-filter-panel-modern .statistics-commercial-filters{background:#fff;border:1px solid #dce7e0;border-radius:10px;padding:0}.statistics-filter-panel-modern .statistics-commercial-filters>summary{color:#345f46;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:46px;margin:0;padding:11px 13px;font-size:.85rem;list-style:none;display:flex}.statistics-filter-panel-modern .statistics-commercial-filters>summary::-webkit-details-marker{display:none}.statistics-filter-panel-modern .statistics-commercial-filters>summary svg{flex:none;transition:transform .15s}.statistics-filter-panel-modern .statistics-commercial-filters[open]>summary svg{transform:rotate(180deg)}.statistics-filter-panel-modern .statistics-commercial-filters>.filter-section-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:13px;padding:0 13px 14px;display:grid}.statistics-filter-panel-modern .statistics-commercial-filters>.field-hint{margin:0;padding:0 13px 14px}.statistics-filter-panel-modern .field-label{min-width:0;font-size:.8rem}.statistics-filter-panel-modern .field{width:100%;min-width:0;min-height:44px}.statistics-filter-panel-modern .statistics-filter-submit{background:0 0;border-top:1px solid #dce7e0;margin:0;padding:14px 0 0;position:static}.statistics-filter-panel-modern .statistics-filter-submit .button{min-height:44px}.statistics-filter-panel-modern .statistics-filter-validation{color:#a53932}@media (max-width:600px){.statistics-quick-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 10px}.statistics-quick-controls .statistics-quick-period{grid-area:1/1}.statistics-quick-controls .statistics-quick-comparison{grid-area:2/1/auto/-1}.statistics-quick-controls .statistics-quick-analysis{grid-area:1/2;grid-template-columns:minmax(0,1fr);align-items:start}.statistics-quick-controls .field{font-size:1rem}.statistics-quick-controls small{letter-spacing:-.01em;font-size:.65rem}.statistics-filter-panel-modern>.statistics-filter-summary{flex-wrap:wrap;gap:8px;min-height:58px;padding:9px 11px}.statistics-filter-panel-modern .statistics-filter-summary-copy{flex:calc(100% - 74px)}.statistics-filter-panel-modern .statistics-filter-summary-copy small{white-space:normal}.statistics-filter-panel-modern .statistics-filter-summary-action>span{display:none}.statistics-filter-panel-modern .statistics-applied-filter-count{order:4;margin-left:40px}.statistics-filter-panel-modern .statistics-filter-body{padding:13px}.statistics-filter-panel-modern .statistics-filter-compact,.statistics-filter-panel-modern .statistics-custom-periods{grid-template-columns:minmax(0,1fr)}.statistics-filter-panel-modern .statistics-filter-submit{gap:9px}.statistics-filter-panel-modern .statistics-filter-submit .button{flex:130px;justify-content:center}}@media print{.statistics-quick-controls,.statistics-filter-panel-modern{display:none!important}}
.statistics-download-module{min-width:0;max-width:100%}.statistics-downloads{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.statistics-downloads>.button{white-space:nowrap;justify-content:center;gap:7px;min-height:44px;display:inline-flex}.statistics-downloads svg{flex:none}.statistics-download-feedback{color:#315b42;max-width:460px;margin:8px 0 0;font-size:.78rem;line-height:1.5}.statistics-download-feedback.is-error{color:#9b3030;background:#fff5f3;border:1px solid #edc9c3;border-radius:8px;padding:8px 10px}.statistics-download-more{position:relative}.statistics-download-more>summary{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:9px;justify-content:center;align-items:center;width:44px;height:44px;list-style:none;display:inline-flex}.statistics-download-more>summary::-webkit-details-marker{display:none}.statistics-download-more>div{z-index:12;border:1px solid var(--line);background:#fff;border-radius:12px;width:min(290px,75vw);padding:14px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 28px #12382320}.statistics-download-more p{color:var(--muted);margin:0 0 10px;font-size:.8rem;line-height:1.5}.statistics-download-more .button{justify-content:center;width:100%;min-height:44px}.detailed-table-module .table-tools{grid-template-columns:minmax(0,1fr) minmax(180px,.4fr);gap:12px;margin-bottom:12px;display:grid}.detailed-table-module .table-tools :is(.table-search,.table-sort){grid-column:auto;width:100%;min-width:0;min-height:44px}.detailed-table-module .table-search input{width:100%;min-width:0}.statistics-table-export{justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.statistics-table-export>span{color:var(--muted);font-size:.77rem;line-height:1.45}.statistics-comparison-desktop .table{width:100%;min-width:940px}.statistics-comparison-desktop .table[data-comparison=false]{min-width:680px}.statistics-comparison-desktop .table td:first-child{overflow-wrap:break-word;min-width:200px;max-width:320px}.statistics-comparison-desktop .table :is(td,th):not(:first-child){white-space:nowrap}.statistics-comparison-desktop .statistics-numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.statistics-table-export .statistics-download-module{flex:none}.stat-modal-head>.toolbar{align-self:flex-start;align-items:flex-start}.stat-modal-head .statistics-download-feedback{max-width:300px}@media (max-width:600px){.detailed-table-module .table-tools{grid-template-columns:minmax(0,1fr);gap:8px}.statistics-table-export{flex-direction:column;align-items:stretch;gap:8px}.statistics-table-export .statistics-downloads{justify-content:flex-start}.statistics-table-export .statistics-downloads>.button{flex:1}.statistics-download-feedback{max-width:100%}.stat-modal-head{gap:12px}.stat-modal-head>.toolbar{justify-content:space-between;width:100%}}
.statistics-workspace{gap:16px;width:100%;min-width:0;max-width:1680px;display:grid}.statistics-workspace>*{min-width:0;margin:0}.statistics-workspace-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.statistics-workspace-header h1{letter-spacing:-.035em;margin:0;font-size:clamp(1.6rem,3vw,2rem);line-height:1.15}.statistics-workspace-header p{color:var(--muted);margin:6px 0 0;font-size:.88rem;line-height:1.4}.statistics-applied-filters{flex-wrap:wrap;gap:6px;display:flex}.statistics-applied-filters>span{color:#315440;overflow-wrap:break-word;background:#edf5ef;border-radius:7px;min-width:0;padding:5px 9px;font-size:.75rem}.statistics-workspace .statistics-primary-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;display:grid}.statistics-workspace :is(.statistics-primary-kpis,.statistics-secondary-kpis)>.stat-card-modal-trigger{min-width:0;display:flex}.statistics-workspace .stat-card-modal-trigger>.analytics-kpi-tile{flex:1}.statistics-workspace .analytics-kpi-tile{gap:9px;min-width:0;min-height:144px;padding:16px}.statistics-workspace .analytics-kpi-tile.is-emphasis{min-height:144px}.statistics-workspace .analytics-kpi-tile>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;max-width:100%;font-size:clamp(1.3rem,2vw,1.85rem);line-height:1.2}.statistics-workspace .analytics-kpi-tile small{line-height:1.45}.statistics-workspace .kpi-mini-icon{display:none}.statistics-workspace .stat-title-button{font-size:.95rem;line-height:1.4}.statistics-workspace .kpi-mini-head .stat-title-button{font-size:.8rem}.statistics-source-note{color:#63776b;margin:-5px 0 0;font-size:.73rem;line-height:1.5}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis){background:#fff;border:1px solid #dce7df;border-radius:12px;overflow:hidden}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)>summary{color:#27533b;cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:48px;padding:12px 15px;font-size:.84rem;font-weight:750;list-style:none;display:flex}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)>summary:after{content:"+";flex:none;margin-left:auto;font-size:1.2rem;line-height:1}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)[open]>summary:after{content:"−"}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)>summary::-webkit-details-marker{display:none}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)>summary>span{color:var(--muted);font-size:.73rem;font-weight:400}.statistics-workspace .statistics-secondary-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px;padding:0 12px 12px;display:grid}.statistics-workspace .statistics-secondary-kpis .analytics-kpi-tile{min-height:120px}.statistics-main-analysis{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:16px;display:grid}.statistics-main-analysis>*{min-width:0;margin:0}.statistics-workspace .chart-card{min-width:0;margin:0;padding:18px}.statistics-workspace .chart-card .section-head{align-items:flex-start;gap:10px;margin-bottom:14px}.statistics-workspace .chart-card h2{margin:0;font-size:1.12rem;line-height:1.4}.statistics-workspace .section-subtitle{margin:6px 0 0;font-size:.76rem;line-height:1.5}.statistics-workspace .chart-card:not(.statistics-detail-card):has(.stat-title-button){cursor:default}.statistics-workspace .chart-legend{flex-wrap:wrap;gap:8px 14px;font-size:.76rem}.statistics-workspace .chart-card:not(.statistics-detail-card) .stat-title-button:after{display:none}.statistics-workspace .statistics-top-ranking .bar-row-head{gap:10px}.statistics-workspace .statistics-top-ranking .bar-row-head>:first-child{overflow-wrap:break-word;min-width:0}.statistics-workspace .statistics-top-ranking .bar-row-head strong{white-space:nowrap;flex:none}.statistics-separated-trends{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.statistics-separated-trends h3{color:var(--muted);margin:0 0 3px;font-size:.8rem}.statistics-trend-records{margin-top:16px}.statistics-trend-records :is(th,td):not(:first-child){white-space:nowrap;text-align:right}.statistics-order-records .statistics-numeric-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.statistics-additional-analysis>:is(section,p){margin:0 12px 12px}.statistics-workspace .statistics-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.statistics-preview-card-content{min-width:0}.statistics-composition-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;display:grid}.statistics-empty-state{background:#f5faf7;border:1px dashed #c8dbcf;border-radius:12px;padding:16px}.statistics-empty-state p,.statistics-ranking-empty{color:var(--muted);margin:6px 0 0;font-size:.85rem;line-height:1.5}.statistics-workspace :is(#panoramica,#andamento,#dettaglio){scroll-margin-top:85px}@media (max-width:1180px){.statistics-workspace{gap:13px}.statistics-workspace .analytics-kpi-tile{padding:13px}.statistics-workspace .analytics-kpi-tile>strong{font-size:clamp(1.2rem,2.3vw,1.65rem)}.statistics-main-analysis{grid-template-columns:minmax(0,1fr)}.statistics-top-ranking .horizontal-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}}@media (max-width:760px){.statistics-workspace-header{align-items:flex-start}.statistics-workspace-header h1{font-size:1.55rem}.statistics-workspace-header p{font-size:.76rem}.statistics-workspace-header .statistics-downloads{gap:6px}.statistics-workspace-header .statistics-downloads>.button{min-width:44px;padding:8px;font-size:.76rem}.statistics-workspace .statistics-primary-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.statistics-workspace .statistics-primary-kpis>:first-child{grid-column:auto}.statistics-workspace .analytics-kpi-tile,.statistics-workspace .analytics-kpi-tile.is-emphasis{gap:7px;min-height:135px;padding:12px}.statistics-workspace .analytics-kpi-tile>strong{font-size:clamp(1.05rem,4.7vw,1.5rem)}.statistics-workspace .analytics-kpi-tile small{font-size:.68rem}.statistics-workspace .kpi-mini-head .stat-title-button{font-size:.73rem}.statistics-workspace .chart-card{padding:13px}.statistics-workspace :is(.statistics-supporting-metrics,.statistics-additional-analysis)>summary>span{display:none}.statistics-workspace .statistics-preview-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:420px){.statistics-workspace-header{display:block}.statistics-workspace-header .statistics-download-module{margin-top:10px}.statistics-workspace-header .statistics-downloads{justify-content:flex-start}.statistics-workspace-header .statistics-downloads>.button{flex:1}}
.macc-brand-refresh{--macc-forest:#113f32;--macc-forest-hover:#195541;--macc-mint:#2bc779;--macc-mint-soft:#e7f7ef;--macc-shadow-card:0 1px 2px #113f3206, 0 6px 20px #113f3205;--macc-shadow-popover:0 12px 32px #113f321a;--macc-shadow-dialog:0 20px 64px #113f3224;--bg:#f5f7f6;--surface:#fff;--surface-soft:#edf4f0;--ink:#1c342b;--muted:#62756b;--line:#dce5df;--green:var(--macc-forest);--sidebar:#fff;--shadow:var(--macc-shadow-card);--border:var(--line);--shadow-soft:var(--macc-shadow-card);--foreground:var(--ink);--brand:var(--macc-forest);--soft:var(--surface-soft);background:var(--bg);color:var(--ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.macc-brand-refresh ::selection{color:var(--macc-forest);background:#2bc77940}.macc-brand-refresh .main{background:var(--bg)}.macc-brand-refresh :is(.card:not(.ai-chat),.kpi-card,.settings-hub-card,.settings-card,.security-card){box-shadow:var(--macc-shadow-card)}.macc-brand-refresh .card:not(.ai-chat){border-radius:14px}.macc-brand-refresh :is(.settings-hub-card,.settings-card,.security-card){border-radius:16px}.macc-brand-refresh :is(.modal-card,.calendar-modal,.stat-fullscreen-modal){box-shadow:var(--macc-shadow-dialog)}.macc-brand-refresh :is(.compact-nav-panel,.notification-panel,.ai-options nav,.kanban-card-menu-panel,.statistics-download-more>div){box-shadow:var(--macc-shadow-popover)}.macc-brand-refresh .sidebar{background:var(--surface);color:var(--ink);border-right:1px solid var(--line)}.macc-brand-refresh .sidebar .sidebar-profile{background:var(--surface);border-color:var(--line)}.macc-brand-refresh .sidebar :is(.nav-group,.profile-copy span){color:var(--muted)}.macc-brand-refresh .sidebar .profile-copy strong{color:var(--ink)}.macc-brand-refresh .sidebar .profile-avatar{background:var(--macc-mint-soft);color:var(--macc-forest)}.macc-brand-refresh .sidebar .nav a{color:#486153;box-shadow:none;border-radius:10px}.macc-brand-refresh .sidebar .nav a:hover{color:var(--macc-forest);box-shadow:none;background:#f1f6f3}.macc-brand-refresh .sidebar .nav a.active{background:var(--macc-mint-soft);color:var(--macc-forest);box-shadow:inset 3px 0 0 var(--macc-mint)}.macc-brand-refresh .sidebar .nav-badge{background:var(--macc-forest);color:#fff}.macc-brand-refresh .sidebar :is(.sidebar-toggle,.sidebar-mobile-close,.sidebar-logout,.header-notification-trigger,.inbox-indicator){color:#486153;box-shadow:none;background:0 0}.macc-brand-refresh .sidebar :is(.sidebar-toggle,.sidebar-mobile-close,.sidebar-logout,.header-notification-trigger,.inbox-indicator):hover,.macc-brand-refresh .sidebar :is(.header-notification-trigger.unread,.inbox-indicator.unread){color:var(--macc-forest);background:var(--macc-mint-soft)}.macc-brand-refresh .sidebar .inbox-indicator .notification-count{border-color:var(--surface)}.macc-brand-refresh .sidebar .quick-navigation-trigger{border-color:var(--line);color:#486153;box-shadow:none;background:#f5f8f6}.macc-brand-refresh .sidebar .quick-navigation-trigger:hover{background:var(--macc-mint-soft);color:var(--macc-forest)}.macc-brand-refresh .sidebar .quick-navigation-trigger kbd{border-color:var(--line);color:var(--muted);background:#fff}.macc-brand-refresh .sidebar .compact-nav-trigger{color:#486153}:is(.macc-brand-refresh .sidebar .compact-nav-trigger:hover,.macc-brand-refresh .sidebar .compact-nav-trigger.active,.macc-brand-refresh .sidebar .compact-nav-group:has(.compact-nav-state:checked) .compact-nav-trigger){color:var(--macc-forest);background:var(--macc-mint-soft);box-shadow:none;border-color:#c7e6d5}.macc-brand-refresh .sidebar .nav-full{scrollbar-color:#bdcfc3 transparent}.macc-brand-refresh .sidebar .nav-full::-webkit-scrollbar-thumb{background:#bdcfc3}.macc-brand-refresh .app-shell:has(>.main>.directional-dashboard)>.sidebar:after{background:var(--line);box-shadow:none}.macc-brand-refresh .button{min-height:44px;box-shadow:none;border-radius:10px}.macc-brand-refresh .button:where(:not(.primary,.danger,.destructive,[data-variant=destructive])){background:var(--surface);color:#294b3b;border-color:#d4dfd8}.macc-brand-refresh .button:where(:not(.primary,.danger,.destructive,.disabled,[data-variant=destructive],[aria-disabled=true])):hover:not(:disabled){box-shadow:none;background:#f3f8f5;border-color:#8ebaa2}.macc-brand-refresh .button.primary:where(:not(.danger,.destructive,[data-variant=destructive])){background:var(--macc-forest);border-color:var(--macc-forest);color:#fff;box-shadow:0 2px 4px #113f3210}.macc-brand-refresh .button.primary:where(:not(.danger,.destructive,.disabled,[data-variant=destructive],[aria-disabled=true])):hover:not(:disabled){background:var(--macc-forest-hover);border-color:var(--macc-forest-hover);box-shadow:0 2px 5px #113f3214}.macc-brand-refresh .icon-button{border-radius:10px}@media (pointer:coarse){.macc-brand-refresh :is(.icon-button,.button.icon-only){min-width:44px;min-height:44px}}.macc-brand-refresh :is(.mobile-menu-launcher,.inbox-mobile-launcher){color:var(--macc-forest);border-color:var(--line);background:var(--surface);box-shadow:none}.macc-brand-refresh .mobile-menu-tools{border-color:var(--line);background:#fffffffa;box-shadow:0 2px 8px #113f3206}.macc-brand-refresh .mobile-quick-nav{border-color:var(--line);background:#fffffffa;box-shadow:0 -2px 10px #113f3206}.macc-brand-refresh .mobile-quick-nav>:is([aria-current=page],[aria-expanded=true]){background:var(--macc-mint-soft);color:var(--macc-forest)}.macc-brand-refresh :is(a,button,input,select,textarea,summary,[role=button],[tabindex="0"]):focus-visible{outline:3px solid var(--macc-forest);outline-offset:3px;box-shadow:0 0 0 5px #2bc77924}.macc-brand-refresh .sidebar .sidebar-logout:focus-visible{outline:3px solid var(--macc-forest);outline-offset:3px}.macc-brand-refresh .field{background:var(--surface);color:var(--ink);border-color:#d4dfd8;border-radius:10px}.macc-brand-refresh :is(input[type=checkbox],input[type=radio]){accent-color:var(--macc-forest)}.macc-brand-refresh :is(input,textarea)::placeholder{color:#63766b;opacity:1}.macc-brand-refresh :is(.auth-input-wrap,.ai-composer,.calendar-search,.kanban-search-field,.table-search,.inbox-search):focus-within{border-color:var(--macc-forest);box-shadow:0 0 0 3px #2bc77929}.macc-brand-refresh :is(.auth-input-wrap,.ai-composer,.calendar-search,.kanban-search-field,.table-search,.inbox-search) :is(input,textarea):focus-visible{box-shadow:none;outline:none}.macc-brand-refresh .table th{color:#52695c;background:#f5f8f6}.macc-brand-refresh .directional-dashboard{background:var(--bg);box-shadow:none;color:var(--ink)}.macc-brand-refresh .main:has(>.directional-dashboard){background:var(--bg);box-shadow:none;color:var(--ink)}.macc-brand-refresh .main:has(>.directional-dashboard)>.directional-dashboard{background:var(--bg);box-shadow:none;color:var(--ink)}.macc-brand-refresh .directional-dashboard:before{box-shadow:none;border-color:#0000}.macc-brand-refresh .directional-dashboard>.dashboard-topbar .dashboard-title h1{color:var(--macc-forest)}.macc-brand-refresh .directional-dashboard>.dashboard-topbar .dashboard-title p{color:var(--muted)}.macc-brand-refresh .directional-dashboard>.dashboard-topbar .button{background:var(--surface);color:var(--macc-forest);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#d4dfd8}.macc-brand-refresh .directional-dashboard>.dashboard-topbar .button:hover:not(:disabled){background:var(--macc-mint-soft);border-color:#9ac9af}.macc-brand-refresh .tone-green .kpi-icon{background:var(--macc-mint-soft);color:var(--macc-forest)}.macc-brand-refresh .alert-kpi-link:hover .kpi-card{border-color:#9ac9af;transform:none}.macc-brand-refresh .statistics-primary-kpis>.stat-card-modal-trigger:hover .analytics-kpi-tile,.macc-brand-refresh .statistics-secondary-kpis>.stat-card-modal-trigger:hover .analytics-kpi-tile{border-color:#9ac9af;transform:none;box-shadow:0 2px 12px #113f320a}.macc-brand-refresh :is(.dashboard-calendar-head,.calendar-toolbar){background:var(--macc-forest)}.macc-brand-refresh :is(.dashboard-calendar-head,.calendar-toolbar) .button{color:#fff;box-shadow:none;background:#ffffff14;border-color:#ffffff3d}.macc-brand-refresh :is(.dashboard-calendar-head,.calendar-toolbar) .button:hover:not(:disabled){background:#ffffff24;border-color:#fff6}.macc-brand-refresh :is(.dashboard-calendar-head,.calendar-toolbar) :is(a,button):focus-visible{outline-color:#fff}.macc-brand-refresh .dashboard-calendar-days article{background:var(--surface);border-color:var(--line)}.macc-brand-refresh .dashboard-calendar-days article.is-today{border-color:#65ad87;box-shadow:inset 0 0 0 1px #65ad87}.macc-brand-refresh :is(.dashboard-calendar-nav,.dashboard-calendar-days article>header){color:#3e5b4b;background:#f0f6f2}.macc-brand-refresh :is(.settings-page-header,.ai-settings-header,.settings-ai-card,.settings-hub-card--ai,.inbox-address-card){background:var(--surface);box-shadow:var(--macc-shadow-card)}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero){background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:var(--macc-shadow-card)}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero) h1{color:var(--macc-forest)}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero) p{color:var(--muted)}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero) .settings-eyebrow{color:#3f7357}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero) .settings-account-chip{color:var(--ink);border-color:var(--line);background:#f3f7f4}.macc-brand-refresh :is(.settings-hero,.ai-settings-hero) .settings-account-chip small{color:var(--muted)}.macc-brand-refresh .settings-hero-button{color:var(--macc-forest);background:var(--surface);border-color:#d4dfd8}.macc-brand-refresh :is(.settings-icon,.settings-ai-icon,.inbox-address-icon,.calendar-modal-icon){background:var(--macc-mint-soft);color:var(--macc-forest)}.macc-brand-refresh :is(.settings-hub-card--profile,.settings-hub-card--ai){border-top-color:var(--macc-mint)}.macc-brand-refresh .inbox-message-row.is-selected{border-left-color:var(--macc-mint);background:#eff8f2}.macc-brand-refresh .inbox-filter-tabs button.active{color:var(--macc-forest);background:var(--macc-mint-soft)}.macc-brand-refresh .ai-page .ai-composer{border-color:#b9cfc1;box-shadow:0 2px 12px #113f3207}.macc-brand-refresh .ai-page .ai-composer:focus-within{border-color:var(--macc-forest);box-shadow:0 0 0 3px #2bc77929}.macc-brand-refresh .auth-main{background:var(--bg)}.macc-brand-refresh .auth-main:before,.macc-brand-refresh .auth-main:after{box-shadow:none;border-color:#dfeae3}.macc-brand-refresh .auth-card{background:var(--surface);border-color:var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:18px;box-shadow:0 16px 48px #113f3212}.macc-brand-refresh .auth-card h1{color:var(--macc-forest)}.macc-brand-refresh .auth-main .auth-submit{background:var(--macc-forest);border-color:var(--macc-forest);color:#fff;box-shadow:0 2px 4px #113f3210}.macc-brand-refresh .auth-main .auth-submit:hover:not(:disabled){background:var(--macc-forest-hover);border-color:var(--macc-forest-hover)}@media (max-width:760px){.macc-brand-refresh .directional-dashboard .dashboard-operational-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.macc-brand-refresh .dashboard-operational-summary>.simple-dashboard-card{aspect-ratio:1;text-align:center;border-radius:16px;align-content:center;justify-items:center;gap:9px;width:100%;min-height:0;padding:14px 10px}.macc-brand-refresh .dashboard-operational-summary>.simple-dashboard-card:hover{transform:none}.macc-brand-refresh .dashboard-operational-summary .simple-card-icon{width:40px;height:40px}.macc-brand-refresh .dashboard-operational-summary>.simple-dashboard-card>span:not(.simple-card-icon){overflow-wrap:break-word;max-width:100%;font-size:.86rem;line-height:1.35}.macc-brand-refresh .dashboard-operational-summary>.simple-dashboard-card>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.8rem,7vw,2.4rem);line-height:1}}
.macc-brand-refresh .macc-brand-logo{object-fit:contain;height:auto;display:block}.macc-brand-refresh .sidebar .brand-home{flex:auto;gap:0;min-width:0}.macc-brand-refresh .sidebar .macc-sidebar-symbol{width:42px;height:auto;box-shadow:none;border-radius:0;flex:none}.macc-brand-refresh .auth-brand{justify-items:start;gap:14px;margin-bottom:30px;display:grid}.macc-brand-refresh .auth-brand>.macc-brand-logo{width:min(280px,100%);height:auto}.macc-brand-refresh .auth-brand>small{color:var(--muted);font-size:.8rem;font-weight:500}.macc-brand-refresh .mobile-brand-home{display:none}@media (max-width:980px),(max-width:1180px) and (pointer:coarse){.macc-brand-refresh .mobile-brand-home{justify-content:center;align-items:center;min-width:0;min-height:44px;display:flex}.macc-brand-refresh .mobile-brand-home .macc-brand-logo{width:36px;max-width:100%;height:auto}}.operia-ai-brand{color:#101d30;letter-spacing:normal;text-transform:none;vertical-align:middle;justify-content:center;align-items:center;gap:.34em;max-width:100%;font-size:.94rem;font-weight:750;line-height:1;display:inline-flex}.operia-ai-brand>img{width:58px;max-width:100%;height:auto;display:block}.operia-ai-brand--section{font-size:1.12rem}.operia-ai-brand--section>img{width:82px}.operia-ai-brand--welcome{font-size:clamp(1.5rem,4vw,2.25rem)}.operia-ai-brand--welcome>img{width:clamp(112px,22vw,154px)}.ai-page .ai-welcome{text-align:center}.ai-welcome>.operia-ai-brand{margin-bottom:12px}
