/* Saved sauce records: recipe collection on the left, batch detail on the right. */
.sauce-record-page-heading{margin:3px 0 22px}.sauce-record-page-heading h1{font:700 32px Georgia,serif;letter-spacing:-.025em;margin:6px 0 0}
.sauce-record-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}
.sauce-batch-library{padding:18px 14px}.sauce-batch-library>h2{font:700 21px Georgia,serif;margin:0 0 10px}
.sauce-batch-group{border-bottom:1px solid var(--line)}.sauce-batch-group:last-child{border-bottom:0}
.sauce-batch-library .sauce-batch-group>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:17px 2px;min-height:48px;cursor:pointer}
.sauce-batch-group>summary::-webkit-details-marker{display:none}.sauce-batch-group>summary::before{content:'▸';font-size:14px;flex:none;width:12px;color:var(--muted);transition:transform .18s ease}.sauce-batch-group[open]>summary::before{transform:rotate(90deg)}
.sauce-group-name{display:block;font-size:19px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}.sauce-batch-group small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}
.sauce-batch-children{display:grid;gap:6px;border-left:2px solid var(--line);margin:0 0 16px 12px;padding-left:12px}.sauce-batch-children button{text-align:left;border-color:transparent;background:transparent;padding:11px 9px;min-width:0;max-width:100%}.sauce-batch-children button[aria-pressed=true]{background:var(--sage);border-color:var(--line)}.sauce-batch-children strong{font-size:13px;font-weight:650;line-height:1.4;display:block;overflow-wrap:anywhere}.sauce-list-batch-name{display:block;font-size:12px;font-weight:400;margin-top:5px;overflow-wrap:anywhere}.sauce-batch-children small{font-size:10px;margin-top:4px}
.sauce-record-detail{padding:22px;min-width:0}.sauce-record-heading{display:flex;gap:16px;justify-content:space-between;align-items:start;margin-bottom:22px}.sauce-record-heading>div:first-child{min-width:0}.sauce-record-recipe{color:var(--accent);font-size:11px;font-weight:650;margin-bottom:7px}.sauce-record-detail .sauce-record-heading h2{font:700 26px/1.16 Georgia,serif;letter-spacing:-.015em;margin:0;overflow-wrap:anywhere}.sauce-record-heading .sauce-record-name{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere}.sauce-record-date{font-size:11px;color:var(--muted);margin:5px 0 0}.sauce-record-actions{display:flex;gap:7px;flex:none;justify-content:flex-end}.sauce-record-actions button{font-size:12px;padding:8px 10px}
.sauce-record-detail>.metrics{gap:16px;padding:18px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px}.sauce-record-detail>.metrics .metric{padding:0;background:transparent;border:0;border-radius:0}.sauce-record-detail>.metrics .value{font-size:21px;font-weight:650;line-height:1.2;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sauce-record-detail>table{display:table;width:100%;border-collapse:collapse;table-layout:fixed;overflow:visible;font-size:13px}.sauce-record-detail>table th{font-size:11px;font-weight:600;text-transform:none;letter-spacing:0}.sauce-record-detail>table :is(th,td){padding:10px 6px;vertical-align:middle;overflow-wrap:anywhere}.sauce-record-detail>table :is(th,td):first-child{padding-left:0;width:48%}.sauce-record-detail>table :is(th,td):last-child{padding-right:0}
.sauce-record-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-top:25px}.sauce-record-columns p{font-size:13px;line-height:1.65;white-space:pre-wrap;margin:0 0 18px;overflow-wrap:anywhere}.sauce-record-columns h3{margin-bottom:13px}.sauce-record-columns>div:last-child>div{font-size:12px;line-height:1.8}
.sauce-record-controls{border-color:var(--line);padding-top:22px;margin-top:6px}.sauce-observation-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.sauce-observation-heading h3{margin:0}.sauce-observation-heading button,.batch-note button{font-size:12px}.sauce-record-controls .batch-note{padding:12px 0;margin:0;border:0;border-bottom:1px solid var(--line)}.batch-note>strong{font-size:11px;color:var(--muted);font-weight:400}.batch-note p{font-size:13px;line-height:1.6}.sauce-record-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px;font-size:11px;color:var(--muted)}.sauce-record-footer button{border:0;background:transparent;color:var(--bad);font-size:12px;padding-right:0}
.sauce-record-dialog{width:min(720px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);box-shadow:0 20px 80px #25231f3d;overflow:hidden}.sauce-record-dialog[open]{display:flex;flex-direction:column}.sauce-record-dialog::backdrop{background:#25231f73}
.sauce-dialog-header{padding:20px 24px 17px;border-bottom:1px solid var(--line);display:flex;align-items:start;justify-content:space-between;gap:16px;flex-shrink:0}.sauce-dialog-header h2{font:700 26px/1.2 Georgia,serif;margin:0}.sauce-dialog-header p{font-size:12px;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}.sauce-dialog-close{padding:0;min-width:44px;min-height:44px;font-size:23px;font-weight:400;border:0;background:transparent;flex:none}
.sauce-dialog-body{overflow:auto;max-height:57dvh;min-height:0;flex:1 1 auto;padding:22px 24px;overscroll-behavior:contain}.sauce-record-controls .sauce-dialog-body form{margin:0}.sauce-dialog-body p{font-size:12px;line-height:1.65}.sauce-dialog-body .field{margin-bottom:0}.sauce-dialog-body .fields{gap:15px;margin-bottom:20px}.sauce-dialog-body .fields label{margin-bottom:0}.sauce-dialog-body h4{font-size:15px;border-top:1px solid var(--line);padding-top:20px;margin:24px 0 14px}.sauce-dialog-body>form>.hint{margin:0 0 20px}.sauce-dialog-body label{text-transform:none}.sauce-dialog-body #sauceNoteHeading{display:none}.sauce-dialog-body #sauceNoteText{margin-bottom:12px}.sauce-dialog-body #sauceNoteDate{margin-bottom:16px}.sauce-dialog-body .dialog-error,.sauce-dialog-body [role=alert]{color:var(--bad);font-size:12px}
.sauce-dialog-footer{border-top:1px solid var(--line);padding:17px 24px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--panel);flex-shrink:0}.sauce-dialog-footer .primary{min-width:160px;min-height:48px;padding:12px 22px;background:var(--accent2);border-color:var(--accent2);color:white}
body:has(.sauce-record-dialog[open]){overflow:hidden}
.sauce-dialog-body .sauce-record-score-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.sauce-record-columns>div:last-child>.sauce-record-scores{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;line-height:1.5;color:var(--muted)}.sauce-record-scores strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:650px){.sauce-dialog-body .sauce-record-score-fields{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.sauce-record-layout{grid-template-columns:228px minmax(0,1fr);gap:14px}.sauce-record-heading{flex-wrap:wrap}.sauce-record-actions{margin-left:auto}.sauce-record-detail>.metrics{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.sauce-record-layout{grid-template-columns:minmax(0,1fr);gap:15px}.sauce-record-page-heading h1{font-size:29px}.sauce-record-detail{padding:19px 14px}.sauce-record-heading h2{font-size:25px}.sauce-record-actions{width:100%;justify-content:flex-end}.sauce-record-columns{grid-template-columns:1fr;gap:8px}.sauce-record-detail>table{font-size:12px}.sauce-record-detail>table th{font-size:10px}.sauce-record-detail>table :is(th,td){padding:10px 4px}.sauce-observation-heading{flex-wrap:wrap}.sauce-record-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.sauce-dialog-header{padding:17px 16px 14px;gap:10px}.sauce-dialog-header h2{font-size:24px}.sauce-dialog-body{padding:18px 16px;max-height:56dvh}.sauce-dialog-footer{padding:14px 16px}.sauce-dialog-footer .primary{min-width:0;padding:12px 20px}}
@media(prefers-reduced-motion:reduce){.sauce-batch-group>summary::before{transition:none}}
