/* AI помощник шефу — Freshli design tokens. */


/* Segmented control (3 modes) */
.seg {
    display: flex; gap: 4px; margin: 18px 0 14px;
    background: var(--bg-soft); border-radius: 12px; padding: 4px;
}
.seg-btn {
    flex: 1; background: transparent; border: none;
    padding: 9px 10px; border-radius: 9px;
    font-size: 13px; font-weight: 500;
    color: var(--text-2); cursor: pointer;
    transition: all 0.15s;
}
.seg-btn.active {
    background: var(--bg-card);
    color: var(--text); font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Reuse .prompt-input from app.css but slight override */
.idea-q {
    width: 100%; box-sizing: border-box;
    min-height: 88px;
    margin-bottom: 12px;
}

/* Preset chips */
.preset-row {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.preset-chip {
    background: transparent; border: 1px solid var(--border);
    color: var(--text-2); padding: 6px 11px;
    border-radius: 16px; font-size: 12px; cursor: pointer;
    transition: all 0.15s;
}
.preset-chip:hover { color: var(--text); border-color: var(--text-3); }

/* Alert */
.alert {
    margin: 14px 0; padding: 12px 14px;
    background: var(--bg-card); border: 1px solid var(--red);
    color: var(--red); border-radius: 12px; font-size: 13px;
}

/* Concept cards */
.concepts { margin-top: 20px; }
.concept {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 20px;
    margin-bottom: 14px;
}
.concept-head {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 10px;
}
.concept-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    background: var(--accent); color: white;
    border-radius: 50%; font-size: 12px; font-weight: 700;
    flex-shrink: 0;
}
.concept-name {
    font-size: 20px; line-height: 1.2;
    margin: 0;
}
.concept-hook {
    color: var(--text-2); font-size: 14px; line-height: 1.4;
    font-style: italic; margin-bottom: 14px;
}
.concept-block { margin-bottom: 12px; }
.concept-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-3);
    margin-bottom: 5px;
}
.concept-list {
    margin: 0; padding-left: 18px;
    font-size: 14px; line-height: 1.65; color: var(--text);
}
.concept-text {
    font-size: 14px; line-height: 1.5; color: var(--text);
}
.concept-econ {
    display: flex; flex-wrap: wrap; gap: 14px;
    padding-top: 12px; border-top: 1px solid var(--border);
    margin-top: 14px; margin-bottom: 14px;
    font-size: 12px; color: var(--text-3);
}
.concept-econ span { white-space: nowrap; }

/* History rows */
.history-row {
    display: flex; gap: 12px; padding: 8px 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; margin-bottom: 6px;
    font-size: 13px; align-items: center;
}
.history-mode { font-weight: 600; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.history-q { color: var(--text-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
