/* Content-sized tool/settings navigation; row widths do not stretch each button.
   Forms, data grids, status tiles, window chrome and desktop hit areas keep their
   owning geometry. Touch targets remain at least 44px high and labels can wrap. */
html body.dark.ff-logo-shell .demo-native-body nav.ff-tool-nav,
html body.dark.ff-logo-shell #systemUtilityPanel .system-settings-tabs{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
html body.dark.ff-logo-shell .demo-native-body nav.ff-tool-nav>a,
html body.dark.ff-logo-shell #systemUtilityPanel .system-settings-tabs .system-settings-tab{flex:0 1 auto!important;align-self:flex-start!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px 12px!important;box-sizing:border-box!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
.ff-settings-sections{display:contents}
.ff-appearance-field-error{display:block;font-weight:600}
.ff-appearance-field-error[hidden]{display:none}
#ffDesktopShortcuts .ff-shortcut-destination{display:block;font:500 10px/12px system-ui;color:#c3cbd4}

/* Free shortcut placement follows the pointer; no position/transform easing or
   native ghost image competes with a drag. Only the active shortcut is promoted. */
html body.dark.ff-logo-shell #ffDesktopShortcuts .ff-desktop-shortcut{transition:background-color .12s,border-color .12s;cursor:grab;-webkit-user-drag:none}
html body.dark.ff-logo-shell #ffDesktopShortcuts .ff-desktop-shortcut[data-dragging=true]{cursor:grabbing;will-change:transform;transition:none}
@media(prefers-reduced-motion:reduce){html body.dark.ff-logo-shell #ffDesktopShortcuts .ff-desktop-shortcut{transition:none}}

/* Desktop window chrome follows the compact CBD reference. Coarse pointers
   retain the larger targets; the titlebar remains the independent drag handle. */
html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-titlebar{min-height:42px!important;padding:0 8px 0 12px!important;gap:8px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-window-titlebar .ff-window-controls{gap:5px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-titlebar :is(.ff-window-close,.ff-window-controls button){width:25px!important;min-width:25px!important;max-width:25px!important;height:24px!important;min-height:24px!important;flex:0 0 25px!important;padding:0!important;border-radius:3px!important;font:16px/1 Arial,sans-serif!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-window-titlebar :is(strong,.demo-native-bodyTitle){font-size:14px!important;line-height:1.25!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.dark.ff-logo-shell #ffWindowHost .ff-window-titlebar :is(.ff-window-controls button,.ff-window-close) svg{width:12px!important;height:12px!important;flex:0 0 12px!important}
@media(pointer:coarse){
 html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-titlebar{min-height:56px!important}
 html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-titlebar :is(.ff-window-close,.ff-window-controls button){width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}
}
/* Reset the DETAILS container as well as SUMMARY: generic details styling was
   drawing a box behind the cutout pumpkin, including its hover/open states. */
html body.dark.ff-logo-shell #ffWindowHost #ffWindowTray{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.dark.ff-logo-shell #ffWindowHost #ffWindowTray>summary,
html body.dark.ff-logo-shell #ffWindowHost #ffWindowTray>summary:is(:hover,:active,:focus-visible){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important}
html body.dark.ff-logo-shell #ffWindowHost #ffWindowTray>summary:focus-visible svg{filter:drop-shadow(0 0 3px #9ccaff) drop-shadow(0 0 1px #9ccaff)}

/* Replaced Claims headers have stronger legacy fixed-dock rules. Only controls
   with a mounted desktop equivalent are suppressed; unknown launchers remain. */
html body.dark.ff-logo-shell #hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers="ready"] :is(#hubLeftUtilityDock,#hubRightUtilityDock,.ff-home-tabs) [data-ff-shortcut-replaced="true"],
html body.dark.ff-logo-shell #hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers="ready"] :is(#hubLeftUtilityDock,#hubRightUtilityDock,.ff-home-tabs)[data-ff-shortcut-dock-empty="true"]{display:none!important}
/* Claims loading follows the worksheet shape, with no fake records or timer. */
html body.dark.ff-logo-shell .ff-navigation-pending.ff-claims-loading{display:block!important;position:fixed!important;inset:var(--ff-workspace-top,80px) 16px auto!important;width:calc(100vw - 32px)!important;max-width:1400px!important;max-height:calc(100dvh - var(--ff-workspace-top,80px) - 16px)!important;margin:0 auto!important;padding:16px!important;overflow:auto!important;background:#151a1e!important;border:1px solid #46535e!important;border-radius:8px!important;box-sizing:border-box!important;min-height:min(360px,calc(100dvh - var(--ff-workspace-top,80px) - 16px))!important}
.ff-claims-loading>p{margin:0 0 16px;font:500 14px/1.5 Arial,sans-serif;color:#dce3eb}
.ff-claims-skeleton{display:grid;gap:0;pointer-events:none;min-width:0;max-width:100%}
.ff-claims-skeleton-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:16px}
.ff-claims-skeleton-tabs>span{width:110px;max-width:25%;height:30px;border-radius:3px;background:#35434c}
.ff-claims-skeleton-value{height:32px;border:1px solid #bec6c1;background:#f3f5f4}
.ff-claims-skeleton-grid{display:grid;grid-template-columns:36px repeat(15,minmax(0,1fr));grid-auto-rows:28px;overflow:hidden;background:#fff;border-left:1px solid #c5cdc8;border-top:1px solid #c5cdc8}
.ff-claims-skeleton-grid>span{border-right:1px solid #d8dddf;border-bottom:1px solid #d8dddf;background:#f6f8f7}
.ff-claims-skeleton-grid>span:nth-child(-n+16){background:#87aeb6}
.ff-claims-skeleton-grid>span:nth-child(16n+1){background:#e8eeea}
html body.demo-app #ffWindowHost #contextUtilityPanel.ff-workbook-tools-panel{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;flex:1!important;overflow:auto!important;box-sizing:border-box!important}
html body.demo-app #contextUtilityPanel.ff-workbook-tools-panel>.hub-floating-utility-head{display:none!important}

/* Shared compact desktop commands. Cosmetic commands use existing launchers only. */
html body.dark.ff-logo-shell #ffDesktopMenu{position:fixed!important;top:max(10px,env(safe-area-inset-top))!important;left:76px!important;z-index:100052!important;display:flex!important;gap:2px!important;max-width:calc(100vw - 88px)!important;color:#edf1f5!important;font:500 13px/1.35 system-ui!important;pointer-events:auto!important}
#ffDesktopMenu details{position:relative!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.dark.ff-logo-shell #ffDesktopMenu summary{display:flex!important;align-items:center!important;justify-content:center!important;list-style:none!important;min-height:30px!important;min-width:44px!important;margin:0!important;padding:0 10px!important;border:1px solid transparent!important;border-radius:4px!important;background:#20262de8!important;color:inherit!important;font:inherit!important;cursor:pointer!important;box-sizing:border-box!important}
#ffDesktopMenu summary::-webkit-details-marker{display:none!important}
html body.dark.ff-logo-shell #ffDesktopMenu details[open]>summary,html body.dark.ff-logo-shell #ffDesktopMenu summary:hover{background:#35414e!important;border-color:#6a7989!important}
html body.dark.ff-logo-shell #ffDesktopMenu [role=menu]{position:absolute!important;left:0!important;top:calc(100% + 4px)!important;display:grid!important;min-width:220px!important;max-width:min(340px,calc(100vw - 32px))!important;max-height:calc(100dvh - 76px)!important;overflow:auto!important;overscroll-behavior:contain!important;padding:5px!important;gap:2px!important;box-sizing:border-box!important;border:1px solid #657484!important;border-radius:5px!important;background:#20262d!important;box-shadow:0 10px 30px #0008!important}
html body.dark.ff-logo-shell #ffDesktopMenu [role=menuitem]{display:block!important;width:100%!important;min-height:32px!important;padding:6px 10px!important;margin:0!important;border:1px solid transparent!important;border-radius:3px!important;background:transparent!important;color:inherit!important;font:inherit!important;text-align:left!important;white-space:normal!important;box-sizing:border-box!important;cursor:pointer!important}
html body.dark.ff-logo-shell #ffDesktopMenu [role=menuitem]:is(:hover,:focus-visible){background:#354758!important;border-color:#8ab6df!important;outline:2px solid transparent!important}
html body.dark.ff-logo-shell #ffDesktopMenu :is(summary,[role=menuitem]):focus-visible{outline:2px solid #a5cfff!important;outline-offset:-2px!important}
html body.dark.ff-logo-shell #ffDesktopMenu [role=menuitem]:disabled{color:#9da8b5!important;background:transparent!important;border-color:transparent!important;cursor:default!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-desktop-help{padding:18px!important;color:#e7edf3!important;font:14px/1.6 system-ui!important;overflow:auto!important}
.ff-desktop-help h2{font-size:22px!important;margin:0 0 8px!important}.ff-desktop-help p{margin:0 0 16px!important}.ff-desktop-help dt{font-weight:700!important;margin-top:12px!important}.ff-desktop-help dd{margin:3px 0 0!important;color:#c4d0db!important}
@media(pointer:coarse){html body.dark.ff-logo-shell #ffDesktopMenu :is(summary,[role=menuitem]){min-height:44px!important}}
@media(max-width:420px){html body.dark.ff-logo-shell #ffDesktopMenu details:nth-child(2) [role=menu]{left:-46px!important}html body.dark.ff-logo-shell #ffDesktopMenu [role=menu]{min-width:180px!important}html body.dark.ff-logo-shell #ffDesktopMenu details:last-child [role=menu]{left:auto!important;right:0!important}}

/* Tab-local Sketchpad. No persistence, uploads or operational controls. */
html body.dark.ff-logo-shell #ffWindowHost .ff-sketchpad{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:10px!important;padding:12px!important;overflow:auto!important;min-height:0!important;background:#181e24!important;color:#e6edf4!important;box-sizing:border-box!important}
.ff-sketch-notice,.ff-sketch-status{margin:0!important;font:12px/1.5 system-ui!important;color:#c1cdd8!important}.ff-sketch-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.ff-sketch-palette{display:flex;gap:3px}
html body.dark.ff-logo-shell .ff-sketch-toolbar button{min-height:32px!important;padding:5px 9px!important;margin:0!important;border:1px solid #617080!important;border-radius:4px!important;background:#222c36!important;color:#edf3f8!important;font:500 13px/1.3 system-ui!important;cursor:pointer}
html body.dark.ff-logo-shell .ff-sketch-toolbar button[aria-pressed=true]{background:#354b5c!important;border-color:#b2d6f1!important;box-shadow:inset 0 -3px #a7dfbc!important}
html body.dark.ff-logo-shell .ff-sketch-toolbar button:disabled{opacity:.5!important;cursor:default!important}.ff-sketch-zoom{min-width:44px;text-align:center;font:13px/1.5 system-ui}.ff-sketch-palette button{border-bottom-color:var(--ff-ink-color)!important}
.ff-sketch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,25%);gap:12px;flex:1;min-height:280px}.ff-sketch-area{position:relative;min-width:0;min-height:280px;overflow:hidden;border:1px solid #566676;border-radius:4px;background-color:#151b21;background-image:radial-gradient(#3d4a57 1px,transparent 1px);background-size:24px 24px}
.ff-sketch-area svg{display:block;width:100%;height:100%;min-height:280px;touch-action:none;user-select:none;outline-offset:-3px}.ff-sketch-area[data-mode=draw] svg{cursor:crosshair}.ff-sketch-area[data-mode=pan] svg{cursor:grab}.ff-sketch-notes{display:flex;flex-direction:column;gap:7px;min-width:0;font:600 13px/1.4 system-ui!important}
html body.dark.ff-logo-shell .ff-sketch-notes textarea{flex:1;width:100%!important;min-height:180px!important;resize:none!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;background:#1c242c!important;color:#eef3f7!important;border:1px solid #617080!important;border-radius:4px!important;font:14px/1.5 system-ui!important}
html body.dark.ff-logo-shell .ff-sketchpad :is(button,textarea,svg):focus-visible{outline:2px solid #a5cfff!important;outline-offset:2px!important}
@media(max-width:620px){.ff-sketch-layout{grid-template-columns:minmax(0,1fr)}.ff-sketch-notes textarea{height:180px!important;flex:none!important}}
@media(pointer:coarse){html body.dark.ff-logo-shell .ff-sketch-toolbar button{min-height:44px!important;min-width:44px!important}}

/* Packet closeout: stacked drawing sections scroll as one document, without overlap. */
@media(max-width:620px){.ff-sketch-layout{flex:0 0 auto;grid-template-rows:280px auto;min-height:0}.ff-sketch-area{height:280px}.ff-sketch-notes{min-height:206px}.ff-sketch-status{flex:0 0 auto}}
/* The permission-projected desktop owns launching once ready, at every breakpoint. */
html body.dark.ff-logo-shell #hubHeaderShell[data-ff-desktop-launchers=ready] #ffMobileMenu{display:none!important}

/* Fixed desktop shell; scrolling belongs to the app document, never the wallpaper. */
html.ff-desktop-active,html.ff-desktop-active>body{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:none!important;scrollbar-gutter:auto!important}
html.ff-desktop-active body{--ff-workspace-top:8px!important}
html.ff-desktop-active body #hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers=ready]{position:fixed!important;top:8px!important;left:12px!important;right:auto!important;width:auto!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important;justify-content:flex-start!important;z-index:100052!important}
html.ff-desktop-active body #hubHeaderShell#hubHeaderShell #ffIdentityDock{pointer-events:auto!important;margin:0!important}
html.ff-desktop-active body #hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers=ready] #ffMobileMenu{display:none!important}
html.ff-desktop-active body #ffWindowHost #ffDesktopShortcuts{inset:8px 8px 80px!important;gap:0!important}
html.ff-desktop-active body #ffDesktopShortcuts .ff-desktop-grid{overflow:hidden!important}
html.ff-desktop-active body #ffDesktopShortcuts .ff-desktop-shortcut{display:grid!important;grid-template-rows:32px auto!important;align-content:center!important;justify-items:center!important;gap:6px!important;padding:6px!important;border-radius:20px!important}
html.ff-desktop-active body #ffDesktopShortcuts .ff-desktop-shortcut>svg{margin:0!important;align-self:center!important;justify-self:center!important}
html.ff-desktop-active body #ffDesktopShortcuts .ff-desktop-shortcut>span{min-height:0!important;max-width:76px!important;margin:0!important;justify-self:center!important;line-height:15px!important}
html body.dark.ff-logo-shell #ffDesktopMenu{top:10px!important;left:auto!important;right:12px!important;max-width:calc(100vw - 88px)!important}
html body.dark.ff-logo-shell #ffDesktopMenu>button{min-height:32px!important;padding:6px 14px!important;border:1px solid #586573!important;border-radius:999px!important;background:#20262de8!important;color:#edf1f5!important;font:500 13px/1.3 system-ui!important}
html body.dark.ff-logo-shell #ffDesktopMenu>button:focus-visible{outline:2px solid #a5cfff!important;outline-offset:2px!important}
.ff-sitemap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}.ff-sitemap button{display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important;min-height:40px!important;border-radius:14px!important;padding:8px 12px!important;background:#27313b!important;color:#edf2f7!important;border:1px solid #647383!important}
@media(pointer:coarse){html body.dark.ff-logo-shell #ffDesktopMenu>button,.ff-sitemap button{min-height:44px!important}}

html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:12px!important;background:#20262d!important;box-sizing:border-box!important;color:#edf1f5!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion .claims-status-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:0 0 10px!important;width:100%!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion .claims-status-card{min-height:36px!important;height:auto!important;padding:6px 8px!important;border-radius:10px!important;white-space:normal!important;text-align:left!important;font-size:12px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion .claims-status-card .label{font-size:12px!important}.ff-claims-companion .claims-status-card :is(.count,.value){font-size:12px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion>.ff-worksheet-tools,html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion>#contextTools,html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion>#claimsToolsPanelToggle{display:inline-flex!important;width:auto!important;min-height:32px!important;margin:8px 0 0!important;padding:6px 10px!important;border-radius:10px!important}
.ff-claims-companion details{margin:0!important}.ff-claims-skeleton-grid{grid-template-columns:36px repeat(var(--ff-skeleton-columns,8),minmax(0,1fr))!important}
@media(pointer:coarse){html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion .claims-status-card{min-height:44px!important}}

html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion .claims-status-card{border-radius:10px!important;padding:6px 8px!important;min-height:36px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion-content>button{width:auto!important;margin:8px 0 0!important;min-height:32px!important;padding:6px 10px!important;border-radius:10px!important}

.ff-claims-skeleton-grid>span{background:#f6f8f7!important}.ff-claims-skeleton-grid>span[data-ff-header]{background:#87aeb6!important}.ff-claims-skeleton-grid>span[data-ff-row]{background:#e8eeea!important}
/* Native header positioning cannot turn the identity badge into an offscreen dock. */
html.ff-desktop-active body #hubHeaderShell#hubHeaderShell #ffIdentityDock#ffIdentityDock{position:fixed!important;inset:8px auto auto 12px!important;width:auto!important;min-width:44px!important;height:auto!important;display:flex!important;padding:0!important;transform:none!important}
html.ff-desktop-active body #ffIdentityDock#ffIdentityDock #ffWorkspaceMenu{position:relative!important;inset:auto!important;margin:0!important;padding:0!important;min-width:44px!important;transform:none!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion #claimsToolsPanelToggle{position:static!important;inset:auto!important;transform:none!important;display:inline-flex!important;margin:8px 0 0!important;width:auto!important;min-width:0!important}
html.ff-desktop-active body.dark.ff-logo-shell #hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers=ready] #hubRightUtilityDock > #ffMobileMenu{display:none!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion .claims-status-nav,html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion #claims-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:5px!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion .claims-status-card{width:100%!important;max-width:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;box-sizing:border-box!important}
/* Continuous rounded desktop surfaces; worksheet cells retain their straight grid. */
html body.dark.ff-logo-shell #ffWindowHost .ff-native-window{border-radius:18px!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-titlebar{border-radius:17px 17px 0 0!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-native-window>.ff-window-body{border-radius:0 0 17px 17px!important}

.ff-tool-document-loading{padding:16px!important;background:#1b222a!important;color:#e2eaf2!important;position:absolute;inset:0;z-index:2;overflow:hidden}.ff-tool-document-loading>p{font:500 13px/1.5 system-ui}.ff-tool-document-skeleton{display:grid;gap:12px}.ff-tool-document-skeleton>span{display:block;border:1px solid #3d4c5b;border-radius:10px;background:#2b3541;height:100px}.ff-tool-document-skeleton>.heading{height:24px;width:45%}.ff-tool-document-skeleton>.toolbar{height:36px}

/* Desktop geometry must outrank page-specific generic icon/button rules. */
html.ff-desktop-active body.dark.ff-logo-shell #ffWindowHost #ffDesktopShortcuts .ff-desktop-canvas>.ff-desktop-shortcut{position:absolute!important;display:grid!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:80px!important;min-height:80px!important;box-sizing:border-box!important;margin:0!important;flex:none!important}
html body.dark.ff-logo-shell .ff-navigation-pending.ff-claims-request{position:fixed!important;top:64px!important;left:16px!important;max-width:calc(100vw - 32px)!important;padding:12px 18px!important;border:1px solid #536170!important;border-radius:16px!important;background:#1b222a!important;z-index:100010!important;color:#eef2f6!important}
.ff-claims-request>p{margin:0!important;font:500 14px/1.4 system-ui!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-grid-only{padding:0!important;gap:0!important;background:#f7f9f8!important;overflow:auto!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-grid-only :is(.claims-workspace,.claims-status-panel,.insurance-view-panel,.claims-board,.claims-section,.claims-section-body,.claims-new-list,.claims-new-table-wrap){margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;background:transparent!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-grid-only :is(.claims-section-bar,.claims-new-list>summary,.ff-sheet-valuebar,.ff-sheet-footer){display:none!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-grid-only .claims-section-body{display:block!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-grid-only :is([hidden],[data-claims-filter-hidden="1"]){display:none!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion :is(.ff-claims-info,.ff-claims-actions,.ff-claims-payment){margin:8px 0 0!important;padding:0!important;border:1px solid #485563!important;border-radius:12px!important;background:#1b222a!important;min-width:0!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion :is(.ff-claims-info,.ff-claims-actions,.ff-claims-payment)>summary{padding:9px 10px!important;cursor:pointer!important;font:600 13px/1.4 system-ui!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion :is(.ff-claims-info-body,.ff-centered-utility-body,.hub-utility-popover,.hub-floating-utility-body,.assurant-payment-dialog-inner){position:static!important;inset:auto!important;transform:none!important;max-height:none!important;min-height:0!important;max-width:100%!important;width:100%!important;padding:10px!important;box-sizing:border-box!important;display:block!important;overflow:visible!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-companion :is(.ff-claims-context,.ff-claims-section-info){font:400 12px/1.5 system-ui!important;margin:0 0 8px!important;min-width:0!important}
.ff-claims-companion [hidden]{display:none!important}

/* Setup/source sections reuse the existing Settings document and back control. */
html body.dark.ff-logo-shell #systemUtilityPanel #ffServerUtilityPanel[data-ff-settings-child=true]{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;max-height:none!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:auto!important}
html body.dark.ff-logo-shell #systemUtilityPanel #ffServerUtilityPanel[hidden]{display:none!important}
html body.dark.ff-logo-shell #systemUtilityPanel #ffServerUtilityPanel[data-ff-settings-child=true]>.hub-floating-utility-head{display:flex!important;position:static!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-grid-only.ff-claims-grid-only{padding:0!important;margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;display:block!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-grid-only .ff-workbook{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;max-height:none!important;background:#fff!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-grid-only :is(.ff-sheet-viewport,.claims-new-table-wrap,.claims-section-body){margin:0!important;padding:0!important;border-radius:0!important;max-height:none!important;background:#fff!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-companion .ff-claims-view-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:5px!important;margin:0 0 10px!important}
html body.dark.ff-logo-shell #claimsToolsPanelToggle#claimsToolsPanelToggle#claimsToolsPanelToggle{display:none!important}
html body.dark.ff-logo-shell #hubHeaderShell#hubHeaderShell#hubHeaderShell[data-ff-desktop-launchers=ready]>[data-ff-shortcut-replaced=true]{display:none!important}
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost #ffWindow-claims>.ff-window-body{padding:0!important;flex:1 1 auto!important;min-height:0!important;background:#fff!important}

/* Complete words, never letter fragments. Keep the established 88x80 geometry. */
html.ff-desktop-active body.dark.ff-logo-shell #ffWindowHost #ffDesktopShortcuts .ff-desktop-canvas>.ff-desktop-shortcut{padding:5px 1px!important}
html.ff-desktop-active body.dark.ff-logo-shell #ffWindowHost #ffDesktopShortcuts .ff-desktop-shortcut>span{max-width:84px!important;width:84px!important;min-width:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;font-size:12px!important;line-height:14px!important;overflow:visible!important;text-overflow:clip!important}
.ff-shortcut-rename{position:fixed;z-index:100060;width:280px;max-width:calc(100vw - 16px);padding:12px;border:1px solid #748596;border-radius:14px;background:#1b232d;color:#edf2f7;box-shadow:0 12px 40px #0009;box-sizing:border-box;pointer-events:auto}
.ff-shortcut-rename label{display:grid;gap:6px;font:600 13px/1.4 system-ui}.ff-shortcut-rename input{width:100%;min-width:0;min-height:36px;box-sizing:border-box;padding:7px;background:#10161d;border:1px solid #708090;color:#edf2f7;font:13px/1.4 system-ui}.ff-shortcut-rename-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ff-shortcut-rename button{min-height:32px;padding:5px 9px;border:1px solid #708090;border-radius:8px;background:#273340;color:#edf2f7;font:12px/1.4 system-ui}.ff-shortcut-rename [role=alert]{font:12px/1.4 system-ui;color:#ffd4bb;margin:8px 0 0}.ff-shortcut-rename [role=alert]:empty{display:none}

/* Audited worksheet/window corrections. Sheets chain vertical wheel input to
   their enclosing app; horizontal scrolling stays native and contained. */
html body.dark.ff-logo-shell #ffWindowHost#ffWindowHost .ff-claims-grid-only .ff-sheet-viewport{overscroll-behavior-y:auto!important;overscroll-behavior-x:contain!important}
/* Actual windows own their full rectangle. Movable shell launchers remain
   reachable on uncovered desktop; they cannot intercept titlebar controls. */
html.ff-desktop-active body #ffWindowHost#ffWindowHost{z-index:100060!important}
html.ff-desktop-active body #ffWindowHost #ffDesktopShortcuts :is(.ff-desktop-grid,.ff-desktop-canvas){pointer-events:none!important}
html.ff-desktop-active body #ffWindowHost #ffDesktopShortcuts .ff-desktop-shortcut{pointer-events:auto!important}
html body.dark.ff-logo-shell #ffWindowHost .ff-claims-view-status{margin:0 0 10px;padding:10px;border:1px solid #657484;border-radius:8px;font:400 13px/1.5 system-ui;white-space:normal;overflow-wrap:anywhere}
html body.ff-embedded-workspace .demo-native-body .ff-embedded-tool-launcher{position:static!important;display:flex!important;justify-content:flex-end;min-height:44px;margin:0 0 12px!important;padding:0!important}
html body.ff-embedded-workspace .demo-native-body .ff-embedded-tool-launcher #communicationsToolsPanelToggle{position:static!important;inset:auto!important;transform:none!important;margin:0!important;float:none!important}
/* Settings responds to the actual pane width, not the browser viewport. */
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel{container-type:inline-size;container-name:ff-settings}
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel :is(.source-pane-title,.source-note,.source-scale-strip,.source-config-head,.source-field-grid label){white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important;line-height:1.5!important}
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .source-field-grid{display:grid!important;grid-template-columns:minmax(140px,1fr) minmax(200px,2fr) minmax(110px,1fr)!important;align-items:end!important;gap:12px!important}
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .source-field-grid-inventory{grid-template-columns:minmax(140px,1fr) minmax(200px,2fr) minmax(120px,1fr) minmax(110px,1fr)!important}
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .source-main-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .source-field-grid :is(input,select){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@container ff-settings (max-width:760px){html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel :is(.source-field-grid,.source-field-grid-inventory){grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .source-scale-strip{display:grid!important;grid-template-columns:minmax(0,1fr)!important}}
@container ff-settings (max-width:440px){html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel :is(.source-field-grid,.source-field-grid-inventory){grid-template-columns:minmax(0,1fr)!important}}
html body.dark.ff-logo-shell #hubCalcContainer .hub-calc-discount-box{display:grid!important;gap:10px!important;height:auto!important;min-height:0!important}
html body.dark.ff-logo-shell #hubCalcContainer .hub-calc-discount-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;height:auto!important;align-items:start!important}
html body.dark.ff-logo-shell #hubCalcContainer .hub-calc-discount-controls label{display:flex!important;flex-direction:column!important;gap:6px!important;height:auto!important;min-height:0!important;line-height:1.4!important}
html body.dark.ff-logo-shell #hubCalcContainer .hub-calc-discount-controls input{position:static!important;height:42px!important;min-height:42px!important;margin:0!important}
html body.dark.ff-logo-shell #hubCalcContainer .hub-calc-discount-box>.hub-calc-subtitle{position:static!important;margin:0!important;white-space:normal!important;line-height:1.5!important}

html body.dark.ff-logo-shell #systemUtilityPanel#systemUtilityPanel .repairq-sources-pane .small{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important}

html body.dark.demo-app.ff-logo-shell #hubHeaderShell[data-ff-header] #open-ipad,html body.dark.demo-app.ff-logo-shell #hubHeaderShell.demo-onboarding #demoCheckinShortcut{display:none!important}
html body.dark.demo-app.ff-logo-shell #ffDesktopShortcuts .ff-desktop-shortcut{position:absolute!important}
html body.dark.demo-app.ff-logo-shell #hubHeaderShell[data-ff-desktop-launchers=ready] #ffMobileMenu{display:none!important}
html body.demo-app #ffWindowHost #systemUtilityPanel.ff-window-body{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;flex:1!important;overflow:auto!important;box-sizing:border-box!important}
html body.demo-app #systemUtilityPanel>.hub-floating-utility-head{display:none!important}
body.demo-checkin-standalone>:not(#ipadDialog):not(script):not(style){display:none!important}
