@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-ext-wght-normal-DOFToQv1.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-wght-normal-DayYxulF.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-math-wght-normal-Bl4ZGkZl.woff2)format("woff2-variations");unicode-range:U+302-303,U+305,U+307-308,U+310,U+312,U+315,U+31A,U+326-327,U+32C,U+32F-330,U+332-333,U+338,U+33A,U+346,U+34D,U+391-3A1,U+3A3-3A9,U+3B1-3C9,U+3D1,U+3D5-3D6,U+3F0-3F1,U+3F4-3F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE??}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-symbols-wght-normal-DxQzqQfC.woff2)format("woff2-variations");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-vietnamese-wght-normal-BBxOatbv.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-ext-wght-normal-QAhDxQuo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-wght-normal-Dun_Rd-l.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2)format("woff2"),url(/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff)format("woff")}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/jetbrains-mono-cyrillic-500-normal-DmUKJPL_.woff2)format("woff2"),url(/assets/jetbrains-mono-cyrillic-500-normal-DJqRU3vO.woff)format("woff")}.person-avatar{color:var(--color-info);background:var(--color-info-soft);-webkit-user-select:none;user-select:none;border-radius:50%;flex:none;place-items:center;font-weight:600;line-height:1;display:inline-grid;overflow:hidden}.person-avatar img{object-fit:cover;width:100%;height:100%;display:block}section.employee-panel{margin-top:0}.employee-table__person{align-items:center;gap:var(--space-1) var(--space-2);flex-wrap:wrap;display:inline-flex}.employee-table__person .badge{font-size:var(--text-xs)}.employee-table__departments{max-width:280px}.employee-table__truncate{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}@media (width<=900px){.employee-table__personnel,.employee-table__departments{display:none}}.employee-edit{gap:var(--space-4);display:grid}.dialog .employee-form{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.employee-form__password{gap:var(--space-2);display:grid}.employee-form__password-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.employee-form .employee-form__password-row input{width:auto;font-family:var(--font-mono);flex:180px}.issued-password{align-items:center;gap:var(--space-2);display:flex}.issued-password code{border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:0;padding:var(--space-3) var(--space-4);background:var(--color-surface-muted);font-family:var(--font-mono);font-size:var(--text-lg);word-break:break-all;flex:auto}.issued-password__status{min-height:1.4em;color:var(--color-text-muted);font-size:var(--text-sm)}.dialog .employee-form .button--primary{border-color:var(--color-accent);color:var(--color-on-accent);background:var(--color-accent);box-shadow:none}.dialog .employee-form .button--primary:hover:not(:disabled){border-color:var(--color-accent-hover);background:var(--color-accent-hover)}.dialog .employee-details{background:0 0;border:0;border-radius:0;padding:0}.employee-listing{gap:var(--space-1);margin-block:var(--space-3);display:grid}.employee-details .employee-listing label{align-items:center;gap:var(--space-2);display:flex}.employee-details .employee-listing input{width:auto}.employee-listing small{color:var(--color-text-muted);font-size:var(--text-sm)}section.directory-panel{margin-top:0}.department-card{gap:var(--space-4);display:grid}.employee-form__field,.employee-edit .employee-form__field{gap:var(--space-2);display:grid}.employee-form__error{color:var(--color-danger)}.employee-form__login-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.employee-form .employee-form__login-row input{flex:180px;width:auto}.role-card{gap:var(--space-4);display:grid}.roles-table__description{max-width:420px;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=900px){.roles-table__description{display:none}}.role-card__description{color:var(--color-text-muted);white-space:pre-line;margin:0;line-height:1.5}.permission-summary,.permission-groups{gap:var(--space-5);display:grid}.permission-summary__group{gap:var(--space-2);display:grid}.permission-summary__group h4{font-size:var(--text-md);margin:0;font-weight:600}.permission-summary__group ul{margin:0;padding:0;list-style:none;display:grid}.permission-summary__group li{gap:var(--space-1);border-bottom:1px solid var(--color-border-subtle);padding:var(--space-2) 0;display:grid}.permission-summary__group li:last-child{border-bottom:0}.permission-summary__group small,.permission-groups small{color:var(--color-text-muted);font-weight:400;display:block}.permission-summary__empty{color:var(--color-text-muted);margin:0}.permission-group__warning{border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);color:var(--color-warning);background:var(--color-warning-soft);font-size:var(--text-sm);margin:0;line-height:1.4}.role-form{gap:var(--space-4);display:grid}.role-form>label{gap:var(--space-2);display:grid}.role-form input:not([type=checkbox]),.role-form textarea{width:100%}.permission-group{gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-lg);min-width:0;padding:var(--space-2) var(--space-4) var(--space-3);background:var(--color-surface-muted);margin:0;display:grid}.permission-group legend{padding:0 var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:600}.permission-group label{align-items:center;gap:var(--space-3);min-height:var(--control-height);border-bottom:1px solid var(--color-border-subtle);color:var(--color-text);font-size:var(--text-md);grid-template-columns:auto 1fr;display:grid}.permission-group label:last-child{border-bottom:0}.roles-panel>.form-error,.roles-panel>.form-notice{margin:0 0 var(--space-4)}.permission-group--administrative,.permission-summary__group--administrative{border:1px solid color-mix(in srgb, var(--color-warning) 35%, transparent);border-radius:var(--radius-lg);background:var(--color-warning-soft)}.permission-summary__group--administrative{padding:var(--space-3) var(--space-4)}.permission-group--administrative legend,.permission-summary__group--administrative h4{align-items:center;gap:var(--space-1);color:var(--color-warning);display:inline-flex}.permission-group--administrative label,.permission-summary__group--administrative li{border-bottom-color:color-mix(in srgb, var(--color-warning) 18%, transparent)}.permission-group--administrative .permission-group__warning,.permission-summary__group--administrative .permission-group__warning{background:0 0;padding:0}.permission-groups__bulk,.permission-group__bulk{gap:var(--space-2);flex-wrap:wrap;display:flex}.permission-groups__bulk{justify-content:flex-end}.profile-panel{gap:var(--space-5);grid-template-columns:minmax(0,1fr);align-items:start;max-width:1360px;display:grid}@media (width>=1200px){.profile-panel{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.profile-panel__head{grid-column:1/-1}.profile-card,.profile-data,.profile-appearance{grid-column:1}.profile-password-card{grid-area:2/2/span 2}}.profile-panel .profile-panel__head{margin:0}.profile-panel small{color:var(--color-text-muted);font-size:var(--text-sm)}.profile-panel h2{margin:0 0 var(--space-3);font-size:var(--text-lg)}.profile-card{align-items:flex-start;gap:var(--space-5);display:flex}.profile-card__body{flex:1;min-width:0}.profile-card__body p{margin:0 0 var(--space-3)}.profile-card__actions,.profile-confirmation,.profile-password__actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.profile-confirmation{margin-top:var(--space-3)}.profile-confirmation p{flex-basis:100%;margin:0}.profile-status{margin-top:var(--space-3);color:var(--color-success);font-size:var(--text-sm)}.profile-status:empty{display:none}.profile-password{gap:var(--space-4);max-width:420px;display:grid}.profile-password__actions{justify-content:flex-start}.profile-password__actions .button{min-height:var(--control-height)}.profile-success{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-success);background:var(--color-success-soft);font-size:var(--text-sm);margin:0}@media (width<=600px){.profile-card{text-align:center;flex-direction:column;align-items:center}.profile-card__actions{justify-content:center}}.profile-listing{gap:var(--space-1);margin-top:var(--space-3);display:grid}.profile-listing label{align-items:center;gap:var(--space-2);display:flex}.profile-appearance fieldset{gap:var(--space-2);border:0;margin:0;padding:0;display:grid}.profile-appearance legend{margin-bottom:var(--space-2);padding:0;font-weight:600}.profile-appearance label{align-items:center;gap:var(--space-2);display:flex}.help-panel{gap:var(--space-6);grid-template-columns:minmax(240px,300px) minmax(0,1fr);align-items:start;display:grid}@media (width>=1500px){.help-panel{grid-template-columns:300px minmax(0,880px) 240px;justify-content:start}}.help-toc{top:var(--space-4);gap:var(--space-4);flex-direction:column;max-height:calc(100dvh - 136px);display:flex;position:sticky}.help-toc__list{gap:var(--space-5);overscroll-behavior:contain;min-height:0;display:grid;overflow-y:auto}.help-panel .help-search{align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-3);color:var(--color-text-muted);background:var(--color-surface);flex:none;display:flex}.help-search svg{flex:none}.help-search input{background:0 0;border:0;flex:1;min-width:0;padding-inline:0}.help-search input:focus{box-shadow:none;outline:none}.help-search:focus-within{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-focus-ring)}.help-toc__group{gap:var(--space-2);display:grid}.help-toc__group h2{padding:0 var(--space-3);color:var(--color-text-muted);font-size:var(--text-xs);margin:0;font-weight:600}.help-toc__group ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.help-toc__group a{border-radius:var(--radius-md);width:100%;padding:var(--space-2) var(--space-3);color:var(--color-text);text-align:left;background:0 0;border:0;gap:2px;text-decoration:none;display:grid}.help-toc__group a:hover{background:var(--color-surface-muted)}.help-toc__group a[aria-current=page]{background:var(--color-accent-soft)}.help-toc__group a[aria-current=page] strong{color:var(--color-info)}.help-toc__group strong{font-size:var(--text-md);font-weight:600}.help-toc__group span{color:var(--color-text-muted);font-size:var(--text-sm)}.help-empty{color:var(--color-text-muted);font-size:var(--text-md);margin:0}.help-article{border:1px solid var(--color-border);border-radius:var(--radius-xl);min-width:0;padding:var(--space-7);background:var(--color-surface);font-size:var(--text-lg);line-height:1.6}.help-article>:not(h2){max-width:75ch}.help-article>h2{margin:0 0 var(--space-5);font-size:var(--text-2xl);font-weight:600}.help-article section+section{margin-top:var(--space-6)}.help-article h3{margin:0 0 var(--space-2);font-size:var(--text-lg);font-weight:600}.help-article p,.help-article ol,.help-article ul{margin:0 0 var(--space-3)}.help-article li+li{margin-top:var(--space-1)}.help-note{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-info);background:var(--color-info-soft);font-size:var(--text-md)}.help-outline{display:none}@media (width>=1500px){.help-outline{top:var(--space-4);gap:var(--space-2);max-height:calc(100dvh - 136px);display:grid;position:sticky;overflow-y:auto}}.help-outline h2{padding:0 var(--space-3);color:var(--color-text-muted);font-size:var(--text-xs);margin:0;font-weight:600}.help-outline ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.help-outline a{border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);color:var(--color-text-muted);font-size:var(--text-sm);text-decoration:none;display:block}.help-outline a:hover{color:var(--color-text);background:var(--color-surface-muted)}@media (width<=900px){.help-panel{grid-template-columns:minmax(0,1fr)}.help-toc{max-height:none;position:static}.help-toc__list{overflow:visible}.help-article{padding:var(--space-5);font-size:var(--text-md)}}.naryad-room-field{gap:var(--space-2);display:grid}.naryad-room-field label{gap:var(--space-1);display:grid}.naryad-room-field__add{gap:var(--space-2);display:grid}.naryad-room-field__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.naryad-orders-panel .button--primary,.naryad-order-card .button--primary,.naryad-submit-form .button--primary{border-color:var(--color-accent);color:var(--color-on-accent);background:var(--color-accent);box-shadow:none}.naryad-orders-panel .button--primary:hover:not(:disabled),.naryad-order-card .button--primary:hover:not(:disabled),.naryad-submit-form .button--primary:hover:not(:disabled){border-color:var(--color-accent-hover);background:var(--color-accent-hover)}.naryad-order-card .button--danger{border-color:var(--color-danger);color:var(--color-danger)}.naryad-order-card .button--danger:hover:not(:disabled){border-color:var(--color-danger);background:var(--color-danger-soft)}.naryad-orders-panel{gap:var(--space-4);display:grid}.naryad-orders-panel>.section-head,.naryad-orders-panel>.section-toolbar{margin:0}.naryad-orders-panel .icon-button{min-height:0;padding:0}.naryad-orders-panel__banner{border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);background:var(--color-surface-muted,transparent);margin:0}.naryad-orders-panel__confirmation{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.naryad-orders-panel__confirmation p{flex:100%;margin:0}.naryad-orders-panel__browse{gap:var(--space-4);min-width:0;display:grid}.naryad-orders-panel__period{gap:var(--space-3);flex-wrap:nowrap;max-width:100%;display:flex}.naryad-orders-panel__submissions{margin:0;list-style:none}.naryad-submission-row{align-items:center;gap:var(--space-2) var(--space-4);border-bottom:1px solid var(--color-border-subtle);padding:var(--space-3) 0;flex-wrap:wrap;display:flex}.naryad-submission-row__actions{gap:var(--space-2);margin-left:auto;display:flex}.naryad-order-card{gap:var(--space-4);overflow-wrap:anywhere;min-width:0;display:grid}.naryad-order-card__synced,.naryad-order-card__hint{color:var(--color-text-muted);font-size:var(--text-sm);margin:0}.naryad-order-card__text{white-space:pre-wrap}.naryad-order-card__link{box-shadow:none;color:var(--color-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.naryad-order-card__decision{gap:var(--space-3);display:grid}.naryad-order-card__decision label{gap:var(--space-2);display:grid}.naryad-order-card__actions{gap:var(--space-3);flex-wrap:wrap;display:flex}.naryad-submit-form{gap:var(--space-4);display:grid}.naryad-submit-form label{gap:var(--space-2);display:grid}.naryad-submit-form fieldset label{gap:var(--space-2);display:flex}.naryad-submit-form__catalog{align-items:end;gap:var(--space-2);display:flex}.naryad-submit-form__catalog label{flex:1}@media (width<=900px){.naryad-orders-table__room,.naryad-orders-table__due{display:none}}.notes-panel{--note-cream:var(--color-warning);--note-gray:var(--color-neutral);--note-rose:var(--color-danger);--note-mint:var(--color-success);--note-blue:var(--color-info);gap:var(--space-5);display:grid}.notes-panel__details{gap:var(--space-4);min-width:0;display:grid}.notes-panel__details p,.notes-panel :is(.section-head,.section-toolbar){margin:0}.notes-panel label,.note-form label,.note-form legend{gap:var(--space-1);min-width:0;color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500;display:grid}.notes-panel textarea{min-height:130px}.notes-panel__list{gap:var(--space-4);min-width:0;display:grid}.notes-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr));display:grid}.sticky-note{--note-band:var(--note-cream);--note-lift:0 0 #0000;border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);min-width:0;min-height:12rem;box-shadow:inset 0 4px 0 var(--note-band), var(--note-lift);flex-direction:column;transition:box-shadow .16s;display:flex}.sticky-note:hover{--note-lift:var(--shadow-md)}.sticky-note__main{min-width:0;padding:var(--space-5);padding-top:calc(var(--space-5) + 4px);flex:1}.sticky-note h3{margin:0 0 var(--space-3);font-size:var(--text-lg);overflow-wrap:anywhere;font-weight:600}.sticky-note__body{overflow-wrap:anywhere;max-height:9.3em;line-height:1.55;overflow:hidden}.sticky-note__body--clamped{-webkit-mask-image:linear-gradient(#000 calc(100% - 2.4em),#0000);mask-image:linear-gradient(#000 calc(100% - 2.4em),#0000)}.sticky-note .sticky-note__body :is(h1,h2,h3,h4){font-size:inherit;margin:0 0 .6em;font-weight:600}.sticky-note footer{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-top:1px solid var(--color-border-subtle);border-radius:0 0 var(--radius-xl) var(--radius-xl);background:var(--color-surface-muted);display:flex}.sticky-note__author{flex:1;min-width:0;display:grid}.sticky-note__author-name{color:var(--color-text);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sticky-note__author time{color:var(--color-text-muted);font-size:var(--text-xs)}.sticky-note footer .person-avatar{flex:none}.sticky-note--cream{--note-band:var(--note-cream)}.sticky-note--gray{--note-band:var(--note-gray)}.sticky-note--rose{--note-band:var(--note-rose)}.sticky-note--mint{--note-band:var(--note-mint)}.sticky-note--blue{--note-band:var(--note-blue)}.sticky-note footer .icon-button{flex:none}.notes-grid__empty{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);grid-column:1/-1}.notes-panel__error{overflow-wrap:anywhere;gap:var(--space-3);border-radius:var(--radius-lg);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);flex-wrap:wrap;align-items:center;display:flex}.note-form{gap:var(--space-4);display:grid}.notes-panel__details-body{overflow-wrap:anywhere;line-height:1.6}.note-form__body{gap:var(--space-1);display:grid}.note-form__body>span{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500}.note-form fieldset{gap:var(--space-2);border:0;flex-wrap:wrap;margin:0;padding:0;display:flex}.note-form fieldset label{align-items:center;gap:var(--space-2);min-height:var(--control-height);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--color-surface-muted);display:flex}.note-form fieldset input{min-width:auto}.notes-panel__create-only{border-radius:var(--radius-lg);padding:var(--space-4);color:var(--color-text-muted);background:var(--color-surface);margin:0}@media (prefers-reduced-motion:reduce){.sticky-note{transition:none}}.equipment-panel{gap:var(--space-4);min-width:0;display:grid}.equipment-panel label,.equipment-form label{gap:var(--space-2);min-width:0;display:grid}.equipment-panel input,.equipment-panel select,.equipment-panel textarea,.equipment-form input,.equipment-form textarea{width:100%;min-width:0}.equipment-panel textarea,.equipment-form textarea{min-height:120px}.equipment-panel .section-head,.equipment-panel .section-toolbar{margin:0}.equipment-layout{gap:var(--space-5);align-items:start;display:grid}.equipment-browse{gap:var(--space-4);min-width:0;display:grid}@media (width<=1200px){.equipment-table__room{display:none}}@media (width<=1000px){.equipment-table__serial{display:none}}.equipment-form fieldset{gap:var(--space-4);border:0;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin:0;padding:0;display:grid}.equipment-form legend{padding:0 0 var(--space-4);font-size:var(--text-lg);font-weight:600}.equipment-form-wide{grid-column:1/-1}.equipment-form-actions{gap:var(--space-2);flex-wrap:wrap;grid-column:1/-1;display:flex}.equipment-details{gap:var(--space-5);min-width:0;display:grid}.equipment-details h4,.equipment-details p{overflow-wrap:anywhere;margin:0}.equipment-details h4{font-size:var(--text-lg);font-weight:600}.equipment-details__meta{align-items:center;gap:var(--space-2);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.equipment-details .equipment-form{border:0;padding:0}.equipment-section{gap:var(--space-3);border-top:1px solid var(--color-border-subtle);padding-top:var(--space-5);display:grid}.equipment-history-list{margin:0;padding:0;list-style:none;display:grid}.equipment-history-list li{gap:var(--space-1);border-bottom:1px solid var(--color-border-subtle);min-height:44px;padding:var(--space-3) 0;display:grid}.equipment-history-list li:last-child{border-bottom:0}.equipment-history-head{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.equipment-history-head strong{font-family:var(--font-mono);font-weight:500}.equipment-history-problem{overflow-wrap:anywhere;color:var(--color-text-muted)}.equipment-hint{color:var(--color-text-muted)}.equipment-description{white-space:pre-wrap}.equipment-error{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.equipment-notice{overflow-wrap:anywhere}.equipment-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=650px){.equipment-form fieldset{grid-template-columns:1fr}}.equipment-created{gap:var(--space-4);display:grid}.equipment-created>p{margin:0}.equipment-history-link{box-shadow:none;color:var(--color-accent);font:inherit;font-family:var(--font-mono);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.image-viewer{overscroll-behavior:contain;max-width:95vw;max-height:95dvh;padding:var(--space-4);border-radius:var(--radius-xl);color:var(--color-text);background:var(--color-surface);border:0}.image-viewer:modal{margin:auto}.image-viewer::backdrop{background:var(--color-overlay)}.image-viewer img{object-fit:contain;width:auto;max-width:88vw;height:auto;max-height:78dvh;margin-top:var(--space-4);border-radius:var(--radius-md);display:block}.equipment-photos{gap:var(--space-4);border-top:1px solid var(--color-border-subtle);padding-top:var(--space-5);min-width:0;display:grid}.equipment-photos>*{margin:0}.equipment-photos header{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.equipment-photos h4{margin:0}.equipment-photos p{font-size:var(--text-md);color:var(--color-text-muted)}.equipment-photo-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin:0;padding:0;list-style:none;display:grid}.equipment-photo-grid li{align-content:start;gap:var(--space-2);min-width:0;display:grid}.equipment-photo-open{aspect-ratio:4/3;border:1px solid var(--color-border);border-radius:var(--radius-lg);width:100%;min-height:130px;color:var(--color-text-muted);background:var(--color-surface-muted);place-items:center;padding:0;display:grid;overflow:hidden}.equipment-photo-open:hover{border-color:var(--color-accent)}.equipment-photo-open img{object-fit:cover;width:100%;height:100%}.equipment-photo-author{overflow-wrap:anywhere;font-size:var(--text-sm)}.equipment-photos form{gap:var(--space-3);padding:var(--space-4);background:var(--color-surface-muted);border-radius:var(--radius-lg);display:grid}.equipment-photos input[type=file]{width:100%;max-width:100%}.equipment-photo-draft{align-items:center;gap:var(--space-3);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.equipment-photo-draft img{border-radius:var(--radius-md);object-fit:cover;max-width:180px;max-height:130px}.equipment-photo-confirm{align-items:center;gap:var(--space-3);border:1px solid var(--color-danger);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--color-danger-soft);flex-wrap:wrap;display:flex}.equipment-photo-confirm p{color:var(--color-danger);flex-basis:100%}@media (width<=600px){.equipment-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.equipment-photos header .icon-button[data-tooltip]:after{left:auto;right:0;transform:translateY(2px)}.equipment-photos header .icon-button[data-tooltip]:hover:after,.equipment-photos header .icon-button[data-tooltip]:focus-visible:after{transform:none}.queued-files{gap:var(--space-3);min-width:0;display:grid}.queued-files__drop{gap:var(--space-2);padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-muted);display:grid}.queued-files__drop--active{border-color:var(--color-accent);background:var(--color-accent-soft)}.queued-files__drop p{color:var(--color-text-muted);font-size:var(--text-sm);margin:0}.queued-files input[type=file]{width:100%;max-width:100%}.queued-files__rejection{color:var(--color-danger);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.queued-files__list{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.queued-files__list li{gap:var(--space-1) var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.queued-files__name{overflow-wrap:anywhere;grid-column:1;font-weight:500}.queued-files__size,.queued-files__status{color:var(--color-text-muted);font-size:var(--text-sm);overflow-wrap:anywhere;grid-column:1}.queued-files__list li>.icon-button{grid-area:1/2/span 3}.queued-files__list li[data-status=failed] .queued-files__status{color:var(--color-danger)}.queued-files__list li[data-status=done] .queued-files__status{color:var(--color-success)}.home{gap:var(--space-6);display:grid}.home>.section-head{margin-bottom:0}.home-heading{align-items:baseline;gap:var(--space-1) var(--space-4);flex-wrap:wrap;display:flex}.home-date{font-size:var(--text-lg);margin:0;font-weight:600}.home-muted{color:var(--color-text-muted);font-size:var(--text-md)}.home-danger{color:var(--color-danger);font-size:var(--text-md);font-weight:500}.home-success{color:var(--color-success);font-size:var(--text-md);font-weight:500}.home-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.home-pair{gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.home-pair:empty{display:none}.home-pair>:only-child{grid-column:1/-1}.home-card{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface)}.home-shift__body{gap:var(--space-3);padding:var(--space-2) var(--space-5) var(--space-4);flex-direction:column;display:flex}.home-shift__meta{align-items:center;gap:var(--space-2) var(--space-3);color:var(--color-text-muted);font-size:var(--text-md);flex-wrap:wrap;display:flex}.home-shift__range{margin-left:auto}.home-pill{border-radius:var(--radius-pill);color:var(--color-info);background:var(--color-accent-soft);font-size:var(--text-sm);padding:4px 10px;font-weight:600}.home-pill--live{color:var(--color-success);background:var(--color-success-soft)}.home-shift__headline{color:var(--color-text);font-size:var(--text-xl);margin:0;font-weight:600;line-height:1.2}.home-shift__people{color:var(--color-text-muted);font-size:var(--text-md);margin:0}.home-progress{border-radius:var(--radius-pill);background:color-mix(in srgb, var(--color-accent) 16%, var(--color-surface));height:6px;overflow:hidden}.home-progress__fill{border-radius:var(--radius-pill);background:var(--color-accent);height:100%}.home-list{padding:var(--space-2) 0;flex-direction:column;display:flex}.home-list__header{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:calc(var(--control-height) + 2 * var(--space-3));padding:var(--space-3) var(--space-5);display:flex}.home-list__header h3{font-size:var(--text-lg);margin:0;font-weight:600}.home-link{min-height:var(--control-height);color:var(--color-accent);font:inherit;font-size:var(--text-md);cursor:pointer;background:0 0;border:0;align-items:center;padding:0;font-weight:500;text-decoration:none;display:inline-flex}.home-link:hover{color:var(--color-accent-hover)}.home-rows{margin:0;padding:0;list-style:none}.home-row{border:0;border-top:1px solid var(--color-border-subtle);width:100%;min-height:56px;padding:var(--space-2) var(--space-5);color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;align-items:center;text-decoration:none;display:grid}.home-row:hover{background:var(--color-accent-soft)}.home-row--task{gap:var(--space-4);grid-template-columns:12px minmax(0,1fr) auto 110px}.home-row__title{min-width:0;display:grid}.home-row__title strong,.home-row--order strong{font-size:var(--text-md);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.home-row small{color:var(--color-text-muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-row--order{padding-block:var(--space-3);gap:6px}.home-row__top{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.home-mono{color:var(--color-text-muted);font-family:var(--font-mono);font-size:var(--text-xs)}.home-dot{background:var(--color-neutral);border-radius:50%;width:10px;height:10px}.home-dot--high{background:var(--color-priority-high)}.home-dot--normal{background:var(--color-accent)}.home-due{color:var(--color-text-muted);font-size:var(--text-sm);text-align:right}.home-due--overdue{color:var(--color-danger);font-weight:500}.home-empty,.home-text,.home-list .home-muted,.home-block-error{padding:var(--space-4) var(--space-5);margin:0}.home-empty{color:var(--color-text-muted)}.home-shift__body .home-muted,.home-birthdays__rows .home-muted{padding:0}.home-block-error{align-items:center;gap:var(--space-3);color:var(--color-danger);font-size:var(--text-md);flex-wrap:wrap;display:flex}.home-inbox .home-block-error{padding:0}@media (width<=900px){.home-pair{grid-template-columns:minmax(0,1fr)}.home-shift__range{margin-left:0}.home-row--task{grid-template-columns:12px minmax(0,1fr) auto}.home-row--task .home-due{text-align:left;grid-column:2/-1}}.home-shift__people .person-avatar{vertical-align:middle}.home-shift__action{align-self:flex-start}.home-inbox{gap:var(--space-3);border:1px solid var(--color-warning);border-radius:var(--radius-xl);padding:var(--space-4) var(--space-5);color:var(--color-text);background:var(--color-warning-soft);flex-direction:column;display:flex}.home-inbox h3{font-size:var(--text-lg);margin:0;font-weight:600}.home-inbox p{margin:0}.home-inbox__items{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.home-inbox__item{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.home-inbox__text{min-width:0;display:grid}.home-inbox__text small{color:var(--color-text-muted);font-size:var(--text-sm)}.home-inbox__actions{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;display:flex}.home-birthdays__rows{gap:var(--space-3);padding:var(--space-2) var(--space-5) var(--space-4);margin:0;list-style:none;display:grid}.home-birthday{column-gap:var(--space-3);grid-template-columns:auto 1fr;align-items:center;display:grid}.home-birthday .person-avatar{grid-row:span 2}.home-birthday__when{color:var(--color-text-muted);font-size:var(--text-sm)}.home-birthday--today .home-birthday__when{color:var(--color-accent);font-weight:600}.task-participants ul{margin:0;padding:0;list-style:none;display:grid}.task-participants li{align-items:center;gap:var(--space-2) var(--space-3);min-height:var(--control-height);padding:var(--space-1) 0;border-bottom:1px solid var(--color-border-subtle);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.task-participants li:last-child{border-bottom:0}.task-participants li>span:first-child{flex:auto}.task-participants__confirmation{gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-md);background:var(--color-danger-soft);flex-basis:100%;display:grid}.task-comments>header,.task-attachments>header{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.task-comments__list{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.task-comments__list li{gap:var(--space-1);border-radius:var(--radius-lg);padding:10px var(--space-3);background:var(--color-surface-muted);min-width:0;display:grid}.task-comments__meta{justify-content:space-between;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.task-comments__meta strong{color:var(--color-text);font-weight:600}.task-comments__count{color:var(--color-text-muted);font-size:var(--text-xs);margin:0}.task-comments textarea{width:100%}.task-attachments{min-width:0}.task-attachments p{font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.task-attachment-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));margin:0;padding:0;list-style:none;display:grid}.task-attachment-grid li{gap:var(--space-2);border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);min-width:0;padding:var(--space-3);overflow-wrap:anywhere;flex-direction:column;display:flex}.task-attachment-actions{gap:var(--space-2);flex-wrap:wrap;margin-top:auto;display:flex}.task-attachment-grid time{color:var(--color-text-muted);font-size:var(--text-xs)}.task-attachment-open{border-radius:var(--radius-md);background:var(--color-surface-muted);border:0;width:100%;min-height:130px;padding:0}.task-attachment-open img{object-fit:contain;width:100%;height:150px}.task-attachments form{gap:var(--space-3);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--color-surface-muted);display:grid}.task-attachments input[type=file]{width:100%;max-width:100%}.task-attachment-draft{align-items:center;gap:var(--space-3);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.task-attachment-draft img{object-fit:contain;max-width:180px;max-height:130px}.task-attachment-confirm{gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-lg);background:var(--color-danger-soft);display:grid}.my-tasks{gap:var(--space-5);min-width:0;display:grid}.my-tasks-list{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));margin:0;padding:0;list-style:none;display:grid}.my-tasks-list li{min-width:0}.my-tasks-list .tasks-card{overflow-wrap:anywhere;height:100%}.my-tasks .tasks-filters label{min-width:0;max-width:100%}.my-tasks :is(input,select){width:100%}.archived-tasks{gap:var(--space-5);min-width:0;display:grid}.archived-tasks-list{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));margin:0;padding:0;list-style:none;display:grid}.archived-tasks-list li{min-width:0}.archived-tasks .tasks-card{overflow-wrap:anywhere;height:100%}.archived-tasks .tasks-filters label{min-width:0;max-width:100%}.archived-tasks :is(input,select){width:100%}.tasks-panel{gap:var(--space-5);align-content:start;min-width:0;display:grid}.tasks-view-switch{flex-wrap:wrap;justify-self:start;max-width:100%}.tasks-view-switch button{min-height:34px;box-shadow:none}.tasks-filters,.tasks-details__bar{gap:var(--space-3) var(--space-4);flex-wrap:wrap;justify-content:space-between;align-items:end;display:flex}.tasks-panel :is(.section-head,.section-toolbar){margin:0}.tasks-panel h3{font-size:var(--text-lg);overflow-wrap:anywhere;margin:0;font-weight:600}.tasks-panel h4{overflow-wrap:anywhere;margin:0}.tasks-panel label,.tasks-field,.tasks-move-backdrop label{gap:var(--space-1);display:grid}.tasks-field>span{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500}.tasks-panel :is(input,select,textarea),.tasks-move-backdrop :is(select,textarea){max-width:100%}.tasks-panel textarea,.tasks-move-backdrop textarea{resize:vertical}.tasks-panel button,.tasks-move-backdrop button{overflow-wrap:anywhere}.tasks-panel [role=alert],.tasks-move-backdrop [role=alert]{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);color:var(--color-danger);background:var(--color-danger-soft)}.tasks-panel [role=alert] .button{margin-left:var(--space-2)}:is(.tasks-panel,.my-tasks,.archived-tasks) .section-toolbar__filters>label{min-width:min(100%,220px)}.section-toolbar__filters>.tasks-filters{display:contents}.tasks-filters{flex:auto;justify-content:flex-start;align-items:end}.tasks-filters label{min-width:min(100%,180px)}.tasks-filters label:has(input[type=search]){flex:240px}.tasks-workspace{gap:var(--space-6);grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.tasks-board{gap:var(--space-4);padding-bottom:var(--space-2);grid-auto-columns:minmax(168px,1fr);grid-auto-flow:column;align-items:start;display:grid;overflow-x:auto}.tasks-column{gap:var(--space-3);border-radius:var(--radius-lg);--column-color:var(--color-text-muted);align-content:start;min-width:0;display:grid}.tasks-column[data-status=planned]{--column-color:var(--color-neutral)}.tasks-column[data-status=inProgress]{--column-color:var(--color-accent)}.tasks-column[data-status=waiting]{--column-color:var(--color-warning)}.tasks-column[data-status=review]{--column-color:var(--color-review)}.tasks-column[data-status=completed]{--column-color:var(--color-success)}.tasks-column__title{align-items:center;gap:var(--space-2);min-height:28px;padding:0 var(--space-1);font-size:var(--text-md);font-weight:600;display:flex}.tasks-column__dot{background:var(--column-color);border-radius:50%;flex:none;width:8px;height:8px}.tasks-column__count{color:var(--color-text-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums;font-weight:400}.tasks-column__empty{padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-lg);color:var(--color-text-muted);font-size:var(--text-sm);text-align:center;margin:0}.tasks-column ul{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.tasks-column li{gap:var(--space-2);display:grid}.tasks-column--drop-target{outline:2px dashed var(--color-accent);outline-offset:4px}.tasks-panel .tasks-card{gap:var(--space-2);width:100%;min-width:0;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);text-align:left;flex-direction:column;font-weight:400;transition:border-color .15s;display:flex}.tasks-panel .tasks-card:is(article){position:relative}.tasks-panel .tasks-card:hover:not(:disabled){border-color:var(--color-accent)}.tasks-panel .tasks-card:is(article):has(.tasks-card__open:not(:disabled)):hover{border-color:var(--color-accent)}.tasks-panel .tasks-card:is(article)[draggable=true]{cursor:grab}.tasks-panel .tasks-card__open{min-height:0;box-shadow:none;color:inherit;font:inherit;font-size:var(--text-md);text-align:left;background:0 0;border:0;padding:0;font-weight:500;line-height:1.35}.tasks-card__open:after{content:"";border-radius:inherit;position:absolute;inset:0}.tasks-card__open:focus-visible{outline:none}.tasks-card__open:focus-visible:after{outline:3px solid var(--color-focus-ring);outline-offset:2px}.tasks-panel .tasks-card--open{border:2px solid var(--color-accent);padding:11px}.tasks-card__badges{align-items:center;gap:var(--space-2) var(--space-2);padding-right:calc(28px + var(--space-1));flex-wrap:wrap;order:1;display:flex}.tasks-card__open,.tasks-card__title{font-size:var(--text-md);overflow-wrap:anywhere;order:2;font-weight:500;line-height:1.35}.tasks-card__footer,.tasks-card__meta,.tasks-panel .tasks-card>.tasks-card__due{order:3}.tasks-card__footer{justify-content:space-between;align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);overflow-wrap:anywhere;display:flex}.tasks-card__meta,.tasks-card__due{color:var(--color-text-muted);font-size:var(--text-xs);overflow-wrap:anywhere}.tasks-card__assignee{align-items:center;gap:var(--space-2);min-width:0;display:flex}.tasks-panel .tasks-card__move{z-index:1;top:var(--space-2);right:var(--space-2);width:28px;height:28px;min-height:0;box-shadow:none;cursor:pointer;position:absolute}.tasks-card__hint{color:var(--color-text-muted);font-size:var(--text-xs);order:4;margin:0}.tasks-card__due--overdue{color:var(--color-danger);font-weight:500}.tasks-person{align-items:center;gap:var(--space-2);min-width:0;display:flex}.tasks-panel .tasks-mobile-selector{display:none}@media (width<=900px){.tasks-board{grid-template-columns:minmax(0,1fr);grid-auto-columns:auto;grid-auto-flow:row;overflow-x:visible}.tasks-column:not(.tasks-column--selected){display:none}.tasks-panel .tasks-mobile-selector{margin-bottom:var(--space-4);display:grid}.tasks-filters{flex-direction:column;align-items:stretch}.tasks-filters label:has(input[type=search]){flex:none}}.tasks-move-backdrop{z-index:1000;padding:var(--space-4);overscroll-behavior:contain;background:var(--color-overlay);place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.tasks-move{overscroll-behavior:contain;border-radius:var(--radius-xl);width:min(100%,32rem);max-height:100%;padding:var(--space-6);color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-md);overflow-wrap:anywhere;overflow-y:auto}.tasks-move:focus{outline:none}.tasks-move h3{margin:0 0 var(--space-3);font-size:var(--text-lg);font-weight:600}.tasks-move form{gap:var(--space-3);display:grid}.tasks-move>*+*{margin-top:var(--space-3)}.tasks-move select,.tasks-move textarea,.tasks-move .button{width:100%}@media (prefers-reduced-motion:no-preference){.tasks-move-backdrop{animation:.15s ease-out tasks-move-fade}.tasks-move{animation:.15s ease-out tasks-move-rise}}@keyframes tasks-move-fade{0%{opacity:0}}@keyframes tasks-move-rise{0%{transform:translateY(.5rem)}}.tasks-create,.tasks-details{gap:var(--space-4);min-width:0;display:grid}.tasks-create{gap:var(--space-5)}.tasks-create>button[type=submit]{justify-self:end}.tasks-create h3{font-size:var(--text-lg)}.tasks-fields{gap:var(--space-4) var(--space-5);border:0;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;padding:0;display:grid}@media (width<=480px){.tasks-fields{grid-template-columns:minmax(0,1fr)}}.tasks-fields__wide{grid-column:1/-1}.tasks-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tasks-plain{white-space:pre-wrap;overflow-wrap:anywhere}@media (width>=1200px){.tasks-workspace--open{grid-template-columns:minmax(0,1fr) minmax(380px,460px);align-items:start}.tasks-workspace--open>.tasks-details{top:var(--space-4);max-height:calc(100dvh - var(--space-7));position:sticky;overflow-y:auto}}.tasks-details__bar{flex-wrap:nowrap;align-items:center}.tasks-details__view{gap:var(--space-4);display:grid}.tasks-details__version{color:var(--color-text-muted);font-size:var(--text-xs)}.tasks-details__view .record-view__fields{font-size:var(--text-sm)}.tasks-details h3{font-size:var(--text-xl);line-height:1.3}.tasks-details p{margin:0}.tasks-details>section{gap:var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--color-border-subtle);display:grid}.tasks-details form{gap:var(--space-3);display:grid}.tasks-details h4{color:var(--color-neutral);font-size:var(--text-sm);font-weight:600}.tasks-details>section>p,.tasks-details nav>span{color:var(--color-text-muted);font-size:var(--text-sm)}.tasks-details [aria-label="Смена статуса задачи"]{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}.tasks-details [aria-label="Смена статуса задачи"]>:is(h4,form,p){grid-column:1/-1}.tasks-details nav{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.tasks-details ol{margin:0;padding:0;list-style:none;display:grid}.tasks-details ol>li{padding:var(--space-3) 0;border-bottom:1px solid var(--color-border-subtle);color:var(--color-text-muted);font-size:var(--text-sm);overflow-wrap:anywhere}.tasks-details ol>li:last-child{border-bottom:0}.tasks-details ol p{margin-top:var(--space-1)}.task-archive-notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--color-neutral-soft);overflow-wrap:anywhere}.tasks-panel a.tasks-card,.tasks-card__open{cursor:pointer;text-decoration:none}.tasks-card__open[aria-disabled=true]{cursor:default}.tasks-panel .section-head{min-height:var(--control-height)}.tasks-panel .section-head .button{height:var(--control-height);padding-block:0}.brigades-panel{gap:var(--space-5);min-width:0;margin-top:0;display:grid}.brigades-created{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.brigades-created p{margin:0}.brigades-filters{align-items:end;gap:var(--space-3);flex-wrap:wrap;display:flex}.brigade-details h4{overflow-wrap:anywhere;min-width:0;font-weight:600;font-size:var(--text-md);margin:0}.brigades-panel label,.brigade-details label,.brigade-create label{gap:var(--space-1);min-width:0;display:grid}.section-toolbar__filters>.brigades-filters{display:contents}.brigades-panel>:is(.section-toolbar,.section-head){margin:0}.brigades-panel :is(input,select,textarea),.brigade-details :is(input,select,textarea),.brigade-create :is(input,select,textarea){width:100%;min-width:0;max-width:100%}.brigades-panel .brigades-filters input[type=search]{flex:none;min-width:0}.brigade-details textarea,.brigade-create textarea{resize:vertical}.brigade-details input[type=checkbox]{flex:none;width:1.25rem;height:1.25rem}.brigades-panel .button,.brigade-details .button,.brigade-create .button{padding-block:var(--space-2);text-align:center;overflow-wrap:anywhere}.brigade-details summary{min-height:var(--control-height);padding-block:var(--space-3);cursor:pointer;font-weight:600}.brigades-panel [role=alert],.brigade-details [role=alert],.brigade-alert{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.brigade-roster ul,.brigade-history ol{margin:0;padding:0;list-style:none;display:grid}.brigade-roster>ul{border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.brigade-roster>ul>li+li{border-top:1px solid var(--color-border-subtle)}.brigade-details{gap:var(--space-4);min-width:0;display:grid}.brigade-details>p{margin:0}.brigade-details form,.brigade-create form,.brigade-roster,.brigade-candidates,.brigade-history{gap:var(--space-3);min-width:0;display:grid}.brigade-details form>.button,.brigade-create form>.button{justify-self:start}.brigade-history{border-top:1px solid var(--color-border-subtle);padding-top:var(--space-4)}.brigade-roster li{content-visibility:auto;contain-intrinsic-size:auto 4rem;align-items:center;gap:var(--space-2) var(--space-3);min-height:56px;padding:var(--space-3) var(--space-4);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.brigade-roster li>strong{flex:10rem;min-width:0}.brigade-roster li>small{color:var(--color-text-muted);flex-basis:100%}.brigade-history li{content-visibility:auto;contain-intrinsic-size:auto 4rem;gap:var(--space-1);padding-left:var(--space-3);border-left:2px solid var(--color-border);overflow-wrap:anywhere;display:grid}.brigade-history li>span,.brigade-history li>time{color:var(--color-text-muted);font-size:var(--text-sm)}.brigade-history ol{gap:var(--space-3)}.brigade-roster .brigade-lead-label{min-height:var(--control-height);align-items:center;gap:var(--space-2);display:flex}.brigades-plain{white-space:pre-wrap;overflow-wrap:anywhere}.brigade-confirmation{justify-items:start;gap:var(--space-3);border-radius:var(--radius-md);padding:var(--space-4);color:var(--color-warning);background:var(--color-warning-soft);display:grid}.brigade-confirmation p{margin:0}.brigades-panel>.button{justify-self:start}.brigade-roster>[role=status]:empty{position:absolute}@media (width<=900px){.brigades-table__updated{display:none}}.schedules-panel{gap:var(--space-5);min-width:0;margin-top:0;display:grid}.schedules-toolbar,.schedules-panel nav,.schedules-actions{align-items:end;gap:var(--space-3);flex-wrap:wrap;display:flex}.schedules-panel nav{color:var(--color-text-muted);align-items:center}.schedules-panel h3,.schedules-panel h4{overflow-wrap:anywhere;min-width:0;margin:0;font-weight:600}.schedules-panel h3{font-size:var(--text-lg)}.schedules-panel h4{font-size:var(--text-md)}.schedules-panel label{gap:var(--space-1);min-width:0;display:grid}.schedules-toolbar>label{flex:12rem}.schedules-panel :is(input,select,textarea){width:100%;max-width:100%}.schedules-panel input[type=checkbox]{flex:none;width:1.25rem;height:1.25rem}.schedules-panel .button{padding-block:var(--space-2);overflow-wrap:anywhere;text-align:center}.schedules-panel [role=alert]{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.schedule-confirmation{justify-items:start;gap:var(--space-3);border-radius:var(--radius-md);padding:var(--space-4);color:var(--color-warning);background:var(--color-warning-soft);display:grid}.schedule-confirmation p{margin:0}.schedule-editor,.schedule-period,.schedule-assignment,.schedule-calendar{gap:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-xl);min-width:0;padding:var(--space-5);background:var(--color-surface);display:grid}.schedules-panel form,.schedule-intervals{gap:var(--space-3);min-width:0;display:grid}.schedules-panel form.schedules-filters{display:contents}.schedules-panel fieldset{border:1px solid var(--color-border);border-radius:var(--radius-lg);min-width:0;padding:var(--space-4);margin:0}.schedules-panel legend{padding:0 var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);font-weight:600}.schedules-panel summary{min-height:var(--control-height);padding-block:var(--space-3);cursor:pointer;font-weight:600}.schedule-intervals{border:1px solid var(--color-border-subtle);border-radius:var(--radius-lg);background:var(--color-surface);gap:0;margin:0;padding:0;list-style:none;overflow:hidden}.schedule-intervals>li+li{border-top:1px solid var(--color-border-subtle)}.schedule-intervals li{align-items:center;gap:var(--space-2) var(--space-4);padding:var(--space-2) var(--space-4);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.schedule-intervals li>:is(span,time):not(.badge){color:var(--color-text-muted);font-size:var(--text-sm)}.schedule-intervals li>.icon-button:first-of-type{margin-left:auto}.schedule-intervals .schedule-period--cancelled{color:var(--color-text-muted);background:var(--color-surface-muted)}.schedule-intervals .schedule-period--cancelled .schedule-intervals__brigade,.schedule-intervals .schedule-period--cancelled time{text-decoration:line-through}.schedule-intervals__brigade{align-items:center;gap:var(--space-2);font-weight:600;display:inline-flex}.schedule-list-day{gap:var(--space-2);display:grid}.schedule-days{gap:var(--space-2);flex-wrap:wrap;display:flex}.schedules-panel .schedule-day-option{align-items:center;gap:var(--space-2);min-height:var(--control-height);display:flex}.schedule-days .schedule-day-option{border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--color-surface)}.schedule-days .schedule-day-option:has(input:checked){border-color:var(--color-accent);background:var(--color-accent-soft)}.schedule-month{table-layout:fixed;border-collapse:separate;width:100%;border-spacing:var(--space-1)}.schedule-month caption{padding-bottom:var(--space-2);font-size:var(--text-lg);text-align:left;font-weight:600}.schedule-month caption:first-letter{text-transform:uppercase}.schedule-month th{padding:var(--space-1);color:var(--color-text-muted);font-size:var(--text-xs);text-align:left;font-weight:600}.schedule-month td{vertical-align:top;overflow-wrap:anywhere;padding:0}.schedule-month .schedule-day{align-items:stretch;gap:var(--space-1);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);min-height:92px;padding:var(--space-2);background:var(--color-surface);flex-direction:column;display:flex}.schedule-day strong{border-radius:var(--radius-pill);min-width:26px;height:26px;padding:0 var(--space-1);font-size:var(--text-md);font-variant-numeric:tabular-nums;align-self:flex-start;place-items:center;display:inline-grid}.schedules-panel time{font-variant-numeric:tabular-nums}.schedule-day[aria-current=date] strong{color:var(--color-on-accent);background:var(--color-accent)}.schedule-chips,.schedule-legend{margin:0;padding:0;list-style:none;display:flex}.schedule-chips{gap:var(--space-1);flex-direction:column}.schedule-chip{border-radius:var(--radius-sm);padding:2px var(--space-2);color:var(--roster-text);background:var(--roster-bg);font-size:var(--text-xs);gap:1px;line-height:1.3;text-decoration:none;display:grid}.schedule-chip:hover{text-decoration:underline}.schedule-chip>span:first-child{font-weight:600}.schedule-chip--cancelled{opacity:.6;text-decoration:line-through}.schedule-more{padding:0 var(--space-1);color:var(--color-accent);font-size:var(--text-xs);cursor:pointer;background:0 0;border:0;align-self:flex-start}.schedule-more:hover{text-decoration:underline}.schedule-legend{gap:var(--space-2) var(--space-4);font-size:var(--text-sm);flex-wrap:wrap}.schedule-legend li{align-items:center;gap:var(--space-2);display:inline-flex}.roster-swatch{border-radius:var(--radius-sm);background:var(--roster-text);flex:none;width:12px;height:12px}.schedules-plain{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=600px){.schedules-toolbar{flex-direction:column;align-items:stretch}.schedules-toolbar>label{flex:none}.schedule-editor,.schedule-period,.schedule-assignment,.schedule-calendar{padding:var(--space-4)}}.schedule-period-times{min-width:0;margin:0}.schedule-roster{gap:var(--space-3);min-width:0;display:grid}.schedules-panel .schedule-month-field{gap:var(--space-3);border:0;flex-wrap:wrap;min-width:0;margin:0;padding:0;display:flex}.schedules-panel .schedule-month-field legend{padding:0}.schedules-panel .schedule-day-option{content-visibility:auto;contain-intrinsic-size:auto 8rem 44px}.schedule-intervals:empty{display:none}.schedules-panel .section-toolbar,.schedules-panel .section-head{margin:0}.schedules-panel .segmented{justify-self:start;max-width:100%}@media (width<=900px){.schedules-table__version{display:none}}.schedules-dialog{margin-top:0}.schedules-dialog .schedule-editor,.schedules-dialog .schedule-period,.schedules-dialog .schedule-assignment{border:0;border-radius:0;padding:0}.roster--1{--roster-bg:var(--color-roster-1-bg);--roster-text:var(--color-roster-1-text)}.roster--2{--roster-bg:var(--color-roster-2-bg);--roster-text:var(--color-roster-2-text)}.roster--3{--roster-bg:var(--color-roster-3-bg);--roster-text:var(--color-roster-3-text)}.roster--4{--roster-bg:var(--color-roster-4-bg);--roster-text:var(--color-roster-4-text)}.roster--5{--roster-bg:var(--color-roster-5-bg);--roster-text:var(--color-roster-5-text)}.roster--6{--roster-bg:var(--color-roster-6-bg);--roster-text:var(--color-roster-6-text)}.handovers-panel{gap:var(--space-5);min-width:0;display:grid}.handovers-panel label,.handover-card label,.handover-fields,.handover-picker,.handovers-workspace,.handover-history{gap:var(--space-3);display:grid}.handovers-workspace{gap:var(--space-5)}.handovers-workspace>:is(.section-toolbar,.section-head){margin:0}.handovers-panel input,.handovers-panel select,.handovers-panel textarea,.handover-card input,.handover-card textarea{width:100%}.handovers-panel label,.handover-card label{gap:var(--space-1)}.handovers-panel .button,.handover-card .button{padding-block:var(--space-2);text-align:center;overflow-wrap:anywhere}.handovers-workspace>*,.handover-card>*,.handover-fields>*,.handover-picker>*{min-width:0}.data-table__note.handover-summary{-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.handover-card{gap:var(--space-4);display:grid}.handover-card>p{margin:0}.handover-confirmation{justify-items:start;gap:var(--space-3);border-radius:var(--radius-md);padding:var(--space-4);color:var(--color-warning);background:var(--color-warning-soft);display:grid}.handover-confirmation p{margin:0}.handovers-panel [role=alert],.handover-card [role=alert]{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}.handover-history{border-top:1px solid var(--color-border-subtle);padding-top:var(--space-4)}.handover-card h4,.handover-history h4{font-size:var(--text-md);margin:0;font-weight:600}.handover-text{gap:var(--space-2);display:grid}.handover-text p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.handover-text h4:not(:first-child){margin-top:var(--space-2)}.handover-picker form{gap:var(--space-3);flex-wrap:wrap;align-items:end;display:flex}.handover-picker form label{flex:12rem}.handover-history li,.handover-reason{overflow-wrap:anywhere}.handover-reason{white-space:pre-wrap}.handover-history ol{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.handover-history li{padding-left:var(--space-3);border-left:2px solid var(--color-border)}.handover-history li p{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:var(--text-sm)}.handover-field{gap:var(--space-2);display:grid}.handover-field>span{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500}.handover-create{gap:var(--space-5);min-width:0;display:grid}.handover-create :is(.handover-picker,.handover-fields){gap:var(--space-4);min-width:0;display:grid}.handover-create label{gap:var(--space-1);min-width:0;display:grid}.handover-create :is(input,select,textarea){width:100%;max-width:100%}.handover-create textarea{resize:vertical;min-height:7rem}.handover-create .handover-picker form{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.handover-create .handover-picker form label{flex:14rem}.handover-create .handover-fields>button[type=submit]{justify-self:end}.handover-create [role=alert]{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0}@media (width<=900px){.handovers-table__sender{display:none}}.chat-attachments{gap:var(--space-3);min-width:0;padding:var(--space-4);border-radius:var(--radius-lg);background:var(--color-surface);display:grid}.chat-attachments>header{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.chat-attachments h5,.chat-attachments p{margin:0}.chat-attachments p{color:var(--color-text-muted);font-size:var(--text-sm)}.chat-attachments form,.chat-attachments form label,.chat-attachment-draft{gap:var(--space-3);display:grid}.chat-attachments input[type=file]{max-width:100%}.chat-attachment-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));margin:0;padding:0;list-style:none;display:grid}.chat-attachment-grid>li{align-content:start;gap:var(--space-2);min-width:0;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-muted);overflow-wrap:anywhere;display:grid}.chat-attachment-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.chat-attachment-grid time{color:var(--color-text-muted);font-size:var(--text-xs)}.chat-attachment-open{border-radius:var(--radius-md);background:0 0;border:0;min-height:7rem;padding:0}.chat-attachment-draft>span{overflow-wrap:anywhere;min-width:0}.chat-attachment-open img,.chat-attachment-draft img{border-radius:var(--radius-md);object-fit:contain;width:100%;height:auto;max-height:10rem;display:block}@media (width<=640px){.chat-attachments>header{flex-direction:column;align-items:stretch}}.chat-panel,.chat-workspace,.chat-detail,.chat-composer{gap:var(--space-3);display:grid}.chat-panel{gap:var(--space-5)}.chat-panel :is(.section-head,.section-toolbar){margin:0}.chat-toolbar-slot{display:contents}.chat-workspace{gap:var(--space-4)}.chat-panel,.chat-workspace,.chat-detail,.chat-message,.chat-composer,.chat-confirmation{overflow-wrap:anywhere;min-width:0}.chat-workspace h3,.chat-detail h3{font-size:var(--text-lg);margin:0;font-weight:600}.chat-panel label{gap:var(--space-1);display:grid}.chat-panel select{width:auto;min-width:14rem}.chat-confirmation{align-items:center;gap:var(--space-3);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--color-warning-soft);flex-wrap:wrap;display:flex}.chat-confirmation p{flex:100%;margin:0}.chat-panes{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);display:grid;overflow:hidden}.chat-pane{min-width:0;min-height:0}.chat-pane--list{flex-direction:column;display:flex}.chat-pane--thread{height:calc(100dvh - 15rem);min-height:26rem;display:flex}.chat-pane--empty{margin:0;display:none}.chat-panes--thread .chat-pane--list,.chat-detail .chat-detail__close{display:none}@media (width>=68.75rem){.chat-panes{grid-template-columns:minmax(20rem,26rem) minmax(0,1fr);height:calc(100dvh - 20.25rem);min-height:30rem}.chat-pane--list,.chat-panes--thread .chat-pane--list{border-right:1px solid var(--color-border);display:flex}.chat-pane--thread{height:auto;min-height:0}.chat-pane--empty{color:var(--color-text-muted);place-items:center;display:grid}.chat-detail .chat-detail__back{display:none}.chat-detail .chat-detail__close{display:inline-flex}}.chat-list-head{gap:var(--space-2);padding:var(--space-4) var(--space-4) var(--space-3);border-bottom:1px solid var(--color-border-subtle);flex:none;display:grid}.chat-list-head__title{align-items:center;gap:var(--space-2);display:flex}.chat-list-head__title h3{margin-right:auto}.chat-live-dot{background:var(--color-success);border-radius:50%;flex:none;width:8px;height:8px}.chat-live-dot--connecting,.chat-live-dot--reconnecting{background:var(--color-warning)}.chat-list-head p{margin:0}.chat-filter{display:flex}.chat-filter button{padding:0 var(--space-2);white-space:nowrap;flex:auto}.chat-live-status{color:var(--color-text-muted);font-size:var(--text-xs);margin:0}.chat-live-status:empty{display:none}.chat-list-scroll{align-content:start;gap:var(--space-2);min-height:0;padding:var(--space-2);flex:auto;display:grid;overflow-y:auto}.chat-list-empty{padding:var(--space-4);color:var(--color-text-muted);text-align:center;margin:0}.chat-load-more{justify-self:center}.chat-root-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.chat-root-list>li{content-visibility:auto;contain-intrinsic-size:auto 5.5rem;padding:2px}.chat-root-list>li>:is(button,a){align-items:end;gap:var(--space-1) var(--space-2);border-radius:var(--radius-md);width:100%;min-width:0;padding:var(--space-3);color:var(--color-text);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;text-decoration:none;display:grid}.chat-root-list>li>:is(button,a):hover{background:var(--color-surface-muted)}.chat-root-list>li>:is(button,a)[aria-current=true]{background:var(--color-accent-soft)}.chat-root-author{align-items:center;gap:var(--space-2);grid-column:1/-1;min-width:0;display:flex}.chat-root-author strong{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.chat-root-author time{color:var(--color-text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;flex:none}.chat-preview{padding-left:calc(36px + var(--space-2));color:var(--color-text-muted);font-size:var(--text-sm);line-clamp:2;-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-root-list .chat-badges{flex-wrap:nowrap}.chat-badges{align-items:center;gap:var(--space-1);flex-wrap:wrap;display:flex}.chat-badge{border-radius:var(--radius-pill);min-width:1.25rem;color:var(--color-neutral);background:var(--color-neutral-soft);font-size:var(--text-xs);white-space:nowrap;justify-content:center;align-items:center;gap:3px;padding:1px 7px;font-weight:600;line-height:1.5;display:inline-flex}.chat-badge--unread{color:var(--color-on-accent);background:var(--color-accent)}.chat-badge--mention{color:var(--color-warning);background:var(--color-warning-soft)}.chat-detail{flex-direction:column;flex:auto;gap:0;min-width:0;min-height:0;display:flex;position:relative}.chat-detail__head{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border-subtle);flex:none;display:flex}.chat-detail>[role=alert],.chat-detail>[role=status]{padding:var(--space-3) var(--space-4);margin:0}.chat-detail>.chat-detail__loading{top:3.5rem;right:var(--space-4);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm,4px);background:var(--color-surface);font-size:var(--text-xs);position:absolute}.chat-detail__messages--stale{opacity:.5}.chat-detail__messages{align-content:start;gap:var(--space-3);min-height:0;padding:var(--space-4);background:var(--color-surface-muted);flex:auto;display:grid;overflow-y:auto}.chat-replies{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.chat-replies-title,.chat-detail__messages>p{color:var(--color-text-muted);font-size:var(--text-xs);text-align:center;margin:0;font-weight:600}.chat-detail__messages>.button{justify-self:center}.chat-message{align-items:flex-start;gap:var(--space-2);display:flex}.chat-message--own{flex-direction:row-reverse}.chat-message__main{gap:2px;min-width:0;max-width:min(100%,38rem);display:grid}.chat-message--own .chat-message__main{justify-items:end}.chat-message>header,.chat-message__main>header{align-items:center;gap:var(--space-2);min-width:0;min-height:1.75rem;display:flex}.chat-message--own .chat-message__main>header{flex-direction:row-reverse}.chat-message__main>header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-message__main>header>:is(time,.chat-badge){flex:none}.chat-message time{color:var(--color-text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.chat-bubble{gap:var(--space-2);border-radius:4px var(--radius-lg) var(--radius-lg) var(--radius-lg);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border-subtle);background:var(--color-surface);min-width:0;display:grid}.chat-message--own .chat-bubble{border-radius:var(--radius-lg) 4px var(--radius-lg) var(--radius-lg);background:var(--color-accent-soft)}.chat-body,.chat-mentions{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-mention{border-radius:var(--radius-sm);color:var(--color-info);background:var(--color-info-soft);padding:0 3px;font-weight:600}.chat-mentions{color:var(--color-info);font-size:var(--text-sm)}.chat-message__actions{opacity:0;gap:2px;margin-inline-start:auto;transition:opacity .12s;display:flex}.chat-message--own .chat-message__actions{margin-inline:0 auto}.chat-message:hover .chat-message__actions,.chat-message:focus-within .chat-message__actions{opacity:1}.chat-message__actions:has([aria-expanded=true]){opacity:1}@media (hover:none),(width<=640px){.chat-message__actions{opacity:1}}.chat-message__actions .icon-button{width:32px;min-width:32px;height:32px;min-height:32px}.chat-message__actions .icon-button[data-tooltip]:is(:hover,:focus-visible):after{left:auto;right:0}.chat-message--own .chat-message__actions .icon-button[data-tooltip]:is(:hover,:focus-visible):after{left:0;right:auto}.chat-bubble .chat-attachments{background:0 0;padding:0}.chat-composer{gap:var(--space-2)}.chat-detail>.chat-composer{padding:var(--space-3) var(--space-4);border-top:1px solid var(--color-border-subtle);background:var(--color-surface);flex:none}.chat-composer p[role=alert]{margin:0}.chat-composer__row{align-items:flex-end;gap:var(--space-2);display:flex}.chat-composer__field{flex:auto;min-width:0;position:relative}.chat-composer__field textarea{width:100%;max-height:9rem;min-height:var(--control-height);resize:none;display:block;overflow-y:auto}.chat-composer__row>.icon-button{width:var(--control-height);height:var(--control-height);flex:none}.chat-chips{gap:var(--space-1);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.chat-chips li{align-items:center;gap:var(--space-1);border-radius:var(--radius-pill);max-width:100%;padding:2px 2px 2px var(--space-3);color:var(--color-info);background:var(--color-info-soft);font-size:var(--text-sm);display:inline-flex}.chat-chips .chat-chips__file{color:var(--color-neutral);background:var(--color-neutral-soft)}.chat-chips li>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-chips__remove{border-radius:var(--radius-pill);width:28px;height:28px;color:inherit;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.chat-chips__remove:hover{background:var(--color-hover-overlay)}.chat-mention-popup{z-index:20;max-height:12rem;padding:var(--space-1);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-md);margin:0;list-style:none;display:grid;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow-y:auto}.chat-mention-popup li{border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);cursor:pointer}.chat-mention-popup li[aria-selected=true]{color:var(--color-info);background:var(--color-accent-soft)}.chat-mention-popup--note{padding:var(--space-2) var(--space-3);margin:0}@media (width<=640px){.chat-panel select{width:100%}.chat-detail__messages{padding:var(--space-3)}}.dialog .chat-mention-popup{top:calc(100% + 6px);bottom:auto}.chat-other-unread{color:var(--color-text-muted);font-size:var(--text-md);margin:0}.chat-other-unread a{margin-right:var(--space-3)}.integrations-panel{gap:var(--space-4);display:grid}.integrations-panel .section-head,.integrations-panel .section-toolbar{margin:0}.integrations-tabpanel{gap:var(--space-4);min-width:0;display:grid}.integration-tabs{justify-self:start;max-width:100%;overflow-x:auto}.integration-tabs button{white-space:nowrap;cursor:pointer}.integration-tabs button:hover:not([aria-selected=true]){background:var(--color-surface-muted)}.integration-tabs button:focus-visible{outline:var(--focus-ring);outline-offset:2px}.integration-list-column{gap:var(--space-3);min-width:0;display:grid}.integration-list-column .pager{margin-top:0}.integration-table__url{max-width:24rem}.integration-row__url{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.integration-editor{gap:var(--space-4);display:grid}.integration-editor label,.integration-form label{gap:var(--space-2);display:grid}.integration-form{gap:var(--space-4);display:grid}.integration-editor input:not([type=checkbox]),.integration-editor textarea,.integration-editor select,.integration-form input:not([type=checkbox]),.integration-form textarea,.integration-form select{width:100%}.integration-editor fieldset,.integration-form fieldset{gap:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--color-surface-muted);margin:0;display:grid}.integration-editor legend,.integration-form legend{padding:0 var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:600}.integration-departments,.integration-permissions{max-height:260px;overflow-y:auto}.integration-departments label,.integration-permissions label{align-items:center;gap:var(--space-3);min-height:var(--control-height);border-bottom:1px solid var(--color-border-subtle);color:var(--color-text);font-size:var(--text-md);overflow-wrap:anywhere;display:flex}.integration-departments label:last-of-type,.integration-permissions label:last-of-type{border-bottom:0}.integration-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.integration-key-history{gap:var(--space-2);display:grid}.integration-key-history article{justify-items:start;gap:var(--space-1);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);background:var(--color-surface);display:grid}.integration-key-history article span:not(.badge),.integration-key-history article small{color:var(--color-text-muted);font-size:var(--text-sm)}.integration-warning{gap:var(--space-3);padding:var(--space-3) var(--space-4);color:var(--color-warning);background:var(--color-warning-soft);border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;display:flex}.secret-dialog{z-index:10;padding:var(--space-5);background:var(--color-overlay);overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}.secret-card{gap:var(--space-4);overscroll-behavior:contain;max-width:540px;max-height:100%;padding:var(--space-6);background:var(--color-surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);display:grid;overflow-y:auto}.secret-card h3{font-size:var(--text-xl);margin:0;font-weight:600}.secret-card p{color:var(--color-text-muted);margin:0}.secret-card code{overflow-wrap:anywhere;padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:var(--radius-md);font-family:var(--font-mono);font-size:var(--text-md);display:block}.secret-card div{gap:var(--space-3);flex-wrap:wrap;display:flex}.webhook-details a,.delivery-id{overflow-wrap:anywhere}.delivery-attempts{gap:var(--space-2);padding-left:var(--space-6);display:grid}.delivery-attempts li{font-variant-numeric:tabular-nums;gap:var(--space-1);display:grid}.delivery-attempts span,.delivery-attempts small{color:var(--color-text-muted)}.secret-card .secret-copy-status{min-height:1.2em;margin:0}@media (width<=900px){.integration-table__url,.integration-table__attempts{display:none}}@media (width<=760px){.delivery-filters select{width:100%}}.naryad-mapping__table{border-collapse:collapse;width:100%}.naryad-mapping__table th,.naryad-mapping__table td{padding:var(--space-2);text-align:left;vertical-align:middle}.naryad-mapping__table select{min-width:14rem;max-width:100%}.naryad-mapping__synced{margin-top:var(--space-1);color:var(--color-text-muted);display:block}.naryad-connection,.naryad-connection__form,.naryad-connection__webhook{gap:var(--space-3);display:grid}.naryad-connection__form{max-width:36rem}.naryad-connection__form label{gap:var(--space-1);display:grid}.naryad-connection__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.auth-form{align-items:start}.auth-form.setup-form .field:first-child,.auth-form.setup-form .field:last-of-type{grid-column:auto}.auth-form.setup-form .field.field--wide{grid-column:1/-1}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--color-bg:var(--lightningcss-light,#eef1f4)var(--lightningcss-dark,#12161c);--color-surface:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1a2029);--color-surface-muted:var(--lightningcss-light,#f6f8fa)var(--lightningcss-dark,#151a22);--color-border:var(--lightningcss-light,#d5dbe2)var(--lightningcss-dark,#2c3542);--color-border-subtle:var(--lightningcss-light,#e4e8ed)var(--lightningcss-dark,#232a35);--color-text:var(--lightningcss-light,#1b2330)var(--lightningcss-dark,#e3e8ee);--color-text-muted:var(--lightningcss-light,#586272)var(--lightningcss-dark,#9aa5b4);--color-accent:var(--lightningcss-light,#1f5fa8)var(--lightningcss-dark,#6ea8e8);--color-accent-hover:var(--lightningcss-light,#174a85)var(--lightningcss-dark,#8dbbf0);--color-accent-soft:var(--lightningcss-light,#e8f0f9)var(--lightningcss-dark,#1c2d44);--color-on-accent:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0d1420);--color-sidebar:var(--lightningcss-light,#1e2632)var(--lightningcss-dark,#0f1318);--color-sidebar-raised:var(--lightningcss-light,#28323f)var(--lightningcss-dark,#181e26);--color-sidebar-active:var(--lightningcss-light,#2f4a6e)var(--lightningcss-dark,#22374f);--color-sidebar-border:var(--lightningcss-light,#2a333f)var(--lightningcss-dark,#1c232c);--color-sidebar-text:#c9d1dc;--color-sidebar-strong:#fff;--color-sidebar-active-text:#fff;--color-sidebar-muted:var(--lightningcss-light,#9aa5b4)var(--lightningcss-dark,#8e99a8);--color-sidebar-heading:var(--lightningcss-light,#8c97a6)var(--lightningcss-dark,#7f8a99);--color-sidebar-warning:#f2b766;--color-sidebar-focus:#8db8ea;--color-tooltip:var(--lightningcss-light,#1f2430)var(--lightningcss-dark,#c9d1dc);--color-danger:var(--lightningcss-light,#b42318)var(--lightningcss-dark,#f28b82);--color-danger-soft:var(--lightningcss-light,#fdecea)var(--lightningcss-dark,#3a1d1d);--color-warning:var(--lightningcss-light,#8a4b06)var(--lightningcss-dark,#f2b766);--color-warning-soft:var(--lightningcss-light,#fdf1e0)var(--lightningcss-dark,#3a2a12);--color-success:var(--lightningcss-light,#1e6b43)var(--lightningcss-dark,#6fcf97);--color-success-soft:var(--lightningcss-light,#e4f3ea)var(--lightningcss-dark,#16301f);--color-info:var(--lightningcss-light,#174a85)var(--lightningcss-dark,#8db8ea);--color-info-soft:var(--lightningcss-light,#e8f0f9)var(--lightningcss-dark,#1c2d44);--color-review:var(--lightningcss-light,#6b21a8)var(--lightningcss-dark,#c9a2f5);--color-review-soft:var(--lightningcss-light,#f3e8ff)var(--lightningcss-dark,#2d1f40);--color-neutral:var(--lightningcss-light,#45484f)var(--lightningcss-dark,#b4bcc8);--color-neutral-soft:var(--lightningcss-light,#eef1f5)var(--lightningcss-dark,#232a35);--color-priority-high:var(--lightningcss-light,#9a3412)var(--lightningcss-dark,#f4a26b);--color-priority-high-soft:var(--lightningcss-light,#ffedd5)var(--lightningcss-dark,#3a2416);--color-overlay:var(--lightningcss-light,#16181d8c)var(--lightningcss-dark,#000000a6);--color-hover-overlay:var(--lightningcss-light,#00000014)var(--lightningcss-dark,#ffffff0f);--color-focus-ring:var(--lightningcss-light,#1f5fa866)var(--lightningcss-dark,#8db8ea8c);--color-roster-1-bg:var(--lightningcss-light,#dbe8f8)var(--lightningcss-dark,#1d3150);--color-roster-1-text:var(--lightningcss-light,#174a85)var(--lightningcss-dark,#a9c9f0);--color-roster-2-bg:var(--lightningcss-light,#dcefe3)var(--lightningcss-dark,#1a3626);--color-roster-2-text:var(--lightningcss-light,#1e6b43)var(--lightningcss-dark,#9bd7b2);--color-roster-3-bg:var(--lightningcss-light,#fbe8c8)var(--lightningcss-dark,#3d2c12);--color-roster-3-text:var(--lightningcss-light,#7a4205)var(--lightningcss-dark,#f0c98a);--color-roster-4-bg:var(--lightningcss-light,#ece0f8)var(--lightningcss-dark,#2f2244);--color-roster-4-text:var(--lightningcss-light,#5b1d8c)var(--lightningcss-dark,#d2b6f2);--color-roster-5-bg:var(--lightningcss-light,#d3eeee)var(--lightningcss-dark,#163737);--color-roster-5-text:var(--lightningcss-light,#135b5b)var(--lightningcss-dark,#93d5d5);--color-roster-6-bg:var(--lightningcss-light,#f9dde3)var(--lightningcss-dark,#3e1d27);--color-roster-6-text:var(--lightningcss-light,#8f1d3c)var(--lightningcss-dark,#f1a9ba);--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-pill:999px;--shadow-sm:0 1px 2px #17181c0f;--shadow-md:0 6px 18px #17181c1a;--shadow-panel:-24px 0 48px #17181c14;--shadow-dialog:0 24px 64px #16181d3d;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:40px;--font-sans:"Onest Variable", system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, monospace;--text-xs:12px;--text-sm:13px;--text-md:14px;--text-lg:16px;--text-xl:20px;--text-2xl:24px;--text-3xl:30px;--text-display:36px;--control-height:36px;--focus-ring:3px solid var(--color-focus-ring)}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--shadow-sm:0 1px 2px #0006;--shadow-md:0 6px 18px #00000073;--shadow-panel:-24px 0 48px #0006;--shadow-dialog:0 24px 64px #0009}}:root[data-theme=dark]{--shadow-sm:0 1px 2px #0006;--shadow-md:0 6px 18px #00000073;--shadow-panel:-24px 0 48px #0006;--shadow-dialog:0 24px 64px #0009}@media (pointer:coarse){:root{--control-height:44px}}:root{color:var(--color-text);background:var(--color-bg);font-family:var(--font-sans);font-size:var(--text-md);font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}h1,h2,h3{text-wrap:balance}a{color:var(--color-accent);text-decoration:none}a:hover{color:var(--color-accent-hover)}button{cursor:pointer;touch-action:manipulation}button:disabled,button[aria-disabled=true]{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:var(--focus-ring);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:40;top:var(--space-2);left:var(--space-2);padding:10px var(--space-4);border-radius:var(--radius-sm);color:var(--color-on-accent);background:var(--color-tooltip);position:absolute;transform:translateY(-200%)}.skip-link:focus{color:var(--color-on-accent);transform:none}.button,.secondary-button,.employee-panel__heading button,.employee-details button,.employee-form button,.employee-panel__pagination button,.module-panel__heading button,.module-panel__pagination button,.module-card button,.module-panel__filters button,.form-error button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-4);color:var(--color-text);background:var(--color-surface);font-size:var(--text-md);font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.employee-panel__heading button:hover:not(:disabled),.employee-details button:hover:not(:disabled),.employee-form button:hover:not(:disabled),.employee-panel__pagination button:hover:not(:disabled),.module-panel__heading button:hover:not(:disabled),.module-panel__pagination button:hover:not(:disabled),.module-card button:hover:not(:disabled),.module-panel__filters button:hover:not(:disabled),.form-error button:hover:not(:disabled){border-color:var(--color-accent);background:var(--color-accent-soft)}:is(.employee-panel__heading,.employee-details,.employee-form,.employee-panel__pagination,.module-panel__heading,.module-panel__pagination,.module-card,.module-panel__filters,.form-error) .icon-button{padding:0}.button--primary,.primary-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);border:1px solid var(--color-accent);border-radius:var(--radius-md);padding:0 var(--space-5);color:var(--color-on-accent);background:var(--color-accent);font-size:var(--text-md);box-shadow:none;font-weight:600;transition:background .15s;display:inline-flex}.button--primary:hover:not(:disabled),.primary-button:hover:not(:disabled){border-color:var(--color-accent-hover);background:var(--color-accent-hover)}.primary-button:disabled{cursor:wait;opacity:.65}.button--quiet{box-shadow:none;background:0 0;border-color:#0000}.button--quiet:hover:not(:disabled){background:var(--color-neutral-soft);border-color:#0000}.button--danger{border-color:var(--color-danger);color:var(--color-danger)}.button--danger:hover:not(:disabled){border-color:var(--color-danger);background:var(--color-danger-soft)}a.button,a.icon-button{text-decoration:none}.icon-button{width:var(--control-height);height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:var(--color-surface);flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover:not(:disabled):not([aria-disabled=true]){background:var(--color-accent-soft)}.icon-button--danger{color:var(--color-danger)}.icon-button--danger:hover:not(:disabled):not([aria-disabled=true]){background:var(--color-danger-soft)}.icon-button--primary{border-color:var(--color-accent);color:var(--color-on-accent);background:var(--color-accent)}.icon-button--primary:hover:not(:disabled):not([aria-disabled=true]){background:var(--color-accent-hover)}.icon-button[data-tooltip]{position:relative}.icon-button[data-tooltip]:is(:hover,:focus-visible):after{z-index:50;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);color:var(--color-on-accent);background:var(--color-tooltip);font-size:var(--text-xs);white-space:nowrap;content:attr(data-tooltip);pointer-events:none;font-weight:500;line-height:1.3;position:absolute;top:calc(100% + 6px);left:0}:is(.section-toolbar__actions,.panel-header,.record-view__actions)>.icon-button[data-tooltip]:last-child:is(:hover,:focus-visible):after{left:auto;right:0;transform:none}:where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=button],[type=submit]),select,textarea){border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:0;padding:0 var(--space-3);color:var(--color-text);background:var(--color-surface);transition:border-color .15s,box-shadow .15s}:where(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=button],[type=submit]),select){min-height:var(--control-height)}:where(textarea){min-height:108px;padding:10px var(--space-3);resize:vertical}:where(input:not([type=checkbox],[type=radio]),select,textarea):focus{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}:where(input,select,textarea):disabled{color:var(--color-text-muted);background:var(--color-surface-muted)}:where(input,select,textarea)[aria-invalid=true]{border-color:var(--color-danger)}label,.field label{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500}label:has(>:is(input:not([type=checkbox],[type=radio]),select,textarea)){gap:var(--space-2);min-width:0;display:grid}label:has(>:is(input:not([type=checkbox],[type=radio]),select,textarea))>:is(input,select,textarea){width:100%}input[type=checkbox],input[type=radio]{accent-color:var(--color-accent)}.card{border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-5);background:var(--color-surface)}.panel-header{justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.panel-header h2,.panel-header h3{font-size:var(--text-lg);margin:0;font-weight:600}.badge{align-items:center;gap:var(--space-1);border-radius:var(--radius-pill);color:var(--color-neutral);background:var(--color-neutral-soft);font-size:var(--text-xs);white-space:nowrap;padding:3px 10px;font-weight:600;display:inline-flex}.badge--info{color:var(--color-info);background:var(--color-info-soft)}.badge--success{color:var(--color-success);background:var(--color-success-soft)}.badge--warning{color:var(--color-warning);background:var(--color-warning-soft)}.badge--danger{color:var(--color-danger);background:var(--color-danger-soft)}.badge--review{color:var(--color-review);background:var(--color-review-soft)}.badge--neutral{color:var(--color-neutral);background:var(--color-neutral-soft)}.badge--priority-high{color:var(--color-priority-high);background:var(--color-priority-high-soft)}.segmented{border-radius:var(--radius-md);background:var(--color-border-subtle);gap:2px;padding:3px;display:inline-flex}.segmented button,.segmented [role=tab]{border-radius:var(--radius-sm);min-height:34px;padding:0 var(--space-4);color:var(--color-neutral);font-size:var(--text-sm);background:0 0;border:0;font-weight:500}.segmented button[aria-selected=true],.segmented button[aria-pressed=true],.segmented button[aria-current=true],.segmented [role=tab][aria-selected=true]{color:var(--color-text);background:var(--color-surface);font-weight:600}.empty-state{padding:var(--space-6);color:var(--color-text-muted);text-align:center;margin:auto}.muted{color:var(--color-text-muted)}.kicker{color:var(--color-text-muted);font-size:var(--text-xs);margin:0;font-weight:600}.error-text{color:var(--color-danger)}.form-notice{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-warning);background:var(--color-warning-soft);font-size:var(--text-sm);margin:0}.form-error{overflow-wrap:anywhere;border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-danger);background:var(--color-danger-soft);font-size:var(--text-sm);margin:0}.form-error button{margin-left:var(--space-3);border-color:var(--color-danger);min-height:36px;color:var(--color-danger)}.form-error button:hover:not(:disabled){border-color:var(--color-danger);background:var(--color-surface)}.field{gap:var(--space-2);display:grid}.field input{width:100%}.field small{color:var(--color-text-muted);font-weight:400}.field .field-error{color:var(--color-danger);font-weight:600}.spinner{width:32px;height:32px;margin-bottom:var(--space-6);border:3px solid var(--color-border);border-top-color:var(--color-accent);border-radius:50%;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand>span:last-child{gap:2px;min-width:0;display:grid}.brand strong{font-size:var(--text-lg);font-weight:600}.brand-mark{border-radius:var(--radius-md);width:34px;height:34px;color:var(--color-on-accent);background:var(--color-accent);font-size:var(--text-md);letter-spacing:.02em;flex:none;place-items:center;font-weight:700;display:grid}.auth-shell{min-height:100dvh;padding:max(var(--space-6), env(safe-area-inset-top)) max(var(--space-4), env(safe-area-inset-right)) max(var(--space-6), env(safe-area-inset-bottom)) max(var(--space-4), env(safe-area-inset-left));background:var(--color-bg);place-items:center;display:grid}.auth-panel{border:1px solid var(--color-border);border-radius:var(--radius-xl);width:min(100%,460px);padding:var(--space-7);background:var(--color-surface);flex-direction:column;display:flex}.auth-panel .brand{margin-bottom:var(--space-6)}.auth-panel h1{margin:var(--space-2) 0 var(--space-1);font-size:var(--text-2xl);font-weight:600;line-height:1.2}.auth-subtitle,.auth-status>p{margin:0 0 var(--space-6);color:var(--color-text-muted);line-height:1.5}.auth-form{gap:var(--space-4);width:100%;display:grid}.setup-form{grid-template-columns:1fr 1fr}.setup-form .field:first-child,.setup-form .field:last-of-type,.setup-form .form-error,.setup-form .primary-button{grid-column:1/-1}.auth-shell:has(.setup-form) .auth-panel{width:min(100%,640px)}.auth-status{text-align:center;align-items:center}.auth-status .brand{margin-bottom:var(--space-7)}.auth-status h1{margin:0 0 var(--space-3);font-size:var(--text-2xl)}.auth-status__icon{width:56px;height:56px;margin-bottom:var(--space-5);color:var(--color-danger);background:var(--color-danger-soft);border-radius:50%;place-items:center;display:grid}.auth-status__action{width:100%}.workspace-shell{background:linear-gradient(to right, var(--color-sidebar) 248px, var(--color-bg) 248px);grid-template-columns:248px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{gap:var(--space-5);border-right:1px solid var(--color-sidebar-border);height:100dvh;padding:var(--space-5) 14px;color:var(--color-sidebar-text);background:var(--color-sidebar);flex-direction:column;display:flex;position:sticky;top:0;overflow:hidden}.sidebar .brand{padding:var(--space-1) var(--space-2)}.sidebar .brand strong{color:var(--color-sidebar-strong)}.sidebar nav{align-content:start;gap:var(--space-5);overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;margin:0 -6px;padding:0 6px;display:grid;overflow-y:auto}@media (width>=901px) and (height<=1100px){.sidebar{gap:var(--space-4);padding-block:var(--space-4)}.sidebar nav{gap:var(--space-2)}.sidebar .nav-group{gap:1px}.sidebar .nav-group__title{padding-block:2px}}.nav-group{gap:2px;display:grid}.nav-group__title{padding:6px var(--space-3);color:var(--color-sidebar-heading);font-size:var(--text-xs);margin:0;font-weight:600}.nav-item{align-items:center;gap:var(--space-3);width:100%;min-height:var(--control-height);border-radius:var(--radius-sm);padding:0 var(--space-3);color:var(--color-sidebar-text);font-size:var(--text-md);text-align:left;background:0 0;border:0;text-decoration:none;display:flex}.nav-item svg{flex:none}.nav-item__count{border-radius:var(--radius-pill);color:var(--color-sidebar-strong);background:var(--color-sidebar-raised);font-size:var(--text-xs);font-variant-numeric:tabular-nums;margin-left:auto;padding:1px 8px;font-weight:600}.nav-item__count--accent{color:var(--color-on-accent);background:var(--color-accent)}button.nav-item:hover:not(.active),a.nav-item:hover:not(.active){color:var(--color-sidebar-strong);background:var(--color-sidebar-raised)}.nav-item.active{color:var(--color-sidebar-active-text);background:var(--color-sidebar-active);font-weight:500}.nav-item--unavailable{color:var(--color-sidebar-heading);cursor:not-allowed}.sidebar :focus-visible{outline-color:var(--color-sidebar-focus);outline-offset:-2px}.sidebar-user{border-top:1px solid var(--color-sidebar-border);padding:10px var(--space-2) 0;align-items:center;gap:10px;margin-top:auto;display:flex}.avatar{width:36px;height:36px;color:var(--color-warning);background:var(--color-warning-soft);font-size:var(--text-sm);border-radius:50%;flex:none;place-items:center;font-weight:600;display:grid}.sidebar-user__profile{border-radius:var(--radius-sm);min-width:0;padding:var(--space-1);color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;text-decoration:none;display:flex}.sidebar-user__profile:hover,.sidebar-user__profile[aria-current=page]{background:var(--color-sidebar-raised)}.sidebar-user__profile .person-avatar{color:var(--color-warning);background:var(--color-warning-soft)}.sidebar-user__text{flex:1;min-width:0;display:grid}.sidebar-user__text strong{color:var(--color-sidebar-strong);font-size:var(--text-sm);overflow-wrap:break-word;font-weight:500}.sidebar-user__text small{color:var(--color-sidebar-muted);font-size:var(--text-xs);overflow-wrap:break-word}.logout-button{width:max(40px, var(--control-height));height:max(40px, var(--control-height));margin-left:var(--space-2);border-radius:var(--radius-sm);color:var(--color-sidebar-muted);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.logout-button:hover:not(:disabled){color:var(--color-sidebar-strong);background:var(--color-sidebar-raised)}.menu-button,.sidebar-backdrop{display:none}.workspace-main{flex-direction:column;min-width:0;display:flex}.workspace-header{gap:var(--space-4);border-bottom:1px solid var(--color-border);height:72px;padding:0 max(var(--space-7), env(safe-area-inset-right)) 0 max(var(--space-7), env(safe-area-inset-left));flex:none;align-items:center;display:flex}.workspace-header h1{font-size:var(--text-xl);text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:600;overflow:hidden}.workspace-header__shift{max-width:50%;color:var(--color-text-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;flex:none;margin-left:auto;text-decoration:none;overflow:hidden}.workspace-header__shift:hover{color:var(--color-text)}.workspace-content{min-width:0;padding:var(--space-6) max(var(--space-7), env(safe-area-inset-right)) var(--space-7) max(var(--space-7), env(safe-area-inset-left));flex:1}.workspace-content:focus-visible{outline:none}.workspace-content>:first-child,.workspace-content>:first-child>:first-child{margin-top:0}.directory-panel,.employee-panel{margin-top:var(--space-6)}.directory-heading,.employee-panel__heading,.module-panel__heading{justify-content:space-between;gap:var(--space-6);align-items:end;display:flex}.directory-heading,.employee-panel__heading{margin-bottom:var(--space-6)}.employee-panel__heading,.module-panel__heading{flex-wrap:wrap}.directory-heading h2,.employee-panel__heading h2,.module-panel__heading h2{margin:var(--space-1) 0;font-size:var(--text-2xl);letter-spacing:-.01em;font-weight:600}.directory-heading p:last-child,.employee-panel__heading p:last-child,.module-panel__heading p:last-child{color:var(--color-text-muted);margin:0}.employee-panel__list,.employee-form,.employee-details,.module-panel__filters,.module-table-wrap,.module-list{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface)}.employee-panel__list,.employee-form,.employee-details{padding:var(--space-5)}.employee-panel__temporary-password{justify-items:start;gap:var(--space-2);margin-bottom:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-5);background:var(--color-surface);display:grid}.employee-panel__temporary-password small{color:var(--color-text-muted)}.employee-panel__temporary-password code{border:1px solid var(--color-border);border-radius:var(--radius-md);max-width:100%;padding:var(--space-3) var(--space-4);background:var(--color-surface-muted);font-family:var(--font-mono);font-size:var(--text-lg);word-break:break-all}.employee-panel__layout{gap:var(--space-6);grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);align-items:start;display:grid}.employee-panel__list,.employee-form,.employee-details{gap:var(--space-4);display:grid}.employee-panel__workspace{gap:var(--space-5);display:grid}.employee-form h3,.employee-details h3{font-size:var(--text-xl);margin:0;font-weight:600}.employee-form>small{margin-top:calc(var(--space-2) * -1);color:var(--color-text-muted)}.employee-row{gap:var(--space-1);width:100%;min-height:var(--control-height);border:1px solid #0000;border-bottom-color:var(--color-border-subtle);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);color:var(--color-text);text-align:left;background:0 0;display:grid}.employee-row:hover{background:var(--color-surface-muted)}.employee-row--selected{border-color:var(--color-accent);background:var(--color-accent-soft)}.employee-row span,.employee-row small,.employee-details p{color:var(--color-text-muted);font-size:var(--text-sm)}.employee-details p{margin:0}.employee-row,.employee-panel__workspace,.employee-panel__list,.employee-details,.workspace-header>div,.module-card>div,.module-table th,.module-table td{overflow-wrap:anywhere;min-width:0}.employee-form label,.employee-details label,.employee-form fieldset,.employee-details fieldset,.employee-panel__search{gap:var(--space-2);display:grid}.employee-form input,.employee-form select,.employee-details input,.employee-details select,.employee-panel__search input{width:100%}.employee-panel__pagination{justify-content:space-between;align-items:center;gap:var(--space-3);color:var(--color-text-muted);font-size:var(--text-sm);display:flex}.employee-form fieldset,.employee-details fieldset{border:1px solid var(--color-border);border-radius:var(--radius-lg);max-height:360px;padding:var(--space-2) var(--space-4);background:var(--color-surface-muted);grid-auto-rows:max-content;align-content:start;margin:0;overflow-y:auto}.employee-form legend,.employee-details legend{padding:0 var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:600}.employee-form fieldset label,.employee-details fieldset label{align-items:center;gap:var(--space-3);min-height:var(--control-height);border-bottom:1px solid var(--color-border-subtle);color:var(--color-text);font-size:var(--text-md);grid-template-columns:auto 1fr}.employee-form fieldset label:last-child,.employee-details fieldset label:last-child{border-bottom:0}.employee-form fieldset label small{color:var(--color-text-muted);font-weight:400;display:block}.employee-form fieldset input,.employee-details fieldset input{width:auto}.employee-panel .button--primary,.module-panel .button--primary{border-color:var(--color-accent);color:var(--color-on-accent);background:var(--color-accent);box-shadow:none}.employee-panel .button--primary:hover:not(:disabled),.module-panel .button--primary:hover:not(:disabled){border-color:var(--color-accent-hover);background:var(--color-accent-hover)}.employee-panel .button--danger,.module-panel .button--danger{border-color:var(--color-danger);color:var(--color-danger)}.employee-panel .button--danger:hover:not(:disabled),.module-panel .button--danger:hover:not(:disabled){border-color:var(--color-danger);background:var(--color-danger-soft)}.module-panel{gap:var(--space-5);margin-top:var(--space-6);display:grid}.module-panel__filters{align-items:end;gap:var(--space-4);padding:var(--space-5);flex-wrap:wrap;display:flex}.module-panel__filters .form-error{flex-basis:100%}.module-panel__filters label{gap:var(--space-2);min-width:min(100%,420px);display:grid}.module-panel__status{margin:0}.module-panel__status:empty{position:absolute}.module-table-wrap{overflow-x:auto}.module-table{border-collapse:collapse;text-align:left;width:100%}.module-table th,.module-table td{height:var(--control-height);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--color-border-subtle);vertical-align:middle}.module-table tbody tr:last-child>*{border-bottom:0}.module-table thead th{color:var(--color-text-muted);background:var(--color-surface-muted);font-size:var(--text-xs);font-weight:600}.module-table tbody th{font-family:var(--font-mono);font-weight:500}.module-table tbody td{color:var(--color-text-muted)}.module-table tbody tr:hover>*{background:var(--color-surface-muted)}.module-table time{font-variant-numeric:tabular-nums}.module-panel__pagination{justify-content:flex-end;align-items:center;gap:var(--space-3);display:flex}.module-list{overflow:hidden}.module-card{justify-content:space-between;align-items:center;gap:var(--space-5);padding:var(--space-5);border-bottom:1px solid var(--color-border-subtle);display:flex}.module-card:last-child{border-bottom:0}.module-card h3{margin:0 0 var(--space-1);font-size:var(--text-lg);font-weight:600}.module-card p{color:var(--color-text-muted);margin:0}.rich-text{overflow-wrap:anywhere;line-height:1.5}.rich-text>:first-child{margin-top:0}.rich-text>:last-child{margin-bottom:0}.rich-text p,.rich-text ul,.rich-text ol,.rich-text blockquote{margin:0 0 .6em}.rich-text h2,.rich-text h3{margin:.8em 0 .4em;line-height:1.25}.rich-text h2{font-size:var(--text-xl)}.rich-text h3{font-size:var(--text-lg)}.rich-text ul,.rich-text ol{padding-left:1.6em}.rich-text blockquote{border-left:3px solid var(--color-border);padding-left:var(--space-3);color:var(--color-text-muted)}.rich-text a{text-decoration:underline}.rich-text__image{border-radius:var(--radius-sm);vertical-align:bottom;max-width:100%;height:auto;display:inline-block}.rich-text__image-wrap{max-width:100%;display:inline-block}.rich-text__image-missing{border:1px dashed var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);font-size:var(--text-sm);padding:6px 10px;display:inline-block}.rich-text-editor{gap:6px;min-width:0;display:grid}.rich-text-editor--loading{align-content:center;min-height:160px}.rich-text-editor__toolbar{gap:var(--space-1);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-1);background:var(--color-surface-muted);flex-wrap:wrap;display:flex}.rich-text-editor__button{border-radius:var(--radius-sm);min-width:36px;min-height:36px;padding:0 var(--space-2);color:var(--color-text);font-size:var(--text-sm);background:0 0;border:1px solid #0000;font-weight:600}.rich-text-editor__button:hover:not(:disabled){border-color:var(--color-border);background:var(--color-surface)}.rich-text-editor__button[aria-pressed=true]{border-color:var(--color-accent);color:var(--color-on-accent);background:var(--color-accent)}.rich-text-editor__link{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.rich-text-editor__link input{flex:200px;min-width:0}.rich-text-editor__link button{border:1px solid var(--color-border);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-3);color:var(--color-text);background:var(--color-surface)}.rich-text-editor__area{border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:108px;padding:10px var(--space-3);color:var(--color-text);background:var(--color-surface);font-size:var(--text-lg);font-weight:400}.rich-text-editor__area[aria-invalid=true]{border-color:var(--color-danger)}.rich-text-editor--disabled .rich-text-editor__area{color:var(--color-text-muted);background:var(--color-surface-muted)}.rich-text-editor__status,.rich-text-editor__error,.rich-text-editor__counter{font-size:var(--text-sm);margin:0;font-weight:400}.rich-text-editor__status,.rich-text-editor__counter{color:var(--color-text-muted)}.rich-text-editor__error,.rich-text-editor__counter--invalid{color:var(--color-danger)}.rich-text-editor__counter{justify-self:end}table{border-collapse:collapse}th{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:600}tbody tr{border-bottom:1px solid var(--color-border-subtle)}.table-panel{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--color-surface);min-width:0;overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);background:var(--color-surface-muted);text-align:left;overflow-wrap:normal}.data-table td{padding:var(--space-3) var(--space-4);border-top:1px solid var(--color-border-subtle);vertical-align:middle;overflow-wrap:normal}.data-table tbody tr{cursor:pointer;border-bottom:0}.data-table tbody tr:first-child td{border-top:0}.data-table tbody tr:hover{background:var(--color-surface-muted)}.data-table tbody tr:is(.is-selected,[aria-selected=true]){background:var(--color-accent-soft)}.data-table__name{overflow-wrap:anywhere;width:100%;min-width:160px}.data-table__nowrap{white-space:nowrap}.data-table__mono,.data-table__date{font-variant-numeric:tabular-nums;white-space:nowrap}.data-table__mono{font-family:var(--font-mono)}.data-table__badges{gap:var(--space-1);flex-wrap:wrap;display:flex}.data-table__note{color:var(--color-text-muted);font-size:var(--text-xs);display:block}.table-link{box-shadow:none;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:none}.table-link:hover{background:0 0;text-decoration:underline}@media (width<=1040px){.employee-panel__layout{grid-template-columns:1fr}}@media (width<=900px){.workspace-shell{background:var(--color-bg);display:block}.sidebar{z-index:30;overscroll-behavior:contain;width:min(300px,86vw);height:auto;padding:max(20px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));visibility:hidden;transition:transform .2s,visibility 0s linear .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar--open{visibility:visible;transition:transform .2s;transform:none}.nav-item{min-height:44px}.sidebar nav{padding-bottom:var(--space-4)}.nav-item--unavailable{display:none}.sidebar-backdrop{z-index:20;background:var(--color-overlay);border:0;display:block;position:fixed;inset:0}.menu-button{display:inline-flex}.workspace-header{height:64px;padding:0 max(var(--space-4), env(safe-area-inset-right)) 0 max(var(--space-4), env(safe-area-inset-left))}.workspace-content{padding:var(--space-4) max(var(--space-4), env(safe-area-inset-right)) var(--space-6) max(var(--space-4), env(safe-area-inset-left))}}@media (width<=700px){.module-table{min-width:640px}.module-panel__heading{flex-direction:column;align-items:flex-start}}@media (width<=600px){.workspace-header__shift{display:none}.auth-panel{padding:var(--space-6) var(--space-5)}.setup-form{grid-template-columns:1fr}.setup-form>*{grid-column:1!important}.directory-heading,.employee-panel__heading{flex-direction:column;align-items:flex-start}.employee-panel__pagination button{min-height:var(--control-height)}.rich-text-editor__button{min-width:40px;min-height:40px}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}[tabindex="-1"]:focus:not(:focus-visible){outline:none}.section-toolbar{align-items:flex-end;gap:var(--space-3);margin:var(--space-6) 0 var(--space-5);flex-wrap:wrap;display:flex}.section-toolbar__filters{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;flex:320px;min-width:0;display:flex}.section-toolbar__actions{align-self:flex-end;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.section-intro{margin:var(--space-2) 0 0;color:var(--color-text-muted);font-size:var(--text-md)}.section-head{justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-4);margin:0 0 var(--space-5);flex-wrap:wrap;display:flex}.section-head .section-intro{flex:320px;margin:0}.pager{justify-content:flex-end;align-items:center;gap:var(--space-3);margin-top:var(--space-4);color:var(--color-text-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums;display:flex}.pager .icon-button[aria-disabled=true]{opacity:.5;cursor:not-allowed}.record-view__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.confirm-dialog__actions{justify-content:flex-end}.record-view__fields{gap:var(--space-3) var(--space-4);font-size:var(--text-md);grid-template-columns:minmax(110px,max-content) minmax(0,1fr);margin:0;display:grid}.record-view__fields dt{color:var(--color-text-muted)}.record-view__fields dd{overflow-wrap:anywhere;min-width:0;margin:0}.list-panel{border:1px solid var(--color-border);border-radius:var(--radius-xl);min-width:0;padding:var(--space-2);background:var(--color-surface);align-content:start;display:grid}.detail-panel{gap:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-xl);min-width:0;padding:var(--space-5);background:var(--color-surface);overflow-wrap:anywhere;display:grid}.filter-field{gap:var(--space-1);width:220px;min-width:0;max-width:100%;display:grid}.filter-field--wide{width:300px}.filter-field--search{flex:240px;width:auto;max-width:420px}.filter-field--date{width:168px}.filter-field>:is(input,select){width:100%}.filter-field:has(>select){width:auto;max-width:min(100%,28rem)}.filter-field>select{width:auto;max-width:100%}.filter-field__static{overflow-wrap:anywhere}.dialog-backdrop{z-index:1000;overscroll-behavior:contain;padding:8vh var(--space-4) var(--space-6);background:var(--color-overlay);justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}html:has(.dialog-backdrop){overflow:hidden}.dialog{border-radius:var(--radius-xl);background:var(--color-surface);width:100%;max-width:560px;box-shadow:var(--shadow-dialog)}.dialog--large{max-width:760px}.dialog__header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);padding:var(--space-5) var(--space-6) var(--space-3);display:flex}.dialog__heading h2{font-size:var(--text-xl);margin:0;font-weight:600}.dialog__heading p{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:var(--text-md)}.dialog__body{gap:var(--space-4);padding:0 var(--space-6) var(--space-6);display:grid}.dialog__body form{gap:var(--space-4);display:grid}.dialog__body textarea{resize:vertical;min-height:96px}.dialog-backdrop--side{padding:0;display:block;overflow:hidden}.dialog--side{border-radius:var(--radius-xl) 0 0 var(--radius-xl);flex-direction:column;width:min(560px,100vw);max-width:none;height:100dvh;margin:0;display:flex;position:fixed;top:0;bottom:0;right:0}.dialog--side.dialog--large{width:min(760px,100vw)}.dialog--side .dialog__header{flex:none}.dialog--side .dialog__body{overscroll-behavior:contain;flex:auto;align-content:start;min-height:0;overflow-y:auto}.dialog__header-extra{align-items:center;gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}@media (prefers-reduced-motion:no-preference){.dialog--side{animation:.16s ease-out dialog-side-in}}@keyframes dialog-side-in{0%{opacity:0;transform:translate(32px)}}@media (width<=700px){.dialog--side,.dialog--side.dialog--large{border-radius:0;width:100vw}}@media (width<=600px){.dialog-backdrop{align-items:stretch;padding:0}.dialog,.dialog--large{border-radius:0;max-width:none;min-height:100%}.dialog__header{z-index:1;background:var(--color-surface);border-bottom:1px solid var(--color-border-subtle);padding:var(--space-4);position:sticky;top:0}.dialog__body{padding:var(--space-4) var(--space-4) max(var(--space-4), env(safe-area-inset-bottom))}}
