/* =================================================================
   Reminder System — "Mission Control" redesign.
   Three-column dashboard: left feed (now-firing + queue), centre
   alarm builder, right details panel + tips.
   ----------------------------------------------------------------
   JS-required class names that MUST stay stable (created or read by
   public/assets/js/reminder.js):
     #alarm-list, #disarm-alarm-list, #alarm-details,
     #alarm-name, #repeat-interval, #repeat-value, #advance-time,
     #advance-value, #alarm-sound, #volume-slider, #volume-value,
     #test-sound, #save-alarm, #remove-alarm, #reset-alarm,
     #alarm-tts-voice, #alarm-count, #selected-alarm-{name|repeat|advance},
     input[name="alarm-behavior"] (radio, values: once / loop),
     .alarm-item, .alarm-item.selected, .alarm-item.mouse-drawn-div,
     .disarm-alarm-item, .disarm-alarm-item.selected,
     .blink-disarm, .time-counter, .hidden
   ================================================================= */

/* -------- hero -------- */
.rs-hero {
	display: flex; gap: 24px; align-items: flex-start; justify-content: space-between;
	padding: 22px 24px;
	background: linear-gradient(180deg, rgba(248,196,84,0.06), rgba(20,12,8,0.0)) rgba(20,12,8,0.45);
	border: 1px solid rgba(245,230,204,0.10);
	border-radius: 14px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.rs-hero__left { flex: 1 1 320px; min-width: 0; }
.rs-hero__eyebrow {
	font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: #f8c454;
	margin-bottom: 6px;
}
.rs-hero__title {
	margin: 0 0 6px;
	font-size: 28px; font-weight: 700; color: #f5e6cc;
	display: flex; align-items: center; gap: 12px;
	line-height: 1.15;
}
.rs-hero__title-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: rgba(248,196,84,0.12);
	color: #f8c454;
	border-radius: 50%;
	flex: 0 0 auto;
}
.rs-hero__sub {
	margin: 0;
	color: rgba(245,230,204,0.72);
	font-size: 14px; line-height: 1.55;
	max-width: 640px;
}
.rs-hero__right {
	display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
}
.rs-stat-pill {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 10px 22px;
	background: rgba(248,196,84,0.10);
	border: 1px solid rgba(248,196,84,0.32);
	border-radius: 14px;
	min-width: 110px;
}
.rs-stat-pill__num {
	font-size: 28px; font-weight: 700; color: #f8c454; line-height: 1;
	font-variant-numeric: tabular-nums;
}
.rs-stat-pill__lbl {
	font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
	text-transform: uppercase; color: rgba(245,230,204,0.75);
}
.rs-help-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	background: rgba(20,12,8,0.5);
	border: 1px solid rgba(245,230,204,0.18);
	color: rgba(245,230,204,0.85);
	border-radius: 8px;
	font-size: 12px; font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s;
}
.rs-help-btn:hover { border-color: rgba(248,196,84,0.5); color: #ffe27a; }

/* -------- grid: wide builder + stacked sidebar ---------------------
   2-column layout. Builder takes every available pixel on the left;
   sidebar is a fixed 340px column holding Now-firing → Queue →
   Details → Tips, stacked vertically.                              */
.rs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 18px;
	align-items: start;
}
.rs-col, .rs-sidebar {
	display: flex; flex-direction: column; gap: 16px;
	min-width: 0;
}

@media (max-width: 980px) {
	.rs-grid { grid-template-columns: 1fr; }
}

