.brand { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.glass-card, .card { background: linear-gradient(180deg, var(--card-top), var(--card-bottom)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.admin-header { padding-top: 4px; margin-bottom: 22px; }
.home-greeting { margin-bottom: 6px; font-size: 14px; }
.home-title { font-size: 31px; margin-bottom: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, rgba(217,70,239,.95), rgba(139,92,246,.95)); color:#fff; font-weight: 800; box-shadow: 0 8px 22px rgba(139,92,246,.24); }
.hero-card { padding: 22px; min-height: 220px; overflow: hidden; position: relative; }
.hero-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -66px; bottom: -78px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(244,114,182,.75), rgba(139,92,246,.32) 55%, transparent 72%); }
.hero-status { font-size: 29px; font-weight: 780; letter-spacing: -.04em; margin-top: 52px; margin-bottom: 0; }
.hero-meta { margin-top: 7px; color: var(--text-soft); font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mini-card { padding: 17px; min-height: 110px; text-align: left; position: relative; }
.mini-value { margin-top: 18px; font-size: 18px; font-weight: 730; letter-spacing: -.02em; }
.mini-copy { font-size: 12px; margin-top: 4px; }
.online { display: inline-flex; align-items: center; gap: 7px; }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.device-entry { width: 100%; transition: transform 180ms ease, border-color 180ms ease; }
.device-entry:active { transform: scale(.975); }
.device-entry-meta { font-size: 12px; margin-top: 4px; padding-right: 20px; }
.device-lock { position: absolute; right: 15px; top: 15px; color: var(--text-dim); font-size: 16px; }
.section-title { margin: 25px 2px 12px; font-size: 14px; font-weight: 750; color: var(--text-soft); }
.quick-status-scroll { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.quick-status-scroll::-webkit-scrollbar { display:none; }
.status-chip { min-width: 112px; min-height: 48px; padding: 0 15px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 720; color: var(--text-soft); }
.status-chip.active { color: #fff; background: linear-gradient(135deg, rgba(217,70,239,.86), rgba(139,92,246,.86)); }
.bottom-nav { position: absolute; z-index:20; left: 14px; right: 14px; bottom: max(12px, env(safe-area-inset-bottom)); height: 68px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; border-radius: 24px; background: var(--nav-bg); border: 1px solid var(--line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.nav-item { min-height: 52px; border-radius: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-dim); font-size: 10px; }
.nav-item svg { width: 21px; height: 21px; stroke-width: 1.8; }
.nav-item.active { color: var(--text); background: rgba(127,127,138,.10); }
.page-header { padding-top: 4px; margin-bottom: 20px; }
.page-header h1, .subpage-header h1 { margin:0; font-size:30px; }
.page-header p { margin:6px 0 0; font-size:13px; }
.round-add { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; font-size:26px; box-shadow:0 10px 24px rgba(139,92,246,.22); }
.status-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.status-option { min-height:145px; padding:18px; text-align:left; position:relative; display:flex; flex-direction:column; justify-content:space-between; }
.status-option.active { border-color:rgba(217,70,239,.55); box-shadow:0 12px 34px rgba(139,92,246,.15); }
.status-orb { width:42px; height:42px; border-radius:15px; background:linear-gradient(145deg,var(--accent),var(--accent-2)); box-shadow:inset 0 1px 0 rgba(255,255,255,.25); }
.status-break .status-orb { background:linear-gradient(145deg,#34d399,#14b8a6); }
.status-lunch .status-orb { background:linear-gradient(145deg,#f59e0b,#fb7185); }
.status-meeting .status-orb { background:linear-gradient(145deg,#60a5fa,#8b5cf6); }
.status-away .status-orb { background:linear-gradient(145deg,#94a3b8,#64748b); }
.status-option-copy { display:flex; flex-direction:column; gap:3px; }
.status-option-copy strong { font-size:16px; }
.status-option-copy small { color:var(--accent); font-size:11px; }
.status-check { position:absolute; right:16px; top:16px; opacity:0; color:var(--accent); font-weight:800; }
.status-option.active .status-check { opacity:1; }
.list-stack { display:flex; flex-direction:column; gap:10px; }
.list-row { min-height:76px; padding:12px 12px 12px 15px; display:flex; align-items:center; gap:10px; }
.list-row.is-disabled { opacity:.48; }
.list-row-main { flex:1; min-width:0; display:flex; align-items:center; gap:14px; text-align:left; }
.list-time, .event-time { font-variant-numeric:tabular-nums; font-weight:760; font-size:16px; }
.list-copy, .event-copy { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.list-copy strong, .event-copy strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:14px; }
.list-copy small, .event-copy small { color:var(--text-dim); font-size:11px; }
.switch { width:46px; height:28px; border-radius:999px; background:var(--surface-3); padding:3px; flex:0 0 46px; transition:background 180ms ease; }
.switch span { display:block; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.18); transition:transform 180ms var(--ease-out); }
.switch.on { background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
.switch.on span { transform:translateX(18px); }
.icon-delete { width:32px; height:32px; border-radius:50%; color:var(--text-dim); background:var(--surface-2); font-size:20px; flex:0 0 32px; }
.empty-state { min-height:180px; border:1px dashed var(--line); border-radius:var(--radius-lg); display:grid; place-items:center; color:var(--text-dim); font-size:13px; }
.empty-state.compact { min-height:90px; }
.calendar-card { padding:16px; }
.calendar-month { margin-bottom:14px; }
.calendar-month button { width:38px; height:38px; border-radius:50%; background:var(--surface-2); font-size:26px; }
.calendar-week, .calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; }
.calendar-week { margin-bottom:5px; color:var(--text-dim); font-size:10px; text-align:center; }
.calendar-day { aspect-ratio:1; border-radius:13px; display:grid; place-items:center; position:relative; font-size:12px; color:var(--text-soft); }
.calendar-day.today { box-shadow:inset 0 0 0 1px rgba(217,70,239,.5); }
.calendar-day.selected { color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
.calendar-day.blank { visibility:hidden; }
.event-dot { position:absolute; width:4px; height:4px; border-radius:50%; background:var(--accent); bottom:4px; }
.calendar-day.selected .event-dot { background:#fff; }
.selected-date-label { font-size:10px; font-weight:500; }
.event-row { min-height:66px; padding:12px 12px 12px 15px; display:flex; align-items:center; gap:14px; }
.settings-group { display:flex; flex-direction:column; gap:10px; }
.settings-row { width:100%; min-height:76px; padding:12px 16px; display:flex; align-items:center; gap:13px; text-align:left; }
.settings-icon { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:var(--surface-2); font-weight:800; }
.settings-copy { flex:1; display:flex; flex-direction:column; gap:4px; }
.settings-copy small { color:var(--text-dim); font-size:11px; }
.chevron { color:var(--text-dim); font-size:26px; }
.subpage-screen { padding-bottom:calc(30px + var(--safe-bottom)); }
.subpage-header { min-height:52px; display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.subpage-header.row-between { justify-content:space-between; }
.subpage-leading { gap:12px; }
.subpage-subtitle { margin:5px 0 0; font-size:12px; }
.back-button { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; border-radius:50%; background:var(--surface-2); border:1px solid var(--line); color:var(--text); font-size:32px; line-height:1; }
.back-button.compact { font-size:30px; }
.display-preview { min-height:170px; padding:20px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; overflow:hidden; }
.display-preview .eyebrow { align-self:flex-start; width:100%; }
.preview-orb { width:64px; height:64px; border-radius:24px; background:linear-gradient(145deg,var(--accent),var(--accent-2)); box-shadow:0 18px 42px rgba(139,92,246,.26); }
.settings-panel { padding:18px; margin-top:12px; display:flex; flex-direction:column; gap:22px; }
.setting-block { display:flex; flex-direction:column; gap:12px; font-size:14px; }
.setting-block.row-between { flex-direction:row; align-items:center; }
.range { width:100%; accent-color:var(--accent); }
.segmented { padding:4px; display:grid; grid-template-columns:1fr 1fr; gap:4px; background:var(--surface-2); border-radius:14px; }
.segmented button { min-height:40px; border-radius:11px; color:var(--text-soft); font-weight:700; }
.segmented button.active { background:var(--surface); color:var(--text); box-shadow:0 3px 10px rgba(0,0,0,.08); }
.language-list { display:flex; flex-direction:column; gap:10px; }
.language-row { width:100%; min-height:76px; padding:15px 18px; display:flex; align-items:center; justify-content:space-between; text-align:left; }
.language-row span:first-child { display:flex; flex-direction:column; gap:4px; }
.language-row small { color:var(--text-dim); }
.language-check { opacity:0; color:var(--accent); font-weight:800; }
.language-row.active { border-color:rgba(217,70,239,.45); }
.language-row.active .language-check { opacity:1; }
.sheet-backdrop { position:fixed; inset:0; z-index:40; display:flex; align-items:flex-end; justify-content:center; background:rgba(0,0,0,.56); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.passcode-sheet, .editor-sheet { width:min(100%,430px); background:var(--sheet-bg); border:1px solid var(--line); border-radius:30px 30px 0 0; padding:14px 22px calc(22px + env(safe-area-inset-bottom)); box-shadow:0 -22px 70px rgba(0,0,0,.32); }
.passcode-sheet.is-busy .key, .passcode-sheet.is-busy .cancel-key { pointer-events:none; opacity:.5; }
.sheet-handle { width:38px; height:5px; border-radius:99px; margin:0 auto 20px; background:rgba(127,127,138,.28); }
.passcode-title { text-align:center; font-size:21px; margin-bottom:18px; }
.passcode-dots { display:flex; justify-content:center; gap:12px; margin-bottom:24px; }
.passcode-dot { width:11px; height:11px; border-radius:50%; background:var(--surface-3); border:1px solid var(--line); }
.passcode-dot.filled { background:var(--text); }
.keypad { display:grid; grid-template-columns:repeat(3,72px); justify-content:center; gap:11px 18px; }
.key { width:72px; height:58px; border-radius:22px; background:var(--surface-2); border:1px solid var(--line); display:grid; place-items:center; font-size:22px; font-weight:650; }
.key.blank { visibility:hidden; }
.cancel-key { margin:17px auto 0; display:block; min-width:92px; min-height:44px; color:var(--text-soft); font-weight:650; }
.editor-sheet h2 { text-align:center; margin-bottom:20px; }
.editor-form { display:flex; flex-direction:column; gap:14px; }
.editor-form label { display:flex; flex-direction:column; gap:7px; color:var(--text-soft); font-size:12px; font-weight:650; }
.editor-form input, .editor-form select { width:100%; min-height:48px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); color:var(--text); padding:0 13px; outline:none; }
.editor-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.editor-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
.secondary-action, .primary-action.inline { min-height:48px; margin:0; border-radius:15px; font-weight:760; }
.secondary-action { background:var(--surface-2); }
.device-header { gap:13px; padding-top:4px; margin-bottom:26px; }
.device-kicker { margin:0 0 4px; font-size:12px; }
.device-title { margin:0; font-size:27px; }
.device-connect-card { padding:22px; }
.device-icon { width:58px; height:58px; border-radius:20px; display:grid; place-items:center; margin-bottom:22px; font-size:22px; font-weight:800; color:#fff; background:linear-gradient(145deg,rgba(217,70,239,.95),rgba(139,92,246,.95)); box-shadow:0 10px 28px rgba(139,92,246,.22); }
.device-copy { margin:0; font-size:13px; line-height:1.5; }
.primary-action { width:100%; min-height:52px; margin-top:24px; border-radius:17px; color:#fff; font-weight:760; background:linear-gradient(135deg,rgba(217,70,239,.92),rgba(139,92,246,.92)); box-shadow:0 12px 28px rgba(139,92,246,.22); }
.primary-action:active { transform:scale(.985); }
.device-note { margin:14px 8px 0; color:var(--text-dim); font-size:11px; line-height:1.45; text-align:center; }
.device-live-card { padding:20px; border-radius:26px; }
.device-live-heading { display:flex; align-items:center; gap:12px; }
.device-live-heading h2 { margin:2px 0 0; font-size:23px; }
.device-live-dot { width:15px; height:15px; flex:none; border-radius:50%; background:#f59e0b; box-shadow:0 0 18px rgba(245,158,11,.6); }
.device-live-card.is-online .device-live-dot { background:#50e3b4; box-shadow:0 0 20px rgba(80,227,180,.75); }
.device-facts { margin:18px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.device-facts div { min-width:0; padding:12px; border:1px solid rgba(205,215,255,.14); border-radius:16px; background:rgba(10,21,65,.38); }
.device-facts dt { color:var(--text-dim); font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.device-facts dd { margin:5px 0 0; overflow:hidden; color:var(--text); font-size:12px; font-weight:720; text-overflow:ellipsis; white-space:nowrap; }
.device-mode-grid { display:grid; gap:10px; margin-top:14px; }
.device-mode-card { display:flex; align-items:center; gap:13px; padding:14px 16px; border-radius:20px; }
.device-mode-card h3 { margin:0 0 3px; font-size:14px; }
.device-mode-card p { margin:0; color:var(--text-dim); font-size:11px; line-height:1.4; }
.mode-orb { width:40px; height:40px; display:grid; place-items:center; flex:none; border-radius:50%; color:#fff; background:linear-gradient(145deg,#8477ff,#4c63d8); box-shadow:0 7px 18px rgba(91,91,220,.3); }
.toast { position:fixed; z-index:60; left:50%; bottom:calc(28px + env(safe-area-inset-bottom)); transform:translateX(-50%); background:var(--toast-bg); color:#fff; border:1px solid var(--line); border-radius:999px; padding:11px 16px; font-size:13px; box-shadow:var(--shadow-card); white-space:nowrap; max-width:calc(100vw - 28px); overflow:hidden; text-overflow:ellipsis; }
@media (min-width:620px) { .passcode-sheet,.editor-sheet { border-radius:30px; margin-bottom:22px; } .bottom-nav { bottom:18px; } }
