.weekly{display:grid;gap:16px;max-width:1100px;margin:auto;padding:16px;color:var(--ink,#253346)}.weekly h1,.weekly h2,.weekly p{margin:0}.weekly-form,.weekly-report{display:grid;gap:12px;padding:16px;border:1px solid var(--line,#e5eaf0);border-radius:14px;background:var(--white,#fff)}.weekly-field{display:grid;gap:7px;font-size:14px}.weekly input,.weekly textarea,.weekly select{font:inherit;padding:10px;border:1px solid var(--line,#e5eaf0);border-radius:8px;min-width:0}.weekly input[type=checkbox]{justify-self:start}.weekly textarea{min-height:100px;resize:vertical}.weekly button,.weekly-session button{font:inherit;cursor:pointer;padding:10px 16px;border:1px solid var(--line,#e5eaf0);border-radius:8px;background:var(--white,#fff);color:inherit;justify-self:start}.weekly button:hover,.weekly-session button:hover{background:#edf4ff}.weekly button:focus-visible,.weekly input:focus-visible,.weekly textarea:focus-visible,.weekly select:focus-visible{outline:3px solid #90b9ef;outline-offset:2px}.weekly-error,.weekly-warning{color:#9b4618;padding:12px;background:#fff4e8;border-radius:8px}.weekly-change{padding:12px;background:#f5f7fa;border-radius:8px;overflow-wrap:anywhere}.weekly-session{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 20px}.auth-gate{max-width:540px;margin:6vh auto}.weekly-entry{margin:0;padding:18px}.weekly-report{overflow-wrap:anywhere}@media(max-width:600px){.weekly{padding:12px}.weekly-form,.weekly-report{padding:14px}.weekly-session{padding:10px}.weekly button{width:100%}}
.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar nav{flex-shrink:0}.sidebar .weekly-session{padding:8px 0;gap:6px}.sidebar .weekly-session span{width:100%;font-size:11px}.sidebar .weekly-session button{padding:6px 8px;font-size:11px}
@media(max-width:680px){.sidebar-bottom{display:block;padding:8px 12px}.sidebar-bottom .trial-note,.sidebar-bottom .source-date{display:none}.sidebar .weekly-session{padding:0}.sidebar .weekly-session span{width:auto}}

/* Team account disclosure and bounded assignment list. */
.weekly h3{margin:0;font-size:16px}
.team-accounts{display:grid;gap:8px}
.team-user{border:1px solid var(--line,#e5eaf0);border-radius:12px;background:var(--white,#fff);overflow:hidden}
.team-user summary{cursor:pointer;padding:12px 16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.team-user summary:hover{background:#f1f6fc}
.team-user summary:focus-visible{outline:3px solid #90b9ef;outline-offset:-3px}
.team-user[open] summary{border-bottom:1px solid var(--line,#e5eaf0)}
.team-user>.weekly-form{border:0;border-radius:0}
.team-assignment>p{font-size:14px;line-height:1.6;color:var(--muted,#596d83)}
.team-project-choices{display:grid;gap:0;max-height:420px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line,#e5eaf0);border-radius:8px;padding:0 12px}
.team-project-choice{display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:14px;line-height:1.6;border-bottom:1px solid var(--line,#e5eaf0)}
.team-project-choice:last-child{border-bottom:0}
.team-project-choice input[type=checkbox]{flex:none;margin:4px 0 0;width:16px;height:16px;accent-color:var(--fusion-ink, #1e3b64)}
.team-project-choice span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.team-user summary{padding:13px 14px}.team-project-choices{max-height:360px}}
/* Compact team controls; business facts and review acknowledgments stay visible. */
.team-panel h2{font-size:16px;font-weight:600}
.team-panel .weekly-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-panel .weekly-form>h2,.team-panel .weekly-form>strong,.team-panel .weekly-form>button,.team-assignment>*{grid-column:1/-1}
.weekly-help{padding-top:8px;border-top:1px solid var(--line,#e5eaf0);color:var(--muted,#596d83);line-height:1.6}
.weekly-help>summary{cursor:pointer;padding:8px 0;font-weight:600}
.weekly-help>p{margin-top:8px}
.weekly-help>summary:focus-visible{outline:3px solid #90b9ef;outline-offset:2px;border-radius:4px}
.weekly-form button,.team-user summary{touch-action:manipulation}
.weekly-report{font-variant-numeric:tabular-nums}
@media(max-width:600px){.team-panel .weekly-form{grid-template-columns:1fr}.weekly-help>summary{min-height:40px;display:list-item;box-sizing:border-box}.weekly-entry{padding:16px}}

@media(min-width:901px){
 .app-shell .weekly{padding:0;max-width:none;gap:16px}
 .app-shell .weekly-form,.app-shell .weekly-report,.app-shell .team-user{border-radius:8px;border-color:var(--line)}
 .app-shell .weekly-report,.app-shell .weekly-form{padding:16px}
 .app-shell .team-user summary{font-size:14px;min-height:44px;padding:10px 16px;color:var(--ink)}
 .app-shell .weekly-field{font-size:14px;color:var(--ink)}
 .app-shell .weekly-help,.app-shell .weekly-warning,.app-shell .weekly-error{font-size:13px;line-height:1.6}
}

/* Compact published entry links to the complete weekly page. */
.weekly.weekly-entry,.app-shell .weekly.weekly-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;max-width:none;margin:0 0 16px;padding:14px 16px;border:1px solid var(--line,#e5eaf0);border-radius:8px;background:var(--white,#fff)}
.weekly-entry-content{display:grid;gap:7px;min-width:0}
.weekly-entry-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;min-width:0}
.weekly-entry-heading h2{font-size:16px;font-weight:600;line-height:1.5}
.weekly-entry .weekly-entry-date{font-size:12px;line-height:1.5;color:var(--muted,#64748b)}
.weekly-entry-summary{font-size:14px;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.weekly-entry-metric{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;font-size:13px;line-height:1.6;font-variant-numeric:tabular-nums;min-width:0}
.weekly-entry-label,.weekly-entry-note,.weekly-entry-comparison-date{font-size:12px;color:var(--muted,#64748b)}
.weekly-entry-number{display:inline-flex;gap:3px;color:var(--ink,#253346)}
.weekly-entry-comparison{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.weekly-entry-comparison-value{font-size:13px;font-weight:500}
.weekly-entry-comparison.increase .weekly-entry-comparison-value{color:#237156}
.weekly-entry-comparison.decrease .weekly-entry-comparison-value{color:#a44646}
.weekly.weekly-entry>.weekly-entry-open{font-size:13px;white-space:nowrap;min-height:38px;padding:8px 12px;align-self:center;background:var(--navy,#17304f);border-color:var(--navy,#17304f);color:#fff;touch-action:manipulation}
.weekly.weekly-entry>.weekly-entry-open:hover{background:var(--fusion-accent-ink, #294b77)}
@media(max-width:600px){.weekly.weekly-entry,.app-shell .weekly.weekly-entry{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 14px}.weekly.weekly-entry>.weekly-entry-open{width:auto;max-width:100%;justify-self:start}.weekly-entry-heading{gap:4px 10px}.weekly-entry-metric{gap:3px 8px}}

/* Keep published reading ahead of the existing preparation workflow. */
.weekly-report>section{display:grid;gap:12px;padding-top:16px;border-top:1px solid var(--line,#e5eaf0)}
.weekly-report>section:first-of-type{padding-top:4px;border-top:0}
.weekly-report p{font-size:14px;line-height:1.7}
.weekly-reading-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.weekly-reading-metric{display:grid;gap:6px;padding:12px;background:var(--blue-soft,#f5f7fa);border-radius:6px}
.weekly-reading-metric span{font-size:12px;line-height:1.5;color:var(--muted,#64748b)}
.weekly-reading-metric strong{font-size:19px;font-weight:600}
.weekly-comparison-scroll{overflow-x:auto;max-width:100%;overscroll-behavior:contain}
.weekly-comparison-table{border-collapse:collapse;width:100%;min-width:500px;font-size:13px;font-variant-numeric:tabular-nums}
.weekly-comparison-table th,.weekly-comparison-table td{padding:10px;text-align:right;border-bottom:1px solid var(--line,#e5eaf0);vertical-align:top}
.weekly-comparison-table th:first-child{text-align:left;font-weight:500}
.weekly-comparison-table thead th{background:var(--blue-soft,#f5f7fa);font-weight:600}
.weekly-reading-note{color:var(--muted,#64748b)}
.weekly-preparation,.weekly-data-maintenance,.weekly-original-text,.weekly-original-changes{display:grid;gap:12px;min-width:0}
.weekly-preparation{border:1px solid var(--line,#e5eaf0);border-radius:8px;padding:12px 16px}
.weekly-preparation>summary,.weekly-data-maintenance>summary,.weekly-original-text>summary,.weekly-original-changes>summary{cursor:pointer;padding:8px 0;font-size:14px;font-weight:550;line-height:1.6}
.weekly-preparation>summary:focus-visible,.weekly-data-maintenance>summary:focus-visible,.weekly-original-text>summary:focus-visible,.weekly-original-changes>summary:focus-visible{outline:3px solid #90b9ef;outline-offset:2px}
.weekly-preparation[open]>:not(summary){margin-top:12px}
.weekly-original-changes{margin-top:6px;color:var(--muted,#64748b)}
.weekly-original-text{color:var(--muted,#64748b)}
@media(max-width:600px){.weekly-reading-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-preparation{padding:10px 14px}.weekly-comparison-table{min-width:460px}.weekly-reading-metric{padding:10px}.weekly-reading-metric strong{font-size:18px}}

/* Password visibility is local to the sign-in fields. */
.auth-password-row{display:flex;align-items:stretch;gap:8px;min-width:0}
.auth-password-row>input{flex:1;width:100%;min-width:0;box-sizing:border-box}
.weekly.auth-gate .auth-password-toggle{flex:none;width:auto;white-space:nowrap;padding:10px 12px;font-size:14px;touch-action:manipulation}
