/* Shared task shell, also bundled by the desktop callback renderer. */
.sv-page, .sv-task {
  --sv-ink: #101e33;
  --sv-muted: #53647a;
  --sv-line: #d6e0ea;
  --sv-blue: #075ea8;
  color: var(--sv-ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
.sv-page { min-height:100vh; min-height:100dvh; margin:0; display:flex; flex-direction:column; background:#f6f8fb; }
.sv-page *, .sv-task * { box-sizing:border-box; }
.sv-page [hidden], .sv-task[hidden], .sv-task [hidden] { display:none !important; }
.sv-top { display:flex; align-items:center; min-height:66px; padding:8px clamp(16px,4vw,60px); background:white; border-bottom:1px solid #d6e0ea; }
.sv-brand-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:#101e33; font:750 23px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:-1.1px; text-decoration:none; }
.sv-brand-link:hover { text-decoration:none; color:#075ea8; }
.sv-brand-link img { width:34px; height:34px; border-radius:8px; }
.sv-stage { flex:1; width:100%; display:grid; place-items:center; padding:clamp(20px,4vw,52px) 16px; }
.sv-task { box-sizing:border-box; width:min(470px,100%); margin:0; padding:clamp(22px,3.3vw,32px); border:1px solid var(--sv-line); border-radius:17px; background:white; box-shadow:0 10px 32px #11283d0a; overflow-wrap:anywhere; }
.sv-task h1, .sv-task h2 { margin:16px 0 10px; font-size:clamp(28px,3.2vw,35px); letter-spacing:-.045em; line-height:1.12; text-wrap:balance; }
.sv-task p { margin:10px 0; color:var(--sv-muted); }
.sv-task :is(.sv-help,small) { color:var(--sv-muted); font-size:13px; }
.sv-task .sv-identity { margin:14px 0; padding:13px 16px; border:1px solid var(--sv-line); border-radius:10px; background:#f4f8fc; color:var(--sv-ink); font-weight:630; }
.sv-task :is(.sv-identity,[role=status]):empty { display:none; }
.sv-task label { display:grid; gap:6px; font-size:14px; font-weight:650; }
.sv-task input { width:100%; min-height:46px; padding:9px 12px; border:1px solid #b9c9d9; border-radius:9px; color:var(--sv-ink); background:white; font:inherit; }
.sv-task input[readonly] { background:#f4f8fc; }
.sv-task form { margin-top:15px; }
.sv-task :is(button,a), sv-policies a { font:inherit; cursor:pointer; }
.sv-task :is(.sv-primary,sv-providers button,sv-providers a) {
  position:relative; display:flex; justify-content:center; align-items:center; width:100%;
  min-height:46px; margin:8px 0 0; padding:9px 38px; border:1px solid #cbd8e4;
  border-radius:9px; color:var(--sv-ink); background:white; font-size:15px; font-weight:650; text-align:center; text-decoration:none;
}
.sv-task .sv-primary { border-color:#10233d; background:#10233d; color:white; }
.sv-task :is(button,a):hover { filter:brightness(.94); }
.sv-task button:disabled { opacity:.62; cursor:wait; }
.sv-task .sv-link { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; margin:5px 0 0; padding:5px 10px; border:0; color:var(--sv-blue); background:transparent; text-align:center; font-size:14px; font-weight:650; text-decoration:none; }
.sv-task .sv-link:hover, sv-policies a:hover { text-decoration:underline; }
sv-providers { display:grid; }
sv-providers img, sv-providers .signin-email::before { position:absolute; left:14px; width:20px; height:20px; }
sv-providers .signin-email::before { content:""; background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353647a' stroke-width='1.7'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
sv-providers [target="_blank"]::after { content:"↗"; position:absolute; right:14px; }
.sv-glyph { display:grid; place-items:center; width:48px; height:44px; border-radius:11px; background:#eaf4ff; color:#075ea8; }
.sv-glyph svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sv-footer, sv-policies { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 20px; padding:4px 16px; }
.sv-footer a, sv-policies a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:#53647a; text-decoration:none; }
.sv-page :focus-visible, .sv-task :focus-visible, .sv-brand-link:focus-visible, sv-policies :focus-visible { outline:3px solid #1974ba; outline-offset:2px; }
dialog.sv-task { margin:auto; max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); overflow:auto; }
dialog.sv-task::backdrop { background:#142b485c; }
.sv-page[hidden] { display:none !important; }
body:has(> sv-task-page) { margin:0; }
