.app-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 58px 16px 10px;
    flex-shrink: 0;
}
.app-header .ah-back {
    border: none;
    background: none;
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 6px 4px 0;
    font-family: var(--font);
    display: flex;
    align-items: center;
}
.app-header .ah-back::before {
    content: '';
    width: 9px;
    height: 9px;
    border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg);
    margin-right: 4px;
}
.app-header .ah-title {
    font-size: 22px;
    font-weight: 700;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 6px 16px 30px;
}
.app-content::-webkit-scrollbar { display: none; }

.group-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--app-text-dim);
    padding: 16px 14px 6px;
}
.list-group {
    background: var(--app-surface);
    border-radius: 12px;
    overflow: hidden;
}
.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    min-height: 46px;
    position: relative;
    cursor: default;
}
.list-row + .list-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 0;
    height: 1px;
    background: var(--app-separator);
}
.list-row.tappable { cursor: pointer; }
.list-row.tappable:active { background: var(--app-surface-2); }
.row-label { font-size: 15.5px; flex: 1; }
.row-value {
    font-size: 15px;
    color: var(--app-text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}
.row-chevron {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.row-chevron::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--app-text-dim);
    border-top: 2px solid var(--app-text-dim);
    transform: rotate(45deg);
    opacity: 0.6;
}
.row-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.row-icon svg { width: 16px; height: 16px; fill: #fff; }

.switch {
    width: 48px;
    height: 29px;
    border-radius: 15px;
    background: var(--app-surface-2);
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: left 0.2s;
}
.switch.on { background: var(--green); }
.switch.on::after { left: 21px; }

.settings-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 0 6px;
    gap: 4px;
}
.settings-hero .sh-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #0f6b6b, #d98e2b, #0f6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.settings-hero .sh-number {
    font-size: 19px;
    font-weight: 700;
}
.settings-hero .sh-os {
    font-size: 13px;
    color: var(--app-text-dim);
}

.wp-swatches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 8px 2px;
}
.wp-swatch {
    height: 128px;
    border-radius: 14px;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    transition: transform 0.12s;
}
.wp-swatch:active { transform: scale(0.95); }
.wp-swatch.selected { border-color: var(--accent); }
.wp-swatch .wp-name {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.radio-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.auth-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 22px 0;
}
.auth-screen .ph-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}
.auth-screen .ph-icon svg { width: 40px; height: 40px; fill: #fff; }
.auth-title { font-size: 22px; font-weight: 800; }
.auth-sub {
    font-size: 13px;
    color: var(--app-text-dim);
    text-align: center;
    line-height: 1.45;
    margin-top: -4px;
}
.auth-seg { margin: 6px 0 2px; }
.auth-screen .form-fields { width: 100%; }
.auth-screen .form-error { min-height: 16px; }
.auth-screen .primary-btn { width: 100%; margin-top: 0; }
.auth-id-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-id-row .text-input { flex: 1; }
.auth-suffix {
    font-size: 14px;
    font-weight: 600;
    color: var(--app-text-dim);
    flex-shrink: 0;
}

.accent-dots {
    display: flex;
    gap: 9px;
}
.accent-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.12s;
}
.accent-dot:active { transform: scale(0.88); }
.accent-dot.selected {
    border-color: var(--app-text);
    box-shadow: 0 0 0 2px var(--app-bg);
}

.seg-control {
    display: flex;
    background: var(--app-surface-2);
    border-radius: 9px;
    padding: 2px;
}
.seg-option {
    padding: 5px 14px;
    font-size: 13.5px;
    border-radius: 7px;
    cursor: pointer;
    color: var(--app-text);
}
.seg-option.selected {
    background: var(--app-surface);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.about-footer {
    text-align: center;
    color: var(--app-text-dim);
    font-size: 12px;
    padding: 22px 0 4px;
    line-height: 1.6;
}

.placeholder-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 36px;
    text-align: center;
}
.placeholder-view .ph-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}
.placeholder-view .ph-icon svg { width: 44px; height: 44px; fill: #fff; }
.placeholder-view .ph-title { font-size: 21px; font-weight: 700; }
.placeholder-view .ph-text {
    font-size: 13.5px;
    color: var(--app-text-dim);
    line-height: 1.5;
}
.placeholder-view .ph-phase {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    padding: 5px 12px;
    border-radius: 12px;
}
