/* Minification failed. Returning unminified contents.
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,23): run-time error CSS1039: Token not allowed after unary operator: '-font'
(37,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(38,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(44,29): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(67,22): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(68,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(70,25): run-time error CSS1039: Token not allowed after unary operator: '-r-btn'
(99,22): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(100,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(139,21): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(149,17): run-time error CSS1039: Token not allowed after unary operator: '-ink-light'
(159,17): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(178,1): run-time error CSS1019: Unexpected token, found '}'
(191,17): run-time error CSS1039: Token not allowed after unary operator: '-ink-light'
(200,42): run-time error CSS1039: Token not allowed after unary operator: '-gutter'
(201,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(228,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(235,17): run-time error CSS1039: Token not allowed after unary operator: '-slate'
(257,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(268,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(269,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(270,30): run-time error CSS1039: Token not allowed after unary operator: '-steel'
(271,25): run-time error CSS1039: Token not allowed after unary operator: '-r-field'
(278,21): run-time error CSS1039: Token not allowed after unary operator: '-steel'
(284,28): run-time error CSS1039: Token not allowed after unary operator: '-slate'
(288,28): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(308,17): run-time error CSS1039: Token not allowed after unary operator: '-slate'
(316,21): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(364,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(385,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(386,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(387,30): run-time error CSS1039: Token not allowed after unary operator: '-steel'
(399,22): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(400,24): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(408,29): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(419,17): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(425,21): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(444,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(445,22): run-time error CSS1039: Token not allowed after unary operator: '-orange'
(447,25): run-time error CSS1039: Token not allowed after unary operator: '-r-btn'
(453,26): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(457,26): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(472,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(473,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(474,30): run-time error CSS1039: Token not allowed after unary operator: '-err'
(475,25): run-time error CSS1039: Token not allowed after unary operator: '-r-field'
(483,21): run-time error CSS1039: Token not allowed after unary operator: '-err'
(507,32): run-time error CSS1039: Token not allowed after unary operator: '-line'
(511,17): run-time error CSS1039: Token not allowed after unary operator: '-slate'
(519,21): run-time error CSS1039: Token not allowed after unary operator: '-orange-deep'
(524,25): run-time error CSS1039: Token not allowed after unary operator: '-ink'
 */
/* summa.cloud login — built from Brand Guidelines v1.0 (September 2026)
   Tokens, type scale, radii and focus rules come straight from the kit. */

:root {
    --orange: #F26B1D;
    --orange-deep: #C9540F;
    --orange-soft: #FDEEE5;
    --ink: #232A33;
    --slate: #5D6875;
    --steel: #8B95A1;
    --line: #D7DDE3;
    --mist: #F3F5F7;
    --white: #FFFFFF;
    --err: #D1434A;
    --ink-light: #B7BFC8; /* Ink scale, for secondary text on Ink */
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --r-btn: 10px;
    --r-field: 12px;
    --r-card: 20px;
    --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.sc-login {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Visible focus on every interactive element: 3px Orange, 3px offset */
.sc-login :focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.sc-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sc-skip {
    position: absolute;
    left: 12px;
    top: -64px;
    z-index: 10;
    padding: 12px 16px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--r-btn);
    text-decoration: none;
}

    .sc-skip:focus {
        top: 12px;
    }

/* ---------- Page shell ---------- */

.sc-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 992px) {
    .sc-shell {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }
}

/* ---------- Brand panel (desktop / large tablet only) ---------- */

.sc-panel {
    display: none;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

@media (min-width: 992px) {
    .sc-panel {
        display: flex;
        flex-direction: column;
    }
}

.sc-panel__text {
    padding: clamp(48px, 14vh, 140px) clamp(40px, 5vw, 88px) 0;
}

/* The art area takes whatever height is left under the text and clips the line,
   so the cloud can never run through the copy at any window height. */
.sc-panel__art {
    position: relative;
    flex: 1 1 auto;
    min-height: 260px;
    margin-top: 32px;
    overflow: hidden;
}

.sc-tagline {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(40px, 4.2vw, 56px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

    .sc-tagline span {
        display: block;
    }

    .sc-tagline .sc-accent {
        color: var(--orange);
    }

.sc-panel__note {
    position: relative;
    z-index: 1;
    max-width: 26em;
    margin: 24px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-light);
}

/* The cloud line: one per surface, cropped, never tiled. Scale the whole path so stroke weight stays true. */
.sc-line {
    position: absolute;
    left: -30%;
    top: 6%;
    width: 150%;
    height: auto;
    color: var(--orange);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .sc-line path {
        stroke-dasharray: 100;
        animation: sc-draw 2.6s cubic-bezier(.4, 0, .2, 1) .2s both;
    }

    @keyframes sc-draw {
        from {
            stroke-dashoffset: 100;
        }

        to {
            stroke-dashoffset: 0;
        }
    }
}

/* Motto: the last item in the flex column, under the art area. The art takes the
   remaining height and clips its line, so the motto can never be overlapped. */
.sc-panel__sign {
    position: relative;
    z-index: 1;
    flex: none;
    margin: 0;
    padding: 16px clamp(40px, 5vw, 88px) clamp(20px, 3.5vh, 36px);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--ink-light);
}

/* ---------- Form side ---------- */

.sc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(24px, 5vw, 64px) var(--gutter) 24px;
    background: var(--white);
}

