.weekly-page{background:#090909;color:var(--text)}
.weekly-hero{padding:46px 0 38px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 85% 0,#1c1c1a,transparent 62%)}
.weekly-hero .breadcrumb{margin-bottom:30px}
.weekly-hero h1{font-size:clamp(43px,5.5vw,80px);line-height:1.04;letter-spacing:-.06em;max-width:960px;margin:18px 0 24px}
.weekly-hero .intro{max-width:730px;font-size:17px;line-height:1.8;color:var(--muted)}
.weekly-hero .scope-line{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;margin-top:28px;padding-top:22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.weekly-workspace{padding:54px 0 72px}
.weekly-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:30px;align-items:start}
.weekly-form,.weekly-summary,.weekly-history{border:1px solid #343430;border-radius:10px;background:#111110;padding:30px;min-width:0}
.weekly-form h2,.weekly-summary h2,.weekly-history h2{font-size:clamp(25px,2.6vw,34px);letter-spacing:-.04em;margin:8px 0 12px}
.weekly-muted{font-size:13px;line-height:1.8;color:var(--muted)}
.weekly-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.weekly-field{display:flex;flex-direction:column;gap:10px;min-width:0}.weekly-field.is-wide{grid-column:1/-1}
.weekly-field label{font-size:12px;color:#d9d9d5;line-height:1.5}
.weekly-field input,.weekly-field textarea{width:100%;min-width:0;background:#1b1b19;border:1px solid #4b4b46;border-radius:5px;color:var(--text);font:inherit;font-size:16px;padding:13px 14px;outline:none}
.weekly-field textarea{min-height:105px;resize:vertical;line-height:1.55}
.weekly-field input:focus-visible,.weekly-field textarea:focus-visible{border-color:#f0eee5;box-shadow:0 0 0 2px rgba(240,238,229,.15)}
.weekly-field input[type=date]{color-scheme:dark}
.weekly-form-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.weekly-form-actions .btn{cursor:pointer}
.weekly-text-button,.weekly-record-actions button{background:none;border:0;color:#dddcd5;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:12px;cursor:pointer;padding:8px 0}
.weekly-text-button:focus-visible,.weekly-record-actions button:focus-visible,.weekly-import:focus-within{outline:2px solid #fff;outline-offset:4px}
.weekly-status{font-size:13px;line-height:1.7;min-height:25px;margin-top:18px;color:#c7ddc0}.weekly-status.is-error{color:#f2b4a7}
.weekly-summary{position:sticky;top:104px}.weekly-summary .eyebrow{margin-bottom:12px}
.weekly-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}
.weekly-metrics>div{padding:18px;border:1px solid var(--line);border-radius:6px;min-width:0}
.weekly-metrics small{display:block;min-height:38px;font-size:10px;line-height:1.5;color:var(--muted)}
.weekly-metrics strong{display:block;margin-top:8px;font-size:clamp(18px,2vw,27px);font-weight:500;letter-spacing:-.04em;overflow-wrap:anywhere}
.weekly-summary-note{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:12px;line-height:1.75;color:var(--muted)}
.weekly-history{margin-top:34px}
.weekly-history-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap}
.weekly-history-head .eyebrow{margin-bottom:10px}
.weekly-history-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.weekly-import{position:relative;display:inline-block;cursor:pointer}
.weekly-import input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.weekly-file-button{display:inline-block;border:1px solid #66665f;border-radius:5px;padding:11px 15px;font-size:12px;line-height:1.3;color:var(--text)}
.weekly-history-actions button{background:#252523;color:var(--text);border:1px solid #66665f;border-radius:5px;padding:11px 15px;cursor:pointer;font:inherit;font-size:12px}
.weekly-history-actions button:hover,.weekly-file-button:hover{border-color:#fff}
.weekly-comparison{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}
.weekly-comparison h3{font-size:19px;line-height:1.4}.weekly-comparison>p{font-size:11px;color:var(--muted);margin-top:7px}
.weekly-comparison dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.weekly-comparison dl>div{border:1px solid var(--line);padding:16px;border-radius:5px}
.weekly-comparison dt{font-size:11px;color:var(--muted)}.weekly-comparison dd{font-size:16px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}
.weekly-saved-head{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin:32px 0 13px}
.weekly-saved-head h3{font-size:20px}.weekly-saved-head span{font-size:11px;color:var(--muted)}
.weekly-record{padding:20px 0;border-top:1px solid var(--line)}.weekly-record-top{display:flex;align-items:baseline;justify-content:space-between;gap:15px;flex-wrap:wrap}
.weekly-record h3{font-size:18px}.weekly-record-actions{display:flex;gap:16px}
.weekly-record>p{font-size:12px;line-height:1.75;color:#d4d4ce;margin-top:9px}
.weekly-record .weekly-record-note{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}
.weekly-method{padding:65px 0;border-top:1px solid var(--line)}.weekly-method .article-body{max-width:850px}.weekly-method h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em}
.weekly-method .article-body p,.weekly-method .article-body li{line-height:1.85}
@media(max-width:900px){.weekly-grid{grid-template-columns:1fr}.weekly-summary{position:static}}
@media(max-width:600px){.weekly-hero{padding:32px 0}.weekly-hero h1{font-size:clamp(42px,11vw,58px)}.weekly-workspace{padding:30px 0 50px}.weekly-form,.weekly-summary,.weekly-history{padding:22px 18px}.weekly-fields,.weekly-metrics,.weekly-comparison dl{grid-template-columns:1fr}.weekly-metrics small{min-height:0}.weekly-history-actions{width:100%}.weekly-history-actions button,.weekly-import,.weekly-file-button{width:100%;text-align:center}.weekly-hero .intro{font-size:15px}}
@media print{.weekly-page .site-header,.weekly-page .site-footer,.weekly-page .weekly-form,.weekly-page .weekly-history-actions,.weekly-page .weekly-record-actions,.weekly-page .scope-line{display:none!important}.weekly-page{color:#111;background:#fff}.weekly-grid{display:block}.weekly-summary,.weekly-history{background:#fff;color:#111;border-color:#bbb}.weekly-history{break-before:page}}
