/* V12.5.17: canonical shared operational tokens. Compatibility !important
   declarations supersede existing important/inline legacy rules (QA inventory). */
:root{--font-size-page-title:24px;--font-size-section-title:18px;--font-size-subsection:15px;--font-size-body:14px;--font-size-label:12px;--font-size-table:13px;--font-size-meta:11px;--font-size-value:18px;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--control-height:38px;--control-height-compact:32px;--table-row-height:48px;--radius-sm:6px;--radius-md:10px;--border-color:#dce2ea;--divider-color:#e8ecf1;--portal-header-height:80px;--portal-title-size:var(--font-size-page-title);--portal-heading-weight:var(--font-weight-semibold);--portal-label-weight:var(--font-weight-medium);--portal-space:var(--space-3);--client-table-width:900px;--action-column-width:88px;--equipment-column-width:116px}
.amica-shell{--v462-topbar:var(--portal-header-height);grid-template-rows:var(--portal-header-height) minmax(0,1fr)!important}
.amica-brand,.amica-topbar.compact-topbar{height:var(--portal-header-height)!important;min-height:var(--portal-header-height)!important;box-sizing:border-box!important;border-bottom:1px solid #e4e7ec!important}
.amica-brand{padding:0 12px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.amica-brand img{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:76px!important;object-fit:contain!important;margin:0!important}
body.ui-unified #content :is(h1,h2){font-size:var(--portal-title-size)!important;font-weight:var(--portal-heading-weight)!important;line-height:1.2!important;letter-spacing:-.02em!important;text-align:left!important}
body.ui-unified #content :is(h3,h4){font-weight:var(--portal-heading-weight)!important;line-height:1.3!important}
body.ui-unified #content :is(label,th,.ds-label,.ds-eyebrow,.v4-eyebrow,.k-label,.ds-metric span){font-size:var(--font-size-label)!important;text-transform:none!important;letter-spacing:0!important;font-weight:var(--portal-label-weight)!important}
body.ui-unified #content :is(b,strong,.btn,.ds-btn){font-weight:600!important}
body.ui-unified #content :is(.card,.ds-panel,.v4-panel,.v461-panel){box-shadow:none!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.standard-page-head){margin-bottom:var(--portal-space)!important}
body.ui-unified #content .ds-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:12px}
/* Six-column client table: combined contact, useful names and consistent action axis. */
body.ui-unified #content .v461-clients-table{width:100%!important;min-width:var(--client-table-width)!important;table-layout:fixed!important}
body.ui-unified #content .v461-clients-table :is(th,td){overflow-wrap:normal!important;word-break:normal!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(1){width:27%!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(2){width:14%!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(3){width:24%!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(4){width:18%!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(5){width:var(--equipment-column-width)!important;white-space:nowrap!important;text-align:center!important}
body.ui-unified #content .v461-clients-table :is(th,td):nth-child(6){width:var(--action-column-width)!important;white-space:nowrap!important;text-align:center!important}
.v461-clients-table .client-equipment-link{min-width:30px;min-height:28px;border-radius:6px;padding:4px 8px}
[hidden]{display:none!important}
.ds{--control-h:var(--control-height);font-size:var(--font-size-body)}
body.ui-unified #content{font-size:var(--font-size-body);line-height:1.4;min-width:0}
body.ui-unified #content :is(.v4-panel-head,.ds-panel-head,.wallet-section-head,.v461-section-head) :is(h2,h3),body.ui-unified #content h3{font-size:var(--font-size-section-title)!important;font-weight:var(--font-weight-semibold)!important;line-height:1.25!important}
body.ui-unified #content h4{font-size:var(--font-size-subsection)!important}
body.ui-unified #content :is(.muted,small,.v4-sub,.ds-sub,.ds-hint,.portal-build-chip){font-size:var(--font-size-meta)!important;line-height:1.4}
body.ui-unified #content :is(.card,.ds-panel-body){padding:var(--space-4)!important}
body.ui-unified #content :is(.card,.ds-panel,.v4-panel){border-radius:var(--radius-md)!important;margin-bottom:var(--space-4)!important}
body.ui-unified #content p:empty{display:none}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head){text-align:left!important}
body.ui-unified #content :is(.v4-kpi-copy>span,.wallet-balance-card span,.ds-spec dt){font-size:var(--font-size-label)!important;text-transform:none!important;letter-spacing:0!important;font-weight:var(--font-weight-medium)!important}
body.ui-unified #content .ds-cfg-row{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
body.ui-unified #content :is(.ds-panel-head,.v4-panel-head){min-height:0!important;padding:var(--space-3) var(--space-4)!important;gap:var(--space-3)!important}
body.ui-unified #content :is(.field,.ds-field,.v4-field){min-width:0}
body.ui-unified #content :is(.field,.ds-field,.v4-field)>label{display:block;margin-bottom:var(--space-2)!important}
body.ui-unified #content :is(input:where(:not([type=checkbox]):not([type=radio]):not([type=file])),select,.btn,.ds-btn){min-height:var(--control-height)!important;box-sizing:border-box;border-radius:var(--radius-sm)!important;font-size:var(--font-size-table)!important}
body.ui-unified #content :is(.btn,.ds-btn){height:var(--control-height)!important;padding:0 var(--space-3)!important;display:inline-flex;align-items:center;justify-content:center}
body.ui-unified #content :is(.btn.small,.ds-btn.small,.action-open,.client-equipment-link){height:var(--control-height-compact)!important;min-height:var(--control-height-compact)!important;font-size:var(--font-size-label)!important;padding:0 var(--space-2)!important}
body.ui-unified #content :is(.formgrid,.ds-form-grid,.ds-cfg-row,.wallet-form-grid){gap:var(--space-4)!important}
body.ui-unified #content :is(.table,.v4-table-wrap,.ds-table-wrap,.payment-terms-matrix-wrap){max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
body.ui-unified #content table{font-size:var(--font-size-table)!important;border-collapse:collapse}
body.ui-unified #content :is(th,td){padding:var(--space-2) var(--space-3)!important;vertical-align:middle!important;word-break:normal!important;overflow-wrap:normal!important;border-left:0!important;border-right:0!important}
body.ui-unified #content td{height:var(--table-row-height)!important;font-size:var(--font-size-table)!important}
body.ui-unified #content :is(.v4-action,.col-action){text-align:center!important;width:var(--action-column-width);white-space:nowrap}
body.ui-unified #content :is(.status,.ds-badge,.v4-status,.v4-type){font-size:var(--font-size-label)!important;font-weight:var(--font-weight-medium)!important;border-radius:var(--radius-sm)!important}
.ds-truncate{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal}
.ds-client-name,.ds-contact-name{font-weight:var(--font-weight-semibold)}
.ds-scroll-hint{display:none;color:#657086;font-size:var(--font-size-label);padding:var(--space-2) var(--space-4)}
.ds-scroll-hint.always{display:block}
body.ui-unified #content .payment-terms-matrix-wrap{max-height:70vh}
body.ui-unified #content .payment-terms-matrix th{position:sticky;top:0;z-index:2;background:#f8f9fb}
body.ui-unified #content .payment-terms-matrix .sticky-client{position:sticky;left:0;z-index:1;background:#fff;min-width:220px}
body.ui-unified #content .payment-terms-matrix th.sticky-client{z-index:3;background:#f8f9fb}
.ds-default-condition{background:#fff8f7}
body.ui-unified #content .v4-kpi{padding:var(--space-3) var(--space-4)!important;min-height:88px!important;box-shadow:none!important}
body.ui-unified #content .v4-kpi b{font-size:var(--font-size-value)!important}
.ds-loading-value{color:#657086}
body.ui-unified #content .ds-sumbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto auto;gap:var(--space-3)!important}
body.ui-unified #content .ds-sumbar>.ds-sub:empty{display:none}
body.ui-unified #content .wallet-balance-card{padding:var(--space-3) var(--space-4)!important;box-shadow:none;border-radius:var(--radius-md);gap:var(--space-4)}
body.ui-unified #content .wallet-balance-card strong{font-size:var(--font-size-value)!important}
body.ui-unified #content .wallet-owner-grid{display:block!important}
body.ui-unified #content .wallet-action-card{padding:var(--space-4)!important;border:0;border-top:1px solid var(--divider-color);border-radius:0;box-shadow:none}
.ds-segmented{display:flex;flex-wrap:wrap;gap:var(--space-1);border-bottom:1px solid var(--divider-color);padding-bottom:var(--space-2);margin-top:var(--space-4)}
.ds-segmented button{min-height:var(--control-height);padding:0 var(--space-3);border:1px solid transparent;background:transparent;border-radius:var(--radius-sm);font:inherit;font-size:var(--font-size-table);cursor:pointer}
.ds-segmented [aria-selected=true]{background:#fff1ef;color:#b91810;border-color:#ffd2ce;font-weight:var(--font-weight-semibold)}
body.ui-unified #content .ds-context-order{grid-template-columns:1.1fr 1.4fr 1fr 1fr 1.3fr auto!important;min-height:var(--table-row-height)!important;padding:var(--space-3)!important}
body.ui-unified #content .ds-doc-grid{display:block}
body.ui-unified #content .ds-doc{height:auto!important;display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,1.4fr) auto auto;gap:var(--space-3);align-items:center;border:0;border-bottom:1px solid var(--divider-color);border-radius:0;padding:var(--space-3) 0}
body.ui-unified #content .ds-doc :is(.ds-file,.ds-upload,.ds-actions){margin:0;min-height:0;padding-top:0}
body.ui-unified #content .ds-sheet :is(h3,.ds-sheet-description){overflow-wrap:break-word}
.ds-sheet-description{font-size:var(--font-size-table);font-weight:var(--font-weight-normal);color:#657086;margin:var(--space-2) 0 0}
body.ui-unified #content .ds-sheet-title h3{font-size:var(--font-size-section-title)!important}
body.ui-unified #content .employee-config-section{border:0;border-top:1px solid var(--divider-color);background:transparent;padding:var(--space-4) 0!important}
body.ui-unified #content .employee-section-head>span{display:none}
body.ui-unified #content .owner-protected-card{padding:var(--space-2) var(--space-3);margin-bottom:var(--space-3);border:0;background:#f8f9fb}
body.ui-unified #content .ds-price-panel{max-width:760px}
.ds-note-neutral{padding:var(--space-3) var(--space-4);color:#657086;font-size:var(--font-size-table);border-top:1px solid var(--divider-color)}
body.ui-unified #content .settings-section{max-width:1040px}
body.ui-unified #content .settings-section .formgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ui-unified #content .settings-section input{max-width:100%}
body.ui-unified #content :is(.ds-actions,.sticky-actions){display:flex;justify-content:flex-end;flex-wrap:wrap;gap:var(--space-2);padding-top:var(--space-3)}
body.ui-unified #content [data-context-save]{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--divider-color);padding:var(--space-3);z-index:2}
.ds-details{padding:var(--space-3) var(--space-4);border-top:1px solid var(--divider-color);font-size:var(--font-size-table)}
.ds-details summary{cursor:pointer;font-weight:var(--font-weight-medium)}
body.ui-unified #content #caCompany :is(b,strong,h3){font-size:var(--font-size-body)!important}
body.ui-unified #content .client-list-toolbar{grid-template-columns:minmax(0,1fr) 210px!important}
#sidebarPortalVersion{font-size:var(--font-size-meta)!important;font-weight:var(--font-weight-medium)!important}
@media(max-width:1100px){:root{--font-size-page-title:22px}body.ui-unified #content :is(.formgrid,.ds-cfg-row,.wallet-form-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ui-unified #content .ds-doc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ds-scroll-hint{display:block}}
@media(max-width:800px){body.ui-unified #content .settings-section .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head){flex-wrap:wrap;align-items:flex-start}body.ui-unified #content .v4-agenda-head{flex-wrap:wrap}body.ui-unified #content .v4-monthbar{min-width:0!important;margin-left:0!important}}
@media(max-width:520px){:root{--font-size-page-title:21px}body.ui-unified #content :is(.formgrid,.ds-cfg-row,.wallet-form-grid,.settings-section .formgrid,.client-list-toolbar){grid-template-columns:minmax(0,1fr)!important}body.ui-unified #content .span2{grid-column:auto!important}body.ui-unified #content .ds-doc{grid-template-columns:minmax(0,1fr)}body.ui-unified #content .ds-context-order{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ui-unified #content :is(.v4-metrics,.ds-kpis,.kpi-row,.security-kpis){grid-template-columns:repeat(2,minmax(0,1fr))!important}.ds-segmented button{flex:1 1 40%}body.ui-unified #content .ds-sheet-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body.ui-unified #content .ds-kpi{min-height:110px;padding:var(--space-3)}body.ui-unified #content .ds-kpi .k-value{font-size:var(--font-size-value)!important}body.ui-unified #content .ds-sumbar{grid-template-columns:repeat(2,minmax(0,1fr))}body.ui-unified #content .ds-sumbar>.ds-sub,body.ui-unified #content .ds-sumbar>.ds-btn{grid-column:1/-1}}

/* Operational shell: no topbar, one page heading, account in sidebar footer. */
#appView.amica-shell{grid-template-rows:minmax(0,1fr)!important;height:100dvh!important;min-height:0!important}
#appView>.amica-sidebar{grid-column:1!important;grid-row:1!important;min-height:0!important;box-shadow:none!important}
#appView>.amica-main{grid-column:2!important;grid-row:1!important;min-height:0!important;overflow:auto!important}
#appView .amica-topbar{display:none!important}
#appView .amica-sidebar-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:8px;padding:12px!important;flex-shrink:0}
#appView .amica-sidebar-footer #who{display:block!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;color:#475467!important}
#appView .amica-sidebar-footer #sidebarPortalVersion{grid-column:1/-1;display:block!important;font-size:12px!important}
#appView .amica-sidebar-footer .amica-logout{margin:0!important;height:36px!important;min-height:36px!important;font-size:13px!important}
#appView>.amica-mobile-nav-toggle{display:none!important}
#appView #content.amica-content{padding:16px 20px 24px!important;max-width:none!important;margin:0!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head,.standard-page-head){padding:0!important;min-height:0!important;margin:0 0 12px!important;gap:12px!important;align-items:center!important;background:transparent!important;border:0!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head)>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head){justify-content:space-between!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head)>div:first-child{justify-content:flex-start!important;flex:1 1 auto;text-align:left!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head) :is(h1,h2){margin:0!important;line-height:1.25!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head)>div:first-child>p{flex-basis:100%;margin:0!important;font-size:13px!important}
body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head)>div:first-child>p{order:2}
body.ui-unified #content :is(.formgrid,.ds-form-grid)>.field{margin:0!important}
body.ui-unified #content .ds-price-panel table{min-width:0!important;width:100%!important}
body.ui-unified #content .ds-price-panel .v4-table-wrap{overflow-x:auto!important}
body.ui-unified #content :is(.v4-kpi-icon,.k-icon){width:32px!important;height:32px!important}
body.ui-unified #content .v4-kpi-icon :is(svg){width:18px!important;height:18px!important}
body.ui-unified #content p:empty{display:none!important}
body.ui-unified #content :is(.v460-page-meta,.page-meta){margin:0!important;display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap}
body.ui-unified #content :is(.v460-pill,.portal-build-chip){padding:0!important;border:0!important;background:transparent!important;line-height:1.4!important}
body.ui-unified #content .portal-build-chip{display:none!important} /* version remains in sidebar */
body.ui-unified #content :is(.v4-eyebrow,.machine-hero-eyebrow){display:none!important}
body.ui-unified #content :is(.card,.ds-panel,.v4-panel,.model-section){border-radius:6px!important;box-shadow:none!important;margin-bottom:12px!important}
body.ui-unified #content :is(.card,.ds-panel,.v4-panel) :is(.card,.ds-panel,.v4-panel){border:0!important;border-radius:0!important;box-shadow:none!important}
body.ui-unified #content :is(.ds-panel-head,.v4-panel-head,.model-section-title){padding:10px 12px!important;min-height:0!important;gap:8px!important}
body.ui-unified #content :is(.ds-panel-body,.card){padding:12px!important}
body.ui-unified #content :is(.ds-panel-head,.v4-panel-head) :is(h2,h3){margin:0!important;font-size:16px!important}
body.ui-unified #content :is(.ds-panel-head,.v4-panel-head)>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
body.ui-unified #content :is(.ds-panel-head,.v4-panel-head)>div:first-child>p{flex-basis:100%;font-size:13px!important;margin:0!important}
body.ui-unified #content :is(.muted,small,.ds-sub,.ds-hint,.v4-sub){font-size:12px!important}
body.ui-unified #content :is(.ds-kpi,.v4-kpi){min-height:72px!important;padding:10px 12px!important;border-radius:6px!important}
body.ui-unified #content .ds-kpi .k-icon{width:32px!important;height:32px!important}
body.ui-unified #content .wallet-balance-card{min-height:0!important;padding:12px!important}
body.ui-unified #content .wallet-balance-card>div:first-child{display:flex!important;align-items:center;gap:12px!important}
body.ui-unified #content .wallet-balance-card :is(span,strong){margin:0!important;display:inline!important}
body.ui-unified #content .wallet-action-card{max-width:1000px!important;padding:12px!important}
body.ui-unified #content .wallet-form-grid{grid-template-columns:minmax(160px,.6fr) minmax(240px,1fr) minmax(200px,1fr)!important;gap:12px!important}
body.ui-unified #content .wallet-form-grid .field:has(#financeExternal){grid-column:auto!important}
body.ui-unified #content .wallet-form-grid .field:has(textarea){grid-column:1/-1!important}
body.ui-unified #content .wallet-form-grid textarea{min-height:64px!important}
body.ui-unified #content .v4-agenda .v4-panel-icon{display:none!important}
body.ui-unified #content .v4-agenda .v4-monthlabel{font-size:16px!important;font-weight:500!important}
body.ui-unified #content .v4-monthbar button{width:36px!important;height:36px!important;min-height:36px!important}
body.ui-unified #content .v4-summary{padding:8px 12px!important}
body.ui-unified #content .payment-terms-matrix :is(th,td){text-align:center!important}
body.ui-unified #content .payment-terms-matrix :is(th,td):first-child{text-align:left!important}
body.ui-unified #content :is(.ds-empty,.v460-empty){padding:16px!important;min-height:0!important}
body.ui-unified #content .ds-sheet-main{padding:12px!important;gap:12px!important}
body.ui-unified #content .ds-sheet-photo{width:100px!important;min-height:76px!important}
body.ui-unified #content .ds-sheet :is(.ds-specs,.ds-sheet-specs){padding:10px 12px!important;gap:8px!important}
body.ui-unified #content :is(.ds-actionbar,.ds-actions){padding-top:8px!important}
/* The grid itself must win over historic !important three-column declarations. */
body.ui-unified #content :is(.ds-doc-grid,.model-document-grid){display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important}
body.ui-unified #content .ds-doc{display:grid!important;grid-template-columns:minmax(150px,.9fr) minmax(140px,1fr) minmax(180px,1.2fr) auto!important;gap:8px 12px!important;min-height:0!important;height:auto!important;padding:10px 0!important;border:0!important;border-bottom:1px solid var(--divider-color)!important;border-radius:0!important;background:transparent!important}
body.ui-unified #content .ds-doc:last-child{border-bottom:0!important}
body.ui-unified #content .ds-doc :is(.ds-doc-head,.ds-file,.ds-upload,.ds-actions){min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.ui-unified #content .ds-doc-head{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px!important}
body.ui-unified #content .ds-doc-head h4{font-size:14px!important;margin:0!important}
body.ui-unified #content .ds-doc input[type=file]{max-width:100%!important;min-width:0;width:100%;margin:4px 0 0!important;font-size:12px!important}
body.ui-unified #content .ds-doc .ds-file{overflow-wrap:anywhere!important;font-size:13px!important}
body.ui-unified #content .ds-doc .ds-file b{white-space:normal!important}
body.ui-unified #content .ds-doc .ds-actions{display:flex;flex-wrap:wrap;justify-content:flex-end!important}
body.ui-unified #content .ds-doc label.ds-upload{border:1px solid var(--border-color)!important;border-radius:6px!important;padding:0 10px!important;background:#fff!important;min-height:36px!important;height:auto!important;font-size:12px!important}
body.ui-unified #content .ds-doc label.ds-upload:focus-within{outline:2px solid #b42318;outline-offset:2px}
body.ui-unified #content .ds-doc label.ds-upload input[type=file]{inset:0!important;margin:0!important;height:100%!important;width:100%!important;opacity:0!important;position:absolute!important}
body.ui-unified #content .ds-doc .ds-actions:empty{display:none!important}
body.ui-unified #content table :is(th,td).col-action,body.ui-unified #content table :is(th,td):last-child:has(>.btn),body.ui-unified #content table :is(th,td):last-child:has(>.ds-btn){text-align:center!important;vertical-align:middle!important}
body.ui-unified #content table th:has(>.ds-btn){text-align:center!important}
body.ui-unified #content table td:last-child>.btn,body.ui-unified #content table td:last-child>.ds-btn{margin:0 auto!important}
.ds-mobile-disclosure>summary{display:none;list-style:none;cursor:pointer}
.ds-mobile-disclosure>summary::-webkit-details-marker{display:none}
.ds-mobile-disclosure>summary::after{content:'+';margin-left:auto;font-size:20px;font-weight:400}
.ds-mobile-disclosure[open]>summary::after{content:'−'}
.client-mobile-details{display:none}
.ds-model-identity>summary{cursor:pointer;font-size:14px;font-weight:500;min-height:44px;padding:12px;box-sizing:border-box}
@media(min-width:701px){.ds-model-identity{display:contents}.ds-model-identity>summary{display:none}}
@media(max-width:700px){.ds-model-identity{background:#fff;border:1px solid var(--border-color);border-radius:6px;margin-bottom:12px}.ds-model-identity .ds-sheet{border:0!important;margin-bottom:0!important}.ds-model-identity .ds-sheet-main{border:0!important}}
.ds-filter-disclosure>summary{cursor:pointer;font-size:14px;font-weight:500;min-height:38px;padding:8px 0;box-sizing:border-box}
@media(min-width:701px){.ds-filter-disclosure,.ds-filter-disclosure-body{display:contents!important}.ds-filter-disclosure>summary{display:none}}
@media(max-width:700px){.ds-filter-disclosure{grid-column:1/-1}.ds-filter-disclosure-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:8px 0}.ds-filter-disclosure .installed-filter-actions{grid-column:1/-1}}
.client-equipment-heading-short{display:none;text-decoration:none}
body.ui-unified #content .ds-sheet-main{grid-template-columns:80px minmax(0,1fr) auto!important}
body.ui-unified #content .ds-sheet-photo{width:80px!important;min-height:0!important}
body.ui-unified #content .ds-sheet-tile{height:72px!important}
body.ui-unified #content .ds-sheet-sync{grid-column:auto!important;border:0!important;padding:0!important;display:block!important}
body.ui-unified #content .ds-sheet .ds-specs{grid-template-columns:repeat(3,minmax(0,1fr))!important;background:transparent!important;margin:0!important}
body.ui-unified #content .ds-sheet .ds-spec{padding:0 8px!important;border:0!important;display:flex;align-items:center;gap:8px}
body.ui-unified #content .ds-sheet .ds-spec dt{margin:0!important;font-size:12px!important}
body.ui-unified #content .ds-sheet .ds-spec dd{font-size:14px!important}
body.ui-unified #content .v460-toolbar.client-list-toolbar{padding:12px!important;gap:12px!important;min-height:0!important}
body.ui-unified #content :is(.v4-panel-accent,.ds-panel.accent)::before{display:none!important}
body.ui-unified #content .ds-equip-details{width:100%;border:0!important}
body.ui-unified #content .ds-equip-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
body.ui-unified #content .ds-equip{grid-template-columns:110px minmax(0,1fr)!important}
body.ui-unified #content .ds-equip-photo{min-height:110px!important}
body.ui-unified #content .ds-equip-info{padding:12px!important}
body.ui-unified #content .ds-equip .ds-meta-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.ui-unified #content .ds-meta-grid :is(span,b){overflow-wrap:normal!important;word-break:normal!important}
body.ui-unified #content :is(.ds-meta-grid span,.ds-data-list dt,.ds-spec dt,.ds-order-head,.am-orders-head,.security-kpi span){text-transform:none!important;letter-spacing:0!important;font-size:12px!important}
body.ui-unified #content .v461-tab-body{padding:12px!important}
body.ui-unified #content .v461-section-head{margin:0 0 8px!important;padding:0 0 8px!important;min-height:0!important}
body.ui-unified #content .v461-tab-body>.card:has(>.order-summary){padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--divider-color)!important;border-radius:0!important}
body.ui-unified #content .order-summary{min-height:52px!important;padding:8px 12px!important;gap:8px!important;height:auto!important}
body.ui-unified #content .order-summary .muted{text-transform:none!important;letter-spacing:0!important;font-size:12px!important}
body.ui-unified #content .order-summary>div{display:block!important;position:static!important;transform:none!important;grid-column:auto!important;grid-row:auto!important}
body.ui-unified #content .order-summary>div:last-child{width:24px!important;justify-self:end}
@media(min-width:701px){.ds-mobile-disclosure:not([open])>.ds-disclosure-body{display:block!important;content-visibility:visible!important}}
@media(max-width:1100px){body.ui-unified #content .ds-doc{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr)!important}body.ui-unified #content .ds-doc .ds-actions{justify-content:flex-start!important}}
@media(max-width:900px){
 body.ui-unified #content>h2:first-child{margin-left:46px!important;min-height:38px!important;display:flex;align-items:center}
 body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head){flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
 body.ui-unified #content .ds-order-list-row{grid-template-columns:minmax(0,1fr) auto 28px!important;grid-template-areas:none!important;gap:6px 8px!important;padding:10px 12px!important;min-height:0!important;height:auto!important}
 body.ui-unified #content .ds-order-list-row>div{grid-area:auto!important;min-width:0!important;display:block!important;font-size:13px!important}
 body.ui-unified #content .ds-order-list-row>div:last-child{grid-column:3!important;grid-row:1/span 4!important;min-width:28px!important;align-self:center;display:grid!important}
 body.ui-unified #content .ds-order-row-arrow{width:28px!important;height:36px!important;font-size:20px!important}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(1){grid-column:1!important;grid-row:1!important}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(2){grid-column:1/span 2!important;grid-row:2!important;font-size:12px!important;color:#667085}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(3){grid-column:1!important;grid-row:3!important;text-align:left!important}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(4){grid-column:2!important;grid-row:3!important}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(4)::before{content:'Crédito ';font-size:12px;color:#667085}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(5){grid-column:2!important;grid-row:1!important}
 body.ui-unified #content .customer-order-list .ds-order-list-row>div:nth-child(6){display:none!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(1){grid-column:1!important;grid-row:1!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(2){grid-column:1/span 2!important;grid-row:2!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(3){grid-column:1!important;grid-row:3!important;font-size:12px!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(4){grid-column:2!important;grid-row:3!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(5){grid-column:1/span 2!important;grid-row:4!important;text-align:left!important}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(5)::before{content:'Crédito ';font-size:12px;color:#667085}
 body.ui-unified #content .owner-order-list .ds-order-list-row>div:nth-child(6){grid-column:2!important;grid-row:1!important}
 #appView.amica-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
 #appView>.amica-main{grid-column:1!important;grid-row:1!important}
 #appView>.amica-mobile-nav-toggle{display:flex!important;position:fixed!important;top:10px!important;left:10px!important;width:38px!important;height:38px!important;z-index:60!important;align-items:center;justify-content:center;flex-direction:column;gap:4px;background:#fff!important;border:1px solid #dce2ea!important;border-radius:6px!important;padding:8px!important}
 #appView>.amica-mobile-nav-toggle span{display:block!important;width:18px!important;height:2px!important;background:#344054!important}
 #appView #content.amica-content{padding:12px 12px 20px!important}
 body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head,.standard-page-head){padding-left:46px!important;min-height:38px!important;margin-bottom:8px!important}
 #appView>.amica-sidebar{height:100dvh!important;max-height:100dvh!important;z-index:70!important}
 body.mobile-nav-open #appView>.amica-mobile-nav-toggle{left:calc(min(300px,85vw) - 48px)!important;z-index:80!important}
 body.ui-unified #content :is(.settings-tabs,.ds-segmented,.client-detail-tabs){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:4px!important;padding-bottom:6px!important;scrollbar-width:thin}
 body.ui-unified #content :is(.settings-tabs,.ds-segmented,.client-detail-tabs)>button{flex:0 0 auto!important;white-space:nowrap!important;min-height:38px!important}
}
@media(max-width:700px){
 body.ui-unified #content .card>div:has(#employeeSearch){grid-template-columns:minmax(0,1fr)!important}
 body.ui-unified #content .installed-equipment-table{min-width:1100px!important;table-layout:fixed!important}
 body.ui-unified #content .installed-equipment-table :is(th,td):first-child{width:180px!important}
 body.ui-unified #content .installed-equipment-table :is(th,td):nth-child(4){width:240px!important}
 body.ui-unified #content .installed-equipment-table :is(th,td):nth-child(5){width:80px!important;white-space:nowrap!important}
 body.ui-unified #content .dashboard-orders .v4-table-wrap{max-height:310px!important;overflow:auto!important}
 body.ui-unified #content .dashboard-orders table{min-width:0!important;display:block!important}
 body.ui-unified #content .dashboard-orders thead{display:none!important}
 body.ui-unified #content .dashboard-orders tbody{display:block!important}
 body.ui-unified #content .dashboard-orders tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto 40px!important;padding:8px 12px!important;border-bottom:1px solid var(--divider-color);gap:4px 8px}
 body.ui-unified #content .dashboard-orders td{display:block!important;height:auto!important;padding:0!important;border:0!important;min-width:0!important;width:auto!important}
 body.ui-unified #content .dashboard-orders td:nth-child(1){grid-column:1/span 2;grid-row:1}
 body.ui-unified #content .dashboard-orders td:nth-child(2){grid-column:1/span 2;grid-row:2;overflow-wrap:normal!important}
 body.ui-unified #content .dashboard-orders td:nth-child(3){grid-column:1;grid-row:3}
 body.ui-unified #content .dashboard-orders td:nth-child(4){grid-column:2;grid-row:3}
 body.ui-unified #content .dashboard-orders td:nth-child(5){grid-column:3;grid-row:1/span 3;align-self:center}
 body.ui-unified #content .dashboard-orders .btn.small{padding:0 6px!important;font-size:12px!important}
 body.ui-unified #content .ds-equip{grid-template-columns:76px minmax(0,1fr)!important}
 body.ui-unified #content .ds-equip-photo{min-height:76px!important}
 body.ui-unified #content .order-summary.ds-context-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px!important}
 body.ui-unified #content .order-summary.ds-context-order>div:last-child{grid-column:3!important;grid-row:1/span 3!important}
 body.ui-unified #content .wallet-form-grid{grid-template-columns:minmax(0,1fr)!important}
 body.ui-unified #content .client-equipment-heading-full{display:none}
 body.ui-unified #content .client-equipment-heading-short{display:inline;white-space:nowrap}
 body.ui-unified #content .ds-sheet .ds-specs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 body.ui-unified #content .ds-sheet .ds-spec{display:block;padding:0!important}
 body.ui-unified #content .client-mobile-details{display:block;margin-top:6px;font-size:13px;line-height:1.5}
 body.ui-unified #content .client-mobile-details summary{cursor:pointer;color:#475467;padding:5px 0;min-height:32px}
 body.ui-unified #content .client-mobile-details div{overflow-wrap:anywhere}
 body.ui-unified #content .v461-clients-table{min-width:0!important;width:100%!important;table-layout:fixed!important}
 body.ui-unified #content .v461-clients-table :is(th,td):nth-child(2),body.ui-unified #content .v461-clients-table :is(th,td):nth-child(3),body.ui-unified #content .v461-clients-table :is(th,td):nth-child(4){display:none!important}
 body.ui-unified #content .v461-clients-table :is(th,td):nth-child(1){width:auto!important;padding:8px!important}
 body.ui-unified #content .v461-clients-table :is(th,td):nth-child(5){width:52px!important;padding:8px 4px!important}
 body.ui-unified #content .v461-clients-table th:nth-child(5){font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.ui-unified #content .v461-clients-table :is(th,td):nth-child(6){width:62px!important;padding:8px 4px!important}
 body.ui-unified #content .v461-clients-table .ds-client-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 body.ui-unified #content .v461-clients-table td{height:auto!important}
 body.ui-unified #content .client-list-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 body.ui-unified #content .v460-compact-panel>.ds-scroll-hint{display:none!important}
 body.ui-unified #content :is(.ds-page-head,.v4-page-head,.model-page-head,.wallet-page-head) :is(h1,h2){font-size:20px!important}
 body.ui-unified #content .ds-mobile-disclosure>summary{display:flex!important;align-items:center;gap:8px;padding:12px!important;font-size:14px!important;font-weight:600;min-height:44px;box-sizing:border-box}
 body.ui-unified #content .ds-mobile-disclosure .ds-panel-head h3{display:none!important}
 body.ui-unified #content .ds-mobile-disclosure .ds-panel-head:has(p:empty):not(:has(button)){display:none!important}
 body.ui-unified #content .ds-mobile-disclosure .ds-panel-head{border:0!important;padding-top:0!important}
 body.ui-unified #content .ds-doc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:10px 0!important}
 body.ui-unified #content .ds-doc>.ds-upload{grid-column:1/-1}
 body.ui-unified #content .ds-doc>.ds-actions{grid-column:1/-1}
 body.ui-unified #content .ds-sheet-main{grid-template-columns:76px minmax(0,1fr)!important}
 body.ui-unified #content .ds-sheet-photo{width:76px!important;min-height:64px!important}
 body.ui-unified #content .ds-sheet-sync{grid-column:1/-1;display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding-top:8px!important}
 body.ui-unified #content .ds-sheet :is(.ds-specs,.ds-sheet-specs){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ui-unified #content .ds-kpi{min-height:72px!important}
 body.ui-unified #content .ds-order-row{grid-template-columns:18px minmax(0,1fr) auto!important;gap:6px!important}
 body.ui-unified #content .ds-order-row>div:nth-child(3){grid-column:2;grid-row:2;font-size:13px!important;text-align:left!important}
 body.ui-unified #content .ds-order-row>div:nth-child(4){grid-column:3;grid-row:1/span 2}
 body.ui-unified #content .ds-order-row>div:nth-child(5){grid-column:2/span 2;grid-row:3;text-align:right!important}
 body.ui-unified #content .ds-order-head{display:none!important}
 body.ui-unified #content .ds-equip .ds-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.ui-unified #content .ds-equip{min-height:0!important}
}
@media(max-width:700px){
 body.ui-unified #content .model-screen .ds-sheet .ds-specs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.ui-unified #content .ds-order-row>div:first-child{grid-column:1!important;grid-row:1!important;align-self:start;padding-top:4px}
 body.ui-unified #content .ds-order-row>div:nth-child(2){grid-column:2!important;grid-row:1!important}
 body.ui-unified #content .ds-order-row .ds-swatch{width:18px!important;height:18px!important}
}
