:root{color-scheme:light;--bg:#f3f5f2;--surface:#fff;--text:#1c2d29;--muted:#687973;--line:#dfe7e1;--soft:#e9eeea;--accent:#2d725c;--focus:#37876d;--shadow:0 12px 34px rgba(29,59,47,.045)}
:root[data-theme=dark]{color-scheme:dark;--bg:#171b19;--surface:#222925;--text:#edf3ee;--muted:#aabbb0;--line:#35433a;--soft:#29332d;--accent:#9bd6b9;--focus:#a2dfc0;--shadow:none}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:12px;left:12px;z-index:9;padding:10px;background:var(--surface);transform:translateY(-180%)}.skip-link:focus{transform:none}
.page-shell{width:min(100% - 64px,1000px);margin:auto}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:15px;letter-spacing:-.02em}.wordmark svg{width:30px;height:30px;color:var(--accent);stroke-width:2}.wordmark-divider{margin:0 9px;color:#a9b6af;font-weight:400}.theme-toggle{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--muted);padding:8px 12px;font-size:13px}.theme-toggle:hover{color:var(--text);border-color:var(--accent)}.theme-toggle svg{width:16px;height:16px}
main{padding-top:54px}.intro{display:flex;align-items:end;justify-content:space-between;gap:20px}.intro h1{font-size:30px;letter-spacing:-.05em;line-height:1.22;margin:0;font-weight:700}.intro p{color:var(--muted);font-size:15px;margin:10px 0 0}.intro time{font-size:13px;color:var(--muted);white-space:nowrap;padding-bottom:3px}
.toolbar{margin-top:32px;display:flex;gap:12px;align-items:center}.search-field{height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;flex:1;min-width:0}.search-field:focus-within{border-color:var(--focus)}.search-field svg{height:18px;width:18px;color:var(--muted);flex:none}.search-field input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:14px}.search-field input::placeholder{color:var(--muted);opacity:.85}.search-field input:focus-visible{outline:0}.search-field kbd{font-family:inherit;font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 6px}.filters{display:flex;gap:2px;background:var(--soft);padding:4px;border-radius:10px}.filters button{height:38px;border:0;border-radius:7px;padding:0 15px;color:var(--muted);background:transparent;font-size:13px;white-space:nowrap}.filters button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:650;box-shadow:0 1px 3px #0000000d}.filters button:hover{color:var(--text)}
.results-line{display:flex;justify-content:space-between;margin-top:14px;color:var(--muted);font-size:12px}.service-group{margin-top:34px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h2{font-size:15px;line-height:1.3;margin:0;font-weight:700;letter-spacing:-.01em}.section-title span{font-size:12px;color:var(--muted)}.service-grid{display:grid;gap:14px}.daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:166px;padding:19px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.service-card:hover{transform:translateY(-3px);border-color:#8db6a2;box-shadow:0 12px 28px rgba(28,63,46,.09)}.card-heading{display:flex;align-items:center;gap:10px;min-width:0}.service-icon{width:42px;height:42px;flex:none;padding:10px;border-radius:11px;stroke-width:1.8}.product{font-size:12px;font-weight:600;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arrow{width:16px;height:16px;color:#9aaba1;margin-left:auto;flex:none}.service-card h3{font-size:16px;letter-spacing:-.02em;margin:20px 0 6px;line-height:1.3}.service-card p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.admin-grid .service-card{min-height:112px;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-content:center}.admin-grid .card-heading{display:contents}.admin-grid .service-icon{grid-column:1;grid-row:1/3}.admin-grid .product{grid-column:2;grid-row:1;align-self:end}.admin-grid .arrow{position:absolute;right:20px;top:20px}.admin-grid .service-card h3{grid-column:2;grid-row:2;margin:5px 0 0;font-size:15px}.admin-grid .service-card p{display:none}
#service-memos .service-icon{color:#347d66;background:#e5f3ea}#service-diary .service-icon{color:#bd6e67;background:#fbebe9}#service-vault .service-icon{color:#5676aa;background:#e9f0fb}#service-ai .service-icon{color:#886fae;background:#f0ebf9}#service-grafana .service-icon{color:#b77b39;background:#faf0df}#service-kuma .service-icon{color:#428c87;background:#e3f4f1}:root[data-theme=dark] .service-icon{background:var(--soft)!important}:root[data-theme=dark] #service-memos .service-icon{color:#8fd7af}:root[data-theme=dark] #service-diary .service-icon{color:#f0aaa4}:root[data-theme=dark] #service-vault .service-icon{color:#a8c7f5}:root[data-theme=dark] #service-ai .service-icon{color:#ccb9ec}:root[data-theme=dark] #service-grafana .service-icon{color:#e8c18a}:root[data-theme=dark] #service-kuma .service-icon{color:#8fd4cc}
.empty-state{padding:50px 20px;text-align:center;color:var(--muted)}.empty-state h2{font-size:17px;color:var(--text)}.empty-state p{font-size:14px}.empty-state button{margin-top:8px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}footer{display:flex;justify-content:space-between;gap:12px;margin:64px 0 30px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.noscript-note{color:var(--muted);font-size:13px}
@media(max-width:800px){.daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-shell{width:min(100% - 40px,700px)}main{padding-top:40px}.topbar{height:76px}}
@media(max-width:520px){.page-shell{width:calc(100% - 32px)}.topbar{height:68px}.intro{align-items:start}.intro h1{font-size:26px}.intro p{font-size:14px}.intro time{font-size:12px;padding-top:5px}.toolbar{margin-top:24px;flex-direction:column;align-items:stretch;gap:10px}.search-field{flex:auto}.filters{align-self:flex-start}.service-group{margin-top:28px}.section-title span{display:none}.daily-grid,.admin-grid{grid-template-columns:1fr;gap:10px}.service-card,.admin-grid .service-card{min-height:100px;padding:16px;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-content:center}.card-heading{display:contents}.service-icon{grid-column:1;grid-row:1/3}.product{grid-column:2;grid-row:1;align-self:end}.arrow{position:absolute;right:16px;top:16px}.service-card h3,.admin-grid .service-card h3{grid-column:2;grid-row:2;margin:5px 0 0;font-size:15px}.service-card p{display:none}footer{margin-top:42px}footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* A restrained, neutral palette for the whole desktop. */
:root{--bg:#f5f5f5;--surface:#fff;--text:#222325;--muted:#74777b;--line:#e5e5e6;--soft:#ededee;--accent:#515961;--focus:#687580;--shadow:0 8px 24px rgba(0,0,0,.025)}
:root[data-theme=dark]{--bg:#191a1c;--surface:#242527;--text:#f0f0f1;--muted:#a8aaad;--line:#37383b;--soft:#303134;--accent:#c6c9cc;--focus:#aab5bf;--shadow:none}
.wordmark svg{color:var(--accent)}
.service-card:hover{border-color:#a7adb2;box-shadow:0 10px 25px rgba(0,0,0,.06)}
#service-memos .service-icon,#service-diary .service-icon,#service-vault .service-icon,#service-ai .service-icon,#service-grafana .service-icon,#service-kuma .service-icon{color:#596168;background:#f0f1f2}
:root[data-theme=dark] #service-memos .service-icon,:root[data-theme=dark] #service-diary .service-icon,:root[data-theme=dark] #service-vault .service-icon,:root[data-theme=dark] #service-ai .service-icon,:root[data-theme=dark] #service-grafana .service-icon,:root[data-theme=dark] #service-kuma .service-icon{color:#c3c8cd;background:#303235!important}

#service-vpn .service-icon{color:#596168;background:#f0f1f2}
:root[data-theme=dark] #service-vpn .service-icon{color:#c3c8cd;background:#303235!important}
@media(min-width:801px){.admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keep controls readable and comfortably tappable on phones. */
@media(max-width:520px){
 .page-shell{width:auto;margin-left:max(16px,env(safe-area-inset-left));margin-right:max(16px,env(safe-area-inset-right))}
 .search-field input{font-size:16px}
 .filters button{min-height:44px}
 .theme-toggle{min-height:44px}
 footer{padding-bottom:env(safe-area-inset-bottom)}
}
