/* 2026-11-30: tampilan portal di HP — menu atas ringkas, header rapat, tabel & dialog muat layar. */
@media(max-width:760px){
 .dashboard-layout{display:block!important}
 .sidebar{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px!important;height:auto!important;min-height:0!important;position:sticky!important;top:0;z-index:30;overflow:visible}
 .sidebar-brand{flex:1 0 100%;display:flex!important;align-items:center;gap:10px;padding:0 2px 4px!important;margin:0!important}
 .sidebar-brand .brand-logo{width:82px!important;height:auto}
 .sidebar-brand .portal-label{width:auto!important;margin:0!important;font-size:7px!important}
 .sidebar .nav-item{display:flex!important;flex:1 1 0;width:auto!important;min-width:0;min-height:38px;height:auto;padding:6px 6px!important;margin:0!important;font-size:11.5px!important;line-height:1.2;justify-content:center;text-align:center;gap:5px;border-radius:9px}
 .sidebar .nav-item>span:first-child{font-size:13px}
 .sidebar .nav-count{display:inline-block!important;min-width:16px;padding:0 4px;font-size:10px}
 .sidebar-bottom{display:none!important}
 .workspace-header{height:auto!important;min-height:0!important;padding:8px 12px!important;gap:8px;display:flex;align-items:center}
 .workspace-header .breadcrumb{display:none!important}
 .workspace-account{display:flex!important;align-items:center;gap:8px;margin-left:auto}
 .workspace-vendor{position:static!important;margin:0!important}
 .workspace-logout,.logout{padding:6px 10px!important;font-size:12px!important;height:auto!important;gap:6px!important}
 .workspace-main{padding:16px 12px!important}
 .title-row{display:flex!important;flex-wrap:wrap;gap:10px;align-items:flex-start}
 .title-row>div:first-child{flex:1 1 100%}
 .title-row h1{font-size:23px!important;line-height:1.2}
 .title-row p{font-size:13px}
 .title-actions{display:flex!important;flex-wrap:wrap;gap:8px;width:100%}
 .title-actions>*{flex:1 1 auto;justify-content:center}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .stat-card{padding:12px!important}.stat-card strong{font-size:24px!important}
 [role=tablist],.tabs,.ticket-tabs{overflow-x:auto;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 [role=tablist]>*{white-space:nowrap;flex:0 0 auto}
 .table-wrap,.tablewrap,.pod-detail-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
 dialog.ticket-dialog,dialog.guide-dialog,dialog[open]{width:100vw!important;max-width:100vw!important;height:100dvh;max-height:100dvh!important;margin:0!important;border-radius:0!important}
 .dialog-body{padding:16px 14px!important;overflow-y:auto}
 .pod-detail-table td,.pod-detail-table th{font-size:13px!important}
 .evidence-thumb img{width:64px!important;height:64px!important}
 .response-actions button,.response-actions .primary{width:100%}
 input,select,textarea{font-size:16px!important}
 .pod-detail-table{min-width:0!important;width:100%!important;border:0!important}
 .pod-detail-table thead{display:none!important}
 .pod-detail-table tbody{display:block!important}
 .pod-detail-table tbody tr{display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:6px 10px;padding:12px;margin-bottom:10px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}
 .pod-detail-table td{display:block!important;padding:0!important;border:0!important;min-width:0;overflow-wrap:anywhere}
 .pod-detail-table td::before{display:block;font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#94a5b3;margin-bottom:2px}
 .pod-detail-table td:nth-child(1)::before{content:'Perbaikan pada'}.pod-detail-table td:nth-child(2)::before{content:'No'}
 .pod-detail-table td:nth-child(3)::before{content:'Temuan'}.pod-detail-table td:nth-child(4)::before{content:'Bukti'}
 .pod-detail-table td:nth-child(5)::before{content:'Respon'}.pod-detail-table td:nth-child(6)::before{content:'Status'}
 .pod-detail-table td:nth-child(3),.pod-detail-table td:nth-child(4),.pod-detail-table td:nth-child(5){grid-column:1/-1}
}

@media(max-width:760px){
 #ticketRows td:nth-child(3){grid-column:1!important;font-size:inherit!important;color:inherit!important}
 #ticketRows td:nth-child(3)::before{content:'REVISI'!important}
 #ticketRows td:nth-child(4){grid-column:1/-1!important;font-size:10px;color:#758b9d}
 #ticketRows td:nth-child(4)::before{content:'TEMUAN';display:block;font-size:8px;letter-spacing:1px;margin-bottom:4px;color:#94a5b3}
 #ticketRows td:nth-child(5){grid-column:2!important;align-self:center}
}

/* 2026-11-30: font kolom Temuan lebih kecil */
#ticketRows .issue-label{font-size:11.5px!important;line-height:1.4}

/* 2026-12-02: menu atas akun vendor di HP lebih ringkas (satu baris, bisa digeser). */
@media(max-width:760px){
 .sidebar{flex-wrap:nowrap!important;overflow-x:auto!important;gap:4px!important;padding:6px 8px!important;scrollbar-width:none}
 .sidebar::-webkit-scrollbar{display:none}
 .sidebar-brand{flex:0 0 auto!important;padding:0 4px 0 0!important}
 .sidebar-brand .brand-logo{width:58px!important}
 .sidebar-brand .portal-label{display:none!important}
 .sidebar .nav-item{flex:0 0 auto!important;min-height:30px!important;padding:4px 10px!important;font-size:11px!important;gap:4px!important;border-radius:8px;white-space:nowrap}
 .sidebar .nav-item>span:first-child{font-size:11px!important}
 .sidebar .nav-count{font-size:9.5px!important;min-width:14px}
}

/* elemen yang disembunyikan (belum login) tetap tersembunyi di layar HP */
.dashboard-layout[hidden],[hidden].dashboard-layout,#dashboardView[hidden]{display:none!important}
