.content-main { text-align: left; }

/* Mode toggle */
.mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5f5f3;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 1.75rem;
    gap: 3px;
}
.mode-btn {
    background: none;
    border: none;
    border-radius: 7px;
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: #888;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    line-height: 1.3;
}
.mode-btn.active {
    background: #fff;
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Format toggle */
.format-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    color: #aaa;
}

/* Input card */
.input-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
}
.input-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.input-row:last-child { margin-bottom: 0; }
.input-row label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
}
.input-row input {
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}
.input-row input::-webkit-outer-spin-button,
.input-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-row input:focus { border-color: #999; }

.time-12 { display: flex; gap: 0.4rem; align-items: stretch; }
.time-12 input {
    flex: 1;
    min-width: 0;
    text-align: center;
    -moz-appearance: textfield;
}
.time-12 input::-webkit-outer-spin-button,
.time-12 input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.time-12 select {
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    cursor: pointer;
    text-align: center;
    min-width: 4rem;
}
.time-12 select:focus { border-color: #999; }

.field-hint {
    font-size: 0.72rem;
    color: #aaa;
    margin-top: 0.15rem;
}

/* Results */
.results-intro {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}
.results-intro strong { color: #1a1a1a; }

.results-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.result-card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    transition: border-color 0.15s, background 0.15s;
}
.result-card.recommended {
    border-color: #b6dbb6;
    background: #f4faf4;
}
.result-card.recommended .result-time { color: #2e7d32; }
.result-time {
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1a1a1a;
    white-space: nowrap;
}
.result-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    text-align: right;
}
.result-cycles {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
}
.result-card.recommended .result-cycles { color: #2e7d32; }
.recommended-tag {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.4rem;
    vertical-align: 0.15rem;
}
.result-duration {
    font-size: 0.78rem;
    color: #888;
}

@media (max-width: 380px) {
    .result-card { padding: 0.75rem 0.85rem; gap: 0.5rem; }
    .result-time { font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .input-card { padding: 1.25rem 1rem; }
}
