:root {
    --gsc-green: #075b35;
    --gsc-green-bright: #0b7a42;
    --gsc-text: #111820;
    --gsc-text-muted: #666b73;
    --gsc-border: #d9dcdf;
    --gsc-background: #ffffff;
    --gsc-card-radius: 18px;
    --gsc-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #eef0f1;
    color: var(--gsc-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

#gsc-app {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: var(--gsc-background);
}

.gsc-screen {
    min-height: 100vh;
    background: #fff;
}

.gsc-app-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--gsc-background);
}

.gsc-app-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 66px;
    padding:
        max(6px, env(safe-area-inset-top))
        18px
        6px;
    border-bottom: 1px solid var(--gsc-border);
    background: var(--gsc-header-background, #ffffff);
    color: var(--gsc-header-text, var(--gsc-green));
}

.gsc-app-header[hidden] {
    display: none;
}

.gsc-app-header-title {
    margin: 0;
    color: inherit;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.gsc-app-header-left,
.gsc-app-header-right {
    display: flex;
    align-items: center;
    min-width: 48px;
}

.gsc-app-header-left {
    justify-content: flex-start;
}

.gsc-app-header-right {
    justify-content: flex-end;
}

.gsc-app-header-action {
    color: inherit;
}

.gsc-app-header-back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 48px;
    height: 48px;
    font-size: 54px;
    font-weight: 300;
    line-height: 1;
}

.gsc-app-screen {
    flex: 1 1 auto;
    min-height: 0;
}