/* RogerFix: quiet workshop palette, warm service accent. Energy/rhythm/motion 1/1/1.
   Clear edge reflections lift navigation; working surfaces remain solid. No blur. */
:root{--rf-bg:#eef0eb;--rf-surface:#fffef9;--rf-raised:#f2f4ee;--rf-text:#232923;--rf-secondary:#596153;--rf-border:#cdd4c7;--rf-accent:#b73518;--rf-tint:#f6e5dc;--rf-green:#28563a;--rf-green-bg:#e5eee2;--rf-amber:#74480e;--rf-amber-bg:#fff0d7;--rf-red:#9c3025;--rf-red-bg:#f8e6e1;--rf-glass-fill:rgba(255,254,249,.88);--rf-glass-edge:rgba(255,255,255,.96);--rf-glass-shine:rgba(255,255,255,.72)}
html[data-theme=dark]{--rf-bg:#171c1a;--rf-surface:#222925;--rf-raised:#2b342e;--rf-text:#eef2e9;--rf-secondary:#b1bdac;--rf-border:#465146;--rf-accent:#ffab88;--rf-tint:#482e25;--rf-green:#b2d9af;--rf-green-bg:#283f2c;--rf-amber:#f3cb87;--rf-amber-bg:#453822;--rf-red:#ffb2a5;--rf-red-bg:#4a2b29;--rf-glass-fill:rgba(34,41,37,.92);--rf-glass-edge:rgba(188,211,186,.28);--rf-glass-shine:rgba(239,255,237,.18)}
html[data-theme],html[data-theme] body{background:var(--rf-bg)!important;color:var(--rf-text)}
html[data-theme] #rogerfix-review{--rf-ink:var(--rf-text);--rf-paper:var(--rf-bg);--rf-bg:inherit;--rf-white:var(--rf-surface);--rf-muted:var(--rf-secondary);--rf-line:var(--rf-border);color-scheme:inherit}
html[data-theme] #rogerfix-review .rf-stage:not(.rf-wire){background:var(--rf-bg)}
html[data-theme] #rogerfix-review .rf-sidebar{background:var(--rf-surface);border-color:var(--rf-border);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] #rogerfix-review :is(.rf-topbar,.rf-mobile-nav){background:linear-gradient(145deg,var(--rf-glass-shine),transparent 28%,transparent 76%,var(--rf-glass-shine)),var(--rf-glass-fill);border:1px solid var(--rf-glass-edge);box-shadow:inset 0 1px 0 var(--rf-glass-edge),inset 0 -1px 0 var(--rf-border),0 4px 12px #00000012;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] #rogerfix-review .rf-panel{border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-crumb span,.rf-channel-card small){color:var(--rf-secondary)!important}
html[data-theme] #rogerfix-review .rf-gallery-actions small{color:var(--rf-secondary)}
html[data-theme] #rogerfix-review .rf-completion{background:var(--rf-raised)}
html[data-theme] #rogerfix-review .rf-date-shortcuts button{background:var(--rf-surface);color:var(--rf-text)}
html[data-theme] #rogerfix-review .rf-date-shortcuts button[aria-pressed=true]{background:var(--rf-tint);color:var(--rf-accent);border-color:var(--rf-accent)}
html[data-theme] #rogerfix-review :is(.rf-language,.rf-segment){background:var(--rf-raised)}
html[data-theme] #rogerfix-review :is(.rf-language,.rf-segment) button[aria-pressed=true]{background:var(--rf-surface);color:var(--rf-text)}
html[data-theme] #rogerfix-review :is(.rf-nav,.rf-mobile-nav) button.active{background:var(--rf-tint);color:var(--rf-accent)}
html[data-theme] #rogerfix-review :is(.rf-button:hover,.rf-order:hover,.rf-stage-setting:hover,.rf-metric:hover,.rf-nav button:hover){background:var(--rf-raised)}
html[data-theme] #rogerfix-review :is(.rf-primary,.rf-primary:hover){background:#b73518;border-color:#b73518;color:#fff}
html[data-theme] #rogerfix-review :is(.rf-brand span,.rf-metric.featured .rf-metric-value){color:var(--rf-accent)}
html[data-theme] #rogerfix-review :is(.rf-nav-label,.rf-eyebrow,.rf-footer-note,.rf-metric-label,.rf-metric.featured .rf-metric-label,.rf-metric-note,.rf-settings-help,.rf-queue-hint,.rf-queue-identity,.rf-queue-dates,.rf-queue-updated,.rf-queue-policy p,.rf-queue-policy li,.rf-sales-caption,.rf-sales-explainer,.rf-sales-row small,.rf-quick-options>summary>span,.rf-confirm-notify,.rf-initial-totals span,.rf-inline-cost small,.rf-cost-totals>small){color:var(--rf-secondary)}
html[data-theme] #rogerfix-review :is(.rf-metrics,.rf-form-actions,.rf-check,.rf-photo-card,.rf-photo-add,.rf-photo-missing,.rf-photo-thumb,.rf-policy,.rf-device-icon,.rf-avatar,.rf-photo-sources,.rf-confirm-reason,.rf-queue-section h3>span,.rf-queue-blocked summary>span,.rf-queue-number,.rf-section-return .rf-top-button,.rf-initial-totals,.rf-pickup-plan,.rf-claim-deadline,.rf-claim-flow span,.rf-cost-totals,.rf-reset-link,.rf-gallery-image,.rf-gallery-empty,.rf-gallery-notes,.rf-price-row .rf-inline-cost,.rf-edit-thumbnail,.rf-order-tabs [role=tablist],.rf-intake-demo,.rf-flow-step){background:var(--rf-raised);color:var(--rf-text);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-field input,.rf-field select,.rf-field textarea,.rf-queue-controls select,.rf-queue-row,.rf-sales-metric,.rf-lifecycle-dialog,.rf-photo-dialog,.rf-photo-edit-dialog,.rf-gallery-card,.rf-gallery-card input,.rf-receipt-date-fields input,.rf-payment-editor input,.rf-completed-entry input:not([type=checkbox]),.rf-completed-entry select){background:var(--rf-surface);color:var(--rf-text);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-stage-setting[aria-pressed=true],.rf-order-tabs [aria-selected=true],.rf-accessory.checked,.rf-status-strip,.rf-day:first-child){background:var(--rf-tint);color:var(--rf-accent);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-badge,.rf-badge.green,.rf-message,.rf-toast,.rf-queue-first,.rf-flow-step.ready){background:var(--rf-green-bg);color:var(--rf-green);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-message small,.rf-queue-reason,.rf-claim-label,.rf-settings-saved){color:var(--rf-green)}
html[data-theme] #rogerfix-review .rf-queue-task{color:var(--rf-text)}
html[data-theme] #rogerfix-review :is(.rf-badge.orange,.rf-flow-step.accent){background:var(--rf-tint);color:var(--rf-accent)}
html[data-theme] #rogerfix-review :is(.rf-badge.amber,.rf-intake-warning,.rf-delivery-alert,.rf-next-action,.rf-draft-notice,.rf-intake-reminder,.rf-urgent-note){background:var(--rf-amber-bg);color:var(--rf-amber)}
html[data-theme] #rogerfix-review :is(.rf-badge.red,.rf-service-actions,.rf-service-actions .rf-cancel-button,.rf-photo-remove){background:var(--rf-red-bg);color:var(--rf-red)}
html[data-theme] #rogerfix-review :is(.rf-error,.rf-danger-text,.rf-confirm-step,.rf-queue-reason.is-overdue){color:var(--rf-red)}
html[data-theme] #rogerfix-review :is(.rf-learning-links,.rf-staff-help) a{background:var(--rf-surface);color:var(--rf-accent);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review .rf-sales-metric.featured{background:var(--rf-green-bg);color:var(--rf-green)}
html[data-theme] #rogerfix-review :is(.rf-panel-head,.rf-order,.rf-message-log,.rf-attention){border-color:var(--rf-border)}
html[data-theme] :is(.rf-notification-dialog,.rf-notification-head,.rf-notification-bell){background:var(--rf-surface);color:var(--rf-text);border-color:var(--rf-border)}
html[data-theme] :is(.rf-notification-settings,.rf-release-recap){background:var(--rf-raised);color:var(--rf-text)}
html[data-theme] :is(.rf-notification-dialog>p,.rf-notification-head small,.rf-notification-item small){color:var(--rf-secondary)}
html[data-theme] .rf-login-card{background:var(--rf-surface);border-color:var(--rf-border)}
html[data-theme] .rf-login p{color:var(--rf-secondary)}
html[data-theme] .rf-login input{background:var(--rf-bg);color:var(--rf-text);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-install-card,.rf-install-dialog){background:var(--rf-surface);color:var(--rf-text);border-color:var(--rf-border)}
html[data-theme] #rogerfix-review :is(.rf-install-card p,.rf-install-dialog p){color:var(--rf-secondary)}
html[data-theme] #rogerfix-review .rf-install-note{background:var(--rf-raised)}
html[data-theme] #rogerfix-review .rf-install-platforms button[aria-pressed=true]{background:var(--rf-tint);color:var(--rf-accent);border-color:var(--rf-accent)}
html[data-theme] #rf-launch{background:var(--rf-bg);color:var(--rf-text)}
html[data-theme] #rf-launch :is(.rf-launch-tagline,.rf-launch-loading p,.rf-launch-by,.rf-launch-by strong){color:var(--rf-secondary)}
html[data-theme] #rf-launch .rf-launch-name span{color:var(--rf-accent)}
html[data-theme] #learning{--ink:var(--rf-text);--muted:var(--rf-secondary);--line:var(--rf-border);--paper:var(--rf-surface);--accent:var(--rf-accent);color:var(--rf-text)}
html[data-theme] #learning :is(.top,.hero-note,.card,.screen,.release-group,.release-current .release-item,figure){background:var(--rf-surface);border-color:var(--rf-border);backdrop-filter:none}
html[data-theme] #learning :is(.note,.flow-box,.examples blockquote,.exceptions>div,.language){background:var(--rf-raised);color:var(--rf-text)}
html[data-theme] #learning :is(.note p,.step-body li,.flow-box span,.arrow,.arrow span,.release-date,.release-group time){color:var(--rf-secondary)}
html[data-theme] #learning :is(.flow-box small,.release-meta strong){background:var(--rf-green-bg);color:var(--rf-green)}
html[data-theme] #learning .release-version em{color:var(--rf-accent)}
html[data-theme] #rogerfix-review .rf-theme-menu{position:relative;flex:none}
html[data-theme] #rogerfix-review .rf-theme-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;border:1px solid var(--rf-border);border-radius:12px;background:var(--rf-surface);cursor:pointer}
html[data-theme] #rogerfix-review .rf-theme-menu summary::-webkit-details-marker{display:none}
html[data-theme] #rogerfix-review .rf-theme-menu summary:hover{background:var(--rf-raised)}
html[data-theme] #rogerfix-review .rf-theme-popover{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);z-index:20;width:210px;max-width:calc(100vw - 24px);padding:14px;border:1px solid var(--rf-border);border-radius:14px;background:var(--rf-surface);box-shadow:0 8px 24px #0003;color:var(--rf-text)}
html[data-theme] #rogerfix-review .rf-theme-popover strong{display:block;font-size:14px;margin-bottom:10px}
html[data-theme] #rogerfix-review .rf-theme-popover small{display:block;margin-top:10px;color:var(--rf-secondary);font-size:12px;line-height:1.5}
html[data-theme] #rogerfix-review .rf-theme-options{display:flex;flex-direction:column;gap:8px}
html[data-theme] #rogerfix-review .rf-theme-options button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--rf-border);border-radius:10px;background:var(--rf-surface);color:var(--rf-text);cursor:pointer}
html[data-theme] #rogerfix-review .rf-theme-options button:hover{background:var(--rf-raised)}
html[data-theme] #rogerfix-review .rf-theme-options button[aria-pressed=true]{background:var(--rf-tint);border-color:var(--rf-accent);color:var(--rf-accent)}
html[data-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--rf-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){html[data-theme] *,html[data-theme] *::before,html[data-theme] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){html[data-theme] #rogerfix-review :is(.rf-topbar,.rf-mobile-nav){background:var(--rf-surface)}}

/* Use one right-aligned chevron for native disclosures across RogerFix. */
details > summary {
  position: relative;
  list-style: none;
  padding-inline-end: var(--rf-disclosure-padding, 24px) !important;
  cursor: pointer;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::marker { content: ""; }
details > summary::after {
  content: "";
  position: absolute;
  inset-inline-end: var(--rf-disclosure-inset, 5px);
  top: 50%;
  box-sizing: border-box;
  width: 12px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 15%, 13% 0, 50% 62%, 87% 0, 100% 15%, 50% 100%);
  transform: translateY(-50%);
  pointer-events: none;
}
details[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
html[data-theme] #rogerfix-review .rf-theme-menu > summary {
  width: 56px;
  padding-inline-start: 6px;
  --rf-disclosure-padding: 19px;
  --rf-disclosure-inset: 9px;
}
