/* ALLPLUS CUSTOMER RC8.5D - extracted from inline styles; logic/style content unchanged */

:root{--bg:#f5f6f8;--card:#fff;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--primary:#111827;--red:#dc2626;--green:#047857;--orange:#b45309;--blue:#2563eb;--shadow:0 8px 20px rgba(17,24,39,.06)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}.app{max-width:480px;margin:0 auto;min-height:100vh}.screen{display:none}.screen.active{display:block}.login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:28px}.login h1{letter-spacing:-.03em}.login input{width:100%;border:1px solid var(--line);border-radius:13px;padding:14px;margin-top:10px;background:#fff}.primary{background:#111827;color:#fff;border-radius:13px;padding:13px 15px;font-weight:900}.secondary{background:#fff;color:#111827;border:1px solid var(--line);border-radius:12px;padding:11px 13px;font-weight:800}.danger{background:#fee2e2;color:#991b1b;border-radius:12px;padding:10px 12px;font-weight:900}.muted{color:var(--muted);font-size:13px;line-height:1.5}.top{position:sticky;top:0;background:rgba(245,246,248,.94);backdrop-filter:blur(10px);z-index:20;border-bottom:1px solid var(--line)}.topin{padding:14px 16px}.title{display:flex;align-items:center;justify-content:space-between;gap:10px}.title h2{margin:0;font-size:20px}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:99px;background:#111827;color:#fff;font-size:11px;font-weight:900;padding:0 6px}.content{padding:14px 14px 88px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:12px;box-shadow:var(--shadow)}.row{display:flex;gap:8px;align-items:center}.between{display:flex;justify-content:space-between;gap:8px;align-items:center}.search{width:100%;border:0;outline:0;padding:0;background:transparent;margin:0;font-size:16px}.searchwrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;margin-top:10px}.searchicon{font-size:18px;color:#9ca3af}.order-shell{display:grid;gap:10px}.product-row{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 14px 12px;margin-bottom:10px;box-shadow:var(--shadow)}.product-row{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 11px;margin-bottom:8px}.product-row.soldout{background:#f3f4f6;color:#8b95a1}.favbtn{background:transparent;color:#9ca3af;font-size:24px;line-height:1;padding:0 2px}.favbtn.on{color:#2563eb}.order-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:10px 0 8px;background:#fff}.order-tabs button{background:#fff;border-radius:0;padding:14px 12px;font-weight:900;color:#6b7280;position:relative}.order-tabs button.active{color:#2563eb}.order-tabs button.active:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:#2563eb;border-radius:99px}.cardline{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.product-title{font-weight:900;font-size:18px;line-height:1.28;flex:1;letter-spacing:-.02em}.meta-right{display:flex;align-items:center;gap:10px}.boxqty{white-space:nowrap;color:#4b5563;font-size:13px;font-weight:800;margin-top:2px}.pricebold{font-size:19px;font-weight:950;margin-top:10px;letter-spacing:-.02em}.pname{font-weight:900;font-size:14px;line-height:1.25}.psub{font-size:12px;color:#667085;line-height:1.35;margin-top:4px}.soldtag{font-size:11px;background:#e5e7eb;color:#4b5563;border-radius:999px;padding:3px 7px;font-weight:900}.qty{display:flex;align-items:center;gap:5px;margin-top:10px}.qty-label{font-size:13px;color:#6b7280;font-weight:700;margin-right:6px}.stepper{display:inline-flex;align-items:center}.qty button{border:1px solid var(--line);background:#fff;border-radius:10px;min-width:40px;height:34px;font-weight:900}.qty button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.qty button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.qty input{width:48px;text-align:center;border:1px solid var(--line);border-left:0;border-right:0;border-radius:0;height:34px}.actionline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.addbtn{margin-left:auto;background:#2563eb;color:#fff;border:1px solid #2563eb;border-radius:10px;padding:10px 18px;font-weight:900;min-width:74px}.addbtn.disabled{background:#cbd5e1;border-color:#cbd5e1;color:#fff}.favbtn{background:transparent;color:#9ca3af;font-size:24px;line-height:1;padding:0 2px}.favbtn.on{color:#2563eb}.favnotice{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:#667085;font-size:13px;font-weight:700;margin-bottom:8px}.bottom{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);border-top:1px solid var(--line);z-index:30}.bottom nav{max-width:480px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 6px calc(8px + env(safe-area-inset-bottom));gap:4px}.bottom a{text-decoration:none;color:#667085;text-align:center;border-radius:12px;padding:8px 2px;font-size:12px;font-weight:800}.bottom a.active{background:#111827;color:#fff}.empty{text-align:center;padding:32px 10px;color:#667085;background:#fff;border:1px dashed var(--line);border-radius:16px}.field{display:grid;gap:6px;margin-bottom:10px}.field label{font-size:12px;color:#667085;font-weight:800}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff}.total{background:#f9fafb;border:1px solid var(--line);border-radius:14px;padding:12px}.line{display:flex;justify-content:space-between;margin:6px 0}.status{font-size:12px;border-radius:99px;padding:4px 8px;font-weight:900;background:#eef4ff;color:#1849a9}.st-신규주문{background:#eef4ff;color:#1849a9}.st-배송준비{background:#fffaeb;color:#92400e}.st-출고완료{background:#ecfdf3;color:#05603a}.st-보류,.st-주문거절{background:#fee2e2;color:#991b1b}.st-확인,.st-출고완료{background:#ecfdf3;color:#05603a}.st-출고준비{background:#fffaeb;color:#92400e}.st-취소,.st-거절{background:#fee2e2;color:#991b1b}.reject{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:12px;padding:10px;font-size:13px;line-height:1.5;margin-top:8px}.toast{position:fixed;left:50%;bottom:82px;transform:translateX(-50%);background:#111827;color:#fff;border-radius:99px;padding:11px 15px;font-weight:900;z-index:99;max-width:90%;text-align:center}.smallbtn{font-size:12px;padding:8px 10px}.chiprow{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.chiprow button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 8px;text-align:center;box-shadow:var(--shadow)}.stat b{display:block;font-size:22px;margin-top:4px}.loading{opacity:.6;pointer-events:none}.balance-alert{background:linear-gradient(135deg,#111827,#374151);color:#fff;border:0}.balance-alert .muted{color:#d1d5db}.balance-alert b{font-size:24px}.settle-summary{background:#f9fafb;border:1px solid var(--line);border-radius:14px;padding:12px;margin:10px 0}.settle-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:12px}.settle-table{width:100%;border-collapse:collapse;font-size:12px;min-width:560px}.settle-table th{background:#f9fafb;color:#374151;font-weight:900;text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.settle-table td{padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:top}.settle-table td.num,.settle-table th.num{text-align:right}.settle-table tr.sum td{background:#f9fafb;font-weight:900}.status-card-btn{display:block;text-decoration:none;color:inherit}.status-card-btn .stat{transition:transform .14s ease}.status-card-btn:active .stat{transform:scale(.97)}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,8px) scale(.98)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes pop{0%{transform:scale(.92)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
button,.bottom a,.product-row,.card{transition:transform .14s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
button:active,.bottom a:active{transform:scale(.97)}
.card,.product-row,.empty{animation:fadeUp .22s ease both}
.toast{animation:toastIn .18s ease both}
.badge{animation:pop .22s ease both}
.product-row:active{transform:scale(.995)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.bottom a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative}
.bottom a svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bottom a span.nav-label{font-size:11px;font-weight:800}
.bottom a .badge{position:absolute;top:2px;right:10px}


/* v10.18.1 compact order list */
.product-row{padding:9px 10px!important;margin-bottom:7px!important;border-radius:12px!important}
.product-title{font-size:15px!important;line-height:1.22!important}
.boxqty{font-size:12px!important}
.pricebold{font-size:18px!important;margin-top:0!important}
.qty{margin-top:6px!important}
.qty-label{font-size:12px!important;margin-right:3px!important}
.qty button{min-width:32px!important;height:30px!important;border-radius:8px!important}
.qty input{width:40px!important;height:30px!important}
.actionline{margin-top:6px!important}
.addbtn{padding:8px 13px!important;min-width:64px!important;border-radius:9px!important}


/* v10.18.1 add button color fix */
.qty .addbtn{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
.qty .addbtn.disabled{background:#cbd5e1!important;border-color:#cbd5e1!important;color:#fff!important}

/* v10.19 order history/detail UI */
.orders-wrap{display:grid;gap:10px}.order-history-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow)}.order-history-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-date{font-size:12px;color:#667085;font-weight:800}.order-mainname{margin-top:6px;font-size:16px;font-weight:900;letter-spacing:-.02em;line-height:1.3}.order-subrow{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-top:8px}.order-no{font-size:11px;color:#98a2b3}.order-amount{font-size:22px;font-weight:900;letter-spacing:-.03em}.order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.detail-shell{display:grid;gap:12px}.detail-summary{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow)}.detail-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.mini-kv{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px}.mini-kv .k{font-size:12px;color:#667085;font-weight:800;margin-bottom:4px}.mini-kv .v{font-size:16px;font-weight:900;letter-spacing:-.02em}.detail-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow)}.detail-box h3{margin:0 0 10px 0;font-size:16px}.detail-table{width:100%;border-collapse:collapse;font-size:13px}.detail-table th{background:#f9fafb;color:#374151;text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);font-weight:900}.detail-table td{padding:11px 8px;border-bottom:1px solid var(--line);vertical-align:top}.detail-table .num{text-align:right;white-space:nowrap}.detail-table tr:last-child td{border-bottom:none}.detail-table .sum td{background:#f9fafb;font-weight:900}.detail-note{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}.detail-note .line{margin:5px 0}.order-filter-info{margin-top:6px}

/* v10.20 edit-order UI */
.edit-head-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow);margin-bottom:12px}.edit-head-date{font-size:12px;color:#667085;font-weight:800}.edit-head-title{font-size:18px;font-weight:900;letter-spacing:-.02em;line-height:1.3;margin-top:6px}.edit-head-no{font-size:12px;color:#98a2b3;margin-top:6px}.edit-section{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 2px 10px}.edit-section h3{margin:0;font-size:16px}.edit-list{display:grid;gap:10px}.edit-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow)}.edit-item-top{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:start}.checkbtn{width:28px;height:28px;border-radius:8px;border:1px solid #bfd3ff;background:#eff4ff;color:#2563eb;font-size:18px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}.checkbtn.off{background:#fff;color:transparent;border-color:var(--line)}.edit-item-title{font-size:16px;font-weight:900;line-height:1.25}.edit-item-sub{font-size:12px;color:#667085;margin-top:5px}.edit-stepline{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px}.icon-x{width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:#fff;color:#6b7280;font-size:19px;display:inline-flex;align-items:center;justify-content:center}.edit-summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 12px;display:grid;grid-template-columns:1fr 1fr;gap:10px;box-shadow:var(--shadow);margin-top:12px}.edit-summary>div{text-align:center}.edit-summary .k{font-size:12px;color:#6b7280;font-weight:800}.edit-summary .v{margin-top:6px;font-size:16px;font-weight:900}.edit-summary .v.blue{color:#2563eb;font-size:18px}.edit-confirm-note{text-align:center;color:#6b7280;font-size:12px;margin:10px 0 12px}.edit-bottom-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:10px}.edit-bottom-actions button{display:flex;justify-content:center;align-items:center;gap:6px;padding:12px 8px}.modal-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.36);z-index:90;display:flex;align-items:flex-end;justify-content:center;padding:18px}.modal-sheet{width:min(100%,420px);background:#fff;border-radius:22px;padding:16px;border:1px solid var(--line);box-shadow:0 20px 60px rgba(0,0,0,.18);max-height:72vh;overflow:auto;animation:fadeUp .18s ease}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.modal-head h3{margin:0;font-size:20px}.modal-close{background:#fff;border:1px solid var(--line);width:38px;height:38px;border-radius:12px;font-size:22px;display:flex;align-items:center;justify-content:center}.add-search-wrap{display:flex;gap:8px;margin-bottom:12px}.add-list{display:grid;gap:8px}.add-row{border:1px solid var(--line);border-radius:14px;padding:12px 12px;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}.add-row .name{font-size:14px;font-weight:900;line-height:1.28}.add-row .sub{font-size:12px;color:#667085;margin-top:5px}.add-row .price{font-size:14px;font-weight:900;color:#2563eb;white-space:nowrap}.add-empty{padding:18px 8px;text-align:center;color:#667085}.sticky-edit-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(245,246,248,0),var(--bg) 18%);padding-top:10px}


/* v10.21 product add button centering + profile edit */
.qty{align-items:center!important}.qty .addbtn{height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0 13px!important;align-self:center!important;vertical-align:middle!important}.qty .addbtn:first-child,.qty .addbtn:last-child{border-radius:9px!important}.profile-note{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px;color:#667085;font-size:13px;line-height:1.5;margin:8px 0 12px}.readonly-box{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px;background:#f9fafb;color:#667085;font-weight:800}

/* v10.23 tighter edit cards, cart qty, settlement fit */
.settle-table.fit{min-width:0!important;table-layout:fixed}.settle-table.fit th,.settle-table.fit td{font-size:12px;padding:8px 6px}.settle-table.fit th:nth-child(1),.settle-table.fit td:nth-child(1){width:70px}.settle-table.fit th:nth-child(3),.settle-table.fit td:nth-child(3){width:44px}.settle-table.fit th:nth-child(4),.settle-table.fit td:nth-child(4){width:88px}.settle-table.fit td:nth-child(2){word-break:keep-all;line-height:1.25}.cart-control{display:flex;align-items:center;gap:7px;margin-top:8px;justify-content:flex-end}.cart-control .qty{margin-top:0!important}.edit-item{padding:9px 10px!important;border-radius:12px!important;margin-bottom:7px!important}.edit-item-top{grid-template-columns:28px 1fr auto!important;gap:8px!important}.edit-item-title{font-size:15px!important;line-height:1.22!important}.edit-item-sub{font-size:12px!important;margin-top:3px!important}.checkbtn{width:25px!important;height:25px!important;border-radius:7px!important;font-size:15px!important}.edit-stepline{margin-top:6px!important;gap:7px!important}.icon-x{width:31px!important;height:31px!important;border-radius:8px!important;font-size:17px!important}.edit-item .pricebold{font-size:16px!important}.profile-auth-card{max-width:420px;margin:0 auto}.password-help{font-size:12px;color:#667085;line-height:1.5;margin-top:6px}

/* v10.33 item status display */
.status.st-배송지연{background:#fff7ed;color:#c2410c}.status.st-주문취소{background:#fee2e2;color:#991b1b}.item-status-note{margin-top:6px;font-size:12px;color:#667085;line-height:1.45}.detail-status-grid{display:grid;gap:8px}.status-inline{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}



/* v10.35 shipping snapshot */
.shipping-diff-note{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.5;margin-top:10px}


/* v10.57 error tracking / safe processing */
.processing-overlay{position:fixed;inset:0;background:rgba(17,24,39,.25);z-index:9999;display:none;align-items:center;justify-content:center;backdrop-filter:blur(2px)}
.processing-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:var(--shadow);min-width:220px;text-align:center;font-weight:900}
.processing-spinner{width:26px;height:26px;border-radius:50%;border:4px solid #e5e7eb;border-top-color:#111827;animation:spin .8s linear infinite;margin:0 auto 10px}@keyframes spin{to{transform:rotate(360deg)}}
.appver{font-size:11px;color:var(--muted);margin-top:8px;text-align:center}


/* v10.60.20_RC3 mobile 320 test: title/version hidden + responsive wrapping only */
html,body{max-width:100%;overflow-x:hidden}
.app,.screen,.content,.card,.product-row,.detail-box,.order-history-card,.edit-item,.modal-sheet{min-width:0;max-width:100%}
body,.app,.card,.product-row,.detail-box,.order-history-card,.edit-item,.modal-sheet{word-break:keep-all;overflow-wrap:break-word;line-break:strict}
button,.primary,.secondary,.danger,.smallbtn,.addbtn,.status,.soldtag,.badge,.pricebold,.order-amount,.mini-kv .v,.qty-label,.boxqty,.bottom a span.nav-label{white-space:nowrap}
input,select,textarea{max-width:100%;min-width:0}
.cardline,.between,.row,.order-history-top,.order-subrow,.order-actions,.edit-section,.edit-stepline,.actionline,.qty{min-width:0}
.product-title,.order-mainname,.edit-item-title,.add-row .name,.detail-table td,.settle-table td{word-break:keep-all;overflow-wrap:break-word;min-width:0}
.pricebold,.order-amount{flex-shrink:0}

@media (max-width:480px){
  .app{width:100%;max-width:480px}
  .content{padding-left:12px;padding-right:12px}
  .topin{padding-left:12px;padding-right:12px}
  .login{padding-left:22px;padding-right:22px}
  .product-row,.card,.order-history-card,.detail-summary,.detail-box,.edit-head-card,.edit-item{border-radius:14px}
  .product-title{font-size:15px!important;line-height:1.32!important;letter-spacing:-.03em}
  .pricebold{font-size:17px!important}
  .qty{flex-wrap:nowrap;gap:5px}
  .qty button{min-width:32px!important}
  .qty input{width:40px!important}
  .addbtn{min-width:62px!important;padding-left:12px!important;padding-right:12px!important}
  .bottom a span.nav-label{font-size:10.5px}
}

@media (max-width:340px){
  body{font-size:14px}
  .login{padding:20px 14px}
  .login h1{font-size:25px;line-height:1.18;margin:0 0 10px}
  .content{padding:10px 9px 86px}
  .topin{padding:10px 9px}
  .title{flex-wrap:wrap;align-items:flex-start;gap:8px}
  .title h2{font-size:18px;line-height:1.22}
  .title>.row{width:100%;justify-content:flex-end;gap:6px!important}
  .smallbtn{font-size:11px!important;padding:7px 8px!important;border-radius:10px!important}
  .searchwrap{padding:10px 11px;border-radius:12px}
  .order-tabs button{padding:12px 8px;font-size:13px}
  .card,.product-row,.order-history-card,.detail-summary,.detail-box,.edit-head-card,.edit-item,.field input,.field textarea,.field select{border-radius:12px}
  .card,.product-row,.order-history-card,.detail-summary,.detail-box,.edit-head-card,.edit-item{padding:10px!important}
  .cardline{gap:6px;align-items:flex-start}
  .favbtn{font-size:22px;line-height:1;flex:0 0 auto}
  .product-title{font-size:14px!important;line-height:1.34!important}
  .boxqty{font-size:11px!important;max-width:80px;text-align:right;overflow:hidden;text-overflow:ellipsis}
  .actionline{display:grid;grid-template-columns:1fr;align-items:stretch;gap:7px;margin-top:7px!important}
  .pricebold{font-size:16px!important;line-height:1.2}
  .qty{width:100%;justify-content:space-between;margin-left:0!important;gap:4px!important}
  .qty-label{font-size:11px!important;margin-right:0!important}
  .qty button{min-width:30px!important;height:30px!important}
  .qty input{width:38px!important;height:30px!important}
  .qty .addbtn,.addbtn{height:30px!important;min-width:58px!important;padding:0 10px!important;font-size:12px!important}
  .statgrid{gap:6px}
  .stat{padding:10px 5px;border-radius:12px}
  .stat b{font-size:18px}
  .order-history-top,.order-subrow{align-items:flex-start;gap:6px}
  .order-mainname{font-size:15px;line-height:1.34}
  .order-amount{font-size:18px;line-height:1.2}
  .order-actions{gap:6px}
  .detail-summary-grid,.edit-summary{grid-template-columns:1fr;gap:7px}
  .mini-kv{padding:9px;border-radius:11px}
  .detail-table{font-size:12px}
  .detail-table th,.detail-table td{padding:8px 6px}
  .edit-item-top{grid-template-columns:26px 1fr auto!important;gap:6px!important}
  .edit-stepline{justify-content:space-between;gap:5px!important}
  .edit-bottom-actions{grid-template-columns:1fr;gap:7px}
  .add-row{grid-template-columns:1fr;gap:7px}
  .add-row .price{justify-self:start}
  .bottom nav{gap:2px;padding-left:3px;padding-right:3px}
  .bottom a{padding:7px 1px;font-size:11px;border-radius:10px}
  .bottom a svg{width:20px;height:20px}
  .bottom a span.nav-label{font-size:9.8px;letter-spacing:-.04em}
  .bottom a .badge{right:5px}
  .modal-backdrop{padding:10px}
  .modal-sheet{border-radius:18px;padding:12px;max-height:78vh}
}



/* v10.60.21 alias/keyword official UI: alias-first thin cards + fixed official-name sorting */
.product-row.alias-card{padding:8px 10px!important;margin-bottom:6px!important;border-radius:12px!important}
.alias-card .product-head{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:start;min-width:0}
.alias-card .favbtn{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:21px!important;padding:0!important;line-height:1;flex:0 0 auto}
.alias-namebox{min-width:0;display:grid;gap:1px}
.alias-title-line{display:flex;align-items:center;gap:4px;min-width:0}
.alias-main-name{min-width:0;font-size:15px;font-weight:950;line-height:1.2;letter-spacing:-.035em;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;overflow-wrap:break-word}
.alias-edit-btn{flex:0 0 auto;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#2563eb;border-radius:7px;padding:0;font-size:13px;font-weight:900;line-height:1}
.alias-edit-btn:active{background:#eff6ff}
.alias-sub-name{min-width:0;color:#4b5563;font-size:11.7px;font-weight:650;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.025em}
.alias-card .product-act-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:5px;margin-left:31px;min-width:0}
.alias-price{font-size:16.5px;font-weight:950;line-height:1.12;color:#2563eb;white-space:nowrap;letter-spacing:-.035em;min-width:0}
.alias-card .qty{margin-top:0!important;margin-left:0!important;gap:5px!important;flex-wrap:nowrap;min-width:0;display:flex!important;align-items:center!important}
.alias-card .qty-label{display:none}
.alias-card .stepper{flex:0 0 auto;display:inline-flex;align-items:center}
.alias-card .qty button{min-width:30px!important;height:28px!important;border-radius:8px!important}
.alias-card .qty input{width:36px!important;height:28px!important;font-size:13px!important}
.alias-card .qty .addbtn{height:28px!important;min-width:54px!important;padding:0 9px!important;font-size:12px!important;border-radius:8px!important;line-height:1!important;margin-left:4px!important}
.alias-hint{font-size:11px;color:#98a2b3;line-height:1.35;margin-top:4px}
.alias-default-box{background:#f9fafb;border:1px solid var(--line);border-radius:12px;padding:10px 11px;color:#4b5563;font-size:13px;line-height:1.35;word-break:keep-all;overflow-wrap:break-word}
.alias-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;outline:none}
.alias-input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.alias-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}

@media (max-width:340px){
  .product-row.alias-card{padding:7px 8px!important;margin-bottom:6px!important;border-radius:11px!important}
  .alias-card .product-head{grid-template-columns:22px minmax(0,1fr);gap:6px}
  .alias-card .favbtn{width:22px;height:22px;font-size:19px!important}
  .alias-main-name{font-size:13.8px;line-height:1.18}
  .alias-edit-btn{width:19px;height:19px;font-size:12.5px}
  .alias-sub-name{font-size:11px;line-height:1.2}
  .alias-card .product-act-row{margin-top:5px;margin-left:28px;grid-template-columns:minmax(72px,1fr) auto;gap:5px}
  .alias-price{font-size:14.5px;letter-spacing:-.04em}
  .alias-card .qty{gap:4px!important}
  .alias-card .qty button{min-width:27px!important;height:27px!important}
  .alias-card .qty input{width:32px!important;height:27px!important;font-size:12px!important}
  .alias-card .qty .addbtn{height:27px!important;min-width:48px!important;padding:0 7px!important;font-size:11.5px!important;margin-left:3px!important}
}

/* v10.60.21.1: 거래처앱 주문현황 5칸 표시 보정
   - 주문완료/배송준비/배송지연/출고완료/주문취소 글자가 작은 화면에서 잘리지 않도록 조정 */
.status-statgrid{
  gap:5px!important;
}
.status-statgrid .stat{
  padding:10px 2px!important;
  border-radius:13px!important;
  min-width:0;
}
.status-statgrid .stat .muted{
  display:block;
  font-size:11px!important;
  line-height:1.15!important;
  letter-spacing:-.06em;
  white-space:nowrap;
  overflow:visible;
}
.status-statgrid .stat b{
  font-size:18px!important;
  margin-top:3px!important;
}
.customer-status-tabs button{
  font-size:11.2px!important;
  line-height:1.15!important;
  padding:12px 1px!important;
  letter-spacing:-.075em;
  white-space:nowrap;
  min-width:0;
  overflow:visible;
}
.customer-status-tabs button.active:after{
  left:7px!important;
  right:7px!important;
}
@media (max-width:340px){
  .status-statgrid{gap:4px!important}
  .status-statgrid .stat{padding:9px 1px!important;border-radius:11px!important}
  .status-statgrid .stat .muted{font-size:10.2px!important;letter-spacing:-.09em}
  .status-statgrid .stat b{font-size:16px!important}
  .customer-status-tabs button{font-size:10.2px!important;padding:11px 0!important;letter-spacing:-.105em}
  .customer-status-tabs button.active:after{left:5px!important;right:5px!important}
}


/* v10.60.21.2_PC_TEST_V1: 거래처앱 PC 보기 테스트
   - 모바일 화면은 기존 유지
   - 900px 이상 PC/태블릿 가로 화면에서만 넓은 레이아웃 적용
   - 주문하기 화면: 왼쪽 검색/탭, 오른쪽 상품목록
   - 상품목록: PC에서 한 줄 표 형태로 조밀하게 표시
*/
@media (min-width:900px){
  body{background:#f3f4f6}
  .app{width:100%;max-width:1180px;margin:0 auto;min-height:100vh}
  .login{max-width:480px;margin:0 auto}
  .top{border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0 0 20px 20px}
  .topin{padding:18px 24px}
  .content{padding:18px 24px 108px}
  .card{border-radius:18px}

  /* 주문하기 PC 레이아웃 */
  .order-shell{
    display:grid!important;
    grid-template-columns:280px minmax(0,1fr);
    gap:16px;
    align-items:start;
  }
  .order-shell .searchwrap{
    grid-column:1;
    grid-row:1;
    position:sticky;
    top:96px;
    z-index:5;
    margin-top:0;
  }
  .order-shell .order-tabs{
    grid-column:1;
    grid-row:2;
    position:sticky;
    top:160px;
    z-index:5;
    margin:0;
  }
  .order-shell #orderListWrap{
    grid-column:2;
    grid-row:1 / span 20;
    min-width:0;
    display:grid;
    gap:8px;
  }

  /* PC 상품목록: 카드형을 표처럼 조밀하게 */
  #orderListWrap .product-row.alias-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 130px 260px;
    gap:12px;
    align-items:center;
    padding:11px 14px!important;
    margin:0!important;
    border-radius:13px!important;
  }
  #orderListWrap .alias-card .product-head{
    grid-template-columns:30px minmax(0,1fr);
    gap:10px;
    align-items:center;
  }
  #orderListWrap .alias-card .favbtn{
    width:30px!important;
    height:30px!important;
    font-size:23px!important;
  }
  #orderListWrap .alias-main-name{
    font-size:15.5px!important;
    white-space:nowrap;
  }
  #orderListWrap .alias-sub-name{
    font-size:12px!important;
  }
  #orderListWrap .alias-card .product-act-row{
    display:contents!important;
    margin:0!important;
  }
  #orderListWrap .alias-price{
    font-size:16px!important;
    text-align:right;
    color:#111827;
  }
  #orderListWrap .alias-card .qty{
    justify-content:flex-end;
    gap:6px!important;
  }
  #orderListWrap .alias-card .qty .addbtn{
    height:30px!important;
    min-width:62px!important;
    font-size:12px!important;
  }

  /* PC 하단 메뉴: 너무 넓게 퍼지지 않게 중앙 플로팅 */
  .bottom{
    left:50%;
    right:auto;
    bottom:18px;
    transform:translateX(-50%);
    width:min(720px,calc(100% - 48px));
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:0 18px 40px rgba(17,24,39,.12);
    padding:8px;
    background:rgba(255,255,255,.96);
  }
  .bottom nav{max-width:none}
  .bottom a{border-radius:16px;padding:10px 8px}
  .bottom a.active{background:#eff6ff;color:#2563eb}

  /* 주문내역/상세도 PC에서 더 넓게 활용 */
  .orders-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .detail-shell{grid-template-columns:360px minmax(0,1fr)}
  .statgrid{gap:12px}
  .status-statgrid .stat .muted{
    font-size:13px!important;
    letter-spacing:-.02em;
  }
  .status-statgrid .stat b{font-size:22px!important}
  .customer-status-tabs button{
    font-size:13px!important;
    letter-spacing:-.02em;
  }
  .order-filter-info{font-size:13px}
  .cart-control{justify-content:flex-end}
}
@media (min-width:1200px){
  #orderListWrap .product-row.alias-card{
    grid-template-columns:minmax(0,1fr) 140px 270px;
  }
}


