/* Shared account and app-selection shell. Each app owns its scoped CSS. */
:root { color-scheme: light; --ink:#253b4b; --muted:#5c6f7d; --blue:#225ac7; --line:#d7e0e7; --surface:#fff; --background:#f3f6f8; }
* { box-sizing:border-box; }
body { margin:0; background:var(--background); color:var(--ink); font-family:"Segoe UI Variable","Segoe UI",sans-serif; font-size:17px; line-height:1.55; }
a { color:var(--blue); text-underline-offset:4px; }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.skip-link { position:absolute; left:16px; top:-100px; background:white; padding:10px; z-index:10; }
.skip-link:focus { top:12px; }
.site-header,.site-footer { max-width:1160px; margin:auto; padding:28px 32px; display:flex; align-items:center; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-size:25px; font-weight:700; letter-spacing:-.7px; }
.brand-mark { display:grid; grid-template-columns:repeat(2,9px); gap:3px; }
.brand-mark i { width:9px; height:9px; background:var(--blue); border-radius:2px; }
.brand-mark i:last-child { background:#91aedc; }
.build-status { color:var(--muted); font-size:14px; margin-left:auto; }
.workspace { max-width:1096px; margin:36px auto 60px; display:grid; grid-template-columns:minmax(0,390px) minmax(0,1fr); background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.account-panel { padding:40px; border-right:1px solid var(--line); }
h1 { font-size:36px; line-height:1.15; letter-spacing:-1px; margin:0 0 16px; font-weight:650; }
.intro { color:var(--muted); margin:0 0 28px; }
label { display:block; font-size:15px; font-weight:600; margin-bottom:18px; }
input { display:block; margin-top:7px; width:100%; height:49px; padding:10px 12px; border:1px solid #a9bbc8; border-radius:6px; background:#fff; color:var(--ink); }
.primary-button { display:block; width:100%; border:0; border-radius:6px; background:var(--blue); color:white; padding:13px 18px; font-weight:600; cursor:pointer; }
.primary-button:hover { background:#1b49a5; }
.primary-button:disabled { opacity:.6; cursor:wait; }
.account-links { display:flex; flex-wrap:wrap; gap:14px 22px; margin-top:22px; font-size:14px; }
.field-hint { font-size:13px; color:var(--muted); margin:-10px 0 20px; }
.delivery-note { font-size:13px; color:var(--muted); border-top:1px solid var(--line); padding-top:18px; margin:26px 0 0; }
.form-feedback,.app-error { padding:12px 14px; border-radius:6px; background:#edf3fc; font-size:15px; }
.form-feedback[data-error="true"],.app-error { background:#fff0ed; color:#933521; }
.notice { padding:18px; background:#edf3fc; border-radius:6px; }
.apps-panel { padding:40px; }
h2 { font-size:26px; margin:0 0 8px; line-height:1.2; font-weight:650; letter-spacing:-.5px; }
.apps-intro { color:var(--muted); margin:0 0 28px; max-width:40ch; }
.app-row { display:grid; grid-template-columns:44px minmax(0,1fr); gap:0 18px; padding:24px 0; border-top:1px solid var(--line); }
.app-row:last-child { border-bottom:1px solid var(--line); }
.app-symbol { width:44px; height:44px; display:grid; place-items:center; background:#edf3fc; color:var(--blue); font-size:28px; font-weight:400; border-radius:8px; }
[data-app="svinn"] .app-symbol { background:#fcf2df; color:#956105; }
[data-app="lager"] .app-symbol { background:#e6f3ef; color:#147565; }
h3 { font-size:20px; margin:0 0 5px; line-height:1.25; font-weight:650; }
.app-row p { font-size:15px; color:var(--muted); margin:0; }
.app-state { grid-column:2; font-size:12px; color:var(--muted); margin-top:10px; }
.apps-note { color:var(--muted); font-size:14px; margin:22px 0 0; }
.site-footer { color:var(--muted); font-size:13px; justify-content:space-between; padding-top:0; }
.site-footer form { display:flex; gap:8px; align-items:center; }
.site-footer label { font-weight:400; margin:0; font-size:13px; }
.site-footer select,.site-footer button { border:1px solid var(--line); border-radius:5px; padding:5px 8px; background:transparent; color:var(--ink); font-size:13px; }
.text-button { border:0; background:none; color:var(--blue); cursor:pointer; padding:5px 0; }
@media (max-width:760px) { .site-header { padding:20px; gap:16px; } .brand { font-size:23px; } .workspace { display:block; margin:12px 16px 32px; } .account-panel { border-right:0; border-bottom:1px solid var(--line); padding:28px; } .apps-panel { padding:28px; } h1 { font-size:32px; } .site-footer { padding:0 20px 24px; align-items:flex-start; flex-direction:column; gap:16px; } }
@media (max-width:360px) { .account-panel,.apps-panel { padding:22px; } .build-status { font-size:12px; } .app-row { column-gap:12px; } }
