/* QAFlow - Ask Question page (ask.php) — extracted from inline style="" attributes */

.ask-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.ask-input-rounded {
    border-radius: 10px;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
}

.ask-title-suggestions {
    display: none;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

.ask-engagement-box {
    display: none;
    margin-top: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 10px;
}

.ask-hidden-box {
    display: none;
    margin-top: 10px;
}

.ask-progress-sm {
    height: 8px;
    max-width: 150px;
}

.ask-writing-coach-box {
    display: none;
    margin-top: 10px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 10px;
}

.oye-editor-container.ask-editor-hidden {
    display: none !important;
}

.oye-dropdown-menu-padded {
    padding: 12px;
    min-width: 200px;
}

.ask-color-swatch {
    background: var(--swatch-color);
}

.ask-swatch-black { --swatch-color: #000000; }
.ask-swatch-red { --swatch-color: #ef4444; }
.ask-swatch-orange { --swatch-color: #f97316; }
.ask-swatch-green { --swatch-color: #22c55e; }
.ask-swatch-blue { --swatch-color: #3b82f6; }
.ask-swatch-purple { --swatch-color: #a855f7; }

.ask-highlight-swatch {
    background: var(--swatch-color);
}

.ask-highlight-none {
    --swatch-color: #fff;
    border: 1px solid #e2e8f0;
}
.ask-highlight-yellow { --swatch-color: #fef08a; }
.ask-highlight-green { --swatch-color: #bbf7d0; }
.ask-highlight-blue { --swatch-color: #bfdbfe; }
.ask-highlight-purple { --swatch-color: #e9d5ff; }
.ask-highlight-red { --swatch-color: #fecaca; }

.oye-toolbar-group-accent {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 6px;
    padding: 2px 6px;
}

.oye-accent-btn {
    color: #059669;
}

.ask-char-count-fill {
    width: 0%;
}

.ask-select-rounded {
    border-radius: 10px;
    padding: 12px 14px;
}

.ask-hidden-sm-mt {
    display: none;
    margin-top: 8px;
}

.ask-clickable-badge {
    cursor: pointer;
}

.ask-hidden-block {
    display: none;
}

.ask-input-rounded-sm {
    border-radius: 8px;
}

.ask-price-input {
    max-width: 200px;
    border-radius: 8px;
}

.ask-btn-rounded {
    border-radius: 10px;
    padding: 12px;
}

.ask-btn-rounded-only {
    border-radius: 10px;
}

.ask-sidebar-card {
    border-radius: 14px;
}

.ask-tips-list {
    line-height: 1.8;
    font-size: 14px;
}

.ask-shortcuts-table {
    font-size: 13px;
}

.oye-modal-narrow {
    max-width: 560px;
}

.ask-monospace-textarea {
    font-family: monospace;
    border-radius: 8px;
}

.ask-resize-unit {
    color: #94a3b8;
    font-size: 12px;
}

/* JS-generated content classes */
.yt-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 16px 0;
    border-radius: 8px;
}

.yt-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ask-tip-row {
    margin-bottom: 4px;
}

.ask-tip-bullet {
    font-weight: 500;
}

.suggested-title {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px 0;
    background: #dcfce7;
}

.ask-tip-bullet-success { color: #059669; }
.ask-tip-bullet-warning { color: #d97706; }
.ask-tip-bullet-danger { color: #dc2626; }

.ask-grammar-highlight {
    background: #bbf7d0;
    border-bottom: 2px solid #22c55e;
}