/* -------- panels -------- */
.rs-panel {
	background: rgba(20,12,8,0.5);
	border: 1px solid rgba(245,230,204,0.10);
	border-radius: 12px;
	padding: 14px 16px 16px;
	display: flex; flex-direction: column;
}
.rs-panel--fire {
	border-color: rgba(220,80,60,0.25);
	background: linear-gradient(180deg, rgba(220,80,60,0.05), rgba(20,12,8,0)) rgba(20,12,8,0.55);
}
.rs-panel--builder { padding: 18px 20px 20px; }
.rs-panel--details { background: rgba(248,196,84,0.04); border-color: rgba(248,196,84,0.28); }
.rs-panel--tip { background: rgba(20,12,8,0.4); }
.rs-panel__head {
	display: flex; align-items: center; gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(245,230,204,0.10);
}
.rs-panel__head h3 {
	margin: 0; font-size: 13px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: #f5e6cc;
}
.rs-panel__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px;
	background: rgba(248,196,84,0.10);
	color: #f8c454;
	border-radius: 6px;
}
.rs-panel--fire .rs-panel__icon { background: rgba(220,80,60,0.14); color: #ff8a78; }
.rs-panel__hint {
	margin-left: auto;
	font-size: 10.5px; color: rgba(245,230,204,0.5);
	font-weight: 500; letter-spacing: 0.04em;
}

/* -------- lists -------- */
.rs-list {
	display: flex; flex-direction: column; gap: 6px;
	max-height: 280px; overflow-y: auto;
	margin: 0 -4px; padding: 0 4px;
}
.rs-list--queue { max-height: 360px; }
.rs-list:has(.alarm-item) .rs-empty,
.rs-list:has(.disarm-alarm-item) .rs-empty { display: none; }
.rs-list::-webkit-scrollbar { width: 8px; }
.rs-list::-webkit-scrollbar-thumb { background: rgba(245,230,204,0.15); border-radius: 4px; }
.rs-list::-webkit-scrollbar-thumb:hover { background: rgba(245,230,204,0.3); }
.rs-list::-webkit-scrollbar-track { background: transparent; }
.rs-empty {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 28px 14px;
	color: rgba(245,230,204,0.45);
	text-align: center;
}
.rs-empty__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border: 1px dashed rgba(245,230,204,0.18);
	border-radius: 50%;
	color: rgba(245,230,204,0.35);
}
.rs-empty__txt { font-size: 12px; line-height: 1.45; max-width: 220px; }

/* alarm rows (JS creates these dynamically — class names locked) */
.alarm-item,
.disarm-alarm-item {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 9px 12px;
	background: rgba(20,12,8,0.55);
	border: 1px solid rgba(245,230,204,0.10);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.12s, background 0.12s, transform 0.06s;
}
.alarm-item:hover { border-color: rgba(248,196,84,0.45); background: rgba(248,196,84,0.05); }
.alarm-item.selected {
	border-color: rgba(248,196,84,0.7);
	background: rgba(248,196,84,0.10);
}
.alarm-item.mouse-drawn-div {
	border-color: rgba(248,196,84,0.5);
	box-shadow: 0 0 0 2px rgba(248,196,84,0.10);
}
.alarm-item b,
.disarm-alarm-item b {
	font-weight: 600; color: #f5e6cc;
	font-size: 13px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	max-width: 60%;
}
.time-counter {
	font-style: normal;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	font-size: 12.5px;
	color: rgba(245,230,204,0.85);
	background: rgba(245,230,204,0.06);
	border: 1px solid rgba(245,230,204,0.14);
	border-radius: 5px;
	padding: 2px 8px;
}
.alarm-item.selected .time-counter {
	color: #f8c454; border-color: rgba(248,196,84,0.45); background: rgba(248,196,84,0.06);
}

/* Now-firing rows (disarm list) */
.disarm-alarm-item {
	border-color: rgba(220,80,60,0.45);
	background: rgba(220,80,60,0.08);
}
.disarm-alarm-item:hover {
	border-color: rgba(220,80,60,0.7); background: rgba(220,80,60,0.18);
}
.disarm-alarm-item b { color: #ffd2c8; }
.disarm-alarm-item .time-counter {
	color: #ff8a78; border-color: rgba(220,80,60,0.5); background: rgba(220,80,60,0.06);
}

@keyframes rs-blink-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(220,80,60,0.55); }
	50%      { box-shadow: 0 0 0 6px rgba(220,80,60,0.0); }
}
.blink-disarm { animation: rs-blink-pulse 1.1s ease-in-out infinite; }

