:root{color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1f1f1f;background:#e6e9f0;font-synthesis:none}
.import-summary{margin:0 0 24px;font-size:14px}.import-summary div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #eee}.import-summary dd{margin:0;white-space:nowrap;font-weight:600}ol.intro{padding-left:20px}ol.intro li{margin:12px 0}
*{box-sizing:border-box}body{margin:0}a{color:#0064b8;text-underline-offset:3px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #687383;outline-offset:4px}
.shell{max-width:500px;min-height:100vh;margin:auto;background:#f5f5f5;padding:28px 22px 20px}.brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px}.brand-link{display:flex;gap:11px;align-items:center;text-decoration:none;color:inherit}.brand-mark{display:grid;place-items:center;background:#299fff;color:white;width:40px;height:40px;border-radius:15px;font-weight:700}.brand strong{font-size:16px;font-weight:600}.brand small{display:block;font-size:11px;color:#707070;margin-top:4px}.badge{background:#f0f0f0;color:#0064b8;font-size:11px;padding:7px 10px;border-radius:9px}
.card{padding:26px 24px;margin-bottom:18px;background:white;border-radius:24px;box-shadow:0 8px 25px #22222202}.eyebrow{color:#0064b8;font-size:12px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 12px}h1{font-size:29px;line-height:1.18;letter-spacing:-.7px;margin:0 0 14px}h2{font-size:21px;line-height:1.25;margin:0 0 24px}.intro{font-size:14px;line-height:1.6;color:#666666;margin:0 0 28px}
label{display:block;color:#666666;font-size:13px;margin:20px 0 8px}input{display:block;width:100%;min-width:0;min-height:49px;border:1px solid #d9d9d9;border-radius:12px;padding:12px 13px;background:#fff;color:#1f1f1f;font-size:16px}input:focus{outline:2px solid #687383;outline-offset:2px;border-color:#299fff}.hint{display:block;color:#707070;font-size:12px;line-height:1.5;margin-top:8px}.primary{display:block;background:#0078d4;color:#fff;border:1px solid #0078d4;border-radius:13px;min-height:49px;width:100%;font-weight:600;font-size:14px;margin-top:28px;padding:13px 16px}.button-link{text-decoration:none;text-align:center}.switch{font-size:13px;text-align:center;line-height:1.8;color:#666666;margin:24px 0 0}.switch a{white-space:nowrap;text-decoration:none;font-weight:500}
.notice{padding:18px 20px;border-radius:17px;background:#eaf4ff;color:#005ca8;font-size:13px;line-height:1.6;margin:0 0 18px;overflow-wrap:anywhere}.notice p{margin:6px 0 0}.notice p:first-child{margin-top:0}.success{color:#357879;background:#e9f4f2}.error{background:#fff0ed;color:#a13d38}.page-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.page-title h1{margin:0}.text-button{color:#0064b8;border:0;background:none;padding:10px 0 10px 12px;font-size:13px}.identity{overflow-wrap:anywhere}.identity p{font-size:13px;color:#666666;margin:8px 0 0}footer{text-align:center;font-size:11px;color:#777777;line-height:1.5;margin:30px 0 8px}
.shell-centered{display:flex;flex-direction:column;min-height:100dvh;padding-block:28px}.shell-centered>main{width:100%;margin-block:auto}.shell-centered>main>.card:last-child{margin-bottom:0}
@media(max-width:360px){.shell{padding:22px 14px}.card{padding:24px 20px}h1{font-size:26px}}

/* Account and authentication share the application's Bento palette and rhythm. */
:root{color:#202732;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.shell{max-width:430px;background:#f4f5f7;padding-inline:20px;border-inline:1px solid #e6e9ef;font-size:15px;line-height:1.45}
.card{padding:24px;border:1px solid #e6e9ef;box-shadow:none;margin-bottom:12px}
h1{font-size:28px;font-weight:650;line-height:1.2}h2{font-size:20px;font-weight:600}
.intro,label,.hint,.switch,.identity p{color:#687383}
input{border-color:#e6e9ef;min-height:48px;color:#202732}
.primary{background:#007bd9;border-color:#007bd9;min-height:48px;border-radius:14px;font-size:15px;font-weight:500;line-height:1.45;padding:12px 15px}
.notice{border-radius:20px}.badge{background:#e8f3fe}
@media(max-width:360px){.shell{padding-inline:14px}.card{padding:20px}h1{font-size:26px}}

/* Authentication uses the same quiet cards, fields and switches as the app. */
:root{--cw-ink:#202732;--cw-muted:#687383;--cw-line:#e2e7ef;--cw-blue:#007bd9}
.primary.admin-entry{background:#e7f3ff;border-color:#cce5fb;color:#007bd9}
.card{background:linear-gradient(135deg,#f3f9fc 0%,#fff 52%,#f8f6fb 100%);border-radius:24px}
h1{font-size:28px;font-weight:500;letter-spacing:-.5px;line-height:1.25}
input{font-size:15px;font-weight:400;border-color:var(--cw-line);border-radius:12px}
.auth-brand{font-size:15px;font-weight:500;color:var(--cw-blue);margin:0 0 22px}
.auth-card .intro{font-size:14px;margin-bottom:24px}
.auth-card label{font-size:13px}.auth-card .primary{font-size:15px;font-weight:500;margin-top:24px}
.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}
.auth-options a{font-size:13px;text-decoration:none}
.auth-remember{display:flex;align-items:center;gap:9px;color:var(--cw-ink);margin:0;cursor:pointer}
.auth-remember input{appearance:none;-webkit-appearance:none;position:relative;width:42px;min-height:25px;height:25px;padding:0;border-radius:999px;border:1px solid #cbd3df;background:#dce2ea;flex-shrink:0;cursor:pointer}
.auth-remember input:before{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #20273226;transition:transform .15s}
.auth-remember input:checked{background:var(--cw-blue);border-color:var(--cw-blue)}
.auth-remember input:checked:before{transform:translateX(17px)}
.auth-remember input:focus{outline:none}.auth-remember input:focus-visible{outline:2px solid #687383;outline-offset:3px}
@media(max-width:360px){.auth-card{padding:20px}h1{font-size:26px}.auth-options{gap:14px}}
@media(prefers-reduced-motion:reduce){.auth-remember input:before{transition:none}}
@media(forced-colors:active){.auth-remember input{border-color:ButtonText}.auth-remember input:before{background:ButtonText}.auth-remember input:checked{background:Highlight}.auth-remember input:checked:before{background:HighlightText}}

/* Auth screens follow the application's page headings and reusable card controls. */
.shell-auth{--cw-surface-glow:radial-gradient(ellipse at 0% 0%,rgba(124,183,236,.09),rgba(124,183,236,0) 65%),radial-gradient(ellipse at 100% 100%,rgba(174,158,224,.09),rgba(174,158,224,0) 65%);padding-block:24px}
.shell-auth .auth-heading{margin:0 0 20px}
.shell-auth .auth-brand{color:var(--cw-blue);font-size:15px;font-weight:500;margin:0 0 12px}
.shell-auth h1{margin:0 0 8px;font-size:28px;font-weight:500;line-height:1.25;letter-spacing:-.5px;overflow-wrap:anywhere}
.shell-auth .intro{margin:0;font-size:13px;line-height:1.55;color:var(--cw-muted)}
.shell-auth .auth-card{padding:24px;margin:0;background:var(--cw-surface-glow),#fff;border:0;border-radius:24px}
.shell-auth label{font-size:13px;margin:16px 0 8px}
.shell-auth form>label:first-of-type{margin-top:0}
.shell-auth input:not([type=checkbox]){height:48px;min-height:48px;padding:12px;border:1px solid var(--cw-line);border-radius:12px;background:#fff;color:var(--cw-ink);font-size:15px;line-height:1.45}
.shell-auth input:not([type=checkbox]):focus{outline:2px solid #687383;outline-offset:1px;border-color:var(--cw-blue)}
.shell-auth .auth-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.shell-auth .auth-field-heading label{margin:0}
.shell-auth .auth-field-heading a{font-size:13px;text-decoration:none;color:var(--cw-blue)}
.shell-auth .auth-options{margin-top:18px}
.shell-auth .auth-remember{width:100%;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;font-size:15px;color:var(--cw-ink)}
.shell-auth .auth-remember input{width:44px;height:26px;min-height:26px;border-radius:999px}
.shell-auth .auth-remember input:before{width:18px;height:18px}
.shell-auth .auth-remember input:checked:before{transform:translateX(18px)}
.shell-auth .primary{margin-top:24px;background:var(--cw-blue);border-color:var(--cw-blue);min-height:48px;border-radius:14px;font-size:15px;font-weight:500}
.shell-auth .auth-card form>input[type=hidden]+.primary{margin-top:0}
.shell-auth .hint{margin-top:8px;font-size:12px;line-height:1.5}
.shell-auth .auth-switch{margin-top:20px;text-align:center}
.shell-auth .auth-switch p{margin:0 0 10px;font-size:13px;color:var(--cw-muted)}
.shell-auth .secondary{display:block;width:100%;min-height:48px;padding:12px 15px;border:1px solid var(--cw-line);border-radius:14px;background:#fff;color:var(--cw-ink);font-size:15px;font-weight:500;line-height:1.45}
@media(max-width:360px){.shell-auth .auth-card{padding:20px}.shell-auth h1{font-size:26px}}
@media(hover:hover){.shell-auth .primary:hover{background:#006bc0}.shell-auth .secondary:hover{background:#eef3f8}.shell-auth .auth-field-heading a:hover{text-decoration:underline}}
.auth-password-field{position:relative}.auth-password-field input:not([type=checkbox]){padding-right:48px}.auth-password-tools{margin-top:8px}.auth-password-toggle{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--cw-muted)}.auth-password-toggle svg{width:20px;height:20px;pointer-events:none}.auth-password-toggle .password-eye-off,.auth-password-toggle[aria-pressed=true] .password-eye{display:none}.auth-password-toggle[aria-pressed=true] .password-eye-off{display:inline}.auth-password-toggle[aria-pressed=true]{color:var(--cw-blue)}.auth-password-toggle:focus-visible{outline:2px solid #687383;outline-offset:-4px}.auth-password-tools .hint:empty{display:none}@media(hover:hover){.auth-password-toggle:hover{color:var(--cw-blue);background:#007bd908}}
.auth-divider{display:flex;align-items:center;gap:14px;margin:18px 0;color:var(--cw-muted);font-size:13px}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:var(--cw-line)}
.shell-auth .telegram-button{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--cw-blue)}.auth-alternative>.hint{text-align:center}
.auth-providers{display:flex;justify-content:center;gap:24px}.auth-provider{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:76px;padding:4px;border:0;background:transparent;color:var(--cw-ink);font:inherit;font-size:12px;cursor:pointer}.auth-provider-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:#fff}.yandex-icon{background:#fc3f1d;font-family:Arial,sans-serif;font-size:34px;font-weight:400;line-height:1}.telegram-icon{background:#229ed9}.auth-provider:focus-visible{outline:2px solid #687383;outline-offset:4px;border-radius:12px}@media(hover:hover){.auth-provider:hover .auth-provider-icon{box-shadow:0 0 0 4px #007bd914}}
.shell-auth .auth-spaced{margin-top:18px}.shell-auth .auth-card h2{font-size:18px;margin:0 0 10px}.auth-disconnect summary{cursor:pointer;color:var(--cw-blue);font-size:14px}.shell-auth .danger{color:#b42318;border-color:#efc8c4}

/* Unified authentication card, reviewed with the registration documents. */
.shell-auth .auth-surface{padding:24px;background:var(--cw-surface-glow),#fff;border-radius:24px}
.shell-auth .auth-card{padding:0;background:none;border-radius:0}
.auth-tabs{display:flex;gap:4px;padding:4px;margin:0 0 22px;background:#e8ecf2;border-radius:14px}
.auth-tabs a{flex:1;padding:10px 6px;text-align:center;text-decoration:none;border-radius:11px;font-size:14px;color:var(--cw-muted)}
.auth-tabs a[aria-current=page]{background:#fff;color:var(--cw-blue);box-shadow:0 1px 3px #20273208}
.shell-auth .auth-agreement{display:flex;align-items:flex-start;gap:10px;margin:20px 0 0;font-size:12px;line-height:1.55;color:var(--cw-muted)}
.shell-auth .auth-agreement input{appearance:auto;width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:var(--cw-blue);cursor:pointer}
.auth-agreement span{min-width:0}.auth-agreement a{color:var(--cw-blue)}
.shell-auth button:disabled{opacity:.5;cursor:default}.shell-auth .auth-new-account{border-top:1px solid var(--cw-line);margin-top:24px;padding-top:22px}
.auth-new-account summary{cursor:pointer;color:var(--cw-blue);font-size:15px;min-height:32px}
@media(max-width:360px){.shell-auth .auth-surface{padding:20px}.shell-auth .auth-card{padding:0}}

/* Match the app: focused text fields use a neutral border, never a blue halo. */
input:not([type=checkbox]):focus,.shell-auth input:not([type=checkbox]):focus{outline:none;border-color:#a5aeb9;box-shadow:none}

/* Adapt the layout to the viewport; never scale the page or disable browser zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:#f4f5f7}
.shell{width:100%;max-width:560px;border:0;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.shell-centered{min-height:100svh;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
.shell-auth input:not([type=checkbox]),input{font-size:16px}
.shell-auth .intro{font-size:15px}
.shell-auth label,.shell-auth .auth-field-heading a{font-size:14px}
.shell-auth .hint,.shell-auth .auth-agreement{font-size:13px}
.shell-auth .primary,.shell-auth .secondary,.auth-tabs a{font-size:16px}
.shell-auth footer{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.shell-auth .auth-surface{min-width:0}
.auth-introduction{display:none}
@media(min-width:640px){
  .shell{max-width:600px;padding:40px 24px}
  .shell-auth .auth-surface{padding:32px 36px;border:1px solid var(--cw-line);border-radius:28px}
  .shell-auth h1{font-size:32px}
  .shell-auth .auth-heading{margin-bottom:24px}
  .shell-auth .auth-brand{font-size:17px}
  .shell-auth input:not([type=checkbox]){height:52px}
  .shell-auth .auth-password-toggle{top:4px;right:4px}
  .shell-auth .primary,.shell-auth .secondary{min-height:52px;padding-block:14px}
  .shell-auth .auth-agreement{font-size:14px}
  .shell-auth .auth-switch p{font-size:14px}
  .shell-auth footer{margin-top:28px}
}
@media(min-width:1100px){
  .shell-auth-entry{max-width:1120px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:72px;align-items:start;padding:48px 32px}
  .shell-auth-entry>main{margin:0}
  .auth-introduction{display:block;padding-block:40px}
  .auth-wordmark{margin:0 0 48px}
  .auth-introduction h2{font-size:42px;line-height:1.16;letter-spacing:-1px;font-weight:500;margin:0 0 20px}
  .auth-introduction-lead{font-size:18px;line-height:1.6;color:var(--cw-muted);margin:0 0 32px}
  .auth-features{margin:0}
  .auth-features>div{padding:18px 0;border-top:1px solid var(--cw-line)}
  .auth-features dt{font-size:16px;font-weight:500;margin-bottom:5px}
  .auth-features dd{margin:0;font-size:15px;line-height:1.55;color:var(--cw-muted)}
  .auth-device-note{font-size:14px;line-height:1.6;color:var(--cw-muted);max-width:300px;margin:28px 0 0}
}
@media(max-width:359px){.shell{padding-inline:12px}.shell-auth .auth-surface{padding:20px 16px}.shell-auth h1{font-size:26px}}

/* Compact entry forms: the form and service footer are separate blocks. */
.shell-auth-entry{max-width:488px;padding:24px 20px;gap:16px;justify-content:center}
.shell-auth-entry>main{margin:0}
.shell-auth-entry .auth-surface{padding:24px;border-radius:24px}
.shell-auth-entry .auth-tabs{margin-bottom:16px}
.shell-auth-entry .auth-tabs a{padding:8px 6px;font-size:14px}
.shell-auth-entry .auth-heading{margin-bottom:16px}
.shell-auth-entry .auth-brand{margin-bottom:8px}
.shell-auth-entry h1{font-size:26px;margin-bottom:6px}
.shell-auth-entry .intro{font-size:14px;line-height:1.45}
.shell-auth-entry label{font-size:13px;margin:12px 0 6px}
.shell-auth-entry .auth-field-heading{margin:12px 0 6px}
.shell-auth-entry .auth-field-heading label{margin:0}
.shell-auth-entry input:not([type=checkbox]){height:44px;min-height:44px;padding-block:9px;font-size:16px}
.shell-auth-entry .auth-password-toggle{top:0;right:0}
.shell-auth-entry .hint{font-size:12px;margin-top:4px}
.shell-auth-entry .auth-options{margin-top:12px}
.shell-auth-entry .auth-remember{margin:0;font-size:14px}
.shell-auth-entry .auth-agreement{margin-top:14px;font-size:12px;line-height:1.5}
.shell-auth-entry .primary{min-height:44px;padding-block:10px;margin-top:16px;font-size:15px}
.shell-auth-entry .auth-divider{margin:12px 0}
.shell-auth-entry .auth-provider{flex-direction:row;min-height:44px;font-size:13px;gap:8px}
.shell-auth-entry .auth-provider-icon{width:32px;height:32px;font-size:24px}
.shell-auth-entry .telegram-icon svg{width:22px;height:22px}
.shell-auth-entry .auth-switch-inline{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 6px;margin-top:10px;font-size:13px}
.shell-auth-entry .auth-switch-inline p{margin:0;font-size:13px}
.auth-switch-inline a{display:inline-flex;align-items:center;min-height:36px;color:var(--cw-blue);text-decoration:none;font-weight:500}
.shell-auth-entry>.auth-footer{margin:0;padding-inline:8px;font-size:11px;line-height:1.5}
.auth-footer p{margin:8px 0}
@media(min-width:1100px){
  .shell-auth-entry{max-width:1000px;grid-template-columns:minmax(0,1fr) 440px;column-gap:56px;row-gap:16px;padding:32px 24px}
  .shell-auth-entry>.auth-introduction{grid-row:1/span 2;padding-block:20px}
  .shell-auth-entry>.auth-surface,.shell-auth-entry>.auth-footer{grid-column:2}
  .shell-auth-entry .auth-heading .auth-brand{display:none}
  .auth-wordmark{margin-bottom:32px}
  .auth-introduction h2{font-size:36px;margin-bottom:16px}
  .auth-introduction-lead{font-size:16px;margin-bottom:24px}
  .auth-features>div{padding:12px 0}
  .auth-device-note{margin-top:20px}
}
@media(max-width:359px){.shell-auth-entry{padding-inline:12px}.shell-auth-entry .auth-surface{padding:20px 16px}}
