:root{color-scheme:light;--ink: #27352f;--muted: #768078;--soft-muted: #9ba39d;--forest: #345f4c;--forest-dark: #274a3b;--forest-soft: #e7efe9;--cream: #f6f3eb;--paper: #fffefa;--line: #e6e3da;--wood: #c5976c;--wood-soft: #f2e6d8;--red: #c75a52;--red-soft: #f9e7e4;--shadow: 0 14px 40px rgba(53, 62, 55, .07);font-family:Noto Sans TC,PingFang TC,sans-serif;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}html{min-width:320px;min-height:100%;background:var(--cream)}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:radial-gradient(circle at 82% 9%,rgba(197,151,108,.1),transparent 24rem),var(--cream)}.auth-gate{display:grid;place-items:center;min-height:100vh;padding:32px 20px;background:radial-gradient(circle at 18% 16%,rgba(132,163,151,.16),transparent 25rem),radial-gradient(circle at 84% 84%,rgba(197,151,108,.13),transparent 25rem),var(--cream)}.auth-card{width:min(470px,100%);padding:42px 44px 38px;border:1px solid rgba(225,222,213,.95);border-radius:26px;background:#fffefaeb;box-shadow:0 24px 70px #353e371c}.auth-logo{display:block;width:min(310px,88%);height:auto;margin:0 auto 38px}.auth-card h1{margin-bottom:11px;font-family:"Noto Serif TC",serif;font-size:27px;letter-spacing:.04em}.auth-description{margin-bottom:24px;color:var(--muted);font-size:13px}.auth-status{display:flex;gap:12px;margin-bottom:20px;padding:13px 14px;border:1px solid #e8e2d9;border-radius:13px;background:#faf7f1}.auth-status-dot{width:9px;height:9px;flex:0 0 auto;margin-top:5px;border-radius:50%;background:var(--wood);box-shadow:0 0 0 4px #c5976c1f}.auth-status.is-ready .auth-status-dot{background:#4d9b70;box-shadow:0 0 0 4px #4d9b701f}.auth-status.is-error .auth-status-dot{background:var(--red);box-shadow:0 0 0 4px #c75a521f}.auth-status strong{display:block;font-size:12px}.auth-status p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.google-login-button,.local-preview-button,.secondary-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer}.google-login-button{gap:10px;border:1px solid #d9d7d0;color:#34443c;background:#fff;box-shadow:0 3px 10px #28342d0a}.google-login-button svg{width:19px;height:19px}.google-login-button:disabled{color:#a2a7a3;background:#f3f2ee;box-shadow:none;cursor:not-allowed;opacity:.72}.local-preview-button{margin-top:9px;border:1px solid var(--forest);color:#fff;background:var(--forest)}.secondary-button{margin-top:24px;border:1px solid var(--line);color:var(--forest);background:#fff}.auth-hint{margin:16px 0 0;color:var(--soft-muted);font-size:10px;line-height:1.55;text-align:center}.auth-waiting-view{text-align:center}.auth-lock-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 20px;border-radius:17px;color:var(--forest);background:var(--forest-soft)}.auth-lock-icon svg{width:27px;height:27px}.auth-waiting-view p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.auth-footer{position:fixed;bottom:22px;margin:0;color:var(--soft-muted);font-size:10px;letter-spacing:.04em}button,input{font:inherit}button{color:inherit}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:34px 20px 24px;border-right:1px solid rgba(230,227,218,.9);background:#fffefacc;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:5}.brand,.mobile-brand{display:flex;align-items:center;color:var(--ink);text-decoration:none}.brand{justify-content:center;margin:-5px 8px 28px;padding:0 10px}.brand img{display:block;width:146px;height:auto}.brand-mark{display:grid;place-items:center;width:43px;height:43px;flex:0 0 auto;border-radius:14px 14px 14px 5px;color:var(--forest);background:var(--forest-soft)}.brand-mark svg{width:30px;height:30px;stroke-width:2}.brand strong,.brand small{display:block}.brand strong{font-family:"Noto Serif TC",serif;font-size:17px;letter-spacing:.03em}.brand small{margin-top:2px;color:var(--muted);font-size:11px;letter-spacing:.08em}.nav-list{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;border-radius:12px;color:#6d7871;background:transparent;text-align:left;font-size:14px;font-weight:500;cursor:pointer;transition:color .16s ease,background .16s ease,transform .16s ease}.nav-item:hover{color:var(--forest);background:#e7efe9a6}.nav-item:active{transform:translateY(1px)}.nav-item.is-active{color:var(--forest-dark);background:var(--forest-soft);font-weight:700}.nav-icon{display:grid;place-items:center;width:22px;height:22px}.nav-icon svg{width:20px;height:20px}.nav-badge{min-width:20px;margin-left:auto;padding:2px 6px;border-radius:999px;color:#fff;background:var(--wood);font-size:11px;text-align:center}.sidebar-bottom{display:grid;gap:18px;margin-top:auto}.sidebar-note{display:flex;gap:10px;padding:14px;border:1px solid #e9e0d4;border-radius:14px;background:#faf5ed}.note-icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 auto;border-radius:50%;color:#fff;background:var(--wood);font-family:serif;font-size:12px}.sidebar-note strong{font-size:12px}.sidebar-note p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.main-content{min-width:0}.topbar{display:flex;justify-content:flex-end;align-items:center;height:88px;padding:0 clamp(24px,5vw,76px);border-bottom:1px solid rgba(230,227,218,.7)}.mobile-brand{display:none}.topbar-actions{display:flex;align-items:center;gap:20px}.signout-button{padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fffefab3;font-size:10px;cursor:pointer}.signout-button:hover{color:var(--forest);border-color:#cfd9d2}.icon-button{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:#fffefab3;cursor:pointer}.icon-button svg{width:19px;height:19px}.notification-dot{position:absolute;top:6px;right:6px;width:7px;height:7px;border:2px solid var(--cream);border-radius:50%;background:var(--wood)}.profile{display:flex;align-items:center;gap:11px}.avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;color:#fff;background:var(--forest);font-family:"Noto Serif TC",serif;font-size:15px}.profile-copy strong,.profile-copy span{display:block}.profile-copy strong{font-size:13px}.profile-copy span{margin-top:2px;color:var(--muted);font-size:11px}.chevron{width:16px;height:16px;color:var(--soft-muted)}.content-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:52px 0 58px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:36px}.eyebrow{display:block;margin-bottom:12px;color:var(--wood);font-size:11px;font-weight:700;letter-spacing:.16em}h1,h2,h3,p{margin-top:0}.welcome-row h1{margin-bottom:9px;font-family:"Noto Serif TC",serif;font-size:clamp(28px,4vw,38px);line-height:1.25;letter-spacing:.04em}.welcome-row>div>p{margin-bottom:0;color:var(--muted);font-size:14px}.system-summary{display:flex;align-items:center;gap:24px;min-width:340px;padding:18px 22px;border:1px solid rgba(230,227,218,.8);border-radius:18px;background:#fffefab8;box-shadow:0 8px 24px #353e370a}.summary-item{display:flex;align-items:center;gap:11px}.summary-item>span:last-child{display:grid}.summary-item strong{font-size:18px;line-height:1.1}.summary-item small{margin-top:4px;color:var(--muted);font-size:11px;white-space:nowrap}.summary-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px}.summary-icon svg{width:19px;height:19px}.summary-icon.healthy{color:var(--forest);background:var(--forest-soft)}.summary-icon.visitors{color:#946946;background:var(--wood-soft)}.summary-divider{width:1px;height:35px;background:var(--line)}.security-banner{display:flex;align-items:center;gap:15px;margin-top:34px;padding:17px 20px;border:1px solid #dce8df;border-radius:16px;background:#e7efe9a6}.banner-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 auto;border-radius:12px;color:var(--forest);background:#ffffffbf}.banner-icon svg{width:21px;height:21px}.banner-copy{min-width:0}.banner-copy strong{font-size:13px}.banner-copy p{margin:3px 0 0;color:#65756c;font-size:12px;line-height:1.55}.prototype-pill{flex:0 0 auto;margin-left:auto;padding:5px 10px;border:1px solid #d5dfd7;border-radius:999px;color:var(--forest);background:#ffffffb3;font-size:11px;font-weight:600}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:46px 0 20px}.section-heading h2,.migration-note h2{margin-bottom:6px;font-family:"Noto Serif TC",serif;font-size:21px;letter-spacing:.03em}.section-heading p{margin-bottom:0;color:var(--muted);font-size:12px}.search-box{display:flex;align-items:center;gap:8px;width:220px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fffefabf;transition:border-color .16s ease,box-shadow .16s ease}.search-box:focus-within{border-color:#9cb6a7;box-shadow:0 0 0 3px #345f4c14}.search-box svg{width:17px;height:17px;flex:0 0 auto;color:var(--soft-muted)}.search-box input{width:100%;min-width:0;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:12px}.search-box input::placeholder{color:#a9aea9}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.app-card{position:relative;display:flex;flex-direction:column;min-height:234px;padding:21px;overflow:hidden;border:1px solid rgba(225,222,213,.9);border-radius:18px;background:#fffefade;box-shadow:0 8px 28px #353e3709;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.app-card.finance-row-start{grid-column-start:1}.app-card:after{content:"";position:absolute;width:110px;height:110px;right:-54px;top:-55px;border-radius:50%;background:var(--accent-soft);opacity:.58}.app-card:hover{transform:translateY(-3px);border-color:#d7ddd7;box-shadow:var(--shadow)}.app-card.is-locked{opacity:.62}.app-card.is-locked:hover{transform:none;border-color:#e1ded5e6;box-shadow:0 8px 28px #353e3709}.app-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.app-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:var(--accent);background:var(--accent-soft)}.app-icon svg{width:24px;height:24px}.status{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--muted);font-size:11px}.status-dot{position:relative;width:8px;height:8px;border-radius:50%}.status.ok .status-dot{background:#4d9b70;box-shadow:0 0 0 4px #4d9b701a}.status.error .status-dot{background:var(--red);box-shadow:0 0 0 4px #c75a521a}.status.pending .status-dot{background:#c79557;box-shadow:0 0 0 4px #c795571f}.app-card h3{margin:18px 0 5px;font-family:"Noto Serif TC",serif;font-size:17px;letter-spacing:.02em}.app-category{margin-bottom:15px;color:var(--muted);font-size:11px}.app-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid #efede7}.visitor-stat{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.visitor-stat svg{width:15px;height:15px}.launch-button{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#f7f5ef;font-size:11px;text-decoration:none;cursor:pointer}.launch-button:hover{color:var(--forest);border-color:#cfd9d2}.launch-button.is-disabled,.launch-button:disabled{color:#aaa59b;background:#f2f0ea;cursor:not-allowed}.launch-button.is-disabled:hover,.launch-button:disabled:hover{color:#aaa59b;border-color:var(--line)}.launch-button svg{width:13px;height:13px}.empty-state{padding:48px 20px;border:1px dashed #d9d5ca;border-radius:18px;color:var(--muted);text-align:center}.empty-state button{display:block;margin:12px auto 0;padding:7px 12px;border:0;border-radius:9px;color:var(--forest);background:var(--forest-soft);cursor:pointer}.migration-note{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:40px;padding:28px 30px;border:1px solid #e5ded3;border-radius:20px;background:linear-gradient(110deg,#fffefafa,#f8f1e7db),var(--paper)}.migration-note>div:first-child{max-width:510px}.step-number{display:inline-block;margin-bottom:10px;padding:4px 8px;border-radius:6px;color:#8a674b;background:var(--wood-soft);font-size:10px;font-weight:700}.migration-note p{margin-bottom:0;color:var(--muted);font-size:12px;line-height:1.7}.migration-steps{display:flex;align-items:center}.migration-steps span{display:grid;place-items:center;min-height:44px;max-width:90px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#ffffffbf;font-size:10px;line-height:1.4;text-align:center}.migration-steps span.done{color:var(--forest);border-color:#cddbd1;background:var(--forest-soft);font-weight:700}.migration-steps i{width:20px;height:1px;background:#d8d4ca}footer{display:flex;justify-content:space-between;width:min(1180px,calc(100% - 48px));margin:0 auto;padding:20px 0 28px;border-top:1px solid rgba(230,227,218,.8);color:var(--soft-muted);font-size:10px;letter-spacing:.04em}.access-dialog{width:min(680px,calc(100% - 28px));max-height:min(780px,calc(100vh - 48px));padding:0;overflow:hidden;border:1px solid var(--line);border-radius:22px;color:var(--ink);background:var(--paper);box-shadow:0 30px 80px #1c262038}.access-dialog::backdrop{background:#232d2859;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:26px 28px 20px;border-bottom:1px solid var(--line)}.dialog-header .eyebrow{margin-bottom:7px}.dialog-header h2{margin:0;font-family:"Noto Serif TC",serif;font-size:22px}.dialog-close{display:grid;place-items:center;width:34px;height:34px;padding:0 0 3px;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:transparent;font-size:24px;cursor:pointer}.dialog-body{max-height:calc(100vh - 150px);padding:22px 28px 30px;overflow-y:auto}.prototype-warning{margin-bottom:24px;padding:11px 13px;border-radius:10px;color:#7c5f47;background:var(--wood-soft);font-size:11px;line-height:1.55}.dialog-body h3{display:flex;align-items:center;gap:7px;margin:24px 0 12px;font-size:13px}.dialog-body h3 span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:#fff;background:var(--wood);font-size:10px}.request-list{display:grid;gap:9px}.request-empty{padding:24px 16px;border:1px dashed #dad7cf;border-radius:12px;color:var(--muted);background:#faf9f5;font-size:11px;text-align:center}.request-card{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.request-main{display:flex;align-items:center;gap:11px}.request-avatar{display:grid;place-items:center;width:35px;height:35px;flex:0 0 auto;border-radius:50%;color:var(--forest);background:var(--forest-soft);font-size:12px;font-weight:700}.request-card strong{font-size:12px}.request-card p{margin:2px 0 0;color:var(--muted);font-size:10px}.request-identity{min-width:0;flex:1}.access-status{flex:0 0 auto;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:700}.access-status.pending{color:#8a674b;background:var(--wood-soft)}.access-status.approved{color:var(--forest);background:var(--forest-soft)}.access-status.denied,.access-status.unknown{color:#9a4d47;background:var(--red-soft)}.request-actions{display:flex;gap:6px;flex:0 0 auto}.request-actions button{padding:6px 9px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;font-size:10px;cursor:pointer}.request-actions button.approve{color:#fff;border-color:var(--forest);background:var(--forest)}.request-actions button.danger{color:#a34f48;border-color:#e9cbc7;background:#fff7f6}.app-permissions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:10px;border-top:1px dashed #ded9cf}.app-permission{display:flex;align-items:center;gap:7px;min-height:30px;padding:6px 8px;border:1px solid rgba(225,222,213,.75);border-radius:9px;color:var(--ink);background:#fffefaa6;font-size:10px;line-height:1.3}.app-permission input{width:14px;height:14px;accent-color:var(--forest)}.app-permission:has(input:disabled){opacity:.52}.rule-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.rule-list li{display:flex;align-items:flex-start;gap:12px;padding:13px;border-radius:12px;background:#f7f6f1}.rule-list li>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:8px;color:var(--forest);background:var(--forest-soft);font-size:11px;font-weight:700}.rule-list p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.rule-list strong{display:block;color:var(--ink);font-size:12px}.toast{position:fixed;left:50%;bottom:24px;z-index:20;padding:10px 15px;border-radius:999px;color:#fff;background:#27352fed;box-shadow:0 10px 30px #1b241f2e;font-size:11px;opacity:0;pointer-events:none;transform:translate(-50%,16px);transition:opacity .18s ease,transform .18s ease}.toast.is-visible{opacity:1;transform:translate(-50%)}.auth-card h1,.auth-waiting-view h1{font-size:30px}.welcome-row h1{font-size:clamp(31px,4.2vw,41px)}.section-heading h2,.migration-note h2{font-size:24px}.dialog-header h2{font-size:25px}.app-card h3{font-size:20px}.brand strong{font-size:19px}.summary-item strong{font-size:20px}.auth-description,.google-login-button,.local-preview-button,.secondary-button,.nav-item,.welcome-row>div>p,.avatar,.banner-copy strong,.dialog-body h3,.profile-copy strong{font-size:15px}.auth-status strong,.banner-copy p,.section-heading p,.search-box input,.sidebar-note strong,.request-avatar,.request-card strong,.rule-list strong,.summary-item small,.status,.app-category,.visitor-stat,.launch-button,.prototype-pill,.profile-copy span,.brand small,.sidebar-note p,.dialog-body h3 span,.request-empty,.rule-list li>span,.rule-list p,.toast{font-size:13px}.auth-status p,.auth-hint,.auth-footer,.nav-badge,.note-icon,.prototype-warning,.request-card p,.request-actions button,.app-permission{font-size:12px}.access-status{font-size:11px}.app-card{min-height:246px}.launch-button{padding:8px 11px}.app-card-footer{gap:10px}@media(max-width:1000px){.page-shell{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding-inline:14px}.brand{margin-inline:8px}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-card.finance-row-start{grid-column-start:auto}.welcome-row{align-items:flex-start;flex-direction:column}.system-summary{width:100%}.migration-note{align-items:flex-start;flex-direction:column}}@media(max-width:720px){.page-shell{display:block}.sidebar{display:none}.topbar{position:sticky;top:0;z-index:5;justify-content:space-between;height:70px;padding:0 18px;background:#f6f3ebe6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-brand{display:flex}.mobile-brand img{display:block;width:145px;height:auto}.profile-copy,.chevron{display:none}.topbar-actions{gap:8px}.signout-button{padding-inline:8px}.content-wrap,footer{width:calc(100% - 28px)}.content-wrap{padding-top:34px}.system-summary{min-width:0;gap:16px;padding-inline:16px}.summary-divider{margin-left:auto}.security-banner{align-items:flex-start;flex-wrap:wrap}.prototype-pill{margin:0 0 0 54px}.section-heading{align-items:stretch;flex-direction:column}.search-box{width:100%}.app-grid{grid-template-columns:1fr}.app-card{min-height:215px}.migration-note{padding:23px 20px}.migration-steps{width:100%}.migration-steps span{flex:1;padding-inline:5px}.migration-steps i{width:10px}.request-card{align-items:flex-start;flex-wrap:wrap}.request-actions{width:100%;margin-left:46px}}@media(max-width:480px){.auth-gate{padding:22px 14px 60px}.auth-card{padding:34px 24px 30px;border-radius:20px}.auth-card h1{font-size:26px}.auth-footer{bottom:15px;width:calc(100% - 28px);text-align:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
