/* Scoped glass surfaces retain Formare's existing Bordeaux and bronze palette. */
.card.restart-glass{background:linear-gradient(125deg,rgba(99,58,72,.40),rgba(44,23,33,.78));border:1px solid #a383635e;box-shadow:inset 0 1px #f5ede112,0 14px 40px #10060d20;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);min-height:0;margin-bottom:22px}
.restart-glass h2{font:400 clamp(24px,2.5vw,32px)/1.2 Georgia,serif;letter-spacing:-.5px;margin:10px 0 14px}.restart-glass p{line-height:1.7}.restart-glass .hint{font-size:12px}.restart-glass button,.restart-glass a{min-height:44px}.restart-glass button:not(.primary):not(.text-button){background:#321c27;color:var(--text);border:1px solid #a383636b;border-radius:8px;padding:10px 14px}.restart-glass button:disabled{opacity:.5;cursor:default}.restart-glass .primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:normal}.restart-widget{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}.restart-widget>div{flex:1;min-width:0}.restart-widget h2{margin-top:10px}.restart-widget p{margin:8px 0}.restart-glass progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#ffffff12;accent-color:var(--bronze)}.restart-glass progress::-webkit-progress-bar{background:#ffffff12}.restart-glass progress::-webkit-progress-value{background:var(--bronze);border-radius:8px}.restart-glass progress::-moz-progress-bar{background:var(--bronze)}.restart-badge{color:#e1cda9;font-size:12px;white-space:nowrap}.restart-glass .detail-head{flex-wrap:wrap;gap:12px;margin-bottom:15px}.restart-glass .detail-head h2{margin:6px 0}.restart-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.restart-days button{display:grid;gap:3px;text-align:center;padding:10px 4px!important}.restart-days button span{font-size:17px}.restart-days button small{font-size:10px;color:var(--muted)}.restart-days button[aria-pressed=true]{background:#614036!important;border-color:var(--bronze)!important;box-shadow:inset 0 0 0 1px var(--bronze)}.restart-days button[aria-current=date]{text-decoration:underline;text-underline-offset:4px}.restart-checklist{display:grid}.restart-step{border-top:1px solid #a3836333;padding:16px 0;display:flex;align-items:center;gap:16px;justify-content:space-between}.restart-step label{display:flex;align-items:flex-start;gap:13px;flex:1;min-width:0;cursor:pointer}.restart-step input,.restart-goal input{width:19px;height:19px;accent-color:var(--bronze);flex-shrink:0;margin-top:3px}.restart-step label>span{display:grid;gap:6px}.restart-step strong{font-weight:500;font-size:15px}.restart-step label span span{font-size:13px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}.restart-step.is-done strong{text-decoration:line-through;color:var(--muted)}.restart-step button{flex-shrink:0;font-size:12px}.restart-reflection{border-top:1px solid #a3836355;padding-top:20px;display:flex;gap:20px;align-items:center;justify-content:space-between}.restart-reflection>div{min-width:0}.restart-reflection h3{margin:0;font:400 23px Georgia,serif}.restart-reflection p{font-size:13px}.restart-note{white-space:pre-wrap;overflow-wrap:anywhere}.restart-weeks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.restart-week .eyebrow{font-size:9px;letter-spacing:1px;line-height:1.7}.restart-goal{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-top:1px solid #a3836333;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.restart-goal span{min-width:0}.restart-table-wrap{overflow-x:auto}.restart-table{border-collapse:collapse;min-width:530px;width:100%;font-size:13px;text-align:left}.restart-table caption{text-align:left;color:var(--muted);font-size:12px;padding:12px 0}.restart-table th,.restart-table td{padding:14px 10px;border-bottom:1px solid #a3836333}.restart-table thead th{color:var(--muted);font-weight:500}.restart-table td small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.restart-history{margin-top:22px}.restart-history summary{cursor:pointer;color:var(--bronze);padding:12px 0}.restart-history ol{list-style:none;padding:0}.restart-history li{display:flex;gap:16px;justify-content:space-between;border-top:1px solid #a3836333;align-items:center;font-size:12px;padding:6px 0}.restart-history li span{color:var(--muted)}
@media(max-width:1100px){.restart-weeks{grid-template-columns:1fr}.restart-week.card{margin-bottom:0}.restart-weeks{margin-bottom:22px}}
@media(max-width:700px){.sidebar #nav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(56px,1fr)}}
@media(max-width:700px){.restart-widget{align-items:stretch;flex-direction:column;gap:14px}.restart-widget .primary{align-self:flex-start}.restart-glass .detail-head{align-items:flex-start}.restart-step{align-items:flex-start;flex-direction:column;gap:4px}.restart-step button{margin-left:32px}.restart-reflection{align-items:flex-start;flex-direction:column;gap:4px}.restart-days{gap:5px}.restart-days button{min-height:58px}.restart-history li{align-items:flex-start;flex-direction:column;gap:0;padding:10px 0}.restart-glass .restart-badge{white-space:normal}.restart-glass .eyebrow{line-height:1.7}}
