/* os-desktop.css — GENERADO por scripts/build-styles.sh — NO EDITAR A MANO: edita resources/styles/os/ */

/* COST OS · tokens
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

body.cost-os { --os-menubar-height: 56px; --os-ink: #18342c; --os-glass: rgba(246,249,243,.89); --os-calendar-day-size: 18px; --os-calendar-count-size: 10px; }

/* COST OS · escritorio
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

body.cost-os { background: #173c32; overflow: hidden; }
.cost-os [hidden] { display: none !important; }
.cost-os .app-shell { display: block; position: relative; height: 100dvh; min-height: 0; overflow: hidden; background: radial-gradient(ellipse at 90% 100%, #b08b60 0, transparent 39%), radial-gradient(ellipse at 58% 20%, #718c6a 0, transparent 45%), linear-gradient(140deg, #13362e 12%, #375e46 62%, #677958); }
.cost-os .app-shell > :is(.sidebar,.topbar,.mobile-appbar,.mobile-nav-sheet,.mobile-nav-backdrop,.team-workspace-bar), .cost-os :is(#tbVelo,#tbPanel) { display: none !important; }
.cost-os .app-shell > .workspace { position: absolute; inset: var(--os-menubar-height) 0 calc(73px + max(15px,env(safe-area-inset-bottom)) + 8px); padding: 0 !important; overflow: hidden; background: transparent; }
.cost-os .workspace > .view { display: none !important; }
.os-canvas { position: absolute; inset: 0; isolation: isolate; }
.os-snap-preview { position: absolute; box-sizing: border-box; pointer-events: none; display: grid; place-items: center; border: 2px solid #eaf7df; background: #bad8ae45; backdrop-filter: blur(2px); animation: os-preview-in 100ms ease-out; transition: left 130ms ease-out, top 130ms ease-out, width 130ms ease-out, height 130ms ease-out; }
.os-snap-label { padding: 10px 16px; border: 1px solid #e4f0da99; border-radius: 10px; background: #214232d9; color: #f1f7e8; box-shadow: 0 8px 22px #10332235; font-size: 12px; }
.os-home { height: 100%; position: relative; overflow: hidden; padding: 0; color: #f1f3e9; }
.os-home-copy { position: absolute; right: 6%; top: 22%; max-width: 44%; pointer-events: none; opacity: .7; }
.os-home-copy p { margin: 0 0 23px; font-size: 10px; letter-spacing: .2em; font-weight: 600; opacity: .6; }
.os-home-copy h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(35px,4.5vw,66px); line-height: 1.07; letter-spacing: -.045em; margin: 0 0 22px; color: inherit; }
.os-home-copy > span { opacity: .7; font-size: 13px; }
.os-wallpaper-mark { position: absolute; bottom: 20px; right: 3vw; font-size: clamp(100px,18vw,280px); letter-spacing: -.09em; font-weight: 800; color: #ffffff07; line-height: 1; pointer-events: none; }
.os-wallpaper-mark span { color: #ecbe9320; }
.os-shortcuts { position: absolute; inset: 62px 12px 62px; margin: 0; z-index: 1; }
.os-shortcut { position: absolute; display: grid; justify-items: center; align-content: start; gap: 7px; width: 88px; height: 96px; min-height: 0; border: 1px solid transparent; padding: 7px 3px; background: transparent; color: #f1f3e9; border-radius: 12px; cursor: default; font-size: 11px; touch-action: none; user-select: none; }
.os-shortcut:hover { background: #ffffff15; }
.os-shortcut .os-app-icon { width: 52px; height: 52px; box-shadow: 0 5px 18px #09221826; }
.os-shortcut.is-selected { border-color: #e5f0e570; background: #deead927; }
.os-shortcut.is-dragging { z-index: 8; opacity: .85; box-shadow: 0 10px 25px #142e3b42; }
.os-desktop-label { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px #123829; }
.os-desktop-tools { position: absolute; top: 8px; right: 10px; display: flex; gap: 7px; z-index: 3; }
.os-desktop-action { min-height: 34px; border: 1px solid #ffffff35; border-radius: 9px; padding: 7px 11px; background: #ffffff12; color: #f1f3e9; font-size: 11px; cursor: pointer; backdrop-filter: blur(12px); }
.os-desktop-action:hover { background: #ffffff25; }

/* COST OS · home
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.os-file-toast, .os-upload-progress { position: fixed; left: 50%; transform: translateX(-50%); bottom: 108px; z-index: 850; max-width: min(560px,90vw); padding: 12px 18px; border: 1px solid #dae5d5; border-radius: 12px; background: #f7faf1; color: #284437; box-shadow: 0 8px 35px #092a3050; font-size: 12px; overflow-wrap: anywhere; }
.os-file-toast.is-error { background: #fff0e9; border-color: #deb7a8; color: #793d2f; }
.os-upload-progress { bottom: 158px; }
.os-desktop-drop { display: none; position: absolute; inset: 6px; z-index: 9; pointer-events: none; place-items: center; border: 2px dashed #e8f4df; background: #203c34ce; border-radius: 15px; font-size: 18px; }
.os-home.is-file-drop .os-desktop-drop { display: grid; }
.is-drop-target, .is-icon-drop { background: #c0dec985 !important; outline: 2px solid #72a78d; outline-offset: -2px; }
.os-file-context { position: absolute; z-index: 12; min-width: 185px; padding: 6px; border: 1px solid #d6e1d0; border-radius: 12px; background: #f4f8f0f5; box-shadow: 0 12px 40px #092a3050; }
.os-file-context button { display: block; width: 100%; text-align: left; border: 0; }
[data-area="personal"] { color: #886f39; background: #ecdba9; }
[data-area="notes"] { color: #896b36; background: #f2e6b6; }

.os-tool-window .os-window-body { overflow: hidden; background: #f7f9f4; }
.os-explorer { display: grid; grid-template-columns: 164px minmax(0,1fr); height: 100%; min-height: 0; color: #254235; font-size: 12px; }
.os-file-sidebar { background: #e7eee2; border-right: 1px solid #dbe4d5; padding: 17px 10px; overflow: auto; }
.os-file-place { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 37px; border: 0; border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; color: #48614d; background: transparent; cursor: pointer; font-size: 11px; text-align: left; }
.os-file-place svg { flex: 0 0 19px; width: 19px; height: 19px; }
.os-file-place.is-active { background: #d2dfc8; color: #244832; font-weight: 600; }
.os-home-private { margin: 32px 10px 5px; color: #788772; font-size: 10px; }
.os-home-storage { margin: 0 10px; color: #63775d; font-size: 10px; }
.os-explorer-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.os-explorer-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 14px 8px; }
.os-file-button { border: 1px solid #d2ddcc; border-radius: 7px; background: #ffffffa0; color: #39543d; min-height: 31px; padding: 6px 10px; font-size: 11px; cursor: pointer; }
.os-file-button:hover { background: #e6efde; border-color: #aabd9f; }
.os-file-button:disabled { opacity: .4; cursor: default; }
.os-file-button.is-primary { background: #304f3c; color: #f2f7ec; border-color: #304f3c; }
.os-file-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 14px 8px; font-size: 11px; }
.os-file-breadcrumb button { border: 0; padding: 4px 5px; min-height: 25px; background: transparent; }
.os-file-breadcrumb > span { color: #a4af9a; }
.os-file-search { margin: 0 14px 12px; min-height: 34px; border: 1px solid #d9e1d2; border-radius: 8px; padding: 6px 10px; background: white; font-size: 11px; color: #284437; width: auto; }
.os-file-list { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); align-content: start; gap: 8px; padding: 10px 14px; }
.os-file-card { border: 1px solid transparent; border-radius: 9px; min-width: 0; }
.os-file-card:hover { background: #ecf1e6; }
.os-file-card.is-selected { background: #e2ebd9; border-color: #b6cda6; }
.os-file-open { display: flex; gap: 10px; align-items: center; width: 100%; padding: 12px 8px; min-height: 68px; border: 0; border-radius: 9px; text-align: left; color: #314b37; background: transparent; cursor: default; }
.os-file-picture { color: #9a833f; flex: 0 0 32px; width: 32px; height: 32px; }
.os-file-picture svg { width: 32px; height: 32px; }
.os-file-info { min-width: 0; display: grid; gap: 5px; }
.os-file-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.os-file-info small { font-size: 9px; color: #7c8d73; }
.os-file-empty { grid-column: 1 / -1; padding: 50px 15px; text-align: center; color: #829175; }
.os-file-empty > svg { display: block; width: 44px; height: 44px; margin: 0 auto 16px; color: #afbd9d; }
.os-file-empty strong { font-family: Georgia,serif; font-size: 19px; font-weight: 400; color: #59704c; }
.os-file-empty p { font-size: 11px; line-height: 1.7; }
.os-file-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 48px; padding: 8px 14px; border-top: 1px solid #e0e8d8; color: #8b987e; font-size: 10px; }
.os-file-selected-name { flex: 1; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #53694a; }
.os-explorer-status { flex: 0 0 auto; padding: 7px 14px; border-top: 1px solid #e0e8d8; background: #eef3e8; color: #7d8b70; font-size: 9px; white-space: normal; line-height: 1.6; }
.os-note-editor { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fffbed; color: #544e37; }
.os-note-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid #e8dfbf; background: #f5edce; }
.os-note-status { margin-left: auto; font-size: 10px; color: #8c815c; }
.os-note-text { flex: 1; min-height: 0; resize: none; border: 0; border-radius: 0; padding: 25px 30px; color: #544e37; background: #fffbed; font: 15px/1.9 ui-monospace,monospace; outline: none; box-shadow: none; width: 100%; }
.os-note-text:focus { border: 0; box-shadow: none; }
.os-note-footer { padding: 9px 16px; border-top: 1px solid #e8dfbf; color: #a49871; font-size: 10px; }
.os-file-dialog { width: min(440px,calc(100vw - 32px)); padding: 25px; background: #f7faf3; border: 1px solid #d9e3d0; border-radius: 16px; color: #294735; box-shadow: 0 20px 70px #102e3d55; }
.os-file-dialog::backdrop { background: #142d3455; backdrop-filter: blur(3px); }
.os-file-dialog h2 { font-family: Georgia,serif; font-size: 24px; font-weight: 400; margin: 0 0 20px; overflow-wrap: anywhere; }
.os-file-dialog label { display: grid; gap: 9px; font-size: 12px; }
.os-file-dialog :is(input,select) { width: 100%; min-height: 39px; font-size: 13px; padding: 9px; border: 1px solid #c6d5bc; border-radius: 8px; background: white; color: #294735; }
.os-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.os-home-tip { position: absolute; bottom: 22px; left: clamp(30px,6vw,100px); color: #ffffff90; font-size: 11px; }
.os-home-tip b { color: #f1f3e9; font-weight: 500; }
.os-home-tip > span { display: block; margin-top: 7px; color: #ffffff60; font-size: 10px; }
@container (max-width: 540px) {
  .os-explorer { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); }
  .os-file-sidebar { display: flex; gap: 3px; padding: 6px; min-width: 0; overflow-x: auto; border-right: 0; border-bottom: 1px solid #dbe4d5; }
  .os-file-place { flex: 0 0 auto; width: auto; font-size: 10px; padding: 7px; }
  .os-file-place svg { width: 15px; height: 15px; flex-basis: 15px; }
  .os-home-private,.os-home-storage { display: none; }
  .os-explorer-toolbar { flex: 0 0 auto; flex-wrap: nowrap; overflow-x: auto; padding: 8px 10px; }
  .os-explorer-toolbar .os-file-button { flex: 0 0 auto; white-space: nowrap; }
}
@container (max-height: 360px) {
  .os-explorer-main { overflow-y: auto; }
  .os-file-list { flex: 0 0 auto; overflow: visible; }
  .os-file-search,.os-file-breadcrumb,.os-file-actions { flex-shrink: 0; }
}

/* COST OS · barra-superior
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.os-menubar { position: absolute; inset: 0 0 auto; z-index: 600; display: grid; grid-template-columns: auto minmax(75px,150px) minmax(0,1fr) auto; align-items: center; gap: 12px; height: var(--os-menubar-height); padding: 0 18px; background: #17382ee8; color: #f3f5ec; border-bottom: 1px solid #ffffff20; backdrop-filter: blur(24px); font-size: 12px; }
.os-wordmark { font-size: 20px; font-weight: 800; letter-spacing: -1.1px; white-space: nowrap; }
.os-wordmark > span { color: #e5b580; margin: 0 2px; }
.os-wordmark > small { font-size: 9px; font-weight: 500; letter-spacing: 1px; margin-left: 6px; opacity: .65; }
.os-menubar > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 12px; }
.os-context-slot,.os-context-utilities { display: flex; align-items: center; min-width: 0; gap: 8px; }
.os-context-utilities { width: 100%; }
.os-global-actions { display: flex; align-items: center; gap: 10px; }
.os-system-status { display: flex; align-items: center; gap: 7px; font-size: 10px; opacity: .8; }
.os-system-status i { width: 6px; height: 6px; border-radius: 100%; background: #b8d1a0; }
.os-system-status.is-offline i { background: #edb276; }
.os-menubar time { white-space: nowrap; font-size: 10px; opacity: .7; }
.os-account { display: grid; place-items: center; width: 30px; height: 30px; min-height: 0; padding: 0; color: #f1f5ec; background: #ffffff15; border: 1px solid #ffffff26; border-radius: 50%; font-size: 11px; cursor: pointer; }
.os-chat-status { color: #d5e0cc; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-toolbar-action,.os-indicators-toggle { min-height: 34px; flex: 0 0 auto; border: 1px solid #ffffff35; border-radius: 7px; padding: 5px 9px; color: #f1f5ec; background: #ffffff08; font-size: 11px; cursor: pointer; }
.os-toolbar-action { display: grid; place-items: center; width: 34px; height: 34px; padding: 6px; }
.os-toolbar-action svg { width: 17px; height: 17px; }
.os-toolbar-action:hover,.os-indicators-toggle:hover { background: #ffffff18; }
.os-indicators-toggle[aria-expanded="true"] { background: #ffffff25; }
.os-chat-badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: #ac4c3b; color: white; font-size: 9px; line-height: 1; border: 1px solid #f4f7eb; }
.os-dock-chat:not(.is-running)::after { display: none; }
.cost-os .workspace > .page-header { display: none !important; }
.cost-os .os-menubar .page-header { display: block; flex: 1 1 auto; min-width: 0; width: auto; margin: 0; padding: 0; background: transparent; border: 0; }
.cost-os .os-menubar .page-header .ph-top { padding: 0; margin: 0; display: block; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; filter: none; backdrop-filter: none; }
.cost-os .os-menubar .page-header .ph-top::before,.cost-os .os-menubar .page-header .ph-top::after { display: none; }
.cost-os .os-menubar .page-header .ph-toolbox { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; width: 100%; height: 40px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.cost-os .os-menubar .ph-title-group { display: none; }
.cost-os .os-menubar .page-header .top-actions { order: 3; flex: 0 0 auto; width: auto; min-width: 0; height: auto; min-height: 0; padding: 0; margin: 0; border: 0; }
.cost-os .os-menubar .page-header .ph-period { order: 1; flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-start; min-width: 0; max-width: none; width: auto; height: auto; min-height: 0; padding: 0; margin: 0; border: 0; background: transparent; }
.cost-os .os-menubar .page-header .ph-period--vacio { display: none; }
.cost-os .os-menubar .filtros-btn { order: 2; position: static; align-self: center; transform: none; flex: 0 0 auto; margin: 0; min-height: 34px; height: 34px; padding: 4px 9px; border: 1px solid #ffffff35; border-radius: 7px; background: #ffffff08; color: #eef5e9; font-size: 11px; }
.cost-os .os-menubar .filtros-btn:disabled { display: none; }
.cost-os .os-menubar .icon-button { flex: 0 0 34px; min-width: 34px; width: 34px; min-height: 34px; height: 34px; padding: 5px; border: 1px solid #ffffff35; border-radius: 7px; color: #eef5e9; background: #ffffff08; }
.cost-os .os-menubar .icon-button svg { width: 16px; height: 16px; }
.cost-os .os-menubar .icon-button:hover,.cost-os .os-menubar .filtros-btn:hover { background: #ffffff18; }
.cost-os .os-menubar .date-range-filter { width: auto; min-width: 0; max-width: 100%; margin: 0; }
.cost-os .os-menubar .date-range-trigger { display: flex; align-items: center; gap: 6px; min-height: 34px; height: 34px; min-width: 0; max-width: 100%; width: auto; padding: 4px 8px; border: 1px solid #ffffff35; border-radius: 7px; background: #ffffff08; color: #eef5e9; }
.cost-os .os-menubar .date-range-trigger svg { width: 15px; height: 15px; }
.cost-os .os-menubar .date-range-trigger-text small { display: none; }
.cost-os .os-menubar .date-range-trigger-text strong { font-size: 11px; font-weight: 500; white-space: nowrap; color: #eef5e9; }
.cost-os .os-menubar #phPeriod > :is(.header-period-nav,.daily-date-tools,.coffee-calendar-nav,.finance-period-tools) { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 4px; width: auto; min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; }
.cost-os .os-menubar #phPeriod :is(.table-action,.pill,.secondary-action,input,select) { flex: 0 0 auto; width: auto; min-width: 0; max-width: none; height: 34px; min-height: 34px; padding: 4px 7px; margin: 0; border: 1px solid #ffffff35; border-radius: 7px; background: #ffffff08; color: #eef5e9; font-size: 11px; white-space: nowrap; box-shadow: none; }
.cost-os .os-menubar #phPeriod input { color-scheme: dark; }
.cost-os .os-menubar #phPeriod select option { background: #213f34; color: #f1f5ec; }
.cost-os .os-menubar #phPeriod :is(input[type="date"],input[type="month"]) { width: 132px; min-width: 132px; }
.cost-os .os-menubar #phPeriod .financial-close-month-picker { height: 34px; color: #eef5e9; }
.cost-os .os-menubar #phPeriod .financial-close-month-picker input { color: transparent; }
.cost-os .os-menubar #phPeriod .financial-close-month-picker::after { color: #eef5e9; font-size: 11px; }
.cost-os .os-menubar #phPeriod .pill { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.cost-os .os-menubar .ph-stats { order: 4; flex: 1 1 auto; display: flex; align-items: center; gap: 14px; width: auto; min-width: 0; max-width: none; padding: 0 0 0 6px; height: 34px; border: 0; background: transparent; overflow: hidden; }
.cost-os .os-menubar .ph-stat { display: grid; flex: 0 0 auto; gap: 2px; border: 0; border-radius: 0; min-width: 0; padding: 0; margin: 0; background: transparent; }
.cost-os .os-menubar .ph-stat-value { font-size: 14px; line-height: 1.15; color: #eff6e9; }
.cost-os .os-menubar .ph-stat-label { font-size: 10px; line-height: 1; color: #d5e0cf; letter-spacing: .02em; }
.cost-os .os-menubar .ph-stat-sub { display: none; }
.cost-os .os-menubar .os-indicators-toggle { order: 5; display: none; }
.cost-os .os-menubar :is(.os-explorer-toolbar,.os-note-toolbar) { display: flex; flex: 1 1 auto; align-items: center; flex-wrap: nowrap; gap: 6px; min-width: 0; padding: 0; margin: 0; height: 36px; border: 0; background: transparent; overflow-x: auto; scrollbar-width: thin; }
.cost-os .os-menubar :is(.os-explorer-toolbar,.os-note-toolbar) button { flex: 0 0 auto; padding: 4px 8px; min-height: 34px; white-space: nowrap; border: 1px solid #ffffff35; border-radius: 7px; color: #eef5e9; background: #ffffff08; font-size: 11px; }
.cost-os .os-menubar :is(.os-explorer-toolbar,.os-note-toolbar) .os-toolbar-refresh { display: grid; place-items: center; width: 34px; height: 34px; padding: 6px; }
.os-toolbar-refresh svg { width: 17px; height: 17px; }
.cost-os .os-menubar .os-note-status { color: #d5e0cc; white-space: nowrap; font-size: 10px; margin-left: auto; }
.cost-os :is(.notif-panel,.date-range-popover,.filtros-nube) { z-index: 800; }
.cost-os .filtros-nube { width: min(360px, calc(100vw - 24px)); bottom: auto; }
.cost-os .notif-panel, .cost-os .date-range-popover { overflow-y: auto; }
.cost-os .os-menubar .ph-toolbox { backdrop-filter: none; filter: none; box-shadow: none; }

/* Indicadores compactos y su panel fuera del header. */
  .cost-os .os-menubar.os-kpi-compact .ph-stats { display: none; }
  .cost-os .os-menubar.os-kpi-compact .os-indicators-toggle { display: inline-flex; align-items: center; }
  .cost-os .os-indicators-panel { position: fixed; z-index: 810; width: min(390px,calc(100vw - 24px)); overflow: auto; padding: 16px; border: 1px solid #506757; border-radius: 12px; background: #213f34fa; color: #eef5e9; box-shadow: 0 12px 36px #09231950; }
  .cost-os .os-indicators-panel .ph-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; width: 100%; min-width: 0; padding: 0; margin: 0; height: auto; background: transparent; border: 0; }
  .cost-os .os-indicators-panel .ph-stat { display: grid; gap: 4px; padding: 0; margin: 0; min-width: 0; border: 0; background: transparent; }
  .cost-os .os-indicators-panel .ph-stat-value { font-size: 16px; color: #eff6e9; overflow-wrap: anywhere; }
  .cost-os .os-indicators-panel .ph-stat-label { font-size: 11px; color: #d5e0cf; }.cost-os .os-indicators-panel .ph-stat-sub { display: none; }

/* COST OS · ventanas
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.cost-os .os-chat-window .os-window-body { overflow: hidden; }
.cost-os #dailyChatDock { display: none !important; }
.cost-os .os-chat-window #dailyChatDock { display: flex !important; flex-direction: column; position: static; inset: auto; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; transition: none; background: var(--surface); }
.cost-os .os-chat-window #dailyChatToggle { display: none; }
.cost-os .os-chat-window #dailyChatDockBody { display: flex; flex-direction: column; flex: 1; min-height: 0; height: 100%; }
.cost-os .os-chat-window #dailyChatMessages { flex: 1 1 0; min-height: 0; overflow-y: auto; }
.cost-os .os-chat-window :is(.daily-chat-attach-menu,.daily-chat-composer-context,.daily-team-message-form) { flex: 0 0 auto; }
.cost-os .os-chat-window .daily-chat-attach-menu { max-height: 190px; overflow-y: auto; }
.os-window { position: absolute; display: flex; flex-direction: column; container: os-window / size; overflow: hidden; min-width: 0; background: #f8f9f6; border: 1px solid #ffffff91; border-radius: 13px; box-shadow: 0 12px 38px #091f2b38, 0 1px 4px #0a23282b; transition: box-shadow .15s; }
.os-window.is-front { box-shadow: 0 24px 65px #091f2b55, 0 1px 6px #0a23282b; border-color: #fff; }
.os-window:is(.is-maximized,.is-tiled) { border-radius: 0; }
.os-window.is-maximized .os-resize { display: none; }
.os-window:focus-visible { outline: 2px solid #648d76; outline-offset: -2px; }
.os-window-titlebar { flex: 0 0 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 9px; background: linear-gradient(#f7f9f7,#e9eeea); border-bottom: 1px solid #d8dfda; color: #52645c; cursor: grab; user-select: none; touch-action: none; }
.os-window.is-front .os-window-titlebar { color: var(--os-ink); }
.os-window-controls { display: flex; gap: 0; align-items: center; }
.os-traffic { --traffic-color: #bec9c3; display: grid; place-items: center; position: relative; isolation: isolate; width: 32px; height: 36px; min-width: 0; min-height: 0; border-radius: 8px; border: 0; font-size: 12px; line-height: 1; padding: 0; cursor: pointer; color: transparent; background: transparent; transition: transform 100ms ease-out, background-color 100ms ease-out; }
.os-traffic:hover { background: #18342c08; }
.os-traffic:active { transform: scale(.92); }
.os-traffic::before { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 100%; border: 1px solid #00000014; background: var(--traffic-color); z-index: -1; }
.os-window.is-front .os-close { --traffic-color: #ed8c7c; }
.os-window.is-front .os-minimize { --traffic-color: #e9be67; }
.os-window.is-front .os-maximize { --traffic-color: #87b78e; }
.os-window-controls:hover .os-traffic, .os-traffic:focus-visible { color: #493d32; }
.os-window-title { font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.os-window-area { font-size: 10px; opacity: .65; min-width: 67px; text-align: right; }
.os-window-body { flex: 1; min-height: 0; min-width: 0; overflow: auto; overscroll-behavior: contain; container-type: size; background: var(--surface, #f8f9f6); scrollbar-width: thin; }
.os-view-status { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding: 9px 14px; background: #eef3e9; border-bottom: 1px solid #d8e1d0; color: #385343; font-size: 12px; }
.os-view-status[data-state="error"] { background: #fff1e9; border-color: #ebc8b4; color: #7b4231; }
.os-view-status span { flex: 1; }
.os-view-retry { border: 1px solid #b9836c; border-radius: 7px; background: #fffaf5; color: #7b4231; padding: 5px 10px; font-size: 12px; min-height: 34px; }
.cost-os .os-window-body > .view[data-os-open="true"] { display: block; position: relative; min-width: 0; max-width: none; margin: 0; padding: 20px; }
.os-window-body > .view[data-os-open="true"] :is(.rooms-panel-body,.events-panel-body) { height: clamp(200px,calc(100cqh - 185px),680px) !important; }
.os-window-body > .view[data-os-open="true"] :is(.daily-panel-body,.reconciliation-panel-body) { max-height: calc(100cqh - 150px); }
.os-window-frame { display: block; width: 100%; height: 100%; border: 0; background: #f8f9f6; }

.os-manipulating { user-select: none; }
.os-manipulating .os-window-body { pointer-events: none; }
.os-resize { position: absolute; z-index: 4; touch-action: none; }
.os-resize-n, .os-resize-s { height: 6px; left: 18px; right: 18px; cursor: ns-resize; }
.os-resize-n { top: 0; }.os-resize-s { bottom: 0; }
.os-resize-e, .os-resize-w { width: 6px; top: 18px; bottom: 18px; cursor: ew-resize; }
.os-resize-e { right: 0; }.os-resize-w { left: 0; }
.os-resize-ne, .os-resize-nw, .os-resize-se, .os-resize-sw { width: 16px; height: 16px; }
.os-resize-ne { right: 0; top: 0; cursor: nesw-resize; }.os-resize-nw { left: 0; top: 0; cursor: nwse-resize; }
.os-resize-se { right: 0; bottom: 0; cursor: nwse-resize; }.os-resize-sw { left: 0; bottom: 0; cursor: nesw-resize; }
.os-resize-se::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 5px; height: 5px; border-right: 1px solid #78857e66; border-bottom: 1px solid #78857e66; }

/* COST OS · dock
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.os-dock { position: absolute; bottom: max(15px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); height: 73px; padding: 10px 13px; z-index: 400; border: 1px solid #ffffff65; border-radius: 21px; background: #edf4eaa1; backdrop-filter: blur(35px) saturate(1.3); box-shadow: 0 10px 36px #09231942, inset 0 1px #ffffff8c; color: var(--os-ink); }
.os-dock-start { border: 0; background: #233f35; color: #eef5e9; border-radius: 13px; display: flex; align-items: center; gap: 9px; height: 49px; padding: 0 15px; cursor: pointer; font-size: 12px; font-weight: 600; flex: 0 0 auto; }
.os-dock-start[aria-expanded="true"], .os-dock-start:hover { background: #365448; }
.os-dock-start,.os-dock-desktop,.os-category,.os-session-action { transition: transform 100ms ease-out, background-color 130ms ease-out; }
.os-dock-start:active,.os-dock-desktop:active,.os-session-action:active { transform: scale(.96); }
.os-dock-start svg { width: 21px; height: 21px; }
.os-dock-divider { height: 35px; width: 1px; background: #1d3e3022; flex: 0 0 auto; margin-inline: 3px; }
.os-dock-desktop { width: 44px; height: 49px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 11px; background: transparent; color: #2f4f42; cursor: pointer; }
.os-dock-desktop:hover { background: #ffffff70; }
.os-dock-desktop svg { width: 24px; height: 24px; }
.os-dock-tasks { display: flex; align-items: center; gap: 9px; min-width: 0; max-width: 65vw; overflow-x: auto; padding: 4px 2px 9px; margin-bottom: -9px; scrollbar-width: thin; }
.os-dock-tasks.has-more-right { box-shadow: inset -10px 0 8px -8px #264f46; }
.os-dock-tasks.has-more-left { box-shadow: inset 10px 0 8px -8px #264f46; }
.os-dock-tasks.has-more-left.has-more-right { box-shadow: inset 10px 0 8px -8px #264f46, inset -10px 0 8px -8px #264f46; }
.os-task { position: relative; display: grid; place-items: center; flex: 0 0 46px; height: 46px; min-height: 0; border: 1px solid #ffffff80; border-radius: 12px; background: #dee6ec; color: #33556d; cursor: pointer; box-shadow: 0 2px 4px #15352517; transition: transform .15s, opacity .15s, background-color .15s; }
.os-task:hover { transform: translateY(-3px); }
.os-task:active { transform: translateY(0) scale(.94); }
.os-task > svg { width: 24px; height: 24px; }
.os-task::after { content: ''; position: absolute; width: 4px; height: 4px; background: #446652; border-radius: 100%; bottom: -7px; }
.os-task[aria-pressed="true"]::after { width: 14px; border-radius: 3px; }
.os-task.is-minimized { opacity: .6; }
.os-task-tooltip { display: none; }
.os-dock-count { font-size: 10px; color: #3b5748; white-space: nowrap; padding-inline: 6px; }
.os-dock-windows { display: flex; align-items: center; gap: 3px; flex: 0 0 auto; min-height: 44px; padding: 5px; border: 0; border-radius: 9px; background: transparent; color: #2f4f42; cursor: pointer; }
.os-dock-windows svg { width: 22px; height: 22px; }
.os-dock-windows:hover,.os-dock-windows[aria-expanded="true"] { background: #ffffff80; }
.os-window-list { position: fixed; z-index: 810; width: min(340px,calc(100vw - 24px)); border: 1px solid #d6e1cd; border-radius: 14px; background: #f8faf4fa; color: #244235; box-shadow: 0 14px 40px #102f3855; overflow: auto; }
.os-window-list-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #dce5d4; font-size: 13px; }
.os-window-list-close { width: 34px; min-height: 34px; border: 0; background: transparent; color: #4a6352; font-size: 20px; }
.os-window-list-body { padding: 5px; }
.os-window-list-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: #264333; text-align: left; }
.os-window-list-item svg { width: 23px; height: 23px; flex: 0 0 23px; }
.os-window-list-item span { display: grid; gap: 3px; }
.os-window-list-item strong { font-size: 12px; }.os-window-list-item small { font-size: 10px; color: #718370; }
.os-window-list-item:hover,.os-window-list-item[aria-current="true"] { background: #e2ebdb; }
.os-window-list-empty { font-size: 12px; padding: 12px; }

/* COST OS · inicio
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.os-start-backdrop { position: absolute; inset: var(--os-menubar-height) 0 92px; z-index: 490; background: #08231918; animation: os-preview-in 140ms ease-out; }
.os-start { position: absolute; bottom: 102px; left: 50%; transform: translateX(-50%); width: min(790px,calc(100% - 40px)); max-height: min(640px,calc(100dvh - 163px)); z-index: 500; display: flex; flex-direction: column; background: #f8faf5f2; backdrop-filter: blur(40px); border: 1px solid #ffffffbd; border-radius: 21px; box-shadow: 0 26px 80px #08231960; color: var(--os-ink); overflow: hidden; animation: os-rise .17s ease-out; }
.os-start-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 27px 18px; }
.os-start-head p { margin: 0 0 7px; color: #7b887d; font-size: 9px; letter-spacing: .15em; }
.os-start-head h2 { margin: 0; font-family: Georgia,serif; font-size: 25px; letter-spacing: -.035em; font-weight: 400; color: var(--os-ink); }
.os-start-close { width: 30px; height: 30px; border: 0; border-radius: 100%; background: #e6ece4; color: #5c715f; cursor: pointer; font-size: 20px; }
.os-search { margin: 0 26px 21px; display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 0 13px; border: 1px solid #ccd7cc; border-radius: 10px; background: #fff9; }
.os-search svg { flex: 0 0 17px; width: 17px; height: 17px; color: #849082; }
.os-search input { width: 100%; border: 0; outline: none; min-height: 42px; padding: 0; font-size: 12px; color: #18342c; background: transparent; box-shadow: none; }
.os-search:focus-within { border-color: #668c73; box-shadow: 0 0 0 3px #749b7f17; }
.os-search kbd { white-space: nowrap; font-size: 10px; color: #8a9687; }
.os-start-main { display: grid; grid-template-columns: 170px minmax(0,1fr); min-height: 180px; overflow: hidden; flex: 1; border-top: 1px solid #e0e6dc; }
.os-categories { display: flex; flex-direction: column; gap: 4px; overflow: auto; padding: 18px 12px; background: #edf2e8a1; border-right: 1px solid #dce4d5; }
.os-category { flex: 0 0 auto; width: 100%; border: 0; border-radius: 8px; padding: 11px 12px; font-size: 11px; text-align: left; color: #697b6b; background: transparent; cursor: pointer; }
.os-category[aria-pressed="true"] { background: #dce7d6; color: #274735; font-weight: 600; }
.os-category:hover { background: #dfe8db; }
.os-apps-pane { min-width: 0; overflow: auto; padding: 21px 22px 23px; }
.os-apps-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.os-apps-heading strong { color: #425c48; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .045em; }
.os-apps-heading > span { color: #879583; font-size: 9px; white-space: nowrap; }
.os-apps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 12px; }
.os-app { display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 11px; min-height: 68px; padding: 10px 8px; text-align: left; background: transparent; cursor: pointer; color: var(--os-ink); transition: background-color 130ms ease-out, border-color 130ms ease-out; }
.os-app:hover { background: #fff; border-color: #dfe7d8; }
.os-app.is-search-selected { background: #dce9d6; border-color: #88a681; }
.os-app-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: #e0e9e8; color: #3c6862; border-radius: 11px; border: 1px solid #ffffff80; }
.os-app-icon svg { width: 21px; height: 21px; }
[data-area="home"] { background: #dce6ec; color: #456879; }
[data-area="books"] { background: #e6e2d8; color: #786a45; }
[data-area="finance"] { background: #dce7d8; color: #587244; }
[data-area="operation"] { background: #f0e1d0; color: #a47845; }
[data-area="costs"] { background: #dce9e5; color: #4d7a69; }
[data-area="management"] { background: #e8deea; color: #7d5980; }
[data-area="other"] { background: #e8e2dd; color: #846b5b; }
[data-area="system"] { background: #e2e6e5; color: #687b75; }
.os-app-label { display: grid; gap: 4px; min-width: 0; }
.os-app-label strong { font-size: 11px; line-height: 1.3; font-weight: 600; }
.os-app-label small { font-size: 9px; color: #94a08d; }
.os-app-arrow { margin-left: auto; color: #80947c; font-size: 13px; opacity: 0; transition: opacity 130ms ease-out; }
.os-app:hover .os-app-arrow { opacity: 1; }
.os-empty-search { grid-column: 1 / -1; font-size: 12px; color: #6a7c67; padding: 24px 0; }
.os-start-foot { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; border-top: 1px solid #dfe6da; background: #f6f9f0; }
.os-user { display: flex; align-items: center; gap: 10px; }
.os-avatar { display: grid; place-items: center; width: 31px; height: 31px; background: #304d3b; color: #edf2df; font-family: Georgia,serif; border-radius: 50%; font-size: 15px; }
.os-user > div { display: grid; gap: 2px; }.os-user strong { font-size: 10px; font-weight: 600; }.os-user > div > span { font-size: 9px; color: #97a18f; }
.os-session-actions { display: flex; gap: 9px; }.os-session-action { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #748370; cursor: pointer; }.os-session-action:hover { background: #e5ecdf; }.os-session-action svg { width: 18px; height: 18px; }
.os-session-team { display: flex; align-items: center; padding: 0 8px; border-radius: 8px; color: #59734d; font-size: 10px; text-decoration: none; white-space: nowrap; }
.os-session-team:hover { background: #e5ecdf; }

/* COST OS · responsive
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

@media (max-width: 1599px) { .os-system-status > span { display: none; } }
@media (max-width: 1199px) { .os-menubar { grid-template-columns: auto minmax(75px,120px) minmax(0,1fr) auto; gap: 10px; padding-inline: 12px; }.os-menubar time { display: none; } }
@media (max-width: 900px) {
  .os-window-body > .view[data-os-open="true"] { padding: 14px; }
}
@media (max-width: 680px) {
  body.cost-os { --os-menubar-height: 88px; }
  .os-menubar { grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: 38px 44px; gap: 0 8px; padding: 3px 10px; font-size: 10px; }
  .os-menubar > strong { font-size: 11px; }.os-wordmark { font-size: 17px; }.os-wordmark small { display: none; }
  .os-context-slot { grid-column: 1 / -1; grid-row: 2; }.os-global-actions { grid-column: 3; grid-row: 1; gap: 7px; }
  .os-global-actions time { display: none; }
  .cost-os .os-menubar .page-header .ph-toolbox { gap: 5px; }
  .cost-os .os-menubar .page-header .ph-period { flex: 1 1 auto; max-width: none; overflow: auto; scrollbar-width: thin; }
  .cost-os .os-menubar .date-range-trigger { padding: 4px 5px; }.cost-os .os-menubar .date-range-trigger-text strong { font-size: 11px; }
  .cost-os .os-menubar .os-indicators-toggle { font-size: 11px; padding: 4px 6px; }
  .cost-os .os-menubar #phPeriod :is(input[type="date"],input[type="month"]) { width: 120px; min-width: 120px; }
  .cost-os .os-menubar #phPeriod :is(.secondary-action,.pill) { padding-inline: 5px; }
  .cost-os .app-shell > .workspace { bottom: calc(66px + max(12px,env(safe-area-inset-bottom)) + 6px); }
  .os-home { padding: 0; }.os-shortcuts { inset: 86px 0 75px; margin: 0; }.os-home-tip { left: 12px; bottom: 10px; font-size: 10px; }.os-home-copy { display: none; }
  .os-desktop-tools { left: 0; right: 0; gap: 5px; flex-wrap: wrap; }.os-desktop-action { font-size: 10px; padding: 7px 9px; }
  .os-explorer { grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); }.os-file-sidebar { display: flex; gap: 3px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #dbe4d5; }.os-file-place { flex: 0 0 auto; width: auto; font-size: 10px; padding: 7px; }.os-file-place svg { width: 15px; height: 15px; flex-basis: 15px; }.os-home-private,.os-home-storage { display: none; }
  .os-file-list { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px; }.os-file-picture { width: 25px; height: 25px; flex-basis: 25px; }.os-file-picture svg { width: 25px; height: 25px; }.os-file-open { gap: 6px; padding: 9px 5px; }.os-file-actions { padding: 8px; }.os-note-text { padding: 18px; font-size: 13px; }
  .os-window { border-radius: 0; }.os-window-area,.os-resize,.os-maximize { display: none; }.os-window-titlebar { min-height: 48px; padding-inline: 7px; }.os-traffic { width: 44px; height: 44px; color: #493d32; }.os-traffic::before { width: 22px; height: 22px; }.os-window-controls { gap: 0; }

  .os-dock { gap: 5px; height: 66px; padding: 8px; max-width: calc(100% - 14px); border-radius: 17px; bottom: max(12px,env(safe-area-inset-bottom)); }.os-dock-start { padding: 0 8px; gap: 5px; height: 45px; font-size: 11px; }.os-dock-desktop { width: 34px; }.os-task { flex-basis: 40px; height: 40px; }.os-dock-tasks { gap: 6px; max-width: calc(100vw - 250px); }.os-dock-divider { margin: 0; }.os-dock-windows { padding: 3px; }.os-dock-count { padding-inline: 0; font-size: 11px; }
  .os-start { bottom: 88px; width: calc(100% - 16px); max-height: calc(100dvh - 138px); border-radius: 17px; }.os-start-head { padding: 17px 18px 14px; }.os-start-head h2 { font-size: 22px; }.os-search { margin: 0 17px 14px; }.os-start-main { grid-template-columns: 1fr; }.os-categories { flex-direction: row; overflow-x: auto; padding: 9px; border-right: 0; border-bottom: 1px solid #dfe6da; }.os-category { width: auto; min-height: 42px; white-space: nowrap; }.os-apps-pane { padding: 17px 12px; }.os-apps { gap: 4px; }.os-app { min-height: 65px; padding: 8px 5px; gap: 7px; }.os-app-icon { width: 33px; height: 33px; flex-basis: 33px; }.os-app-label strong { font-size: 10px; }.os-app-arrow { display: none; }.os-start-foot { padding: 12px 18px; }
}

/* COST OS · estados
   Fuente de public/assets/os-desktop.css; generar con scripts/build-styles.sh os.
   Conserva los estilos del escritorio experimental y su precedencia. */

.os-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cost-os :is(.os-dock,.os-start,.os-window,.os-shortcuts) button:focus-visible { outline: 2px solid #648d76; outline-offset: 3px; }
@keyframes os-rise { from { opacity: 0; transform: translate(-50%,8px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes os-preview-in { from { opacity: 0; } to { opacity: 1; } }
@media (pointer: coarse) { .os-traffic { width: 44px; height: 44px; }.os-window-titlebar { min-height: 48px; } }
@media (prefers-reduced-motion: reduce) {
  .cost-os :is(.os-start,.os-start-backdrop,.os-snap-preview) { animation: none; }
  .cost-os :is(.os-task,.os-window,.os-traffic,.os-dock-start,.os-dock-desktop,.os-category,.os-session-action,.os-app,.os-app-arrow,.os-snap-preview) { transition: none; }
}
@media print {
  .cost-os { overflow: visible; background: white; }.cost-os .app-shell { height: auto; overflow: visible; background: white; }.cost-os .app-shell > .workspace { position: static; overflow: visible; }
  .cost-os :is(.os-menubar,.os-dock,.os-start,.os-start-backdrop,.os-home,.os-window-titlebar,.os-resize,.page-header,.os-snap-preview) { display: none !important; }
  .os-canvas { position: static; }.os-window { display: none; }.os-window.is-front { display: block; position: static; width: auto !important; height: auto !important; box-shadow: none; border: 0; }.os-window-body { overflow: visible; container-type: normal; }
}
.cost-os .os-window-list button:focus-visible, .cost-os .os-indicators-panel button:focus-visible { outline: 3px solid #a5d8e0; outline-offset: 2px; }

/* Personalización del escritorio y la barra. Generar con scripts/build-styles.sh os. */
.os-app-entry { display: flex; align-items: stretch; min-width: 0; border-radius: 11px; }
.os-app-entry:hover,.os-app-entry:focus-within { background: #e5eddf; }
.os-app-entry .os-app { flex: 1 1 auto; min-width: 0; }
.os-app-options { flex: 0 0 36px; min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: #3f5b48; font-size: 22px; cursor: pointer; }
.os-app-options:hover { background: #d6e3ce; }
.os-shortcut-menu { position: fixed; z-index: 850; width: min(270px,calc(100vw - 16px)); padding: 5px; border: 1px solid #ccd8c5; border-radius: 12px; background: #f8faf4; color: #244235; box-shadow: 0 14px 40px #102f3855; }
.os-shortcut-menu.in-start { position: absolute; }
.os-shortcut-menu-action { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 7px; text-align: left; color: inherit; background: transparent; font-size: 12px; cursor: pointer; }
.os-shortcut-menu-action:hover,.os-shortcut-menu-action:focus-visible { background: #e2ebdb; outline: 2px solid #648d76; outline-offset: -2px; }
.os-dock-settings { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #2f4f42; cursor: pointer; }
.os-dock-settings svg { width: 22px; height: 22px; }
.os-dock-settings:hover,.os-dock-settings[aria-pressed="true"] { background: #ffffff80; }
.os-task:not(.is-running)::after { display: none; }
.os-dock-reveal { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: max(10px,env(safe-area-inset-bottom)); z-index: 401; border: 0; background: transparent; color: transparent; font-size: 0; cursor: pointer; }
.os-dock-reveal::after { content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; margin: auto; background: #eaf2de9c; }
.os-dock-reveal:focus-visible { outline: 2px solid #c5e3c4; outline-offset: -2px; }
.os-dock-compact .os-dock { height: 60px; padding: 6px 10px; gap: 6px; border-radius: 17px; }
.os-dock-compact .os-dock-start { height: 44px; }
.os-dock-compact .os-task { flex-basis: 44px; height: 44px; }
.os-dock-compact .os-dock-desktop { height: 44px; }
.cost-os.os-dock-compact .app-shell > .workspace { bottom: calc(60px + max(15px,env(safe-area-inset-bottom)) + 8px); }
.os-dock-compact .os-start { bottom: calc(60px + max(15px,env(safe-area-inset-bottom)) + 14px); }
.os-dock-compact .os-start-backdrop { bottom: calc(60px + max(15px,env(safe-area-inset-bottom)) + 4px); }
.os-preferences { max-width: 760px; margin: 0 auto; padding: 24px; color: #244235; font-size: 13px; }
.os-preferences h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
.os-preferences p { color: #637664; line-height: 1.6; }
.os-preference-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid #dde6d8; cursor: pointer; }
.os-preference-row span { display: grid; gap: 7px; }
.os-preference-row small { font-size: 12px; color: #637664; line-height: 1.5; }
.os-preference-input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #3f7054; }
.os-preferences-pins { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 20px 0; }
.os-preferences-pins h3 { font-size: 14px; }
.os-preference-pin { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; }
.os-preference-pin span { overflow-wrap: anywhere; font-size: 12px; }
.os-preference-pin button { min-height: 44px; }
.os-preferences-save { min-height: 21px; }
@media (hover: hover) and (pointer: fine) and (min-width: 681px) {
  .cost-os.os-dock-autohide .app-shell > .workspace { bottom: 0; }
  .os-dock-autohide .os-dock { transform: translate(-50%,calc(100% + max(15px,env(safe-area-inset-bottom)))); opacity: 0; pointer-events: none; transition: transform 180ms cubic-bezier(.2,.8,.2,1),opacity 140ms ease-out; }
  .os-dock-autohide .os-dock.is-revealed { transform: translate(-50%,0); opacity: 1; pointer-events: auto; }
}
@media (max-width: 680px) {
  .os-dock-tasks { max-width: none; }
  .os-dock-settings { flex-basis: 44px; }
  .os-dock-compact .os-dock { bottom: max(12px,env(safe-area-inset-bottom)); }
  .cost-os.os-dock-compact .app-shell > .workspace { bottom: calc(60px + max(12px,env(safe-area-inset-bottom)) + 6px); }
  .os-dock-compact .os-start { bottom: calc(60px + max(12px,env(safe-area-inset-bottom)) + 14px); }
  .os-preferences { padding: 18px; }
  .os-preferences-pins { grid-template-columns: 1fr; gap: 8px; }
  .os-app-options { flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) { .os-dock-autohide .os-dock { transition: none; } }
@media print { .os-dock-reveal,.os-shortcut-menu { display: none !important; } }

/* Screensaver and its settings. Generated by scripts/build-styles.sh os. */
.os-saver-settings { border-top: 1px solid #d8e2d2; margin-top: 26px; padding-top: 22px; }
.os-saver-settings h3 { margin: 0; font-size: 18px; }
.os-saver-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.os-saver-field { display: grid; align-content: start; gap: 8px; font-size: 12px; font-weight: 600; }
.os-saver-field :is(input,select) { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #c9d6c2; border-radius: 9px; background: #fff; color: #244235; font: inherit; font-weight: 400; }
.os-saver-field input[type="color"] { padding: 5px; cursor: pointer; }
.os-saver-setting[type="checkbox"] { width: 22px; height: 22px; accent-color: #3f7054; flex: 0 0 22px; }
.os-saver-field :is(input,select):focus-visible,.os-saver-preview:focus-visible { outline: 3px solid #648d76; outline-offset: 3px; }
.os-saver-preview { position: relative; display: grid; place-items: center; width: 100%; min-height: 160px; overflow: hidden; padding: 24px 20px 52px; border: 1px solid #1c3636; border-radius: 13px; background: radial-gradient(ellipse at 75% 20%,#1c333b,transparent 62%),#060b10; cursor: pointer; }
.os-saver-preview-art { max-width: 100%; color: var(--saver-color); font: 800 clamp(22px,5vw,48px)/1.3 Arial,sans-serif; overflow-wrap: anywhere; text-align: center; letter-spacing: -.03em; }
.os-saver-preview-art[data-effect="text3d"] { transform: perspective(500px) rotateY(-22deg) rotateZ(-6deg); text-shadow: 1px 1px #776035,2px 2px #68502a,3px 3px #574323,4px 4px #46351d,6px 6px #352918,12px 12px 20px #000; }
.os-saver-preview-art[data-effect="stars"] { letter-spacing: 16px; }
.os-saver-preview-action { position: absolute; bottom: 15px; color: #e6eadf; font-size: 12px; font-weight: 500; }
.os-saver-preview:hover { border-color: #9bad96; }
.os-saver-note { font-size: 12px; }
.os-screensaver { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 70% 25%,#101d28 0,transparent 65%),#030609; color: #e5e8ed; touch-action: none; overscroll-behavior: none; }
.os-screensaver:focus { outline: none; }
.os-saver-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 45%; }
.os-saver-object { position: absolute; top: 45%; left: 50%; will-change: transform; }
.os-saver-text { width: 0; height: 0; transform-style: preserve-3d; font: 900 128px/1 Arial,Helvetica,sans-serif; letter-spacing: -.045em; }
.os-saver-text-layer { position: absolute; display: block; white-space: pre; left: 0; top: 0; translate: -50% -50%; -webkit-text-stroke: .7px currentColor; }
.os-saver-text-layer.is-face { color: var(--saver-color) !important; background: linear-gradient(155deg,#fffbec 4%,var(--saver-color) 32%,#ffffff 49%,var(--saver-color) 54%,#574326 97%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: .5px var(--saver-color); }
.os-saver-clock { display: grid; gap: 16px; width: min(520px,75vw); margin-left: max(-260px,-37.5vw); text-align: center; color: var(--saver-color); }
.os-saver-clock-label { font: 11px/1.4 Arial,sans-serif; letter-spacing: .22em; opacity: .6; }
.os-saver-clock time { font: 200 clamp(56px,12vw,130px)/1 Arial,sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.os-saver-clock > span:last-child { font-size: 15px; opacity: .65; }
.os-saver-stars { width: 100%; height: 100%; display: block; }
.os-saver-caption { position: absolute; left: 28px; right: 28px; bottom: max(78px,calc(env(safe-area-inset-bottom) + 70px)); display: flex; justify-content: space-between; gap: 20px; font: 12px/1.6 Arial,sans-serif; color: #b1bdc9; opacity: .7; pointer-events: none; }
.os-saver-brand { letter-spacing: .08em; }
.os-saver-exit { position: absolute; right: 28px; bottom: max(20px,env(safe-area-inset-bottom)); min-height: 44px; padding: 10px 18px; border: 1px solid #52606c; border-radius: 24px; background: #ffffff08; color: #d6dce4; font-size: 12px; cursor: pointer; }
.os-saver-exit:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 480px) {
  .os-saver-fields { grid-template-columns: 1fr; }
  .os-saver-caption { flex-direction: column; gap: 8px; left: 20px; right: 20px; font-size: 11px; }
  .os-saver-exit { right: 20px; }
}
@media (prefers-reduced-motion: reduce) { .os-saver-object { will-change: auto; } }
@media print { .os-screensaver { display: none !important; } }
