.record-cell-details,.calendar-day__count,.calendar-mobile-agenda{display:none}body:has(.modal-backdrop,.mobile-menu[open]){overflow:hidden}.mobile-menu{--accent-soft:color-mix(in srgb, var(--accent) 12%, var(--bg));color:var(--text);background:var(--bg);border:1px solid var(--line);overscroll-behavior:contain;width:100%;max-width:560px;max-height:92dvh;font-family:var(--font-display), sans-serif;border-radius:18px 18px 0 0;margin:auto auto 0;padding:0;overflow-y:auto}.mobile-menu::backdrop{background:#0000008c}.mobile-menu__body{padding:0 18px max(20px, env(safe-area-inset-bottom))}.mobile-menu__head{background:var(--bg);z-index:1;justify-content:space-between;align-items:center;padding-block:16px;display:flex;position:sticky;top:0}.mobile-menu__head h2{margin:0;font-size:22px}.mobile-menu__profile,.mobile-menu__links a{min-height:56px;color:var(--text);overflow-wrap:anywhere;border-radius:10px;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:10px 12px;font-size:15px;display:grid}.mobile-menu__profile{grid-template-columns:40px minmax(0,1fr) 18px}.mobile-menu__profile strong,.mobile-menu__profile small,.mobile-menu__workspaces strong,.mobile-menu__workspaces small{display:block}.mobile-menu small{color:var(--muted);margin-top:4px;font-size:12px}.mobile-menu__links a[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.mobile-menu__links a:active,.mobile-menu__profile:active{background:var(--surface-2)}.mobile-menu__workspaces{border-block:1px solid var(--line);margin-block:14px 6px;padding-block:8px}.mobile-menu__workspaces summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:10px 12px;display:flex}.mobile-menu__workspaces summary::-webkit-details-marker{display:none}.mobile-menu__workspaces summary strong{overflow-wrap:anywhere;font-size:15px}.mobile-menu__workspaces a{overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:12px;font-size:14px;display:flex}.mobile-menu__workspaces a[aria-current]{color:var(--accent)}.mobile-menu__signout{width:100%;min-height:52px;color:var(--text);border:0;border-top:1px solid var(--line);font:600 15px var(--font-display), sans-serif;cursor:pointer;background:0 0;align-items:center;gap:14px;margin-top:12px;padding:14px 12px;display:flex}[dir=rtl] .mobile-menu__links a>svg:last-child,[dir=rtl] .mobile-menu__profile>svg:last-child{transform:rotate(180deg)}@media (max-width:760px){.app-shell{--accent-soft:color-mix(in srgb, var(--accent) 12%, var(--bg));--mobile-bottom-space:calc(76px + env(safe-area-inset-bottom))}.app-shell .page{padding:22px max(16px, env(safe-area-inset-right)) calc(var(--mobile-bottom-space) + 28px) max(16px, env(safe-area-inset-left))}.app-shell .app-topbar{padding-top:env(safe-area-inset-top);height:calc(62px + env(safe-area-inset-top));background:var(--bg)}.app-shell .topbar-actions{justify-content:space-between;gap:6px}.app-shell .topbar-signout{display:none}.app-shell .topbar-actions>.action-with-help:has(.topbar-profile){display:none}.app-shell .page-header{gap:18px;margin-bottom:22px}.app-shell .page-header h1{overflow-wrap:anywhere;font-size:clamp(26px,7vw,36px);line-height:1.15}.app-shell .page-header p{font-size:13px;line-height:1.6}.app-shell .panel{min-width:0;padding:18px}.app-shell .panel__head{flex-wrap:wrap;gap:12px}.app-shell .panel__head h2{font-size:17px}.app-shell .button{white-space:normal;text-align:center;min-height:46px;font-size:14px;line-height:1.35}.app-shell .icon-button{flex-shrink:0;width:44px;height:44px}.app-shell .form-control{min-width:0}.app-shell .form-control label{font-size:13px;line-height:1.5}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.app-shell select,.app-shell textarea{min-width:0;max-width:100%;font-size:16px}.app-shell input[type=checkbox],.app-shell input[type=radio]{min-width:20px;min-height:20px}.app-shell .detail-fields dt,.app-shell .detail-fields dd,.app-shell .record-chat-link b{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.app-shell .record-chat-link small{font-size:12px}.app-shell .bottom-nav{height:var(--mobile-bottom-space);padding:4px max(4px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell .bottom-nav :is(a,button){min-width:0;min-height:48px;font:500 10px var(--font-display), sans-serif;color:var(--muted);cursor:pointer;text-align:center;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:4px 2px;line-height:1.15;display:flex}.app-shell .bottom-nav svg{width:22px;height:22px}.app-shell .bottom-nav .is-active{color:var(--accent)}.app-shell .bottom-nav .is-active svg{background:var(--accent-soft);box-shadow:0 0 0 5px var(--accent-soft);border-radius:6px}.app-shell .support-launcher{bottom:calc(var(--mobile-bottom-space) + 12px)}.app-shell:has(.modal-backdrop) .support-launcher{visibility:hidden}.app-shell .modal-backdrop{padding:env(safe-area-inset-top) 0 0;-webkit-backdrop-filter:none;backdrop-filter:none;align-items:end}.app-shell .modal{width:100%;max-height:calc(var(--app-viewport-block-size,100dvh) - env(safe-area-inset-top));padding:0 18px max(20px, env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:18px 18px 0 0;scroll-padding-block:90px}.app-shell .modal__head{background:var(--bg);z-index:2;border-bottom:1px solid var(--line);gap:14px;margin-bottom:18px;padding-block:18px 14px;position:sticky;top:0}.app-shell .modal__head h2{overflow-wrap:anywhere;font-size:21px}.app-shell .modal>.page-actions,.app-shell .modal>form>.page-actions{bottom:calc(-1 * max(20px, env(safe-area-inset-bottom)));background:var(--bg);z-index:2;padding-block:12px max(20px, env(safe-area-inset-bottom));border-top:1px solid var(--line);position:sticky}.app-shell .status-select{min-width:0}.app-shell .status-select summary{min-height:46px;font-size:14px}.app-shell .status-select__menu{min-width:100%;max-width:100%;max-height:45dvh}.app-shell .status-select__menu button{white-space:normal;min-height:46px;font-size:14px}.app-shell .records-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .records-toolbar>:is(.field--search,.status-select){grid-column:1/-1}.app-shell .records-toolbar .action-with-help{gap:4px;width:100%;min-width:0}.app-shell .records-toolbar .button{flex:1;min-width:0;padding-inline:8px;font-size:12px}.app-shell .records-page .page-header .page-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.app-shell .records-page .page-header .action-with-help{gap:4px;width:100%;min-width:0}.app-shell .records-page .page-header .button{flex:1;min-width:0;padding-inline:8px}.app-shell .records-page .help-hint__trigger{width:32px;height:40px}.app-shell .records-page .help-hint{flex:0 0 32px}.app-shell .detail-field{padding:16px}.app-shell .detail-field small{font-size:12px;line-height:1.5}.app-shell .detail-field b{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.app-shell .assistant-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid;overflow:visible}.app-shell .assistant-steps button{text-align:center;flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:78px;padding:8px 4px;display:flex}.app-shell .assistant-steps button>span{width:24px;height:24px}.app-shell .assistant-steps b{overflow-wrap:anywhere;font-size:12px;line-height:1.35}.app-shell .assistant-steps small{display:none}.app-shell .records-toolbar .field--search{width:100%}.app-shell .records-toolbar>.action-with-help{min-width:0}.app-shell .records-toolbar>.action-with-help>.button{flex:1}.app-shell .records-column-panel{inset:auto 12px calc(var(--mobile-bottom-space) + 12px);min-width:0;max-height:65dvh;position:fixed}.app-shell .records-table-shell{background:0 0;border:0;overflow:visible}.app-shell .records-table{width:100%;min-width:0;display:block}.records-table thead,.records-table thead tr,.records-table tbody{display:block}.records-table thead th{display:none}.records-table thead .records-table__select-all{align-items:center;gap:10px;min-height:44px;padding:4px 12px;display:flex}.records-table__select-all:after{content:attr(data-label);font:500 13px var(--font-display);color:var(--muted)}.records-table tbody tr{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:32px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:12px;padding:14px;display:grid}.records-table tbody tr.is-selected{border-color:var(--accent)}.records-table tbody td{white-space:normal;border:0;height:auto;padding:0;display:none;width:auto!important;min-width:0!important;max-width:none!important}.records-table tbody .record-cell-select{grid-area:1/1;place-items:center;min-height:44px;display:grid}.records-table tbody .record-cell-name{grid-area:1/2;display:block}.records-table .record-person{gap:10px;min-height:48px}.records-table .record-person .avatar{display:none}.records-table .record-person b{overflow-wrap:anywhere;font-size:16px;line-height:1.45}.records-table tbody .record-cell-code{color:var(--muted);grid-area:2/2/auto/-1;font-size:11px;display:block}.records-table tbody .record-cell-actions{grid-area:1/3;display:block}.record-cell-actions .help-hint{display:none}.records-table tbody :is(.record-cell-status,.record-cell-primary){grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;min-height:32px;font-size:14px;display:flex}.record-cell-primary:before,.record-cell-status:before{content:attr(data-label);color:var(--muted);flex-shrink:0;font-size:12px}.records-table .status-pill{white-space:normal;font-size:12px;line-height:1.5}.records-table tbody .record-cell-details{grid-column:1/-1;display:block}.record-cell-details summary{min-height:44px;color:var(--muted);cursor:pointer;padding-block:12px;font-size:13px}.record-cell-details dl{gap:12px;margin:0;display:grid}.record-cell-details dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px;font-size:13px;line-height:1.5;display:grid}.record-cell-details dt{color:var(--muted)}.record-cell-details dd{overflow-wrap:anywhere;margin:0}.app-shell .table-footer{flex-wrap:wrap;gap:12px;padding:10px 0;font-size:12px}.app-shell .pagination button{min-width:44px;min-height:44px}.app-shell .calendar-scroll--month{overflow:visible}.app-shell .calendar-scroll--month .calendar-weekdays,.app-shell .calendar-grid--month{grid-template-columns:repeat(7,minmax(0,1fr));width:100%;min-width:0}.app-shell .calendar-grid--month .calendar-day{min-height:66px;padding:0;position:relative}.calendar-grid--month .calendar-day__number{border-radius:0;justify-content:center;align-items:flex-start;width:100%;height:100%;min-height:66px;padding-top:8px;font-size:14px;display:flex}.app-shell .calendar-grid--month .calendar-day.is-today .calendar-day__number{background:var(--accent-soft);width:100%;height:100%;min-height:66px;color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);border-radius:0;justify-content:center;align-items:flex-start;font-weight:800;display:flex}.calendar-grid--month .calendar-day__count{bottom:7px;color:var(--accent);background:var(--accent-soft);text-align:center;pointer-events:none;border-radius:20px;min-width:18px;font-size:10px;display:block;position:absolute;inset-inline-start:50%;transform:translate(-50%)}[dir=rtl] .calendar-grid--month .calendar-day__count{transform:translate(50%)}.calendar-grid--month .calendar-event,.calendar-grid--month .calendar-more{display:none}.app-shell .calendar-mobile-agenda{gap:18px;margin-top:20px;display:grid}.app-shell .calendar-scroll--week{overflow:visible}.app-shell .calendar-scroll--week .calendar-weekdays{display:none}.app-shell .calendar-grid--week{border:0;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}.app-shell .calendar-grid--week .calendar-day{border:1px solid var(--line);border-radius:12px;min-height:80px;padding:12px}.app-shell .calendar-grid--week .calendar-day__number{min-width:44px;min-height:44px}.app-shell .calendar-grid--week .calendar-event{padding:12px}.app-shell .calendar-grid--week .calendar-event b{font-size:14px}.app-shell .calendar-grid--week .calendar-event span{font-size:12px}.calendar-mobile-agenda .calendar-agenda-day{padding:0}.app-shell .calendar-event--expanded{padding:14px}.app-shell .calendar-event--expanded .calendar-event__open{min-height:44px}.app-shell .calendar-event--expanded b{font-size:14px;line-height:1.5}.app-shell .calendar-event--expanded span{font-size:12px}.app-shell .calendar-event__actions{gap:8px}.app-shell .calendar-event__actions :is(button,a){width:44px;height:44px}.app-shell .calendar-event__actions svg{width:17px;height:17px}.app-shell .settings-menu{flex-wrap:wrap;gap:4px}.app-shell .settings-menu .action-with-help{min-width:0}.app-shell .status-row{grid-template-columns:32px minmax(0,1fr) 80px;gap:10px;padding:16px 0}.app-shell .status-row>:first-child{grid-area:2/1/auto/3;justify-content:flex-start;display:flex}.app-shell .status-row>.list-row__icon{grid-area:1/1}.app-shell .status-row>span:nth-child(3){grid-area:1/2/auto/-1}.app-shell .status-row>.action-with-help{grid-area:2/3}.app-shell .status-row small{font-size:12px;line-height:1.5}.app-shell .status-row b{font-size:15px}.app-shell .status-row .icon-button{width:44px;height:44px}}@media (prefers-reduced-motion:reduce){.mobile-menu *,.app-shell .bottom-nav *{scroll-behavior:auto;transition:none}}
