:root { color-scheme: dark; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #eaf0ee; background: #07110f; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-height: 100vh; min-height: 100svh; padding-bottom: env(safe-area-inset-bottom); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #71e8b6; outline-offset: 4px; }
[hidden] { display: none !important; }
.portal-header { min-height: 88px; padding: calc(20px + env(safe-area-inset-top)) calc(36px + env(safe-area-inset-right)) 20px calc(36px + env(safe-area-inset-left)); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #263e37; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: 36px; object-fit: contain; }
.quiet-link { color: #a9c8be; font-size: 13px; padding: 10px 4px; background: none; border: 0; cursor: pointer; }
.quiet-link:hover { color: #d8ffed; }
.login-main { min-height: calc(100svh - 88px); display: grid; place-items: center; padding: 48px 20px 72px; }
.login-panel { width: 100%; max-width: 380px; padding: 32px; border: 1px solid #315249; border-radius: 8px; background: #101f1b; box-shadow: 0 16px 64px #0003; }
.login-mark { display: block; object-fit: contain; margin-bottom: 24px; }
h1 { margin: 0; font-size: 28px; font-weight: 650; }
form { margin-top: 28px; }
label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 550; color: #a9c8be; }
input { width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #315249; border-radius: 5px; background: #07110f; color: #eaf0ee; font-size: 16px; }
input:focus { border-color: #71e8b6; }
.error { min-height: 36px; font-size: 12px; line-height: 18px; margin: 12px 0 4px; color: #ffb5aa; }
.primary-button { width: 100%; height: 46px; background: #d8ffed; color: #092018; border: 1px solid #d8ffed; border-radius: 5px; font-weight: 650; cursor: pointer; }
.primary-button:hover { background: #bff3db; }
.workspace-main { max-width: 1100px; margin: 0 auto; padding: 48px calc(36px + env(safe-area-inset-right)) 48px calc(36px + env(safe-area-inset-left)); }
.workspace-heading { display: flex; align-items: baseline; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #263e37; }
.workspace-heading h1 { font-size: 24px; }
.workspace-label { color: #78998f; font-size: 13px; }
.shortcuts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; padding-top: 32px; }
.shortcut { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; width: 112px; min-height: 128px; padding: 12px 6px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #eaf0ee; text-align: center; cursor: pointer; }
.shortcut img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.shortcut span { font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.shortcut:hover:not(:disabled) { background: #132b25; border-color: #315249; }
.shortcut:disabled { cursor: default; opacity: 0.5; }
.noscript-message { padding: 32px; }
@media (max-width: 480px) {
  .portal-header { padding: calc(16px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) 16px calc(20px + env(safe-area-inset-left)); min-height: 76px; }
  .brand img { width: 125px; height: 30px; }
  .login-main { min-height: calc(100svh - 76px); padding: 32px 20px; }
  .login-panel { padding: 28px 24px; }
  .workspace-main { padding: 32px calc(16px + env(safe-area-inset-right)) 32px calc(16px + env(safe-area-inset-left)); }
  .shortcuts { gap: 8px; }
  .shortcut { width: 96px; padding-inline: 4px; }
}