.sc-card {
    width: 100%;
    max-width: 420px;
    margin-block: auto;
}

.sc-logo {
    display: inline-block;
    margin-bottom: clamp(28px, 6vh, 48px);
    line-height: 0;
}

    .sc-logo img {
        display: block;
        width: 170px; /* wordmark minimum is 120px */
        height: auto;
    }

.sc-title {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.sc-sub {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--slate);
}

@media (max-width: 480px) {
    .sc-title {
        font-size: 30px;
    }
    /* one step down on mobile */
}

/* ---------- Fields ---------- */

.sc-field {
    margin-bottom: 20px;
}

.sc-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
}

.sc-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font: inherit;
    font-size: 17px; /* 16px+ stops iOS zooming on focus */
    font-weight: 500;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--steel); /* Steel keeps the field edge above 3:1 (WCAG 1.4.11) */
    border-radius: var(--r-field);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s;
}

    .sc-input::placeholder {
        color: var(--steel);
        font-weight: 400;
        opacity: 1;
    }

    .sc-input:hover {
        border-color: var(--slate);
    }

    .sc-input:focus {
        border-color: var(--orange);
    }

.sc-pw {
    position: relative;
}

    .sc-pw .sc-input {
        padding-right: 52px;
    }

.sc-pw__toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--slate);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

    .sc-pw__toggle:hover {
        color: var(--ink);
    }

    .sc-pw__toggle svg {
        width: 22px;
        height: 22px;
    }

    .sc-pw__toggle .sc-icon-hide {
        display: none;
    }

    .sc-pw__toggle[aria-pressed="true"] .sc-icon-show {
        display: none;
    }

    .sc-pw__toggle[aria-pressed="true"] .sc-icon-hide {
        display: block;
    }

/* Icons: Lucide, outline, 1.75 stroke, rounded caps and joins */
.sc-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Remember me + forgot password ---------- */

.sc-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 20px;
}

.sc-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

    .sc-check input {
        position: absolute;
        left: 0;
        top: 50%;
        width: 22px;
        height: 22px;
        margin: -11px 0 0;
        opacity: 0;
        cursor: pointer;
    }

.sc-check__box {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--white);
    background: var(--white);
    border: 1.5px solid var(--steel);
    border-radius: 6px;
}

    .sc-check__box svg {
        width: 14px;
        height: 14px;
        opacity: 0;
        stroke-width: 2.5;
    }

.sc-check input:checked + .sc-check__box {
    background: var(--orange-deep);
    border-color: var(--orange-deep);
}

    .sc-check input:checked + .sc-check__box svg {
        opacity: 1;
    }

.sc-check input:focus-visible + .sc-check__box {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: var(--orange-deep); /* small orange text always uses Orange Deep */
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .sc-link:hover {
        color: var(--ink);
    }

    .sc-link svg {
        width: 18px;
        height: 18px;
    }

/* ---------- Primary action: one orange button per view ---------- */

.sc-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font: inherit;
    font-size: 18px; /* white on Orange only passes as 18px Bold or larger */
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    background: var(--orange);
    border: 0;
    border-radius: var(--r-btn);
    cursor: pointer;
    transition: background-color .15s;
}

    .sc-btn:hover {
        background: var(--orange-deep);
    }

    .sc-btn[disabled] {
        background: var(--orange-deep);
        cursor: progress;
    }

/* ---------- Errors: icon + words, never colour alone ---------- */

.sc-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 24px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--err);
    border-radius: var(--r-field);
}

    .sc-alert svg {
        flex: none;
        width: 22px;
        height: 22px;
        margin-top: 1px;
        color: var(--err);
    }

    .sc-alert ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sc-alert li + li {
        margin-top: 4px;
    }

    .sc-alert[hidden] {
        display: none;
    }

/* ---------- Footer ---------- */

.sc-foot {
    width: 100%;
    max-width: 420px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--slate);
}

    .sc-foot p {
        margin: 0 0 4px;
    }

    .sc-foot a {
        color: var(--orange-deep);
        text-underline-offset: 3px;
    }

        .sc-foot a:hover {
            color: var(--ink);
        }

/* Short landscape phones: let the page scroll instead of squeezing the card */
@media (max-height: 560px) {
    .sc-logo {
        margin-bottom: 20px;
    }

    .sc-sub {
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-input, .sc-btn {
        transition: none;
    }
}