/* -------- fields & inputs -------- */
.rs-field {
	display: flex; flex-direction: column; gap: 6px;
	margin-bottom: 14px;
}
.rs-field--full { width: 100%; }
.rs-field-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 540px) {
	.rs-field-row { grid-template-columns: 1fr; }
}
.rs-field__lbl-row {
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.rs-field__lbl {
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: rgba(245,230,204,0.85);
}
.rs-field__hint {
	font-size: 11.5px; color: rgba(245,230,204,0.5); line-height: 1.4;
}
.rs-field__chip {
	display: inline-block;
	padding: 2px 10px;
	background: rgba(248,196,84,0.12);
	border: 1px solid rgba(248,196,84,0.4);
	color: #f8c454;
	border-radius: 999px;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	font-size: 11.5px; font-weight: 700;
	white-space: nowrap;
	flex: 0 0 auto;
}
.rs-field__lbl { white-space: nowrap; }
.rs-input {
	width: 100%;
	padding: 10px 12px;
	background: rgba(20,12,8,0.6);
	border: 1px solid rgba(245,230,204,0.18);
	color: #f5e6cc;
	border-radius: 8px;
	font-size: 13px;
	transition: border-color 0.15s, background 0.15s;
}
.rs-input--big { padding: 12px 14px; font-size: 14.5px; font-weight: 500; }
.rs-input:focus {
	outline: none;
	border-color: rgba(248,196,84,0.6);
	background: rgba(20,12,8,0.85);
}
select.rs-input {
	appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, rgba(248,196,84,0.7) 50%),
	                  linear-gradient(135deg, rgba(248,196,84,0.7) 50%, transparent 50%);
	background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 30px;
}

/* custom sliders */
.rs-slider {
	-webkit-appearance: none; appearance: none;
	width: 100%; height: 6px;
	background: rgba(245,230,204,0.10);
	border-radius: 999px;
	outline: none;
	cursor: pointer;
}
.rs-slider::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 18px; height: 18px;
	background: #f8c454;
	border: 2px solid rgba(20,12,8,0.85);
	border-radius: 50%;
	cursor: grab;
	box-shadow: 0 1px 3px rgba(0,0,0,0.35);
	transition: transform 0.06s;
}
.rs-slider::-webkit-slider-thumb:active { transform: scale(1.1); cursor: grabbing; }
.rs-slider::-moz-range-thumb {
	width: 18px; height: 18px;
	background: #f8c454;
	border: 2px solid rgba(20,12,8,0.85);
	border-radius: 50%;
	cursor: grab;
}
.rs-slider::-moz-range-track {
	height: 6px; background: rgba(245,230,204,0.10); border-radius: 999px;
}

