#demand-pool.page-section:not(.hidden) {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
#demand-pool .dp-page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 8px clamp(12px, 2vw, 28px) 24px;
    max-width: min(96vw, 1520px);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
#demand-pool .dp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px 28px;
    border-radius: 22px;
    background: radial-gradient(circle at 12% 20%, rgba(200, 255, 0, 0.22), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(47, 143, 200, 0.28), transparent 34%),
        linear-gradient(135deg, #071426, #123a5b 62%, #2f8fc8);
    color: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}
#demand-pool .dp-hero--compact {
    grid-template-columns: 1fr;
    padding: 18px 24px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
#demand-pool .dp-hero--compact h1 {
    font-size: clamp(22px, 2.4vw, 32px);
}
#demand-pool .dp-hero--compact p {
    font-size: 14px;
    max-width: 720px;
}
#demand-pool .dp-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
#demand-pool .dp-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.1;
}
#demand-pool .dp-hero p {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    font-size: 15px;
}
#demand-pool .dp-hero__art img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.2));
    animation: dp-hero-float 4s ease-in-out infinite;
}
@keyframes dp-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
#demand-pool .dp-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(300px, 360px);
    gap: 20px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}
#demand-pool .dp-card--primary {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
    padding: 22px 24px 24px;
    box-sizing: border-box;
}
#demand-pool .dp-card--form {
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}
#demand-pool .dp-list-head {
    margin-bottom: 4px;
    flex-shrink: 0;
}
#demand-pool .dp-card--primary .dp-card__title {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 8px;
}
#demand-pool .dp-card--primary .dp-list-meta {
    margin: 0 0 14px;
    font-size: 14px;
}
#demand-pool .dp-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(8, 99, 196, 0.1);
    border-radius: 18px;
    padding: 18px 20px 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
[data-theme="dark"] #demand-pool .dp-card {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.2);
}
#demand-pool .dp-card__title {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}
[data-theme="dark"] #demand-pool .dp-card__title { color: #f8fafc; }
#demand-pool .dp-bar {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #0863c4;
    display: inline-block;
}
#demand-pool .dp-field { margin-bottom: 14px; }
#demand-pool .dp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
[data-theme="dark"] #demand-pool .dp-field label { color: #cbd5e1; }
#demand-pool .dp-field .req { color: #dc2626; }
#demand-pool .dp-field input[type="text"],
#demand-pool .dp-field input[type="number"],
#demand-pool .dp-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    background: #fff;
    color: #0f172a;
}
[data-theme="dark"] #demand-pool .dp-field input,
[data-theme="dark"] #demand-pool .dp-field textarea {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
#demand-pool .dp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
#demand-pool .dp-qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
#demand-pool .dp-unit {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}
#demand-pool .dp-color-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
#demand-pool .dp-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}
#demand-pool .dp-swatch.is-on { box-shadow: 0 0 0 2px #0863c4; }
#demand-pool .dp-swatch-add {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px dashed #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
}
#demand-pool .dp-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #94a3b8;
}
#demand-pool .dp-char-count {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}
#demand-pool .dp-upload-zone {
    position: relative;
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}
#demand-pool .dp-upload-zone.is-uploading { opacity: 0.7; }
#demand-pool .dp-upload-zone.is-success {
    border-color: #16a34a;
    animation: dp-upload-pop 0.65s ease;
}
@keyframes dp-upload-pop {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    40% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
    100% { transform: scale(1); box-shadow: none; }
}
#demand-pool .dp-upload-preview {
    min-height: 72px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#demand-pool .dp-upload-preview img {
    max-height: 120px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    animation: dp-img-in 0.5s ease;
}
@keyframes dp-img-in {
    from { opacity: 0; transform: scale(0.85) rotate(-3deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
#demand-pool .dp-upload-burst {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #16a34a;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    animation: dp-burst 0.9s ease forwards;
}
@keyframes dp-burst {
    0% { opacity: 0; transform: scale(0.6); }
    30% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.15); }
}
#demand-pool .dp-upload-btn {
    padding: 8px 16px;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(135deg, #2f8fc8, #0863c4);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
#demand-pool .dp-form-submit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 14px;
    margin-top: 12px;
}
#demand-pool .dp-form-submit-bar .fe-form-captcha-block {
    flex: 1 1 180px;
    min-width: 0;
}
#demand-pool .dp-form-submit-bar .fe-captcha-label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
[data-theme="dark"] #demand-pool .dp-form-submit-bar .fe-captcha-label {
    color: #cbd5e1;
}
#demand-pool .dp-form-submit-bar .fe-captcha-label .req {
    color: #dc2626;
}
#demand-pool .dp-captcha-row input,
#demand-pool .fe-captcha-input {
    flex: 1 1 96px;
    min-width: 0;
    max-width: 136px;
    width: auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.25;
    background: #fff;
    color: #0f172a;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#demand-pool .fe-captcha-input::placeholder {
    color: #94a3b8;
}
#demand-pool .fe-captcha-input:focus {
    border-color: #2f8fc8;
    box-shadow: 0 0 0 3px rgba(47, 143, 200, 0.16);
}
[data-theme="dark"] #demand-pool .fe-captcha-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
[data-theme="dark"] #demand-pool .fe-captcha-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}
#demand-pool .dp-captcha-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
#demand-pool .dp-captcha-img,
#demand-pool .fe-captcha-img {
    height: 40px;
    width: auto;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    background: #fff;
}
[data-theme="dark"] #demand-pool .fe-captcha-img {
    border-color: #334155;
    background: #0f172a;
}
#demand-pool .dp-form-submit-bar .dp-actions {
    flex: 0 0 auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
