/* Styled to inherit CircusMobile v1.6+ light/dark palette; isolated from other plugins. */
.cmth-wrap { --cmth-ink:#ecf5ff;--cmth-muted:#a7bdcf;--cmth-accent:#ffb348;--cmth-panel:#10273b;--cmth-edge:rgba(180,210,238,.2); color:var(--cmth-ink);background:linear-gradient(145deg,#081827,#0d2c41);border:1px solid var(--cmth-edge);box-shadow:0 22px 60px #020e191b;border-radius:22px;padding:clamp(22px,4vw,44px);margin:34px auto 55px;max-width:1180px;font-family:inherit;box-sizing:border-box}
html[data-cm-theme="light"] .cmth-wrap,html[data-cm-theme="light"] .cmth-wrap {--cmth-ink:#173047;--cmth-muted:#556c7c;--cmth-accent:#94500e;--cmth-panel:#e4edf5;--cmth-edge:rgba(57,89,116,.25);background:linear-gradient(140deg,#f9fbfd,#cddfeb)}
.cmth-wrap *, .cmth-wrap *::before,.cmth-wrap *::after{box-sizing:border-box}
.cmth-eyebrow{font-weight:750;font-size:12px;letter-spacing:.17em;color:var(--cmth-accent);text-transform:uppercase;display:flex;align-items:center;gap:12px}.cmth-dot{display:inline-block;flex:none;width:10px;height:10px;background:#4de0bb;border-radius:50%;box-shadow:0 0 0 5px #4de0bb19,0 0 16px #4de0bb55;animation:cmth-pulse 2s infinite}
@keyframes cmth-pulse{50%{box-shadow:0 0 0 9px #4de0bb04,0 0 18px #4de0bb55}}
.cmth-wrap h2{font-size:clamp(29px,3.8vw,49px);color:var(--cmth-ink);letter-spacing:-.04em;margin:14px 0 10px;line-height:1.1}.cmth-lead{font-size:clamp(15px,1.5vw,19px);color:var(--cmth-muted);max-width:780px;line-height:1.65;margin:0 0 24px}.cmth-fine{font-size:12px;line-height:1.7;color:var(--cmth-muted);margin:22px 0 0}.cmth-wrap a{color:var(--cmth-accent)}
.cmth-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cmth-tool-card{display:flex;flex-direction:column;gap:12px;min-width:0;border:1px solid var(--cmth-edge);border-radius:16px;padding:24px;background:linear-gradient(145deg,var(--cmth-panel),transparent);text-decoration:none!important;color:var(--cmth-ink)!important;transition:transform .2s,border-color .2s}.cmth-tool-card:hover,.cmth-tool-card:focus-visible{transform:translateY(-3px);border-color:var(--cmth-accent)}.cmth-card-icon{display:grid;place-items:center;width:55px;height:50px;background:#f6a63b17;border:1px solid #d9974565;border-radius:14px;color:var(--cmth-accent);font-weight:900;font-size:20px}.cmth-tool-card strong{font-size:22px;line-height:1.2}.cmth-tool-card>span:not(.cmth-card-icon){color:var(--cmth-muted);line-height:1.6}.cmth-tool-card small{margin-top:auto;font-size:12px;color:var(--cmth-accent);font-weight:800;letter-spacing:.09em}
.cmth-console{max-width:790px;margin:0 auto}.cmth-radio-face{background:linear-gradient(140deg,#2a4154,#07121f 45%,#1c3246);border:2px solid #456076;box-shadow:inset 0 2px 6px #ffffff24,0 12px 32px #0005;border-radius:22px;padding:clamp(16px,3vw,30px);color:#e9f7ff}.cmth-face-top{display:flex;gap:10px;justify-content:space-between;color:#ffbe68;font-size:11px;font-weight:800;letter-spacing:.14em}.cmth-lcd{margin:14px 0;border-radius:12px;background:linear-gradient(140deg,#031620,#075057);border:4px solid #09121c;box-shadow:inset 0 0 22px #0009;padding:16px 25px;color:#9cfdea}.cmth-lcd>span{font:700 13px monospace;letter-spacing:.14em}.cmth-lcd strong{font-family:ui-monospace,Consolas,monospace;white-space:nowrap;display:block;font-size:clamp(42px,7vw,72px);font-variant-numeric:tabular-nums;letter-spacing:-.06em;line-height:1.3}.cmth-lcd strong small{font-size:.24em;letter-spacing:0}.cmth-s-meter{display:flex;align-items:end;gap:5px;height:16px}.cmth-s-meter i{width:8%;height:45%;background:#70e5c5;border-radius:2px;animation:cmth-meter 2.5s ease-in-out infinite alternate}.cmth-s-meter i:nth-child(2n){height:75%;animation-delay:.35s}.cmth-s-meter i:nth-child(3n){height:95%;animation-delay:.7s;background:#ffab4f}@keyframes cmth-meter{50%{height:20%}100%{height:100%}}.cmth-face-info strong{font-size:19px}.cmth-face-info p{color:#acccdb;line-height:1.5;font-size:15px}.cmth-radio-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.cmth-radio-actions button{border:1px solid #c18a47;background:#f2b257;color:#142239;border-radius:10px;min-height:42px;padding:7px 16px;font-weight:800;cursor:pointer}.cmth-radio-actions label{font-weight:750;font-size:12px;display:flex;align-items:center;gap:9px}.cmth-radio-actions select{padding:9px 12px;background:#091927;color:white;border:1px solid #486b86;border-radius:9px;max-width:200px}.cmth-radio-actions .cmth-share{background:transparent;color:#ffca80}.cmth-channel-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-top:24px}.cmth-channel-grid button{background:var(--cmth-panel);border:1px solid var(--cmth-edge);border-radius:10px;color:var(--cmth-ink);padding:10px 3px;cursor:pointer;min-width:0}.cmth-channel-grid button b{display:block;font-size:18px}.cmth-channel-grid button span{display:block;font:12px ui-monospace,monospace;color:var(--cmth-muted)}.cmth-channel-grid button.is-active{border-color:#edaf56;box-shadow:0 0 0 2px #edaf5620;color:var(--cmth-accent)}.cmth-channel-grid button:hover{border-color:var(--cmth-accent)}.cmth-console{scroll-margin-top:95px}
.cmth-calculator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cmth-calc-box{border:1px solid var(--cmth-edge);border-radius:16px;background:var(--cmth-panel);padding:23px;min-width:0}.cmth-calc-box h3{color:var(--cmth-ink);font-size:22px;margin:0 0 8px}.cmth-calc-box p{color:var(--cmth-muted);line-height:1.55;font-size:14px}.cmth-calc-box label{display:block;color:var(--cmth-ink);font-weight:650;font-size:13px;margin:14px 0}.cmth-calc-box input,.cmth-museum-search input{display:block;max-width:100%;width:100%;border-radius:10px;border:1px solid var(--cmth-edge);background:#fff;color:#13283d;padding:11px 13px;font:inherit;margin-top:5px}.cmth-calc-box output{display:block;min-height:75px;border-radius:10px;padding:14px;background:rgba(85,179,187,.12);border:1px solid var(--cmth-edge);color:var(--cmth-ink);line-height:1.5;font-size:14px;font-weight:600}
.cmth-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.cmth-metrics>div{background:var(--cmth-panel);border:1px solid var(--cmth-edge);border-radius:16px;padding:25px;display:flex;flex-direction:column;gap:9px}.cmth-metrics span{color:var(--cmth-muted);font-size:14px}.cmth-metrics strong{color:var(--cmth-ink);font:750 clamp(37px,5vw,63px) ui-monospace,monospace}.cmth-metrics small{color:var(--cmth-muted)}.cmth-status{display:inline-flex;gap:12px;align-items:center;border:1px solid var(--cmth-edge);border-radius:999px;padding:12px 20px;margin:24px 0;color:var(--cmth-ink);background:var(--cmth-panel);font-weight:750}.cmth-dx-education{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.cmth-dx-education article{border-left:3px solid #f4aa45;padding:4px 17px}.cmth-dx-education h3{color:var(--cmth-ink);font-size:19px;margin:0 0 9px}.cmth-dx-education p{font-size:14px;line-height:1.65;color:var(--cmth-muted)}
.cmth-museum-search{display:block;max-width:450px;color:var(--cmth-muted);font-weight:700;margin:20px 0}.cmth-museum-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cmth-museum-card{padding:16px;background:var(--cmth-panel);border:1px solid var(--cmth-edge);border-radius:14px;min-width:0}.cmth-museum-photo{aspect-ratio:4/3;overflow:hidden;border-radius:10px}.cmth-museum-photo img{width:100%;height:100%;object-fit:contain}.cmth-museum-card h3{color:var(--cmth-ink);font-size:21px;margin:14px 0}.cmth-museum-card dl{margin:12px 0}.cmth-museum-card dl>div{display:flex;gap:9px;padding:5px 0;border-bottom:1px solid var(--cmth-edge)}.cmth-museum-card dt{min-width:95px;color:var(--cmth-muted)}.cmth-museum-card dd{margin:0;color:var(--cmth-ink)}.cmth-museum-card p{color:var(--cmth-muted);line-height:1.5}.cmth-museum-card[hidden]{display:none}.cmth-empty{padding:30px;border:1px dashed var(--cmth-edge);border-radius:14px}.cmth-empty strong{font-size:20px}.cmth-empty p{color:var(--cmth-muted)}
@media(max-width:900px){.cmth-channel-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.cmth-museum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cmth-dx-education{grid-template-columns:1fr}}
@media(max-width:620px){.cmth-wrap{padding:20px;margin:20px auto 40px;border-radius:14px}.cmth-tool-grid,.cmth-calculator-grid,.cmth-metrics,.cmth-museum-grid{grid-template-columns:1fr}.cmth-channel-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.cmth-channel-grid button b{font-size:16px}.cmth-channel-grid button span{font-size:10px}.cmth-radio-actions label{width:100%;flex-wrap:wrap}.cmth-lcd{padding:15px}.cmth-face-top{font-size:9px}}
@media(prefers-reduced-motion:reduce){.cmth-wrap *{animation:none!important;transition:none!important}}
