
.tmr{margin:14px 0 18px;padding:16px 18px;border:1px solid #164068;border-radius:18px;background:linear-gradient(170deg,#042441,#011930 80%);color:#e3f8fd;font-size:17px;line-height:1.4}
.tmr-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;min-height:44px;margin-bottom:10px}
.tmr-title{margin:0;font-size:19px;font-weight:700;letter-spacing:0}
.tmr-spot,.tmr-field{display:inline-flex;align-items:center;gap:8px;font-size:16px;color:#b5dbe3}
.tmr select{min-height:44px;padding:6px 34px 6px 12px;font:inherit;font-size:17px;color:#e3f8fd;background:#03203b;border:1px solid #1f507e;border-radius:10px}
.tmr-rows{display:grid;gap:8px}
.tmr-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"day pill go" "text text go";align-items:center;gap:4px 12px;height:96px;padding:10px 14px;border:1px solid #16426b;border-left:6px solid #2e5273;border-radius:12px;background:#031d36;color:inherit;text-decoration:none;box-sizing:border-box}
.tmr-row:hover,.tmr-row:focus-visible{border-color:#2bd2f8;outline:none}
.tmr-day{grid-area:day;font-size:16px;font-weight:600;color:#b5dbe3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmr-pill{grid-area:pill;justify-self:end;min-width:88px;padding:3px 12px;border-radius:999px;font-size:17px;font-weight:800;text-align:center;background:#123250;color:#e3f8fd}
.tmr-text{grid-area:text;color:#e3f8fd;font-size:18px;font-weight:600;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.7em}
.tmr-go{grid-area:go;font-size:24px;color:#2bd2f8}
.tmr-row[data-level="ok"]{border-left-color:#3ddc97}.tmr-row[data-level="ok"] .tmr-pill{background:#3ddc97;color:#05261a}
.tmr-row[data-level="warn"]{border-left-color:#ffc35a}.tmr-row[data-level="warn"] .tmr-pill{background:#ffc35a;color:#2e1e00}
.tmr-row[data-level="bad"]{border-left-color:#ff6b6b}.tmr-row[data-level="bad"] .tmr-pill{background:#ff6b6b;color:#2b0505}
/* evening: tomorrow is the main row, the second row is quieter (same height → no shift) */
.tmr[data-mode="evening"] .tmr-row:first-child{background:#042747;border-color:#1e5589}
.tmr[data-mode="evening"] .tmr-row:first-child .tmr-day{color:#e3f8fd;font-size:17px}
.tmr[data-mode="evening"] .tmr-row:nth-child(2){opacity:.82}
.tmr[data-mode="evening"] .tmr-row:nth-child(2) .tmr-text{font-size:16px;font-weight:500}
.tmr[data-state="loading"] .tmr-text{color:#8badc3}
.tmr-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-height:52px;margin-top:10px}
.tmr-bell{min-height:48px;padding:10px 16px;font:inherit;font-size:17px;font-weight:700;color:#04201c;background:#2bd2f8;border:0;border-radius:12px;cursor:pointer}
.tmr-bell:focus-visible,.tmr-btn:focus-visible{outline:3px solid #ffffff;outline-offset:2px}
.tmr-hint{margin:0;min-height:48px;display:flex;align-items:center;font-size:16px;font-weight:600;color:#ffd98a}
.tmr-hint[hidden]{display:none}
.tmr-note{flex:1 1 220px;font-size:13px;color:#8badc3}
.tmr-panel{margin-top:12px;padding:14px 16px;border:1px solid #1f507e;border-radius:14px;background:#031d36}
.tmr-panel[hidden]{display:none}
.tmr-panel-title{margin:0 0 6px;font-size:19px}
.tmr-panel-state{margin:0 0 12px;font-size:17px}
.tmr-field{margin:0 0 12px;color:#e3f8fd}
.tmr-hours{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px;padding:0;border:0}
.tmr-hours legend{margin-bottom:6px;font-size:16px;color:#b5dbe3}
.tmr-hours label{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:6px 16px;font-size:18px;font-weight:700;border:1px solid #1f507e;border-radius:12px;cursor:pointer}
.tmr-hours input{width:22px;height:22px;accent-color:#2bd2f8}
.tmr-hours label:has(input:checked){border-color:#2bd2f8;background:#042e56}
.tmr-actions{display:flex;flex-wrap:wrap;gap:10px}
.tmr-btn{min-height:48px;padding:10px 16px;font:inherit;font-size:17px;font-weight:700;color:#e3f8fd;background:#0b3053;border:1px solid #1f507e;border-radius:12px;cursor:pointer}
.tmr-btn-main{color:#04201c;background:#2bd2f8;border-color:#2bd2f8}
.tmr-btn-ghost{background:transparent}
.tmr-btn:disabled{opacity:.6;cursor:wait}
.tmr-msg{min-height:1.4em;margin:10px 0 6px;font-size:17px;font-weight:600}
.tmr-privacy{display:block;font-size:14px;color:#8badc3}
.tmr-privacy a{color:#2bd2f8}
@media (max-width:560px){.tmr{padding:14px 12px;border-radius:16px}.tmr-row{height:104px;padding:10px 12px}.tmr-text{font-size:17px}.tmr-title{font-size:18px}.tmr-spot{width:100%;justify-content:space-between}.tmr-spot select{flex:1}.tmr-bell{width:100%}.tmr-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"day pill" "text text";column-gap:8px}.tmr-go{display:none}.tmr-pill{min-width:0;padding:3px 10px}}
/* v5.61.0: rows grow with content — no fixed height, no line-clamp, pill never overlaps */
.tmr-row{height:auto!important;min-height:0;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"day pill" "text text" "who who"!important;align-items:start;row-gap:6px;padding:12px 14px}
.tmr-day{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3;align-self:center}
.tmr-pill{align-self:start;white-space:nowrap;font-size:14px;padding:3px 10px;min-width:0}
.tmr-text{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible;font-size:15px;line-height:1.4}
.tmr-row:nth-child(2) .tmr-text{font-size:14.5px}
.tmr-who{grid-area:who;display:block;font-size:12.5px;line-height:1.45;color:#a6c3d5;font-weight:400;overflow-wrap:anywhere}
.tmr-go{display:none}
/* v5.61.0 morning push control: calm, secondary */
.tmr-am-btn{margin-left:8px;background:transparent;border-color:#1f507e;color:#cce8ef;font-weight:600}
.tmr-am-btn[data-state=off]{opacity:.7;font-weight:500}
.tmr-am-toggle{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:18px;font-weight:700;cursor:pointer}
.tmr-am-toggle input{width:22px;height:22px;accent-color:#2bd2f8}
/* v5.61.0 one-time morning invite (calm, non-blocking) + home link */
.am-invite{position:fixed;z-index:1100;left:12px;right:12px;bottom:12px;max-width:420px;margin:0 auto;padding:14px 40px 12px 16px;border:1px solid #1f507e;border-radius:14px;background:#031d36;color:#e4f5f9;box-shadow:0 6px 20px rgba(0,0,0,.35);font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.am-invite-text{margin:0 0 10px;font-weight:600}
.am-invite-act{display:flex;gap:8px;flex-wrap:wrap}
.am-invite-x{position:absolute;top:4px;right:6px;background:none;border:0;color:#cce8ef;font-size:22px;line-height:1;padding:6px 8px;cursor:pointer}
.am-home{margin:0}.h26-act .am-home{display:inline-flex;align-items:center}
.am-home-panel{flex-basis:100%}
.am-home .tmr-am-btn{margin:0;font-size:14px;padding:6px 12px;border-radius:999px;border:1px solid #1f507e;min-height:36px;cursor:pointer}
@media(prefers-reduced-motion:no-preference){.am-invite{animation:amIn .3s ease-out}@keyframes amIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.am-home-panel{margin:10px 0 0}
body.has-tabs .am-invite{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
