/* Release ratings inherit the BAXUS typography, warm panel surface, and green controls. */
.rr-section{margin:0 0 48px;scroll-margin-top:120px;font:400 14px/1.5 var(--font-body,'DM Sans',sans-serif);color:var(--palette-ink)}
.rr-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.rr-heading h2{font:700 26px/1.2 var(--font-body,'DM Sans',sans-serif);letter-spacing:-.5px;margin:0 0 8px}
.rr-heading p{margin:0;color:var(--palette-body);font-size:14px}
.rr-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;background:var(--palette-kelly);border:1px solid var(--palette-kelly);border-radius:var(--radius-surface, 14px);color:var(--palette-white);font:600 14px/1.4 var(--font-body,'DM Sans',sans-serif);cursor:pointer;white-space:nowrap}
.rr-button:hover{background:var(--palette-kelly)}
.rr-button:disabled{opacity:.45;cursor:not-allowed}
.rr-secondary{background:var(--palette-white);border-color:var(--palette-line);color:var(--palette-ink)}
.rr-secondary:hover{background:var(--palette-sand)}
.rr-panel{display:grid;grid-template-columns:300px minmax(0,1fr);gap:36px;padding:28px;background:var(--palette-sand);border:1px solid var(--palette-line);border-radius:var(--radius-surface, 14px)}
.rr-summary{padding-right:32px;border-right:1px solid var(--palette-line)}
.rr-score{display:flex;align-items:baseline;gap:8px}
.rr-score strong{font-size:40px;line-height:1.2;letter-spacing:-1px}
.rr-score span{color:var(--palette-body);font-size:13px}
.rr-summary-stars{color:var(--palette-body);font-size:23px;letter-spacing:3px;margin-top:8px;line-height:1.2}
.rr-count{color:var(--palette-body);margin:5px 0 16px;font-size:13px}
.rr-distribution{display:grid;grid-template-columns:30px 1fr 14px;gap:10px;align-items:center;margin-top:6px;font-size:12px;color:var(--palette-body)}
.rr-distribution meter{width:100%;height:8px;appearance:none;background:var(--palette-line);border:0;border-radius:var(--radius-surface, 14px);overflow:hidden}
.rr-distribution meter::-webkit-meter-bar{background:var(--palette-line);border:0;border-radius:var(--radius-surface, 14px);height:8px}
.rr-distribution meter::-webkit-meter-optimum-value{background:var(--palette-kelly);border-radius:var(--radius-surface, 14px)}
.rr-distribution meter::-moz-meter-bar{background:var(--palette-kelly);border-radius:var(--radius-surface, 14px)}
.rr-distribution small{text-align:right;font-size:12px}
.rr-empty{max-width:480px;padding:28px 0}
.rr-empty h3{font-size:20px;margin:0 0 10px;line-height:1.3}
.rr-empty p{color:var(--palette-body);line-height:1.7;margin:0}
.rr-review{min-width:0}
.rr-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rr-review-identity{display:flex;align-items:center;gap:10px}
.rr-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tone-kelly);color:var(--palette-body);font-weight:600}
.rr-review-head time{color:var(--palette-body);font-size:12px}
.rr-review-stars{color:var(--palette-body);font-size:20px;letter-spacing:2px;margin:16px 0 10px}
.rr-review-body{line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-width:75ch}
.rr-rating-only{color:var(--palette-body);font-size:13px}
.rr-status{color:var(--palette-body);font-size:13px;margin:12px 0 0}
.rr-status:empty{display:none}
.rr-hero{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px;font:400 13px/1.5 var(--font-body,'DM Sans',sans-serif)}
.rr-hero a{color:var(--palette-body);text-decoration:none}
.rr-hero a:hover{text-decoration:underline;text-underline-offset:4px}
.rr-text-button{padding:0;min-height:32px;background:none;border:0;color:var(--palette-body);text-decoration:underline;text-underline-offset:4px;font:600 13px var(--font-body,'DM Sans',sans-serif);cursor:pointer}
.rr-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);height:100dvh;max-height:100dvh;max-width:100%;padding:0;border:0;background:var(--palette-white);color:var(--palette-ink);box-shadow:-8px 0 40px color-mix(in srgb, var(--palette-shadow) 13.3333%, transparent);font:400 14px/1.5 var(--font-body,'DM Sans',sans-serif);box-sizing:border-box;overflow-y:auto}
.rr-dialog::backdrop{background:color-mix(in srgb, var(--palette-ink) 40%, transparent)}
.rr-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 28px;border-bottom:1px solid var(--palette-line)}
.rr-dialog-head h2{font:700 24px/1.2 var(--font-body,'DM Sans',sans-serif);letter-spacing:-.4px;margin:0}
.rr-close{background:transparent;border:0;padding:10px;min-width:44px;min-height:44px;display:grid;place-items:center;cursor:pointer;color:inherit}
.rr-form{padding:24px 28px 32px}
.rr-bottle{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.rr-bottle img{width:54px;height:80px;object-fit:contain;flex-shrink:0}
.rr-bottle h3{font-size:17px;line-height:1.4;margin:0}
.rr-bottle p{font-size:13px;color:var(--palette-body);margin:5px 0 0}
.rr-form fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}
.rr-form legend{font-weight:600;font-size:15px;margin-bottom:10px}
.rr-star-options{display:flex;gap:8px}
.rr-star-options label{position:relative;display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;background:var(--palette-sand);border:1px solid var(--palette-line);border-radius:var(--radius-surface, 14px);cursor:pointer;color:var(--palette-card-rule)}
.rr-star-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.rr-star-options svg{width:28px;height:28px;fill:transparent;stroke:currentColor;stroke-width:1.6;pointer-events:none}
.rr-star-options label.is-selected{color:var(--palette-body);border-color:var(--palette-kelly);background:var(--tone-kelly)}
.rr-star-options label.is-selected svg{fill:currentColor}
.rr-star-options label:has(input:focus-visible){outline:2px solid var(--palette-kelly);outline-offset:3px}
.rr-rating-label{margin:10px 0 0;color:var(--palette-body);font-size:13px;min-height:20px}
.rr-form>label{display:block;font-weight:600;font-size:15px;margin-bottom:10px}
.rr-form>label span{font-weight:400;color:var(--palette-body)}
.rr-form textarea{box-sizing:border-box;width:100%;min-height:150px;resize:vertical;border:1px solid var(--palette-line);border-radius:var(--radius-surface, 14px);background:var(--palette-sand);padding:14px;font:inherit;line-height:1.6;color:inherit}
.rr-character-count{text-align:right;font-size:12px;color:var(--palette-body);margin:6px 0 0}
.rr-editor-help{font-size:13px;color:var(--palette-body);margin:20px 0;line-height:1.6}
.rr-form-actions{display:flex;gap:10px;margin:24px 0 12px;flex-wrap:wrap}
.rr-form-actions>.rr-button:first-child{flex:1}
.rr-remove{display:block;color:var(--palette-body);margin-top:14px}
.rr-confirm{margin-top:20px;border-top:1px solid var(--palette-line);padding-top:20px}
.rr-confirm p{font-weight:600}
.rr-danger{background:var(--palette-unicorn);border-color:var(--palette-unicorn);color:var(--palette-ink)}.rr-danger:hover{background:var(--palette-unicorn)}
.rr-error{color:var(--palette-body);font-size:13px}.rr-error:empty{display:none}
.rr-section :focus-visible,.rr-dialog :focus-visible,.rr-hero :focus-visible{outline:2px solid var(--palette-kelly);outline-offset:3px}
.rr-dialog [hidden]{display:none!important}
@media(max-width:650px){.rr-heading{align-items:flex-start;flex-direction:column;gap:14px}.rr-heading h2{font-size:24px}.rr-panel{grid-template-columns:1fr;gap:24px;padding:20px}.rr-summary{border-right:0;border-bottom:1px solid var(--palette-line);padding:0 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.rr-distribution:first-child{margin-top:0}.rr-count{margin-bottom:0}.rr-empty{padding:0}.rr-section{scroll-margin-top:200px}.rr-dialog-head{padding:20px}.rr-form{padding:20px}.rr-star-options label{width:48px;height:48px}.rr-star-options{gap:6px}.rr-dialog{padding-bottom:env(safe-area-inset-bottom)}}
.rr-dialog-head{position:sticky;top:0;z-index:2;background:var(--palette-white)}
