.request-card{
    background:white;
    max-width:1200px;
    margin:0 auto;
    padding:30px;
    border-radius:20px;
    box-shadow:0 8px 28px rgba(0,0,0,.08);
}

.request-card h1{
    font-size:34px;
    margin-bottom:8px;
}

.request-sub{
    color:#64748b;
    margin-bottom:24px;
}

.request-card label{
    display:block;
    font-weight:bold;
    margin:18px 0 8px;
}

.request-card input,
.request-card select,
.request-card textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:13px;
    font-size:15px;
    outline:none;
}

.request-card textarea{
    min-height:110px;
    resize:vertical;
}

#rawGuide{
    min-height:190px;
}

#resultText{
    min-height:230px;
    background:#f8fafc;
}

.request-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.primary-btn,
.copy-btn{
    border:0;
    border-radius:12px;
    padding:13px 22px;
    font-weight:bold;
    cursor:pointer;
}

.primary-btn{
    background:#2563eb;
    color:white;
    margin-top:14px;
}

.copy-btn{
    background:#111827;
    color:white;
}

.btn-row{
    display:flex;
    gap:10px;
    margin-top:18px;
}

@media(max-width:800px){
    .request-grid{
        grid-template-columns:1fr;
    }

    .request-page{
        padding:14px;
    }
}
/* AUTH / ADMIN */
.auth-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(135deg,#f8fafc,#eef2ff)}
.auth-wrap{width:100%;max-width:420px}.auth-card{background:#fff;padding:34px;border-radius:22px;box-shadow:0 20px 60px rgba(15,23,42,.14)}
.auth-logo{font-size:28px;font-weight:800;margin-bottom:8px}.auth-card p{color:#64748b;margin-bottom:24px}.auth-card label{display:block;font-weight:700;margin:15px 0 7px}.auth-card input{width:100%;padding:14px;border:1px solid #d1d5db;border-radius:11px;font-size:16px}.auth-submit{width:100%;margin:22px 0 12px}
.alert{padding:12px 14px;border-radius:10px;margin:15px 0}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.alert.info{background:#dbeafe;color:#1e40af}
.profile-card{max-width:720px}.profile-card p{margin:8px 0}.admin-card{max-width:1100px}.admin-create{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:10px;align-items:end;margin:12px 0 25px}.admin-create input,.admin-create select{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:10px}.user-list{display:flex;flex-direction:column;gap:10px}.user-row{display:grid;grid-template-columns:1.2fr 2fr auto;gap:12px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa}.user-row small{display:block;color:#64748b;margin-top:4px}.user-row form{display:flex;gap:8px}.user-row input{flex:1;padding:10px;border:1px solid #d1d5db;border-radius:9px}
@media(max-width:800px){.top-nav{height:auto;min-height:62px;align-items:flex-start;padding:14px 16px;gap:10px}.nav-right{flex-wrap:wrap;justify-content:flex-end}.admin-create,.user-row{grid-template-columns:1fr}.user-row form{width:100%}}

/* ARTICLE DB */
.article-page{padding:34px}.article-shell{max-width:1180px;margin:0 auto;background:#fff;border-radius:20px;padding:30px;box-shadow:0 8px 28px rgba(0,0,0,.08)}
.article-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.article-heading h1{font-size:34px;margin-bottom:7px}.article-heading p{color:#64748b}.primary-link{display:inline-block;background:#2563eb;color:#fff;text-decoration:none;padding:12px 17px;border-radius:11px;font-weight:700;white-space:nowrap}
.article-filters{display:grid;grid-template-columns:1fr 220px 180px auto;gap:10px;margin-bottom:18px}.article-filters input,.article-filters select{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:10px;font-size:15px}.article-search-btn{margin:0}.article-count{font-size:14px;color:#64748b;margin-bottom:10px}.article-list{display:flex;flex-direction:column;gap:10px}.article-item{display:block;text-decoration:none;color:#111827;border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fafafa}.article-item:hover{border-color:#2563eb;background:#f8fbff}.article-item-top{display:flex;justify-content:space-between;gap:20px}.article-item-top strong{font-size:17px}.article-item-top span{font-size:13px;color:#64748b}.article-tags{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.article-tags span{font-size:12px;background:#eaf1ff;color:#1d4ed8;padding:5px 8px;border-radius:999px}.article-item p{color:#475569;line-height:1.5}.article-empty{text-align:center;color:#94a3b8;padding:45px 15px}.article-form-shell label{display:block;font-weight:700;margin:17px 0 8px}.article-form-shell input,.article-form-shell textarea{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:13px;font-size:15px}.article-form-shell textarea{min-height:130px;resize:vertical}.article-form-shell .article-body-input{min-height:320px}.similarity-box{margin-top:28px;padding-top:22px;border-top:1px solid #e5e7eb}.similarity-box h2{margin-bottom:12px}.similarity-item{display:flex;align-items:center;gap:12px;text-decoration:none;color:#111827;padding:12px 14px;border-radius:11px;margin-bottom:8px;border:1px solid #dbeafe;background:#eff6ff}.similarity-item b{min-width:58px}.similarity-item.warning{border-color:#fde68a;background:#fffbeb}.similarity-item.danger{border-color:#fecaca;background:#fef2f2}.article-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.article-meta-grid>div{border:1px solid #e5e7eb;border-radius:11px;padding:13px}.article-meta-grid b,.article-meta-grid span,.article-meta-grid a{display:block}.article-meta-grid span,.article-meta-grid a{margin-top:5px}.article-content{white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:16px;line-height:1.65;margin:8px 0 20px;font-family:inherit}.detail-actions{display:flex;gap:8px;align-items:center}.detail-actions form{margin:0}.danger-btn{border:0;border-radius:10px;padding:12px 16px;background:#dc2626;color:#fff;font-weight:700;cursor:pointer}
@media(max-width:800px){.article-page{padding:14px}.article-shell{padding:20px}.article-heading{align-items:flex-start;flex-direction:column}.article-filters{grid-template-columns:1fr}.article-meta-grid{grid-template-columns:1fr}.article-item-top{flex-direction:column;gap:5px}}

/* 공통 업무 버튼 */
.action-button-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.action-btn{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:10px;
    border:1px solid transparent;
    font-size:14px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.action-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 5px 14px rgba(15,23,42,.12);
}

.action-btn:disabled{
    opacity:.55;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

.action-btn-primary{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.action-btn-primary:hover{
    background:#1d4ed8;
    border-color:#1d4ed8;
}

.action-btn-dark{
    background:#111827;
    color:#fff;
    border-color:#111827;
}

.action-btn-dark:hover{
    background:#020617;
    border-color:#020617;
}

.action-btn-outline{
    background:#fff;
    color:#1f2937;
    border-color:#cbd5e1;
}

.action-btn-outline:hover{
    background:#f8fafc;
    border-color:#94a3b8;
}

.action-btn-danger{
    background:#fff;
    color:#dc2626;
    border-color:#fecaca;
}

.action-btn-danger:hover{
    background:#fef2f2;
    border-color:#f87171;
}

.action-btn-small{
    min-height:34px;
    padding:8px 11px;
    border-radius:8px;
    font-size:12px;
}

.recent-request-actions{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    margin-top:10px;
}

.request-message{
    min-height:22px;
    margin-top:8px;
    font-size:14px;
    font-weight:600;
}

.request-message.success{
    color:#15803d;
}

.request-message.error{
    color:#dc2626;
}

@media(max-width:800px){
    .action-btn{
        flex:1;
    }

    .recent-request-actions .action-btn{
        flex:1;
    }
}

/* 관리자 채널 규칙 관리 */
.admin-rules-page{
    width:min(1400px, 96%);
    margin:30px auto 60px;
}

.admin-rules-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.admin-rules-header h1{
    margin:0 0 8px;
    font-size:34px;
    color:#111827;
}

.admin-rules-header p{
    margin:0;
    color:#64748b;
}

.admin-message{
    margin-bottom:18px;
    padding:14px 16px;
    border-radius:12px;
    font-weight:700;
}

.admin-message.success{
    background:#ecfdf5;
    color:#15803d;
    border:1px solid #bbf7d0;
}

.admin-message.error{
    background:#fef2f2;
    color:#dc2626;
    border:1px solid #fecaca;
}

.admin-rule-create-card{
    background:#fff;
    border-radius:16px;
    padding:22px;
    box-shadow:0 4px 18px rgba(15,23,42,.08);
    margin-bottom:22px;
}

.admin-rule-create-card h2{
    margin:0 0 16px;
}

.admin-rule-create-card form{
    display:grid;
    gap:12px;
}

.admin-rule-create-card input,
.admin-rule-create-card textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:12px 14px;
    font-size:14px;
}

.admin-rule-create-card textarea{
    min-height:130px;
    resize:vertical;
}

.admin-rule-list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.admin-rule-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 4px 18px rgba(15,23,42,.08);
}

.admin-rule-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.admin-rule-card-head h2{
    margin:0;
    font-size:20px;
}

.admin-rule-updated{
    color:#94a3b8;
    font-size:12px;
    white-space:nowrap;
}

.admin-rule-textarea{
    width:100%;
    min-height:220px;
    resize:vertical;
    border:1px solid #d1d5db;
    border-radius:10px;
    padding:13px 14px;
    font-size:14px;
    line-height:1.6;
}

.admin-rule-actions{
    margin-top:12px;
    display:flex;
    justify-content:flex-end;
}

.admin-rule-card > form:last-child{
    margin-top:8px;
    display:flex;
    justify-content:flex-end;
}

@media(max-width:1000px){
    .admin-rule-list{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .admin-rules-page{
        width:94%;
    }

    .admin-rule-card-head{
        flex-direction:column;
    }

    .admin-rule-updated{
        white-space:normal;
    }
}

.top-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 18px;
}

.nav-left{
    flex:0 0 auto;
    white-space:nowrap;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.nav-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 11px;
    font-size:13px;
    line-height:1;
    white-space:nowrap;
}

/* 원고 요청 정리기 전체 배치 */
.request-workspace{
    width:min(1500px, 96%);
    margin:28px auto 60px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 320px;
    gap:22px;
    align-items:start;
}

/* 왼쪽 원고 요청 정리기 */
.request-card{
    grid-column:1;
    grid-row:1;
    align-self:start;
    width:100%;
    max-width:none;
    min-width:0;
    margin:0;
}

/* 오른쪽 최근 작업 */
.recent-request-panel{
    grid-column:2;
    grid-row:1;
    align-self:start;
    position:sticky;
    top:86px;
    max-height:calc(100vh - 110px);
    overflow-y:auto;
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:18px;
    padding:18px;
    box-shadow:0 6px 22px rgba(15,23,42,.08);
}

.recent-request-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding-bottom:14px;
    margin-bottom:14px;
    border-bottom:1px solid #e2e8f0;
}

.recent-request-head h2{
    margin:0 0 4px;
    font-size:21px;
}

.recent-request-head p{
    margin:0;
    color:#64748b;
    font-size:13px;
}

.recent-count{
    min-width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-weight:800;
}

.recent-request-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.recent-request-item{
    padding:14px;
    border:1px solid #e2e8f0;
    border-radius:13px;
    background:#f8fafc;
}

.recent-request-item h3{
    margin:8px 0;
    font-size:15px;
    line-height:1.4;
    color:#0f172a;
}

.recent-request-status{
    display:flex;
    align-items:center;
    gap:6px;
    color:#64748b;
    font-size:12px;
}

.recent-request-meta{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:7px;
}

.recent-request-meta span{
    padding:4px 7px;
    border-radius:7px;
    background:#fff;
    color:#475569;
    font-size:11px;
    border:1px solid #e2e8f0;
}

.recent-request-date{
    margin-top:9px;
    color:#94a3b8;
    font-size:11px;
}

.recent-request-actions{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:6px;
    margin-top:11px;
}

.recent-request-actions .action-btn{
    min-width:0;
    padding:8px 4px;
    font-size:11px;
}

/* 요청문 관련 버튼 4개 */
.action-button-row{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
}

.action-button-row .action-btn{
    width:100%;
}

/* 요청문 복사: 카카오톡 느낌 */
#copyBtn{
    background:#FEE500;
    color:#191919;
    border-color:#FEE500;
}

#copyBtn:hover{
    background:#F5DC00;
    border-color:#F5DC00;
}

/* OneNote 복사 */
#copyOneNoteBtn{
    background:#7719AA;
    color:#fff;
    border-color:#7719AA;
}

#copyOneNoteBtn:hover{
    background:#64158F;
    border-color:#64158F;
}

/* 기록 저장 */
#saveRecordBtn{
    background:#111827;
    color:#fff;
    border-color:#111827;
}

#saveRecordBtn:hover{
    background:#020617;
    border-color:#020617;
}

@media(max-width:900px){
    .request-workspace{
        grid-template-columns:1fr;
    }

    .request-card{
        grid-column:1;
        grid-row:1;
    }

    .recent-request-panel{
        grid-column:1;
        grid-row:2;
        position:static;
        max-height:none;
    }

    .action-button-row{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}


/* ===== 최종 레이아웃 보정 ===== */
*, *::before, *::after{
    box-sizing:border-box;
}

.top-nav{
    min-height:64px;
    padding:10px 24px;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
}

.nav-right{
    gap:6px;
    flex-wrap:nowrap;
}

.nav-btn{
    text-decoration:none;
    color:#334155;
    padding:9px 12px;
    border-radius:9px;
    font-weight:700;
}

.nav-btn:hover{
    background:#f1f5f9;
    color:#0f172a;
}

.nav-btn.active{
    background:#2563eb;
    color:#fff;
}

.request-workspace{
    width:min(1480px, calc(100% - 48px));
    grid-template-columns:minmax(0, 1fr) 300px;
    gap:28px;
    margin:28px auto 60px;
    align-items:start;
}

.request-card{
    width:100%;
    max-width:none;
    min-width:0;
    margin:0;
    padding:30px;
    overflow:hidden;
}

.request-card input,
.request-card select,
.request-card textarea{
    max-width:100%;
}

.recent-request-panel{
    width:100%;
    min-width:0;
    max-width:300px;
    margin:0;
    position:sticky;
    top:84px;
    overflow-x:hidden;
}

.recent-request-item,
.recent-request-head,
.recent-request-actions{
    min-width:0;
}

.recent-request-item h3,
.recent-request-meta span{
    overflow-wrap:anywhere;
    word-break:break-word;
}

@media(max-width:1180px){
    .nav-right{
        flex-wrap:wrap;
        justify-content:flex-end;
    }

    .request-workspace{
        width:min(96%, 1100px);
        grid-template-columns:minmax(0, 1fr) 280px;
        gap:18px;
    }

    .recent-request-panel{
        max-width:280px;
    }
}

@media(max-width:900px){
    .request-workspace{
        width:94%;
        grid-template-columns:1fr;
    }

    .request-card{
        grid-column:1;
        grid-row:1;
    }

    .recent-request-panel{
        grid-column:1;
        grid-row:2;
        max-width:none;
        position:static;
    }
}


/* ===== 메인 핫딜 검색 화면 복구 ===== */

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f3f6fc;
    color:#111827;
}

.loading{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    align-items:center;
    justify-content:center;
    background:rgba(15,23,42,.45);
}

.loading.show{
    display:flex;
}

.loading-card{
    width:min(420px, 90%);
    padding:30px;
    text-align:center;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(15,23,42,.2);
}

.loader{
    width:42px;
    height:42px;
    margin:0 auto 16px;
    border:4px solid #dbeafe;
    border-top-color:#2563eb;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

.hero{
    min-height:calc(100vh - 64px);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:70px 24px 90px;
    text-align:center;
    background:linear-gradient(180deg,#f8fbff 0%,#eef3ff 100%);
}

.brand-badge{
    margin-bottom:18px;
    padding:8px 14px;
    border-radius:999px;
    background:#e7efff;
    color:#2563eb;
    font-size:14px;
    font-weight:700;
}

.hero-logo{
    width:230px;
    max-width:60vw;
    margin-bottom:12px;
}

.hero h1{
    margin:0;
    font-size:64px;
    line-height:1.1;
    letter-spacing:-2px;
}

.hero-sub{
    margin:20px 0 34px;
    color:#64748b;
    font-size:18px;
}

.hero-search-wrap{
    width:min(1180px, 94%);
}

.hero-search{
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    padding:10px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.hero-search input{
    width:100%;
    border:0;
    outline:0;
    padding:18px 20px;
    font-size:17px;
    background:transparent;
}

.hero-search button{
    border:0;
    border-radius:13px;
    padding:0 26px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
}

.filter-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:18px;
}

.filter-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:9px 13px;
    border:2px solid #cbd5e1;
    border-radius:999px;
    background:#fff;
    cursor:pointer;
    font-weight:700;
}

.filter-chip input{
    margin:0;
}

.quick-keywords{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:30px;
    color:#64748b;
}

.quick-keywords a{
    padding:8px 13px;
    border:1px solid #dbe3f0;
    border-radius:999px;
    background:#fff;
    color:#2563eb;
    text-decoration:none;
}

footer{
    padding:18px;
    text-align:center;
    color:#94a3b8;
    font-size:13px;
}

@media(max-width:800px){
    .hero{
        padding:40px 16px 60px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero-search{
        grid-template-columns:1fr;
    }

    .hero-search button{
        padding:15px;
    }

    .hero-logo{
        width:180px;
    }
}

/* ===== 검색 결과 화면 복구 ===== */

.top{
    width:min(1500px, 96%);
    margin:24px auto 18px;
}

.top-search-form{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 6px 22px rgba(15,23,42,.08);
}

.top-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.top-row h2{
    margin:0 0 8px;
    font-size:24px;
}

.back-link{
    color:#64748b;
    text-decoration:none;
    font-size:14px;
}

.search-box{
    display:flex;
    gap:8px;
    min-width:380px;
}

.search-box input{
    flex:1;
    padding:12px 14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:15px;
}

.search-box button{
    border:0;
    border-radius:10px;
    padding:0 20px;
    background:#2563eb;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}

.grid{
    width:min(1500px, 96%);
    margin:0 auto 50px;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
    align-items:start;
}

.panel{
    min-width:0;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(15,23,42,.07);
}

.panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:13px 15px;
    color:#fff;
    font-weight:800;
}

.list{
    max-height:620px;
    overflow-y:auto;
    padding:10px;
    background:#f8fafc;
}

.deal{
    display:block;
    padding:13px;
    margin-bottom:9px;
    border:1px solid #e2e8f0;
    border-radius:11px;
    background:#fff;
    color:#111827;
    text-decoration:none;
}

.deal:hover{
    border-color:#2563eb;
    background:#f8fbff;
}

.deal-title{
    font-size:15px;
    font-weight:800;
    line-height:1.4;
    word-break:break-word;
}

.deal-price{
    margin-top:7px;
    color:#dc2626;
    font-weight:800;
}

.deal-info{
    margin-top:5px;
    color:#475569;
    font-size:13px;
}

.deal-meta{
    margin-top:8px;
    color:#94a3b8;
    font-size:11px;
    line-height:1.4;
}

.empty{
    padding:40px 15px;
    text-align:center;
    color:#94a3b8;
}

@media(max-width:1100px){
    .grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:760px){
    .top-row{
        flex-direction:column;
        align-items:stretch;
    }

    .search-box{
        min-width:0;
    }

    .grid{
        grid-template-columns:1fr;
    }
}

/* 홈 검색 채널칩: 9개를 한 줄에 최대한 유지 */
.hero-search-wrap .home-filter{
    flex-wrap:nowrap;
    gap:6px;
    width:100%;
    margin-top:14px;
}

.hero-search-wrap .home-filter .filter-chip{
    gap:4px;
    padding:7px 9px;
    border-width:1.5px;
    font-size:13px;
    white-space:nowrap;
    flex:0 1 auto;
}

.hero-search-wrap .home-filter .filter-chip input{
    width:13px;
    height:13px;
}

@media(max-width:1100px){
    .hero-search-wrap .home-filter{
        flex-wrap:wrap;
    }
}


/* v33: 사용자 제공 교보손글씨2019 TTF */
@font-face{
    font-family:"KyoboHandwriting2019";
    src:url("/static/fonts/KyoboHandwriting2019.ttf") format("truetype");
    font-style:normal;
    font-weight:100 900;
    font-display:swap;
}

:root{
    --ui-font:"KyoboHandwriting2019",
              "Malgun Gothic",
              "Apple SD Gothic Neo",
              sans-serif;
}

html,
body,
button,
input,
textarea,
select,
option,
table,
th,
td,
a,
span,
div,
p,
h1,
h2,
h3,
h4,
label{
    font-family:var(--ui-font) !important;
}

body{
    font-weight:400;
    letter-spacing:-0.025em;
    line-height:1.55;
}

/* 화면 제목은 이전보다 더 또렷하고 타이트하게 */
h1{
    font-weight:800 !important;
    letter-spacing:-0.045em !important;
    line-height:1.18 !important;
}

h2{
    font-weight:750 !important;
    letter-spacing:-0.035em !important;
    line-height:1.25 !important;
}

h3,
h4{
    font-weight:700 !important;
    letter-spacing:-0.025em !important;
}

/* 입력창/본문은 덜 굵고 읽기 편하게 */
input,
textarea,
select{
    font-weight:450;
    letter-spacing:-0.018em;
}

button,
.nav-btn,
.btn,
.mini-btn{
    font-weight:700 !important;
    letter-spacing:-0.025em;
}

/* 카드/목록 제목과 본문 위계 강화 */
.article-card h3,
.deal-title,
.task-title,
.crawler-card-title{
    font-weight:750 !important;
    letter-spacing:-0.032em !important;
}

.article-card p,
.deal-info,
.muted{
    font-weight:400;
    line-height:1.65;
}

/* 원고 DB 필터: 작성자 필터 제거 상태 유지 */
.article-filters{
    grid-template-columns:minmax(420px,1fr) 220px auto !important;
}


/* v34: 교보손글씨 전체 UI 굵기 보강 */
button,
input,
select,
textarea{
    font-family:var(--ui-font);
    font-weight:600;
}