#demand-pool .dp-form-submit-bar + .dp-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}
@media (max-width: 520px) {
    #demand-pool .fe-captcha-input {
        max-width: none;
    }
    #demand-pool .dp-form-submit-bar .dp-actions {
        margin-left: auto;
    }
}
#demand-pool .dp-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}
#demand-pool .dp-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    border: 0;
}
#demand-pool .dp-btn--ghost {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
}
#demand-pool .dp-btn--primary {
    background: linear-gradient(135deg, #2f8fc8, #0863c4);
    color: #fff;
    box-shadow: 0 10px 24px rgba(8, 99, 196, 0.25);
}
#demand-pool .dp-btn:disabled { opacity: 0.55; cursor: wait; }
#demand-pool .dp-form-msg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
}
#demand-pool .dp-form-msg.is-visible { display: block; }
#demand-pool .dp-form-msg.ok {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
}
#demand-pool .dp-form-msg.err {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}
#demand-pool .dp-form-msg.is-busy {
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #93c5fd;
}
#demand-pool .dp-privacy {
    margin: 12px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}
#demand-pool .dp-pool-cloud {
    flex: 1 1 auto;
    min-height: 280px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(16px, 2vw, 28px);
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 1px solid rgba(8, 99, 196, 0.08);
    box-sizing: border-box;
}
[data-theme="dark"] #demand-pool .dp-pool-cloud {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.35));
    border-color: rgba(148, 163, 184, 0.15);
}
#demand-pool .dp-cloud-word {
    font-weight: 800;
    line-height: 1;
    opacity: 0.92;
    animation: dp-word-in 0.6s ease both;
}
@keyframes dp-word-in {
    from { opacity: 0; transform: translateY(6px) scale(0.9); }
    to { opacity: 0.92; transform: translateY(0) scale(1); }
}
@media (max-width: 1100px) {
    #demand-pool .dp-grid {
        grid-template-columns: 1fr;
    }
    #demand-pool .dp-card--form {
        position: static;
        max-height: none;
        overflow: visible;
    }
    #demand-pool .dp-card--primary {
        min-height: min(72vh, 640px);
    }
    #demand-pool .dp-pool-cloud {
        min-height: 220px;
    }
}
@media (max-width: 960px) {
    #demand-pool .dp-hero { grid-template-columns: 1fr; }
    #demand-pool .dp-field-row { grid-template-columns: 1fr; }
}