/* segmented behaviour radio */
.rs-segmented {
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.rs-segmented label {
	cursor: pointer;
	border: 1px solid rgba(245,230,204,0.18);
	border-radius: 10px;
	padding: 10px 14px;
	background: rgba(20,12,8,0.4);
	transition: border-color 0.15s, background 0.15s, transform 0.06s;
}
.rs-segmented label:hover { border-color: rgba(248,196,84,0.5); background: rgba(248,196,84,0.04); }
.rs-segmented input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rs-segmented label span { display: flex; flex-direction: column; gap: 2px; }
.rs-segmented label strong {
	font-size: 13px; color: #f5e6cc; font-weight: 700;
}
.rs-segmented label small {
	font-size: 11px; color: rgba(245,230,204,0.55);
}
.rs-segmented label:has(input:checked) {
	border-color: rgba(248,196,84,0.7);
	background: rgba(248,196,84,0.08);
}
.rs-segmented label:has(input:checked) strong { color: #f8c454; }

/* -------- buttons -------- */
.rs-actions {
	display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap;
}
.rs-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13px; font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s, transform 0.06s;
}
.rs-btn:active { transform: translateY(1px); }
.rs-btn--primary {
	background: rgba(248,196,84,0.16);
	border-color: rgba(248,196,84,0.55);
	color: #ffe27a;
}
/* Inside the builder action row only, primary stays compact next to the
   ghost Test-sound button instead of stretching to fill the row.        */
.rs-actions .rs-btn--primary { justify-content: center; }
/* The Restart/Remove pair in the details panel still benefits from equal-
   width filling, so .rs-detail-actions keeps its own flex:1 override. */
.rs-btn--primary:hover { background: rgba(248,196,84,0.28); border-color: rgba(248,196,84,0.85); color: #fff1a8; }
.rs-btn--ghost {
	background: rgba(20,12,8,0.4);
	border-color: rgba(245,230,204,0.18);
	color: rgba(245,230,204,0.85);
}
.rs-btn--ghost:hover { border-color: rgba(248,196,84,0.45); color: #ffe27a; }
.rs-btn--danger {
	background: rgba(220,80,60,0.14);
	border-color: rgba(220,80,60,0.45);
	color: #ff8a78;
}
.rs-btn--danger:hover { background: rgba(220,80,60,0.26); border-color: rgba(220,80,60,0.75); color: #ffb0a3; }

/* -------- details panel rows -------- */
.rs-detail {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed rgba(245,230,204,0.10);
}
.rs-detail:last-of-type { border-bottom: none; }
.rs-detail__lbl {
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: rgba(245,230,204,0.55);
	flex: 0 0 auto;
}
.rs-detail__val {
	font-size: 13px; color: #f5e6cc;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	text-align: right; word-break: break-word;
}
.rs-detail__val--big {
	font-family: inherit;
	font-size: 15px; font-weight: 600; color: #f8c454;
}
.rs-detail-actions {
	display: flex; gap: 8px; margin-top: 12px;
}
.rs-detail-actions .rs-btn { flex: 1; justify-content: center; }

/* tips list */
.rs-tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rs-tips li {
	font-size: 12.5px; line-height: 1.5; color: rgba(245,230,204,0.78);
	padding-left: 16px; position: relative;
}
.rs-tips li::before {
	content: '';
	position: absolute; left: 0; top: 7px;
	width: 6px; height: 6px;
	background: #f8c454;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(248,196,84,0.18);
}
.rs-tips li strong { color: #f5e6cc; font-weight: 600; }

/* -------- help modal -------- */
.rs-modal {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
}
.rs-modal.hidden { display: none; }
.rs-modal__bg {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.65);
	backdrop-filter: blur(4px);
	cursor: pointer;
}
.rs-modal__inner {
	position: relative; z-index: 1;
	width: 100%; max-width: 640px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: linear-gradient(180deg, rgba(248,196,84,0.04), rgba(20,12,8,0)) rgba(20,12,8,0.95);
	border: 1px solid rgba(245,230,204,0.15);
	border-radius: 14px;
	padding: 22px 26px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.rs-modal__head {
	display: flex; align-items: center; gap: 12px;
	padding-bottom: 14px; margin-bottom: 14px;
	border-bottom: 1px solid rgba(245,230,204,0.10);
}
.rs-modal__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	background: rgba(248,196,84,0.10);
	color: #f8c454; border-radius: 50%; flex: 0 0 auto;
}
.rs-modal__eyebrow {
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: #f8c454;
}
.rs-modal__head h3 { margin: 0; font-size: 18px; color: #f5e6cc; }
.rs-modal__close {
	margin-left: auto;
	width: 28px; height: 28px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(20,12,8,0.6);
	border: 1px solid rgba(245,230,204,0.18);
	color: rgba(245,230,204,0.75);
	cursor: pointer;
}
.rs-modal__close:hover { color: #ffe27a; border-color: rgba(248,196,84,0.5); }
.rs-modal__section { margin-bottom: 16px; }
.rs-modal__section:last-child { margin-bottom: 0; }
.rs-modal__section-title {
	display: flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; color: #f5e6cc;
	margin-bottom: 8px;
}
.rs-modal__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px;
	background: rgba(248,196,84,0.14);
	color: #f8c454;
	border-radius: 50%;
	font-size: 11px;
}
.rs-modal__list { margin: 0; padding-left: 18px; }
.rs-modal__list li { font-size: 13px; line-height: 1.55; color: rgba(245,230,204,0.78); margin-bottom: 4px; }
.rs-modal__tag {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	margin-right: 6px;
}
.rs-modal__tag--bad { background: rgba(220,80,60,0.14); color: #ff8a78; border: 1px solid rgba(220,80,60,0.45); }

.hidden { display: none !important; }

/* -------- light theme ---------------------------------------------- */
html[data-theme="light"] .rs-hero { background: linear-gradient(180deg, rgba(217,119,6,0.05), rgba(255,250,242,0)) rgba(255,250,242,0.7); border-color: rgba(180,140,80,0.22); }
html[data-theme="light"] .rs-hero__eyebrow { color: #d97706; }
html[data-theme="light"] .rs-hero__title { color: #3a2410; }
html[data-theme="light"] .rs-hero__title-icon { background: rgba(217,119,6,0.12); color: #d97706; }
html[data-theme="light"] .rs-hero__sub { color: rgba(58,36,16,0.78); }
html[data-theme="light"] .rs-stat-pill { background: rgba(217,119,6,0.10); border-color: rgba(217,119,6,0.4); }
html[data-theme="light"] .rs-stat-pill__num { color: #b25b00; }
html[data-theme="light"] .rs-stat-pill__lbl { color: rgba(58,36,16,0.75); }
html[data-theme="light"] .rs-help-btn { background: rgba(255,250,242,0.7); color: rgba(58,36,16,0.85); border-color: rgba(180,140,80,0.28); }
html[data-theme="light"] .rs-help-btn:hover { border-color: rgba(217,119,6,0.6); color: #a0541b; }
html[data-theme="light"] .rs-panel { background: rgba(255,250,242,0.7); border-color: rgba(180,140,80,0.18); }
html[data-theme="light"] .rs-panel--fire { background: rgba(220,80,60,0.06); border-color: rgba(220,80,60,0.32); }
html[data-theme="light"] .rs-panel--details { background: rgba(217,119,6,0.05); border-color: rgba(217,119,6,0.3); }
html[data-theme="light"] .rs-panel__head { border-bottom-color: rgba(180,140,80,0.18); }
html[data-theme="light"] .rs-panel__head h3 { color: #3a2410; }
html[data-theme="light"] .rs-panel__icon { background: rgba(217,119,6,0.1); color: #d97706; }
html[data-theme="light"] .rs-panel--fire .rs-panel__icon { background: rgba(220,80,60,0.14); color: #c1421f; }
html[data-theme="light"] .rs-panel__hint { color: rgba(58,36,16,0.55); }
html[data-theme="light"] .alarm-item, html[data-theme="light"] .disarm-alarm-item { background: rgba(255,250,242,0.85); border-color: rgba(180,140,80,0.22); }
html[data-theme="light"] .alarm-item b, html[data-theme="light"] .disarm-alarm-item b { color: #3a2410; }
html[data-theme="light"] .alarm-item.selected { border-color: rgba(217,119,6,0.7); background: rgba(217,119,6,0.08); }
html[data-theme="light"] .time-counter { color: rgba(58,36,16,0.85); border-color: rgba(180,140,80,0.3); background: rgba(255,250,242,0.6); }
html[data-theme="light"] .disarm-alarm-item { background: rgba(220,80,60,0.07); border-color: rgba(220,80,60,0.4); }
html[data-theme="light"] .rs-input { background: rgba(255,250,242,0.7); color: #3a2410; border-color: rgba(180,140,80,0.32); }
html[data-theme="light"] .rs-input:focus { border-color: rgba(217,119,6,0.6); background: rgba(255,250,242,0.95); }
html[data-theme="light"] .rs-field__lbl { color: rgba(58,36,16,0.85); }
html[data-theme="light"] .rs-field__hint { color: rgba(58,36,16,0.55); }
html[data-theme="light"] .rs-field__chip { background: rgba(217,119,6,0.1); color: #b25b00; border-color: rgba(217,119,6,0.45); }
html[data-theme="light"] .rs-slider { background: rgba(180,140,80,0.18); }
html[data-theme="light"] .rs-slider::-webkit-slider-thumb { background: #d97706; border-color: rgba(255,250,242,0.95); }
html[data-theme="light"] .rs-slider::-moz-range-thumb { background: #d97706; border-color: rgba(255,250,242,0.95); }
html[data-theme="light"] .rs-segmented label { background: rgba(255,250,242,0.7); border-color: rgba(180,140,80,0.28); }
html[data-theme="light"] .rs-segmented label strong { color: #3a2410; }
html[data-theme="light"] .rs-segmented label small { color: rgba(58,36,16,0.55); }
html[data-theme="light"] .rs-segmented label:has(input:checked) { border-color: rgba(217,119,6,0.65); background: rgba(217,119,6,0.07); }
html[data-theme="light"] .rs-segmented label:has(input:checked) strong { color: #b25b00; }
html[data-theme="light"] .rs-btn--primary { background: rgba(217,119,6,0.14); border-color: rgba(217,119,6,0.55); color: #a0541b; }
html[data-theme="light"] .rs-btn--primary:hover { background: rgba(217,119,6,0.26); color: #7a3f12; }
html[data-theme="light"] .rs-btn--ghost { background: rgba(255,250,242,0.7); border-color: rgba(180,140,80,0.3); color: rgba(58,36,16,0.85); }
html[data-theme="light"] .rs-btn--ghost:hover { border-color: rgba(217,119,6,0.55); color: #a0541b; }
html[data-theme="light"] .rs-detail__lbl { color: rgba(58,36,16,0.55); }
html[data-theme="light"] .rs-detail__val { color: #3a2410; }
html[data-theme="light"] .rs-detail__val--big { color: #b25b00; }
html[data-theme="light"] .rs-tips li { color: rgba(58,36,16,0.78); }
html[data-theme="light"] .rs-tips li strong { color: #3a2410; }
html[data-theme="light"] .rs-tips li::before { background: #d97706; box-shadow: 0 0 0 2px rgba(217,119,6,0.2); }
html[data-theme="light"] .rs-modal__inner { background: linear-gradient(180deg, rgba(217,119,6,0.05), rgba(255,250,242,0)) rgba(255,250,242,0.97); border-color: rgba(180,140,80,0.28); }
html[data-theme="light"] .rs-modal__head { border-bottom-color: rgba(180,140,80,0.18); }
html[data-theme="light"] .rs-modal__head h3 { color: #3a2410; }
html[data-theme="light"] .rs-modal__eyebrow { color: #d97706; }
html[data-theme="light"] .rs-modal__icon { background: rgba(217,119,6,0.1); color: #d97706; }
html[data-theme="light"] .rs-modal__num { background: rgba(217,119,6,0.14); color: #d97706; }
html[data-theme="light"] .rs-modal__section-title { color: #3a2410; }
html[data-theme="light"] .rs-modal__list li { color: rgba(58,36,16,0.8); }
html[data-theme="light"] .rs-modal__close { background: rgba(255,250,242,0.85); color: rgba(58,36,16,0.7); border-color: rgba(180,140,80,0.32); }
