
body.home { color-scheme:light; --bg:#f6f5ec; --card:#fffef8; --ink:#203d36; --muted:#596c62; --accent:#23624e; --line:#d9dfd2; }
body.home * { box-sizing:border-box; }
body.home { -webkit-text-size-adjust:100%; }
body.home { margin:0; background:var(--bg); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
body.home main { max-width:720px; margin:auto; padding:12px 16px 100px; }
body.home a { color:var(--accent); }
body.home .back { display:inline-flex; align-items:center; min-height:44px; font-weight:650; text-decoration:none; }
body.home h1 { font-size:clamp(32px,8vw,44px); line-height:1.1; letter-spacing:-.03em; margin:6px 0 12px; }
body.home h2 { font-size:22px; line-height:1.3; margin:0; }
body.home p { margin:0; }
body.home .meta { color:var(--muted); font-size:15px; }
body.home .card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:18px; margin-top:20px; overflow-wrap:anywhere; }
body.home .card > a { display:inline-flex; align-items:center; min-height:44px; font-weight:650; margin-bottom:12px; }
body.home ul { list-style:none; margin:0; padding:0; }
body.home li { padding:16px 0; border-top:1px solid var(--line); }
body.home li:first-child { border-top:0; padding-top:0; }
body.home li:last-child { padding-bottom:0; }
body.home .title { font-size:18px; font-weight:650; }
body.home .when { color:#24496d; font-size:14px; font-weight:650; margin-bottom:4px; }
body.home .details { margin-top:4px; }
body.home .overdue { color:#942c20; }
body.home #undated { margin-top:12px; }
body.home button { min-height:46px; margin-top:12px; padding:10px 16px; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--accent); font:650 16px/1.3 system-ui,sans-serif; cursor:pointer; }
body.home :focus-visible { outline:3px solid #b07915; outline-offset:3px; }
body.home [hidden] { display:none !important; }
body.home .update-bar { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:10; display:flex; flex-wrap:wrap; align-items:center; gap:12px; width:max-content; max-width:calc(100% - 32px); border-radius:12px; padding:12px; background:var(--ink); color:#fff; box-shadow:0 6px 24px #0004; }
body.home .update-bar button { margin:0; color:#fff; }
@media(max-width:380px) { body.home main { padding:8px 12px 80px; } body.home .card { padding:16px 14px; } }

body.home { --text:var(--ink); color-scheme:light; }
body.home .bar, body.home #storage-privacy, body.home .foot { display:none; }
body.home main { padding-top:20px; }
.home-back { display:inline-flex; align-items:center; min-height:44px; }
body.home .home-retry { margin:0 0 12px; }
body.home .home-heading { display:flex; align-items:center; gap:10px; }
body.home .home-heading h1 { min-width:0; margin:6px 0; font-size:clamp(26px,7vw,36px); overflow-wrap:anywhere; }
body.home .home-settings { display:flex; align-items:center; justify-content:center; flex:0 0 80px; min-height:44px; padding:4px 6px; border:1px solid var(--line); border-radius:12px; text-decoration:none; font-size:12px; line-height:16px; text-align:center; }
body.home .home-today { margin:14px 0 20px; padding:12px; border:1px solid var(--line); border-radius:18px; background:var(--card); overflow-wrap:anywhere; }
body.home .home-today #content { display:grid; gap:6px; }
body.home .day-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 8px; }
body.home .day-heading h2 { font-size:18px; line-height:24px; }
body.home .day-heading .meta { font-size:12px; }
body.home #day-next { font-size:14px; line-height:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.home #airo-card { display:grid; grid-template-columns:36px minmax(0,1fr); gap:6px; }
body.home #airo-heading { margin:0; font-size:12px; line-height:20px; color:var(--muted); }
body.home #airo-body { min-width:0; font-size:14px; line-height:20px; }
body.home #airo-body a, body.home #airo-body button { display:flex; align-items:center; justify-content:center; min-height:44px; margin:0; padding:6px 10px; border:1px solid var(--line); border-radius:10px; background:#eef2e7; text-decoration:none; font-size:14px; font-weight:650; }
body.home .day-boxes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body.home .day-boxes a { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:2px 8px; min-height:48px; padding:8px 10px; border:1px solid var(--line); border-radius:10px; text-decoration:none; font-size:14px; }
body.home .day-count { font-weight:700; }
body.home .home-messages { margin-top:16px; }
body.home .home-messages h2 { margin-bottom:8px; }
body.home .home-chats .chat-row { display:block; min-height:76px; padding:12px 0; border-bottom:1px solid var(--line); text-decoration:none; overflow-wrap:anywhere; }
body.home .chat-row-title { display:flex; align-items:center; gap:8px; }
body.home .chat-name { min-width:0; flex:1; font-weight:700; }
body.home .chat-preview { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:3px; }
body.home .unread { border-radius:20px; background:var(--accent); color:white; padding:1px 7px; font-size:13px; }
body.home .open-messages { display:inline-flex; align-items:center; min-height:44px; font-weight:650; }
body.home .home-apps { margin-top:8px; border:1px solid var(--line); border-radius:12px; background:var(--card); overflow:hidden; }
body.home .home-apps a { display:flex; align-items:center; min-height:48px; padding:10px 14px; border-bottom:1px solid var(--line); text-decoration:none; overflow-wrap:anywhere; }
body.home .home-apps a:last-child { border-bottom:0; }
