:root{font-family:Manrope,Segoe UI,Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;--bg: #f4f4f8;--surface: #ffffff;--text: #292b3a;--muted: #646879;--line: #dedfe8;--accent: #d6d0f3;--green: #38634e;--link: #625790;--task-active: #56619a;--task-overdue: #b23d35;--task-completed: #317650;--own-shift: #595397;--own-shift-text: #ffffff;--own-shift-surface: #f0effa;--own-shift-label: #514b85;--brand: #514b80;--brand-hover: #443d70;--hover: #eeeef5;--border-strong: #b5b5c8;--focus: #857bc0;--sidebar-bg: #292937;--sidebar-text: #c2c3d1;--sidebar-muted: #a9abbc;--sidebar-line: #3e3e50;--sidebar-active: #3d3b52;--sidebar-hover: #343444;--sidebar-badge: #504b6a;--avatar-bg: #e9e7f1;--avatar-text: #585074;--segment-bg: #e9e9f0;--outside-bg: #f8f8fb;--outside-text: #6b6f80;--selected-bg: #f0edf9;--selected-border: #8d82c0;--morning-bg: #f0f3eb;--morning-text: #556643;--morning-swatch: #9baa86;--evening-bg: #eeeef8;--evening-text: #5b6080;--evening-swatch: #9c9fc4;--success-bg: #edf3ee;--success-text: #42624b;--success-line: #cbdacc;--warning-bg: #faf2e3;--warning-text: #806024;--danger-bg: #faeeed;--danger-text: #a13f3f;--danger-line: #e6c7c7;--notice-bg: #eeedf6;--notice-text: #5e586f;--notice-line: #dbd7e9;--logo-wordmark-filter: none;--tg-safe-top: 0px;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:9px;min-height:44px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-size:14px;font-weight:650;text-decoration:none;transition:background .15s,border-color .15s}button:hover,.button:hover{background:var(--hover);border-color:var(--border-strong)}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button.primary,.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover,.button.primary:hover{background:var(--brand-hover)}.icon-button{width:44px;height:44px;padding:9px;flex-shrink:0;background:transparent;border-color:transparent}.link-button{background:transparent;border:0;padding:8px 0;min-height:40px;color:var(--link);justify-content:flex-start}.danger-button{color:var(--danger-text)}.positive{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1.25px;font-weight:800;margin-bottom:0}h2{font-size:21px;line-height:1.35;font-weight:750;letter-spacing:-.5px;margin-bottom:16px}h3{font-size:16px;margin-bottom:12px}p{margin-bottom:16px}small{font-size:12px;line-height:1.5}strong{font-weight:700}.muted,.hint{color:var(--muted)}.hint{font-size:13px;line-height:1.6;margin:14px 0}.day-weekday{font-size:11px;letter-spacing:1.65px;font-weight:800;color:var(--muted);margin:0 0 10px}.panel{border:1px solid var(--line);border-radius:14px;background:var(--surface)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.35;padding:5px 9px;border-radius:6px;color:var(--muted);background:var(--hover);white-space:normal;font-weight:650}.badge.green{background:var(--success-bg);color:var(--success-text)}.badge.amber{background:var(--warning-bg);color:var(--warning-text)}.badge.red{background:var(--danger-bg);color:var(--danger-text)}.app-shell{min-height:100vh;display:grid;grid-template-columns:216px minmax(0,1fr)}.sidebar{background:var(--sidebar-bg);color:var(--sidebar-text);padding:30px 18px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20}.brand{--logo-wordmark-filter: brightness(0) invert(1);display:flex;align-items:center;color:#fff;text-decoration:none;min-height:44px;margin-bottom:34px}.brand-logo{display:inline-flex;align-items:center;gap:10px;width:176px;max-width:100%;flex-shrink:0;line-height:1}.brand-logo svg{display:block;height:auto;overflow:hidden}.brand-logo-mark{width:46px;flex-shrink:0}.brand-logo-wordmark{width:calc(100% - 56px);filter:var(--logo-wordmark-filter)}.brand-logo-stacked{display:flex;flex-direction:column;width:160px;gap:8px}.brand-logo-stacked .brand-logo-mark{width:140px}.brand-logo-stacked .brand-logo-wordmark{width:100%}.mobile-brand{display:none}.venue{font-size:13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--sidebar-line);padding:0 10px 22px;margin-bottom:22px}.venue .badge{font-size:10px;background:var(--sidebar-badge);color:var(--accent)}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar button{background:transparent;color:var(--sidebar-text);border:0;justify-content:flex-start;padding:12px;gap:12px;font-size:14px;font-weight:500}.sidebar nav button.active,.sidebar-bottom>button.active{background:var(--sidebar-active);color:var(--accent)}.sidebar nav button:hover,.sidebar-bottom>button:hover{background:var(--sidebar-hover)}.nav-count{margin-left:auto;color:var(--accent);font-size:11px;background:var(--sidebar-badge);padding:0 6px;border-radius:4px}.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto}.sidebar-bottom{margin-top:auto;display:grid;gap:20px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--sidebar-line);padding:20px 4px 0;font-size:13px}.profile strong{color:#ececf2;display:block}.profile small{font-size:11px;color:var(--sidebar-muted)}.profile>.icon-button{margin-left:auto;width:30px;padding:4px}.avatar{width:36px;height:36px;border-radius:50%;background:var(--avatar-bg);color:var(--avatar-text);display:grid;place-items:center;flex-shrink:0;font-size:13px;font-weight:800}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:var(--surface);gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:var(--muted)}.timezone{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}main{min-width:0}.main-content{padding:32px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading>.primary{font-size:12px;min-height:44px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.month-switch{display:flex;align-items:center;gap:4px}.month-switch h2{margin:0 6px;font-size:19px;min-width:164px;text-transform:capitalize}.toolbar-actions{display:flex;align-items:center;gap:20px}.toolbar-actions>button{background:transparent;padding:8px 14px;min-height:38px}.check-label{display:flex;align-items:center;gap:9px;font-size:14px;min-height:44px;cursor:pointer}.check-label input{height:18px;width:18px;accent-color:var(--brand);margin:0;flex-shrink:0}.draft-strip{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.segmented{display:inline-flex;background:var(--segment-bg);border-radius:9px;padding:4px;gap:3px}.segmented button{border:0;background:transparent;min-height:34px;padding:7px 13px;border-radius:6px;color:var(--muted);font-size:12px}.segmented button.selected{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #29263710}.segmented.full{display:flex}.segmented.full button{flex:1}.draft-strip>.link-button{font-size:12px}.dot{width:5px;height:5px;border-radius:50%;background:#ad7c25}.calendar-layout{display:grid;grid-template-columns:minmax(360px,1fr) 350px;gap:20px;align-items:start}.calendar-panel{overflow:hidden;container-type:inline-size}.weekday-row{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line);height:46px;align-items:center;text-align:center;font-size:12px;color:var(--muted);font-weight:600}.weekday-row span:nth-last-child(-n+2){color:var(--muted)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.day-cell{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:12px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;min-height:114px;padding:9px 6px 10px;min-width:0;text-align:left;font-weight:500;background:var(--surface)}.day-cell:nth-child(7n){border-right:0}.day-cell.outside{background:var(--outside-bg);color:var(--outside-text)}.day-cell.selected{background:var(--selected-bg);box-shadow:inset 0 0 0 2px var(--selected-border);z-index:1}.day-number{font-size:13px;display:flex;align-items:center;gap:5px;padding-left:3px;line-height:24px}.day-number small{font-size:8px;color:var(--link);display:none}.day-cell.today .day-number{font-weight:800}.day-cell.today .day-number:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--link)}.day-chips{display:grid;gap:4px}.day-task-status{position:absolute;top:14px;right:8px;width:14px;height:14px;display:block;pointer-events:none}.day-task-status>svg{display:block;width:100%;height:100%}.task-status-active{color:var(--task-active)}.task-status-overdue{color:var(--task-overdue)}.task-status-completed{color:var(--task-completed)}.shift-chip{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:3px 4px;border-radius:4px;font-size:9px;color:var(--morning-text);background:var(--morning-bg);line-height:15px}.shift-chip-heading{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0}.shift-chip-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shift-chip-heading>b{flex-shrink:0;font-size:8px;font-weight:500}.shift-chip-time{display:flex;align-items:center;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.shift-chip-time time{flex-shrink:0}.shift-chip.shift-1{background:var(--evening-bg);color:var(--evening-text)}.shift-chip.own-shift,.legend-swatch.own-shift{background:var(--own-shift);color:var(--own-shift-text)}@container (max-width: 660px){.shift-chip-time{flex-direction:column;align-items:flex-start}.shift-chip-separator{display:none}}.day-chips small{font-size:9px;color:var(--muted)}.calendar-legend{display:flex;flex-wrap:wrap;gap:12px;padding:17px 16px;font-size:10px;color:var(--muted)}.calendar-legend>span{display:flex;align-items:center;gap:6px}.calendar-legend>small{font-size:10px;flex-basis:100%}.legend-swatch{width:8px;height:8px;background:var(--morning-swatch);border-radius:2px}.legend-swatch.evening{background:var(--evening-swatch)}.day-panel{overflow:hidden}.day-header{display:flex;justify-content:space-between;align-items:center;padding:21px 22px 15px}.day-header h2{margin:0;font-size:23px;letter-spacing:-.8px}.day-header .day-weekday{font-size:10px;letter-spacing:1.4px;margin-bottom:5px}.day-header>.badge{font-size:10px}.shifts-list{padding:0 20px 18px;display:grid;gap:10px}.shift-card{padding:10px 13px 12px;border:1px solid var(--line);border-radius:10px}.shift-card.own-shift{background:var(--own-shift-surface);border-color:var(--own-shift);box-shadow:inset 3px 0 0 var(--own-shift)}.own-shift-label{flex-shrink:0;margin-left:auto;font-size:12px;font-weight:700;color:var(--own-shift-label)}.shift-card.own-shift .shift-symbol{background:var(--own-shift);color:var(--own-shift-text)}.shift-card-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}.shift-card-top .icon-button{margin-left:auto;width:44px;height:44px;min-height:44px;padding:10px;color:var(--muted)}.shift-symbol{display:grid;place-items:center;width:27px;height:27px;color:var(--morning-text);background:var(--morning-bg);border-radius:7px}.shift-symbol.evening{color:var(--evening-text);background:var(--evening-bg)}.shift-time{font-size:16px;letter-spacing:-.35px;font-weight:750;margin:6px 0 8px}.shift-time small{color:var(--muted);margin-left:8px;font-size:10px;font-weight:500;letter-spacing:0}.staff-chips{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.staff-chips>span{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted)}.staff-chips>small{color:var(--muted);font-size:10px}.shift-assignments{display:grid;gap:10px;min-width:0}.shift-assignment{display:grid;gap:4px;min-width:0}.shift-assignment>span{color:var(--muted);font-size:14px}.shift-assignment>select{width:100%;min-width:0;min-height:44px;font-size:16px;cursor:pointer}.shift-assignment>select:disabled{cursor:wait;opacity:.65}.tiny-avatar{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--avatar-bg);color:var(--avatar-text);font-size:9px}.add-shift{border:1px dashed var(--border-strong);min-height:38px;color:var(--muted);background:transparent;font-size:12px}.day-wish{margin:0 20px 16px;padding:10px;background:var(--warning-bg);border-radius:7px;display:flex;gap:8px;color:var(--warning-text);font-size:12px}.day-wish svg{flex-shrink:0}.day-wish small{display:block}.day-tabs{display:flex;padding:0 12px;gap:3px;border-bottom:1px solid var(--line)}.day-tabs button{border:0;border-radius:0;flex:1;background:transparent;color:var(--muted);font-size:11px;padding:12px 5px;gap:5px}.day-tabs button.active{border-bottom:2px solid var(--link);color:var(--link)}.day-content{padding:18px 20px 22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading h2,.section-heading h3{margin:0}.day-content .section-heading h3{font-size:14px}.task-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:17px 0}.task-row:last-child{border-bottom:0}.task-check{width:24px;min-width:24px;height:24px;min-height:24px;padding:2px;border-radius:6px;color:var(--success-text)}.task-check:disabled{opacity:1}.task-check:disabled:not(:has(svg)){background:transparent;border-color:var(--border-strong)}.task-row.completed .task-check{background:var(--success-bg);border-color:var(--success-line)}.task-text{flex:1;min-width:0;display:block;text-align:left;border:0;background:transparent;padding:0}.task-text:hover{background:transparent}.task-text strong{font-size:15px;line-height:1.5;display:block;font-weight:600}.task-text>span{font-size:12px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.task-row.completed .task-text strong{color:var(--muted);text-decoration:line-through}.task-responsibility,.task-text>.task-responsibility{display:grid;grid-template-columns:14px minmax(0,1fr);gap:7px;color:var(--text);font-size:12px;font-weight:500;line-height:1.6;text-align:left}.task-responsibility>svg{margin-top:3px;color:var(--muted)}.task-responsibility-shift{display:block;overflow-wrap:anywhere}.task-detail-meta+.task-responsibility{margin-bottom:16px}.task-row.compact{gap:9px;padding:13px 0;align-items:flex-start}.compact .task-text strong{font-size:12px;line-height:1.7}.compact .task-check{width:20px;min-width:20px;min-height:20px;height:20px;margin-top:2px}.compact .task-text>span{font-size:10px}.compact>.icon-button{height:28px;min-height:28px;width:22px;padding:2px}.task-group{padding:24px;margin-bottom:20px}.task-group .section-heading{border-bottom:1px solid var(--line);padding-bottom:18px}.task-group h2{font-size:18px;text-transform:capitalize}.tabs-spaced{margin-bottom:24px}.empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:38px 18px;color:var(--muted)}.empty svg{color:var(--muted)}.empty p{margin:0;font-size:14px;max-width:360px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:35px;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{border:1px solid var(--notice-line);background:var(--notice-bg);color:var(--notice-text);padding:16px;border-radius:10px;font-size:14px;margin-bottom:20px}.notice.danger{background:var(--danger-bg);color:var(--danger-text);border-color:var(--danger-line)}.notice p:last-child{margin-bottom:0}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);padding:14px 14px 14px 22px;max-width:min(700px,92vw);background:#454058;color:#fff;border-radius:12px;box-shadow:0 8px 30px #0002;z-index:10000;font-size:14px;display:flex;align-items:center;gap:16px}.toast.error{background:#783a33}.toast button{padding:3px;width:30px;min-height:30px;background:transparent;color:#fff;border-color:transparent;font-size:24px}.modal{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:18px;padding:24px;width:min(510px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;box-shadow:0 24px 100px #1c1b3040}.modal.wide{width:min(780px,calc(100vw - 24px))}.modal.discard-changes{width:min(520px,calc(100vw - 24px))}.discard-changes .form-actions{justify-content:flex-start}.modal::backdrop{background:#1c1c2ca1;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.modal-heading h2{font-size:22px;margin:5px 0}.modal .field{margin-bottom:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0}.field>span{color:var(--muted)}input:not([type=checkbox]),select,textarea{border:1px solid var(--border-strong);border-radius:8px;min-height:44px;padding:10px 12px;color:var(--text);background:var(--surface);font-size:14px;max-width:100%;width:100%}textarea{min-height:110px;resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;margin-bottom:10px}.form-actions>button{flex-shrink:0}fieldset{border:1px solid var(--line);border-radius:10px;padding:14px 18px;margin:18px 0}legend{font-size:13px;padding:0 8px;color:var(--muted)}.prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.task-detail-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:20px}.photo-grid{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.photo-grid img{max-width:200px;width:100%;max-height:190px;object-fit:contain;border:1px solid var(--line);border-radius:10px}.photo-grid a{display:block}.note{background:var(--bg);padding:16px;border-radius:10px;margin-bottom:14px;overflow-wrap:anywhere}.note p{font-size:14px;white-space:pre-wrap;margin-bottom:10px}.day-content .note p{font-size:12px}.note small{color:var(--muted)}.note-actions{display:flex;gap:16px}.note-destination{display:block;margin-bottom:10px;color:var(--link);font-size:13px;font-weight:600;overflow-wrap:anywhere}.note-actions button{font-size:11px;min-height:30px}.history-details{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.history-details p{font-size:13px;padding:12px;background:var(--bg)}details summary{cursor:pointer;min-height:44px;padding:9px 0;font-size:14px}details small,.summary small,.audit-entry small{display:block;color:var(--muted)}.inventory-status{display:flex;justify-content:space-between;align-items:center;margin:14px 0;color:var(--muted)}.inventory-scroll{overflow-x:auto}.inventory-table{width:100%;border-collapse:collapse;font-size:11px}.inventory-table th,.inventory-table td{padding:8px 3px;text-align:left;border-bottom:1px solid var(--line);font-weight:500;vertical-align:middle}.inventory-table thead th{font-size:9px;color:var(--muted)}.inventory-table tbody th{max-width:85px;width:35%;font-weight:600}.inventory-table th small{display:block;font-weight:400;color:var(--muted);font-size:9px}.inventory-table td{min-width:40px;text-align:center}.inventory-table input:not([type=checkbox]){width:52px;padding:7px 3px;min-height:42px;font-size:12px;text-align:center}.inventory-actions{display:flex;flex-direction:column;gap:8px;margin:15px 0}.inventory-actions button{font-size:12px}.inventory-status small{font-size:10px}.inventory-table+.hint{font-size:10px}.conflict-table{max-height:270px;overflow:auto;margin-bottom:12px}.conflict-table p{font-size:12px;border-top:1px solid var(--danger-line);padding-top:10px}.conflict-table button{font-size:11px;min-height:32px}.audit-entry{padding:16px 0;border-bottom:1px solid var(--line)}.audit-table{border-collapse:collapse;width:100%;font-size:12px;margin-top:15px}.audit-table td,.audit-table th{border-bottom:1px solid var(--line);padding:9px;text-align:left}.summary{border:1px solid var(--line);padding:18px;border-radius:12px;margin-bottom:16px;font-size:14px}.summary h3{font-size:16px}.summary p{overflow-wrap:anywhere;line-height:1.8}.publication-item{display:flex;justify-content:space-between;width:100%;padding:16px;border:0;border-bottom:1px solid var(--line);text-align:left;border-radius:0}.publication-item small{display:block;color:var(--muted);font-weight:400}.publication-item>span:last-child{display:flex;gap:8px;align-items:center;font-size:12px}.announcement-list,.wish-list{display:grid;gap:20px;max-width:950px}.announcement,.wish{padding:28px}.announcement h2{font-size:23px;margin:20px 0 12px}.announcement .prose{color:var(--muted)}.readers{border-top:1px solid var(--line);margin-top:24px;padding-top:10px}.readers p{display:flex;justify-content:space-between;font-size:13px;gap:20px;margin:12px 0}.readers p span{color:var(--muted);text-align:right}.announcement>.link-button{margin-top:12px;font-size:12px}.announcement-comments{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;min-width:0}.announcement-comments h3{display:flex;align-items:center;gap:8px}.comment-count{color:var(--muted);font-size:13px;font-weight:500}.announcement-comment-list{list-style:none;margin:0 0 18px;padding:0}.announcement-thread+.announcement-thread,.announcement-replies>li+li{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.announcement-comment{scroll-margin-top:90px}.announcement-comment:target{outline:2px solid var(--link);outline-offset:5px;border-radius:4px}.announcement-replies{list-style:none;margin:10px 0 0 14px;padding:0 0 0 14px;border-left:2px solid var(--line)}.comment-reply-context{display:block;border-left:2px solid var(--line);padding:6px 10px;margin-top:6px;color:var(--muted);text-decoration:none;font-size:12px;overflow-wrap:anywhere}.comment-reply-context span{display:block}.comment-reply-context:hover{color:var(--text);background:var(--hover)}.comment-reply-button{min-height:44px;padding:6px 0;font-size:13px}.comment-replying{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;border-left:3px solid var(--link);background:var(--bg);font-size:13px}.comment-replying>div{flex:1;min-width:120px;overflow-wrap:anywhere}.comment-replying p{margin:3px 0 0;color:var(--muted)}.comment-replying .link-button{min-height:44px;padding:6px 0;font-size:12px}@media(max-width:700px){.announcement-replies{margin-left:6px;padding-left:10px}}.announcement-comment-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:14px;overflow-wrap:anywhere}.announcement-comment-meta small{color:var(--muted)}.announcement-comment p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.announcement-comment-form{display:grid;gap:12px}.announcement-comment-form .field{margin:0}.announcement-comment-form textarea{min-height:80px}.announcement-comment-form button{justify-self:start}.wish h2{font-size:20px}.response{border-left:3px solid var(--selected-border);padding:8px 15px;background:var(--bg);margin-bottom:18px;font-size:14px}.response p{margin:6px 0}.knowledge{max-width:680px;padding:44px;text-align:center;margin:50px auto}.knowledge>svg{color:var(--link);margin-bottom:20px}.knowledge h2{font-size:25px}.knowledge p{color:var(--muted);margin-bottom:25px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.admin-tabs button{font-size:12px;background:transparent;min-height:42px}.admin-tabs button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.admin-panel{padding:26px}.admin-panel h2{font-size:21px}.staff-row{display:flex;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.staff-row:last-child{border-bottom:0}.staff-row>div{flex:1}.staff-row strong{font-size:14px}.staff-row small{display:block;color:var(--muted);font-size:12px}.staff-row p{font-size:13px;margin:8px 0}.catalog-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.catalog-row strong{flex:1}.catalog-row small{display:block;color:var(--muted);font-weight:400}.catalog-row .order{color:var(--muted);width:30px}.template-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.template-card h3{margin-bottom:6px}.template-card p{font-size:13px;color:var(--muted);margin:0}.row-actions{display:flex;gap:8px;align-items:center;justify-content:space-between}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.template-shift{background:var(--bg);padding:16px;border:1px solid var(--line);border-radius:12px}.template-shift .field{margin-bottom:12px}.spaced{margin:16px 0}.settings-panel{max-width:700px}.settings-panel .field{margin:20px 0}.notification{border-bottom:1px solid var(--line);padding:12px 0}.notification summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:disclosure-closed}.notification summary strong{font-size:14px}.notification summary small{font-size:12px;margin-top:5px}.notification .prose{background:var(--bg);padding:15px;border-radius:10px;font-size:13px;margin-top:14px}.admin-panel>.section-heading>select{max-width:200px}.start-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.access-panel{max-width:540px;padding:35px}.access-panel h1{font-size:27px;margin:20px 0}.access-panel form button{margin-top:20px}.login-page{min-height:100vh;display:grid;place-items:center;background:var(--surface)}.login-box>.brand-logo,.access-panel>.brand-logo{margin:0 auto 28px}.login-box{margin:auto;width:100%;max-width:520px;padding:50px 46px}.login-box h1{font-size:29px;margin:20px 0 12px}.login-box>p{font-size:14px}.login-users{display:grid;gap:12px;margin:28px 0}.login-users button{padding:14px;justify-content:flex-start;gap:14px;text-align:left}.login-users button>span:nth-child(2){flex:1}.login-users strong{display:block;font-size:13px}.login-users small{display:block;color:var(--muted);font-size:11px;font-weight:400}.login-users .avatar{height:40px;width:40px}.login-users button>svg{color:var(--muted)}@media(min-width:1500px){.day-task-status{top:15px;right:10px}.calendar-layout{grid-template-columns:minmax(500px,1fr) 400px}.day-cell{min-height:134px;padding:10px}.shift-chip{font-size:11px}.shift-chip-heading>b{font-size:10px}.day-number small{display:block}}@media(max-width:1180px){.app-shell{grid-template-columns:184px minmax(0,1fr)}.sidebar{padding:26px 12px 18px}.venue{padding:0 5px 18px}.sidebar button{font-size:12px;gap:10px}.main-content{padding:26px 22px}.topbar{padding:0 24px}.calendar-layout{grid-template-columns:minmax(320px,1fr) 320px;gap:14px}.page-heading h1{font-size:29px}.page-heading{gap:16px}.day-content{padding:16px}.shifts-list{padding-left:16px;padding-right:16px}.day-header{padding:19px 16px 15px}.day-cell{min-height:108px}.shift-chip-heading>b{display:none}.shift-chip{font-size:8px}.calendar-legend{padding:14px 12px}.profile{gap:6px}.profile .avatar{width:30px;height:30px}.profile small{font-size:10px}}@media(max-width:1000px){.calendar-layout{grid-template-columns:1fr}.day-panel{display:block}.shifts-list{grid-template-columns:1fr 1fr}.add-shift{grid-column:1/-1}.day-tabs{max-width:500px}.day-content{padding:24px}.compact .task-text strong{font-size:14px}.compact .task-text>span{font-size:12px}.inventory-table{font-size:14px}.inventory-table thead th{font-size:12px}.inventory-table tbody th{max-width:none;width:auto}.inventory-table th small{font-size:12px}.inventory-table input:not([type=checkbox]){font-size:16px;width:80px}.inventory-actions{flex-direction:row}.calendar-grid .day-cell{min-height:110px}.shift-chip{font-size:10px}.page-heading{align-items:flex-start}.page-heading>.primary{max-width:195px}.inventory-table td{width:20%}.template-card{flex-wrap:wrap}}@media(max-width:700px){.app-shell{display:block}.sidebar{position:fixed;inset:auto 0 0;height:auto;min-height:64px;padding:4px 5px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--sidebar-line);z-index:30;display:block}.brand,.venue{display:none}.sidebar nav{flex-direction:row;gap:0;align-items:stretch;justify-content:space-around;padding-right:52px}.sidebar nav button{flex:1;min-width:0;flex-direction:column;gap:4px;padding:7px 2px;font-size:9px;border-radius:8px;min-height:53px}.sidebar nav button svg{width:19px;height:19px}.sidebar-bottom{position:absolute;right:3px;top:4px;width:48px;display:block}.sidebar-bottom>button{flex-direction:column;padding:7px 1px;font-size:8px;gap:4px;min-height:53px;width:48px}.sidebar-bottom>button span{font-size:0}.sidebar-bottom>button span:after{content:"Ещё";font-size:9px}.profile{border:0;padding:0;display:block}.profile>span{display:none}.profile>.icon-button{width:44px;height:53px;justify-content:center;margin:0}.sidebar-bottom:has(>button) .profile{display:none}.nav-count,.nav-dot{display:none}.topbar{height:56px;padding:calc(12px + var(--tg-safe-top)) 20px 12px;min-height:56px;height:auto}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 5px}.timezone{font-size:9px;gap:4px}.timezone svg{width:12px}.main-content{padding:24px 16px 104px}.page-heading{display:block;margin-bottom:24px}.page-heading h1{font-size:29px;letter-spacing:-1.1px}.day-weekday{font-size:9px;letter-spacing:1.4px}.page-heading>.primary,.page-heading>button{margin-top:16px;max-width:none;width:100%;font-size:13px}.calendar-toolbar{align-items:flex-start;flex-wrap:wrap;gap:14px}.month-switch{flex:1;gap:0}.month-switch h2{font-size:17px;min-width:155px;margin:0 1px}.month-switch .icon-button{width:32px;min-height:44px}.toolbar-actions{gap:8px;justify-content:space-between;width:100%}.toolbar-actions>button{min-height:40px}.toolbar-actions .check-label{font-size:12px}.draft-strip{align-items:center;margin-bottom:12px;gap:4px}.draft-strip .link-button{font-size:10px;max-width:115px;line-height:1.4;gap:5px;text-align:left}.draft-strip .link-button svg{flex-shrink:0}.segmented button{font-size:11px;padding:7px 9px}.calendar-panel{border-radius:11px}.calendar-layout{gap:20px}.weekday-row{height:39px;font-size:11px}.calendar-grid .day-cell{min-height:65px;padding:6px 2px 22px;gap:5px}.day-task-status{top:auto;bottom:6px;right:6px;width:12px;height:12px}.day-number{font-size:12px;justify-content:center;padding:0;line-height:23px}.day-cell.today .day-number:before{width:4px;height:4px}.shift-chip{padding:3px 1px}.shift-chip-heading{display:none}.shift-chip-time{flex-direction:column;align-items:center}.shift-chip-separator{display:none}.day-chips>small{font-size:10px}.calendar-legend{font-size:9px;padding:12px;gap:10px}.calendar-legend>small{font-size:9px}.day-panel{border-radius:12px}.day-header{padding:21px 20px 16px}.day-header h2{font-size:24px}.day-header .day-weekday{font-size:10px}.shifts-list{grid-template-columns:minmax(0,1fr);gap:9px;padding:0 16px 18px}.shift-card{padding:10px}.shift-card-top{font-size:11px;gap:5px}.shift-symbol{width:23px;height:23px}.shift-symbol svg{width:14px}.shift-card-top .icon-button{width:44px;min-height:44px;height:44px}.shift-time{font-size:16px;display:flex;flex-wrap:wrap;gap:0;align-items:center}.shift-time small{font-size:9px;margin:0 0 0 5px}.staff-chips{gap:5px}.staff-chips>span{font-size:10px}.staff-chips>small{font-size:9px}.tiny-avatar{width:17px;height:17px}.day-tabs button{font-size:12px;gap:7px;min-height:48px}.day-content{padding:20px 16px}.day-content .section-heading h3{font-size:15px}.compact .task-text strong{font-size:14px}.compact .task-text>span{font-size:11px}.compact .task-check{min-width:22px;width:22px;height:22px;min-height:22px}.compact>.icon-button{width:28px;min-height:36px}.day-content .note p{font-size:14px}.inventory-table{font-size:12px}.inventory-table thead th{font-size:11px}.inventory-table th small{font-size:10px}.inventory-table input:not([type=checkbox]){width:60px;font-size:15px}.inventory-table td{width:19%}.inventory-actions{flex-direction:column}.inventory-actions button{font-size:14px}.inventory-status small{font-size:12px}.task-group{padding:18px}.task-group .section-heading{align-items:flex-start;gap:8px}.task-group h2{font-size:16px}.task-group .badge{font-size:10px}.task-text strong{font-size:14px}.task-row{gap:10px}.task-row>.icon-button{width:28px;padding:4px}.announcement,.wish{padding:22px}.announcement h2{font-size:22px}.announcement .section-heading{align-items:flex-start;gap:12px}.announcement .section-heading small{font-size:10px;text-align:right}.readers p{gap:12px}.wish .section-heading{flex-direction:column;align-items:flex-start}.wish h2{font-size:20px}.modal{padding:20px;max-height:92dvh;border-radius:14px}.modal-heading h2{font-size:21px;overflow-wrap:anywhere}.form-grid{gap:10px}.modal .field{font-size:12px}input:not([type=checkbox]),select,textarea{font-size:16px;min-height:46px;padding:10px}.modal .form-actions button{flex:1}.modal .form-actions .danger-button{font-size:12px;flex-basis:100%}.toast{bottom:88px;font-size:13px;max-height:35vh;overflow:auto;width:max-content}.knowledge{padding:32px 22px;margin:20px auto}.knowledge h2{font-size:23px}.admin-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:9px;margin:0 -16px 18px;padding-left:16px;padding-right:16px}.admin-tabs button{flex-shrink:0;font-size:12px;min-height:44px}.admin-panel{padding:20px 16px}.admin-panel>.section-heading{flex-wrap:wrap}.admin-panel>.section-heading h2{font-size:19px}.admin-panel>.section-heading>.primary{font-size:12px}.staff-row{flex-wrap:wrap;gap:10px}.staff-row>div{flex:1;min-width:160px}.staff-row>.badge{margin-left:46px}.staff-row>button{margin-left:auto;min-height:36px;font-size:12px;padding:8px 12px}.template-grid{grid-template-columns:1fr}.template-shift .form-grid{grid-template-columns:1fr 1fr}.template-card{padding:20px 0}.template-card>.row-actions{width:100%;justify-content:flex-end}.notification summary{align-items:flex-start;gap:12px}.notification summary>.badge{max-width:130px;font-size:10px}.notification summary small{font-size:10px}.login-box{padding:30px 24px}.login-box h1{font-size:25px}.login-users{margin:20px 0}.login-users button{min-height:70px}.login-box .hint{font-size:12px}.access-panel{padding:26px}.access-panel h1{font-size:24px}}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #20212a;--surface: #292a36;--text: #ececf2;--muted: #b2b3c3;--line: #414352;--accent: #d6d0f3;--green: #b3d0b9;--link: #c5bfe9;--task-active: #b7bdec;--task-overdue: #ffb0a4;--task-completed: #addd9c;--own-shift: #aaa3dd;--own-shift-text: #232138;--own-shift-surface: #343247;--own-shift-label: #ddd7fc;--brand: #625b91;--brand-hover: #7068a0;--hover: #323441;--border-strong: #737589;--focus: #a59ad8;--sidebar-bg: #252631;--sidebar-text: #c9c9d7;--sidebar-muted: #abadc0;--sidebar-line: #3c3d4e;--sidebar-active: #3c3b50;--sidebar-hover: #303140;--sidebar-badge: #514b69;--avatar-bg: #3a3a4c;--avatar-text: #ded9f3;--segment-bg: #242530;--outside-bg: #24252f;--outside-text: #9b9eb0;--selected-bg: #353346;--selected-border: #9689c7;--morning-bg: #343b33;--morning-text: #c4d0ba;--morning-swatch: #89997b;--evening-bg: #363747;--evening-text: #c7c6df;--evening-swatch: #9494ba;--success-bg: #303f37;--success-text: #c0d7c5;--success-line: #596e5d;--warning-bg: #453c2e;--warning-text: #e6c78e;--danger-bg: #492f36;--danger-text: #f2b9b1;--danger-line: #795159;--notice-bg: #353243;--notice-text: #d2cbe3;--notice-line: #625874;--logo-wordmark-filter: brightness(0) invert(1);color-scheme:dark}}:root[data-theme=dark]{--bg: #20212a;--surface: #292a36;--text: #ececf2;--muted: #b2b3c3;--line: #414352;--accent: #d6d0f3;--green: #b3d0b9;--link: #c5bfe9;--task-active: #b7bdec;--task-overdue: #ffb0a4;--task-completed: #addd9c;--own-shift: #aaa3dd;--own-shift-text: #232138;--own-shift-surface: #343247;--own-shift-label: #ddd7fc;--brand: #625b91;--brand-hover: #7068a0;--hover: #323441;--border-strong: #737589;--focus: #a59ad8;--sidebar-bg: #252631;--sidebar-text: #c9c9d7;--sidebar-muted: #abadc0;--sidebar-line: #3c3d4e;--sidebar-active: #3c3b50;--sidebar-hover: #303140;--sidebar-badge: #514b69;--avatar-bg: #3a3a4c;--avatar-text: #ded9f3;--segment-bg: #242530;--outside-bg: #24252f;--outside-text: #9b9eb0;--selected-bg: #353346;--selected-border: #9689c7;--morning-bg: #343b33;--morning-text: #c4d0ba;--morning-swatch: #89997b;--evening-bg: #363747;--evening-text: #c7c6df;--evening-swatch: #9494ba;--success-bg: #303f37;--success-text: #c0d7c5;--success-line: #596e5d;--warning-bg: #453c2e;--warning-text: #e6c78e;--danger-bg: #492f36;--danger-text: #f2b9b1;--danger-line: #795159;--notice-bg: #353243;--notice-text: #d2cbe3;--notice-line: #625874;--logo-wordmark-filter: brightness(0) invert(1);color-scheme:dark}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}body{background:var(--bg);color:var(--text)}.day-tabs button.active{color:var(--link);border-bottom-color:var(--link)}.sidebar nav button,.sidebar-bottom>button{font-size:14px}.day-weekday,.breadcrumb,.timezone,.shift-chip{font-size:12px}.shift-chip-heading>b{font-size:11px}.shift-card-top{font-size:14px}.staff-chips>span{font-size:12px}.staff-chips>small,.shift-time small{font-size:12px}.compact .task-text strong{font-size:14px}.compact .task-text>span{font-size:12px}.day-tabs button{font-size:12px}.calendar-legend,.calendar-legend>small{font-size:12px}@media(max-width:1180px){.shift-chip{font-size:11px}}@media(max-width:700px){.sidebar nav button,.sidebar-bottom>button{font-size:10px}.day-weekday{font-size:11px}.timezone{font-size:10px}.breadcrumb{font-size:11px}.shift-card-top{font-size:13px}.staff-chips>span,.staff-chips>small{font-size:12px}.calendar-legend,.calendar-legend>small{font-size:11px}.day-tabs button{font-size:13px}.day-cell{min-height:70px!important}}.topbar-tools{display:flex;align-items:center;gap:10px}.mobile-logout{display:none}@media(max-width:700px){.topbar{padding-left:16px;padding-right:8px;gap:4px}.topbar-tools{gap:2px}.topbar-tools .timezone{font-size:9px}.topbar-tools .icon-button{width:36px}.mobile-logout{display:inline-flex}.topbar .breadcrumb{display:none}.mobile-brand{display:inline-flex;align-items:center;width:148px;min-width:0;min-height:44px;flex-shrink:0;text-decoration:none}.mobile-brand .brand-logo{gap:8px}.mobile-brand .brand-logo-mark{width:40px}.mobile-brand .brand-logo-wordmark{width:calc(100% - 48px)}}@media(max-width:400px){.topbar-tools .timezone{display:none}}.nav-label-short{display:none}@media(max-width:700px){.sidebar-bottom .profile{display:none}.sidebar:not(:has(.sidebar-bottom>button)) nav{padding-right:0}.nav-label-long{display:none}.nav-label-short{display:inline;font-size:11px;line-height:1.3}.sidebar nav button{min-height:58px}}@media(max-width:359px){.nav-label-short{font-size:10px}.sidebar nav button{padding-left:1px;padding-right:1px}}
