.csc-shell-p3n8{
  --csc-accent:#db3270;
  --csc-rgb:219,50,112;
  --csc-ink:#ffffff;
  --csc-bg:#ffffff;
  --csc-soft:#f6f3f4;
  --csc-text:#1c1418;
  --csc-muted:#6f646a;
  --csc-line:#e8e1e4;
  box-sizing:border-box;
  width:100%;
  max-width:680px;
  margin:24px auto;
  padding:0;
  overflow:hidden;
  background:var(--csc-bg);
  color:var(--csc-text);
  border:1px solid var(--csc-line);
  border-radius:28px;
  box-shadow:0 12px 34px rgba(28,20,24,.09);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.4;
  -webkit-tap-highlight-color:transparent;
}
.csc-shell-p3n8.csc-dark{
  --csc-bg:#181316;
  --csc-soft:#231c20;
  --csc-text:#f6f1f3;
  --csc-muted:#a89ca3;
  --csc-line:#33292e;
  box-shadow:0 12px 34px rgba(0,0,0,.4);
}
.csc-shell-p3n8 *,
.csc-shell-p3n8 *::before,
.csc-shell-p3n8 *::after{box-sizing:border-box}
.csc-shell-p3n8 [hidden]{display:none!important}

/* Button reset (themes style buttons aggressively) */
.csc-shell-p3n8 button{
  -webkit-appearance:none;appearance:none;
  margin:0;padding:0;border:0;background:none;
  font:inherit;color:inherit;text-transform:none;letter-spacing:normal;
  text-shadow:none;box-shadow:none;cursor:pointer;text-align:inherit;
  touch-action:manipulation;
}
.csc-shell-p3n8 button:focus-visible{outline:3px solid rgba(var(--csc-rgb),.55);outline-offset:2px}

/* Top band: mode cards or heading */
.csc-shell-p3n8 .csc-top{
  padding:16px;
  background:linear-gradient(180deg,rgba(var(--csc-rgb),.12),rgba(var(--csc-rgb),.03));
  border-bottom:1px solid var(--csc-line);
}
.csc-shell-p3n8 .csc-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.csc-shell-p3n8 .csc-mode{
  display:flex;align-items:center;gap:12px;
  min-height:64px;padding:10px 14px;
  background:var(--csc-bg);
  border:1.5px solid var(--csc-line);border-radius:18px;
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.csc-shell-p3n8 .csc-mode .csc-icon{
  width:36px;height:36px;padding:8px;flex:none;
  border-radius:12px;background:var(--csc-soft);color:var(--csc-muted);
  transition:background .2s,color .2s;
}
.csc-shell-p3n8 .csc-mode-text{display:flex;flex-direction:column;min-width:0}
.csc-shell-p3n8 .csc-mode-text strong{font-size:16px;font-weight:700;line-height:1.2}
.csc-shell-p3n8 .csc-mode-text small{font-size:12.5px;color:var(--csc-muted);line-height:1.3}
.csc-shell-p3n8 .csc-mode[aria-pressed="true"]{
  border-color:var(--csc-accent);
  box-shadow:0 0 0 3px rgba(var(--csc-rgb),.16);
}
.csc-shell-p3n8 .csc-mode[aria-pressed="true"] .csc-icon{background:var(--csc-accent);color:var(--csc-ink)}

/* Single mode heading */
.csc-shell-p3n8 .csc-heading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px}
.csc-shell-p3n8 .csc-heading-icon{display:block;width:36px;height:36px;padding:8px;border-radius:12px;background:var(--csc-accent);color:var(--csc-ink)}
.csc-shell-p3n8 .csc-heading-icon .csc-icon{width:100%;height:100%;display:none}
.csc-shell-p3n8.is-dust .csc-heading-icon .csc-icon-dust,
.csc-shell-p3n8.is-water .csc-heading-icon .csc-icon-water{display:block}
.csc-shell-p3n8 .csc-heading-text{display:none;font-size:18px;font-weight:700}
.csc-shell-p3n8.is-dust .csc-heading-dust,
.csc-shell-p3n8.is-water .csc-heading-water{display:block}

/* Main area: stacked on phones, two columns on wider screens */
.csc-shell-p3n8 .csc-main{
  display:grid;grid-template-columns:1fr;gap:22px;
  padding:26px 20px 22px;align-items:center;
}

