.wk-details{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel,var(--surface));box-shadow:0 8px 28px rgb(26 38 70 / 5%)}
.wk-accounting-note{margin:0;padding:0 20px 16px;color:var(--muted);font-size:12px;line-height:1.5}.wk-finance-matrix{min-width:1040px;width:100%;font-variant-numeric:tabular-nums}.wk-finance-matrix th:first-child{min-width:235px;max-width:285px;text-align:left;position:sticky;left:0;background:var(--panel,var(--surface,#fff));z-index:1}.wk-finance-matrix td{min-width:128px}.wk-finance-matrix small,.wk-operations small,.wk-fixed-item+small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:4px;line-height:1.4}.wk-finance-matrix .wk-subtotal{background:color-mix(in srgb,var(--accent,#6963ed) 5%,transparent)}.wk-finance-matrix .wk-total{font-weight:700;background:color-mix(in srgb,var(--accent,#6963ed) 10%,transparent)}.wk-total-cell{border-left:1px solid var(--line)}.wk-unclassified{background:color-mix(in srgb,#d69a28 14%,transparent)}.wk-change{color:var(--muted);white-space:nowrap}.wk-operations{margin:18px 0;border:1px solid var(--line);border-radius:14px;padding:14px 18px}.wk-operations details{margin:10px 0}.wk-operations summary{cursor:pointer;line-height:1.5}.wk-evidence{font-size:11px;overflow-wrap:anywhere;max-width:260px}.wk-history{min-width:1650px}.wk-fixed-item{display:grid;grid-template-columns:minmax(120px,1fr) 120px auto;gap:8px;margin:8px 0}.wk-fixed-item input{min-width:0}#wk-fixed-form .field{display:flex;flex-direction:column;margin:12px 0;gap:6px}#wk-fixed-form textarea{min-height:70px}#wk-fixed-form .dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.wk-details .sheet-scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.wk-details .sheet-scroll:focus-visible{outline:2px solid var(--accent,#6963ed);outline-offset:-2px}@media(max-width:550px){.wk-details .panel-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.wk-finance-matrix th:first-child{min-width:170px;max-width:170px;font-size:12px}.wk-finance-matrix small{font-size:10px}.wk-fixed-item{grid-template-columns:1fr 95px}.wk-fixed-item button{grid-column:1/-1;justify-self:end}.wk-accounting-note{padding:0 12px 12px}}
/* Weekly summary in the owner's Excel layout */
.wk-sheet-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.wk-kpi{border:1px solid var(--line,#e6e9f3);border-top:4px solid #2f6fe4;border-radius:14px;background:var(--collab-surface,#fff);color:var(--ink);padding:14px 16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.wk-kpi-1{border-top-color:#14806a}.wk-kpi-2{border-top-color:#d9822b}.wk-kpi-3{border-top-color:#0e9f6e}
.wk-kpi small{color:var(--muted,#6d7892);font-size:11px;line-height:1.4}.wk-kpi strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wk-simple{margin:0 0 16px}.wk-simple .sheet-scroll{max-width:100%;max-height:none;overflow-x:auto;overflow-y:visible;overscroll-behavior-inline:contain}
.wk-store-table{min-width:980px}.wk-store-table .sheet-store,.wk-expense-table tbody th,.wk-history tbody th{position:sticky;left:0;z-index:2;min-width:120px}
.wk-expense-table{min-width:860px}.wk-expense-table tbody th{min-width:200px;max-width:240px}
.wk-simple tr.sheet-total>th,.wk-simple tr.sheet-total>td{background:var(--collab-selected,#eef1fb);font-weight:700}
.wk-simple td.sheet-total{background:var(--collab-soft,#f4f6fd);font-weight:600}
.wk-fixed-table{max-width:560px}.wk-fixed-table th{width:60%}.wk-fixed-table td small{color:var(--muted,#6d7892)}
.wk-history{min-width:1080px}
.wk-more{margin:0 0 16px;border:1px solid var(--line,#e6e9f3);border-radius:14px;background:var(--collab-surface,#fff);color:var(--ink);overflow:hidden}
.wk-more>summary{padding:16px 20px;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;line-height:1.5}
.wk-more>.wk-details{border:0;border-radius:0;box-shadow:none;border-top:1px solid var(--line,#e6e9f3)}
.wk-more>.wk-operations{margin:12px 16px 16px}
@media(max-width:900px){.wk-sheet-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.wk-sheet-kpis{gap:8px}.wk-kpi{padding:10px 12px}.wk-kpi strong{font-size:16px}.wk-store-table .sheet-store,.wk-expense-table tbody th,.wk-history tbody th{min-width:96px;max-width:140px;font-size:11px}.wk-fixed-table{max-width:none}.wk-more>summary{padding:12px 14px}}
