:root{color-scheme:light;--bg: #fef6f7;--bg-soft: rgba(255, 255, 255, .86);--panel: rgba(255, 255, 255, .82);--panel-strong: rgba(255, 255, 255, .96);--line: rgba(108, 116, 146, .14);--line-strong: rgba(108, 116, 146, .26);--text: #242229;--muted: #797684;--brand: #ff7f63;--brand-soft: rgba(255, 127, 99, .2);--accent: #ff8f68;--accent-soft: rgba(255, 143, 104, .22);--success: #3aa89b;--success-soft: rgba(58, 168, 155, .18);--danger: #ff6489;--danger-soft: rgba(255, 100, 137, .18);--shadow: 0 24px 72px rgba(129, 139, 176, .18);font-family:Be Vietnam Pro,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:linear-gradient(110deg,#fcd0d4,#e2f5fa 45%,#8de2ff);color:var(--text);background-attachment:fixed}button,input,select,textarea{font:inherit}button{border:0}.page-shell{position:relative;min-height:100vh;overflow:hidden}.page-frame{position:relative;z-index:2;width:min(1380px,calc(100vw - 32px));margin:0 auto;padding:28px 0 40px}.bg-glow{position:fixed;width:34rem;height:34rem;border-radius:999px;filter:blur(48px);opacity:.45;pointer-events:none;z-index:0}.bg-glow-left{left:-8rem;top:-6rem;background:#f1b0c199}.bg-glow-right{right:-8rem;top:18rem;background:#6bd7f794}.bg-grid{position:fixed;inset:0;background-image:linear-gradient(rgba(144,154,180,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(144,154,180,.08) 1px,transparent 1px);background-size:40px 40px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.34),transparent 82%);mask-image:linear-gradient(180deg,rgba(0,0,0,.34),transparent 82%);pointer-events:none;z-index:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px;flex-wrap:wrap}.brand-block{max-width:740px}.eyebrow{display:inline-flex;margin-bottom:10px;font-size:12px;line-height:1;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}h1,h2,h3{margin:0;font-family:Space Grotesk,sans-serif;letter-spacing:-.04em}h1{font-size:clamp(2.6rem,5vw,4.9rem);line-height:.94}h1 em{display:block;font-family:"Instrument Serif",serif;font-style:italic;font-weight:400}h2{font-size:clamp(1.8rem,2.8vw,2.75rem)}h3{font-size:1.15rem}.hero-copy,.section-heading p,.helper-text,.timeline-item p,.timeline-item span,.metric-card p,.field span,.alert-badge,.identity-card span{color:var(--muted)}.hero-copy{max-width:58ch;margin:14px 0 0;font-size:1rem;line-height:1.65}.topbar-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;width:100%}.segmented{display:inline-flex;flex-wrap:wrap;padding:6px;border-radius:999px;border:1px solid var(--line);background:#ffffff85;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.segmented button{min-height:40px;padding:0 18px;border-radius:999px;background:transparent;color:var(--muted);cursor:pointer}.segmented button.is-active{background:#ffffffeb;color:var(--text);box-shadow:0 10px 24px #a7afd629}.identity-card,.metric-card,.glass-card,.hero-panel,.auth-card{border:1px solid var(--line);box-shadow:var(--shadow)}.identity-card{display:grid;gap:2px;min-width:180px;padding:14px 16px;border-radius:20px;background:#ffffffd6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.identity-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em}.ghost-button,.primary-button,.success-button{min-height:44px;padding:0 18px;border-radius:14px;cursor:pointer;transition:transform .16s ease,opacity .16s ease,background .16s ease}.ghost-button:hover,.primary-button:hover,.success-button:hover{transform:translateY(-1px)}.ghost-button{border:1px solid var(--line);background:#ffffffb8;color:var(--text)}.ghost-button-danger{color:var(--danger)}.primary-button{background:linear-gradient(135deg,#ff9477,#ff746f);color:#fff;box-shadow:0 18px 34px #ff7f6357}.success-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 18px 34px #10b98157}.stack-xl,.stack-lg{display:grid}.stack-xl{gap:18px}.stack-lg{gap:16px}.hero-panel,.glass-card,.auth-card{border-radius:32px;background:linear-gradient(180deg,#ffffffe6,#ffffffb8);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.hero-panel,.glass-card{padding:24px}.center-panel{display:grid;place-items:center;gap:10px;min-height:360px;text-align:center}.loading-dot{width:18px;height:18px;border-radius:999px;background:linear-gradient(135deg,#ff9a76,#72d6ff);box-shadow:0 0 0 10px #ff9a7624}.login-layout{display:flex;justify-content:center;align-items:center;min-height:70vh}.login-hero{min-height:480px;align-content:space-between}.hero-grid,.metrics-grid{display:grid;gap:14px}.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:22px}.metric-card{padding:18px;border-radius:22px;background:#ffffffeb}.metric-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.metric-card strong{display:block;margin-top:10px;font-size:1.35rem;line-height:1.15}.metric-card p{margin:10px 0 0;font-size:.92rem;line-height:1.5}.auth-card{display:grid;align-content:start;gap:14px;padding:26px;background:#ffffffe6;width:100%;max-width:380px}.field{display:grid;gap:8px}.field span{font-size:.9rem}.field input,.field select,.field textarea,.compact-form input,.compact-form select,.bulk-form textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:#fffffff0;color:var(--text);outline:none}.field textarea,.bulk-form textarea{min-height:136px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.compact-form input:focus,.compact-form select:focus,.bulk-form textarea:focus{border-color:#ff7f6375;box-shadow:0 0 0 4px #ff7f631f}.form-error{margin:0;color:var(--danger);font-size:.94rem}.hero-panel-header,.filter-row,.section-heading,.button-row,.row-actions,.chip-row,.status-block{display:flex}.hero-panel-header,.filter-row,.button-row,.row-actions{gap:12px;flex-wrap:wrap}.hero-panel-header{justify-content:space-between;align-items:flex-start}.filter-row{align-items:end}.field.compact{min-width:132px}.content-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);gap:18px}.workbook-grid{grid-template-columns:1fr 1fr}.entry-grid{align-items:start}.entry-sheet-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px}.entry-sheet-panel{width:100%;min-width:0;justify-self:stretch}.entry-sheet-panel .sheet-wrap{width:100%}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.accent-card{background:linear-gradient(135deg,#fff4f6f5,#effbfff0)}.status-block{flex-direction:column;align-items:flex-start;gap:10px;padding-top:14px}.status-block+.status-block{border-top:1px solid var(--line);margin-top:14px}.chip-row{gap:8px;flex-wrap:wrap}.status-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#ffffffd9;font-size:.86rem}.status-chip.missing{border-color:#ff6f9138;background:var(--danger-soft);color:var(--danger)}.status-chip.low{border-color:#ff9a763d;background:var(--accent-soft);color:#c95c3d}.status-chip.good{border-color:#2c9d8f33;background:var(--success-soft);color:var(--success)}.table-shell{overflow:auto;border:1px solid var(--line);border-radius:22px;background:#ffffffe6}.sheet-wrap{margin-top:20px;overflow:auto;border:1px solid var(--line);border-radius:22px;background:#fffffff0}.sheet-table,.sheet-detail-table{width:100%;min-width:0;table-layout:fixed}.entry-day-table>thead>tr>th:nth-child(1){width:16%}.entry-day-table>thead>tr>th:nth-child(2),.entry-day-table>thead>tr>th:nth-child(5),.entry-day-table>thead>tr>th:nth-child(6){width:10%}.entry-day-table>thead>tr>th:nth-child(3){width:14%}.entry-day-table>thead>tr>th:nth-child(4){width:30%}table.entry-record-table>thead>tr>th:nth-child(1){width:22%}table.entry-record-table>thead>tr>th:nth-child(2),table.entry-record-table>thead>tr>th:nth-child(10){width:7%}table.entry-record-table>thead>tr>th:nth-child(3),table.entry-record-table>thead>tr>th:nth-child(4),table.entry-record-table>thead>tr>th:nth-child(9){width:11%}table.entry-record-table>thead>tr>th:nth-child(5),table.entry-record-table>thead>tr>th:nth-child(6),table.entry-record-table>thead>tr>th:nth-child(7),table.entry-record-table>thead>tr>th:nth-child(8){width:8%}.sheet-table>thead>tr>th,.sheet-detail-table>thead>tr>th{padding:10px 8px;white-space:normal}.sheet-table>tbody>tr>td,.sheet-detail-table>tbody>tr>td{padding:10px 8px;white-space:normal;vertical-align:top}.sheet-table>thead>tr>th:nth-child(1){width:9%}.sheet-table>thead>tr>th:nth-child(2){width:18%}.sheet-table>thead>tr>th:nth-child(3),.sheet-table>thead>tr>th:nth-child(13){width:5%}.sheet-table>thead>tr>th:nth-child(4),.sheet-table>thead>tr>th:nth-child(5),.sheet-table>thead>tr>th:nth-child(10){width:8.5%}.sheet-table>thead>tr>th:nth-child(6),.sheet-table>thead>tr>th:nth-child(11),.sheet-table>thead>tr>th:nth-child(12){width:6%}.sheet-table>thead>tr>th:nth-child(7),.sheet-table>thead>tr>th:nth-child(8),.sheet-table>thead>tr>th:nth-child(9){width:7%}.sheet-detail-table>thead>tr>th:nth-child(1){width:10%}.sheet-detail-table>thead>tr>th:nth-child(2){width:20%}.sheet-detail-table>thead>tr>th:nth-child(3){width:5%}.sheet-detail-table>thead>tr>th:nth-child(4),.sheet-detail-table>thead>tr>th:nth-child(5),.sheet-detail-table>thead>tr>th:nth-child(11){width:9%}.sheet-detail-table>thead>tr>th:nth-child(6),.sheet-detail-table>thead>tr>th:nth-child(10){width:6%}.sheet-detail-table>thead>tr>th:nth-child(7),.sheet-detail-table>thead>tr>th:nth-child(8),.sheet-detail-table>thead>tr>th:nth-child(9){width:7%}.sheet-table thead th{position:sticky;top:0;z-index:1}.sheet-input{width:100%;min-width:0;min-height:34px;padding:6px 7px;border:1px solid transparent;border-radius:10px;background:#fffffff5;color:var(--text);font-size:.88rem;outline:none}.owner-select{width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fffffff0;color:var(--text)}.sheet-input:focus{border-color:#ff7f6375;box-shadow:0 0 0 3px #ff7f631a}.sheet-note-input{min-width:0}.sheet-time-field{display:flex;align-items:center;gap:4px;min-width:0}.sheet-time-field .sheet-input{min-width:0}.sheet-task-cell{min-width:0;max-width:190px;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.sheet-task-select{margin-bottom:5px;overflow:hidden;text-overflow:ellipsis}.sheet-task-preview{display:block;color:var(--muted);font-size:.78rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.sheet-readonly{color:var(--muted);font-variant-numeric:tabular-nums}.sheet-day-row td{background:#fffafbf2;font-weight:650}.sheet-day-row:hover td,.sheet-day-row.is-expanded td{background:#fff1f5f5}.clickable-cell{cursor:pointer}.sheet-detail-toggle{width:36px;min-width:36px;min-height:34px;padding:0;border-radius:10px;font-size:1rem;line-height:1;transition:transform .16s ease,background .16s ease}.sheet-detail-toggle.is-expanded{transform:rotate(180deg)}.sheet-details-row>td{padding:12px 16px 18px;background:#f6fafdc7}.sheet-detail-panel{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#ffffffeb}.sheet-detail-table th{position:static}.sheet-detail-actions{padding:12px;border-top:1px solid var(--line);background:#fffcfdb8}.sheet-detail-actions-centered{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.sheet-date-cell strong{font-size:.95rem}.sheet-date-cell{min-width:0}.sheet-save-cell{display:grid;gap:6px;min-width:0}.sheet-save-button{min-height:32px;padding:0 10px;border-radius:10px}.sheet-delete-button{min-height:32px;min-width:56px;padding:0 8px;border-radius:10px}.sheet-icon-button{width:36px;min-width:36px;min-height:34px;padding:0;border-radius:10px;font-size:1rem;line-height:1}.sheet-save-button.is-saved{background:linear-gradient(135deg,#57c9a7,#2fa88e);box-shadow:0 18px 30px #3aa89b42}.sheet-status{font-size:.78rem;line-height:1.35}.sheet-status-ok{color:var(--success)}.sheet-status-error{color:var(--danger)}.sheet-add-row td{padding:16px;background:#fffcfdeb}.sheet-empty-row td{padding:18px 16px;background:#fffcfdb8}.sheet-add-button{min-height:40px;border-radius:12px}.invoice-panel-wrap{width:100%}.invoice-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;margin-bottom:18px}.invoice-table-shell{margin-top:8px}.invoice-table{width:100%;min-width:1200px;table-layout:fixed}.invoice-table>thead>tr>th:nth-child(1){width:5%}.invoice-table>thead>tr>th:nth-child(2){width:10%}.invoice-table>thead>tr>th:nth-child(3){width:10%}.invoice-table>thead>tr>th:nth-child(4){width:8%}.invoice-table>thead>tr>th:nth-child(5){width:10%}.invoice-table>thead>tr>th:nth-child(6){width:12%}.invoice-table>thead>tr>th:nth-child(7){width:10%}.invoice-table>thead>tr>th:nth-child(8){width:10%}.invoice-table>thead>tr>th:nth-child(9){width:15%}.invoice-table>thead>tr>th:nth-child(10){width:5%}.invoice-table>thead>tr>th:nth-child(11){width:5%}.account-picker{min-width:220px}.invoice-detail-button{min-height:36px;padding:0 12px;border-radius:10px}.invoice-details-row td{background:#fffafbe6}.invoice-entry-details{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#ffffffe0}table{width:100%;border-collapse:collapse}th,td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.summary-table th,.summary-table td{text-align:center}th{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#fffffff5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#ffecf1b8}.timeline{display:grid;gap:14px}.timeline-item{display:grid;grid-template-columns:12px 1fr;gap:12px}.timeline-item p,.timeline-item span{margin:4px 0 0;font-size:.92rem;line-height:1.5}.timeline-dot{width:12px;height:12px;border-radius:999px;background:linear-gradient(135deg,#ff97a8,#8bdff9);margin-top:6px}.entry-form,.bulk-form{display:grid;gap:16px}.form-grid{display:grid;gap:14px}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-form{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;margin-bottom:12px}.compact-form-users{grid-template-columns:repeat(6,1fr) auto}.bulk-form{margin-bottom:12px}.section-heading{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:16px}.section-heading p{margin:0;line-height:1.6}.alert-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#fffc;border:1px solid var(--line);font-size:.86rem}.resource-grid,.people-list{display:grid;gap:12px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-card,.people-card,.nested-card{border:1px solid var(--line);border-radius:20px;background:#ffffffdb}.resource-card{padding:16px}.resource-lines{display:grid;gap:8px;margin-top:10px}.resource-lines a,.resource-lines span{font-size:.94rem;line-height:1.55}.resource-lines a{color:var(--text)}.people-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:16px}.people-card{display:grid;gap:4px;padding:14px 16px;text-align:left;cursor:pointer}.people-card.is-active{border-color:var(--line-strong);background:linear-gradient(135deg,#fff4f6fa,#eefafffa)}.people-card span{color:var(--muted);font-size:.9rem}.people-detail{min-width:0}.member-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.nested-card{padding:18px}.search-field{min-width:min(100%,360px)}.compact-form-tasks{grid-template-columns:2fr 1fr 2fr 2fr auto}@media(max-width:1200px){.metrics-grid,.hero-grid,.admin-grid,.content-grid,.workbook-grid,.login-layout,.form-grid-3,.form-grid-4,.compact-form,.compact-form-users,.compact-form-tasks,.resource-grid,.people-layout,.member-metrics{grid-template-columns:1fr}}@media(max-width:760px){.page-frame{width:min(100vw - 18px,1380px);padding-top:18px}.topbar,.hero-panel-header,.topbar-actions{flex-direction:column}h1{font-size:2.5rem}.hero-panel,.glass-card,.auth-card{border-radius:24px;padding:18px}}.mini-calendar{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;width:100%;max-width:340px}.calendar-header{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:8px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:14px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--text);cursor:pointer;transition:all .2s;padding:0}.calendar-cell:hover:not(.empty){background:#ff8f681a;color:var(--accent)}.calendar-cell.has-data{border:1.5px solid #ef4444;border-radius:50%;color:#ef4444;font-weight:600}.calendar-cell.has-data:hover:not(.empty){background:#ef4444;color:#fff;border-color:#ef4444}.calendar-cell.selected{background:var(--accent);color:#000;font-weight:700;border-color:var(--accent)}.calendar-cell.selected.has-data{border-radius:50%}.calendar-cell.empty{cursor:default}tbody tr{transition:background-color .15s ease}tbody tr:hover{background-color:#0000000a!important}tbody tr.row-pending:hover{background-color:#ff3c3c26!important}.calendar-cell.in-range{background-color:#ef444426;color:var(--accent)}.bar-chart-container{display:flex;flex-direction:column;gap:8px;margin-top:16px}.bar-row{display:flex;align-items:center;gap:12px}.bar-label{width:120px;font-size:13px;font-weight:600;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-track{flex:1;background:#ffffff0d;height:24px;border-radius:4px;position:relative;overflow:hidden}.bar-fill{height:100%;background:var(--accent);border-radius:4px;transition:width .3s ease;min-width:4px}.bar-value{font-size:11px;font-family:monospace;font-weight:600;min-width:50px}.bar-row{display:flex;align-items:center;gap:12px;padding:4px 8px;border-radius:8px;transition:background .2s ease,transform .2s ease}.bar-row:hover{background:#ffffff08;transform:translate(4px)}.bar-rank{font-size:13px;font-weight:700;color:var(--muted);width:24px;text-align:center}.bar-rank.top-1{color:#fbbf24}.bar-rank.top-2{color:#94a3b8}.bar-rank.top-3{color:#b45309}.bar-label{width:110px;font-size:13px;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}.bar-track{flex:1;background:#ffffff0d;height:20px;border-radius:10px;position:relative;border:1px solid rgba(255,255,255,.02);display:flex;align-items:center}.bar-fill{height:100%;background:linear-gradient(90deg,var(--accent),#ffb885);border-radius:10px;transition:width 1s cubic-bezier(.4,0,.2,1);min-width:28px;display:flex;align-items:center;justify-content:flex-end;padding-right:12px;box-shadow:0 4px 12px #ff8f684d}.bar-value{font-size:12px;font-family:Inter,monospace;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}
