.r9-seller-page,.r9-bank-page{padding:64px 0 100px;background:#f6f8fb;min-height:70vh}.r9-seller-page .inner,.r9-bank-page .inner{max-width:1240px;margin:auto;padding:0 24px}.r9-page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.r9-page-head span{font-size:12px;letter-spacing:.12em;font-weight:900;color:#3157ff}.r9-page-head h1{font-size:38px;margin:7px 0}.r9-page-head p{color:#7d8797}.r9-page-head>a{padding:12px 20px;border:1px solid #dce1e9;border-radius:22px;text-decoration:none}.r9-form-card,.r9-list-card,.r9-bank-card,.r9-bank-summary,.r9-bank-done{background:#fff;border:1px solid #e4e8ef;border-radius:22px;box-shadow:0 12px 34px rgba(20,30,50,.05)}.r9-form-card,.r9-list-card{padding:28px}.r9-form-card{margin-bottom:28px}.r9-section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:22px}.r9-section-title>b{color:#3157ff;font-size:12px}.r9-section-title h2{margin:0;font-size:23px}.r9-section-title p{margin:5px 0;color:#8b94a3;font-size:13px}.r9-section-title em{margin-left:auto;font-style:normal}.r9-form-grid,.r9-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.r9-form-grid label,.r9-edit-grid label{display:flex;flex-direction:column;gap:8px}.r9-form-grid label>span,.r9-edit-grid label>span{font-weight:800;font-size:13px}.r9-form-grid em,.r9-edit-grid em{font-style:normal;color:#8b94a3;font-weight:500}.r9-form-grid small,.r9-edit-grid small{color:#8b94a3}.r9-form-grid input,.r9-form-grid select,.r9-form-grid textarea,.r9-edit-grid input,.r9-edit-grid select,.r9-edit-grid textarea{width:100%;border:1px solid #dce1e9;border-radius:12px;background:#fff;padding:0 14px;font-size:14px;outline:none}.r9-form-grid input,.r9-form-grid select,.r9-edit-grid input,.r9-edit-grid select{height:50px}.r9-form-grid textarea,.r9-edit-grid textarea{min-height:130px;padding-top:14px;resize:vertical}.wide{grid-column:1/-1}.r9-form-foot{display:flex;align-items:center;justify-content:space-between;padding-top:20px;border-top:1px solid #edf0f4}.r9-form-foot p{color:#7d8797}.r9-form-foot button,.r9-edit-submit{height:48px;border:0;border-radius:24px;padding:0 26px;background:#3157ff;color:#fff;font-weight:900}.r9-seller-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.r9-seller-item{overflow:hidden;border:1px solid #e4e8ef;border-radius:18px;background:#fff}.r9-thumb,.r9-product-thumb{aspect-ratio:16/10;background:#eef1f6;overflow:hidden}.r9-thumb img,.r9-product-thumb img{width:100%;height:100%;object-fit:cover;display:block}.r9-card-body{padding:18px}.r9-card-tags,.r9-product-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.r9-card-tags span,.r9-product-tags span{padding:6px 9px;border-radius:12px;background:#f2f4f8;color:#687286;font-size:11px}.r9-card-tags .cat,.r9-product-tags .category{background:#eef2ff;color:#3157ff;font-weight:900}.r9-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.r9-item-head h3{margin:0;font-size:20px}.status{padding:6px 9px;border-radius:12px;font-size:11px;white-space:nowrap}.status.approved{background:#e9fff3;color:#087443}.status.pending{background:#fff6d8;color:#806000}.r9-item-price{display:flex;justify-content:space-between;margin:16px 0}.r9-item-price strong{font-size:22px}.r9-item-price span{color:#7d8797}.r9-edit-box{border-top:1px solid #edf0f4;padding-top:14px}.r9-edit-box summary{font-weight:900;cursor:pointer;margin-bottom:14px}.r9-edit-grid{padding:16px;background:#f8f9fb;border-radius:14px}.r9-delete-btn{width:100%;height:42px;margin-top:10px;border:0;border-radius:10px;background:#fff0f4;color:#b52d50;font-weight:900}.r9-wait{padding:12px;border-radius:10px;background:#fff7dd;color:#7a5b00}.r9-empty{padding:35px;text-align:center;border:1px dashed #dce1e9;border-radius:16px;color:#7d8797;background:#fff}.r9-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:99999}.r9-modal.is-open{display:flex}.r9-modal .dim{position:absolute;inset:0;background:rgba(8,12,20,.6)}.r9-modal .card{position:relative;width:min(440px,90%);padding:34px;border-radius:22px;background:#fff;text-align:center}.r9-modal .ok{width:60px;height:60px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#3157ff;color:#fff;font-size:28px}.r9-modal button{width:100%;height:48px;border:0;border-radius:12px;background:#171d2d;color:#fff;font-weight:900}.r9-product-page{padding-bottom:80px}.r9-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.r9-product-card{overflow:hidden;border:1px solid #e4e8ef;border-radius:18px;background:#fff}.r9-product-info{padding:18px}.r9-product-info .seller{margin:2px 0 8px;color:#7d8797;font-size:12px}.r9-product-info h3{font-size:20px;margin:0 0 16px}.r9-price{display:flex;justify-content:space-between;align-items:center}.r9-price strong{font-size:22px}.r9-price small{color:#7d8797}.r9-buy-btn,.r9-own-btn{display:flex;align-items:center;justify-content:center;height:44px;margin-top:15px;border-radius:22px;text-decoration:none;font-weight:900}.r9-buy-btn{background:#3157ff;color:#fff}.r9-own-btn{background:#eef2ff;color:#3157ff}.r9-bank-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:22px}.r9-bank-card,.r9-bank-summary{padding:26px}.r9-bank-product{display:flex;gap:16px;padding-bottom:18px;border-bottom:1px solid #edf0f4;margin-bottom:18px}.r9-bank-product img{width:150px;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.r9-bank-product span{color:#3157ff;font-size:12px}.r9-bank-product h3{margin:5px 0}.r9-bank-product strong{font-size:22px}.r9-bank-card>label{display:flex;flex-direction:column;gap:7px;margin:13px 0}.r9-bank-card input{height:48px;border:1px solid #dce1e9;border-radius:11px;padding:0 13px}.r9-consents{padding:15px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;display:grid;gap:10px}.r9-bank-summary h2{font-size:20px}.bank-row{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f4}.bank-notice{margin-top:16px;padding:14px;border-radius:10px;background:#f6f8fb;color:#687286;line-height:1.6}.r9-bank-summary button,.r9-bank-summary>a{display:flex;width:100%;height:50px;margin-top:20px;border:0;border-radius:12px;align-items:center;justify-content:center;background:#171d2d;color:#fff;text-decoration:none;font-weight:900}.r9-bank-wait{padding:18px;border-radius:12px;background:#fff7df;color:#765900}.r9-bank-done{max-width:680px;margin:auto;padding:38px;text-align:center}.r9-bank-done .ok{width:66px;height:66px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#3157ff;color:#fff;font-size:30px}.r9-bank-done h2{margin-top:18px}.r9-bank-done>strong{font-size:28px}.r9-bank-done dl{margin:25px 0;text-align:left}.r9-bank-done dl>div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f4}.r9-bank-done a{display:flex;justify-content:center;align-items:center;height:48px;border-radius:24px;background:#171d2d;color:#fff;text-decoration:none;font-weight:900}
@media(max-width:900px){.r9-seller-grid,.r9-product-grid{grid-template-columns:1fr 1fr}.r9-bank-grid{grid-template-columns:1fr}}@media(max-width:700px){.r9-seller-page .inner,.r9-bank-page .inner{padding:0 15px}.r9-form-grid,.r9-edit-grid,.r9-seller-grid,.r9-product-grid{grid-template-columns:1fr}.wide{grid-column:auto}.r9-form-foot{align-items:stretch;flex-direction:column}}

/* R10 main DB product grid: override old publishing swiper/flex widths safely */
.sec.product .filter{display:block!important}.sec.product .tab{margin-bottom:28px!important}.sec.product .tab .swiper-wrapper{display:flex!important;gap:10px!important;flex-wrap:wrap!important}.sec.product .tab .swiper-slide{width:auto!important;flex:none!important}.sec.product .list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;width:100%!important}.sec.product .list .item{width:auto!important;min-width:0!important;max-width:none!important;display:flex!important;overflow:hidden!important;border:1px solid #e4e8ef!important;border-radius:18px!important;background:#fff!important}.sec.product .list .item .thumb{width:100%!important;aspect-ratio:16/10!important;height:auto!important;overflow:hidden!important;background:#eef1f6!important}.sec.product .list .item .thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.sec.product .list .item .info{padding:18px!important}.sec.product .list .item .summary p{font-size:12px!important;color:#758096!important;line-height:1.5!important;white-space:normal!important}.sec.product .list .item .summary strong{font-size:19px!important;line-height:1.4!important;word-break:keep-all!important}.sec.product .list .item .price{margin-top:16px!important;align-items:center!important}.sec.product .list .item .price h4{font-size:21px!important;white-space:nowrap!important}.sec.product .list .item>a,.sec.product .list .item .info>a{display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;margin-top:14px!important;border-radius:22px!important;background:#3157ff!important;color:#fff!important;text-decoration:none!important}
.r10-page{padding:60px 0 100px;background:#f6f8fb;min-height:70vh}.r10-page .inner{max-width:1240px;margin:auto;padding:0 24px}.r10-title span{font-size:11px;font-weight:900;letter-spacing:.14em;color:#3157ff}.r10-title h1{font-size:36px;margin:7px 0}.r10-title p{color:#7d8797;margin-bottom:26px}.r10-table-card,.r10-account-card,.r10-settle-summary{background:#fff;border:1px solid #e4e8ef;border-radius:18px;box-shadow:0 12px 34px rgba(20,30,50,.05)}.r10-table-card{overflow:auto}.r10-table-card table{width:100%;border-collapse:collapse}.r10-table-card th,.r10-table-card td{padding:16px;text-align:left;border-bottom:1px solid #edf0f4}.r10-table-card th{font-size:12px;color:#7d8797;background:#f9fafc}.r10-table-card td small{display:block;color:#8b94a3;margin-top:4px}.trade-status{display:inline-flex;padding:7px 11px;border-radius:14px;background:#eef2ff;color:#3157ff;font-size:12px;font-weight:900}.status-on_hold{background:#fff6d8;color:#806000}.status-cancelled,.status-refund_pending{background:#fff0f4;color:#b52d50}.status-completed,.status-refunded{background:#e9fff3;color:#087443}.r10-order-grid{display:grid;gap:16px}.r10-order-card{padding:22px;background:#fff;border:1px solid #e4e8ef;border-radius:18px}.r10-order-card .top,.r10-admin-orders .head{display:flex;justify-content:space-between;gap:16px}.r10-order-card h3,.r10-admin-orders h3{margin:5px 0;font-size:20px}.r10-order-card p,.r10-admin-orders p{color:#7d8797}.r10-order-card .money,.r10-admin-orders .money{display:flex;gap:20px;flex-wrap:wrap;padding:14px 0;margin:14px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.r10-order-card .actions,.r10-admin-orders .actions{display:flex;gap:8px;flex-wrap:wrap}.r10-order-card form,.r10-admin-orders form{display:flex;gap:6px}.r10-order-card input,.r10-admin-orders input{height:40px;border:1px solid #dce1e9;border-radius:9px;padding:0 10px}.r10-order-card button,.r10-admin-orders button{height:40px;border:0;border-radius:9px;padding:0 16px;font-weight:900}.actions .ok,.actions .payment{background:#171d2d;color:#fff}.actions .hold{background:#fff6d8;color:#806000}.actions .cancel,.actions .refund{background:#fff0f4;color:#b52d50}.r10-account-card{max-width:760px;padding:26px}.r10-account-card form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.r10-account-card label{display:flex;flex-direction:column;gap:8px}.r10-account-card label:last-of-type{grid-column:1/-1}.r10-account-card input{height:48px;border:1px solid #dce1e9;border-radius:10px;padding:0 13px}.r10-account-card button{grid-column:1/-1;height:48px;border:0;border-radius:12px;background:#3157ff;color:#fff;font-weight:900}.r10-settle-summary{display:flex;align-items:center;gap:20px;padding:24px;margin-bottom:20px}.r10-settle-summary strong{font-size:28px}.r10-settle-summary a{margin-left:auto;text-decoration:none;color:#3157ff;font-weight:900}
@media(max-width:900px){.sec.product .list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.sec.product .list{grid-template-columns:1fr!important}.r10-account-card form{grid-template-columns:1fr}.r10-account-card label:last-of-type,.r10-account-card button{grid-column:auto}}

.deadline,.deadline-overdue{display:block;margin-top:8px;font-size:12px;font-weight:800}.deadline{color:#3157ff}.deadline-overdue{color:#b52d50}.buyer-confirm-actions{margin-top:10px;display:grid;gap:8px;min-width:240px}.buyer-confirm-actions form{display:flex;gap:7px}.buyer-confirm-actions button{height:38px;border:0;border-radius:9px;padding:0 13px;font-weight:900}.buyer-confirm-actions .buyer-confirm{background:#171d2d;color:#fff}.buyer-confirm-actions details{padding:8px 10px;border-radius:9px;background:#fff6d8}.buyer-confirm-actions summary{cursor:pointer;font-weight:800;color:#806000}.buyer-confirm-actions details form{margin-top:8px}.buyer-confirm-actions input{height:38px;flex:1;border:1px solid #dce1e9;border-radius:8px;padding:0 9px}.buyer-confirm-actions .buyer-issue{background:#fff0f4;color:#b52d50}
/* GSM R10C UI FIX
   1) Main product cards: horizontal publishing-style layout on desktop.
   2) Admin approval/reject controls: fixed sizing and no text wrapping.
*/

/* MAIN: publishing-like horizontal card */
.sec.product .list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:20px!important;
    width:100%!important;
}
.sec.product .list .item{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:320px minmax(0,1fr)!important;
    align-items:stretch!important;
    overflow:hidden!important;
    border:1px solid #e4e8ef!important;
    border-radius:18px!important;
    background:#fff!important;
}
.sec.product .list .item .thumb{
    width:320px!important;
    height:210px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#eef1f6!important;
}
.sec.product .list .item .thumb img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
}
.sec.product .list .item .info{
    min-width:0!important;
    padding:22px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}
.sec.product .list .item .summary{
    gap:7px!important;
}
.sec.product .list .item .summary p{
    margin:0!important;
    font-size:12px!important;
    line-height:1.5!important;
    color:#7d8797!important;
    white-space:normal!important;
}
.sec.product .list .item .summary strong{
    margin-top:4px!important;
    font-size:21px!important;
    line-height:1.35!important;
    word-break:keep-all!important;
}
.sec.product .list .item .price{
    margin-top:16px!important;
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:12px!important;
}
.sec.product .list .item .price h4{
    margin:0!important;
    font-size:23px!important;
    white-space:nowrap!important;
}
.sec.product .list .item .info>a{
    width:160px!important;
    height:44px!important;
    margin-top:16px!important;
    border-radius:22px!important;
    align-self:flex-start!important;
}

/* Admin approval controls */
.r9-admin-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    align-items:center!important;
}
.r9-admin-actions form{
    display:flex!important;
    gap:8px!important;
    align-items:center!important;
    margin:0!important;
}
.r9-admin-actions input{
    width:210px!important;
    min-width:160px!important;
    height:40px!important;
    padding:0 12px!important;
    border:1px solid #dce1e9!important;
    border-radius:9px!important;
    font-size:13px!important;
}
.r9-admin-actions button{
    min-width:64px!important;
    height:40px!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:9px!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
    word-break:keep-all!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.r9-admin-actions .primary{
    background:#171d2d!important;
    color:#fff!important;
}
.r9-admin-actions .danger{
    background:#fff0f4!important;
    color:#b52d50!important;
}

@media(max-width:900px){
    .sec.product .list .item{
        grid-template-columns:240px minmax(0,1fr)!important;
    }
    .sec.product .list .item .thumb{
        width:240px!important;
        height:170px!important;
    }
}
@media(max-width:640px){
    .sec.product .list .item{
        grid-template-columns:1fr!important;
    }
    .sec.product .list .item .thumb{
        width:100%!important;
        height:auto!important;
        aspect-ratio:16/10!important;
    }
    .sec.product .list .item .info>a{
        width:100%!important;
    }
    .r9-admin-actions,
    .r9-admin-actions form{
        width:100%!important;
    }
    .r9-admin-actions input{
        flex:1!important;
        width:auto!important;
    }
}
