@media screen{.dashboard-shell{grid-template-columns:220px minmax(0,1fr)}.dashboard-shell .workspace,.dashboard-shell .workspace :is(main,section,article,form,fieldset,div,label){min-width:0}.dashboard-shell .dashboard-content{width:100%;max-width:none;margin-inline:0;padding:24px clamp(16px,1.6vw,28px) 40px}.dashboard-shell .dashboard-content.narrow{max-width:1100px}.dashboard-shell .topbar{flex-wrap:wrap;gap:12px;height:auto;min-height:54px;padding-inline:20px}.dashboard-shell .topbar>strong{overflow-wrap:anywhere}.dashboard-shell .page-heading{flex-wrap:wrap;gap:16px;margin-bottom:22px}.dashboard-shell .page-heading>div{flex:300px;min-width:0}.dashboard-shell .page-heading h1{overflow-wrap:anywhere;font-size:clamp(1.55rem,2.3vw,2.25rem);line-height:1.15}.dashboard-shell .workspace :is(h2,h3,p,small,pre,strong){overflow-wrap:anywhere}.dashboard-shell .workspace :is(input,select,textarea){min-width:0;max-width:100%}.dashboard-shell .workspace :is(.link-button,.primary-button,.secondary-button){white-space:normal;overflow-wrap:anywhere;max-width:100%}.dashboard-shell .workspace :is(.form-actions,.filter-bar,.page-actions,.document-actions,.agenda-module-actions){flex-wrap:wrap;gap:10px}.dashboard-shell .tenant-tabs{white-space:normal;flex-wrap:wrap;gap:6px;overflow:visible}.dashboard-shell .tenant-tabs button{white-space:normal;flex:0 auto}.dashboard-shell .workspace :is(.user-tabs,.persistent-tabs){white-space:normal;flex-wrap:wrap;gap:4px;overflow:visible}.dashboard-shell .user-tabs{margin:0 -18px 18px;padding-inline:12px}.dashboard-shell .workspace :is(.user-tabs,.persistent-tabs) button{white-space:normal;max-width:100%;padding:12px}.dashboard-shell .appointment-context-back{padding:12px 20px 0}.dashboard-shell .fiscal-query-bar{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));align-items:end;gap:12px;margin:16px 0;display:grid}.dashboard-shell .fiscal-query-bar label{gap:6px;min-width:0;display:grid}.dashboard-shell .fiscal-sync-progress{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}.dashboard-shell .workspace-navigation{flex:1;min-width:0;overflow-y:auto}.dashboard-shell .sidebar :is(nav,.nav-main-links,.nav-submenu){grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}.dashboard-shell .sidebar :is(.nav-parent,.nav-settings-toggle){white-space:normal;overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-width:0;max-width:100%;display:grid}.dashboard-shell .sidebar .nav-parent,.dashboard-shell .sidebar .nav-main-links>a{padding-inline:6px;font-size:.74rem}.dashboard-shell .sidebar .nav-parent>span{grid-template-columns:16px minmax(0,1fr);align-items:center;gap:7px;min-width:0;display:grid}.dashboard-shell .sidebar :is(nav a,.nav-submenu-title){white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.dashboard-shell .sidebar nav a{display:block}.dashboard-shell .sidebar :is(nav a,.nav-parent>span)>i{vertical-align:baseline;width:16px;margin-right:7px;display:inline-block}.dashboard-shell .sidebar .nav-parent>span>i{margin-right:0}.dashboard-shell .sidebar .nav-parent>b{justify-self:end}.dashboard-shell .sidebar .nav-settings-toggle{grid-template-columns:16px minmax(0,1fr) auto}.dashboard-shell .sidebar .nav-submenu{width:auto;margin-left:10px;padding-left:8px}.dashboard-shell .sidebar-user{grid-template-columns:36px minmax(0,1fr);gap:9px;padding-inline:0}.dashboard-shell .sidebar-user :is(strong,small){white-space:normal;text-overflow:clip;overflow-wrap:anywhere;max-width:none;overflow:visible}.dashboard-shell .sidebar-user>:last-child{grid-column:1/-1;justify-self:end}.dashboard-shell .workspace :is(.form-actions,.page-actions,.document-actions,.fiscal-actions,.return-actions,.permission-extra-actions){flex-wrap:wrap;min-width:0;max-width:100%}.dashboard-shell .workspace :is(.fiscal-actions,.return-actions)>*{white-space:normal;overflow-wrap:normal;flex:120px;min-width:0;max-width:100%}.workspace-menu-toggle{display:none}.dashboard-shell table[data-responsive-table]{table-layout:fixed;width:100%;min-width:0}.dashboard-shell table[data-responsive-table] :is(th,td){white-space:normal;overflow-wrap:anywhere;vertical-align:top;min-width:0;padding:10px 12px}.dashboard-shell table[data-responsive-table] :is(td,th) :is(button,a,input,select,div,span){white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.dashboard-shell table[data-table-mode=cards]{border:0;display:block}.dashboard-shell table[data-table-mode=cards][data-header-controls=false]>thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.dashboard-shell table[data-table-mode=cards][data-header-controls=true]>thead{margin-bottom:12px;display:block}.dashboard-shell table[data-table-mode=cards][data-header-controls=true]>thead>tr{flex-wrap:wrap;display:flex}.dashboard-shell table[data-table-mode=cards][data-header-controls=true]>thead th{padding:8px;display:block}.dashboard-shell table[data-table-mode=cards]>tbody{gap:12px;width:100%;display:grid}.dashboard-shell table[data-table-mode=cards]>tbody>tr{background:#fff;border:1px solid #dce7ef;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:0;padding:8px;display:grid}.dashboard-shell table[data-table-mode=cards]>tbody>tr>:is(td,th){border:0;width:auto;padding:10px;font-size:.8rem;line-height:1.45;display:block}.dashboard-shell table[data-table-mode=cards] :is(td,th)[data-field-label]:before{content:attr(data-field-label);color:#526b80;margin-bottom:5px;font-size:.68rem;font-weight:800;line-height:1.4;display:block}.dashboard-shell table[data-table-mode=cards]>tfoot{border-top:2px solid #dce7ef;margin-top:12px;display:block}.dashboard-shell table[data-table-mode=cards]>tfoot>tr{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:8px;display:grid}.dashboard-shell table[data-table-mode=cards]>tfoot :is(th,td){padding:10px;display:block}.dashboard-shell table[data-table-mode=cards] tr[data-table-row=message]{background:#f6fafb;display:block}.dashboard-shell table[data-table-mode=cards] [hidden]{display:none!important}.dashboard-shell table[data-table-mode=cards] .fiscal-actions{min-width:0}.dashboard-shell table[data-table-mode=cards] .return-actions{flex-wrap:wrap;min-width:0}.dashboard-shell .table-wrap:has(>table[data-responsive-table]){max-width:100%;overflow-x:visible}.dashboard-shell .danfe-a4{zoom:var(--document-scale,1);width:1120px;max-width:none;margin:12px 0}}@media screen and (max-width:1000px){.dashboard-shell{display:block}.dashboard-shell .sidebar{z-index:30;flex-flow:wrap;align-items:center;gap:10px;width:100%;height:auto;max-height:60dvh;padding:10px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.dashboard-shell .sidebar-brand{flex:180px;gap:8px;min-width:0;max-width:70%;padding:0}.dashboard-shell .sidebar-brand strong{white-space:normal;overflow-wrap:anywhere;font-size:.78rem}.dashboard-shell .sidebar-brand small{display:none}.dashboard-shell .workspace-menu-toggle{color:#fff;cursor:pointer;background:#143348;border:1px solid #426279;border-radius:8px;padding:10px;font-size:.75rem;font-weight:800;display:block}.dashboard-shell .workspace-navigation{flex:1 0 100%;order:10;width:100%}.dashboard-shell .workspace-navigation[data-open=false]{display:none}.dashboard-shell .workspace-navigation nav{margin:0;display:block}.dashboard-shell .sidebar .nav-main-links{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;display:grid;overflow:visible}.dashboard-shell .sidebar .nav-main-links>a,.dashboard-shell .sidebar .nav-parent{width:100%;min-width:0}.dashboard-shell .sidebar .nav-submenu{white-space:normal;grid-column:1/-1;display:block;overflow:visible}.dashboard-shell .sidebar .nav-submenu a{white-space:normal}.dashboard-shell .sidebar-user{border:0;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:0;padding:0;display:flex}.dashboard-shell .sidebar-user>div:nth-child(2){display:block}.dashboard-shell .sidebar-user .avatar{width:32px;height:32px}.dashboard-shell .sidebar-user .user-profile-trigger{max-width:160px}.dashboard-shell .sidebar-version{display:none}.dashboard-shell .system-license-footer{order:9;width:100%;padding:4px 0 0}.dashboard-shell .workspace{width:100%;min-width:0}.dashboard-shell .dashboard-content,.dashboard-shell .dashboard-content.narrow{max-width:none;padding:18px 16px 32px}.dashboard-shell .topbar{padding:10px 16px}.dashboard-shell .topbar>div:first-child{display:none}.dashboard-shell .page-heading{align-items:stretch}.dashboard-shell .workspace :is(.form-grid,.date-filter-grid,.staff-closing-form,.staff-commission-filters){grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.dashboard-shell .form-grid .span-2{grid-column:1/-1}.dashboard-shell .workspace :is(.cash-toolbar,.cash-query-filters){grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}}@media screen and (max-width:600px){.dashboard-shell .sidebar{gap:8px;padding:8px 12px}.dashboard-shell .sidebar-brand{max-width:calc(100% - 90px)}.dashboard-shell .sidebar-user{justify-content:space-between;width:100%}.dashboard-shell .sidebar .nav-main-links{grid-template-columns:1fr}.dashboard-shell .page-heading>div{flex-basis:100%}.dashboard-shell .dashboard-content,.dashboard-shell .dashboard-content.narrow{padding:16px 12px 28px}.dashboard-shell .workspace :is(.form-grid,.cash-summary-grid,.detail-grid,.financial-metrics,.payment-progress){grid-template-columns:1fr}.dashboard-shell .workspace :is(.panel,.form-panel,.financial-panel){max-width:100%}.dashboard-shell .page-heading :is(.link-button,.primary-button,.secondary-button){width:100%}}