/* ===== PATCH2_FINAL_FIXES_V1 ===== */
.customer-return-card{border:1px solid #fecaca!important;background:#fff7f7!important}
.customer-return-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-weight:1000;font-size:12px}
.customer-return-title{color:#b91c1c!important;font-weight:1000!important}
.customer-return-amount{color:#dc2626!important;font-weight:1000!important}
.customer-return-notice{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:12px;padding:12px 14px;font-weight:900;margin-bottom:12px;line-height:1.5}
.preview-mode-badge{position:fixed;z-index:9998;top:8px;left:50%;transform:translateX(-50%);background:#111827;color:#fff;padding:6px 12px;border-radius:999px;font-size:11px;font-weight:900;box-shadow:0 4px 16px rgba(0,0,0,.18);pointer-events:none;opacity:.94}
body.preview-mode{padding-top:28px}
body.preview-mode .alias-edit-btn{opacity:.45}
body.preview-mode .favbtn{cursor:not-allowed}
body.preview-mode .addbtn{cursor:not-allowed}
/* ===== /PATCH2_FINAL_FIXES_V1 ===== */

/* ===== ALLPLUS CUSTOMER UI SYSTEM 2026 · clean mobile ===== */
:root{
  --bg:#f5f7fb;--card:#fff;--ink:#191f28;--muted:#6b7684;--line:#e7ecf2;--primary:#3182f6;--primary-strong:#1b64da;
  --red:#f04452;--green:#0ca678;--orange:#f59f00;--blue:#3182f6;--shadow:0 4px 14px rgba(33,43,54,.05);--shadow-lg:0 16px 40px rgba(33,43,54,.10)
}
html{background:#edf1f6}body{background:var(--bg)!important;color:var(--ink)!important;letter-spacing:-.015em;line-height:1.45}.app{max-width:500px!important;background:var(--bg)!important;box-shadow:0 0 0 1px rgba(231,236,242,.6)}
button,input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:0 0 0 4px rgba(49,130,246,.14)!important;border-color:#3182f6!important}
.login{padding:30px!important}.login:before{content:"ALLPLUS";display:inline-flex;align-self:flex-start;background:#eaf3ff;color:#1b64da;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:850;letter-spacing:.08em;margin-bottom:10px}.login h1{font-size:30px!important;font-weight:850;letter-spacing:-.05em;margin:0 0 4px}.login input{border-color:#d9e0e8!important;border-radius:14px!important;min-height:50px!important;padding:13px 14px!important;box-shadow:0 1px 2px rgba(33,43,54,.03)!important}.primary{background:#3182f6!important;border-radius:14px!important;min-height:48px!important;font-weight:800!important;box-shadow:0 6px 14px rgba(49,130,246,.18)!important}.primary:hover{background:#1b64da!important}.secondary{border-color:#d9e0e8!important;border-radius:13px!important;color:#333d4b!important;background:#fff!important}.danger{background:#fff0f1!important;color:#d63344!important;border-radius:13px!important}
.top{background:rgba(245,247,251,.90)!important;border-color:rgba(217,224,232,.85)!important;backdrop-filter:saturate(180%) blur(18px)!important}.topin{padding:15px 16px 13px!important}.title h2{font-size:21px!important;font-weight:850!important;letter-spacing:-.04em}.badge{background:#3182f6!important;box-shadow:0 4px 12px rgba(49,130,246,.18)!important}.content{padding:14px 14px 96px!important}.card,.product-row,.stat,.empty{border-color:var(--line)!important;box-shadow:0 1px 2px rgba(33,43,54,.03)!important}.card{border-radius:20px!important;padding:16px!important;margin-bottom:12px!important}.product-row{border-radius:17px!important;padding:13px 13px 12px!important;margin-bottom:9px!important}.product-row:hover{box-shadow:var(--shadow)!important}.product-title{font-size:17px!important;font-weight:850!important;color:#191f28}.pname{font-weight:800!important}.psub,.muted{color:#6b7684!important}.pricebold{color:#191f28!important;font-size:19px!important;font-weight:850!important}.boxqty{color:#6b7684!important}.searchwrap{border-color:#d9e0e8!important;border-radius:15px!important;padding:12px 14px!important;box-shadow:0 1px 2px rgba(33,43,54,.03)!important}.search{color:#191f28}.search::placeholder{color:#adb5bd}.searchicon{color:#8b95a1!important}.favbtn{color:#b0b8c1!important}.favbtn.on{color:#3182f6!important}.favnotice{background:#f8fafc!important;border-color:var(--line)!important;border-radius:14px!important;color:#6b7684!important}.soldtag{background:#eef1f4!important;color:#6b7684!important}
.order-tabs{border-color:var(--line)!important;border-radius:15px!important;box-shadow:0 1px 2px rgba(33,43,54,.03)!important}.order-tabs button{color:#8b95a1!important;font-weight:750!important}.order-tabs button.active{color:#1b64da!important}.order-tabs button.active:after{background:#3182f6!important;height:3px!important}
.qty button,.qty input{border-color:#d9e0e8!important}.qty button{background:#f8fafc!important;color:#333d4b!important}.qty input{background:#fff!important}.addbtn{background:#3182f6!important;border-color:#3182f6!important;border-radius:11px!important;font-weight:800!important;box-shadow:0 4px 10px rgba(49,130,246,.16)!important}.addbtn:active{background:#1b64da!important}.addbtn.disabled{background:#d7dde5!important;border-color:#d7dde5!important;box-shadow:none!important}
.bottom{background:rgba(255,255,255,.92)!important;border-color:rgba(217,224,232,.8)!important;backdrop-filter:saturate(180%) blur(18px)!important;box-shadow:0 -10px 30px rgba(33,43,54,.045)!important}.bottom nav{padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;gap:5px!important}.bottom a{color:#8b95a1!important;border-radius:12px!important;font-weight:750!important;padding:8px 2px!important;transition:background .16s ease,color .16s ease,transform .14s ease!important}.bottom a.active{background:#eaf3ff!important;color:#1b64da!important}.bottom a:active{transform:scale(.96)!important}
.field label{color:#6b7684!important;font-weight:700!important}.field input,.field textarea,.field select{border-color:#d9e0e8!important;border-radius:13px!important;padding:12px!important;box-shadow:0 1px 2px rgba(33,43,54,.03)!important}.total,.settle-summary{background:#f8fafc!important;border-color:var(--line)!important;border-radius:15px!important}.balance-alert{background:linear-gradient(145deg,#2b7de9,#1b64da)!important;border-radius:19px!important;box-shadow:0 12px 26px rgba(49,130,246,.24)!important}.balance-alert .muted{color:#dbeafe!important}.balance-alert b{font-weight:850!important}.settle-scroll{border-color:var(--line)!important;border-radius:15px!important}.settle-table th{background:#f8fafc!important;color:#6b7684!important;border-color:var(--line)!important}.settle-table td{border-color:#edf1f5!important}.statgrid{gap:9px!important}.stat{border-radius:17px!important;padding:14px 8px!important}.stat b{font-size:21px!important;font-weight:850!important}.status{font-weight:750!important}.st-신규주문{background:#eaf3ff!important;color:#1b64da!important}.st-배송준비,.st-출고준비{background:#fff7e6!important;color:#b86a00!important}.st-출고완료,.st-확인{background:#eafbf5!important;color:#087f5b!important}.st-보류,.st-주문거절,.st-취소,.st-거절{background:#fff0f1!important;color:#d63344!important}.reject{background:#fff0f1!important;border-color:#ffd5da!important;color:#d63344!important;border-radius:14px!important}.empty{background:#fbfcfe!important;border:1px dashed #d7dee7!important;color:#8b95a1!important;border-radius:17px!important}.toast{background:#191f28!important;border-radius:14px!important;padding:11px 15px!important;font-weight:750!important;box-shadow:0 12px 30px rgba(25,31,40,.22)!important}
.return-order-badge{background:#fff0f1!important;color:#d63344!important;border-color:#ffd5da!important;font-weight:800!important}.return-order-row,.return-order-card{background:#fffafb!important}.return-order-amount,.preview-return{color:#d63344!important;font-weight:850!important}
@keyframes allplusMobileFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.card,.product-row,.empty{animation:allplusMobileFade .18s cubic-bezier(.22,.8,.3,1) both!important}
@media(min-width:700px){body{padding:18px 0}.app{border-radius:24px;overflow:hidden;min-height:calc(100vh - 36px)}}
/* ===== /ALLPLUS CUSTOMER UI SYSTEM 2026 ===== */


/* ===== ALLPLUS UI RC1.1 · desktop order layout hotfix =====
   RC1의 공통 모바일 폭 제한(max-width:500px)이 기존 900px+ PC 주문 레이아웃까지 덮어쓰던 문제 보정.
   PC에서는 원래의 2열 주문 레이아웃 폭을 복구하고, 모바일/미리보기 폭은 그대로 유지.
*/
@media (min-width:900px){
  .app{width:100%!important;max-width:1180px!important;margin:0 auto!important;min-height:100vh!important}
  .order-shell{grid-template-columns:280px minmax(0,1fr)!important}
  .order-shell #orderListWrap{min-width:0!important;width:100%!important}
  #orderListWrap .product-row.alias-card{width:100%!important;min-width:0!important}
}
/* ===== /ALLPLUS UI RC1.1 ===== */

/* KCP_REVIEW_POLICY_FOOTER_RC1 */
.seller-footer{margin-top:22px;padding:18px 16px 20px;border-top:1px solid #e5e9f0;color:#6b7688;text-align:center;font-size:11px;line-height:1.7}
.seller-footer.login-footer{margin-top:26px;padding-left:0;padding-right:0;padding-bottom:0}
.seller-footer .policy-links{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.seller-footer .policy-link{appearance:none;background:transparent;border:0;padding:4px 2px;color:#4f5d72;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.seller-footer .seller-lines{word-break:keep-all}
.seller-footer .seller-lines b{color:#4a5568;font-weight:800}
.seller-footer .copyright{margin-top:7px;color:#98a2b3;font-size:10.5px}
.seller-info-card{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow)}
.seller-info-card h3{margin:0 0 10px;font-size:15px;letter-spacing:-.02em}
.seller-info-grid{display:grid;grid-template-columns:92px 1fr;gap:7px 10px;font-size:12px;line-height:1.5}
.seller-info-grid .k{color:#8b95a5;font-weight:700}.seller-info-grid .v{color:#333d4b;font-weight:750;word-break:break-word}
.seller-policy-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.seller-policy-buttons button{min-height:42px}
.policy-modal-backdrop{position:fixed;inset:0;z-index:220;background:rgba(15,23,42,.58);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}
.policy-modal{width:min(620px,100%);max-height:90vh;background:#fff;border-radius:22px;box-shadow:0 26px 80px rgba(15,23,42,.30);display:flex;flex-direction:column;overflow:hidden}
.policy-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid #edf0f4;background:#fff;flex:0 0 auto}
.policy-modal-head h3{margin:0;font-size:18px;letter-spacing:-.03em}.policy-modal-close{width:36px;height:36px;border-radius:999px;background:#f2f4f7;color:#4b5563;font-size:20px;font-weight:900;display:flex;align-items:center;justify-content:center}
.policy-modal-body{padding:18px;overflow:auto;overscroll-behavior:contain;background:#fbfcfe}
.policy-modal-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #edf0f4;background:#fff;flex:0 0 auto}
.policy-doc{font-size:13px;line-height:1.75;color:#3d4756;word-break:keep-all}
.policy-doc h4{margin:22px 0 7px;color:#1f2937;font-size:14px}.policy-doc h4:first-child{margin-top:0}.policy-doc p{margin:6px 0}.policy-doc ul{margin:7px 0 7px 18px;padding:0}.policy-doc li{margin:3px 0}.policy-doc .policy-intro{background:#fff;border:1px solid #e8edf3;border-radius:14px;padding:13px 14px;margin-bottom:14px}.policy-doc .overseas-card{background:#fff;border:1px solid #e3e9f2;border-radius:14px;padding:13px;margin:9px 0}.policy-doc .overseas-card b{color:#202b3c}.policy-doc .small-note{font-size:11.5px;color:#7a8596}
.shipping-policy-image{width:100%;height:auto;display:block;border-radius:16px;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.06)}
.return-fee-card{margin-top:14px;background:#eef5ff;border:1px solid #cfe0ff;border-radius:16px;padding:15px;color:#194a9a;text-align:center;line-height:1.6}
.return-fee-card .fee-title{font-size:13px;font-weight:850;margin-bottom:6px}.return-fee-card .fee-values{font-size:16px;font-weight:950;letter-spacing:-.02em}.return-fee-card .fee-note{font-size:11.5px;color:#5b6f92;margin-top:5px}
@media(max-width:520px){.policy-modal-backdrop{padding:10px}.policy-modal{max-height:94vh;border-radius:18px}.policy-modal-body{padding:13px}.seller-info-grid{grid-template-columns:82px 1fr}.seller-policy-buttons{grid-template-columns:1fr}.seller-footer{padding-left:8px;padding-right:8px}.policy-doc{font-size:12.5px}}



/* PAYMENT_HISTORY_READONLY_V1 and subsequent inline style block */

.payment-page-intro{margin:2px 0 14px}
.payment-page-intro h3{margin:0 0 5px;font-size:23px;line-height:1.25;letter-spacing:-.5px}
.payment-page-intro p{margin:0;color:#7b8495;font-size:14px}
.payment-filter-card,.payment-summary-card{background:#fff;border:1px solid #e7ebf2;border-radius:20px;box-shadow:0 6px 22px rgba(15,23,42,.045)}
.payment-filter-card{padding:14px;margin-bottom:12px}
.payment-periods{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pay-period-btn{appearance:none;border:1px solid #e7ebf2;background:#f7f9fc;color:#4b5565;border-radius:999px;padding:9px 15px;font-weight:800;font-size:13px;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.pay-period-btn:hover{background:#eef4ff;border-color:#d6e4ff}
.pay-period-btn:active{transform:scale(.97)}
.pay-period-btn.active{background:#2878ff;border-color:#2878ff;color:#fff;box-shadow:0 5px 12px rgba(40,120,255,.18)}
.payment-date-range{display:flex;gap:8px;align-items:center}
.payment-date-range input{min-width:0;flex:1;background:#f8fafc;border:1px solid #e6ebf2;border-radius:12px;padding:10px 11px;color:#202938;font-weight:700}
.payment-date-range span{color:#9aa3b1;font-weight:800}
.payment-summary-card{padding:17px 18px;display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;margin-bottom:12px;background:linear-gradient(135deg,#f8fbff 0%,#fff 55%,#f7fffb 100%)}
.payment-summary-card>div:not(.payment-summary-sep){display:flex;flex-direction:column;gap:4px}
.payment-summary-card span{color:#7a8494;font-size:13px;font-weight:700}
.payment-summary-card b{font-size:20px;letter-spacing:-.4px;color:#111827}
.payment-summary-sep{height:42px;background:#e7ebf2}
.payment-summary-card>div:last-child{padding-left:18px}
.payment-history-list{display:flex;flex-direction:column;gap:9px}
.payment-history-row{display:grid;grid-template-columns:minmax(105px,.85fr) minmax(110px,.9fr) minmax(150px,1.15fr) minmax(145px,1fr);gap:14px;align-items:center;background:#fff;border:1px solid #e7ebf2;border-radius:18px;padding:15px 17px;box-shadow:0 4px 16px rgba(15,23,42,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;animation:uiFadeUp .18s ease both}
.payment-history-row:hover{transform:translateY(-1px);border-color:#d8e5fa;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.payment-history-date{display:flex;align-items:center;gap:7px;min-width:0}
.payment-history-date b{font-size:14px;color:#222b3a;white-space:nowrap}
.payment-history-amount{font-size:18px;font-weight:900;color:#176cff;letter-spacing:-.3px;text-align:right;white-space:nowrap}
.payment-history-meta,.payment-history-balance{display:flex;flex-direction:column;gap:3px;min-width:0}
.payment-history-meta span,.payment-history-balance span{font-size:12px;color:#8b95a5;font-weight:700}
.payment-history-meta b{font-size:14px;color:#222b3a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.payment-history-balance{align-items:flex-end;text-align:right}
.pay-balance-value{font-size:15px;color:#176cff;white-space:nowrap}
.pay-balance-value.negative{color:#176cff}
.pay-balance-na{font-weight:800;color:#a1a9b5}
.payment-cancel-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;background:#f2f4f7;color:#8a93a1;font-size:11px;font-weight:900}
.payment-history-row.is-canceled{opacity:.72;background:#fbfbfc}
.payment-canceled-amount{text-decoration:line-through;color:#8e98a8}
.payment-empty{border:1px dashed #d9e0ea;border-radius:18px;background:#fafbfd;padding:28px}
@media(max-width:720px){
  .payment-page-intro h3{font-size:21px}
  .payment-filter-card{padding:12px;border-radius:17px}
  .payment-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
  .pay-period-btn{padding:9px 4px;font-size:12px}
  .payment-date-range{gap:6px}.payment-date-range input{font-size:12px;padding:10px 8px}
  .payment-summary-card{padding:15px 14px;border-radius:17px}.payment-summary-card b{font-size:18px}.payment-summary-card>div:last-child{padding-left:14px}
  .payment-history-row{grid-template-columns:1fr auto;grid-template-areas:'date amount' 'meta balance';gap:10px 12px;border-radius:17px;padding:14px}
  .payment-history-date{grid-area:date}.payment-history-amount{grid-area:amount;font-size:18px}.payment-history-meta{grid-area:meta}.payment-history-balance{grid-area:balance}
}
@media(max-width:390px){.payment-periods{grid-template-columns:repeat(2,1fr)}.payment-date-range{flex-direction:column;align-items:stretch}.payment-date-range span{display:none}}

/* FIXPACK RC5: 다중 공지 + 기간형 팝업공지 */
.customer-notice-list{display:grid;gap:7px;margin-top:10px}
.customer-notice-item{background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:10px 11px;color:#4b5563;font-size:13px;font-weight:700;line-height:1.55;white-space:pre-line}
.popup-notice-backdrop{position:fixed;inset:0;z-index:160;background:rgba(15,23,42,.52);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}
.popup-notice-card{position:relative;width:min(440px,100%);max-height:88vh;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.28);overflow:hidden;display:flex;flex-direction:column}
.popup-notice-image-wrap{background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:auto;max-height:72vh}
.popup-notice-image{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain}
.popup-notice-actions{padding:12px;background:#fff;border-top:1px solid var(--line)}
.popup-notice-close-x{position:absolute;right:10px;top:10px;z-index:2;width:36px;height:36px;border-radius:999px;background:rgba(17,24,39,.78);color:#fff;font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.16)}
@media(max-width:520px){.popup-notice-backdrop{padding:14px}.popup-notice-card{border-radius:18px}.popup-notice-image-wrap,.popup-notice-image{max-height:75vh}}