/* Dial */
.csc-shell-p3n8 .csc-dial{
  position:relative;width:min(68vw,240px);aspect-ratio:1/1;
  margin:0 auto;display:grid;place-items:center;
}
.csc-shell-p3n8 .csc-ring{
  position:absolute;inset:0;width:100%;height:100%;
  transform:rotate(-90deg);
}
.csc-shell-p3n8 .csc-ring-bg{fill:none;stroke:var(--csc-line);stroke-width:8}
.csc-shell-p3n8 .csc-ring-fg{
  fill:none;stroke:var(--csc-accent);stroke-width:8;stroke-linecap:round;
  stroke-dasharray:339.292;stroke-dashoffset:339.292;
  transition:stroke-dashoffset .12s linear;
}
.csc-shell-p3n8 .csc-wave{
  position:absolute;inset:6%;border-radius:50%;
  background:rgba(var(--csc-rgb),.16);opacity:0;pointer-events:none;
}
.csc-shell-p3n8.is-running.is-dust .csc-wave{animation:csc-grow 1.3s ease-out infinite}
.csc-shell-p3n8.is-running.is-water .csc-wave{animation:csc-grow 2.8s ease-out infinite}
.csc-shell-p3n8.is-running.is-dust .csc-wave-2{animation-delay:.65s}
.csc-shell-p3n8.is-running.is-water .csc-wave-2{animation-delay:1.4s}
@keyframes csc-grow{
  from{transform:scale(.8);opacity:.6}
  to{transform:scale(1.28);opacity:0}
}

.csc-shell-p3n8 .csc-readout{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;
}
.csc-shell-p3n8 .csc-readout-icon{display:block;width:30px;height:30px;color:var(--csc-accent);margin-bottom:4px}
.csc-shell-p3n8 .csc-readout-icon .csc-icon{width:100%;height:100%;display:none}
.csc-shell-p3n8.is-dust .csc-readout-icon .csc-icon-dust,
.csc-shell-p3n8.is-water .csc-readout-icon .csc-icon-water{display:block}
.csc-shell-p3n8 .csc-clock{
  font-size:clamp(38px,12vw,50px);font-weight:700;line-height:1.05;
  font-variant-numeric:tabular-nums;letter-spacing:-.02em;
}
.csc-shell-p3n8 .csc-state{font-size:14px;color:var(--csc-muted);min-height:20px}

/* Side panel */
.csc-shell-p3n8 .csc-side{display:flex;flex-direction:column;gap:12px}
.csc-shell-p3n8 .csc-label{
  margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--csc-muted);
}
.csc-shell-p3n8 .csc-lengths{
  display:grid;grid-template-columns:repeat(3,1fr);gap:4px;
  padding:4px;background:var(--csc-soft);border-radius:14px;
}
.csc-shell-p3n8 .csc-len{
  min-height:44px;border-radius:10px;text-align:center;
  font-size:15px;font-weight:600;color:var(--csc-muted);
  transition:background .2s,color .2s,opacity .2s;
}
.csc-shell-p3n8 .csc-len[aria-pressed="true"]{
  background:var(--csc-bg);color:var(--csc-accent);
  box-shadow:0 1px 3px rgba(0,0,0,.14);
}
.csc-shell-p3n8.is-running .csc-len{opacity:.45;pointer-events:none}

.csc-shell-p3n8 .csc-cta{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:58px;border-radius:999px;text-align:center;
  background:var(--csc-accent);color:var(--csc-ink);
  font-size:18px;font-weight:700;
  box-shadow:0 8px 20px rgba(var(--csc-rgb),.32);
  transition:transform .1s,filter .2s,background .2s,color .2s;
}
.csc-shell-p3n8 .csc-cta:hover{filter:brightness(1.07)}
.csc-shell-p3n8 .csc-cta:active{transform:scale(.98)}
.csc-shell-p3n8 .csc-cta .csc-icon{width:22px;height:22px}
.csc-shell-p3n8 .csc-cta .csc-icon-stop{display:none}
.csc-shell-p3n8.is-running .csc-cta{background:var(--csc-text);color:var(--csc-bg);box-shadow:none}
.csc-shell-p3n8.is-running .csc-cta .csc-icon-play{display:none}
.csc-shell-p3n8.is-running .csc-cta .csc-icon-stop{display:block}

.csc-shell-p3n8 .csc-tip,
.csc-shell-p3n8 .csc-warn{margin:0;font-size:13px;line-height:1.45;color:var(--csc-muted)}
.csc-shell-p3n8 .csc-tip{
  padding:10px 12px;background:var(--csc-soft);border-radius:12px;
  border-left:3px solid var(--csc-accent);
}

@media (min-width:600px){
  .csc-shell-p3n8 .csc-main{grid-template-columns:240px 1fr;gap:34px;padding:30px 30px 28px}
  .csc-shell-p3n8 .csc-dial{width:240px;margin:0}
  .csc-shell-p3n8 .csc-top{padding:18px 30px}
  .csc-shell-p3n8 .csc-heading{justify-content:flex-start}
}
@media (max-width:380px){
  .csc-shell-p3n8{border-radius:22px}
  .csc-shell-p3n8 .csc-modes{grid-template-columns:1fr}
  .csc-shell-p3n8 .csc-main{padding:22px 16px 18px}
}
@media (prefers-reduced-motion:reduce){
  .csc-shell-p3n8 *{animation:none!important;transition:none!important}
}
