:root {
  color-scheme: dark;
  --cream: #fff5df;
  --muted: #bac4d0;
  --gold: #efd197;
  --border: #bd9a5d56;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--cream);
  background: #070d17;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--atendix-night-sky); position: relative; isolation: isolate; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.portal-bar { background: #080c13e0; border-bottom: 1px solid var(--border); }
.portal-bar-inner, main { width: min(100% - 36px, 850px); margin-inline: auto; }
.portal-bar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: .2em; }
.brand img { object-fit: contain; border-radius: 9px; }
main { padding-block: clamp(40px, 7vw, 76px) max(44px, env(safe-area-inset-bottom)); }
h1, h2 { margin: 0; }
h1 { max-width: 14ch; line-height: .99; font-size: clamp(2.65rem, 7vw, 4.65rem); font-weight: 620; letter-spacing: -.055em; text-wrap: balance; margin-bottom: clamp(24px, 4vw, 38px); }
h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 500; }
h2 { margin-bottom: 12px; font-size: clamp(1.1rem, 2.5vw, 1.4rem); letter-spacing: -.025em; }
.customer-card { position: relative; isolation: isolate; overflow: hidden; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; min-height: clamp(155px, 24vw, 220px); padding: clamp(22px, 4vw, 36px); border-radius: 20px; border: 1px solid #bd9e665e; background: #0b1a2b; box-shadow: 0 9px 24px #0006, inset 0 1px 0 #ffe7a833; }
.customer-art, .customer-card::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.customer-art { object-fit: cover; object-position: 72% 43%; z-index: -2; }
.customer-card::before { content: ""; background: linear-gradient(92deg,#08101eed 7%,#0a172bbb 49%,#08152328), linear-gradient(0deg,#060e19ab,transparent 70%); }
.customer-copy { display: grid; gap: 7px; }
.customer-copy strong { font-size: clamp(1.75rem, 4vw, 2.45rem); letter-spacing: -.04em; line-height: 1.02; }
.customer-copy > span { color: #e4e9ef; font-size: .98rem; }
.arrow { display: inline-grid; flex: none; width: 44px; height: 44px; place-items: center; border: 1px solid #f4daa9a8; border-radius: 50%; background: #101721d9; color: var(--gold); font-size: 1.35rem; }
.manager-entry { margin-top: 16px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(120deg,#18212df2,#101721f5); }
.manager-entry summary { list-style: none; display: flex; gap: 13px; align-items: center; min-height: 62px; padding: 12px 20px; font-weight: 640; }
.manager-entry summary::-webkit-details-marker { display: none; }
.manager-entry summary svg, .disclosure { color: var(--gold); }
.disclosure { margin-left: auto; font-size: 1.3em; }
.manager-entry[open] .disclosure { transform: rotate(180deg); }
.manager-entry form { display: grid; gap: 8px; padding: 0 20px 20px; max-width: 440px; }
.manager-entry label { color: var(--muted); font-size: .88rem; }
.manager-entry input { color: var(--cream); background: #080e18; border: 1px solid #8091a68c; border-radius: 8px; padding: 10px 12px; width: 100%; min-height: 44px; }
.primary, .sign-out { min-height: 44px; border-radius: 10px; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e2bd78; background: linear-gradient(100deg,#f7dfa9,#deba7c); color: #201609; font-weight: 700; padding-inline: 14px; margin-top: 6px; }
.sign-out { color: var(--gold); padding-inline: 14px; background: transparent; border: 1px solid var(--border); }
button:disabled { opacity: .65; cursor: wait; }
.manager-area { margin-top: clamp(24px,4vw,36px); display: grid; gap: 25px; }
.shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 9px; }
.shortcut { display: flex; gap: 12px; align-items: center; min-height: 62px; background: linear-gradient(130deg,#1c2634eb,#101823f5); padding: 10px 14px; border: 1px solid #7381924f; border-radius: 13px; box-shadow: inset 0 1px 0 #e2edff0c; font-weight: 590; }
.glyph { display: inline-grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 9px; background: #342d23; color: var(--gold); }
.glyph svg { width: 20px; height: 20px; }
.end-arrow { color: #d5c39f; margin-left: auto; font-size: 1.3rem; font-weight: 450; }
.shortcut small { display: block; margin-top: 1px; color: var(--muted); font-size: .77rem; font-weight: 470; }
.professionals { grid-template-columns: repeat(auto-fit,minmax(min(100%,165px),1fr)); }
.person-initials { border-radius: 50%; font-size: .82rem; }
.feedback, .muted { font-size: .94rem; }
.feedback { color: #ffceb9; margin: 15px 0 0; }
.muted { color: var(--muted); }
@media (hover: hover) {
  .shortcut:hover, .customer-card:hover, .manager-entry summary:hover, .sign-out:hover { border-color: #dfbf84ad; color: #ffe5ae; }
}
@media (max-width: 430px) {
  .portal-bar-inner, main { width: min(100% - 28px,850px); }
  .portal-bar-inner { min-height: 60px; }
}
