.charts{display:flex;flex-direction:column;gap:14px;margin-top:16px}.chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.chart-card{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:14px 16px;min-width:0}.chart-card h3{margin:0 0 8px;font-size:14px;color:var(--navy-800)}.chart-card-wide{grid-column:1 / -1}.chart-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-header h3{margin:0}.range-toggle{display:inline-flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.range-button{border:none;background:var(--panel);padding:5px 12px;font-size:12px;cursor:pointer;color:var(--text)}.range-button.active{background:var(--navy-700);color:#fff}@media (max-width: 1300px){.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.section-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-bottom:16px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:14px 16px;min-width:0}.panel h3{margin:0 0 10px;font-size:14px;color:var(--navy-800)}.inline-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-bottom:10px}.inline-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.inline-form input,.inline-form select{height:34px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;background:#fff}.inline-form .secondary-button,.inline-form .primary-button{height:34px}.status-tag{display:inline-block;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:600;color:#fff;background:#8a939e}.status-tag.status-working{background:var(--status-working)}.status-tag.status-leave{background:var(--status-leave)}.status-tag.status-sick{background:var(--status-sick);color:#3b2c00}.status-tag.status-absent{background:var(--status-absent)}.status-tag.status-outside{background:var(--status-outside)}.status-tag.status-duty{background:#7a4fd6}.status-tag.status-off{background:#c7ced6;color:#1c2633}.permission-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.permission-group{border:1px solid var(--border);border-radius:8px;padding:6px 10px 8px;margin:0}.permission-group legend{font-size:12px;font-weight:700;color:var(--navy-700);padding:0 4px}.permission-item{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text);padding:2px 0}.forbidden{height:100%;min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.forbidden-code{font-size:56px;font-weight:800;color:var(--status-absent);line-height:1}.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.home-mission{border-left:4px solid var(--navy-700)}.home-role{display:inline-block;background:var(--navy-700);color:#fff;border-radius:6px;padding:2px 10px;font-size:12px;font-weight:600;margin-bottom:6px}.home-stats{display:flex;gap:10px;margin-top:10px}.home-stat{flex:1;border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 12px;text-align:left;cursor:pointer;display:flex;flex-direction:column}.home-stat-value{font-size:24px;font-weight:800;color:var(--status-sick)}.home-stat-label{font-size:12px;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.quick-button{border:1px solid var(--border);background:#fff;border-radius:8px;padding:10px;font-size:13px;font-weight:600;cursor:pointer;color:var(--navy-800)}.quick-button:hover{background:#eef4fb}.home-announcements ul{list-style:none;padding:0;margin:0 0 10px}.home-announcements li{border-bottom:1px solid var(--border);padding:8px 0}.home-announcements li p{margin:4px 0;font-size:13px}.announcement-form{display:flex;flex-direction:column;gap:6px}.announcement-form input,.announcement-form textarea{border:1px solid var(--border);border-radius:6px;padding:6px 8px;font-size:13px}.ticket-search-link{display:inline-flex;align-items:center;align-self:flex-end;height:34px;text-decoration:none;white-space:nowrap}.muted-small{font-size:12px;color:var(--muted)}.tag{display:inline-block;padding:2px 8px;border-radius:10px;font-size:12px;background:#eef2f7;color:var(--text)}.tag-off{background:#eceff3;color:#6b7786}.day-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.day-group h4{margin:0 0 6px;font-size:13px}.day-group ul{margin:0;padding-left:16px;font-size:12px;max-height:180px;overflow-y:auto}.building-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:16px}.capacity-bar{height:8px;background:#e6ebf1;border-radius:4px;overflow:hidden;margin:8px 0 4px}.capacity-bar span{display:block;height:100%;background:var(--status-leave)}.room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.room-card{border:1px solid var(--border);border-radius:6px;padding:10px;background:#fff}.bed-row{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px}.bed-row select{flex:1;height:28px;font-size:12px;border:1px solid var(--border);border-radius:5px;min-width:0}.bed-free{color:var(--status-working);font-weight:600;min-width:52px}.bed-occupied{color:var(--status-leave);font-weight:600;min-width:52px}.kpi-inline{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:13px}.range-toggle .range-button:first-child{border-right:1px solid var(--border)}.row-alert td{background:#fdecec}.alert-badge{background:var(--status-absent);color:#fff;border-radius:10px;padding:2px 8px;font-size:12px;font-weight:700}@media (max-width: 1300px){.section-grid{grid-template-columns:1fr}}.org-actions,.org-edit{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px}.org-edit input{height:30px;min-width:140px;padding:0 8px;border:1px solid var(--navy-700);border-radius:6px;font:inherit;font-size:13px}.push-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.dash{display:flex;flex-direction:column;gap:14px}.dash-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;border-radius:12px;color:#fff;background:linear-gradient(115deg,#1b3557,#24497a 55%,#3a6ea5)}.dash-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(224,165,38,.35),transparent 70%);pointer-events:none}.dash-hero>*:not(.dash-hero-art){position:relative;z-index:1}.dash-hero-art{position:absolute;top:0;right:0;z-index:0;width:62%;height:100%;pointer-events:none}.dash-hero-kicker{font-size:13px;opacity:.85}.dash-hero-name{margin:2px 0 6px;font-size:26px;font-weight:700;color:#fff}.dash-hero-role{display:inline-block;padding:4px 12px;border:1px solid #e0a526;border-radius:6px;background:#e0a526e6;color:#1b3557;font-size:12px;font-weight:600}.dash-hero-sub{margin:8px 0 0;font-size:13px;opacity:.9}.dash-hero-date{padding:10px 14px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:#ffffff1f;font-size:13px;white-space:nowrap}.dash-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dash-kpi{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.dash-kpi-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px}.dash-kpi-label{font-size:12px;color:var(--muted, #6b7480)}.dash-kpi-value{font-size:24px;font-weight:700;color:var(--navy-800, #1b3557)}.dash-main{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;align-items:start}.dash-column{display:flex;flex-direction:column;gap:14px;min-width:0}.dash-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:14px}.dash-card{min-width:0;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.dash-card h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:15px;color:var(--navy-800, #1b3557)}.dash-subtitle{margin:14px 0 4px;font-size:13px;color:var(--navy-800, #1b3557)}.dash-link{border:none;background:none;font-size:13px;color:var(--navy-700, #1b3557);cursor:pointer}.dash-donut{position:relative;width:160px;height:160px;flex-shrink:0}.dash-donut-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.dash-donut-center strong{font-size:22px;color:var(--navy-800, #1b3557)}.dash-donut-center span{font-size:11px;color:var(--muted, #6b7480)}.dash-donut-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.dash-legend{flex:1;min-width:160px;border-collapse:collapse;font-size:13px}.dash-legend td{padding:5px 4px;border-bottom:1px solid var(--border)}.dash-legend td:not(:first-child){text-align:right}.dash-dot{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%}.dash-table{width:100%;border-collapse:collapse;font-size:13px}.dash-table th{padding:6px;border-bottom:1px solid var(--border);text-align:left;font-weight:600;color:var(--muted, #6b7480)}.dash-table td{padding:7px 6px;border-bottom:1px solid var(--border)}.dash-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-right:8px;border-radius:50%;background:#e8eef7;color:var(--navy-800, #1b3557);font-size:11px;font-weight:700;vertical-align:middle}.dash-badge{padding:3px 10px;border-radius:999px;color:#fff;font-size:12px;font-weight:600;white-space:nowrap}.dash-info-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--border);font-size:13px}.dash-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dash-pending button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:8px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);font-size:13px;text-align:left;cursor:pointer}.dash-announcements{margin:0 0 10px;padding:0;list-style:none}.dash-announcements li{padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}.dash-announcements p{margin:4px 0}@media (max-width: 1300px){.dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-main{grid-template-columns:minmax(0,1fr)}}@media (max-width: 700px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-pair{grid-template-columns:minmax(0,1fr)}.dash-hero{flex-direction:column;align-items:flex-start}}.dash-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.dash-filter{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--muted, #6b7480)}.dash-filter select,.dash-people-bar select,.dash-people-bar input{height:34px;min-width:170px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#fff;font:inherit;font-size:13px;color:var(--text)}.dash-toolbar-edit{margin-left:auto}.dash-kpi-button{font:inherit;text-align:left;cursor:pointer}.dash-kpi-button:hover{border-color:#9fb3cc}.dash-kpi-button.active{border-color:var(--navy-700);box-shadow:inset 0 -3px #e0a526}.dash-notice-button{width:100%;margin:0;font:inherit;text-align:left;cursor:pointer}.dash-main.single{grid-template-columns:minmax(0,1fr)}.dash-anchor{scroll-margin-top:12px}.dash-units{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.dash-unit{display:flex;flex-direction:column;gap:7px;min-width:0;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:#fbfcfe;font:inherit;color:var(--text);text-align:left;cursor:pointer}.dash-unit:hover{border-color:#9fb3cc}.dash-unit.active{border-color:var(--navy-700);background:#eef3fa;box-shadow:inset 3px 0 #e0a526}.dash-unit-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px}.dash-unit-total{font-size:20px;font-weight:700;color:var(--navy-800, #1b3557)}.dash-unit-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:#e8edf3}.dash-unit-bar span{min-width:3px}.dash-unit-stats{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;color:var(--muted, #6b7480)}.dash-unit-stat strong{color:var(--text)}.dash-unit-stat .dash-dot{width:8px;height:8px;margin-right:4px}.dash-unit-rate{font-size:12px;color:var(--muted, #6b7480)}.dash-people-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.dash-people-bar input{flex:1 1 200px}.dash-chips,.dash-days{display:flex;flex-wrap:wrap;gap:6px}.dash-chips{margin-bottom:10px}.dash-chip{padding:4px 10px;border:1px solid var(--border);border-radius:14px;background:#fff;font:inherit;font-size:12px;color:var(--text);white-space:nowrap;cursor:pointer}.dash-chip:hover{border-color:#9fb3cc}.dash-chip.active{border-color:var(--navy-700);background:var(--navy-700);color:#fff}.dash-more{display:block;width:100%;margin-top:8px;padding:7px;border:1px dashed var(--border);border-radius:8px;background:none;font:inherit;font-size:13px;color:var(--navy-700);cursor:pointer}.dash-count{display:inline-block;min-width:22px;padding:1px 8px;border-radius:10px;background:#e8edf3;font-size:12px;font-weight:600;text-align:center;color:var(--navy-800, #1b3557)}.dash-attention{display:flex;flex-direction:column;gap:6px}.dash-attention-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 12px;border:1px solid var(--border);border-left:4px solid #2f6fd6;border-radius:8px;background:var(--panel);font:inherit;font-size:13px;color:var(--text);text-align:left;cursor:pointer}.dash-attention-row:hover{border-color:#9fb3cc}.dash-attention-row strong{min-width:22px;font-size:16px}.dash-attention-row.bad{border-left-color:#d64545}.dash-attention-row.bad strong{color:#a12b2b}.dash-attention-row.warn{border-left-color:#e0a526}.dash-moves-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:6px 18px}.dash-moves-col .dash-subtitle{margin-top:0}.dash-moves{margin:0;padding:0;list-style:none}.dash-moves li{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--border);font-size:13px}.dash-move-date{font-weight:600;color:var(--navy-800, #1b3557);text-transform:capitalize}.dash-move-name{display:flex;flex-direction:column;min-width:0}.dash-tag{padding:1px 8px;border-radius:10px;background:#e8edf3;font-size:11px;font-weight:600;color:var(--navy-800, #1b3557)}.dash-tag.ticket{background:#e1ecfb;color:#1c4f9c}.dash-info-row.bad strong{color:#a12b2b}.dash-info-row.warn strong{color:#9a6b00}.dash-layout{border-color:#9fb3cc;background:#f4f8fd}.dash-layout-actions{display:flex;align-items:center;gap:12px}.dash-layout-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px;margin-top:8px}.dash-layout-item{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:13px;cursor:pointer}.dash-layout-item.on{border-color:#9fc7ae;background:#f0f9f3}@media (max-width: 700px){.dash-filter,.dash-filter select{width:100%}.dash-toolbar-edit{margin-left:0;width:100%}.dash-moves li{grid-template-columns:64px minmax(0,1fr)}.dash-moves .dash-tag{display:none}}.dash-hero.dash-hero-photo{--hero-height: clamp(180px, 15vw, 260px);display:flex;align-items:center;justify-content:flex-start;height:var(--hero-height);padding:0;background:#0b1a2e}.dash-hero.dash-hero-photo:after{display:none}.dash-hero-photo .dash-hero-blur{position:absolute;top:-40px;left:-40px;z-index:0;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(26px) brightness(.5) saturate(1.1);pointer-events:none;-webkit-user-select:none;user-select:none}.dash-hero-photo .dash-hero-art{position:absolute;top:0;right:0;z-index:0;width:auto;height:100%;aspect-ratio:3 / 1;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 9%);mask-image:linear-gradient(to right,transparent 0,#000 9%);-webkit-user-select:none;user-select:none}.dash-hero-photo .dash-hero-card{position:relative;z-index:1;width:calc(100% - var(--hero-height) * 3 - 20px);min-width:230px;max-width:460px;margin-left:24px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.55)}.dash-hero-photo .dash-hero-name{font-size:24px}.dash-hero-photo .dash-hero-role{text-shadow:none}.dash-hero-photo .dash-hero-date{display:inline-block;margin-top:10px;padding:5px 10px;font-size:12px;text-shadow:none}@media (min-width: 901px) and (max-width: 1180px){.dash-hero-photo .dash-hero-card{width:auto;padding:12px 16px;border-radius:12px;background:#0b1a2ea8}}@media (max-width: 900px){body .dash-hero.dash-hero-photo{display:block;height:auto;padding:0}body .dash-hero-photo .dash-hero-blur{display:none}body .dash-hero-photo .dash-hero-art{position:static;display:block;width:100%;height:auto;aspect-ratio:3 / 1;opacity:1;-webkit-mask-image:none;mask-image:none}body .dash-hero-photo .dash-hero-card{width:auto;min-width:0;max-width:none;margin:0;padding:14px 16px;background:#112540;text-shadow:none}}.excel-export{display:inline-flex;align-items:center;gap:8px}.excel-message{font-size:12px;color:var(--muted)}.modal-wide{width:min(1100px,96vw)}.import-step p{margin:0 0 10px;font-size:14px}.mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;margin-bottom:8px}.preview-wrapper,.error-wrapper{max-height:260px}.import-counts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.error-text{color:#a12b2b;white-space:normal;min-width:260px}.employee-picker{position:relative;min-width:260px}.employee-picker input{width:100%;height:34px;border:1px solid var(--border);border-radius:6px;padding:0 28px 0 8px;font-size:13px;color:var(--text);background:#fff}.employee-picker-clear{position:absolute;top:6px;right:6px;width:22px;height:22px;border:none;border-radius:50%;background:transparent;color:#6b7480;font-size:11px;cursor:pointer}.employee-picker-clear:hover{background:#eef1f5}.employee-picker-list{position:absolute;z-index:40;top:38px;left:0;right:0;max-height:280px;overflow-y:auto;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #0f1e3229}.employee-picker-option{display:flex;flex-direction:column;gap:1px;padding:6px 8px;border-radius:6px;font-size:13px;cursor:pointer}.employee-picker-option.active{background:#e8eef7}.employee-picker-meta,.employee-picker-empty{font-size:11px;color:#6b7480}.employee-picker-empty{padding:6px 8px}@media (max-width: 900px){.employee-picker{min-width:0;width:100%}}.meal-view{display:flex;flex-direction:column;gap:18px}.meal-view-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.meal-view-header h2{margin:0;font-size:20px;color:var(--navy-900)}.meal-week-nav{margin-left:auto;display:flex;gap:8px;align-items:center}.day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day-pill{position:relative;border:1px solid var(--border);background:var(--panel);border-radius:12px;padding:10px 6px;cursor:pointer;text-align:center;color:var(--text);transition:transform .1s ease,box-shadow .1s ease}.day-pill:hover{transform:translateY(-1px);box-shadow:0 4px 10px #0b1a2e14}.day-pill .day-name{display:block;font-size:12px;color:var(--muted);text-transform:capitalize}.day-pill .day-number{display:block;font-size:20px;font-weight:700;margin-top:2px}.day-pill.is-selected{background:var(--navy-800);border-color:var(--navy-800);color:#fff}.day-pill.is-selected .day-name{color:#cfe0f5}.day-pill.is-today:after{content:"";position:absolute;top:8px;right:8px;width:7px;height:7px;border-radius:50%;background:#4fa3ff}.day-pill.has-menu:not(.is-selected) .day-number:after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--status-working);margin-left:5px;vertical-align:middle}.day-title{font-size:15px;color:var(--muted);margin:0;text-transform:capitalize}.meal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.meal-card{background:var(--panel);border-radius:16px;overflow:hidden;box-shadow:0 6px 18px #0b1a2e14;border:1px solid var(--border);display:flex;flex-direction:column}.meal-card-head{padding:14px 16px;color:#fff;display:flex;align-items:center;justify-content:space-between}.meal-card-head h3{margin:0;font-size:16px;letter-spacing:.02em}.meal-card-head .meal-count{font-size:12px;background:#fff3;border-radius:10px;padding:2px 9px}.meal-breakfast .meal-card-head{background:linear-gradient(135deg,#f59e0b,#e0790b)}.meal-lunch .meal-card-head{background:linear-gradient(135deg,#2e9e5b,#1f7a45)}.meal-dinner .meal-card-head{background:linear-gradient(135deg,#1b3557,#0b1a2e)}.meal-items{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:8px}.meal-item{display:flex;gap:12px;align-items:center;padding:8px;border-radius:12px;background:#f7f9fc;border:1px solid #edf1f6}.meal-photo{width:64px;height:64px;border-radius:12px;object-fit:cover;flex-shrink:0;border:1px solid var(--border)}.meal-photo-empty{display:flex;align-items:center;justify-content:center;background:#e6ebf1;color:var(--navy-700);font-size:22px;font-weight:700}.meal-name{font-weight:600;font-size:15px;color:var(--text);line-height:1.3}.meal-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}.meal-chip{font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;background:#e8f1fc;color:var(--navy-700)}.meal-note{font-size:12px;color:var(--muted);font-style:italic}.meal-photo-zoomable{cursor:zoom-in;transition:transform .1s ease}.meal-photo-zoomable:hover{transform:scale(1.05)}.photo-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#050c16d9;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:50;cursor:zoom-out;padding:24px}.photo-lightbox img{max-width:92vw;max-height:80vh;border-radius:14px;box-shadow:0 20px 50px #00000080;cursor:default;background:#fff}.photo-lightbox-caption{margin-top:14px;color:#fff;font-size:16px;font-weight:600}.photo-lightbox-close{position:absolute;top:16px;right:20px;width:40px;height:40px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:18px;cursor:pointer}.photo-lightbox-close:hover{background:#ffffff4d}.meal-empty{margin:0;padding:22px 16px;color:var(--muted);font-size:13px;text-align:center}@media (max-width: 900px){.day-strip{grid-template-columns:repeat(7,minmax(60px,1fr));overflow-x:auto}}.storage-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.storage-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:10px 0 14px}.storage-card{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.storage-card-r2{border-color:#f6b26b;background:#fff8ef}.storage-card-label{font-size:12px;color:#4a5665}.storage-card-value{font-size:20px;font-weight:700}.storage-bar{height:8px;border-radius:4px;background:#e3e8ef;overflow:hidden}.storage-bar-fill{height:100%;border-radius:4px;background:#2e9e5b}.storage-bar-fill.warning{background:#e0a526}.storage-bar-fill.danger{background:#d64545}.storage-table{margin-bottom:10px}.users-header-actions{display:flex;gap:8px;flex-wrap:wrap}.users-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}.users-stat{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--panel);cursor:pointer;text-align:left;font:inherit;color:var(--text);transition:border-color .15s,box-shadow .15s}.users-stat:hover{border-color:#9fb3cc}.users-stat.active{border-color:var(--navy-700);box-shadow:0 0 0 2px #1b35571f}.users-stat-value{font-size:24px;font-weight:700;line-height:1.1}.users-stat-value.stat-green{color:#1f7a45}.users-stat-value.stat-gray{color:#6b7786}.users-stat-label{font-size:12px;color:var(--muted)}.users-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:12px}.users-tab{padding:9px 16px;border:none;border-bottom:3px solid transparent;background:none;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;margin-bottom:-1px}.users-tab:hover{color:var(--text)}.users-tab.active{color:var(--navy-700);border-bottom-color:var(--navy-700)}.users-tab-count{display:inline-block;min-width:20px;padding:1px 6px;margin-left:4px;border-radius:10px;background:#e8edf3;font-size:11px;text-align:center}.users-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;margin-bottom:10px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.users-filters input[type=search],.users-filters select,.perm-search{height:34px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px}.users-filter-search{flex:1 1 240px;min-width:180px}.users-filter-count{margin-left:auto;font-size:12px;color:var(--muted)}.user-cell{display:flex;align-items:center;gap:10px}.user-avatar{flex:0 0 auto;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--navy-700);color:#fff;font-size:12px;font-weight:700}.users-row-passive .user-avatar{background:#a6afba}.users-row-passive td{color:var(--muted)}.user-name{font-weight:600}.user-self{margin-left:6px;padding:1px 6px;border-radius:8px;background:#e3f5ea;color:#1f7a45;font-size:10px;font-weight:700;text-transform:uppercase}.role-chip{display:inline-block;padding:3px 9px;border-radius:12px;background:#e9eff7;color:var(--navy-700);font-size:12px;font-weight:600;white-space:nowrap}.role-chip-admin{background:#fdecec;color:#a12b2b}.users-empty{text-align:center;padding:26px 10px!important;color:var(--muted)}.role-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.role-card{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.role-card-passive{opacity:.65}.role-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.role-card-name{font-size:15px;font-weight:700}.role-card-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.role-kind{padding:2px 8px;border-radius:10px;background:#fff3cd;color:#7a5d10;font-weight:600}.role-kind-system{background:#e8edf3;color:#4a5665}.role-bar{height:6px;border-radius:3px;background:#e3e8ef;overflow:hidden}.role-bar-fill{height:100%;border-radius:3px;background:var(--navy-700)}.role-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:2px}.role-users-link{padding:0;border:none;background:none;font:inherit;font-size:13px;color:var(--status-leave);cursor:pointer;text-decoration:underline}.role-users-link:disabled{color:var(--muted);cursor:default;text-decoration:none}.users-section-title{margin:18px 0 8px;padding-top:12px;border-top:1px solid var(--border);font-size:14px}.users-section-title.first{margin-top:0;padding-top:0;border-top:none}.password-row{display:flex;gap:6px}.password-row input{flex:1 1 auto;min-width:0}.field-hint-error{font-size:12px;color:#a12b2b}.scope-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.scope-box{border:1px solid var(--border);border-radius:8px;padding:10px;background:#f8fafc}.scope-box-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}.scope-box-title{font-size:13px;font-weight:700}.scope-box-count{font-size:11px;color:var(--muted)}.scope-chips{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow-y:auto}.scope-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid var(--border);border-radius:14px;background:#fff;font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.scope-chip-label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.scope-chip-remove{margin-left:2px;padding:0 2px;border:none;background:none;color:#a12b2b;font-size:12px;line-height:1;cursor:pointer}.scope-chip-remove:hover:not(:disabled){color:#d64545}.scope-edit-button{margin-left:auto;padding:0;border:none;background:none;font:inherit;font-size:12px;color:#1c4f9c;cursor:pointer}.scope-edit-button:hover{text-decoration:underline}.scope-box.editing{border-color:#9fb3cc;background:#f4f8fd}.scope-add-row{display:flex;gap:6px;margin-top:8px}.scope-add-row input{flex:1 1 auto;min-width:0;height:32px;padding:0 8px;border:1px solid var(--border);border-radius:6px;font:inherit;font-size:13px}.scope-edit-note{margin:6px 0 0;font-size:11px;color:var(--muted)}.scope-chip.selected{border-color:var(--navy-700);background:#e9eff7;color:var(--navy-700);font-weight:600}.perm-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.perm-search{flex:1 1 180px;min-width:150px}.perm-total{font-size:12px;color:var(--muted);white-space:nowrap}.perm-total strong{font-size:14px;color:var(--text)}.perm-actions{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.perm-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}.perm-group{border:1px solid var(--border);border-radius:8px;padding:0 0 6px;background:#fff;overflow:hidden}.perm-group.has-selection{border-color:#b9c8dc}.perm-group-head{display:flex;align-items:center;gap:6px;padding:6px 10px;margin-bottom:4px;background:#f1f4f8;border-bottom:1px solid var(--border);cursor:pointer}.perm-group.has-selection .perm-group-head{background:#e9eff7}.perm-group-title{flex:1 1 auto;font-size:12px;font-weight:700;color:var(--navy-700)}.perm-group-count{font-size:11px;color:var(--muted)}.perm-item{display:flex;align-items:center;gap:6px;padding:3px 10px;font-size:12px;cursor:pointer}.perm-item:hover{background:#f8fafc}@media (max-width: 720px){.users-filter-count{margin-left:0;width:100%}.perm-actions{margin-left:0}}.acc-preview{margin-bottom:10px;padding:10px 12px;border:1px solid #b9c8dc;border-radius:8px;background:#f4f8fd}.acc-preview-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;font-size:13px}.acc-preview-count{font-size:12px;color:var(--muted)}.acc-preview-count strong{color:var(--text)}.acc-preview-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.acc-chip{padding:2px 8px;border-radius:10px;background:#fff;border:1px solid #c9d6e6;font-size:12px}.acc-preview-empty{margin:8px 0 0;font-size:12px;color:#a12b2b}.acc-only-open{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;cursor:pointer}.acc-section{margin-bottom:10px;border:1px solid var(--border);border-radius:8px;background:#fff;overflow:hidden}.acc-section-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:7px 12px;background:#f1f4f8;border-bottom:1px solid var(--border)}.acc-section.has-open .acc-section-head{background:#e4ecf6}.acc-section-title{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--navy-700)}.acc-section-count{font-size:12px;color:var(--muted)}.acc-section-actions{display:flex;flex-wrap:wrap;gap:2px 12px;margin-left:auto}.acc-link{padding:2px 0;border:none;background:none;font:inherit;font-size:12px;color:#1c4f9c;cursor:pointer}.acc-link:hover{text-decoration:underline}.acc-module{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 14px;padding:9px 12px;border-left:3px solid #2e9e5b}.acc-module+.acc-module{border-top:1px solid #edf0f4}.acc-module.off{border-left-color:#d5dbe3;background:#fafbfc}.acc-module-main{min-width:0;flex:1 1 auto}.acc-module-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px}.acc-module.off .acc-module-title strong{color:var(--muted)}.acc-state{padding:1px 8px;border-radius:10px;background:#e3f5ea;color:#1f7a45;font-size:11px;font-weight:600}.acc-state.off{background:#eceff3;color:#6b7786}.acc-tag{padding:0 6px;border-radius:4px;background:#fdecec;color:#a12b2b;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.acc-hint{margin-top:2px;font-size:11px;color:var(--muted)}.acc-actions{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:6px}.acc-action{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 7px;border:1px solid var(--border);border-radius:14px;background:#fff;font-size:12px;cursor:pointer}.acc-action.on{border-color:#9fc7ae;background:#f0f9f3}.acc-module.off .acc-action{color:var(--muted)}.acc-levels{display:inline-flex;flex-shrink:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}.acc-level{padding:5px 10px;border:none;border-left:1px solid var(--border);background:none;font:inherit;font-size:12px;color:var(--text);white-space:nowrap;cursor:pointer}.acc-level:first-child{border-left:none}.acc-level:disabled{cursor:default}.acc-level:not(:disabled):not(.active):hover{background:#f1f4f8}.acc-level.active{font-weight:700;color:#fff;background:var(--navy-700)}.acc-level.active.off{background:#8a939e}.acc-level.active.full{background:#2e9e5b}@media (max-width: 720px){.acc-module{flex-direction:column}.acc-section-actions{margin-left:0;width:100%}}.user-linked{color:#1c4f9c}.user-employee-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:6px}.admin-console-panel{max-width:900px;margin-bottom:16px}.admin-console-intro{max-width:900px;margin:0 0 14px}.admin-console-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;max-width:900px;margin-bottom:16px}.admin-console-card{margin:0}.admin-console-head{display:flex;align-items:center;gap:10px}.admin-console-head h3{margin:0}.admin-console-form{display:flex;flex-direction:column;gap:10px;max-width:420px;margin-top:14px}.admin-console-hint{font-size:12px;color:#a12b2b}.admin-console-check{display:flex;align-items:center;gap:6px;font-size:13px}.admin-console-steps{margin:8px 0 0;padding-left:20px;line-height:1.6;font-size:13px}.ticket-upcoming{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-bottom:14px}.ticket-flight{display:flex;flex-direction:column;gap:3px;padding:11px 13px;border:1px solid var(--border);border-left:4px solid var(--navy-700);border-radius:10px;background:var(--panel);font:inherit;font-size:13px;color:var(--text);text-align:left;cursor:pointer}.ticket-flight:hover{border-color:#9fb3cc;border-left-color:var(--navy-700)}.ticket-flight-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.ticket-flight-route{font-size:15px;font-weight:700;color:var(--navy-800)}.ticket-count{display:inline-block;margin-top:2px;font-size:13px;color:#1c4f9c;white-space:nowrap}.ticket-count strong{font-size:15px}.ticket-count.soon{color:#b9770a}.ticket-count.past{color:var(--muted)}.ticket-dots{display:inline-flex;align-items:center;gap:3px;margin-left:8px;vertical-align:middle}.ticket-dots span{width:14px;height:6px;border-radius:3px;background:#d5dbe3}.ticket-dots span.done{background:#2e9e5b}.ticket-dots span.current{background:#e0a526}.ticket-dots span.stopped{background:#d64545}tr.ticket-row-open td{background:#f4f8fd}tr.ticket-detail-row td{padding:0;background:#f8fafc}.ticket-detail{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:16px;padding:14px 16px}.ticket-detail-side{display:flex;flex-direction:column;gap:12px}.ticket-detail-title{display:block;margin-bottom:6px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.ticket-timeline{display:flex;gap:0;margin:0;padding:0;list-style:none}.ticket-timeline li{position:relative;display:flex;flex:1 1 0;flex-direction:column;gap:6px;min-width:0;padding-right:10px}.ticket-timeline li:before{content:"";position:absolute;top:12px;left:26px;right:0;height:3px;border-radius:2px;background:#d5dbe3}.ticket-timeline li:last-child:before{display:none}.ticket-timeline li.done:before{background:#2e9e5b}.ticket-step-mark{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:3px solid #d5dbe3;border-radius:50%;background:#fff;font-size:12px;font-weight:700;color:#fff}.ticket-timeline li.done .ticket-step-mark{border-color:#2e9e5b;background:#2e9e5b}.ticket-timeline li.current .ticket-step-mark{border-color:#e0a526;box-shadow:0 0 0 4px #e0a52633}.ticket-timeline li.stopped .ticket-step-mark{border-color:#d64545;background:#d64545}.ticket-step-body{display:flex;flex-direction:column;gap:2px;font-size:13px;overflow-wrap:anywhere}.ticket-timeline li.todo .ticket-step-body strong{color:var(--muted);font-weight:600}.ticket-step-wait{align-self:flex-start;padding:0 8px;border-radius:10px;background:#fff3cd;color:#7a5d10;font-size:11px;font-weight:700}.ticket-photos{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.ticket-photo,.ticket-photo-edit{position:relative;padding:0;border:1px solid var(--border);border-radius:8px;background:none;overflow:hidden}.ticket-photo{cursor:zoom-in}.ticket-photo img,.ticket-photo-edit img{display:block;width:84px;height:84px;object-fit:cover}.ticket-photo-edit button{position:absolute;top:2px;right:2px;width:22px;height:22px;border:none;border-radius:50%;background:#0b1a2ebf;color:#fff;font-size:11px;cursor:pointer}.ticket-zoom{display:block;max-width:100%;max-height:70vh;margin:0 auto}@media (max-width: 900px){.ticket-detail{grid-template-columns:minmax(0,1fr)}.ticket-timeline{flex-direction:column;gap:12px}.ticket-timeline li{flex-direction:row;padding-right:0}.ticket-timeline li:before{top:26px;left:11px;right:auto;bottom:-12px;width:3px;height:auto}}.purchase-hint{margin:0 0 10px}.purchase-status-toggle{margin-bottom:10px;flex-wrap:wrap}.tracker-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}.tracker-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-radius:8px;font:inherit;color:var(--text);text-align:left;cursor:pointer}.tracker-card:hover{border-color:#9aa7b8}.tracker-card.active{border-color:#1b3557;box-shadow:inset 0 0 0 1px #1b3557;background:#f1f5fb}.tracker-card-count{font-size:24px;font-weight:700;line-height:1.1}.tracker-card-label{font-size:12px;color:#4a5665}.tracker-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:8px}.tracker-sort{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:13px;color:#4a5665}.tracker-sort select{height:32px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;background:#fff}.tracker-link{padding:0;border:none;background:none;font:inherit;font-weight:600;color:#1b4f9c;cursor:pointer;text-decoration:underline}.purchase-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:8px}.purchase-filters input[type=search],.purchase-filters input[type=date],.purchase-filters select{height:34px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;color:var(--text);background:#fff}.purchase-filter-search{flex:1 1 260px;min-width:0}.purchase-filter-date,.purchase-filter-check{display:flex;align-items:center;gap:6px;font-size:13px;color:#4a5665}.purchase-filter-check,.purchase-row{cursor:pointer}.purchase-detail-row>td{background:#f6f8fb;padding:12px 14px}.purchase-detail{display:grid;gap:12px}.purchase-lines{background:#fff}.purchase-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px 18px;margin:0}.purchase-facts dt{font-size:12px;color:#6b7480}.purchase-facts dd{margin:2px 0 0}.purchase-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-wide{grid-column:1 / -1}.purchase-section-title{margin:16px 0 8px;font-size:14px}.purchase-editor{display:grid;gap:6px}.purchase-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 120px 34px;gap:6px;align-items:center}.purchase-editor-row input,.purchase-editor-row select{min-width:0;width:100%;height:34px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;color:var(--text);background:#fff}.purchase-note{border:1px solid var(--border);border-radius:6px;padding:8px;font:inherit;font-size:13px;color:var(--text);resize:vertical}.purchase-invoice-box{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border:1px dashed #9aa7b8;border-radius:8px;background:#f8fafc}.purchase-invoice-notice{margin:0 0 10px;font-size:13px}.purchase-photos{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}.purchase-photo{position:relative;width:84px;height:84px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#f1f4f8;padding:0}.purchase-photo img{width:100%;height:100%;object-fit:cover;display:block}.purchase-photo-button{cursor:zoom-in}.purchase-photo-remove{position:absolute;top:3px;right:3px;width:22px;height:22px;border:none;border-radius:50%;background:#0f1e32bf;color:#fff;font-size:11px;line-height:1;cursor:pointer}.purchase-photo-add{width:84px;height:84px;border:1px dashed #9aa7b8;border-radius:8px;background:#fff;color:#1b3557;font-size:12px;cursor:pointer}.purchase-photo-add:disabled{opacity:.6;cursor:default}.purchase-lightbox{z-index:200;cursor:zoom-out}.purchase-lightbox img{max-width:92vw;max-height:88vh;border-radius:8px;background:#fff}.purchase-lightbox-close{position:fixed;top:14px;right:14px;background:#fff}.purchase-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 14px}@media (max-width: 900px){.tracker-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tracker-sort{margin-left:0}.purchase-filters select,.purchase-filter-search{flex:1 1 100%}.purchase-filter-date{flex:1 1 100%;flex-wrap:wrap}.purchase-filter-date input{flex:1 1 120px;min-width:0}.purchase-form-grid{grid-template-columns:1fr}.purchase-editor-row{grid-template-columns:1fr 1fr 1fr 34px;padding-bottom:8px;border-bottom:1px solid #e3e8ef}.purchase-editor-name{grid-column:1 / -1}}.purchase-row-mine td:first-child{box-shadow:inset 3px 0 #e0a526}.purchase-actions{display:flex;flex-wrap:wrap;gap:4px;min-width:170px}.purchase-steps{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}.purchase-step{position:relative;padding:5px 12px 5px 18px;background:#e8edf3;color:#6b7786;font-size:11px;font-weight:600;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%,8px 50%)}.purchase-step:first-child{padding-left:12px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%)}.purchase-step.done{background:#cfe9d9;color:#1f7a45}.purchase-step.current{background:var(--navy-700);color:#fff}.purchase-step.stopped{background:#d64545;color:#fff}.purchase-subtitle{margin:14px 0 6px;font-size:13px}.purchase-quotes tbody tr{cursor:default}.purchase-quote-selected td{background:#eef7f1}.purchase-timeline{list-style:none;margin:0;padding:0 0 0 4px;border-left:2px solid var(--border)}.purchase-timeline li{display:flex;gap:12px;padding:4px 0 4px 12px;font-size:12px}.purchase-timeline-time{flex:0 0 110px;color:var(--muted);white-space:nowrap}.purchase-check-list{display:flex;flex-direction:column;gap:8px;margin:10px 0 12px}.purchase-check-row{display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:8px 12px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.purchase-check-name{display:flex;flex-direction:column;gap:2px}.purchase-check-stock{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.purchase-check-stock select,.purchase-check-stock input,.purchase-quote-row input,.purchase-quote-row select{height:34px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px}.purchase-check-stock select{flex:1 1 200px;min-width:0}.purchase-check-reason{flex:1 1 100%}.purchase-check-warning{flex:1 1 100%;font-size:12px;color:#a12b2b}.purchase-inline-field{display:flex;align-items:center;gap:6px;font-size:12px}.purchase-inline-field input{width:90px}.purchase-footer-summary{margin-right:auto}.purchase-quote-editor{display:flex;flex-direction:column;gap:6px;margin:10px 0}.purchase-quote-row{display:grid;grid-template-columns:22px minmax(140px,2fr) minmax(90px,1fr) 76px minmax(90px,1fr) minmax(110px,2fr) auto auto;gap:6px;align-items:center}.purchase-quote-row input,.purchase-quote-row select{min-width:0;width:100%}.purchase-quote-no{font-weight:700;color:var(--muted);text-align:center}@media (max-width: 820px){.purchase-quote-row{grid-template-columns:22px 1fr 1fr}.purchase-check-row{grid-template-columns:1fr}}.requester-tag{position:relative;display:inline-block;cursor:help;outline:none}.requester-tag-name{border-bottom:1px dotted #9aa6b4;font-weight:600}.requester-card{position:fixed;z-index:300;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:190px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 8px 24px #0b1a2e2e;white-space:nowrap;cursor:default}.role-tag{padding:2px 9px;border-radius:12px;background:#e9eff7;color:var(--navy-700);font-size:12px;font-weight:600}.quote-cards{display:flex;flex-direction:column;gap:12px;margin:10px 0}.quote-card{padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.quote-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.quote-card-actions{display:flex;align-items:center;gap:6px}.quote-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 12px;margin-bottom:10px}.quote-field-wide{grid-column:span 2}.quote-lines input{width:100%;min-width:70px;height:32px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px}.quote-totals{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 20px;margin-top:8px;font-size:13px}.quote-total{font-size:15px}.quote-compare th[scope=row]{background:#f1f4f8;color:var(--text);font-weight:600;text-align:left}.quote-compare .quote-col{min-width:150px}.quote-compare td.quote-col-selected{background:#eef7f1}.quote-compare thead th.quote-col-selected{background:#1f7a45}.quote-compare-total td,.quote-compare-total th[scope=row]{border-top:2px solid var(--navy-700);font-size:14px}.quote-compare-selectable .quote-col{cursor:pointer}@media (max-width: 720px){.quote-field-wide{grid-column:span 1}}.quote-col-no{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.85}.inventory-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.inventory-actions .primary-button.compact{margin-left:0}.inventory-notice{margin:0 0 12px}.inventory-low{color:#b7791f}.inventory-out{color:#c53030}.inventory-value-card{cursor:default}.inventory-value{font-size:16px;line-height:1.5}.inventory-inactive td{color:#8a94a3}.inventory-plus{color:#2e7d4f;font-weight:600}.inventory-minus{color:#c53030;font-weight:600}@media (max-width: 900px){.inventory-actions{margin-left:0;width:100%}.inventory-actions button{flex:1 1 140px}}.inventory-thumb{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:6px;background:#fff;overflow:hidden;cursor:zoom-in}.inventory-thumb img{width:100%;height:100%;object-fit:cover}.inventory-thumb:hover{border-color:var(--navy-700)}.inventory-thumb-empty{color:#b6bfca;background:#f4f6f9;cursor:default}.inventory-thumb-empty:hover{border-color:var(--border)}.inventory-photo-row{display:flex;align-items:flex-start;gap:12px}.inventory-photo-preview{flex:0 0 auto;width:96px;height:96px;border:1px solid var(--border);border-radius:8px;object-fit:cover;background:#fff}.inventory-photo-empty{display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--muted);background:#f4f6f9}.inventory-photo-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.inventory-lightbox-caption{position:fixed;left:0;right:0;bottom:16px;text-align:center;color:#fff;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.8);pointer-events:none}.inventory-delete-warning{padding:12px 14px;margin-bottom:12px;border:1px solid #f1b5b5;border-radius:8px;background:#fdf1f1}.inventory-delete-warning p{margin:6px 0 0}.mnt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}.mnt-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1px solid var(--border);border-left:4px solid #c7ced6;border-radius:10px;background:var(--panel);font:inherit;color:var(--text);text-align:left;cursor:pointer}.mnt-card:disabled{cursor:default}.mnt-card:not(:disabled):hover{border-color:#9fb3cc}.mnt-card.ok{border-left-color:#2e9e5b}.mnt-card.warn{border-left-color:#e0a526}.mnt-card.bad{border-left-color:#d64545}.mnt-card-value{font-size:22px;font-weight:700;line-height:1.15}.mnt-card.bad .mnt-card-value{color:#a12b2b}.mnt-card-label{font-size:12px;color:var(--muted)}.mnt-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.mnt-list-panel{margin:0}.mnt-list-panel h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:14px}.mnt-list-panel.bad{border-top:3px solid #d64545}.mnt-list-panel.warn{border-top:3px solid #e0a526}.mnt-count{padding:1px 8px;border-radius:10px;background:#e8edf3;font-size:12px}.mnt-due-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.mnt-due-item{display:block;width:100%;padding:7px 9px;border:1px solid transparent;border-radius:6px;background:#f8fafc;font:inherit;color:var(--text);text-align:left;cursor:pointer}.mnt-due-item:hover{border-color:#9fb3cc}.mnt-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mnt-plan-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.mnt-plan-card{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:13px}.mnt-plan-passive{opacity:.6}.mnt-plan-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.mnt-plan-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.mnt-task-list,.mnt-part-list{margin:2px 0;padding-left:18px;font-size:12px;line-height:1.6}.mnt-task-check{list-style:none;padding-left:2px}.mnt-task-check li.done{color:#1f7a45}.mnt-form-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.mnt-wide{grid-column:span 2}.mnt-checks,.mnt-task-checks{display:flex;flex-direction:column;gap:6px;margin:8px 0}.mnt-parts-editor{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:8px}.mnt-parts-row{display:grid;grid-template-columns:minmax(200px,1fr) 90px 50px 100px auto;gap:6px;align-items:center;width:100%}.mnt-parts-row select,.mnt-parts-row input,.mnt-used-row select,.mnt-used-row input,.mnt-extra-part select{height:34px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px;min-width:0}.mnt-parts-unit{font-size:12px;color:var(--muted)}.mnt-used-row{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(160px,220px);gap:8px 12px;align-items:center;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.mnt-used-row .purchase-check-warning{grid-column:1 / -1}.mnt-extra-part{display:flex;gap:6px;margin:8px 0}.mnt-extra-part select{flex:1 1 auto}.mnt-costs{justify-content:flex-start}.mnt-calendar-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.mnt-calendar-title{min-width:170px;text-align:center;text-transform:capitalize}.mnt-calendar-legend{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}.mnt-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--border);gap:1px;margin-bottom:8px}.mnt-calendar-head{padding:6px 8px;background:var(--navy-800);color:#fff;font-size:12px;font-weight:600;text-transform:capitalize}.mnt-calendar-day{display:flex;flex-direction:column;gap:3px;min-height:86px;padding:5px 6px;background:#fff}.mnt-calendar-week .mnt-calendar-day{min-height:220px}.mnt-calendar-day.outside{background:#f4f6f9}.mnt-calendar-day.outside .mnt-calendar-date{color:#b6bfca}.mnt-calendar-day.today{box-shadow:inset 0 0 0 2px var(--navy-700)}.mnt-calendar-date{font-size:12px;font-weight:700;color:var(--muted)}.mnt-cal-chip{display:block;width:100%;padding:2px 6px;border:none;border-radius:4px;font:inherit;font-size:11px;font-weight:600;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.mnt-calendar-legend .mnt-cal-chip{width:auto;cursor:default}.mnt-calendar-week .mnt-cal-chip{white-space:normal}.mnt-cal-detail{display:block;font-weight:400}.mnt-cal-chip.planned{background:#e1ecfb;color:#1c4f9c}.mnt-cal-chip.due{background:#fff3cd;color:#7a5d10}.mnt-cal-chip.overdue{background:#fdecec;color:#a12b2b}.mnt-cal-chip.done{background:#e3f5ea;color:#1f7a45}@media (max-width: 760px){.mnt-wide{grid-column:span 1}.mnt-parts-row,.mnt-used-row{grid-template-columns:1fr 1fr}.mnt-calendar-day{min-height:60px}}.message-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:14px;align-items:start}.message-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:8px}.message-filters input[type=search],.message-filters input[type=date],.message-filters select{height:34px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;color:var(--text);background:#fff}.message-filter-search{flex:1 1 240px;min-width:0}.message-filter-date,.message-filter-check{display:flex;align-items:center;gap:6px;font-size:13px;color:#4a5665}.message-filter-check{cursor:pointer}.message-filter-count{margin-left:auto}.message-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 10px;min-height:34px}.message-bulk-end{margin-left:auto}.message-bulk button:disabled{opacity:.45;cursor:default}.message-trash-note{margin:0 0 10px}.message-item{display:flex;align-items:stretch}.message-check{flex:none;width:18px;height:18px;margin:14px 2px 0 12px;cursor:pointer}.message-item .message-row{flex:1;min-width:0;padding-left:8px}.message-row-trash{font-size:11px;color:#b7791f}.message-list{margin:0;padding:0;list-style:none;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;max-height:calc(100vh - 210px);overflow-y:auto}.message-list li+li{border-top:1px solid #e6ebf1}.message-row{display:flex;flex-direction:column;gap:2px;width:100%;padding:10px 12px;border:none;border-left:3px solid transparent;background:transparent;text-align:left;font:inherit;color:var(--text);cursor:pointer}.message-row:hover{background:#f6f8fb}.message-row.active{background:#e8eef7}.message-row.unread{border-left-color:#e0a526}.message-row.unread .message-row-who,.message-row.unread .message-row-subject{font-weight:700}.message-row-top{display:flex;justify-content:space-between;gap:8px;font-size:13px}.message-row-who{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-row-when{flex:none;font-size:11px;color:#6b7480}.message-row-subject{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-row-preview{font-size:12px;color:#6b7480;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-empty{padding:16px 12px;font-size:13px;color:#6b7480}.message-reader{background:#fff;border:1px solid var(--border);border-radius:8px;padding:16px 18px;min-height:220px}.message-placeholder{margin:40px 0;text-align:center}.message-back{display:none;margin-bottom:10px}.message-subject{margin:0 0 8px;font-size:18px}.message-meta{display:grid;gap:3px;padding-bottom:10px;border-bottom:1px solid #e6ebf1;font-size:13px}.message-read{color:#2e9e5b;font-size:12px}.message-unread{color:#6b7480;font-size:12px}.message-body{margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.message-thread{display:grid;gap:8px;margin:0 0 14px}.message-thread-title{font-size:12px;font-weight:600;color:#6b7480;text-transform:uppercase;letter-spacing:.04em}.message-quote{border-left:3px solid #c9d3e0;background:#f6f8fb;border-radius:0 6px 6px 0;padding:8px 12px}.message-quote-head{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:4px}.message-quote-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.45;color:#3a4554}.message-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.message-actions .primary-button.compact{margin-left:0}.message-chips{display:flex;flex-wrap:wrap;gap:6px;min-height:26px;align-items:center}.message-chip{border:1px solid #c9dbf3;background:#eef4fc;color:#1b3557;border-radius:14px;padding:3px 10px;font-size:12px;cursor:pointer}.message-contacts{display:grid;gap:2px;max-height:170px;overflow-y:auto;border:1px solid var(--border);border-radius:6px;padding:6px}.message-contact{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:4px;font-size:13px;cursor:pointer}.message-contact:hover{background:#f6f8fb}.message-contact input{width:auto;height:auto}.message-textarea{border:1px solid var(--border);border-radius:6px;padding:8px;font:inherit;font-size:14px;color:var(--text);resize:vertical}@media (max-width: 900px){.message-filters select,.message-filter-search,.message-filter-date{flex:1 1 100%}.message-filter-date{flex-wrap:wrap}.message-filter-date input{flex:1 1 120px;min-width:0}.message-layout{grid-template-columns:minmax(0,1fr)}.message-list{max-height:none}.message-layout.has-selection .message-list{display:none}.message-layout:not(.has-selection) .message-reader{display:none}.message-back{display:inline-flex}}.profile-page .panel{margin-bottom:14px}.profile-hero{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;border-top:4px solid var(--navy-700)}.profile-avatar{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:var(--navy-800);color:#fff;font-size:30px;font-weight:700;object-fit:cover}.profile-hero-main{flex:1 1 320px;min-width:0}.profile-hero-main h2{margin:0 0 4px;font-size:22px;color:var(--navy-800);overflow-wrap:anywhere}.profile-hero-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.profile-scope{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.profile-scope-label{margin-left:4px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.profile-scope-label:first-child{margin-left:0}.profile-chip{display:inline-block;padding:2px 10px;border:1px solid var(--border);border-radius:12px;background:#f4f7fb;font-size:12px;color:var(--text)}.profile-hero-facts,.profile-facts{margin:0}.profile-hero-facts{display:flex;flex-wrap:wrap;gap:8px 22px}.profile-hero-facts dt,.profile-facts dt{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.profile-hero-facts dd,.profile-facts dd{margin:2px 0 0;font-size:14px;font-weight:600;color:var(--text);overflow-wrap:anywhere}.profile-unlinked{margin-bottom:14px}.profile-block h3{margin:0 0 10px}.profile-block-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:10px}.profile-block-head h3{margin:0}.profile-sub{margin:16px 0 8px;font-size:13px;color:var(--navy-800)}.profile-leave-now,.profile-leave-next{display:flex;flex-wrap:wrap;gap:4px 10px;margin-bottom:12px;padding:9px 12px;border-radius:8px;font-size:13px}.profile-leave-now{border:1px solid #b7dfc6;background:#eaf7ef}.profile-leave-next{border:1px solid #c9d8ee;background:#f1f6fd}.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-stat{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--border);border-left:4px solid var(--navy-700);border-radius:10px;background:var(--panel);font-size:12px;color:var(--muted)}.profile-stat strong{font-size:26px;line-height:1.1;color:var(--navy-800)}.profile-stat.tone-green{border-left-color:#2e9e5b}.profile-stat.tone-green strong{color:#1f7a44}.profile-stat.tone-amber{border-left-color:#e0a526}.profile-stat.tone-amber strong{color:#96690a}.profile-stat.tone-blue{border-left-color:#2f6fcf}.profile-stat.tone-blue strong{color:#1c4f9c}.profile-stat.tone-red{border-left-color:#d64545}.profile-stat.tone-red strong{color:#a52e2e}.profile-stats.compact .profile-stat{padding:9px 11px}.profile-stats.compact .profile-stat strong{font-size:20px}.profile-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:12px}.profile-type{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font-size:13px}.profile-type-head,.profile-type-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}.profile-bar{display:flex;height:8px;border-radius:4px;background:#e3e8ef;overflow:hidden}.profile-bar .used{background:#2e9e5b}.profile-bar .waiting{background:#e0a526}.profile-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:14px;align-items:start}.profile-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px 16px}.profile-flight{display:flex;flex-direction:column;gap:3px;font-size:13px}.profile-flight>strong{font-size:16px;color:var(--navy-800)}.profile-flight-count{color:#1c4f9c}.profile-flight-count strong{font-size:16px}.profile-modules{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}@media (max-width: 900px){.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-avatar{width:64px;height:64px;font-size:24px}}.fb-head-actions{display:flex;gap:8px;margin-left:auto}.fb-link{padding:0;border:none;background:none;font:inherit;font-size:13px;color:#1c4f9c;text-align:left;cursor:pointer}.fb-link:hover{text-decoration:underline}.fb-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}.fb-assurance{margin-bottom:12px;line-height:1.5}.fb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;margin-bottom:14px}.fb-card{display:flex;flex-direction:column;gap:5px;padding:11px 13px;border:1px solid var(--border);border-radius:10px;background:var(--panel);font:inherit;font-size:13px;color:var(--text);text-align:left;cursor:pointer}.fb-card:hover{border-color:#9fb3cc}.fb-card-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.fb-card-top .badge:last-child{margin-left:auto}.fb-waiting{color:#1f7a45;font-weight:600}.fb-kind,.fb-tag{display:inline-block;padding:1px 9px;border-radius:10px;font-size:11px;font-weight:700;white-space:nowrap}.fb-tag{background:#e8edf3;color:var(--navy-800);font-weight:600}.fb-kind.kind-suggestion{background:#e1ecfb;color:#1c4f9c}.fb-kind.kind-complaint{background:#fdecec;color:#a12b2b}.fb-kind.kind-request{background:#fff3cd;color:#7a5d10}.fb-kind.kind-thanks{background:#e3f5ea;color:#1f7a45}.fb-code-box{margin-bottom:14px;padding:14px 16px;border:2px solid #e0a526;border-radius:10px;background:#fffaf0;font-size:13px}.fb-code-box p{margin:6px 0 10px}.fb-code{display:inline-block;margin-bottom:10px;padding:8px 18px;border:1px dashed #c98a12;border-radius:8px;background:#fff;font-family:Consolas,Courier New,monospace;font-size:22px;font-weight:700;letter-spacing:.12em;-webkit-user-select:all;user-select:all}.fb-track{max-width:720px}.fb-track h3{margin:0 0 4px;font-size:15px}.fb-codes{list-style:none;margin:8px 0;padding:0}.fb-codes li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--border)}.fb-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fb-detail-head h3{margin:2px 0 6px;font-size:18px}.fb-tags,.fb-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.fb-steps{display:flex;flex-wrap:wrap;gap:4px;margin:14px 0;padding:0;list-style:none;counter-reset:step}.fb-steps li{position:relative;flex:1 1 110px;padding:7px 10px 7px 34px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;font-size:12px;color:var(--muted);counter-increment:step}.fb-steps li:before{content:counter(step);position:absolute;left:8px;top:50%;width:20px;height:20px;border-radius:50%;background:#d5dbe3;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;transform:translateY(-50%)}.fb-steps li.done{border-color:#b9e2c7;background:#f0f9f3;color:#1f7a45}.fb-steps li.done:before{content:"✓";background:#2e9e5b}.fb-steps li.current{border-color:var(--navy-700);background:#eef3fa;color:var(--navy-800);font-weight:700}.fb-steps li.current:before{background:var(--navy-700)}.fb-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:12px}.fb-facts div{display:flex;flex-direction:column;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;font-size:13px}.fb-facts span:first-child{font-size:11px;color:var(--muted)}.fb-body{margin:0 0 12px;padding:12px 14px;border-left:4px solid var(--navy-700);border-radius:6px;background:#f8fafc;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.fb-photos{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.fb-photos>button{padding:0;border:1px solid var(--border);border-radius:8px;background:none;overflow:hidden;cursor:zoom-in}.fb-photos img{display:block;width:96px;height:96px;object-fit:cover}.fb-photo-edit{position:relative;border:1px solid var(--border);border-radius:8px;overflow:hidden}.fb-photo-edit button{position:absolute;top:2px;right:2px;width:22px;height:22px;border:none;border-radius:50%;background:#0b1a2ebf;color:#fff;font-size:11px;cursor:pointer}.fb-zoom{display:block;max-width:100%;max-height:70vh;margin:0 auto}.fb-decision{margin-bottom:12px;padding:10px 14px;border:1px solid #b9e2c7;border-radius:8px;background:#f0f9f3;font-size:13px}.fb-decision>span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#1f7a45}.fb-decision p{margin:4px 0 0;white-space:pre-wrap}.fb-section{margin:16px 0 8px;font-size:13px;color:var(--navy-800)}.fb-thread{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;padding:0;list-style:none}.fb-thread li{display:flex;flex-direction:column;gap:2px;max-width:82%;padding:8px 12px;border-radius:10px;background:#eef3fa;font-size:13px}.fb-thread li.handler{align-self:flex-end;background:#e3f5ea}.fb-thread li.event{align-self:center;max-width:100%;padding:3px 12px;background:none;border:1px dashed var(--border);font-size:12px;color:var(--muted);text-align:center}.fb-thread-meta{font-size:11px;color:var(--muted)}.fb-thread-body{white-space:pre-wrap;overflow-wrap:anywhere}.fb-reply{display:flex;align-items:flex-end;gap:8px;margin-bottom:8px}.fb-reply textarea,.fb-actions textarea{flex:1 1 auto;width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font:inherit;font-size:13px;resize:vertical}.fb-actions{margin-top:8px;padding:4px 14px 14px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.fb-scores{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px}.fb-rating{display:flex;gap:4px;margin-bottom:8px}.fb-rating button{width:40px;height:40px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:20px;color:#c2c9d2;cursor:pointer}.fb-rating button.on{border-color:#e0a526;color:#e0a526}.fb-board-bar,.fb-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.fb-toolbar{justify-content:flex-start}.fb-board-bar select,.fb-toolbar select,.fb-toolbar input,.fb-track input{height:34px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#fff;font:inherit;font-size:13px}.fb-toolbar input{flex:1 1 240px}.fb-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px}.fb-idea{display:flex;gap:12px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--panel);font-size:13px}.fb-idea.done{border-color:#b9e2c7;background:#f7fcf9}.fb-vote{display:flex;flex-shrink:0;flex-direction:column;align-items:center;justify-content:center;width:52px;height:60px;border:1px solid var(--border);border-radius:10px;background:#fff;font:inherit;color:var(--muted);cursor:pointer}.fb-vote strong{font-size:16px;color:var(--navy-800)}.fb-vote:not(:disabled):hover,.fb-vote.on{border-color:var(--navy-700);background:#eef3fa;color:var(--navy-700)}.fb-vote:disabled{cursor:default;opacity:.6}.fb-idea-body{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0}.fb-idea-body p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.fb-idea-note{padding:6px 9px;border-radius:6px;background:#f0f9f3}.fb-table .badge+.badge{margin-left:4px}tr.fb-overdue td:first-child{box-shadow:inset 3px 0 #d64545}.fb-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:12px}.fb-stat{display:flex;flex-direction:column;padding:12px 14px;border:1px solid var(--border);border-left:4px solid #c7ced6;border-radius:10px;background:var(--panel)}.fb-stat strong{font-size:22px}.fb-stat span{font-size:12px;color:var(--muted)}.fb-stat.ok{border-left-color:#2e9e5b}.fb-stat.warn{border-left-color:#e0a526}.fb-stat.bad{border-left-color:#d64545}.fb-stat.bad strong{color:#a12b2b}.fb-bars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.fb-bars{margin:0}.fb-bars h3{margin:0 0 8px;font-size:14px}.fb-bar-row{display:grid;grid-template-columns:minmax(110px,.9fr) minmax(0,1.4fr) 34px;align-items:center;gap:8px;padding:4px 0;font-size:13px}.fb-bar{height:10px;border-radius:5px;background:#e8edf3;overflow:hidden}.fb-bar span{display:block;height:100%;border-radius:5px;background:var(--navy-700)}.fb-kind-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.fb-kind-option{padding:10px 6px;border:1px solid var(--border);border-radius:10px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--text);cursor:pointer}.fb-kind-option.active{border-width:2px}.fb-kind-option.active.kind-suggestion{border-color:#1c4f9c;background:#e1ecfb;color:#1c4f9c}.fb-kind-option.active.kind-complaint{border-color:#a12b2b;background:#fdecec;color:#a12b2b}.fb-kind-option.active.kind-request{border-color:#c98a12;background:#fff3cd;color:#7a5d10}.fb-kind-option.active.kind-thanks{border-color:#1f7a45;background:#e3f5ea;color:#1f7a45}.fb-options{display:flex;flex-wrap:wrap;gap:8px 22px;margin:10px 0}@media (max-width: 720px){.fb-kind-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-thread li{max-width:100%}.fb-reply{flex-direction:column;align-items:stretch}.fb-scores{grid-template-columns:minmax(0,1fr)}}:root{--navy-900: #0b1a2e;--navy-800: #112540;--navy-700: #1b3557;--bg: #f3f5f8;--panel: #ffffff;--text: #1c2633;--muted: #6b7786;--border: #dde3ea;--status-working: #2e9e5b;--status-leave: #2f6fd6;--status-sick: #e0a526;--status-absent: #d64545;--status-outside: #8a939e;font-family:Segoe UI,system-ui,-apple-system,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}.app-shell{display:flex;height:100vh;min-width:1100px}.sidebar{width:232px;flex-shrink:0;background:var(--navy-900);color:#e6edf5;display:flex;flex-direction:column;transition:width .2s ease;overflow:hidden}.sidebar.collapsed{width:68px}.sidebar-toggle{display:flex;align-items:center;gap:8px;margin:10px 12px 4px;padding:7px 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0d;color:#9fb3cc;font-size:12px;cursor:pointer;white-space:nowrap}.sidebar-toggle:hover{background:var(--navy-800);color:#e6edf5}.sidebar.collapsed .sidebar-toggle{justify-content:center;margin:10px 14px 4px;padding:7px 0}.sidebar-toggle-icon{font-size:16px;line-height:1}.sidebar-brand{padding:14px 16px;border-bottom:1px solid var(--navy-700)}.sidebar-logo{display:block;width:100%;height:auto;border-radius:6px}.sidebar-search{margin:6px 12px 2px;height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#ffffff0f;color:#e6edf5;font:inherit;font-size:13px;min-width:0}.sidebar-search::placeholder{color:#7f94b0}.sidebar-search:focus{outline:none;border-color:#e0a526}.sidebar-empty{margin:12px 20px;font-size:13px;color:#7f94b0}.sidebar nav{display:flex;flex-direction:column;padding:6px 0 14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}.nav-group{display:flex;flex-direction:column;flex-shrink:0}.nav-group+.nav-group{margin-top:2px}.nav-favorites{margin-bottom:4px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.08)}.nav-group-title{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:11px 14px 5px 20px;border:none;background:none;font:inherit;font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;text-align:left;line-height:1.35;color:#7f94b0}.nav-group-toggle{cursor:pointer}.nav-group-toggle:hover,.nav-group-toggle.has-active{color:#c9d6e6}.nav-group-toggle:focus-visible,.nav-item:focus-visible,.nav-star:focus-visible{outline:2px solid #e0a526;outline-offset:-2px}.nav-group-name{min-width:0;overflow-wrap:anywhere}.nav-group-chevron{flex-shrink:0;font-size:11px}.nav-row{display:flex;align-items:stretch;border-left:3px solid transparent}.nav-row:hover{background:var(--navy-800)}.nav-row.active{background:var(--navy-700);border-left-color:#e0a526}.nav-item{display:flex;flex:1 1 auto;align-items:center;gap:10px;min-width:0;background:none;border:none;color:inherit;text-align:left;padding:8px 6px 8px 17px;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}.nav-item.active{font-weight:600;color:#fff}.nav-label{overflow:hidden;text-overflow:ellipsis}.nav-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:26px;border-radius:6px;color:#9fb3cc}.nav-row:hover .nav-icon{color:#e6edf5}.nav-item.active .nav-icon{background:#e0a526;color:var(--navy-900)}.nav-star{flex-shrink:0;width:34px;border:none;background:none;color:#7f94b0;font-size:14px;cursor:pointer;opacity:0}.nav-row:hover .nav-star,.nav-star:focus-visible,.nav-star.on{opacity:1}.nav-star.on,.nav-star:hover{color:#e0a526}@media (hover: none){.nav-star{opacity:1}}.sidebar.collapsed .nav-group-title{visibility:hidden;height:0;padding:0;margin:6px 14px;border-top:1px solid rgba(255,255,255,.12)}.sidebar.collapsed .nav-group:first-child .nav-group-title{display:none}.sidebar.collapsed .nav-row{border-left-width:0}.sidebar.collapsed .nav-item{justify-content:center;gap:0;padding:8px 0}.sidebar.collapsed .nav-label,.sidebar.collapsed .sidebar-toggle-text{display:none}.sidebar.collapsed .sidebar-brand{padding:10px 8px}.app-main{flex:1;display:flex;flex-direction:column;min-width:0}.app-header{height:56px;background:var(--navy-800);color:#e6edf5;display:flex;align-items:center;gap:24px;padding:0 20px}.header-camp{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff14;font-weight:600;white-space:nowrap}.header-camp:before{content:"📍";font-size:12px}.header-language{height:30px;padding:0 8px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:var(--navy-700);color:#e6edf5;font-size:13px;cursor:pointer}.header-date{opacity:.85;font-size:14px}.header-right{margin-left:auto;display:flex;gap:16px;align-items:center;font-size:14px}.global-search{position:relative;margin-left:12px}.global-search input{width:280px;height:32px;border:none;border-radius:6px;padding:0 10px;font-size:13px}.search-results,.bell-panel{position:absolute;top:38px;background:#fff;color:#1c2633;border-radius:8px;box-shadow:0 10px 28px #00000040;z-index:30;list-style:none;margin:0;padding:6px;max-height:360px;overflow-y:auto}.search-results{left:0;width:360px}.search-results li button,.bell-panel li button{display:flex;flex-direction:column;align-items:flex-start;width:100%;background:none;border:none;text-align:left;padding:7px 8px;border-radius:6px;cursor:pointer;color:inherit}.search-results li button:hover,.bell-panel li button:hover{background:#eef4fb}.search-title{font-weight:600;font-size:13px}.search-sub{font-size:12px;color:#6b7786}.bell-wrap{position:relative}.bell-count{position:absolute;top:-4px;right:-6px;background:#d64545;color:#fff;border-radius:9px;font-size:10px;padding:1px 5px;font-weight:700}.bell-panel{right:0;width:340px;top:34px}.bell-panel li.unread button{background:#f1f7ff}.bell-head{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 6px}.header-user-button{background:none;border:none;color:inherit;cursor:pointer;font-size:14px;padding:0}.app-content{padding:24px;overflow-y:auto;flex:1}.page-title{font-size:22px;margin:0 0 16px}.muted{color:var(--muted)}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.kpi-card{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:16px}.kpi-label{font-size:12px;color:var(--muted);letter-spacing:.04em}.kpi-value{font-size:28px;font-weight:700;margin-top:6px}.camp-chip-wrap{position:relative;flex-shrink:0}.camp-chip{max-width:100%;font:inherit;font-weight:600;color:inherit;cursor:pointer}.camp-chip:hover{background:#ffffff29}.camp-chip-name,.camp-chip-camp{max-width:200px;overflow:hidden;text-overflow:ellipsis}.camp-chip-camp{font-weight:400;opacity:.9}.camp-chip-weather{padding-left:8px;border-left:1px solid rgba(255,255,255,.25);font-weight:400}.camp-chip-weather.dusty{color:#f5c451}.camp-chip-caret{font-size:11px;opacity:.8}.camp-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:60;width:340px;max-width:calc(100vw - 24px);padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--text);box-shadow:0 12px 32px #0b1a2e40;font-size:13px;font-weight:400}.camp-panel-title{margin:4px 0 6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.camp-panel-sub{text-transform:none;letter-spacing:0;font-weight:400}.camp-options{display:flex;flex-direction:column;gap:4px}.camp-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;font:inherit;color:var(--text);text-align:left;cursor:pointer}.camp-option:hover{border-color:#9fb3cc}.camp-option.active{border-color:var(--navy-700);background:#e9eff7;font-weight:600}.camp-panel-note{margin:6px 0 10px;font-size:12px;color:var(--muted)}.camp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}.camp-stats div{display:flex;flex-direction:column;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.camp-stats strong{font-size:18px;color:var(--navy-800)}.camp-stats span{font-size:11px;color:var(--muted)}.camp-stats .bad strong{color:#a12b2b}.camp-stats .warn strong{color:#9a6b00}.camp-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;padding:7px 0;border-top:1px solid var(--border)}.camp-line>span:first-child{color:var(--muted)}.camp-dust{margin-top:6px;padding:7px 10px;border-radius:8px;background:#fff3cd;color:#7a5d10;font-size:12px}.header-date{display:flex;flex-direction:column;line-height:1.25;white-space:nowrap}.header-clocks{display:flex;gap:10px;font-size:11px;opacity:.9}@media (max-width: 1500px){.camp-chip-camp{max-width:130px}}@media (min-width: 901px) and (max-width: 1450px){.app-header{gap:14px;padding:0 14px}.global-search{margin-left:0}.global-search input{width:190px}.header-right{gap:10px}}@media (min-width: 901px) and (max-width: 1300px){.header-date>span:first-child{display:none}.header-clocks{flex-direction:column;gap:0}.camp-chip-name,.camp-chip-camp{max-width:120px}}.bell-list{list-style:none;margin:0;padding:0}.bell-row{position:relative;margin-bottom:2px;border-radius:6px;overflow:hidden}.bell-under{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:center;padding:0 14px;font-size:12px;font-weight:700;color:#fff}.bell-row.dragging .bell-under{display:flex}.bell-under.delete{justify-content:flex-end;background:#d64545}.bell-under.pin{justify-content:flex-start;background:#c98a12}.bell-slide{position:relative;display:flex;align-items:stretch;background:#fff;touch-action:pan-y;transition:transform .15s ease}.bell-row.dragging .bell-slide{transition:none;-webkit-user-select:none;user-select:none}.bell-row.unread .bell-slide{background:#f1f7ff}.bell-row.pinned .bell-slide{background:#fff9e8;box-shadow:inset 3px 0 #e0a526}.bell-panel .bell-main{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;min-width:0;padding:7px 8px;border:none;background:none;color:inherit;text-align:left;cursor:pointer}.bell-slide:hover{background:#eef4fb}.bell-actions{display:flex;flex-shrink:0;align-items:center;gap:2px;padding-right:4px}.bell-panel .bell-action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:6px;background:none;font-size:13px;color:#6b7786;cursor:pointer;opacity:.45}.bell-slide:hover .bell-action,.bell-panel .bell-action:focus-visible,.bell-panel .bell-action.on{opacity:1}.bell-panel .bell-action:hover{background:#dfe8f3}.bell-panel .bell-action.danger:hover{background:#fdecec;color:#a12b2b}.bell-hint{margin:6px 8px 2px;font-size:11px;color:#8a939e}.bell-panel .bell-clear{display:block;width:100%;margin-top:4px;padding:7px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:12px;color:#a12b2b;cursor:pointer}@media (hover: none){.bell-panel .bell-action{display:inline-flex;align-items:center;justify-content:center;opacity:1}}.bell-panel li.bell-row .bell-main,.bell-panel li.bell-row .bell-main:hover{background:none}.center-screen{height:100vh;display:flex;align-items:center;justify-content:center}.login-screen{position:relative;height:100vh;overflow:hidden;background:var(--navy-900)}.login-photo{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:left center}.login-photo:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to right,#0b1a2e00 55%,#0b1a2e73)}.login-side{position:relative;height:100%;display:flex;align-items:center;justify-content:flex-end;padding:24px clamp(24px,7vw,130px)}.login-card{width:360px;background:var(--panel);border-radius:10px;padding:32px;box-shadow:0 18px 48px #00000073;display:flex;flex-direction:column;gap:14px}.login-brand{display:none;margin:-32px -32px 8px;padding:18px 24px 16px;background:#000;border-radius:10px 10px 0 0;border-bottom:3px solid #c9a23a;justify-content:center}.login-brand img{display:block;width:230px;max-width:100%;height:auto}.login-title{font-weight:700;letter-spacing:.08em;color:var(--navy-900);text-align:center}.login-subtitle{margin:0 0 6px;text-align:center;color:var(--muted);font-size:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}.field input{height:38px;padding:0 10px;border:1px solid var(--border);border-radius:6px;font-size:14px;color:var(--text)}.field input:focus{outline:2px solid #4fa3ff;outline-offset:-1px}.primary-button{height:40px;border:none;border-radius:6px;background:var(--navy-700);color:#fff;font-size:14px;font-weight:600;cursor:pointer}.primary-button:disabled{opacity:.6;cursor:default}.header-button{background:transparent;border:1px solid #4a6585;color:#e6edf5;border-radius:5px;padding:4px 12px;cursor:pointer;font-size:13px}.header-button:hover{background:var(--navy-700)}.form-error{background:#fdecec;color:#a12b2b;border:1px solid #f3c2c2;border-radius:6px;padding:8px 10px;font-size:13px}.scope-notice{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:12px;background:#eef4fc;border:1px solid #c9dbf3;color:#1b3557;border-radius:6px;padding:9px 12px;font-size:13px}.scope-notice-hint{flex-basis:100%;font-size:12px;color:#4a5665}.notice{margin-top:16px;background:#fff7e0;border:1px solid #f0dca0;color:#7a5d10;border-radius:6px;padding:10px 12px;font-size:14px}.page-header{display:flex;align-items:baseline;gap:16px;margin-bottom:16px}.page-header .page-title{margin:0}.kpi-card{border-left:4px solid var(--navy-700)}.kpi-working{border-left-color:var(--status-working)}.kpi-leave{border-left-color:var(--status-leave)}.kpi-sick{border-left-color:var(--status-sick)}.kpi-absent{border-left-color:var(--status-absent)}.kpi-outside{border-left-color:var(--status-outside)}.single-tab-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:20px;background:#0b1a2ee0}.single-tab-box{max-width:440px;padding:26px 28px;border-radius:12px;background:#fff;text-align:center;box-shadow:0 18px 50px #00000059}.single-tab-box h2{margin:0 0 10px;font-size:19px}.single-tab-box p{margin:0 0 18px;color:#4a5665;line-height:1.5}.danger-button{padding:8px 16px;border:none;border-radius:6px;background:#c0392b;color:#fff;font:inherit;font-weight:600;cursor:pointer}.danger-button:hover:not(:disabled){background:#a93226}.danger-button:disabled{opacity:.5;cursor:not-allowed}.delete-warning{padding:12px 14px;margin-bottom:12px;border:1px solid #f1b5b5;border-radius:8px;background:#fdf1f1}.delete-warning p{margin:6px 0 0}.modal .modal-header h2{margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.modal-tools{display:inline-flex;flex-shrink:0;align-items:center;gap:2px;margin:0 4px 0 10px}.modal-header .icon-button{flex-shrink:0;min-width:30px;height:30px;border-radius:6px;line-height:1}.modal-header .icon-button:hover{background:#ffffff24}.modal-body{flex:1 1 auto;min-height:0}@media (min-width: 901px){.modal-backdrop>.modal{resize:both;overflow:hidden;min-width:340px;min-height:150px;max-width:98vw;max-height:96vh}.modal-backdrop[data-max]>.modal{width:98vw!important;height:96vh!important;resize:none}}.modal-backdrop[data-min]{align-items:flex-end;justify-content:flex-end;padding:0 18px 14px;background:transparent;pointer-events:none}.modal-backdrop[data-min]>.modal{width:min(360px,92vw)!important;height:auto!important;min-height:0;resize:none;pointer-events:auto;border-radius:10px;box-shadow:0 8px 28px #0b1a2e73}.modal-backdrop[data-min]>.modal>:not(.modal-header){display:none}.modal-backdrop[data-min] .modal-header{border-radius:10px;padding:10px 14px;cursor:pointer}.modal-backdrop[data-min] .modal-header h2{font-size:14px;white-space:nowrap}.modal-backdrop[data-min] .modal-tool-max{display:none}@media (max-width: 900px){.modal-tool-max{display:none}body .modal-backdrop[data-min]>.modal{border-radius:10px}}.notice-bar{display:flex;flex-direction:column;flex-shrink:0}.notice-strip{display:flex;align-items:center;gap:10px;padding:8px 16px;border-bottom:1px solid rgba(0,0,0,.12);background:#dbeafe;color:#153a73;font-size:13px;line-height:1.35}.notice-strip.level-warning{background:#fde9a8;color:#5c4300}.notice-strip.level-critical{background:#c62f2f;color:#fff}.notice-strip.level-maintenance{background:#1b3557;color:#fff;box-shadow:inset 0 -3px #e0a526}.notice-icon{flex-shrink:0;font-size:16px}.notice-text{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}.notice-level{padding:1px 8px;border-radius:10px;background:#ffffff8c;color:inherit;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.notice-strip.level-critical .notice-level,.notice-strip.level-maintenance .notice-level{background:#fff3}.notice-body{opacity:.92;overflow-wrap:anywhere}.notice-time{flex-shrink:0;padding:2px 10px;border-radius:10px;background:#ffffff80;font-weight:700;white-space:nowrap}.notice-strip.level-critical .notice-time,.notice-strip.level-maintenance .notice-time{background:#ffffff2e}.notice-close{flex-shrink:0;width:28px;height:28px;border:none;border-radius:6px;background:none;color:inherit;font-size:14px;cursor:pointer;opacity:.8}.notice-close:hover{background:#0000001f;opacity:1}.notice-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.notice-wide{grid-column:span 2}.notice-full{grid-column:1 / -1}.notice-checks{display:flex;flex-wrap:wrap;gap:6px 22px;margin:10px 0}.notice-preview{display:flex;flex-direction:column;gap:4px;margin:8px 0}.notice-preview .notice-strip{border:1px solid rgba(0,0,0,.12);border-radius:8px}@media (max-width: 900px){.notice-strip{flex-wrap:wrap;padding:8px 12px}.notice-form-grid{grid-template-columns:minmax(0,1fr)}.notice-wide{grid-column:auto}}.notice-audience{margin-top:12px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.notice-audience-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:8px;font-size:13px}.notice-audience-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:8px}.notice-audience-bar input,.notice-history-head input{height:32px;min-width:200px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px}.notice-audience-chips{max-height:170px;margin-bottom:6px}.notice-history-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.notice-history-head h3{margin:0}.notice-form{scroll-margin-top:12px}.push-prompt{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 16px;border-bottom:1px solid #c9d6e6;background:#eef4fb;color:#1b3557;font-size:13px;line-height:1.35}.push-prompt-text{flex:1 1 260px;min-width:0}.push-prompt-error{color:#a12b2b;font-weight:600}.push-prompt-main,.push-prompt-later{flex-shrink:0;height:32px;padding:0 14px;border-radius:8px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.push-prompt-main{border:1px solid var(--navy-700);background:var(--navy-700);color:#fff}.push-prompt-main:disabled{opacity:.6;cursor:default}.push-prompt-later{border:1px solid #c9d6e6;background:#fff;color:#1b3557}.push-overview-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:8px 0;font-size:13px}@media print{.sidebar,.sidebar-backdrop,.app-header,.notice-bar,.push-prompt,.pwa-status,.no-print{display:none!important}html,body,.app-shell,.app-main,.app-content{display:block!important;height:auto!important;min-width:0!important;overflow:visible!important;background:#fff!important}.app-content{padding:0!important}.table-wrapper{overflow:visible!important}.panel,.data-table{box-shadow:none!important}.data-table th{color:#000!important;background:#e8edf3!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}tr,.fb-card,.fb-idea{break-inside:avoid}}.notice-log-panel{margin-bottom:16px}.notice-log-panel .notice-history-head{margin-top:0}.notice-log-counts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:8px 0 10px;font-size:13px}.notice-log-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}.notice-log-filters input,.notice-log-filters select{height:32px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:#fff;font:inherit;font-size:13px}.notice-log-filters input[type=search]{flex:1 1 220px;min-width:180px;max-width:340px}.notice-log-date{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.notice-log-text{min-width:220px;overflow-wrap:anywhere}.print-only{display:none}@media print{.print-only{display:block!important}body.print-notice-log .app-content section>:not(.notice-log-panel){display:none!important}body.print-notice-log .notice-log-panel{padding:0!important;border:none!important}.notice-log-table{font-size:11px}.notice-log-table .badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.panel .data-table.notice-log-table th,.panel .data-table.notice-log-table td{white-space:normal;vertical-align:top}.notice-log-table .badge,.notice-log-table .org-actions{white-space:nowrap}.notice-log-table .org-actions{flex-direction:column;align-items:flex-start}.thumb{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1px solid var(--border);display:inline-block;vertical-align:middle}.thumb-empty{display:inline-flex;align-items:center;justify-content:center;background:var(--navy-700);color:#fff;font-size:13px;font-weight:700}.primary-button.compact,.secondary-button{padding:0 14px;height:36px;font-size:13px}.primary-button.compact{margin-left:auto;width:auto}.secondary-button{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:6px;cursor:pointer}.secondary-button:disabled{opacity:.5;cursor:default}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.toolbar select,.toolbar input{height:36px;border:1px solid var(--border);border-radius:6px;padding:0 10px;font-size:13px;background:var(--panel)}.search-input{flex:1 1 320px}.table-wrapper{background:var(--panel);border:1px solid var(--border);border-radius:8px;overflow:auto;max-height:calc(100vh - 230px)}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th,.data-table td{padding:9px 12px;text-align:left;border-bottom:1px solid var(--border);white-space:nowrap}.data-table th{position:sticky;top:0;background:var(--navy-800);color:#e6edf5;font-weight:600;z-index:1}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#eef4fb}.empty-cell{text-align:center;color:var(--muted);padding:24px}.badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:600}.badge-active{background:#e3f5ea;color:#1f7a45}.badge-passive{background:#eceff3;color:#6b7786}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1a2e8c;display:flex;align-items:center;justify-content:center;z-index:10}.modal{width:min(980px,94vw);max-height:92vh;background:var(--panel);border-radius:10px;display:flex;flex-direction:column;box-shadow:0 16px 40px #00000059}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:var(--navy-800);color:#e6edf5;border-radius:10px 10px 0 0}.modal-header h2{margin:0;font-size:17px}.icon-button{background:none;border:none;color:#e6edf5;font-size:16px;cursor:pointer}.modal-body{padding:16px 20px;overflow-y:auto}.form-fieldset{border:none;margin:0;padding:0;min-width:0}.form-section-title{font-size:13px;color:var(--navy-700);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--border);padding-bottom:4px;margin:16px 0 10px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}.form-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.form-field input,.form-field select{height:34px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px;color:var(--text);background:#fff}.form-field input:disabled,.form-field select:disabled{background:#f4f6f8}.required-mark{color:#d64545;font-style:normal}.checkbox-field{flex-direction:row;align-items:center;gap:8px;margin-top:18px}.quick-add{display:flex;gap:6px;margin-top:4px;flex-wrap:wrap}.quick-add input{flex:1;height:30px!important}.quick-add .secondary-button{height:30px;padding:0 10px}.quick-add-error{width:100%;color:#a12b2b;font-size:12px}.photo-row{display:flex;align-items:center;gap:10px}.photo-preview,.photo-placeholder{width:64px;height:64px;border-radius:6px;object-fit:cover;border:1px solid var(--border)}.photo-placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted);background:#f4f6f8}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:12px;border-top:1px solid var(--border)}@media (max-width: 1200px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.date-picker{display:flex;align-items:center;gap:6px}.date-picker input[type=date]{height:36px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:13px}.status-summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.summary-total{font-weight:700;margin-right:6px}.summary-chip,.status-button,.status-select{border-radius:6px;font-size:12px;font-weight:600;padding:4px 10px;border:1px solid transparent;color:#fff}.status-working{background:var(--status-working)}.status-leave{background:var(--status-leave)}.status-sick{background:var(--status-sick);color:#3b2c00}.status-absent{background:var(--status-absent)}.status-outside{background:var(--status-outside)}.status-duty{background:#7a4fd6}.status-off{background:#c7ced6;color:#1c2633}.action-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.action-bar .secondary-button{height:34px}.status-button{height:34px;cursor:pointer}.status-button:disabled{opacity:.5;cursor:default}.selection-count{font-weight:600;color:var(--navy-700);margin-right:4px}.status-select{height:28px;cursor:pointer;min-width:150px}.status-select:disabled{opacity:.85;cursor:default}.status-select option{background:#fff;color:#1c2633}.time-input,.note-input{height:28px;border:1px solid var(--border);border-radius:5px;padding:0 6px;font-size:12px;background:#fff}.note-input{width:220px}.attendance-table-wrapper{max-height:calc(100vh - 340px)}.col-check{width:36px;text-align:center}.focused-row td{background:#e8f1fc}.info-message{background:#e7f6ec;border:1px solid #b9e2c7;color:#1f6b3d;border-radius:6px;padding:8px 10px;font-size:13px;margin-bottom:10px}.shortcut-help{margin-top:10px;font-size:12px}.badge-pending{background:#fff3cd;color:#7a5d10}.badge-approved{background:#e3f5ea;color:#1f7a45}.badge-rejected{background:#fdecec;color:#a12b2b}.mini-button{height:26px;padding:0 8px;border-radius:5px;border:1px solid transparent;font-size:12px;font-weight:600;cursor:pointer;margin-right:4px}.mini-approve{background:#e3f5ea;color:#1f7a45;border-color:#b9e2c7}.mini-reject{background:#fdecec;color:#a12b2b;border-color:#f3c2c2}.action-cell{white-space:nowrap}.modal-small{width:min(640px,94vw)}.alert-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.alert-box{background:var(--panel);border:1px solid var(--border);border-left:4px solid var(--status-sick);border-radius:8px;padding:12px 14px}.alert-box-danger{border-left-color:var(--status-absent)}.alert-box h3{margin:0 0 8px;font-size:14px}.alert-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:180px;overflow-y:auto}.alert-item{font-size:13px;display:flex;flex-wrap:wrap;gap:4px}.alert-item-danger .alert-name{color:#a12b2b}.alert-name{font-weight:600}.alert-date{width:100%;color:var(--muted);font-size:12px}.alert-empty{font-size:13px;margin:0}.header-menu-button,.sidebar-backdrop{display:none}.pwa-status{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:60;display:flex;flex-direction:column;gap:8px;width:min(460px,calc(100vw - 24px));transform:translate(-50%)}.pwa-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:10px;background:#112540;color:#e6edf5;font-size:14px;box-shadow:0 8px 24px #0000004d}.pwa-strip button{flex-shrink:0;min-height:36px;padding:0 14px;border:none;border-radius:8px;background:#e0a526;color:#0b1a2e;font-size:13px;font-weight:700;cursor:pointer}.pwa-offline{justify-content:flex-start;background:#7a1f1f}.pwa-dot{width:10px;height:10px;flex-shrink:0;border-radius:50%;background:#ff6b6b}@media (max-width: 900px){body .app-shell{min-width:0;height:100dvh}body .center-screen,body .login-screen{height:100dvh}body .login-photo{background-position:center}body .login-photo:after{background:linear-gradient(to bottom,#0b1a2e80,#0b1a2ecc)}body .login-side{justify-content:center;padding:16px}body .login-brand{display:flex}body .login-card{width:min(360px,92vw);padding:24px 20px}body .login-brand{margin:-24px -20px 6px;padding:14px 20px 12px}body .login-brand img{width:190px}body .sidebar{position:fixed;top:0;bottom:0;left:0;z-index:50;width:min(290px,84vw);overflow-y:auto;transform:translate(-100%);transition:transform .2s ease}body .sidebar.mobile-open{transform:none;box-shadow:0 0 40px #00000080}body .sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0b1a2e8c}body .sidebar-toggle{display:none}body .sidebar-brand{padding:12px 16px}body .sidebar-logo{width:62%;margin:0 auto}body .sidebar nav{overflow-y:visible}body .nav-item{padding-top:12px;padding-bottom:12px;font-size:15px}body .nav-group-title{padding-top:14px;padding-bottom:8px;font-size:12px}body .nav-star{width:44px;font-size:17px}body .app-header{height:auto;min-height:56px;flex-wrap:wrap;gap:8px 10px;padding:8px 12px}body .header-menu-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#ffffff14;color:#e6edf5;font-size:20px;line-height:1;cursor:pointer}body .header-date,body .header-user-button{display:none}body .header-camp{flex:0 1 auto;min-width:0;max-width:38vw;overflow:hidden;text-overflow:ellipsis;display:block;padding:6px 10px;font-size:13px}body .header-right{gap:8px}body .camp-chip-wrap{flex-shrink:1;min-width:0}body .camp-chip{display:inline-flex;max-width:46vw}body .camp-chip-sep,body .camp-chip-name{display:none}body .header-language{height:38px}body .header-bell{height:38px;min-width:38px}body .header-button{height:38px;padding:0 10px}body .global-search{order:10;flex:1 1 100%;margin-left:0}body .global-search input{width:100%;height:40px;font-size:16px}body .search-results{width:100%;top:44px}body .bell-panel{position:fixed;top:60px;left:8px;right:8px;width:auto;max-height:70dvh}body .app-content{padding:14px 12px 28px}body .page-header{flex-wrap:wrap;align-items:center;gap:8px}body .page-title{font-size:19px}body .table-wrapper{max-height:none;overflow-x:auto;-webkit-overflow-scrolling:touch}body .data-table th,body .data-table td{padding:10px}body .app-content input:not([type=checkbox]):not([type=radio]),body .app-content select,body .modal input:not([type=checkbox]):not([type=radio]),body .modal select,body .login-card input{min-height:42px;max-width:100%;font-size:16px}body .app-content textarea,body .modal textarea{max-width:100%;font-size:16px}body .app-content button,body .modal button{min-height:40px}body .app-content input[type=checkbox],body .modal input[type=checkbox]{width:20px;height:20px}body .mini-button{height:auto;padding:0 12px;margin-bottom:4px}body .inline-form>label,body .inline-form>input,body .inline-form>select,body .toolbar>input,body .toolbar>select{flex:1 1 150px;min-width:0!important}body .inline-form label>input,body .inline-form label>select{width:100%;min-width:0!important}body .inline-form>.primary-button,body .inline-form>.secondary-button,body .toolbar>button{flex:1 1 auto}body .primary-button.compact{margin-left:0}body .form-grid{grid-template-columns:1fr!important}body .modal-backdrop{align-items:stretch;justify-content:stretch}body .modal,body .modal-small,body .modal-wide{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}body .modal-header{border-radius:0;padding:12px 14px}body .modal-body{padding:14px;flex:1}body .alert-panel,body .chart-grid,body .home-grid,body .building-grid{grid-template-columns:minmax(0,1fr)}body .permission-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}body .dash-hero{padding:18px 16px}body .dash-hero-art{width:100%;opacity:.28}body .dash-hero-name{font-size:22px}body .range-toggle{max-width:100%;flex-wrap:wrap}}
