.alarm-v2 .alarm-schedule-form { display: grid; gap: .8rem; margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; }
.alarm-v2 .alarm-schedule-form fieldset { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; padding: 0; border: 0; }
.alarm-v2 .alarm-schedule-form legend { margin-bottom: .4rem; font-weight: 700; }
.alarm-v2 .alarm-schedule-form input[type="datetime-local"], .alarm-v2 .alarm-schedule-form input[type="text"] { width: 100%; }
.alarm-duration { display: flex; gap: 1rem; flex-wrap: wrap; }
.alarm-duration input { width: 7rem; }
.alarm-repeat { display: inline-flex; gap: .4rem; align-items: center; }
.alarm-chips, .alarm-recent #recentList { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .5rem; }
.alarm-chips button, .alarm-recent__button { padding: .35rem .7rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; cursor: pointer; }
.alarm-recent { margin: 1.25rem 0; }
.alarm-recent__button { margin: 0 .35rem .35rem 0; }
.alarm-schedule-preview { margin: 0; color: #475569; }
.alarm-history { margin-top: 1.5rem; }
.alarm-history ul { margin: 0; padding-left: 1.25rem; color: #64748b; }
.alarm-firing__type { margin: 0; color: #fde68a; font-weight: 800; }
.alarm-guide-button { margin-bottom: 1rem; }
.alarm-help { position: relative; display: inline-flex; vertical-align: middle; }
.alarm-help__button { width: 1.5rem; height: 1.5rem; padding: 0; border: 1px solid #94a3b8; border-radius: 50%; background: #fff; color: #334155; font-weight: 800; cursor: help; }
.alarm-help__content { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + .45rem); width: min(18rem, 78vw); padding: .6rem .7rem; border-radius: .5rem; background: #0f172a; color: #fff; font-size: .78rem; line-height: 1.5; transform: translateX(-50%); box-shadow: 0 8px 24px rgba(15,23,42,.25); }
[x-cloak] { display: none !important; }
.alarm-tutorial { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 1rem; }
.alarm-tutorial__overlay { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(15,23,42,.76); }
.alarm-tutorial__dialog { position: relative; width: min(34rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; padding: 1.25rem; border-radius: 14px; background: #fff; color: #1e293b; }
.alarm-tutorial__header, .alarm-tutorial__actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.alarm-tutorial__header h2 { margin: 0; }
.alarm-tutorial__progress { color: #64748b; }
.alarm-tutorial__actions { justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 640px) { .alarm-v2 .alarm-item { flex-wrap: wrap; } .alarm-v2 .alarm-item__time { flex: 1 1 100%; } .alarm-v2 .alarm-item__label { flex: 1 1 45%; } }
