/* Pastel princess vibes */
:root{
  --bg1:#fff1f7;
  --bg2:#ffe6f1;
  --card:#ffffffcc;
  --ink:#3a2a3f;
  --muted:#6b5572;
  --shadow: 0 16px 40px rgba(52, 20, 60, .12);
  --radius: 22px;
  --ring: 0 0 0 4px rgba(255,127,191,.20);
}
*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: ui-rounded, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background: radial-gradient(1200px 600px at 20% 10%, var(--bg2), transparent),
              radial-gradient(1000px 600px at 80% 0%, #f2e7ff, transparent),
              linear-gradient(180deg, var(--bg1), #fff);
  min-height:100vh;
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.55));
  border-bottom: 1px solid rgba(255,127,191,.18);
}
.brand{ display:flex; gap:12px; align-items:center; }
.crown{
  font-size:28px;
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  background: linear-gradient(135deg, #fff, #ffe8f4);
  box-shadow: 0 6px 16px rgba(255,127,191,.18);
}
.title{ font-weight:800; letter-spacing:.2px; }
.subtitle{ color:var(--muted); font-size:13px; margin-top:2px; }
.pill{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  box-shadow: 0 10px 28px rgba(52, 20, 60, .10);
  border:1px solid rgba(202,167,255,.25);
}
.dot{
  width:12px; height:12px; border-radius:999px;
  background:#bdbdbd;
  box-shadow: 0 0 0 4px rgba(189,189,189,.25);
}
.dot.green{ background:#4cd964; box-shadow:0 0 0 4px rgba(76,217,100,.22); }
.dot.yellow{ background:#ffd66b; box-shadow:0 0 0 4px rgba(255,214,107,.22); }
.dot.orange{ background:#ff9f43; box-shadow:0 0 0 4px rgba(255,159,67,.22); }
.dot.red{ background:#ff3b30; box-shadow:0 0 0 4px rgba(255,59,48,.18); }
.dot.purple{ background:#9b59ff; box-shadow:0 0 0 4px rgba(155,89,255,.18); }
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  padding:18px 22px 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 920px){ .grid{ grid-template-columns:1fr; } }
.card{
  background: var(--card);
  border: 1px solid rgba(255,127,191,.18);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding:18px 18px 16px;
  position:relative;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(380px 180px at 10% 0%, rgba(255,183,216,.40), transparent),
              radial-gradient(420px 220px at 90% 10%, rgba(202,167,255,.28), transparent);
  opacity:.65;
  pointer-events:none;
}
.card > *{ position:relative; z-index:1; }
.card-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
h2{ margin:0; font-size:18px; }
.status-message{ font-size:18px; line-height:1.35; margin:10px 0 12px; }
.status-meta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.chip{
  padding:6px 10px;
  border-radius:999px;
  background: linear-gradient(135deg, #fff, #fff0f7);
  border:1px solid rgba(255,127,191,.22);
  font-weight:700;
}
.meta{ color:var(--muted); font-size:13px; }
.note{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.65);
  border:1px dashed rgba(202,167,255,.35);
}
.calendar-wrap{ display:grid; gap:10px; }
.date-input{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(202,167,255,.35);
  outline:none;
  font-size:14px;
  background:#fff;
}
.date-input:focus{ box-shadow: var(--ring); border-color: rgba(255,127,191,.45); }
.tiny{ color:var(--muted); font-size:12px; }
.divider{ height:1px; background: rgba(202,167,255,.25); margin:14px 0; }
.day-panel .day-title{ font-weight:800; margin-bottom:8px; }
.day-panel .empty{ color:var(--muted); font-size:14px; padding:8px 0; }
.timeline{ margin:10px 0 0; padding:0; list-style:none; display:grid; gap:8px; }
.timeline li{
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(255,127,191,.14);
}
.badge{ display:inline-flex; align-items:center; gap:8px; font-weight:800; }
.badge .mini-dot{ width:10px; height:10px; border-radius:999px; background:#bbb; }
.mini-dot.green{ background:#4cd964; }
.mini-dot.yellow{ background:#ffd66b; }
.mini-dot.orange{ background:#ff9f43; }
.mini-dot.red{ background:#ff3b30; }
.mini-dot.purple{ background:#9b59ff; }
.moments{ margin-top:10px; color:var(--muted); font-size:14px; line-height:1.4; }
.footer{ text-align:center; color:var(--muted); padding:12px 14px 22px; font-size:12px; }

.mini-dot.nosignal{ background:#bdbdbd; }
.dot.nosignal{ background:#bdbdbd; box-shadow:0 0 0 4px rgba(189,189,189,.25); }
