:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--ink:#14212b;--muted:#667781;--line:#dfe7eb;--brand:#0b7f77;--brand-dark:#086860;--soft:#f3f6f8;--surface:#fff;--danger:#b42318;--success:#067647;--shadow:0 1px 2px rgba(16,24,40,.04),0 18px 50px rgba(16,24,40,.08)}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--soft)}a{color:var(--brand);text-decoration:none;font-weight:650}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}.auth-body{min-height:100vh;background:linear-gradient(135deg,#0f2b2c 0,#0f2b2c 38%,#f3f6f8 38%,#f3f6f8 100%)}.auth-card{width:min(92vw,480px);margin:7vh auto;padding:32px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.auth-card:before{content:attr(data-brand);display:block;margin-bottom:28px;color:var(--brand);font-size:20px;font-weight:850;letter-spacing:-.04em}.auth-card h1{margin:0 0 10px;font-size:34px;line-height:1.1;letter-spacing:-.045em}.auth-card>p{color:var(--muted);line-height:1.55}.auth-card form{display:grid;gap:16px;margin-top:24px}.auth-card label{display:grid;gap:7px;font-size:13px;font-weight:700}.auth-card input{width:100%;border:1px solid #bcc8ce;border-radius:9px;padding:11px 12px;background:#fff;outline:none}.auth-card input:focus{border-color:#3fa69e;box-shadow:0 0 0 3px rgba(11,127,119,.1)}.auth-card input[type=checkbox]{width:auto}.auth-card label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:9px;font-weight:600;line-height:1.45}.auth-card [role=alert]{margin:0;color:var(--danger);font-size:13px}.auth-card [role=status]{padding:10px 12px;border-radius:9px;background:#ecfdf3;color:var(--success)}.auth-card button{border:0;border-radius:9px;padding:11px 14px;background:var(--brand);color:#fff;font-weight:750;cursor:pointer}.auth-card button:hover{background:var(--brand-dark)}.auth-card form+ p{margin-top:20px}.portal-body{min-height:100vh;background:#f5f8f9}.portal-topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,72px);background:#fff;border-bottom:1px solid var(--line)}.portal-brand{display:flex;align-items:center;gap:10px;color:#123336;font-size:20px;font-weight:850;letter-spacing:-.04em}.portal-brand:before{content:"S";display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:linear-gradient(145deg,#18aa9f,#0b756e);color:#fff;font-size:15px}.portal-topbar span{color:var(--muted);font-size:12px;font-weight:650}.portal-page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:clamp(28px,5vw,56px) 0}.portal-footer{padding:24px;text-align:center;color:#8a989f;font-size:12px}.portal-page .stack{display:grid;gap:20px}.portal-page .panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 1px 2px rgba(16,24,40,.035)}.portal-page .page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.portal-page .eyebrow{margin:0 0 7px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.portal-page h1{margin:0;font-size:clamp(30px,5vw,44px);letter-spacing:-.05em}.portal-page h2{margin:0;font-size:18px;letter-spacing:-.02em}.portal-page p{line-height:1.55}.portal-page .muted{color:var(--muted)}.portal-page .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-page .metric{border:1px solid var(--line);border-radius:13px;padding:18px;background:#fbfdfd;color:var(--muted);font-size:12px;font-weight:700}.portal-page .metric strong{display:block;margin-top:8px;color:var(--ink);font-size:20px;overflow-wrap:anywhere}.portal-page table{width:100%;border-collapse:collapse;font-size:13px}.portal-page th,.portal-page td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left}.portal-page th{background:#f8fafb;color:#788891;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.portal-page .table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}.portal-page .table-wrap table{margin:0}.portal-page code{font-family:ui-monospace,monospace;font-size:11px;background:#f1f5f6;padding:2px 5px;border-radius:5px}.portal-page .badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:var(--success);font-size:10px;font-weight:800;text-transform:capitalize}.portal-page .service-card,.portal-page .staff-card{padding:14px;border:1px solid var(--line);border-radius:11px;background:#fbfcfd}.portal-page .service-card strong,.portal-page .staff-card strong{display:block}.portal-page .offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:720px){.auth-body{background:var(--soft)}.auth-card{margin:24px auto;padding:24px}.portal-page .grid,.portal-page .offer-grid{grid-template-columns:1fr}.portal-topbar{padding:0 18px}.portal-topbar span{display:none}}
/* slotcrm-i18n-switcher */
.locale-switcher{display:inline-flex;align-items:center;gap:4px;padding:3px;border:1px solid #e4e7ec;border-radius:8px;background:#fff}
.locale-switcher button{width:auto;border:0;border-radius:6px;padding:5px 8px;background:transparent;color:#667085;font:inherit;font-size:12px;font-weight:750;line-height:1.2;cursor:pointer}
.locale-switcher button:hover{background:#f2f4f7}
.locale-switcher button[aria-current=true]{background:#ecfdf9;color:#065f59}
.public-locale{position:fixed;right:20px;top:16px;z-index:30}
.portal-actions{display:flex;align-items:center;gap:12px}.auth-social{display:grid;gap:8px;margin:22px 0 0}.auth-provider{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 44px;border:1px solid #cbd5db;border-radius:8px;background:#fff;color:var(--ink);font-size:14px;font-weight:650}.auth-provider:hover{border-color:#8aa4ad;background:#f8fafb;text-decoration:none}.auth-provider-mark{position:absolute;left:14px;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:10px;font-weight:900;line-height:1}.auth-provider-vk .auth-provider-mark{background:#2787f5;color:#fff}.auth-provider-yandex .auth-provider-mark{border:1px solid #e4e7ec;background:#fff;color:#fc3f1d;font-size:15px}.auth-provider-google .auth-provider-mark{border:1px solid #d0d5dd;background:#fff;color:#4285f4;font-size:13px}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 0;color:var(--muted);font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-password{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.auth-password summary{cursor:pointer;color:var(--brand);font-weight:700}.auth-password form{margin-top:18px}.auth-secondary{text-align:center}.auth-card strong{color:var(--ink)}
/* accessible locale touch targets */
.locale-switcher button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 10px}
@media(max-width:720px){.auth-provider,.auth-card input,.auth-card button{min-height:44px}.auth-card summary{min-height:44px;display:flex;align-items:center}.auth-secondary a,.auth-card form+ p a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 6px}.auth-body>[data-sandbox-marker]{min-height:62px;padding:9px 116px 9px 12px!important;display:flex!important;align-items:center;text-align:left!important;line-height:1.25}.auth-body>[data-sandbox-marker]+.public-locale{top:8px;right:8px}}


/* auth-refresh-20261001
   Новый экран авторизации визуально продолжает главную Хрономики.
   Логика форм и маршруты не меняются: это только presentation layer. */
.auth-body{
    min-height:100vh;
    background:
        radial-gradient(circle at 12% 18%,rgba(32,166,151,.12),transparent 34rem),
        radial-gradient(circle at 88% 82%,rgba(22,92,86,.08),transparent 28rem),
        #f6f8f7;
}
.auth-topbar{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:12px clamp(20px,5vw,72px);
    border-bottom:1px solid rgba(20,33,43,.08);
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(16px);
}
.auth-brand-link{
    display:inline-flex;
    align-items:center;
    gap:11px;
    color:#123336;
    font-size:20px;
    font-weight:850;
    letter-spacing:-.035em;
}
.auth-brand-link:hover{text-decoration:none}
.auth-brand-mark{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:10px;
    background:linear-gradient(145deg,#16a99e,#08776f);
    color:#fff;
    font-size:15px;
    font-weight:900;
    box-shadow:0 7px 22px rgba(8,119,111,.18);
}
.auth-top-actions{display:flex;align-items:center;gap:14px}
.auth-top-actions .public-locale{position:static}
.auth-home-link{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:8px 12px;
    border-radius:9px;
    color:#4f626a;
    font-size:13px;
    font-weight:700;
}
.auth-home-link:hover{background:#eef4f3;text-decoration:none}
.auth-stage{
    min-height:calc(100vh - 72px);
    display:grid;
    grid-template-columns:minmax(300px,480px) minmax(380px,500px);
    align-items:center;
    justify-content:center;
    gap:clamp(48px,8vw,110px);
    padding:clamp(36px,6vw,84px) clamp(22px,5vw,72px);
}
.auth-context{max-width:480px}
.auth-context-eyebrow{
    margin:0 0 14px;
    color:#0b7f77;
    font-size:12px;
    font-weight:850;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.auth-context h2{
    margin:0;
    color:#102d30;
    font-size:clamp(38px,5vw,60px);
    line-height:1.03;
    letter-spacing:-.055em;
}
.auth-context>p:last-child{
    max-width:430px;
    margin:22px 0 0;
    color:#61747c;
    font-size:17px;
    line-height:1.65;
}
.auth-card{
    width:100%;
    margin:0;
    padding:clamp(28px,4vw,40px);
    border:1px solid rgba(20,33,43,.09);
    border-radius:24px;
    background:rgba(255,255,255,.97);
    box-shadow:0 24px 70px rgba(23,49,48,.12);
}
.auth-card:before{display:none}
.auth-card h1{
    margin:0 0 12px;
    color:#102d30;
    font-size:clamp(31px,4vw,40px);
    line-height:1.05;
    letter-spacing:-.045em;
}
.auth-card>p:first-of-type{margin:0;color:#697a81}
.auth-card form{margin-top:22px}
.auth-card input{
    min-height:48px;
    border-color:#c6d1d5;
    border-radius:11px;
    padding:12px 13px;
}
.auth-card button{
    width:100%;
    min-height:48px;
    border-radius:11px;
    background:#0b7f77;
}
.auth-card button:hover{background:#086860}
.auth-social{gap:10px;margin-top:24px}
.auth-provider{
    min-height:48px;
    border-radius:11px;
    border-color:#d3dcdf;
}
.auth-divider{margin-top:20px}
.auth-password{margin-top:24px;padding-top:20px}
.auth-password summary{
    min-height:44px;
    display:flex;
    align-items:center;
    color:#536970;
}
.auth-secondary{margin:24px 0 0!important}
.auth-card [role=alert]{
    padding:10px 12px;
    border:1px solid #fecdca;
    border-radius:10px;
    background:#fffbfa;
}
.auth-card [role=status]{
    border:1px solid #abefc6;
    border-radius:10px;
}

@media(max-width:900px){
    .auth-stage{
        grid-template-columns:minmax(0,560px);
        gap:26px;
        align-content:start;
        padding-top:44px;
    }
    .auth-context{max-width:560px}
    .auth-context h2{font-size:36px}
    .auth-context>p:last-child{margin-top:12px;font-size:15px}
}
@media(max-width:620px){
    .auth-topbar{min-height:62px;padding:8px 14px}
    .auth-brand-link{font-size:18px}
    .auth-brand-mark{width:32px;height:32px}
    .auth-home-link{display:none}
    .auth-stage{
        min-height:calc(100vh - 62px);
        display:block;
        padding:22px 14px 34px;
    }
    .auth-context{padding:0 8px 18px}
    .auth-context-eyebrow{display:none}
    .auth-context h2{font-size:26px}
    .auth-context>p:last-child{display:none}
    .auth-card{
        padding:24px 20px;
        border-radius:18px;
        box-shadow:0 16px 42px rgba(23,49,48,.09);
    }
    .auth-card h1{font-size:30px}
    .locale-switcher button{min-width:40px;min-height:40px}
}
