.rest-main{max-width:1120px;margin:auto;padding:34px 26px 64px}.rest-intro{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:28px}.rest-intro h1{font-size:clamp(36px,5vw,60px);max-width:12ch;letter-spacing:-1.6px}.rest-intro p{max-width:46ch}.rest-intro button{min-height:56px;flex-shrink:0}.rest-overview{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--panel);margin:24px 0 12px}.rest-average{padding:28px;display:flex;flex-direction:column;justify-content:center;background:var(--paper)}.rest-average h2{font-size:20px;letter-spacing:0}.rest-average strong{font-size:36px;line-height:1.2;margin:16px 0;font-variant-numeric:tabular-nums}.rest-chart{padding:28px 18px;min-width:0}#rest-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.rest-day{text-align:center;display:flex;flex-direction:column;gap:8px;min-width:0}.rest-day-time{font-size:13px;min-height:36px;font-variant-numeric:tabular-nums}.rest-track{height:130px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid var(--line);background:linear-gradient(to top,var(--paper),transparent)}.rest-bar{width:65%;background:var(--accent);border-radius:20px 20px 2px 2px;min-height:0}.rest-day-label{font-size:13px}.rest-energy{font-size:11px;color:var(--muted)}.rest-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:28px 0 16px}.rest-tools h2{margin:0}.rest-tools .toggle-row{margin:0}#rest-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:18px}.rest-entry{border-top:2px solid var(--line);padding:22px 0;min-width:0}.rest-entry-head{display:flex;gap:16px;justify-content:space-between}.rest-duration{color:var(--accent);font-size:22px;white-space:nowrap}.rest-note{white-space:pre-wrap;overflow-wrap:anywhere}.rest-feeling{display:inline-block;padding:8px 12px;background:var(--paper);border-radius:18px;font-size:14px}.rest-pause{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:26px 0;padding:20px 0;border-block:1px solid var(--line)}.rest-pause p{margin:0}#rest-status:not(:empty),#rest-limit:not(:empty){padding:10px 0;color:var(--muted)}#rest-fields{border:0;padding:0;margin:0;min-width:0}.rest-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.rest-form-grid>*{min-width:0}#rest-editor input,#rest-editor select{min-width:0;max-width:100%}#rest-preview{font-size:24px;font-weight:700;color:var(--accent);padding:12px 0}#rest-save{width:100%;min-height:56px}#rest-error:not(:empty){color:var(--danger);padding:12px 0}[hidden]{display:none!important}
:root[data-oblik="rack"] .rest-overview{border-radius:6px}:root[data-oblik="montage"] .rest-overview{border-radius:12px}:root[data-oblik="ether"] .rest-bar{border-radius:40px 40px 3px 3px}
@media(max-width:680px){.rest-main{padding:24px 18px}.rest-intro{display:block}.rest-intro h1{max-width:none;font-size:40px}.rest-intro button{width:100%;margin-top:10px}.rest-overview{grid-template-columns:1fr}.rest-average{padding:22px}.rest-average strong{margin:6px 0}.rest-average p{margin:4px 0}.rest-chart{padding:20px 10px}#rest-week{gap:5px}.rest-day-time{font-size:11px;min-height:34px}.rest-energy{font-size:10px}.rest-track{height:110px}.rest-form-grid{grid-template-columns:1fr}.rest-duration{font-size:20px}}
