/* SpinWheelJoy Tool Companion v1.5. No styling overrides to the wheel, LED or app. */
.swjx-container[hidden]{display:none!important}
.swjx-container{width:min(100%,1280px);margin:24px auto 44px;padding:0 2px;font-family:inherit}
.swjx-panel{--swjx-accent:#4964e9;box-sizing:border-box;position:relative;overflow:hidden;border:1px solid #e2e8f1;border-radius:24px;padding:clamp(18px,3vw,34px);background:linear-gradient(140deg,color-mix(in srgb,var(--swjx-accent) 7%,white),#fff 56%);box-shadow:0 12px 40px rgba(24,38,65,.045);color:#22314b}
.swjx-panel *{box-sizing:border-box}
.swjx-head{margin:0 0 16px}.swjx-head h2{font-size:clamp(23px,3vw,31px);letter-spacing:-.025em;line-height:1.22;margin:5px 0 0;color:inherit}
.swjx-eyebrow{font-size:11px;font-weight:850;letter-spacing:.095em;text-transform:uppercase;color:var(--swjx-accent)}
.swjx-intro{margin:0 0 18px;color:#52617a;line-height:1.6;font-size:14px;max-width:78ch}
.swjx-formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:10px 0 14px}.swjx-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.swjx-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:800;color:#394d69}.swjx-field:has(input[type=checkbox]){justify-content:end;flex-direction:row-reverse;align-items:center;gap:10px;padding:8px 0;white-space:normal}
.swjx-field input:not([type=checkbox]),.swjx-field select,.swjx-field textarea{width:100%;display:block;font:inherit;font-size:15px;font-weight:500;min-height:43px;padding:10px 12px;border:1px solid #ced9e8;border-radius:12px;color:#233653;background:#fff;outline-offset:2px;resize:vertical}
.swjx-field input[type=checkbox]{width:19px;height:19px;accent-color:var(--swjx-accent)}
.swjx-field textarea{line-height:1.55;min-height:122px}
.swjx-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.swjx-btn{appearance:none;border:0;cursor:pointer;min-height:44px;border-radius:12px;padding:10px 18px;font:inherit;font-size:14px;font-weight:800;background:var(--swjx-accent);color:white;transition:transform .16s ease,filter .16s ease}
.swjx-btn:hover:not(:disabled){filter:brightness(.93);transform:translateY(-1px)}.swjx-btn:focus-visible{outline:3px solid #6a9df1;outline-offset:3px}
.swjx-btn:disabled{opacity:.45;cursor:not-allowed}.swjx-secondary{background:#fff;color:#263753;border:1px solid #d6e0ed}
.swjx-status{font-size:13px;color:#52617a;min-height:18px;margin-top:8px}.swjx-status[data-state=error]{color:#b53d45;font-weight:700}.swjx-status[data-state=ok]{color:#27836b;font-weight:650}
.swjx-result{margin-top:12px;min-height:0}.swjx-result:empty{display:none}.swjx-chipgrid{display:flex;flex-wrap:wrap;gap:8px}.swjx-chip{font-weight:750;background:#fff;border:1px solid #dde4f0;padding:9px 13px;border-radius:99px;color:#233753;font-size:14px}
.swjx-giant-letter{font-size:clamp(80px,14vw,138px);line-height:1.12;font-weight:900;letter-spacing:-.07em;color:var(--swjx-accent);text-align:center}
.swjx-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.swjx-assignment{border:1px solid #dbe4ef;background:#fff;padding:16px;border-radius:14px}.swjx-assignment h3{font-size:18px;margin:0 0 9px;color:var(--swjx-accent)}.swjx-assignment ul{padding-left:19px;margin:0;line-height:1.65;color:#43516a}
.swjx-prompt-card{border:1px solid #d8e3ef;background:#fff;border-radius:18px;padding:20px}.swjx-prompt-card h3{font-size:clamp(20px,3vw,28px);line-height:1.3;margin:11px 0 9px}.swjx-prompt-card p{margin:0 0 13px;font-size:14px;color:#5a6680}
.swjx-timer{font-weight:850;font-size:clamp(45px,7vw,76px);text-align:center;letter-spacing:-.06em;color:var(--swjx-accent);font-variant-numeric:tabular-nums}
.swjx-color-preview{height:78px;width:100%;max-width:320px;border:1px solid rgba(0,0,0,.1);border-radius:14px;margin-bottom:12px}.swjx-result>strong{font-size:24px;vertical-align:middle;margin-right:16px}
.swjx-reveal-label{font-size:12px;font-weight:850;letter-spacing:.06em;color:var(--swjx-accent)}.swjx-result>h3{font-size:28px;margin:8px 0 4px}.swjx-result>p{font-size:14px;color:#5b6980;margin:3px 0}
html[data-theme=dark] .swjx-panel{color:#f0f5ff;background:linear-gradient(140deg,color-mix(in srgb,var(--swjx-accent) 16%,#141c2e),#141c2e 62%);border-color:#37415c;box-shadow:none}
html[data-theme=dark] .swjx-intro,html[data-theme=dark] .swjx-status,html[data-theme=dark] .swjx-field{color:#c1cbe0}
html[data-theme=dark] .swjx-field input:not([type=checkbox]),html[data-theme=dark] .swjx-field textarea,html[data-theme=dark] .swjx-field select,html[data-theme=dark] .swjx-chip,html[data-theme=dark] .swjx-assignment,html[data-theme=dark] .swjx-prompt-card{background:#202b42;color:#f0f5ff;border-color:#45516b}
html[data-theme=dark] .swjx-secondary{background:#2a3852;color:#edf2ff;border-color:#4b5b7a}
html[data-theme=dark] .swjx-assignment ul,html[data-theme=dark] .swjx-prompt-card p{color:#c4cde0}
html[data-theme=dark] .swjx-status[data-state=ok]{color:#94e3c1}html[data-theme=dark] .swjx-status[data-state=error]{color:#ffafb6}
@media(max-width:640px){.swjx-panel{padding:20px 15px;border-radius:18px}.swjx-two{grid-template-columns:1fr}.swjx-formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.swjx-btn{flex:1 1 auto}.swjx-field textarea{min-height:102px}}
@media(prefers-reduced-motion:reduce){.swjx-btn{transition:none}.swjx-btn:hover{transform:none}}
