:root {
    /* Default to Dark Mode */
    --ios-bg: #000000;
    --ios-card-bg: #1C1C1E;
    --ios-text: #FFFFFF;
    --ios-text-secondary: #98989D;
    --ios-separator: #38383A;
    --ios-blue: #0A84FF;
    --ios-red: #FF453A;
    --ios-green: #32D74B;
    --ios-sheet-bg: #1C1C1E;
    --ios-sheet-handle: #5B5B5E;
    --safe-area-top: env(safe-area-inset-top, 20px);
    --safe-area-bottom: env(safe-area-inset-bottom, 20px);
}


* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif;
}

body {
    background-color: var(--ios-bg);
    color: var(--ios-text);
    margin: 0;
    padding: 0;
    padding-bottom: calc(var(--safe-area-bottom) + 20px);
}

/* Typography */
h1 {
    margin: 0;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Navigation Bar */
.ios-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ios-bg);
    padding-top: var(--safe-area-top);
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.nav-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ios-text);
}

.nav-action {
    background: none;
    border: none;
    color: var(--ios-blue);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-action:active {
    opacity: 0.5;
    background-color: rgba(128, 128, 128, 0.1);
}

/* List Groups (Inset Grouped) */
.content-scroll {
    padding: 1rem;
}

.ios-list-group {
    margin-bottom: 2rem;
}

.ios-list-header {
    font-size: 13px;
    color: var(--ios-text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

.ios-list-footer {
    font-size: 13px;
    color: var(--ios-text-secondary);
    margin-top: 0.5rem;
    margin-left: 1rem;
    line-height: 1.4;
}

.ios-list {
    background-color: var(--ios-card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.ios-cell {
    padding-left: 1rem;
    background-color: var(--ios-card-bg);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ios-cell:active {
    background-color: var(--ios-separator);
}

.ios-cell:not(:last-child) .cell-content {
    border-bottom: 0.5px solid var(--ios-separator);
}

.cell-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 1rem 12px 0;
    min-height: 44px;
}

.cell-label {
    font-size: 17px;
    color: var(--ios-text);
    font-weight: 400;
}

.cell-value {
    font-size: 17px;
    color: var(--ios-text-secondary);
    display: flex;
    align-items: center;
}

.chevron {
    color: var(--ios-text-secondary);
    opacity: 0.3;
    margin-left: 8px;
}

/* Mobile Tweak - kept minimal as flexbox handles most */
@media (max-width: 600px) {
    /* Adjustments if needed specifically for small phones */
}