:root{font-family:"Microsoft JhengHei",system-ui,sans-serif;color:#193444;background:#f5f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding-bottom:env(safe-area-inset-bottom)}button,input,select{font:inherit}button{cursor:pointer;min-height:40px;border:1px solid #d7e0df;background:white;border-radius:9px;padding:8px 14px;color:inherit}button:disabled{opacity:.55;cursor:wait}.primary{background:#173b49;color:white;border-color:#173b49}a{color:inherit;text-decoration:none}.app-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(12px + env(safe-area-inset-top)) 24px 12px;background:#fff;border-bottom:1px solid #e0e7e4}.brand{display:flex;gap:10px;align-items:center;font-size:24px;font-weight:800}.brand>span{display:grid;place-items:center;width:34px;height:34px;background:#173b49;color:#fff;border-radius:10px}.brand small{font-size:12px;font-weight:400;color:#6b7c82}.account{display:flex;align-items:center;gap:8px;font-size:13px}main{max-width:1440px;margin:auto;padding:24px}.auth-card{max-width:480px;margin:7vh auto;background:white;padding:32px;border:1px solid #e0e7e4;border-radius:22px;box-shadow:0 18px 60px #173b4910}.auth-card h1{font-size:30px;margin:12px 0}.auth-card p{line-height:1.7;color:#667980}.eyebrow{font-size:12px;letter-spacing:.18em;color:#8c6c37}form label{display:grid;gap:7px;margin:16px 0}input{min-width:0;padding:12px;border:1px solid #ccd8d8;border-radius:9px}.auth-card .primary{width:100%;margin-top:12px}dialog{max-width:min(460px,92vw);border:1px solid #dce2e1;border-radius:18px;padding:24px}dialog::backdrop{background:#0d283c66}dialog footer{display:flex;justify-content:flex-end;gap:10px}[hidden]{display:none!important}#auth-status,[data-message]{color:#a73737}#workspace{display:block;background:white;border:1px solid #e1e7e4;border-radius:16px;min-height:70vh}.team-notebook{min-height:65vh!important}#startup-status{text-align:center;color:#667980}.team-page-design option[value="people-work"],[data-team-add="vehicle-watch"]{display:none!important}@media(max-width:600px){main{padding:10px}.app-header{padding-left:14px;padding-right:14px}.brand small{display:none}.account{gap:5px}.account button{font-size:12px;padding:7px}#user-name{max-width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-card{padding:24px;margin-top:25px}#workspace{border-radius:12px}}

.legal-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:24px;font-size:12px;color:#536b76}.delete-account{margin-top:24px;border-top:1px solid #ddd;padding-top:20px}.danger{background:#a32635;color:white}#account-dialog{max-height:85dvh;overflow:auto}#network-status{margin:0;background:#fff0bd;padding:10px;text-align:center}.brand{font-size:20px}.app-header{flex-wrap:wrap}button{touch-action:manipulation}#server-dialog input{width:100%}@media(max-width:600px){.account{width:100%;justify-content:flex-end}.app-header{gap:6px}.brand{font-size:18px}dialog{width:calc(100% - 24px);padding:20px}}

#workspace .team-top{display:flex!important;justify-content:space-between;align-items:center;margin:8px 0!important;padding:8px!important;border-bottom:1px solid #e4e9e7}#workspace .team-top h1{font-size:15px;margin:0}#workspace .team-top-status{display:flex!important;gap:6px;align-items:center;font-size:11px;flex-wrap:wrap}#workspace .team-top-status button{font-size:11px;min-height:30px;padding:4px 8px}#workspace .team-cover-actions{gap:6px;flex-wrap:wrap}#workspace .team-cover-actions button{white-space:nowrap;min-width:74px;font-size:12px;padding:7px 9px!important}#workspace .team-notebook{padding:12px!important}#workspace .team-page-add-shortcut{min-height:40px!important}
body #workspace .team-cover-actions{display:flex!important;flex-wrap:wrap!important;max-width:100%!important;width:auto!important}body #workspace .team-cover-actions button{flex:0 0 auto!important}.team-editable{font-family:inherit!important}

#update-dialog{max-width:420px;width:calc(100% - 48px)}#update-dialog footer{display:flex;gap:12px;justify-content:flex-end}#update-notes{white-space:pre-line}#update-status{font-size:13px}
