/* Supplier R02: approved concise dark/citron layout. Print remains A4. */
html[data-supplier-shell]{--ink:#f2f3ed;--muted:#aab4b0;--line:#343b3d;--accent:#cedc00;color-scheme:dark}
[data-supplier-shell] body{font-family:Roboto,Arial,sans-serif;background:#080a0b;color:var(--ink)}
[data-supplier-shell] header{max-width:1180px;gap:20px;padding:16px 28px;border-bottom:1px solid var(--line)}
.supplier-header-label{font-size:11px;letter-spacing:.13em;color:var(--muted);margin-right:auto;white-space:nowrap}
[data-supplier-shell] header nav{gap:20px;font-size:13px}
[data-supplier-shell] header nav a{text-decoration:none;color:var(--muted);min-height:40px;display:inline-flex;align-items:center}
[data-supplier-shell] header nav a[aria-current]{color:var(--ink);box-shadow:0 2px var(--accent)}
[data-supplier-shell] main{max-width:1120px;padding:36px 28px 64px}
[data-supplier-shell] .hero{padding:0 0 24px;margin-bottom:0}
[data-supplier-shell] h1{font-size:30px;line-height:1.22;font-weight:700}
[data-supplier-shell] h2{font-size:23px;line-height:1.3}
[data-supplier-shell] section{scroll-margin-top:20px}
[data-supplier-shell] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[data-supplier-shell] .debt-metrics{display:block;max-width:none;border-radius:12px;margin:4px 0 24px;background:#111618}
[data-supplier-shell] .debt-metrics>.debt-total{padding:24px 28px}
[data-supplier-shell] .debt-metrics strong{font-size:38px;letter-spacing:-1px;line-height:1.2;color:var(--ink);margin:9px 0 12px}
[data-supplier-shell] .debt-metrics small{margin:0;font-size:12px}
[data-supplier-shell] .upload-invoice{padding:0;border:0;background:transparent;margin:0 0 24px}
[data-supplier-shell] .upload-invoice>summary{display:inline-block;padding:11px 20px;min-height:44px;background:var(--accent);color:#101408;border-radius:7px}
[data-supplier-shell] .upload-invoice>summary::-webkit-details-marker{display:none}
[data-supplier-shell] .upload-invoice>form{padding:24px;border:1px solid var(--line);border-radius:10px;background:#111618;margin-top:16px}
[data-supplier-shell] .supplier-status-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);padding-bottom:12px}
[data-supplier-shell] .supplier-status-tabs a{color:var(--muted);text-decoration:none;font-weight:500;padding:6px 0}
[data-supplier-shell] .supplier-status-tabs a[aria-current]{color:var(--ink);box-shadow:0 2px var(--accent)}
[data-supplier-shell] .supplier-search{border:0;margin:0 0 8px;font-size:13px;color:var(--muted)}
[data-supplier-shell] .supplier-search summary{width:fit-content}
[data-supplier-shell] .debt-list{border:0}
[data-supplier-shell] .debt-list .debt-card{border:1px solid var(--line);border-radius:10px;padding:18px 22px;background:#111618;margin:0 0 14px}
.invoice-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}
.invoice-products{min-width:0}
[data-supplier-shell] .invoice-products .supplier-product-line{margin:0;grid-template-columns:74px minmax(0,1fr);gap:18px}
[data-supplier-shell] .invoice-products .item-name strong{font-size:15px;line-height:1.5;color:var(--ink)}
[data-supplier-shell] .invoice-products .item-name small{font-size:12px}
.transaction-date{margin:6px 0 0 92px;font-size:12px}
.invoice-amount{text-align:right;min-width:185px}
[data-supplier-shell] .invoice-amount .debt-balance{padding:0 0 10px}
[data-supplier-shell] .invoice-amount .debt-balance span{font-size:11px}
[data-supplier-shell] .invoice-amount .debt-balance strong{font-size:23px;color:var(--ink);letter-spacing:-.5px}
[data-supplier-shell] .invoice-detail{font-size:14px;margin-top:12px}
[data-supplier-shell] .invoice-detail>summary{font-size:12px;font-weight:400;color:var(--muted);min-height:36px;padding:6px 0}
[data-supplier-shell] .invoice-detail dl{padding:12px 0;gap:8px}
[data-supplier-shell] .invoice-detail form{max-width:760px}
[data-supplier-shell] .supplier-debt-grid .debt-balance strong{color:var(--ink);font-size:32px}
[data-supplier-shell] .supplier-debt-card{padding:26px}
[data-supplier-shell] .supplier-debt-card small{font-size:12px}
.supplier-doc-link{display:inline-block;font-size:13px;color:var(--muted);padding-top:10px}
[data-supplier-shell] #profil,[data-supplier-shell] #notifikasi{max-width:640px}
.supplier-logo-edit{border:0;margin-bottom:24px}
.supplier-logo-edit summary{display:flex;gap:22px;align-items:center;color:var(--accent);font-size:14px}
.supplier-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;border:1px solid var(--line);background:#111618;font-size:22px;color:var(--ink)}
[data-supplier-shell] .supplier-company-logo{width:72px;height:72px;border-radius:50%;padding:4px;background:#fff}
[data-supplier-shell] input,[data-supplier-shell] select,[data-supplier-shell] textarea{font-size:15px;min-width:0}
[data-supplier-shell] label{font-size:13px;font-weight:500}
[data-supplier-shell] footer{display:flex;justify-content:space-between;gap:20px;max-width:1064px;margin:auto;padding:24px 0;border-top:1px solid var(--line);background:transparent;font-size:12px}
[data-supplier-shell] footer a{color:var(--muted)}
[data-supplier-shell] .supplier-auth-layout{display:grid;grid-template-columns:minmax(0,440px) minmax(0,355px);align-items:center;justify-content:space-between;gap:60px;padding-top:70px;min-height:65vh}
[data-supplier-shell] .supplier-auth-card{border:0;padding:0;margin:0}
[data-supplier-shell] .supplier-auth-card form{display:grid;gap:15px;margin:24px 0}
[data-supplier-shell] .supplier-auth-card form button{margin:0}
[data-supplier-shell] .supplier-otp{max-width:250px;font-size:26px;letter-spacing:.38em;padding-left:20px}
[data-supplier-shell] .alert{color:#ffba96;border:1px solid #663c28;border-radius:7px;padding:12px 16px;background:#281b16}
html[data-tb-app="supplier"] .tb-suite-install{padding:22px;border:1px solid #343b3d;border-radius:12px;background:#111618;margin:0;max-width:390px}
html[data-tb-app="supplier"] .tb-suite-install h2{font-size:17px;font-weight:600;margin:0 0 18px}
html[data-tb-app="supplier"] .supplier-app-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-tb-app="supplier"] .supplier-app-links a{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #46504e;padding:11px 5px;border-radius:7px;min-width:0;min-height:48px;background:transparent;color:#f2f3ed;text-decoration:none}
html[data-tb-app="supplier"] .supplier-app-links a span{font-size:11px;font-weight:500;white-space:nowrap}
html[data-tb-app="supplier"] .supplier-app-links .platform-logo{width:22px;height:22px;flex:none}
html[data-tb-app="supplier"] .partner-entry main{max-width:1120px;margin:auto;display:grid;grid-template-columns:minmax(0,500px) minmax(0,355px);gap:60px;align-items:center;padding:70px 28px}
html[data-tb-app="supplier"] .partner-card{padding:0;background:transparent;border:0;box-shadow:none;margin:0}
html[data-tb-app="supplier"] .partner-card h1{font-size:36px;line-height:1.2}
html[data-tb-app="supplier"] .partner-accent{display:none}
html[data-tb-app="supplier"] .partner-description{font-size:15px}
html[data-tb-app="supplier"] .partner-note{font-size:12px;margin-top:30px}
[data-supplier-shell] .report-card .report-invite-button{min-height:50px;min-width:190px}
[data-supplier-shell] .report-card .report-invite-button>span{font-size:15px;font-weight:700;white-space:nowrap}
@media(max-width:700px){
 [data-supplier-shell] header{padding:12px 20px;gap:12px;flex-wrap:wrap;align-items:center}
 [data-supplier-shell] header img{width:100px;height:48px}
 [data-supplier-shell] header nav{width:100%;justify-content:space-between;gap:12px;overflow-x:auto;font-size:12px}
 [data-supplier-shell] main{padding:25px 20px 40px}
 [data-supplier-shell] h1{font-size:26px}
 [data-supplier-shell] .debt-metrics>.debt-total{padding:22px}
 [data-supplier-shell] .debt-metrics strong{font-size:31px}
 [data-supplier-shell] .debt-list .debt-card{padding:15px}
 .invoice-compact{grid-template-columns:1fr;gap:10px}
 .invoice-amount{text-align:left;padding-left:82px;min-width:0}
 [data-supplier-shell] .invoice-products .supplier-product-line{grid-template-columns:66px minmax(0,1fr);gap:16px}
 [data-supplier-shell] .invoice-products .item-name strong{font-size:13px}
 .transaction-date{margin-left:82px;font-size:11px}
 [data-supplier-shell] .invoice-amount .debt-balance strong{font-size:20px}
 [data-supplier-shell] .invoice-amount .debt-balance span{display:none}
 [data-supplier-shell] .invoice-amount .debt-balance{padding-bottom:5px}
 [data-supplier-shell] footer{margin:0 20px;padding:22px 0;font-size:11px;flex-wrap:wrap}
 [data-supplier-shell] .supplier-auth-layout,html[data-tb-app="supplier"] .partner-entry main{display:grid;grid-template-columns:1fr;gap:36px;min-height:0;padding:30px 20px}
 html[data-tb-app="supplier"] .tb-suite-install{width:100%;max-width:none}
 html[data-tb-app="supplier"] .supplier-app-links a{gap:5px}
 html[data-tb-app="supplier"] .supplier-app-links .platform-logo{width:19px;height:19px}
 html[data-tb-app="supplier"] .partner-card h1{font-size:30px}
 [data-supplier-shell] .upload-invoice>form{padding:16px}
 [data-supplier-shell] .supplier-status-tabs{gap:22px;font-size:13px}
}
@media print{
 @page{size:A4 portrait;margin:14mm}
 [data-supplier-shell] main{padding:0;max-width:none}
 [data-supplier-shell] body{background:white;color:#18201d}
 [data-supplier-shell] footer,[data-supplier-shell] header{display:none!important}
}

/* Keep the brand name intact and platform choices on one row. */
html[data-tb-app="supplier"] .tb-suite-install h2{white-space:nowrap}

/* Approved report: one balance, compact product rows, one invitation strip. */
[data-supplier-shell] .supplier-mirror-link{display:inline-flex;margin:0 0 20px;align-items:center;min-height:42px}
[data-supplier-shell] .report-card{background:#fff;color:#18201d;padding:34px 38px;box-shadow:none;border-radius:3px}
[data-supplier-shell] .report-brand{border:0;padding:0;margin:0 0 32px;flex-wrap:nowrap}
[data-supplier-shell] .report-brand time{color:#65736b;font-size:12px;white-space:nowrap}
[data-supplier-shell] .report-summary h1{font-size:31px;line-height:1.2;margin:0 0 12px}
[data-supplier-shell] .report-summary h2{font-size:21px;line-height:1.35;margin:0 0 20px}
[data-supplier-shell] .report-summary .report-balance{border:0;border-radius:7px;background:#edf1e6;padding:21px 22px;margin:0 0 20px}
[data-supplier-shell] .report-balance strong{font-size:30px;line-height:1.3;margin-top:12px;color:#18201d;letter-spacing:-.6px}
[data-supplier-shell] .report-summary .report-status,[data-supplier-shell] .report-payment-summary{font-size:12px;line-height:1.6;margin:0;color:#65736b}
[data-supplier-shell] .report-transactions{border:0;padding:0;min-width:0}
[data-supplier-shell] .report-item{border:0;border-bottom:1px solid #dce2dc;padding:0 0 22px;margin:0 0 22px}
[data-supplier-shell] .report-item:last-child{margin-bottom:0}
[data-supplier-shell] .report-item>time{display:block;font-size:12px;color:#65736b;margin-bottom:15px}
[data-supplier-shell] .report-item>small{display:block;font-size:11px;line-height:1.5;margin-top:10px}
[data-supplier-shell] .report-product{display:flex;align-items:center;gap:18px;margin:0 0 12px;min-width:0}
[data-supplier-shell] .report-product:last-child{margin-bottom:0}
[data-supplier-shell] .report-product .supplier-product-photo{width:72px;height:72px;flex:0 0 72px;border:0;border-radius:0;background:#f0f0ee}
[data-supplier-shell] .report-product .supplier-product-photo img{width:100%;height:100%;object-fit:contain;border-radius:0}
[data-supplier-shell] .report-product-copy{flex:1;min-width:0;font-size:14px;line-height:1.45}
[data-supplier-shell] .report-product-copy strong{display:block;font-size:14px;font-weight:700;color:#18201d}
[data-supplier-shell] .report-product-copy small{display:block;margin:5px 0;color:#65736b;font-size:11px}
[data-supplier-shell] .report-product-amount{display:block;font-size:18px;line-height:1.4;color:#18201d;font-variant-numeric:tabular-nums;white-space:nowrap}
[data-supplier-shell] .report-subtotal{font-size:12px;margin-top:14px}
[data-supplier-shell] .report-note{font-size:11px;margin:24px 0;color:#65736b}
[data-supplier-shell] .report-card .report-app-invite{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf1e6;border:0;border-radius:7px;padding:18px 20px;margin:24px 0;color:#18201d}
[data-supplier-shell] .report-invite-copy>strong{font-size:14px;line-height:1.4;color:#18201d}
[data-supplier-shell] .report-invite-copy>p{font-size:12px;margin:4px 0 8px;line-height:1.5;color:#65736b}
[data-supplier-shell] .report-platforms{display:flex;gap:10px;align-items:center}
[data-supplier-shell] .report-platforms .platform-logo{width:17px;height:17px;color:#18201d}
[data-supplier-shell] .report-card .report-invite-button{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;background:#cedc00;color:#18201d;border-radius:5px;min-width:170px;min-height:45px;padding:10px 18px;font-size:13px;font-weight:700;text-decoration:none}
[data-supplier-shell] .report-footer{font-size:10px;padding-top:18px;margin:0;border-color:#dce2dc}
[data-supplier-shell] .report-footer a{color:#53615a;text-decoration:none}
@media screen and (max-width:850px){
 [data-supplier-shell] .report-layout{grid-template-columns:1fr;gap:36px}
 [data-supplier-shell] .report-card{padding:26px}
}
@media screen and (max-width:480px){
 [data-supplier-shell] .report-card{padding:24px 22px}
 [data-supplier-shell] .report-brand{margin-bottom:30px}
 [data-supplier-shell] .report-brand img{width:104px;height:52px}
 [data-supplier-shell] .report-brand time{font-size:11px}
 [data-supplier-shell] .report-summary h1{font-size:29px}
 [data-supplier-shell] .report-summary h2{font-size:19px}
 [data-supplier-shell] .report-summary .report-balance{padding:18px}
 [data-supplier-shell] .report-balance strong{font-size:clamp(22px,6.6vw,29px)}
 [data-supplier-shell] .report-product{gap:14px}
 [data-supplier-shell] .report-product .supplier-product-photo{width:64px;height:64px;flex-basis:64px}
 [data-supplier-shell] .report-product-copy strong{font-size:13px}
 [data-supplier-shell] .report-product-amount{font-size:17px}
 [data-supplier-shell] .report-card .report-app-invite{gap:12px;padding:15px;flex-wrap:wrap}
 [data-supplier-shell] .report-invite-copy>strong{font-size:13px}
 [data-supplier-shell] .report-card .report-invite-button{min-width:130px;min-height:42px;padding:8px 12px;font-size:12px}
}
@media print{
 [data-supplier-shell] .report-card{border:0;border-top:1.2mm solid #bdcc00;padding:0;box-shadow:none}
 [data-supplier-shell] .report-brand{margin:6mm 0 9mm}
 [data-supplier-shell] .report-layout{display:block}
 [data-supplier-shell] .report-summary h1{font-size:22pt}
 [data-supplier-shell] .report-summary h2{font-size:16pt}
 [data-supplier-shell] .report-summary .report-balance{padding:5mm;margin:5mm 0}
 [data-supplier-shell] .report-balance strong{font-size:25pt}
 [data-supplier-shell] .report-transactions{margin-top:8mm}
 [data-supplier-shell] .report-item{position:relative;padding:0 0 5mm;margin:0 0 5mm;break-inside:avoid}
 [data-supplier-shell] .report-item>time{font-size:9pt;margin-bottom:3mm}
 [data-supplier-shell] .report-product-copy strong{font-size:11pt}
 [data-supplier-shell] .report-product-copy small{font-size:9pt}
 [data-supplier-shell] .report-product-amount{font-size:13pt}
 [data-supplier-shell] .report-note{margin:6mm 0;font-size:8pt}
 [data-supplier-shell] .report-card .report-app-invite{display:flex;padding:4mm;margin:5mm 0;break-inside:avoid}
 [data-supplier-shell] .report-footer{font-size:8pt}
}

/* Brand signatures on the shared debt card. */
[data-supplier-shell] .report-card .report-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #dce2dc;
  padding-top: 12px;
  break-inside: avoid;
}
[data-supplier-shell] .report-card .report-footer a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 3px 0;
  color: #47544c;
  font: 400 12px/1.4 Roboto, Arial, sans-serif;
  text-decoration: none;
}
[data-supplier-shell] .report-footer img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(33px, 5vw, 40px);
  object-fit: contain;
}
[data-supplier-shell] .report-footer a:hover span { text-decoration: underline; }
[data-supplier-shell] .report-card .report-footer a:focus-visible {
  outline: 2px solid #68764a;
  outline-offset: 3px;
}
@media print {
  [data-supplier-shell] .report-card .report-footer { padding-top: 2mm; }
  [data-supplier-shell] .report-card .report-footer a { gap: 1mm; min-height: 0; font-size: 9pt; }
  [data-supplier-shell] .report-footer img { height: 9mm; }
}
