*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:var(--ui-font-sans);background:var(--ui-canvas);color:var(--ui-text)}body{min-height:100vh}a{text-decoration:none}button,input,select,textarea{font:inherit}button:where(:not(.ui-button):not(.ui-icon-button)){-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:var(--ui-control-md);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text);padding:0 12px;cursor:pointer;font-weight:600;font-family:var(--ui-font-sans);font-size:var(--ui-text-md);line-height:1;box-shadow:none;transition:background-color var(--ui-duration-fast) var(--ui-ease-standard),border-color var(--ui-duration-fast) var(--ui-ease-standard),color var(--ui-duration-fast) var(--ui-ease-standard),opacity var(--ui-duration-fast) var(--ui-ease-standard)}button:where(:not(.ui-button):not(.ui-icon-button)):hover:not(:disabled){background:var(--ui-surface-hover);border-color:var(--ui-border-hover)}button:where(:not(.ui-button):not(.ui-icon-button)):active:not(:disabled){background:var(--ui-surface-pressed)}button[type=submit]:where(:not(.ui-button):not(.ui-icon-button)){border-color:var(--ui-accent);background:var(--ui-accent);color:var(--ui-accent-contrast)}button[type=submit]:where(:not(.ui-button):not(.ui-icon-button)):hover:not(:disabled){border-color:var(--ui-accent-hover);background:var(--ui-accent-hover)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb,var(--ui-accent) 30%,transparent);outline-offset:2px}button:where(:not(.ui-button):not(.ui-icon-button)):focus-visible{outline:0;border-color:var(--ui-focus-border);box-shadow:var(--ui-focus-ring)}button:where(:not(.ui-button):not(.ui-icon-button)):disabled{cursor:not-allowed;opacity:.48;box-shadow:none}input,select,textarea{border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text);padding:9px 11px;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select{min-height:var(--ui-control-lg);font-size:var(--ui-text-md);line-height:var(--ui-leading-normal)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364758a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:15px 15px!important}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--ui-border-hover)}input:disabled,select:disabled,textarea:disabled{background:var(--ui-surface-muted);color:var(--ui-text-disabled)}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--ui-focus-border)}a{color:var(--ui-accent);font-weight:600}a:hover{color:var(--ui-accent-hover)}.app-sidebar__link:hover{transform:translateX(2px)}.app-sidebar__link--active{background:var(--ui-accent-subtle);color:var(--ui-text);box-shadow:inset 3px 0 0 var(--ui-accent)}.app-header__title{letter-spacing:-.01em}.notification-bell{position:relative}.notification-bell__trigger{display:inline-flex;align-items:center;gap:6px;min-height:36px}.notification-bell__trigger span{min-width:20px;padding:2px 6px;border-radius:999px;background:var(--ui-danger);color:var(--ui-text-inverse);font-size:11px}.notification-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:80;width:min(390px,calc(100vw - 24px));overflow:hidden;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface);box-shadow:0 18px 48px rgba(40,49,71,.16)}.notification-popover__header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--ui-border)}.notification-popover__header button{padding:6px 8px;background:transparent;color:var(--ui-accent)}.notification-popover__list{max-height:min(480px,65vh);overflow-y:auto;padding:8px}.notification-item{width:100%;display:grid;grid-gap:4px;gap:4px;padding:10px;border-radius:10px;background:transparent;color:var(--ui-text-secondary);text-align:left}.notification-item--unread{background:var(--ui-surface-subtle)}.notification-item small,.notification-item span{color:var(--ui-text-tertiary)}.candidate-table-wrap{overflow-x:auto;padding:0}.candidate-table{width:100%;min-width:900px}.candidate-mobile-list{display:none}.order-detail-page .page-card{border-color:var(--ui-border);border-radius:11px;box-shadow:none;animation:none}.order-detail-page .page-card:hover{border-color:var(--ui-border);box-shadow:none}.page-title{margin:0 0 18px;font-size:28px;font-weight:800;letter-spacing:-.03em}.page-card{background:rgba(255,255,255,.96);border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);padding:20px;box-shadow:var(--ui-shadow-sm);animation:panel-in .18s ease-out;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.page-card:hover{border-color:var(--ui-border-hover);box-shadow:0 10px 24px rgba(40,49,71,.06)}.page-card+.page-card{margin-top:16px}.identity-secondary,.page-muted{color:var(--ui-text-tertiary)}.identity-secondary{display:block;margin-top:2px;font-size:12px;font-weight:500}.identity-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ui-border);border-radius:999px;background:var(--ui-surface-subtle);padding:6px 8px 6px 10px;font-size:12px}.identity-chip small{display:block;margin-top:1px;color:var(--ui-text-tertiary);font-size:11px}.identity-chip button{width:24px;height:24px;padding:0;border-radius:999px;box-shadow:none}.page-stack{display:grid;grid-gap:18px;gap:18px}.workspace-page{display:grid;grid-gap:14px;gap:14px;min-width:0}.workspace-page>.page-title{margin-bottom:2px}.workspace-surface.page-card{border-color:var(--ui-border);border-radius:11px;padding:16px;background:var(--ui-surface);box-shadow:none;animation:none;transition:border-color .14s ease}.workspace-surface.page-card:hover{border-color:var(--ui-border);box-shadow:none}.workspace-page .registry-header{align-items:center;padding-block:14px}.workspace-page .registry-header .page-muted,.workspace-page .registry-header .section-subtitle{margin-top:3px}.filter-panel{display:grid;grid-gap:12px;gap:12px;align-items:end;background:var(--ui-surface-subtle)!important}.filter-panel label{min-width:0}.filter-panel label>div:first-child,.filter-panel label>span{color:var(--ui-text-tertiary);font-size:12px;font-weight:650}.filter-panel input,.filter-panel select{width:100%;min-width:0;border-color:var(--ui-border);border-radius:8px;box-shadow:none}.data-table-shell.page-card{overflow-x:auto;padding:0}.workspace-page .data-table,.workspace-page .object-registry-table,.workspace-page .one-time-order-registry-table,.workspace-page .task-table{border-collapse:collapse;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.workspace-page .data-table td,.workspace-page .data-table th,.workspace-page .object-registry-table td,.workspace-page .object-registry-table th,.workspace-page .one-time-order-registry-table td,.workspace-page .one-time-order-registry-table th,.workspace-page .task-table td,.workspace-page .task-table th{border-bottom-color:var(--ui-border);padding:13px 14px}.workspace-page .data-table th,.workspace-page .object-registry-table th,.workspace-page .one-time-order-registry-table th,.workspace-page .task-table th{background:var(--ui-surface-muted);color:var(--ui-text-secondary);font-size:12.5px;font-weight:700;letter-spacing:.015em}.workspace-page .data-table tbody tr,.workspace-page .object-registry-table tbody tr,.workspace-page .one-time-order-registry-table tbody tr,.workspace-page .task-table tbody tr{transition:background-color .12s ease}.workspace-page .data-table tbody tr:hover,.workspace-page .object-registry-table tbody tr:hover,.workspace-page .one-time-order-registry-table tbody tr:hover,.workspace-page .task-table tbody tr:hover{background:var(--ui-surface-subtle)}.registry-open-cell{width:42px;padding-inline:7px!important;text-align:center!important}.one-time-order-registry-table .one-time-order-review-preview{display:block;max-width:280px;overflow:hidden;color:var(--ui-text-secondary);font-size:var(--ui-text-sm);line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.workspace-page button:active:not(:disabled){transform:scale(.98)}.accountability-workspace,.equipment-workspace,.inventory-workspace{min-width:0}.accountability-section-panel[hidden],.accountability-workspace-panel[hidden]{display:none!important}.accountability-section-panel,.accountability-workspace-panel{min-width:0}.accountability-account-panel .page-card,.accountability-workspace .page-card,.equipment-workspace .page-card,.inventory-workspace .page-card{border-color:var(--ui-border);border-radius:12px;box-shadow:0 1px 2px rgb(53 41 32/3%)}.accountability-account-panel .page-card:hover,.accountability-workspace .page-card:hover,.equipment-workspace .page-card:hover,.inventory-workspace .page-card:hover{border-color:var(--ui-border);box-shadow:0 5px 16px rgb(53 41 32/5%)}.equipment-workspace .filter-panel,.inventory-workspace .filter-panel{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end;padding:16px}.accountability-account-panel label,.accountability-workspace label,.equipment-workspace .filter-panel label,.inventory-workspace .filter-panel label{display:grid;min-width:0;grid-gap:6px;gap:6px}.accountability-account-panel label>span,.accountability-workspace label>span,.equipment-workspace .filter-panel label>div,.inventory-workspace .filter-panel .detail-label{color:var(--ui-text-secondary);font-size:12px;font-weight:650}.accountability-account-panel input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]),.accountability-account-panel select,.accountability-account-panel textarea,.accountability-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]),.accountability-workspace select,.accountability-workspace textarea,.equipment-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]),.equipment-workspace select,.equipment-workspace textarea,.inventory-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]),.inventory-workspace select,.inventory-workspace textarea{min-width:0;border:1px solid var(--ui-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-text);box-shadow:none}.accountability-account-panel input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]):focus,.accountability-account-panel select:focus,.accountability-account-panel textarea:focus,.accountability-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]):focus,.accountability-workspace select:focus,.accountability-workspace textarea:focus,.equipment-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]):focus,.equipment-workspace select:focus,.equipment-workspace textarea:focus,.inventory-workspace input:not([type=search]):not([type=checkbox]):not([type=radio]):not([type=file]):focus,.inventory-workspace select:focus,.inventory-workspace textarea:focus{border-color:var(--ui-focus-border);outline:var(--ui-focus-ring)}.equipment-workspace .data-table-shell,.inventory-workspace .data-table-shell{overflow-x:auto;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface)}.accountability-workspace .accountability-review .field-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}.accountability-workspace .accountability-review>.page-card--subtle{border-color:var(--ui-border);background:var(--ui-surface-subtle);box-shadow:none}.accountability-account-panel{min-width:0;gap:14px}.accountability-account-panel .hero-card{gap:16px!important;border-color:var(--ui-border);background:var(--ui-surface)}.accountability-account-panel .stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:9px;gap:9px}.accountability-account-panel .stat-card{min-width:0;border:1px solid var(--ui-border);border-radius:10px;padding:12px;background:var(--ui-surface)}.accountability-account-panel .stat-card__value{font-size:clamp(18px,2vw,24px);color:var(--ui-text);overflow-wrap:anywhere}.accountability-account-panel .accountability-overview-meta{display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--ui-text-secondary);font-size:13px}.accountability-account-panel .accountability-overview-meta strong{color:var(--ui-text)}.accountability-account-panel .accountability-secondary-totals{border-top:1px solid var(--ui-surface-muted);padding-top:12px;color:var(--ui-text-secondary)}.accountability-account-panel .accountability-secondary-totals summary{width:-moz-fit-content;width:fit-content;cursor:pointer;font-size:13px;font-weight:650}.accountability-account-panel .accountability-secondary-totals .detail-grid{margin-top:12px}.accountability-payout-context{display:grid;grid-gap:5px;gap:5px;border-left:3px solid var(--ui-border-strong);border-radius:0 8px 8px 0;padding:10px 12px;background:var(--ui-surface-subtle);font-size:13px}.accountability-payout-context strong{color:var(--ui-text)}.accountability-review .searchable-select{min-width:0}.accountability-review .searchable-select__trigger{min-height:42px}.accountability-account-directory>summary{width:-moz-fit-content;width:fit-content;cursor:pointer;font-size:15px;font-weight:700}.accountability-account-directory[open]>summary{margin-bottom:12px}.accountability-account-panel .detail-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.accountability-account-panel .accountability-ledger-filters{display:grid;grid-template-columns:minmax(180px,.7fr) repeat(2,minmax(150px,1fr));align-items:end;grid-gap:12px;gap:12px}.accountability-account-panel .accountability-ledger-filters>div:first-child{grid-column:1/-1}.accountability-account-panel .accountability-ledger-filters>.field-grid{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.accountability-account-panel .record-card{border-color:var(--ui-border);border-radius:10px;background:var(--ui-surface);box-shadow:none}.accountability-account-panel .record-card:hover{border-color:var(--ui-border);box-shadow:0 4px 14px rgb(53 41 32/5%)}.accountability-account-panel .action-row>button,.accountability-workspace .action-row>button,.equipment-workspace .action-row>button,.inventory-workspace .action-row>button{min-height:38px}@media (max-width:640px){.accountability-account-panel .accountability-ledger-filters{grid-template-columns:minmax(0,1fr)}.accountability-account-panel .accountability-ledger-filters>div:first-child{grid-column:auto}.accountability-account-panel .section-header,.accountability-workspace .section-header{align-items:flex-start}.accountability-account-panel .stat-grid{grid-template-columns:minmax(0,1fr)}}.accountability-workspace .accountability-file-input{display:block;width:100%;min-width:0;max-width:100%;overflow:hidden;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);color:var(--ui-text-secondary);font-size:13px}.accountability-workspace .accountability-file-input::-webkit-file-upload-button{margin:-1px 10px -1px -1px;padding:10px 12px;border:0;border-right:1px solid var(--ui-border);background:var(--ui-surface-subtle);color:var(--ui-text-secondary);font:inherit;font-weight:650;cursor:pointer}.accountability-workspace .accountability-file-input::file-selector-button{margin:-1px 10px -1px -1px;padding:10px 12px;border:0;border-right:1px solid var(--ui-border);background:var(--ui-surface-subtle);color:var(--ui-text-secondary);font:inherit;font-weight:650;cursor:pointer}table{width:100%;border-collapse:collapse}th{color:var(--ui-text-secondary);font-size:12px;font-weight:750;letter-spacing:0;text-transform:none}td,th{border-bottom:1px solid var(--ui-border)}tbody tr{transition:background .12s ease}tbody tr:hover{background:var(--ui-surface-subtle)}@keyframes panel-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1024px){.app-sidebar__nav{flex-direction:row;overflow-x:auto;padding-bottom:4px}.app-sidebar__link{white-space:nowrap}}@media (max-width:640px){.page-title{font-size:24px}.page-card{padding:16px;border-radius:14px}.app-header__title,.candidate-table-wrap{display:none}.candidate-mobile-list{display:grid;grid-gap:10px;gap:10px}.candidate-mobile-card{display:grid;grid-gap:8px;gap:8px;color:inherit}.notification-bell__trigger{font-size:0}}.object-table-scroll{overflow-x:auto;padding:0}.object-detail-page .page-card{border-color:var(--ui-border);border-radius:11px;box-shadow:none;animation:none}.object-detail-page .page-card:hover{border-color:var(--ui-border);box-shadow:none}.object-detail-page .hero-card:before{display:none}.object-detail-page .hero-card .detail-grid{gap:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:10px}.object-detail-page .hero-card .detail-field{padding:12px 14px;border-right:1px solid var(--ui-border)}.object-detail-page .hero-card .detail-field:last-child{border-right:0}.object-detail-page .record-card{border-color:var(--ui-border);border-radius:10px;background:var(--ui-surface-subtle);box-shadow:none}.dashboard-workspace .page-muted{max-width:680px;margin:6px 0 0;line-height:1.5}.object-registry-table{width:100%;min-width:1120px;border-collapse:collapse}.object-registry-table td,.object-registry-table th{padding:12px 14px;border-bottom:1px solid var(--ui-border);text-align:left;vertical-align:top}.object-registry-table th{background:var(--ui-surface-subtle);color:var(--ui-text-tertiary);font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap}.object-table-sort{min-height:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}.object-table-sort:hover{background:transparent;color:var(--ui-text);transform:none}.order-completion-panel{display:grid;grid-gap:18px;gap:18px}.order-completion-summary{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.accountability-ledger-filters,.order-completion-form,.order-completion-history,.order-payment-correction{display:grid;grid-gap:14px;gap:14px}.order-completion-cycle,.order-payment-card{display:grid;grid-gap:12px;gap:12px;border:1px solid var(--ui-border);border-radius:14px;padding:14px;background:var(--ui-surface-subtle)}.accountability-ledger-filters label,.order-completion-wide-field,.order-payment-card label{display:grid;grid-gap:6px;gap:6px}.order-completion-wide-field{grid-column:1/-1}.order-completion-warning,.order-payment-note{border-left:3px solid var(--ui-warning);border-radius:8px;padding:10px 12px;background:var(--ui-warning-subtle);color:var(--ui-warning);font-size:13px;line-height:1.45}.order-completion-warning{display:grid;grid-gap:8px;gap:8px}.order-completion-closed-state{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--ui-success-border);border-radius:14px;padding:14px;background:var(--ui-success-subtle)}.order-payment-history-list,.order-payment-history-row{display:grid;grid-gap:8px;gap:8px}.order-payment-history-row{border-top:1px solid var(--ui-border);padding-top:10px}.order-payment-history-row[data-payment-status=reversed]{color:var(--ui-text-tertiary)}.order-payment-history-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-payment-history-amount{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.form-error{color:var(--ui-danger);font-size:13px;font-weight:650}.button-quiet{box-shadow:none}.one-time-order-registry{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);container:one-time-orders/inline-size}.one-time-order-registry>*{min-width:0;max-width:100%}.one-time-order-table-scroll{container-type:inline-size;overflow-x:auto;width:100%;min-width:0;max-width:100%;padding:0}.one-time-order-registry-table{width:100%;min-width:1320px;border-collapse:collapse;table-layout:fixed}.one-time-order-registry-table td,.one-time-order-registry-table th{padding:12px 14px;border-bottom:1px solid var(--ui-border);text-align:left;vertical-align:top;font-size:13px}.one-time-order-registry-table td:last-child,.one-time-order-registry-table th:last-child{width:44px;padding-right:10px;padding-left:4px;text-align:right}.one-time-order-registry-table th{background:var(--ui-surface-subtle);color:var(--ui-text-tertiary);font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap}.one-time-order-registry-table tbody tr:last-child td{border-bottom:0}.one-time-order-registry-table tbody tr{transition:background-color .12s ease}.one-time-order-preview-row{cursor:pointer}.one-time-order-preview-row:focus-visible{outline:2px solid rgba(15,49,201,.28);outline-offset:-2px}.one-time-order-registry-table tbody tr:hover{background:var(--ui-surface-subtle)}.one-time-order-table-sort{min-height:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}.one-time-order-table-sort:hover{background:transparent;color:var(--ui-text);transform:none}.one-time-order-table-meta{display:block;margin-top:4px;color:var(--ui-text-tertiary);font-size:12px;font-weight:400}.one-time-order-registry .data-table,.one-time-order-registry .one-time-order-registry-table{color:var(--ui-text);font-size:14px;line-height:1.4;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.one-time-order-registry .data-table td,.one-time-order-registry .data-table th,.one-time-order-registry .one-time-order-registry-table td,.one-time-order-registry .one-time-order-registry-table th{padding:13px 12px;border-bottom-color:var(--ui-border);vertical-align:middle}.one-time-order-registry .data-table td,.one-time-order-registry .one-time-order-registry-table td{color:var(--ui-text);font-size:14px}.one-time-order-registry .one-time-order-registry-table tbody td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.one-time-order-registry .data-table thead th,.one-time-order-registry .one-time-order-registry-table.one-time-order-registry-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2;padding:11px 12px;background:var(--ui-surface-muted);box-shadow:inset 0 -1px 0 var(--ui-border);color:var(--ui-text-secondary);font-size:12.5px;font-weight:700;letter-spacing:.015em}.one-time-order-registry .one-time-order-registry-table thead th .one-time-order-table-sort{color:inherit}.one-time-order-registry .data-table tbody tr:hover,.one-time-order-registry .one-time-order-registry-table tbody tr:hover{background:var(--ui-surface-subtle)}.one-time-order-registry .data-table td:first-child strong,.one-time-order-registry .one-time-order-registry-table td:first-child a{display:block;overflow:hidden;color:var(--ui-text);font-size:15px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.one-time-order-registry .one-time-order-table-meta{display:block;overflow:hidden;margin-top:3px;color:var(--ui-text-tertiary);font-size:13px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.one-time-order-execution-date{color:var(--ui-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.one-time-order-form{display:grid;grid-gap:16px;gap:16px;border-color:var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);color:var(--ui-text);font-family:var(--ui-font-sans)}.one-time-order-form__fields{gap:14px!important}.one-time-order-form label{min-width:0;color:var(--ui-text-secondary);font-size:var(--ui-text-sm);font-weight:600}.one-time-order-form input:not([type=radio]):not([type=checkbox]),.one-time-order-form select,.one-time-order-form textarea{min-width:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:var(--ui-text-sm)}.one-time-order-form input:not([type=radio]):not([type=checkbox]):focus,.one-time-order-form select:focus,.one-time-order-form textarea:focus{border-color:var(--ui-focus-border);outline:var(--ui-focus-ring)}.one-time-order-form input[type=checkbox]{accent-color:var(--ui-accent)}.one-time-order-form>div:last-child button[type=submit]{min-height:40px;border:1px solid var(--ui-accent);border-radius:var(--ui-radius-sm);padding:9px 14px;background:var(--ui-accent);color:var(--ui-text-inverse);font:inherit;font-size:var(--ui-text-sm);font-weight:700;cursor:pointer}.one-time-order-form>div:last-child button[type=submit]:hover:not(:disabled){background:var(--ui-accent-hover)}.one-time-order-form>div:last-child button[type=submit]:disabled{cursor:wait;opacity:.65}.one-time-order-date-mode{display:grid;grid-gap:10px;gap:10px;min-width:0;margin:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);padding:12px;background:var(--ui-surface);color:var(--ui-text);font:inherit}.one-time-order-date-mode legend{padding:0 6px;color:var(--ui-text);font-size:var(--ui-text-sm);font-weight:700}.one-time-order-date-mode__options{display:flex;flex-wrap:wrap;gap:8px}.one-time-order-date-mode__option{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);padding:7px 10px;background:var(--ui-surface-subtle);color:var(--ui-text-secondary);font-size:var(--ui-text-sm);line-height:1.25;cursor:pointer}.one-time-order-date-mode__option:has(input:checked){border-color:var(--ui-border-strong);background:var(--ui-accent-subtle);color:var(--ui-accent)}.one-time-order-date-mode__option input[type=radio]{width:16px;height:16px;margin:0;accent-color:var(--ui-accent)}.one-time-order-date-mode__option:focus-within{outline:2px solid color-mix(in srgb,var(--ui-accent) 28%,transparent);outline-offset:2px}.one-time-order-specification-progress{display:inline-flex;min-width:46px;align-items:center;justify-content:center;gap:5px;padding:4px 7px;border:1px solid var(--ui-border);border-radius:6px;background:var(--ui-surface-muted);color:var(--ui-text-secondary);font-size:13px;font-weight:600;line-height:1.2;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.one-time-order-specification-progress strong{color:var(--ui-text);font-weight:700}.one-time-order-specification-progress[data-complete=true]{border-color:var(--ui-success-border);background:var(--ui-success-subtle);color:var(--ui-success)}.one-time-order-specification-progress[data-complete=true] strong{color:var(--ui-success)}@container (max-width: 1240px){.one-time-order-registry-table{min-width:0;width:100%}.one-time-order-registry-table td:nth-child(8),.one-time-order-registry-table th:nth-child(8){display:none}.one-time-order-registry-table th:first-child{width:20%}.one-time-order-registry-table th:nth-child(2){width:12%}.one-time-order-registry-table th:nth-child(3){width:14%}.one-time-order-registry-table th:nth-child(4){width:10%}.one-time-order-registry-table th:nth-child(5){width:14%}.one-time-order-registry-table th:nth-child(6){width:9%}.one-time-order-registry-table th:nth-child(7){width:7%}.one-time-order-registry-table th:nth-child(9){width:10%}.one-time-order-registry-table th:nth-child(10){width:4%}}@container (max-width: 1100px){.one-time-order-registry-table td:nth-child(6),.one-time-order-registry-table th:nth-child(6){display:none}.one-time-order-registry-table th:first-child{width:21%}.one-time-order-registry-table th:nth-child(2){width:13%}.one-time-order-registry-table th:nth-child(3){width:16%}.one-time-order-registry-table th:nth-child(4){width:12%}.one-time-order-registry-table th:nth-child(5){width:17%}.one-time-order-registry-table th:nth-child(7){width:8%}.one-time-order-registry-table th:nth-child(9){width:10%}.one-time-order-registry-table th:nth-child(10){width:3%}}@container (max-width: 980px){.one-time-order-registry-table th:first-child{width:22%}.one-time-order-registry-table th:nth-child(2){width:13%}.one-time-order-registry-table th:nth-child(3){width:15%}.one-time-order-registry-table th:nth-child(4){width:13%}.one-time-order-registry-table th:nth-child(5){width:17%}.one-time-order-registry-table th:nth-child(7){width:8%}.one-time-order-registry-table th:nth-child(9){width:9%}.one-time-order-registry-table th:nth-child(10){width:3%}}@container (max-width: 760px){.one-time-order-registry-table td:nth-child(7),.one-time-order-registry-table th:nth-child(7){display:none}.one-time-order-registry-table th:first-child{width:25%}.one-time-order-registry-table th:nth-child(2){width:14%}.one-time-order-registry-table th:nth-child(3){width:18%}.one-time-order-registry-table th:nth-child(4){width:13%}.one-time-order-registry-table th:nth-child(5){width:18%}.one-time-order-registry-table th:nth-child(9){width:9%}.one-time-order-registry-table th:nth-child(10){width:3%}}.one-time-order-table-actions{display:flex;justify-content:flex-end}.one-time-order-preview-trigger{display:inline-grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:var(--ui-text-disabled);box-shadow:none;font-size:25px;line-height:1;text-decoration:none;transition:color .12s ease,background-color .12s ease}.one-time-order-preview-trigger:hover:not(:disabled){background:var(--ui-surface-muted);color:var(--ui-text-secondary);box-shadow:none;transform:none}.one-time-order-preview-trigger:focus-visible{outline:2px solid rgba(15,49,201,.25);outline-offset:2px}@media (max-width:640px){.one-time-order-registry-table td:last-child{display:flex;justify-content:flex-end;padding:8px 12px}.one-time-order-registry-table td:last-child:before{display:none}}.one-time-order-review-section{scroll-margin-top:88px}.order-detail-page .hero-card:before{display:none}.order-detail-page .hero-card .detail-grid{gap:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:10px}.order-detail-page .hero-card .detail-field{padding:12px 14px;border-right:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border)}.order-detail-page .order-completion-cycle,.order-detail-page .order-payment-card{border-color:var(--ui-border);border-radius:10px;background:var(--ui-surface-subtle)}.one-time-calendar-page .one-time-calendar__legend{padding-inline:2px}.one-time-calendar-page .calendar-modal{border-color:var(--ui-border);border-radius:12px;box-shadow:0 20px 50px rgb(53 41 32/14%)}.one-time-calendar{display:grid;grid-gap:14px;gap:14px;min-width:0}.one-time-calendar__toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px) auto;grid-gap:14px;gap:14px;align-items:end}.one-time-calendar__actions,.one-time-calendar__legend,.one-time-calendar__month-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.one-time-calendar__manager-filter{display:grid;grid-gap:6px;gap:6px;color:var(--ui-text-tertiary);font-size:13px;font-weight:650}.one-time-calendar__manager-filter select{width:100%}.one-time-calendar__legend{color:var(--ui-text-tertiary);font-size:12px}.one-time-calendar__availability,.one-time-calendar__legend span,.one-time-calendar__pending,.one-time-calendar__warning{border:1px solid var(--ui-border);border-radius:999px;padding:3px 7px;line-height:1.25}.one-time-calendar [data-availability=day_off]{border-color:var(--ui-success-border);background:var(--ui-success-subtle);color:var(--ui-success)}.one-time-calendar [data-availability=vacation]{border-color:var(--ui-warning-border);background:var(--ui-warning-subtle);color:var(--ui-warning)}.one-time-calendar [data-availability=sick_leave]{border-color:var(--ui-danger-border);background:var(--ui-danger-subtle);color:var(--ui-danger)}.calendar-modal__warning,.one-time-calendar__legend-warning,.one-time-calendar__warning{border-color:var(--ui-warning-border)!important;background:var(--ui-warning-subtle)!important;color:var(--ui-warning)!important}.one-time-calendar__error{border-color:var(--ui-danger-border);color:var(--ui-danger)}.one-time-calendar__grid-shell{max-height:calc(100vh - 300px);min-height:360px;overflow:auto;padding:0;scrollbar-gutter:stable}.one-time-calendar__grid{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.one-time-calendar__grid td,.one-time-calendar__grid th{width:116px;min-width:116px;max-width:116px;height:92px;border-right:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border);padding:7px;vertical-align:top;background:var(--ui-surface)}.one-time-calendar__grid thead th{position:-webkit-sticky;position:sticky;top:0;z-index:20;height:58px;background:var(--ui-surface-subtle);text-align:center}.one-time-calendar__grid thead th>span,.one-time-calendar__grid thead th>strong{display:block}.one-time-calendar__grid thead th>span{color:var(--ui-text-tertiary);font-size:10px}.one-time-calendar__grid td{cursor:pointer;transition:background .12s ease,box-shadow .12s ease}.one-time-calendar__grid td:focus-visible,.one-time-calendar__grid td:hover{position:relative;z-index:4;outline:0;background:var(--ui-surface-hover);box-shadow:inset 0 0 0 2px var(--ui-focus-border)}.one-time-calendar__grid .is-weekend{background:var(--ui-accent-subtle)}.one-time-calendar__grid [data-today=true]{background:var(--ui-accent-subtle);box-shadow:inset 0 3px 0 var(--ui-accent)}.one-time-calendar__grid [data-conflict=true]{background:var(--ui-warning-subtle)}.one-time-calendar__manager-cell,.one-time-calendar__worked-cell{position:-webkit-sticky;position:sticky;z-index:10;background:var(--ui-surface)!important}.one-time-calendar__manager-cell{left:0;width:220px!important;min-width:220px!important;max-width:220px!important;text-align:left!important;box-shadow:9px 0 12px -12px rgba(40,49,71,.34)}.one-time-calendar__worked-cell{right:0;width:78px!important;min-width:78px!important;max-width:78px!important;text-align:center!important;box-shadow:-9px 0 12px -12px rgba(40,49,71,.34)}.one-time-calendar__grid thead .one-time-calendar__manager-cell,.one-time-calendar__grid thead .one-time-calendar__worked-cell{z-index:30;background:var(--ui-surface-subtle)!important}.one-time-calendar__manager-cell span,.one-time-calendar__manager-cell strong,.one-time-calendar__worked-cell span,.one-time-calendar__worked-cell strong{display:block}.one-time-calendar__manager-cell span,.one-time-calendar__worked-cell span{margin-top:4px;color:var(--ui-text-tertiary);font-size:11px;font-weight:500}.one-time-calendar__day-content{display:grid;grid-gap:4px;gap:4px;min-width:0}.one-time-calendar__day-content>a,.one-time-calendar__more{display:block;overflow:hidden;color:var(--ui-accent);font-size:11px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.one-time-calendar__availability,.one-time-calendar__pending,.one-time-calendar__warning{display:block;overflow:hidden;font-size:9px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.one-time-calendar__pending{border-color:var(--ui-info-border);background:var(--ui-accent-subtle);color:var(--ui-accent)}.one-time-calendar__mobile{display:none;gap:10px}.one-time-calendar__mobile-day{width:100%;display:grid;grid-template-columns:minmax(130px,.7fr) minmax(0,1fr);grid-gap:12px;gap:12px;align-items:center;text-align:left}.one-time-calendar__mobile-day[data-today=true]{border-color:var(--ui-accent);background:var(--ui-accent-subtle)}.one-time-calendar__mobile-day[data-conflict=true]{border-color:var(--ui-warning-border)}.one-time-calendar__mobile-date,.one-time-calendar__mobile-summary{display:grid;grid-gap:3px;gap:3px}.one-time-calendar__mobile-date span,.one-time-calendar__mobile-summary{color:var(--ui-text-tertiary);font-size:12px}.calendar-modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow-y:auto;padding:24px;background:rgba(15,23,42,.44)}.calendar-modal{width:min(680px,100%);max-height:calc(100vh - 48px);display:grid;grid-gap:14px;gap:14px;overflow-y:auto;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface);padding:18px;box-shadow:var(--ui-shadow-md)}.calendar-modal--form{width:min(560px,100%)}.calendar-modal label,.calendar-modal__section{display:grid;grid-gap:7px;gap:7px}.calendar-modal label>span,.calendar-modal__section>p,.calendar-modal__section>span{margin:0;color:var(--ui-text-tertiary);font-size:13px}.calendar-modal__section{border:1px solid var(--ui-border);border-radius:12px;padding:12px}.calendar-modal__section--pending{border-color:var(--ui-info-border);background:var(--ui-accent-subtle)}.calendar-modal__warning{border:1px solid;border-radius:10px;padding:9px 11px;font-size:13px;font-weight:700}.calendar-modal__order{display:grid;grid-gap:3px;gap:3px;border-top:1px solid var(--ui-border);padding-top:9px}.calendar-modal__order span{color:var(--ui-text-tertiary);font-size:12px;font-weight:500}.calendar-modal__date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}@media (max-width:1180px){.one-time-calendar__toolbar{grid-template-columns:1fr 280px}.one-time-calendar__actions{grid-column:1/-1}}@media (max-width:700px){.order-completion-summary{grid-template-columns:1fr}.order-completion-closed-state,.order-payment-history-main{align-items:stretch;flex-direction:column}.order-payment-history-amount{white-space:normal}.calendar-modal__date-grid,.one-time-calendar__toolbar{grid-template-columns:1fr}.one-time-calendar__actions,.one-time-calendar__month-nav{align-items:stretch;flex-direction:column}.one-time-calendar__actions a,.one-time-calendar__actions button,.one-time-calendar__month-nav button,.one-time-calendar__month-nav input{width:100%;justify-content:center}.one-time-calendar__grid-shell{display:none}.one-time-calendar__mobile{display:grid}.calendar-modal-backdrop{padding:0}.calendar-modal{width:100%;min-height:100vh;max-height:100vh;border:0;border-radius:0}}@media (max-width:640px){.object-table-scroll{margin-inline:-4px}.object-registry-table td,.object-registry-table th{padding:10px 12px}.one-time-order-table-scroll{overflow:visible;padding:12px}.one-time-order-registry-table,.one-time-order-registry-table tbody,.one-time-order-registry-table td,.one-time-order-registry-table tr{display:block;width:100%;min-width:0}.one-time-order-registry-table thead{display:none}.one-time-order-registry-table tr{margin-bottom:12px;overflow:hidden;border:1px solid var(--ui-border);border-radius:10px}.one-time-order-registry-table tr:last-child{margin-bottom:0}.one-time-order-registry-table td{display:grid;grid-template-columns:92px minmax(0,1fr);grid-gap:10px;gap:10px;padding:9px 12px;border-bottom:1px solid var(--ui-border)}.one-time-order-registry .one-time-order-registry-table tbody td{overflow:visible;text-overflow:clip;white-space:normal}.one-time-order-registry .one-time-order-registry-table td:first-child a,.one-time-order-registry .one-time-order-table-meta{white-space:normal;overflow-wrap:anywhere}.one-time-order-registry-table td:before{content:attr(data-label);color:var(--ui-text-tertiary);font-size:12px;font-weight:700;letter-spacing:0;text-transform:none}}.timesheet-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(40,49,71,.04);min-width:0}.timesheet-card__meta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px;font-size:14px;color:var(--ui-text-secondary)}.timesheet-shell{overflow-x:auto;overflow-y:hidden;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface);-webkit-overflow-scrolling:touch}.timesheet-scroll,.timesheet-shell{position:relative;width:100%;min-width:0}.timesheet-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px}.timesheet-table td,.timesheet-table th{border-bottom:1px solid var(--ui-border);padding:8px 6px;text-align:center;background:var(--ui-surface);white-space:nowrap;background-clip:padding-box}.timesheet-table thead th{position:relative;color:var(--ui-text-secondary);z-index:1}.timesheet-table tfoot td,.timesheet-table thead th{background:var(--ui-surface-subtle);font-weight:600}.timesheet-table tbody tr:hover td{background:var(--ui-surface-hover)}.timesheet-table__name{text-align:left!important;font-weight:500}.timesheet-table__footer-label,.timesheet-table__grand-total,.timesheet-table__total{font-weight:700}.timesheet-table__sticky-left{position:-webkit-sticky;position:sticky;left:0;z-index:20;background:var(--ui-surface)!important;box-shadow:10px 0 14px -12px rgba(40,49,71,.2)}.timesheet-table tfoot .timesheet-table__sticky-left,.timesheet-table thead .timesheet-table__sticky-left{background:var(--ui-surface-subtle)!important;z-index:30}.timesheet-table__sticky-right{position:-webkit-sticky;position:sticky;right:0;z-index:20;background:var(--ui-surface)!important;box-shadow:-10px 0 14px -12px rgba(40,49,71,.2)}.timesheet-table tfoot .timesheet-table__sticky-right,.timesheet-table thead .timesheet-table__sticky-right{background:var(--ui-surface-subtle)!important;z-index:30}.timesheet-table__fact-cell{background:var(--ui-surface-subtle)!important}.timesheet-table__changed-cell,.timesheet-table__fact-cell.timesheet-table__changed-cell{background:var(--ui-warning-subtle)!important}.timesheet-table__summary{border-left:1px solid var(--ui-border);background:var(--ui-surface-subtle)!important}.timesheet-overview-filters{display:grid;align-items:end;margin-bottom:14px}.timesheet-overview-filters>label{display:grid;grid-gap:6px;gap:6px}.timesheet-overview-filters>button{min-height:42px}.timesheet-overview{display:grid;grid-gap:14px;gap:14px}.timesheet-overview__totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:0;gap:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface)}.timesheet-overview__totals>div{display:grid;grid-gap:4px;gap:4px;padding:12px 14px;border-right:1px solid var(--ui-border);background:var(--ui-surface)}.timesheet-overview__totals>div:last-child{border-right:0}.timesheet-overview-card__totals span,.timesheet-overview__totals span{color:var(--ui-text-tertiary);font-size:12px}.timesheet-overview__totals strong{color:var(--ui-text);font-size:18px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.02em}.timesheet-overview__desktop{min-width:0;border:1px solid var(--ui-border);border-radius:10px;overflow:hidden;background:var(--ui-surface)}.timesheet-overview__scroll{overflow-x:auto;overscroll-behavior-x:contain}.timesheet-overview__table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.timesheet-overview__table td,.timesheet-overview__table th{min-width:58px;padding:8px 7px;border-bottom:1px solid var(--ui-border);text-align:center;white-space:nowrap;background:var(--ui-surface)}.timesheet-overview__table th{position:-webkit-sticky;position:sticky;top:0;z-index:3;color:var(--ui-text-tertiary);background:var(--ui-surface-muted);font-weight:600}.timesheet-overview__table .is-employee,.timesheet-overview__table .is-object{position:-webkit-sticky;position:sticky;z-index:4;min-width:176px;max-width:176px;overflow:hidden;text-align:left;text-overflow:ellipsis}.timesheet-overview__table .is-object{left:0}.timesheet-overview__table .is-employee{left:176px;box-shadow:8px 0 12px -12px rgba(40,49,71,.32)}.timesheet-overview__table thead .is-employee,.timesheet-overview__table thead .is-object{z-index:6;background:var(--ui-surface-muted)}.timesheet-overview__table .is-summary{min-width:108px;border-left:1px solid var(--ui-border);background:var(--ui-surface-subtle);font-weight:650}.timesheet-overview__table .is-total{color:var(--ui-success);background:var(--ui-success-subtle)}.timesheet-overview__table .has-fact{background:var(--ui-surface-subtle)}.timesheet-overview__table tbody tr:hover td{background:var(--ui-surface-muted)}.timesheet-overview__table .is-manual{color:var(--ui-accent);background:var(--ui-accent-subtle);font-weight:700}.timesheet-overview__mobile{display:none}.timesheet-object-detail{margin-top:24px}.page-error{color:var(--ui-danger)}.attendance-hours-control{display:grid;grid-gap:6px;gap:6px;max-width:130px;margin-top:4px;color:var(--ui-text-tertiary);font-size:13px}.attachment-preview-stack{display:grid;grid-gap:10px;gap:10px}.attachment-image-grid{display:grid;grid-gap:8px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.attachment-image-grid--1{grid-template-columns:minmax(180px,320px)}.attachment-image-card{position:relative;display:block;min-height:130px;overflow:hidden;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface-subtle);color:var(--ui-text-inverse);box-shadow:var(--ui-shadow-sm)}.attachment-image-card-shell{position:relative;min-width:0}.attachment-image-card-shell .attachment-image-card{height:100%}.attachment-preview-skeleton{position:static!important;display:grid;min-height:180px;place-items:center;border-radius:0!important;background:var(--ui-surface-muted)!important;color:var(--ui-text-tertiary)}.attachment-download-link{position:absolute;right:8px;top:8px;z-index:1;border-radius:999px;background:rgba(255,255,255,.92);padding:5px 9px;color:var(--ui-text);font-size:12px;font-weight:700}.attachment-image-card img{width:100%;height:180px;display:block;object-fit:cover}.attachment-image-card span{position:absolute;left:8px;right:8px;bottom:8px;overflow:hidden;border-radius:999px;background:rgba(15,23,42,.62);color:var(--ui-text-inverse);padding:4px 8px;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.attachment-file-list,.pending-media-list{display:grid;grid-gap:8px;gap:8px}.attachment-file-card,.pending-media-item{display:flex;align-items:center;gap:10px;border:1px solid var(--ui-border);border-radius:13px;background:var(--ui-surface);padding:10px;color:inherit}.attachment-file-card{justify-content:space-between}.attachment-file-card__open{min-width:0;display:flex;flex:1 1;align-items:center;gap:10px;color:inherit}.attachment-file-card__actions{display:flex;flex:0 0 auto;gap:8px;font-size:12px;font-weight:700}.file-viewer-page{min-height:calc(100vh - 120px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface-muted)}.file-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);padding:14px 18px}.file-viewer-header h1{max-width:min(70vw,840px);overflow:hidden;margin:0;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.file-viewer-header p{margin:4px 0 0;color:var(--ui-text-tertiary);font-size:13px}.file-viewer-stage{min-height:0;flex:1 1;overflow:auto;padding:18px}.file-viewer-image{min-height:65vh;display:grid;place-items:center}.file-viewer-image img{max-width:100%;max-height:calc(100vh - 210px);object-fit:contain;box-shadow:var(--ui-shadow-md)}.file-viewer-image--original{display:block}.file-viewer-image--original img{max-width:none;max-height:none}.file-viewer-pdf{width:100%;min-height:calc(100vh - 210px);border:0;background:var(--ui-surface)}.file-viewer-text{max-width:1100px;margin:0 auto}.file-viewer-text>p{color:var(--ui-text-tertiary)}.file-viewer-text pre{overflow:auto;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);padding:18px;white-space:pre-wrap;word-break:break-word}.file-viewer-error,.file-viewer-loading,.file-viewer-state{min-height:260px;display:grid;align-content:center;justify-items:center;grid-gap:10px;gap:10px;color:var(--ui-text-tertiary);text-align:center}@media (max-width:720px){.file-viewer-header{align-items:stretch;flex-direction:column}.file-viewer-header h1{max-width:88vw}.file-viewer-stage{padding:8px}.attachment-file-card{align-items:stretch;flex-direction:column}.attachment-file-card__actions{justify-content:flex-end}}.attachment-file-card__icon,.pending-media-item__icon{display:inline-grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:11px;background:var(--ui-surface-subtle);color:var(--ui-text-tertiary);font-size:10px;font-weight:800;letter-spacing:.04em}.attachment-file-card__body,.pending-media-item__body{min-width:0;display:grid;grid-gap:2px;gap:2px}.attachment-file-card__body strong,.pending-media-item__body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-file-card__body span,.pending-media-item__body span{color:var(--ui-text-tertiary);font-size:12px}.pending-media-item img{width:54px;height:54px;flex:0 0 auto;border-radius:12px;object-fit:cover;background:var(--ui-surface-muted)}.pending-media-item button{margin-left:auto}@media (max-width:900px){.timesheet-card{padding:12px}.timesheet-table{min-width:1200px}.timesheet-overview-filters{grid-template-columns:1fr 1fr}.timesheet-overview-filters>button{width:100%}}@media (max-width:640px){.timesheet-overview-filters,.timesheet-overview__totals{grid-template-columns:1fr}.timesheet-overview__desktop{display:none}.timesheet-overview__totals>div{border-right:0;border-bottom:1px solid var(--ui-border)}.timesheet-overview__totals>div:last-child{border-bottom:0}.timesheet-overview__mobile{display:grid;grid-gap:10px;gap:10px}.timesheet-overview-card{display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface)}.timesheet-overview-card__header{display:grid;grid-gap:4px;gap:4px}.timesheet-overview-card__header span{color:var(--ui-text-tertiary);font-size:12px}.timesheet-overview-card__totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:7px;gap:7px}.timesheet-overview-card__totals>div{display:grid;grid-gap:4px;gap:4px;min-width:0;padding:9px;border-radius:10px;background:var(--ui-surface-muted)}.timesheet-overview-card__totals strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.timesheet-overview-card summary{cursor:pointer;color:var(--ui-text-secondary);font-weight:650}.timesheet-overview-card__days{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));grid-gap:5px;gap:5px;margin-top:10px}.timesheet-overview-card__days>div{display:grid;grid-gap:2px;gap:2px;padding:6px 3px;border-radius:8px;text-align:center;background:var(--ui-surface-muted)}.timesheet-overview-card__days span{color:var(--ui-text-tertiary);font-size:10px}.timesheet-overview-card__days strong{font-size:11px}.timesheet-overview-card__days .is-manual{color:var(--ui-accent);background:var(--ui-accent-subtle)}}.chat-layout{display:grid}.chat-main,.chat-room-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.chat-main.page-card,.chat-room-panel.page-card{padding:0}.chat-header,.chat-room-panel .section-header{flex:0 0 auto;border-bottom:1px solid var(--ui-border);padding:16px 18px}.chat-room-panel .section-header{align-items:center}.chat-icon-button{font-weight:800}.chat-room-list{flex:1 1;min-height:0;display:grid;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.chat-search-box{position:relative}.chat-search-box input{width:100%}.chat-search-results{position:absolute;z-index:4;overflow-y:auto;border:1px solid var(--ui-border);border-radius:12px;padding:8px;background:var(--ui-surface);box-shadow:var(--ui-shadow-md)}.chat-search-group{display:grid;grid-gap:4px;gap:4px}.chat-search-group+.chat-search-group{margin-top:10px;border-top:1px solid var(--ui-border);padding-top:10px}.chat-search-group>strong{padding:4px 8px;color:var(--ui-text-tertiary);font-size:12px}.chat-search-group button{display:grid;grid-gap:2px;gap:2px;width:100%;border-color:transparent;background:transparent;text-align:left}.chat-search-group small{overflow:hidden;color:var(--ui-text-tertiary);text-overflow:ellipsis;white-space:nowrap}.chat-room-item{width:100%;display:flex;justify-content:space-between;text-align:left}.chat-room-item:hover:not(:disabled){transform:none}.chat-room-item__main,.chat-room-item__meta{display:grid;min-width:0}.chat-room-item__main span,.chat-room-item__main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-archive-block{border-top:1px solid var(--ui-border)}.chat-archive-toggle{width:100%;justify-content:space-between}.chat-room-list--archive{flex:0 0 auto;max-height:260px;padding:10px 0 0}.chat-room-item--archived{align-items:center;border:1px dashed var(--ui-border-strong);background:var(--ui-surface-subtle)}.chat-room-item__open{flex:1 1;min-width:0;display:flex;justify-content:space-between;gap:10px;border:0;background:transparent;box-shadow:none;padding:0;text-align:left}.chat-room-item__open:hover{transform:none;box-shadow:none}.chat-unread{justify-self:end;border-radius:999px;display:inline-grid;place-items:center;font-weight:800}.chat-header{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:12px}.chat-header__actions,.chat-header__main{display:flex;gap:10px;align-items:center;min-width:0}.chat-header__actions{flex:0 0 auto;justify-content:flex-end;flex-wrap:wrap}.chat-room-menu-wrap{position:relative}.chat-room-menu__trigger{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;font-size:22px}.chat-room-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:10;display:grid;min-width:190px;padding:6px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);box-shadow:var(--ui-shadow-md)}.chat-room-menu button{min-height:42px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--ui-text-primary);text-align:left}.chat-room-menu button:focus-visible,.chat-room-menu button:hover{background:var(--ui-surface-muted);outline:none}.chat-room-menu button.is-danger{color:var(--ui-danger)}.chat-back-button{display:none;padding:7px 10px;box-shadow:none}.chat-room-type-badge{display:inline-flex;align-items:center}.chat-message-stage{position:relative;flex:1 1;min-height:0;display:flex}.chat-message-list{flex:1 1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.chat-bottom-sentinel{width:100%;height:1px;flex:0 0 auto}.chat-new-messages-button{position:absolute;left:50%;bottom:14px;z-index:3;transform:translateX(-50%);border-color:var(--ui-accent-subtle-hover);background:var(--ui-accent-subtle);color:var(--ui-accent);box-shadow:var(--ui-shadow-popover)}.chat-new-messages-button:hover:not(:disabled){transform:translateX(-50%) translateY(-1px)}.chat-unread-divider{display:flex;align-items:center;gap:10px;color:var(--ui-accent);font-size:12px;font-weight:700;text-transform:none;letter-spacing:0}.chat-history-loader{align-self:center;color:var(--ui-text-tertiary);font-size:12px}.chat-unread-divider:after,.chat-unread-divider:before{content:"";flex:1 1;height:1px;background:var(--ui-border)}.chat-unread-divider span{border:1px solid var(--ui-border);border-radius:999px;padding:4px 10px;background:var(--ui-surface-subtle)}.chat-message{position:relative}.chat-message--own{align-self:flex-end}.chat-latest-messages-button{position:absolute;right:18px;bottom:18px;z-index:3;box-shadow:var(--ui-shadow-md)}.chat-message--system{align-self:center;border-style:dashed;text-align:center}.chat-message__meta{display:flex;flex-wrap:wrap;align-items:center}.chat-message__more{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;border:1px solid transparent;border-radius:999px;background:transparent;font-size:20px;line-height:1;opacity:0;transition:opacity .12s ease,background .12s ease}.chat-message:focus-within .chat-message__more,.chat-message:hover .chat-message__more,.chat-message__more[aria-expanded=true]{opacity:1}.chat-message__footer{display:flex;align-items:center;gap:6px}.chat-reaction-group{position:relative}.chat-reaction-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 7px 3px 9px;border:1px solid var(--ui-border);border-radius:999px;font-size:12px}.chat-reaction-avatars{display:inline-flex;padding-left:3px}.chat-reaction-avatars>span{display:grid;place-items:center;width:20px;height:20px;margin-left:-4px;border:1px solid var(--ui-surface);border-radius:50%;font-size:10px;font-weight:700}.chat-message-menu,.chat-reaction-people{position:absolute;z-index:8;display:grid;min-width:180px;max-width:min(280px,calc(100vw - 32px));padding:6px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);box-shadow:var(--ui-shadow-md)}.chat-reaction-people{bottom:calc(100% + 6px);left:0;gap:2px}.chat-reaction-people>span{padding:7px 9px;color:var(--ui-text-primary);font-size:13px}.chat-message-menu{top:34px;right:8px;gap:2px}.chat-message-menu button{min-height:40px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--ui-text-primary);text-align:left}.chat-message-menu button:focus-visible,.chat-message-menu button:hover{background:var(--ui-surface-muted);outline:none}.chat-message__text{margin:8px 0 0;white-space:pre-wrap}.chat-composer-reply,.chat-reply-preview{display:flex;gap:8px;border-left:3px solid var(--ui-border-hover);padding:8px 10px;background:var(--ui-surface-muted);color:var(--ui-text-tertiary);font-size:12px}.chat-reply-preview{margin-top:8px;flex-direction:column}.chat-composer-reply span,.chat-reply-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer-reply{align-items:center;justify-content:space-between}.chat-composer-reply>div{min-width:0;display:grid;grid-gap:2px;gap:2px}.chat-forwarded-label{margin-top:8px;color:var(--ui-accent);font-size:12px;font-weight:700}.chat-composer,.chat-edit-box{display:grid;grid-gap:10px;gap:10px}.chat-composer{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;flex:0 0 auto;border-top:1px solid var(--ui-border)}.chat-pending-files{display:flex;flex-wrap:wrap;gap:8px}.quiet-button{margin-top:8px;padding:6px 10px;font-size:12px;box-shadow:none}.chat-empty{display:grid;place-items:center;min-height:220px;text-align:center}.chat-readonly-notice{flex:0 0 auto;border-top:1px solid var(--ui-border);padding:16px 18px;color:var(--ui-text-tertiary);background:var(--ui-surface)}.participant-picker{display:grid;grid-gap:10px;gap:10px}.participant-picker__chips{display:flex;flex-wrap:wrap;gap:8px;min-height:38px;align-items:center}.participant-picker__options{display:grid;grid-gap:6px;gap:6px;max-height:220px;overflow-y:auto}.participant-picker__options button{display:flex;justify-content:space-between;gap:10px;width:100%;text-align:left;box-shadow:none}.participant-picker__options small{display:block;margin-top:2px;color:var(--ui-text-tertiary);font-size:12px}@media (max-width:980px){.chat-layout{min-height:0;overflow:hidden}.chat-layout.chat-layout--room-list-open .chat-main,.chat-layout:not(.chat-layout--room-list-open) .chat-room-panel{display:none}.chat-main,.chat-room-panel{height:100%;min-height:0}.chat-back-button{display:inline-flex}.chat-message{width:min(92%,680px)}}@media (max-width:640px){.chat-main{height:100%}.chat-composer,.chat-header{padding-left:14px;padding-right:14px}.chat-header{align-items:stretch;flex-direction:column}.chat-header__actions{justify-content:flex-start}.chat-message__more{width:40px;height:40px;opacity:1}.chat-message-menu{position:fixed;top:auto;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;max-width:none}.chat-message-menu button,.chat-room-menu button{min-height:48px}}.searchable-select{position:relative;display:grid;grid-gap:6px;gap:6px;min-width:0}.searchable-select__trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-2);width:100%;min-height:var(--ui-control-lg);border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-md);padding:8px 10px 8px 11px;background:var(--ui-surface);color:var(--ui-text);box-shadow:none;font:inherit;font-size:var(--ui-text-md);font-weight:400;line-height:var(--ui-leading-normal);text-align:left}.searchable-select__trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select__chevron{flex:0 0 auto;color:var(--ui-text-tertiary);transition:transform var(--ui-duration-fast) var(--ui-ease-standard)}.searchable-select__trigger[aria-expanded=true] .searchable-select__chevron{transform:rotate(180deg)}.searchable-select__trigger:hover:not(:disabled),.searchable-select__trigger[aria-expanded=true]{border-color:var(--ui-border-hover);background:var(--ui-surface-hover);box-shadow:none;transform:none}.searchable-select__trigger:focus-visible{outline:0;border-color:var(--ui-focus-border);box-shadow:var(--ui-focus-ring)}.searchable-select__popover{position:absolute;z-index:40;top:calc(100% + 5px);left:0;width:max(100%,240px);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);padding:8px;background:var(--ui-surface);box-shadow:var(--ui-shadow-popover);display:grid;grid-template-rows:auto minmax(0,1fr);max-height:var(--anchored-popover-max-height,340px);overflow:hidden}.searchable-select__popover[data-placement=top]{top:auto;bottom:calc(100% + 5px)}.searchable-select__popover input{width:100%;margin-bottom:6px}.searchable-select__options{display:grid;min-height:0;max-height:min(240px,calc(var(--anchored-popover-max-height, 340px) - 58px));overflow-y:auto}.searchable-select__options button{display:grid;grid-gap:2px;gap:2px;border:0;border-radius:7px;padding:8px 9px;background:transparent;color:var(--ui-text);text-align:left}.searchable-select__option-label{font-size:13px;font-weight:650}.searchable-select__option-description{color:var(--ui-text-tertiary);font-size:12px;font-weight:400;line-height:1.35}.searchable-select__options button.is-active,.searchable-select__options button:hover,.searchable-select__options button[aria-selected=true]{background:var(--ui-surface-muted)}.searchable-select__empty{padding:10px;color:var(--ui-text-tertiary)}.task-detail-page .page-card{border-color:var(--ui-border);border-radius:11px;box-shadow:none;animation:none}.task-detail-page .page-card:hover,.task-detail-page .record-card{border-color:var(--ui-border);box-shadow:none}.task-detail-page .record-card{border-radius:10px;background:var(--ui-surface-subtle)}.task-registry .task-table a{color:var(--ui-text);text-decoration:none}.task-registry .task-table a:hover{color:var(--ui-accent);text-decoration:underline}.task-registry .task-table .registry-open-cell a{color:var(--ui-text-tertiary);text-decoration:none}.task-registry .task-table .registry-open-cell a:hover{color:var(--ui-text-secondary);background:var(--ui-surface-muted);text-decoration:none}@media (max-width:900px){.one-time-calendar__toolbar,.task-filters,.workspace-page .filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-page .task-field--search{grid-column:1/-1}.object-detail-page .hero-card .detail-grid,.order-detail-page .hero-card .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.object-detail-page .hero-card .detail-field:nth-child(2n),.order-detail-page .hero-card .detail-field:nth-child(2n){border-right:0}}@media (max-width:640px){.workspace-page{gap:12px}.workspace-surface.page-card{padding:14px}.workspace-page .registry-header,.workspace-page .task-page-heading{align-items:stretch;flex-direction:column}.object-detail-page .hero-card .detail-grid,.one-time-calendar__toolbar,.order-detail-page .hero-card .detail-grid,.task-filters,.workspace-page .filter-panel{grid-template-columns:minmax(0,1fr)}.object-detail-page .hero-card .detail-field,.order-detail-page .hero-card .detail-field{border-right:0;border-bottom:1px solid var(--ui-border)}.object-detail-page .hero-card .detail-field:last-child,.order-detail-page .hero-card .detail-field:last-child{border-bottom:0}}.chat-page-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-page-stack{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:0;overflow:hidden}.chat-page-stack :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.chat-layout{flex:1 1 auto;width:100%;height:auto;min-height:0;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:6px;overflow:hidden}.chat-main.page-card,.chat-room-panel.page-card{border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);color:var(--ui-text);box-shadow:none;animation:none}.chat-main.page-card:hover,.chat-room-panel.page-card:hover{border-color:var(--ui-border);box-shadow:none;transform:none}.chat-header,.chat-room-panel .section-header{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.chat-room-panel .section-header{min-height:68px;padding:12px 16px}.chat-header .section-title,.chat-room-panel .section-title{color:var(--ui-text);font-size:16px;font-weight:650;letter-spacing:0}.chat-header .section-subtitle,.chat-page-stack .page-muted,.chat-room-panel .section-subtitle{color:var(--ui-text-tertiary)}.chat-icon-button{min-width:40px;min-height:40px;padding:0 12px;border-color:transparent;border-radius:50%;background:transparent;color:var(--ui-accent);font-size:13px;box-shadow:none}.chat-icon-button:hover:not(:disabled){background:var(--ui-surface-hover);color:var(--ui-accent);box-shadow:none;transform:none}.chat-search-box{padding:10px 12px;border-bottom:1px solid var(--ui-border)}.chat-page-stack input,.chat-page-stack select,.chat-page-stack textarea,.chat-search-box input{min-height:42px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);color:var(--ui-text);box-shadow:none}.chat-page-stack input::placeholder,.chat-page-stack textarea::placeholder,.chat-search-box input::placeholder{color:var(--ui-text-disabled)}.chat-room-list{align-content:start;gap:2px;padding:8px;background:var(--ui-surface)}.chat-room-item{min-height:68px;align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:9px 10px;background:transparent;color:var(--ui-text);box-shadow:none;transition:background .12s ease,border-color .12s ease}.chat-room-item:hover:not(:disabled){background:var(--ui-surface-hover)}.chat-room-item--active{border-color:transparent;box-shadow:none}.chat-room-item--active,.chat-room-item--active:hover:not(:disabled){background:var(--ui-accent-subtle)}.chat-room-item__main,.chat-room-item__meta{gap:4px}.chat-room-item__main strong{color:var(--ui-text);font-size:14px;font-weight:600}.chat-room-item__main span,.chat-room-item__meta{color:var(--ui-text-tertiary);font-size:12px}.chat-room-item__meta{justify-items:end;align-content:center;white-space:nowrap}.chat-room-type-badge{border-radius:999px}.chat-room-item--active .chat-room-item__meta{color:var(--ui-text)}.chat-unread{min-width:20px;height:20px;background:var(--ui-accent);color:white;font-size:11px}.chat-archive-block{border-color:var(--ui-border);padding:10px 12px 12px;background:var(--ui-surface)}.chat-archive-toggle{min-height:42px;border-radius:10px;box-shadow:none}.chat-header{min-height:68px;padding:10px 16px}.chat-header,.chat-header__main{align-items:center}.chat-header .section-subtitle{display:flex;align-items:center;gap:8px;margin-top:3px}.chat-room-type-badge{padding:0;background:transparent;color:var(--ui-text-tertiary);font-size:12px;font-weight:500}.chat-back-button,.chat-room-menu__trigger{width:40px;height:40px;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--ui-text-secondary);box-shadow:none}.chat-back-button:hover:not(:disabled),.chat-room-menu__trigger:hover{background:var(--ui-surface-hover);color:var(--ui-text);box-shadow:none}.chat-message-list{gap:6px;padding:16px clamp(14px,3vw,36px);background:var(--ui-surface-hover)}.chat-message-list,.chat-room-list,.chat-search-results,.participant-picker__options{scrollbar-width:thin;scrollbar-color:var(--ui-border-strong) transparent}.chat-message-list::-webkit-scrollbar,.chat-room-list::-webkit-scrollbar,.chat-search-results::-webkit-scrollbar,.participant-picker__options::-webkit-scrollbar{width:8px}.chat-message-list::-webkit-scrollbar-thumb,.chat-room-list::-webkit-scrollbar-thumb,.chat-search-results::-webkit-scrollbar-thumb,.participant-picker__options::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:var(--ui-surface-pressed);background-clip:padding-box}.chat-message{width:-moz-fit-content;width:fit-content;max-width:min(76%,720px);min-width:72px;border:1px solid transparent;border-radius:16px 16px 16px 5px;padding:8px 11px 7px;background:var(--ui-surface);color:var(--ui-text);box-shadow:none}.chat-message--own{border-color:transparent;border-radius:16px 16px 5px 16px;background:var(--ui-accent-subtle)}.chat-message--highlighted{border-color:var(--ui-warning);background:var(--ui-warning-subtle);box-shadow:0 0 0 2px rgba(230,169,58,.2)}.chat-message--system{width:-moz-fit-content;width:fit-content;max-width:88%;min-width:0;border:0;border-radius:12px;padding:5px 10px;background:var(--ui-surface-pressed);color:var(--ui-text-secondary);box-shadow:none}.chat-message__meta{min-height:22px;gap:7px;color:var(--ui-text-tertiary);font-size:11px}.chat-message__meta strong{color:var(--ui-info);font-size:12px;font-weight:600}.chat-message--own .chat-message__meta strong{color:var(--ui-info)}.chat-message__text{margin-top:3px;color:inherit;line-height:1.4;overflow-wrap:anywhere}.chat-message__more{width:28px;height:28px;color:var(--ui-text-secondary)}.chat-message__more:hover{border-color:var(--ui-border);background:var(--ui-surface-hover)}.chat-message__footer{min-height:24px;margin-top:4px}.chat-reaction-chip{min-height:26px;border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text-secondary)}.chat-message--own .chat-reaction-chip{border-color:var(--ui-info-border);background:var(--ui-accent-subtle)}.chat-reaction-avatars>span{border-color:var(--ui-surface);background:var(--ui-accent-subtle);color:var(--ui-text)}.chat-message-menu,.chat-reaction-people,.chat-room-menu,.chat-search-results{border-color:var(--ui-border);border-radius:12px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 12px 30px rgba(28,45,68,.16)}.chat-message-menu button,.chat-room-menu button{min-height:40px;border-radius:8px;color:var(--ui-text)}.chat-message-menu button:focus-visible,.chat-message-menu button:hover,.chat-room-menu button:focus-visible,.chat-room-menu button:hover{background:var(--ui-surface-hover)}.chat-message-menu button.is-danger,.chat-room-menu button.is-danger{border-top:1px solid var(--ui-border);margin-top:5px;padding-top:11px;color:var(--ui-danger)}.chat-composer{gap:8px;border-color:var(--ui-border);padding:10px 14px 12px;background:var(--ui-surface)}.chat-composer textarea{min-height:46px;max-height:128px;height:46px;padding:11px 14px;border-radius:24px;background:var(--ui-surface);line-height:22px;resize:none}.chat-composer__input-row{display:flex;min-width:0;align-items:flex-end;gap:8px}.chat-composer__input-row textarea{flex:1 1 auto;width:100%;min-width:0;min-height:42px;height:42px;max-height:128px;overflow-y:auto;padding:10px 16px;border-radius:22px;line-height:22px;resize:none}.chat-composer__input-row button[type=submit]{flex:0 0 auto;min-height:42px;border-radius:20px;background:var(--ui-accent);color:var(--ui-text-inverse);box-shadow:none}.chat-empty{color:var(--ui-text-tertiary)}.chat-search-results{top:calc(100% - 4px);right:12px;left:12px;max-height:min(360px,45dvh)}.chat-search-group small,.chat-search-group>strong{color:var(--ui-text-tertiary)}.chat-search-group button{color:var(--ui-text)}.chat-search-group button:hover{background:var(--ui-surface-hover)}.chat-archive-toggle{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}@media (max-width:980px){.chat-layout{height:auto;grid-template-columns:minmax(0,1fr)}}@media (max-width:640px){.chat-main.page-card,.chat-room-panel.page-card{border-radius:10px}.chat-message-list{padding:12px 10px}.chat-message{max-width:88%;padding:8px 10px}.chat-composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.chat-composer__input-row{gap:6px}.chat-composer__input-row button[type=submit]{min-height:42px;padding:0 12px;font-size:12px}}:root{--ui-font-sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ui-font-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--ui-text-xs:0.75rem;--ui-text-sm:0.8125rem;--ui-text-md:0.875rem;--ui-text-lg:1rem;--ui-text-xl:1.25rem;--ui-text-2xl:1.5rem;--ui-leading-tight:1.25;--ui-leading-normal:1.45;--ui-leading-relaxed:1.6;--ui-canvas:#f5f8fa;--ui-surface:#ffffff;--ui-surface-subtle:#f9fbfc;--ui-surface-muted:#eef3f6;--ui-surface-hover:#f2f6f8;--ui-surface-pressed:#e8eff4;--ui-text:#283147;--ui-text-secondary:#4b596d;--ui-text-tertiary:#64758a;--ui-text-disabled:#9aa6b2;--ui-text-inverse:#ffffff;--ui-border:#d8e3e9;--ui-border-strong:#b9c9d2;--ui-border-hover:#91a7b4;--ui-accent:#0f31c9;--ui-accent-hover:#0b29ac;--ui-accent-pressed:#09228d;--ui-accent-subtle:#edf1ff;--ui-accent-subtle-hover:#e4eafe;--ui-accent-contrast:#ffffff;--ui-accent-secondary:#27b9fe;--ui-accent-secondary-hover:#08a7ed;--ui-accent-secondary-subtle:#e6f7ff;--ui-accent-secondary-subtle-hover:#d5f2ff;--ui-accent-secondary-contrast:#283147;--ui-danger:#a83a35;--ui-danger-hover:#8f302c;--ui-danger-subtle:#fbefed;--ui-danger-border:#ebc8c4;--ui-warning:#98651f;--ui-warning-subtle:#fbf4e8;--ui-warning-border:#ead6af;--ui-success:#3f7254;--ui-success-subtle:#edf6ef;--ui-success-border:#c8dfce;--ui-info:#27627e;--ui-info-subtle:#eaf6fc;--ui-info-border:#b8d9e8;--ui-space-0:0;--ui-space-1:0.25rem;--ui-space-2:0.5rem;--ui-space-3:0.75rem;--ui-space-4:1rem;--ui-space-5:1.25rem;--ui-space-6:1.5rem;--ui-space-8:2rem;--ui-space-10:2.5rem;--ui-space-12:3rem;--ui-radius-xs:4px;--ui-radius-sm:6px;--ui-radius-md:8px;--ui-radius-lg:10px;--ui-radius-pill:999px;--ui-control-sm:30px;--ui-control-md:36px;--ui-control-lg:42px;--ui-shadow-sm:0 1px 2px rgba(40,49,71,0.04);--ui-shadow-md:0 14px 32px rgba(40,49,71,0.08);--ui-shadow-popover:0 12px 32px rgba(40,49,71,0.12),0 2px 8px rgba(40,49,71,0.06);--ui-shadow-dialog:0 24px 64px rgba(40,49,71,0.16),0 4px 12px rgba(40,49,71,0.08);--ui-duration-fast:120ms;--ui-duration-normal:160ms;--ui-ease-standard:cubic-bezier(0.2,0,0,1);--ui-focus-ring:0 0 0 3px rgba(15,49,201,0.2);--ui-focus-border:#0f31c9;--ui-sidebar-collapsed:68px;--ui-sidebar-expanded:236px;--ui-topbar-height:56px;--ui-content-max:1480px}@media (prefers-reduced-motion:reduce){:root{--ui-duration-fast:0ms;--ui-duration-normal:0ms}}