:root { color-scheme:light; --ink:#303e37; --muted:#6b756e; --accent:#426651; --line:#dce3d9; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; background:#f6f6f1; color:var(--ink); font:16px/1.6 Arial,"Noto Sans TC",sans-serif; }
a { color:inherit; text-decoration:none; }
button { font:inherit; cursor:pointer; }
a:focus-visible,button:focus-visible { outline:3px solid #8eac97; outline-offset:4px; }
.portal-header { border-bottom:1px solid var(--line); background:#fdfdf9; }
.header-inner { max-width:880px; margin:auto; padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.brand { color:var(--accent); font-size:22px; font-weight:700; }
.account { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:14px; }
.account button { min-height:36px; padding:3px 0; border:0; background:transparent; color:var(--accent); }
main { max-width:880px; margin:auto; padding:28px 24px; }
.login-panel { margin-bottom:20px; }
.login-panel p { color:var(--muted); font-size:14px; }
.primary,.secondary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border:1px solid var(--accent); border-radius:8px; background:var(--accent); color:#fff; }
.secondary { background:#fff; color:var(--accent); }
.tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.tool-grid a { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3px; min-height:90px; padding:14px; border:1px solid var(--line); border-radius:10px; background-color:#fff; background-image:repeating-linear-gradient(135deg,transparent 0,transparent 7px,rgba(66,102,81,.045) 7px,rgba(66,102,81,.045) 8px); color:var(--accent); font-size:17px; }
.tool-grid a strong { font-weight:700; }
.tool-grid a span { color:var(--muted); font-size:14px; font-weight:400; white-space:nowrap; }
.tool-grid a:hover { border-color:#9cb298; background-color:#edf2e9; }
@media(max-width:560px) { .header-inner { padding:18px 20px; } main { padding:24px 20px; } .tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .tool-grid a { font-size:16px; } .account { gap:10px; } }
