:root{--ph-bg:#f8fafc;--ph-side:#0f172a;--ph-side2:#111827;--ph-text:#0f172a;--ph-muted:#64748b;--ph-border:#e2e8f0;--ph-blue:#2563eb;--ph-blue2:#dbeafe;--ph-red:#dc2626;--ph-amber:#d97706;--ph-green:#16a34a;--ph-card:#fff;--ph-shadow:0 16px 40px rgba(15,23,42,.08)}
#pertihub-root,.pertihub-root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ph-text);background:var(--ph-bg);min-height:82vh;margin:-10px 0 0 0}.ph-app{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:82vh;background:var(--ph-bg);border:1px solid var(--ph-border);border-radius:22px;overflow:hidden;box-shadow:var(--ph-shadow)}
.ph-sidebar{background:linear-gradient(180deg,var(--ph-side),var(--ph-side2));color:#e5e7eb;display:flex;flex-direction:column;min-height:82vh}.ph-brand{height:76px;display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid rgba(255,255,255,.08)}.ph-brand img{width:40px;height:40px;border-radius:12px;background:#fff;object-fit:contain}.ph-brand strong{display:block;color:#fff;font-size:18px;letter-spacing:.4px}.ph-brand small{color:#94a3b8;font-size:12px}.ph-sidebar nav{padding:14px 10px;overflow:auto;flex:1}.ph-nav-title{font-size:11px;text-transform:uppercase;color:#94a3b8;letter-spacing:.12em;margin:18px 12px 8px}.ph-nav-item{display:flex;align-items:center;gap:11px;margin:4px 0;padding:11px 12px;color:#d1d5db;text-decoration:none;border-radius:12px;transition:.16s}.ph-nav-item span{width:24px;text-align:center}.ph-nav-item b{font-size:14px}.ph-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}.ph-nav-item.active{background:#fff;color:#0f172a;box-shadow:0 10px 24px rgba(0,0,0,.16)}.ph-user{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:14px;border-top:1px solid rgba(255,255,255,.08)}.ph-avatar{width:40px;height:40px;border-radius:14px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:900}.ph-user b{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-user small{display:block;color:#94a3b8;font-size:11px}.ph-user button{border:0;border-radius:10px;padding:8px 10px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.ph-main{min-width:0;display:flex;flex-direction:column}.ph-topbar{height:76px;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--ph-border);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;position:sticky;top:0;z-index:5}.ph-topbar h1{margin:0;font-size:22px;font-weight:850}.ph-topbar p{margin:2px 0 0;color:var(--ph-muted);font-size:12px}.ph-top-actions{display:flex;gap:10px;align-items:center}.ph-top-actions input,.ph-filter{border:1px solid var(--ph-border);background:#fff;border-radius:12px;padding:10px 13px;min-width:260px;outline:none}.ph-content{padding:22px;min-width:0}.ph-btn{border:1px solid var(--ph-border);background:#fff;color:#0f172a;border-radius:12px;padding:10px 14px;font-weight:750;cursor:pointer;transition:.14s}.ph-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08)}.ph-btn.primary{background:var(--ph-blue);color:#fff;border-color:var(--ph-blue)}.ph-btn.ghost{background:#f8fafc}.ph-panel{background:#fff;border:1px solid var(--ph-border);border-radius:18px;box-shadow:var(--ph-shadow);overflow:hidden}.ph-toolbar{display:flex;gap:10px;padding:14px;border-bottom:1px solid var(--ph-border);align-items:center}.ph-toolbar .ph-filter{flex:1}.ph-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.ph-kpi{background:#fff;border:1px solid var(--ph-border);border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.05)}.ph-kpi small{display:block;color:var(--ph-muted);font-weight:700;text-transform:uppercase;font-size:11px;letter-spacing:.08em}.ph-kpi strong{display:block;font-size:26px;font-weight:900;margin-top:7px}.ph-kpi span{display:block;color:var(--ph-muted);font-size:12px;margin-top:3px}.ph-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ph-dash-card{background:#fff;border:1px solid var(--ph-border);border-radius:20px;padding:22px;min-height:128px;text-decoration:none;color:var(--ph-text);box-shadow:var(--ph-shadow);transition:.16s;display:flex;flex-direction:column;justify-content:space-between}.ph-dash-card:hover{transform:translateY(-3px);border-color:#bfdbfe}.ph-dash-card span{font-size:28px}.ph-dash-card b{font-size:16px}.ph-dash-card small{color:var(--ph-muted)}
.ph-table-wrap{overflow:auto}.ph-table{width:100%;border-collapse:separate;border-spacing:0}.ph-table th{position:sticky;top:0;background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:12px;border-bottom:1px solid var(--ph-border)}.ph-table td{padding:13px 12px;border-bottom:1px solid #f1f5f9;vertical-align:top;font-size:14px}.ph-table td small{display:block;color:var(--ph-muted);font-size:12px;margin-top:3px}.ph-click-row{cursor:pointer}.ph-click-row:hover{background:#eff6ff}.ph-badge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:850}.ph-badge.blue{background:#dbeafe;color:#1d4ed8}.ph-badge.amber{background:#fef3c7;color:#b45309}.ph-badge.red{background:#fee2e2;color:#b91c1c}.ph-badge.green{background:#dcfce7;color:#15803d}
.ph-login{min-height:82vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#dbeafe,transparent 36%),linear-gradient(135deg,#f8fafc,#eef6ff)}.ph-login-card{width:min(980px,94vw);display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid var(--ph-border);border-radius:26px;box-shadow:var(--ph-shadow);overflow:hidden}.ph-login-hero{background:linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb);color:#fff;padding:46px;display:flex;flex-direction:column;justify-content:center}.ph-login-hero img{width:120px;background:#fff;border-radius:28px;padding:10px;margin-bottom:24px}.ph-login-hero h1{font-size:38px;margin:0}.ph-login-hero p{opacity:.86}.ph-login form{padding:46px;display:flex;flex-direction:column;gap:12px;justify-content:center}.ph-login label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--ph-muted)}.ph-login input,.ph-form input,.ph-form textarea{border:1px solid var(--ph-border);border-radius:14px;padding:13px;font-size:15px;outline:none}.ph-form{display:flex;flex-direction:column;gap:10px}.ph-form textarea{min-height:140px}.ph-error,.ph-error-card{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:14px;padding:12px}.ph-error-card{margin:14px}.ph-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:18px;text-align:center;padding:38px;color:var(--ph-muted)}
.ph-skeleton-wrap{display:grid;gap:12px}.ph-skeleton{height:58px;border-radius:16px;background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f8fafc);background-size:220% 100%;animation:phShimmer 1.2s infinite}@keyframes phShimmer{to{background-position:-220% 0}}
.ph-chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);height:calc(82vh - 120px);background:#fff;border:1px solid var(--ph-border);border-radius:20px;overflow:hidden;box-shadow:var(--ph-shadow)}.ph-chat-rooms{border-right:1px solid var(--ph-border);background:#f8fafc;padding:16px}.ph-chat-rooms h3{margin:4px 0 14px}.ph-room{width:100%;display:block;text-align:left;border:0;background:transparent;border-radius:12px;padding:11px 12px;font-weight:800;color:#334155;cursor:pointer}.ph-room.active,.ph-room:hover{background:#e0ecff;color:#1d4ed8}.ph-chat-main{display:flex;min-width:0;flex-direction:column}.ph-chat-head{height:62px;border-bottom:1px solid var(--ph-border);display:flex;align-items:center;justify-content:space-between;padding:0 16px}.ph-chat-head small{display:block;color:var(--ph-muted)}.ph-chat-feed{flex:1;overflow:auto;padding:18px;background:#fbfdff}.ph-bubble{max-width:72%;background:#fff;border:1px solid var(--ph-border);border-radius:18px 18px 18px 6px;padding:10px 12px;margin:0 0 12px;box-shadow:0 6px 16px rgba(15,23,42,.05)}.ph-bubble.mine{margin-left:auto;background:#eaf2ff;border-color:#bfdbfe;border-radius:18px 18px 6px 18px}.ph-bubble b{font-size:13px}.ph-bubble small{margin-left:8px;color:var(--ph-muted);font-size:11px}.ph-bubble p{margin:6px 0;white-space:pre-wrap}.ph-chat-images{display:flex;flex-wrap:wrap;gap:8px}.ph-chat-images img{width:140px;max-height:120px;object-fit:cover;border-radius:12px}.ph-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:12px;border-top:1px solid var(--ph-border);background:#fff}.ph-chat-form input[type=text],.ph-chat-form input:not([type]){border:1px solid var(--ph-border);border-radius:14px;padding:12px}
.ph-ann-layout{display:grid;grid-template-columns:340px minmax(0,1fr);height:calc(82vh - 120px);background:#fff;border:1px solid var(--ph-border);border-radius:20px;overflow:hidden;box-shadow:var(--ph-shadow)}.ph-ann-list{border-right:1px solid var(--ph-border);overflow:auto;background:#f8fafc}.ph-ann-item{width:100%;border:0;border-bottom:1px solid var(--ph-border);background:transparent;text-align:left;padding:15px;cursor:pointer}.ph-ann-item.active,.ph-ann-item:hover{background:#fff}.ph-ann-item b{display:block}.ph-ann-item small{color:var(--ph-muted)}.ph-ann-detail{overflow:auto;padding:30px}.ph-ann-detail h2{font-size:30px;margin:0 0 8px}.ph-meta{color:var(--ph-muted);font-weight:700;margin-bottom:18px}.ph-ann-img{max-width:720px;width:100%;border-radius:18px;margin:12px 0;box-shadow:var(--ph-shadow)}.ph-ann-detail p{font-size:16px;line-height:1.7;white-space:pre-wrap}.ph-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ph-detail-list div{background:#f8fafc;border:1px solid var(--ph-border);border-radius:14px;padding:11px}.ph-detail-list small{display:block;color:var(--ph-muted);font-size:11px;text-transform:uppercase}.ph-detail-list b{display:block;margin-top:4px;word-break:break-word}.ph-lines{padding-left:20px}.ph-submit-box{margin-top:16px;display:flex;gap:10px;align-items:center}
.ph-drawer-wrap{position:fixed;inset:0;z-index:99999;display:flex;justify-content:flex-end}.ph-drawer-back{position:absolute;inset:0;background:rgba(15,23,42,.38);backdrop-filter:blur(2px)}.ph-drawer{position:relative;width:min(720px,94vw);height:100%;background:#fff;box-shadow:-18px 0 50px rgba(15,23,42,.22);display:flex;flex-direction:column}.ph-drawer header{height:70px;border-bottom:1px solid var(--ph-border);display:flex;align-items:center;justify-content:space-between;padding:0 20px}.ph-drawer header h2{margin:0;font-size:20px}.ph-drawer header button{border:0;background:#f1f5f9;border-radius:12px;font-size:28px;width:42px;height:42px;cursor:pointer}.ph-drawer-body{padding:18px;overflow:auto}.ph-mobile-menu{display:none}#ph-mobile-menu{display:none}
@media(max-width:1100px){.ph-app{grid-template-columns:1fr}.ph-sidebar{position:fixed;inset:0 auto 0 0;width:300px;z-index:30;transform:translateX(-105%);transition:.2s}.ph-sidebar.open{transform:none}#ph-mobile-menu{display:inline-flex}.ph-top-actions input{display:none}.ph-content{padding:14px}.ph-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-chat-layout,.ph-ann-layout{grid-template-columns:1fr;height:auto}.ph-chat-rooms,.ph-ann-list{display:flex;gap:8px;overflow:auto;border-right:0;border-bottom:1px solid var(--ph-border)}.ph-room,.ph-ann-item{min-width:140px}.ph-login-card{grid-template-columns:1fr}.ph-login-hero{padding:26px}.ph-login form{padding:26px}.ph-detail-list{grid-template-columns:1fr}}
@media(max-width:640px){.ph-kpi-grid,.ph-dashboard-grid{grid-template-columns:1fr}.ph-topbar{padding:0 12px}.ph-topbar h1{font-size:18px}.ph-chat-form{grid-template-columns:1fr}.ph-bubble{max-width:92%}.ph-table th,.ph-table td{font-size:12px;padding:10px}.ph-app{border-radius:0;border-left:0;border-right:0}.ph-content{padding:10px}}

/* ===== PERTIHUB ERP WEB V3.1 ENTERPRISE REFINEMENT ===== */
#pertihub-root .ph-app{min-height:calc(100vh - 120px)!important;max-width:none!important;width:100%!important;border-radius:18px!important;}
#pertihub-root .ph-sidebar{min-height:calc(100vh - 120px)!important;}
#pertihub-root .ph-topbar{height:68px!important;padding:0 22px!important;align-items:center!important;}
#pertihub-root .ph-topbar .ph-page-title h1,#pertihub-root .ph-topbar h1{font-size:28px!important;line-height:1.05!important;font-weight:850!important;letter-spacing:-.035em!important;margin:0!important;color:#071526!important;}
#pertihub-root .ph-topbar .ph-page-title p,#pertihub-root .ph-topbar p{font-size:12px!important;margin:4px 0 0!important;color:#64748b!important;}
#pertihub-root .ph-brand{height:68px!important;padding:14px 18px!important;}
#pertihub-root .ph-brand strong{font-size:16px!important}.ph-brand small{font-size:11px!important}
#pertihub-root .ph-content{padding:18px 20px!important;}
#pertihub-root .ph-kpi-grid{gap:12px!important;margin-bottom:16px!important;}
#pertihub-root .ph-kpi{padding:14px 16px!important;border-radius:16px!important;}
#pertihub-root .ph-kpi strong{font-size:22px!important;margin-top:5px!important;line-height:1.15!important;}
#pertihub-root .ph-kpi small{font-size:10.5px!important;}
#pertihub-root .ph-dashboard-head{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:14px;margin-bottom:16px;align-items:stretch;}
#pertihub-root .ph-profile-card{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--ph-border);border-radius:18px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
#pertihub-root .ph-profile-avatar{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#38bdf8);display:grid;place-items:center;color:#fff;font-weight:900;font-size:22px;flex:0 0 auto}
#pertihub-root .ph-profile-card h2{font-size:22px!important;line-height:1.12!important;margin:0 0 4px!important;letter-spacing:-.025em!important;color:#071526!important;}
#pertihub-root .ph-profile-card p{margin:0!important;color:#334155!important;font-weight:750!important;font-size:13px!important;}
#pertihub-root .ph-profile-card small{display:block;margin-top:5px;color:#64748b;font-size:12px;}
#pertihub-root .ph-dashboard-grid{grid-template-columns:repeat(4,minmax(190px,1fr))!important;}
#pertihub-root .ph-dash-card{min-height:105px!important;padding:18px!important;border-radius:18px!important;}
#pertihub-root .ph-dash-card span{font-size:24px!important}.ph-dash-card b{font-size:15px!important}

/* Tree / folder UX */
#pertihub-root .ph-tree-panel{overflow:auto;max-height:calc(100vh - 255px);}
#pertihub-root .ph-tree{padding:8px 12px 18px;background:#fff;}
#pertihub-root .ph-tree-node{border-bottom:1px solid #f1f5f9;}
#pertihub-root .ph-tree-node>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:10px 8px;border-radius:10px;font-size:13px;color:#0f172a;}
#pertihub-root .ph-tree-node>summary::-webkit-details-marker{display:none}
#pertihub-root .ph-tree-node>summary:hover{background:#f8fafc}
#pertihub-root .ph-tree-node[open]>summary .ph-folder{transform:rotate(90deg)}
#pertihub-root .ph-folder{display:inline-flex;transition:.15s;color:#2563eb;font-size:12px;}
#pertihub-root .ph-tree-node summary b{font-weight:850;}
#pertihub-root .ph-tree-node summary em{margin-left:auto;background:#eef2ff;color:#1d4ed8;border-radius:999px;padding:3px 8px;font-style:normal;font-weight:850;font-size:11px;}
#pertihub-root .ph-tree-children{padding-left:20px;border-left:1px dashed #dbeafe;margin-left:14px;}
#pertihub-root .ph-tree-item{width:100%;border:1px solid #e2e8f0;background:#fff;border-radius:14px;margin:7px 0;padding:10px 12px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:.14s;color:#0f172a;}
#pertihub-root .ph-tree-item:hover{border-color:#93c5fd;background:#f8fbff;box-shadow:0 8px 20px rgba(37,99,235,.08);transform:translateY(-1px)}
#pertihub-root .ph-tree-item .ph-doc{width:34px;height:34px;border-radius:12px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-size:11px;font-weight:900;}
#pertihub-root .ph-tree-item b{display:block;font-size:13.5px;line-height:1.25;white-space:normal;word-break:break-word;}
#pertihub-root .ph-tree-item small{display:block;color:#64748b;font-size:11.5px;margin-top:3px;}
#pertihub-root .ph-note{margin-top:14px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:14px;padding:12px;font-size:13px;}
#pertihub-root .ph-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#pertihub-root .ph-detail-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:11px;}
#pertihub-root .ph-detail-grid small{display:block;color:#64748b;text-transform:uppercase;font-weight:850;font-size:10.5px;letter-spacing:.05em;}
#pertihub-root .ph-detail-grid b{display:block;margin-top:4px;word-break:break-word;}
#pertihub-root .ph-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ph-photo-grid img,#pertihub-root .ph-proof-img{width:100%;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc;object-fit:contain;max-height:440px;}

/* Chat enterprise */
#pertihub-root .ph-chat-layout{height:calc(100vh - 190px)!important;min-height:560px!important;grid-template-columns:280px minmax(0,1fr)!important;}
#pertihub-root .ph-chat-side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
#pertihub-root .ph-chat-side-head h3{margin:0!important;font-size:18px!important}.ph-mini-btn{border:0;background:#dbeafe;color:#1d4ed8;border-radius:10px;width:32px;height:32px;font-weight:900;cursor:pointer}
#pertihub-root .ph-room{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;}
#pertihub-root .ph-room small{font-size:11px;color:#64748b;font-weight:650;}
#pertihub-root .ph-chat-main{min-height:0!important;}
#pertihub-root .ph-chat-feed{min-height:0!important;overflow-y:auto!important;padding-bottom:16px!important;}
#pertihub-root .ph-chat-form{grid-template-columns:44px minmax(0,1fr) 96px!important;position:sticky!important;bottom:0!important;z-index:3!important;}
#pertihub-root .ph-chat-form input#chat-text{border:1px solid var(--ph-border);border-radius:14px;padding:12px;outline:none;width:100%;}
#pertihub-root .ph-attach{display:grid;place-items:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;cursor:pointer;font-size:18px;}
#pertihub-root .ph-attach input{display:none}
#pertihub-root .ph-bubble-meta{display:flex;gap:8px;align-items:center;}

/* Announcement */
#pertihub-root .ph-ann-layout{height:calc(100vh - 190px)!important;min-height:560px!important;grid-template-columns:380px minmax(0,1fr)!important;}
#pertihub-root .ph-ann-scroll{overflow:auto;height:calc(100% - 66px);}
#pertihub-root .ph-toolbar.compact{padding:12px!important}.ph-toolbar.compact .ph-btn{padding:8px 12px!important}
#pertihub-root .ph-ann-item{display:block;min-height:82px;}
#pertihub-root .ph-ann-item b{font-size:14px;line-height:1.25;margin-bottom:4px;}
#pertihub-root .ph-ann-item small,#pertihub-root .ph-ann-item em{display:block;color:#64748b;font-size:12px;font-style:normal;margin-top:2px;}
#pertihub-root .ph-ann-detail h2{font-size:26px!important;line-height:1.15!important;letter-spacing:-.025em!important;}

@media(max-width:1200px){#pertihub-root .ph-dashboard-head{grid-template-columns:1fr}#pertihub-root .ph-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){#pertihub-root .ph-topbar .ph-page-title h1,#pertihub-root .ph-topbar h1{font-size:20px!important}#pertihub-root .ph-detail-grid{grid-template-columns:1fr}#pertihub-root .ph-tree-panel{max-height:none}#pertihub-root .ph-chat-layout,#pertihub-root .ph-ann-layout{height:auto!important;min-height:0!important;grid-template-columns:1fr!important}#pertihub-root .ph-chat-form{grid-template-columns:44px 1fr!important}#pertihub-root .ph-chat-form button{grid-column:1/-1}#pertihub-root .ph-tree-item{grid-template-columns:32px minmax(0,1fr)}#pertihub-root .ph-tree-item .ph-badge{grid-column:2}}

/* ===== V3.2 Tracking SO APK-like detail + Dashboard cleanup ===== */
#pertihub-root .ph-dashboard-head.compact{grid-template-columns:1fr!important;margin-bottom:16px!important}
#pertihub-root .ph-profile-card.full{max-width:720px;background:linear-gradient(135deg,#ffffff,#f8fbff)}
#pertihub-root .ph-login-hero h1{color:#f8fafc!important;text-shadow:0 2px 12px rgba(0,0,0,.18)}
#pertihub-root .ph-login-hero p{color:rgba(255,255,255,.92)!important}
#pertihub-root .ph-login-hero{background:linear-gradient(135deg,#1e3a8a,#2563eb 58%,#38bdf8)!important}
#pertihub-root .ph-so-detail-apk{display:flex;flex-direction:column;gap:16px;color:#0f172a}
#pertihub-root .ph-so-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:linear-gradient(135deg,#eff6ff,#ffffff);border:1px solid #bfdbfe;border-radius:18px;padding:16px}
#pertihub-root .ph-so-hero small{display:block;color:#2563eb;text-transform:uppercase;font-weight:900;letter-spacing:.08em;font-size:11px}
#pertihub-root .ph-so-hero h2{font-size:22px!important;margin:4px 0!important;line-height:1.15!important;color:#071526!important}
#pertihub-root .ph-so-hero p{margin:0!important;color:#475569;font-weight:750}
#pertihub-root .ph-so-section{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
#pertihub-root .ph-so-section h3{font-size:16px!important;margin:0 0 14px!important;color:#0f172a!important;letter-spacing:-.01em!important}
#pertihub-root .ph-so-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#pertihub-root .ph-step{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:flex-start;border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:11px;min-height:62px}
#pertihub-root .ph-step-dot{width:30px;height:30px;border-radius:999px;background:#e2e8f0;color:#64748b;display:grid;place-items:center;font-weight:900;font-size:13px}
#pertihub-root .ph-step.done{border-color:#bfdbfe;background:#f8fbff}.ph-step.done .ph-step-dot{background:#2563eb;color:#fff}
#pertihub-root .ph-step.current{border-color:#86efac;background:#f0fdf4}.ph-step.current .ph-step-dot{background:#16a34a;color:#fff}
#pertihub-root .ph-step b{display:block;font-size:13px;line-height:1.2}.ph-step small{display:block;margin-top:4px;color:#64748b;font-size:11.5px;line-height:1.3}
#pertihub-root .ph-so-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#pertihub-root .ph-so-info-grid div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:11px;min-width:0}
#pertihub-root .ph-so-info-grid small{display:block;text-transform:uppercase;color:#64748b;font-size:10px;font-weight:900;letter-spacing:.06em}.ph-so-info-grid b{display:block;margin-top:4px;word-break:break-word;font-size:13.5px}
#pertihub-root .ph-so-items{display:flex;flex-direction:column;gap:9px}
#pertihub-root .ph-so-product{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:11px}
#pertihub-root .ph-prod-icon{width:40px;height:40px;border-radius:14px;background:#dbeafe;display:grid;place-items:center}.ph-prod-main b{display:block;font-size:14px;line-height:1.25}.ph-prod-main small{display:block;color:#2563eb;font-weight:850;margin-top:3px}.ph-prod-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.ph-prod-meta span{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;font-size:11.5px;color:#334155;font-weight:750}.ph-prod-main p{font-size:12px;color:#64748b;line-height:1.45}
#pertihub-root .ph-map-card{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-decoration:none;color:#0f172a;border:1px solid #bfdbfe;background:#eff6ff;border-radius:16px;padding:12px;margin-bottom:12px}.ph-map-card b{display:block}.ph-map-card small{display:block;color:#475569;margin-top:3px}.ph-map-card span{background:#2563eb;color:#fff;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px}
#pertihub-root .ph-photo-grid.apk-like{grid-template-columns:repeat(3,minmax(0,1fr))}.ph-photo-grid figure{margin:0}.ph-photo-grid figcaption{text-align:center;font-size:12px;color:#475569;font-weight:800;margin-top:6px}.ph-photo-grid.apk-like img{height:190px;object-fit:contain;background:#f8fafc}
@media(max-width:900px){#pertihub-root .ph-so-timeline,#pertihub-root .ph-so-info-grid{grid-template-columns:1fr}#pertihub-root .ph-photo-grid.apk-like{grid-template-columns:1fr}.ph-map-card{grid-template-columns:36px 1fr}.ph-map-card span{grid-column:2}}

/* ===== V3.3 Exact APK-like Tracking SO detail ===== */
#pertihub-root .ph-drawer{max-width:min(760px,96vw)!important;background:#eaf5ff!important;}
#pertihub-root .ph-drawer-body{background:#eaf5ff!important;padding:0!important;}
#pertihub-root .ph-drawer-head{display:none!important;}
#pertihub-root .apk-track-page{background:#eaf5ff;color:#0b315f;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100%;padding:12px 12px 24px;display:flex;flex-direction:column;gap:12px;}
#pertihub-root .apk-track-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:linear-gradient(135deg,#0759b8,#2684f6);border:1px solid #9bd7ff;border-radius:22px;padding:10px 12px;box-shadow:0 10px 22px rgba(37,99,235,.18);color:#fff;}
#pertihub-root .apk-track-header b{font-size:18px;font-weight:950;display:block;line-height:1.1;color:#fff!important;}
#pertihub-root .apk-track-header small{display:inline-block;margin-top:4px;background:rgba(255,255,255,.24);border-radius:999px;padding:3px 8px;color:#fff;font-size:10px;font-weight:850;}
#pertihub-root .apk-back{border:0;background:#fff;color:#093966;border-radius:14px;padding:11px 12px;font-weight:950;box-shadow:0 4px 12px rgba(0,0,0,.08);cursor:pointer;}
#pertihub-root .apk-refresh{border:0;background:#ff7070;color:#fff;border-radius:999px;width:48px;height:48px;font-size:22px;font-weight:950;cursor:pointer;}
#pertihub-root .apk-card{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #b9e0ff;border-radius:20px;padding:16px;box-shadow:0 6px 18px rgba(15,23,42,.04);overflow:hidden;}
#pertihub-root .apk-card h3{margin:0 0 12px!important;font-size:20px!important;line-height:1.15!important;color:#073763!important;font-weight:950!important;letter-spacing:-.02em!important;}
#pertihub-root .apk-summary-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:flex-start;background:transparent;border:0;box-shadow:none;padding:4px 0 0;}
#pertihub-root .apk-summary-icon{width:46px;height:46px;border-radius:16px;background:#c9efff;display:grid;place-items:center;font-size:22px;}
#pertihub-root .apk-summary-main h2{font-size:19px!important;margin:8px 0 12px!important;color:#073763!important;font-weight:950!important;word-break:break-word;}
#pertihub-root .apk-customer-card{background:linear-gradient(180deg,#fff,#f7fbff);border:1px solid #c8e3ff;border-radius:20px;padding:14px 16px;}
#pertihub-root .apk-customer-card h3{font-size:18px!important;margin-bottom:6px!important;}
#pertihub-root .apk-customer-card p{margin:8px 0 0!important;color:#5d7290;font-size:13px;line-height:1.45;}
#pertihub-root .apk-section-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;}
#pertihub-root .apk-section-title>span{font-size:22px;color:#0d6fd3;line-height:1;}
#pertihub-root .apk-section-title h3{margin:0!important;font-size:19px!important;}
#pertihub-root .apk-section-title small{display:block;color:#5b7899;font-size:12px;font-weight:750;margin-top:2px;}
#pertihub-root .apk-timeline{position:relative;margin-top:8px;padding-left:4px;}
#pertihub-root .apk-time-row{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding-bottom:18px;}
#pertihub-root .apk-time-row:before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:#b8e7ce;}
#pertihub-root .apk-time-row:last-child:before{display:none;}
#pertihub-root .apk-time-dot{width:22px;height:22px;border-radius:999px;background:#e2e8f0;border:2px solid #cbd5e1;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:950;z-index:1;margin-top:1px;}
#pertihub-root .apk-time-row.done .apk-time-dot{background:#c5f2dc;border-color:#80d4a6;color:#079647;}
#pertihub-root .apk-time-body b{display:block;font-size:13px;line-height:1.25;color:#063763;font-weight:950;}
#pertihub-root .apk-time-body p{margin:2px 0 0!important;color:#0759b8;font-size:11.5px;line-height:1.25;font-weight:800;}
#pertihub-root .apk-time-body small{display:block;color:#456989;font-size:12px;margin-top:2px;line-height:1.25;}
#pertihub-root .apk-info-list{display:flex;flex-direction:column;gap:4px;}
#pertihub-root .apk-info-row{display:grid;grid-template-columns:135px minmax(0,1fr);gap:10px;align-items:start;background:rgba(255,255,255,.55);border-radius:12px;padding:7px 10px;}
#pertihub-root .apk-info-row>div{font-size:11px;text-transform:uppercase;color:#5b7899;font-weight:900;line-height:1.15;}
#pertihub-root .apk-info-row strong{font-size:13px;color:#103e6b;font-weight:850;line-height:1.25;word-break:break-word;}
#pertihub-root .apk-info-list.mini .apk-info-row{grid-template-columns:120px minmax(0,1fr);padding:3px 0;background:transparent;border-radius:0;}
#pertihub-root .apk-barang-card details{display:block;}
#pertihub-root .apk-barang-card summary{list-style:none;display:flex;justify-content:space-between;align-items:flex-start;cursor:pointer;margin-bottom:10px;}
#pertihub-root .apk-barang-card summary::-webkit-details-marker{display:none;}
#pertihub-root .apk-barang-card summary h3{margin:0!important;}
#pertihub-root .apk-barang-card summary small{display:block;color:#5b7899;font-size:12px;margin-top:2px;}
#pertihub-root .apk-barang-card summary span{font-size:20px;color:#0b5fc0;font-weight:950;}
#pertihub-root .apk-barang-list{display:flex;flex-direction:column;gap:14px;}
#pertihub-root .apk-barang-item>b{display:block;margin-bottom:4px;color:#0a3767;font-size:14px;}
#pertihub-root .apk-photo-card h3{font-size:13px!important;text-transform:uppercase;margin-bottom:10px!important;}
#pertihub-root .apk-photo-card img{width:100%;max-height:none;object-fit:contain;border-radius:16px;border:1px solid #c7e4ff;background:#f8fafc;display:block;}
#pertihub-root .apk-location-card .apk-info-list{margin-bottom:12px;}
#pertihub-root .apk-map-link{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;text-decoration:none;color:#103e6b;background:#fff;border:1px solid #d8eafd;border-radius:16px;padding:12px;margin-bottom:10px;}
#pertihub-root .apk-map-link>span{font-size:25px;color:#126cd0;}
#pertihub-root .apk-map-link b{display:block;font-size:14px;color:#0b3764;}
#pertihub-root .apk-map-link small{display:block;color:#5b7899;font-size:12px;margin-top:2px;}
#pertihub-root .apk-map-link em{font-style:normal;color:#5f7790;font-size:20px;}
#pertihub-root .apk-map-frame{width:100%;height:260px;border:1px solid #c7e4ff;border-radius:16px;background:#eef7ff;display:block;}
@media(min-width:1100px){#pertihub-root .ph-drawer{max-width:760px!important}}
@media(max-width:720px){#pertihub-root .apk-track-page{padding:8px 8px 16px}#pertihub-root .apk-info-row{grid-template-columns:102px minmax(0,1fr)}#pertihub-root .apk-info-list.mini .apk-info-row{grid-template-columns:104px minmax(0,1fr)}#pertihub-root .apk-card{padding:12px;border-radius:18px}#pertihub-root .apk-map-frame{height:210px}}

/* ===== V3.4 Enterprise Tracking Detail Override ===== */
#pertihub-root .ph-login-hero h1{color:#ffffff!important;text-shadow:0 2px 8px rgba(0,0,0,.18);}
#pertihub-root .ph-drawer{max-width:min(980px,96vw)!important;background:#f8fafc!important;border-left:1px solid #e2e8f0!important;box-shadow:-28px 0 60px rgba(15,23,42,.16)!important;}
#pertihub-root .ph-drawer header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:18px 22px!important;background:#ffffff!important;border-bottom:1px solid #e2e8f0!important;position:sticky!important;top:0!important;z-index:5!important;}
#pertihub-root .ph-drawer header h2{font-size:18px!important;font-weight:850!important;letter-spacing:-.02em!important;margin:0!important;color:#0f172a!important;}
#pertihub-root .ph-drawer header button{width:38px;height:38px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc;color:#0f172a;font-size:22px;font-weight:800;cursor:pointer;}
#pertihub-root .ph-drawer-body{background:#f8fafc!important;padding:18px!important;}
#pertihub-root .ph-enter-detail{display:flex;flex-direction:column;gap:16px;color:#0f172a;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;}
#pertihub-root .ph-so-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbe4ef;border-radius:20px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.06);}
#pertihub-root .ph-so-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:900;color:#2563eb;margin-bottom:8px;}
#pertihub-root .ph-so-hero h2{margin:0!important;font-size:28px!important;line-height:1.1!important;letter-spacing:-.04em!important;color:#0f172a!important;font-weight:900!important;}
#pertihub-root .ph-so-hero p{margin:8px 0 0!important;color:#475569!important;font-size:15px!important;font-weight:700!important;}
#pertihub-root .ph-so-hero-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:320px;text-align:right;}
#pertihub-root .ph-so-hero-right small{color:#64748b;font-size:12.5px;line-height:1.45;font-weight:650;}
#pertihub-root .ph-enter-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 10px 28px rgba(15,23,42,.05);padding:18px;}
#pertihub-root .ph-enter-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;border-bottom:1px solid #eef2f7;padding-bottom:14px;}
#pertihub-root .ph-enter-card-head h3{margin:0!important;font-size:17px!important;line-height:1.2!important;color:#0f172a!important;font-weight:900!important;letter-spacing:-.02em!important;}
#pertihub-root .ph-enter-card-head p{margin:4px 0 0!important;color:#64748b!important;font-size:12.5px!important;line-height:1.45!important;}
#pertihub-root .ph-enter-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#pertihub-root .ph-enter-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;min-height:86px;}
#pertihub-root .ph-enter-step.done{border-color:#bbf7d0;background:#f0fdf4;}
#pertihub-root .ph-enter-step-dot{width:30px;height:30px;border-radius:12px;background:#e2e8f0;color:#64748b;display:grid;place-items:center;font-size:12px;font-weight:900;}
#pertihub-root .ph-enter-step.done .ph-enter-step-dot{background:#16a34a;color:white;}
#pertihub-root .ph-enter-step-text b{display:block;color:#0f172a;font-size:13px;line-height:1.2;font-weight:850;}
#pertihub-root .ph-enter-step-text span{display:block;color:#475569;font-size:12px;line-height:1.35;margin-top:4px;font-weight:600;}
#pertihub-root .ph-enter-step-text small{display:block;color:#2563eb;font-size:11.5px;margin-top:6px;font-weight:800;}
#pertihub-root .ph-enter-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#pertihub-root .ph-enter-info-grid.one{grid-template-columns:1fr;}
#pertihub-root .ph-enter-info{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:11px 12px;min-width:0;}
#pertihub-root .ph-enter-info small{display:block;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-size:10px;font-weight:900;margin-bottom:5px;}
#pertihub-root .ph-enter-info b{display:block;color:#0f172a;font-size:13px;line-height:1.35;font-weight:780;word-break:break-word;}
#pertihub-root .ph-enter-item-list{display:flex;flex-direction:column;gap:10px;}
#pertihub-root .ph-enter-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:13px;}
#pertihub-root .ph-enter-item-no{width:36px;height:36px;border-radius:12px;background:#e0edff;color:#2563eb;display:grid;place-items:center;font-weight:900;}
#pertihub-root .ph-enter-item h4{margin:0!important;color:#0f172a!important;font-size:14px!important;line-height:1.3!important;font-weight:900!important;}
#pertihub-root .ph-enter-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px;}
#pertihub-root .ph-enter-meta span{border:1px solid #e2e8f0;background:#ffffff;border-radius:999px;padding:5px 9px;color:#475569;font-size:11.5px;font-weight:650;}
#pertihub-root .ph-enter-meta b{color:#0f172a;font-weight:850;}
#pertihub-root .ph-enter-item p{margin:9px 0 0!important;color:#64748b;font-size:12px;line-height:1.45;}
#pertihub-root .ph-enter-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
#pertihub-root .ph-enter-photo-grid figure{margin:0;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;overflow:hidden;}
#pertihub-root .ph-enter-photo-grid img{width:100%;height:260px;object-fit:contain;background:#f8fafc;display:block;}
#pertihub-root .ph-enter-photo-grid figcaption{padding:10px 12px;border-top:1px solid #e2e8f0;color:#475569;font-size:12px;font-weight:800;background:#fff;}
#pertihub-root .ph-enter-map{width:100%;height:320px;border:1px solid #e2e8f0;border-radius:16px;background:#f1f5f9;margin-top:12px;display:block;}
#pertihub-root .apk-track-page,#pertihub-root .apk-card,#pertihub-root .apk-track-header{all:unset;}
@media(max-width:960px){#pertihub-root .ph-enter-timeline,#pertihub-root .ph-enter-info-grid,#pertihub-root .ph-enter-photo-grid{grid-template-columns:1fr}#pertihub-root .ph-so-hero{grid-template-columns:1fr}#pertihub-root .ph-so-hero-right{align-items:flex-start;text-align:left;max-width:none}#pertihub-root .ph-enter-photo-grid img{height:340px}}
@media(max-width:640px){#pertihub-root .ph-drawer-body{padding:12px!important}#pertihub-root .ph-so-hero h2{font-size:22px!important}#pertihub-root .ph-enter-card{padding:14px;border-radius:16px}#pertihub-root .ph-enter-map{height:240px}}

/* ===== V3.5 ENTERPRISE DRAWER FORCE REPLACE ===== */
#pertihub-root .ph-drawer-wrap{position:fixed!important;inset:0!important;z-index:999999!important;display:grid!important;grid-template-columns:1fr auto!important;background:rgba(15,23,42,.38)!important;backdrop-filter:blur(3px)!important;}
#pertihub-root .ph-drawer-back{grid-column:1/2!important;grid-row:1!important;}
#pertihub-root .ph-drawer.enterprise-drawer,#pertihub-root .ph-drawer{grid-column:2/3!important;grid-row:1!important;width:min(1080px,74vw)!important;max-width:none!important;height:100vh!important;background:#f8fafc!important;color:#0f172a!important;border-left:1px solid #e2e8f0!important;border-radius:0!important;box-shadow:-24px 0 60px rgba(15,23,42,.20)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-drawer.enterprise-drawer>header,#pertihub-root .ph-drawer>header{height:70px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 24px!important;border-bottom:1px solid #e2e8f0!important;background:rgba(255,255,255,.94)!important;position:sticky!important;top:0!important;z-index:5!important;}
#pertihub-root .ph-drawer.enterprise-drawer>header h2,#pertihub-root .ph-drawer>header h2{margin:0!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;color:#0f172a!important;font-size:19px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:-.02em!important;}
#pertihub-root .ph-drawer.enterprise-drawer>header button,#pertihub-root .ph-drawer>header button{width:42px!important;height:42px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;font-size:24px!important;line-height:1!important;font-weight:800!important;cursor:pointer!important;display:grid!important;place-items:center!important;}
#pertihub-root .ph-drawer-body{flex:1!important;overflow:auto!important;padding:22px!important;background:#f8fafc!important;}
#pertihub-root .ph-enter-detail{display:flex!important;flex-direction:column!important;gap:18px!important;color:#0f172a!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-so-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:start!important;background:linear-gradient(135deg,#ffffff,#f8fbff)!important;border:1px solid #e2e8f0!important;border-radius:22px!important;padding:22px!important;box-shadow:0 14px 36px rgba(15,23,42,.06)!important;}
#pertihub-root .ph-so-kicker{display:inline-flex!important;width:max-content!important;text-transform:uppercase!important;letter-spacing:.09em!important;color:#2563eb!important;font-size:11px!important;font-weight:950!important;background:#eff6ff!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:5px 9px!important;margin-bottom:10px!important;}
#pertihub-root .ph-so-hero h2{margin:0!important;color:#0f172a!important;font-size:30px!important;line-height:1.05!important;font-weight:950!important;letter-spacing:-.045em!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;word-break:break-word!important;}
#pertihub-root .ph-so-hero p{margin:9px 0 0!important;color:#475569!important;font-size:15px!important;font-weight:750!important;line-height:1.35!important;}
#pertihub-root .ph-so-hero-right{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important;text-align:right!important;max-width:360px!important;}
#pertihub-root .ph-so-hero-right small{color:#64748b!important;font-size:12.5px!important;line-height:1.45!important;font-weight:650!important;}
#pertihub-root .ph-enter-card{background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:22px!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important;padding:20px!important;overflow:hidden!important;}
#pertihub-root .ph-enter-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 18px!important;padding:0 0 16px!important;border-bottom:1px solid #eef2f7!important;}
#pertihub-root .ph-enter-card-head h3{margin:0!important;color:#0f172a!important;font-size:18px!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.025em!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-enter-card-head p{margin:5px 0 0!important;color:#64748b!important;font-size:12.5px!important;line-height:1.45!important;font-weight:600!important;}
#pertihub-root .ph-enter-timeline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
#pertihub-root .ph-enter-step{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:14px!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:18px!important;min-height:96px!important;}
#pertihub-root .ph-enter-step.done{border-color:#bbf7d0!important;background:#f0fdf4!important;}
#pertihub-root .ph-enter-step-dot{width:34px!important;height:34px!important;border-radius:13px!important;background:#e2e8f0!important;color:#64748b!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:950!important;}
#pertihub-root .ph-enter-step.done .ph-enter-step-dot{background:#16a34a!important;color:#fff!important;}
#pertihub-root .ph-enter-step-text b{display:block!important;margin:0!important;color:#0f172a!important;font-size:13.5px!important;line-height:1.25!important;font-weight:900!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-enter-step-text span{display:block!important;color:#475569!important;font-size:12.3px!important;line-height:1.4!important;margin-top:5px!important;font-weight:650!important;}
#pertihub-root .ph-enter-step-text small{display:block!important;color:#2563eb!important;font-size:11.5px!important;margin-top:7px!important;font-weight:850!important;}
#pertihub-root .ph-enter-info-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
#pertihub-root .ph-enter-info-grid.one{grid-template-columns:1fr!important;}
#pertihub-root .ph-enter-info{border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:16px!important;padding:13px 14px!important;min-width:0!important;}
#pertihub-root .ph-enter-info small{display:block!important;text-transform:uppercase!important;letter-spacing:.07em!important;color:#64748b!important;font-size:10px!important;font-weight:950!important;margin:0 0 6px!important;}
#pertihub-root .ph-enter-info b{display:block!important;color:#0f172a!important;font-size:13.2px!important;line-height:1.38!important;font-weight:780!important;word-break:break-word!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-enter-item-list{display:flex!important;flex-direction:column!important;gap:12px!important;}
#pertihub-root .ph-enter-item{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:13px!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:18px!important;padding:14px!important;}
#pertihub-root .ph-enter-item-no{width:38px!important;height:38px!important;border-radius:14px!important;background:#e0edff!important;color:#2563eb!important;display:grid!important;place-items:center!important;font-weight:950!important;}
#pertihub-root .ph-enter-item h4{margin:0!important;color:#0f172a!important;font-size:14.5px!important;line-height:1.3!important;font-weight:900!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-enter-meta{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:10px!important;}
#pertihub-root .ph-enter-meta span{border:1px solid #e2e8f0!important;background:#fff!important;border-radius:999px!important;padding:5px 9px!important;color:#475569!important;font-size:11.5px!important;font-weight:700!important;}
#pertihub-root .ph-enter-meta b{color:#0f172a!important;font-weight:900!important;}
#pertihub-root .ph-enter-item p{margin:10px 0 0!important;color:#64748b!important;font-size:12.3px!important;line-height:1.45!important;}
#pertihub-root .ph-enter-photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
#pertihub-root .ph-enter-photo-grid figure{margin:0!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:18px!important;overflow:hidden!important;}
#pertihub-root .ph-enter-photo-grid img{width:100%!important;height:260px!important;object-fit:contain!important;background:#f8fafc!important;display:block!important;}
#pertihub-root .ph-enter-photo-grid figcaption{padding:10px 12px!important;border-top:1px solid #e2e8f0!important;color:#475569!important;font-size:12px!important;font-weight:850!important;background:#fff!important;}
#pertihub-root .ph-enter-map{width:100%!important;height:330px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#f1f5f9!important;margin-top:14px!important;display:block!important;}
@media(max-width:980px){#pertihub-root .ph-drawer.enterprise-drawer,#pertihub-root .ph-drawer{width:96vw!important}#pertihub-root .ph-enter-timeline,#pertihub-root .ph-enter-info-grid,#pertihub-root .ph-enter-photo-grid{grid-template-columns:1fr!important}#pertihub-root .ph-so-hero{grid-template-columns:1fr!important}#pertihub-root .ph-so-hero-right{align-items:flex-start!important;text-align:left!important;max-width:none!important}}

.ph-cache-note{margin:0 0 12px;padding:10px 14px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e40af;border-radius:14px;font-size:12px;font-weight:800}.ph-cache-note.in-chat{margin:10px 14px 0}

/* ===== V3.7 ENTERPRISE DETAIL REFINEMENT ===== */
#pertihub-root .ph-drawer.enterprise-drawer,#pertihub-root .ph-drawer{
  width:min(1200px,72vw)!important;
}
#pertihub-root .ph-enter-detail{gap:18px!important;}
#pertihub-root .ph-enter-timeline{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  position:relative!important;
  padding:2px 0 2px 0!important;
}
#pertihub-root .ph-enter-step{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
  position:relative!important;
  min-height:auto!important;
  padding:0 0 22px 0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
}
#pertihub-root .ph-enter-step:not(:last-child)::before{
  content:""!important;
  position:absolute!important;
  left:17px!important;
  top:38px!important;
  bottom:0!important;
  width:2px!important;
  background:#dbeafe!important;
  border-radius:99px!important;
}
#pertihub-root .ph-enter-step.done:not(:last-child)::before{background:#bbf7d0!important;}
#pertihub-root .ph-enter-step-dot{
  width:36px!important;
  height:36px!important;
  border-radius:999px!important;
  background:#e2e8f0!important;
  color:#64748b!important;
  display:grid!important;
  place-items:center!important;
  font-size:13px!important;
  font-weight:950!important;
  z-index:1!important;
  box-shadow:0 0 0 6px #fff!important;
}
#pertihub-root .ph-enter-step.done .ph-enter-step-dot{background:#16a34a!important;color:#fff!important;}
#pertihub-root .ph-enter-step-text{
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:14px 16px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}
#pertihub-root .ph-enter-step.done .ph-enter-step-text{
  border-color:#bbf7d0!important;
  background:linear-gradient(135deg,#f0fdf4,#ffffff)!important;
}
#pertihub-root .ph-enter-step-text b{
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
#pertihub-root .ph-enter-step-text span{
  font-size:12.8px!important;
  line-height:1.55!important;
  margin-top:6px!important;
  color:#475569!important;
}
#pertihub-root .ph-enter-step-text small{
  display:inline-flex!important;
  width:max-content!important;
  margin-top:9px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#eff6ff!important;
  border:1px solid #dbeafe!important;
  color:#1d4ed8!important;
  font-weight:850!important;
}
#pertihub-root .ph-enter-info-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#pertihub-root .ph-enter-info{
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 8px 20px rgba(15,23,42,.035)!important;
}
#pertihub-root .ph-enter-item-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
#pertihub-root .ph-enter-item{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-height:180px!important;
  background:#fff!important;
}
#pertihub-root .ph-enter-item-no{
  width:32px!important;
  height:32px!important;
  border-radius:11px!important;
}
#pertihub-root .ph-enter-meta span{border-radius:10px!important;}
#pertihub-root .ph-enter-photo-grid img{height:220px!important;object-fit:cover!important;cursor:zoom-in!important;}
#pertihub-root .ph-enter-map{height:220px!important;}
#pertihub-root .ph-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;}
@media(max-width:1180px){
  #pertihub-root .ph-enter-item-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  #pertihub-root .ph-drawer.enterprise-drawer,#pertihub-root .ph-drawer{width:96vw!important;min-width:0!important;}
  #pertihub-root .ph-enter-item-list,#pertihub-root .ph-enter-info-grid,#pertihub-root .ph-enter-photo-grid{grid-template-columns:1fr!important;}
}


/* V3.8 Enterprise Items Table */
#pertihub-root .ph-items-section{overflow:hidden!important;}
#pertihub-root .ph-items-head{align-items:center!important;}
#pertihub-root .ph-items-actions{display:flex;gap:8px;align-items:center;}
#pertihub-root .ph-items-table-wrap{width:100%;overflow:auto;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.035);}
#pertihub-root .ph-items-table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;}
#pertihub-root .ph-items-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#64748b;text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;padding:12px 12px;border-bottom:1px solid #e2e8f0;white-space:nowrap;}
#pertihub-root .ph-items-table td{padding:13px 12px;border-bottom:1px solid #edf2f7;color:#0f172a;font-size:12.5px;line-height:1.35;font-weight:720;vertical-align:top;background:#fff;}
#pertihub-root .ph-items-table tbody tr:hover td{background:#f8fbff;}
#pertihub-root .ph-items-table tbody tr:last-child td{border-bottom:0;}
#pertihub-root .ph-item-no-cell{width:54px;}
#pertihub-root .ph-item-no-cell span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e0edff;color:#2563eb;font-weight:950;}
#pertihub-root .ph-item-code{font-weight:950;color:#1d4ed8;white-space:nowrap;}
#pertihub-root .ph-item-name{min-width:260px;max-width:420px;}
#pertihub-root .ph-item-name b{display:block;font-size:13.5px;font-weight:950;line-height:1.3;color:#0f172a;}
#pertihub-root .ph-item-name small{display:block;margin-top:4px;color:#64748b;font-size:11.5px;font-weight:650;}
#pertihub-root .ph-item-qty,#pertihub-root .ph-item-price,#pertihub-root .ph-item-gate{white-space:nowrap;font-weight:950;}
#pertihub-root .ph-item-price{font-variant-numeric:tabular-nums;}
#pertihub-root .ph-soft-chip{display:inline-flex;align-items:center;border:1px solid #bfdbfe;background:#eff6ff;color:#1e40af;border-radius:999px;padding:5px 9px;font-size:11.5px;font-weight:900;white-space:nowrap;}
#pertihub-root .ph-item-location{max-width:250px;color:#334155;font-weight:720;word-break:break-word;}
#pertihub-root .ph-items-mobile-list{display:none;}
#pertihub-root .ph-enter-item-list{display:none!important;}
@media(max-width:760px){
  #pertihub-root .ph-items-table-wrap{display:none;}
  #pertihub-root .ph-items-actions{display:none;}
  #pertihub-root .ph-items-mobile-list{display:grid;grid-template-columns:1fr;gap:10px;}
  #pertihub-root .ph-mobile-item-card{border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:13px;box-shadow:0 8px 22px rgba(15,23,42,.035);}
  #pertihub-root .ph-mobile-item-top{display:flex;gap:9px;align-items:center;margin-bottom:8px;}
  #pertihub-root .ph-mobile-item-top span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#e0edff;color:#2563eb;font-weight:950;}
  #pertihub-root .ph-mobile-item-top b{color:#1d4ed8;font-size:12px;}
  #pertihub-root .ph-mobile-item-card h4{margin:0 0 10px!important;color:#0f172a!important;font-size:14px!important;line-height:1.25!important;font-weight:950!important;}
  #pertihub-root .ph-mobile-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px;}
  #pertihub-root .ph-mobile-item-grid div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:8px;}
  #pertihub-root .ph-mobile-item-grid small{display:block;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;margin-bottom:3px;}
  #pertihub-root .ph-mobile-item-grid b{display:block;color:#0f172a;font-size:12px;font-weight:950;}
  #pertihub-root .ph-mobile-item-card p{margin:7px 0 0;color:#475569;font-size:12px;line-height:1.4;font-weight:650;}
}

/* V3.9 Validasi Screenshot Paste Uploader */
#pertihub-root .ph-validate-card{margin-top:22px;border:1px solid #dbe7f5;background:linear-gradient(180deg,#ffffff,#f8fbff);border-radius:18px;padding:18px;box-shadow:0 14px 34px rgba(15,23,42,.045)}
#pertihub-root .ph-validate-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
#pertihub-root .ph-validate-head h3{margin:0!important;color:#0f172a!important;font-size:18px!important;line-height:1.2!important;font-weight:950!important}
#pertihub-root .ph-validate-head p{margin:6px 0 0!important;color:#64748b!important;font-size:13px!important;line-height:1.45!important;font-weight:650!important}
#pertihub-root .ph-hidden-file{display:none!important}
#pertihub-root .ph-paste-zone{display:flex;gap:14px;align-items:center;border:1.5px dashed #93c5fd;background:#eff6ff;border-radius:18px;padding:18px;outline:none;cursor:pointer;transition:.16s ease;margin-bottom:12px}
#pertihub-root .ph-paste-zone:hover,#pertihub-root .ph-paste-zone:focus,#pertihub-root .ph-paste-zone.drag{border-color:#2563eb;background:#dbeafe;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
#pertihub-root .ph-paste-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#2563eb;color:#fff;font-size:20px;font-weight:950;flex:0 0 auto}
#pertihub-root .ph-paste-zone b{display:block;color:#0f172a;font-size:14px;font-weight:950;margin-bottom:3px}
#pertihub-root .ph-paste-zone small{display:block;color:#475569;font-size:12px;font-weight:650;line-height:1.35}
#pertihub-root .ph-upload-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
#pertihub-root .ph-btn.ghost{background:#f8fafc!important;color:#334155!important;border:1px solid #dbe7f5!important}
#pertihub-root .ph-upload-preview{border:1px solid #e2e8f0;background:#fff;border-radius:16px;min-height:64px;padding:14px;color:#64748b;font-size:13px;font-weight:650;overflow:hidden}
#pertihub-root .ph-upload-preview.empty{display:grid;place-items:center;text-align:center;background:#f8fafc;border-style:dashed}
#pertihub-root .ph-upload-preview img{display:block;max-width:100%;max-height:420px;object-fit:contain;border-radius:14px;margin-top:12px;background:#f8fafc;border:1px solid #e2e8f0}
#pertihub-root .ph-preview-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
#pertihub-root .ph-preview-meta b,#pertihub-root .ph-preview-file b{color:#0f172a;font-size:13px;font-weight:950}
#pertihub-root .ph-preview-meta small,#pertihub-root .ph-preview-file small{color:#64748b;font-size:12px;font-weight:650}
@media(max-width:760px){#pertihub-root .ph-validate-head{flex-direction:column}#pertihub-root .ph-upload-actions .ph-btn{width:100%}}

/* V4.0 Validasi success dialog + finance action polish */
.ph-success-dialog-wrap{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;font-family:inherit}
.ph-success-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.38);backdrop-filter:blur(7px)}
.ph-success-dialog{position:relative;width:min(560px,calc(100vw - 36px));border-radius:24px;background:#fff;border:1px solid #dbe7f5;box-shadow:0 30px 90px rgba(15,23,42,.22);padding:28px;animation:phPop .18s ease-out;color:#0f172a}
@keyframes phPop{from{transform:translateY(10px) scale(.98);opacity:.3}to{transform:none;opacity:1}}
.ph-success-icon{width:58px;height:58px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#16a34a,#22c55e);color:white;font-size:32px;font-weight:900;margin-bottom:14px;box-shadow:0 12px 28px rgba(22,163,74,.28)}
.ph-success-dialog h2{margin:0 0 6px;font-size:24px;line-height:1.15;font-weight:900;letter-spacing:-.02em}
.ph-success-dialog p{margin:0 0 18px;color:#64748b;font-weight:700}
.ph-success-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}
.ph-success-summary div{border-radius:14px;background:white;border:1px solid #e5edf7;padding:12px;min-width:0}
.ph-success-summary small{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.06em;color:#64748b;font-weight:900;margin-bottom:5px}
.ph-success-summary b{display:block;font-size:13px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}
.ph-success-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.ph-upload-actions{align-items:center;flex-wrap:wrap}
#val-refresh{margin-left:auto}
@media(max-width:720px){.ph-success-summary{grid-template-columns:1fr}.ph-success-actions{flex-direction:column}.ph-success-actions .ph-btn{width:100%}#val-refresh{margin-left:0}}

/* ===== V4.1 Announcement Center Enterprise ===== */
#pertihub-root .ph-ann-center{display:flex;flex-direction:column;gap:16px;min-height:calc(100vh - 150px)}
#pertihub-root .ph-ann-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbeafe;border-radius:22px;padding:20px 22px;box-shadow:0 14px 32px rgba(15,23,42,.055)}
#pertihub-root .ph-ann-hero h2{margin:10px 0 4px!important;font-size:24px!important;line-height:1.1!important;letter-spacing:-.03em!important;color:#0f172a!important}
#pertihub-root .ph-ann-hero p{margin:0;color:#64748b;font-size:13px;line-height:1.45}
#pertihub-root .ph-ann-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#pertihub-root .ph-ann-chip{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;letter-spacing:.02em;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}
#pertihub-root .ph-ann-chip.customer{border-color:#bbf7d0;background:#f0fdf4;color:#047857}
#pertihub-root .ph-ann-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#pertihub-root .ph-ann-stat{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px 16px;box-shadow:0 10px 22px rgba(15,23,42,.045);min-width:0}
#pertihub-root .ph-ann-stat small{display:block;color:#64748b;text-transform:uppercase;font-size:10.5px;font-weight:900;letter-spacing:.08em}
#pertihub-root .ph-ann-stat strong{display:block;font-size:22px;line-height:1.12;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a}
#pertihub-root .ph-ann-stat span{display:block;color:#64748b;font-size:12px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pertihub-root .ph-ann-workspace{display:grid!important;grid-template-columns:390px minmax(0,1fr)!important;height:calc(100vh - 340px)!important;min-height:560px!important;background:#fff;border:1px solid #e2e8f0;border-radius:22px;overflow:hidden;box-shadow:0 16px 38px rgba(15,23,42,.06)}
#pertihub-root .ph-ann-list-pane{background:#f8fafc;border-right:1px solid #e2e8f0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
#pertihub-root .ph-ann-pane-head{padding:16px;border-bottom:1px solid #e2e8f0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}
#pertihub-root .ph-ann-pane-head b{font-size:14px;color:#0f172a}.ph-ann-pane-head small{color:#64748b;font-weight:800}
#pertihub-root .ph-ann-scroll{height:auto!important;flex:1;overflow:auto;padding:10px}
#pertihub-root .ph-ann-card{width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:16px;padding:14px;margin:0 0 8px;cursor:pointer;color:#0f172a;transition:.16s;display:block;position:relative}
#pertihub-root .ph-ann-card:hover{background:#fff;border-color:#dbeafe;box-shadow:0 10px 24px rgba(37,99,235,.08);transform:translateY(-1px)}
#pertihub-root .ph-ann-card.active{background:#edf4ff;border-color:#bfdbfe;box-shadow:inset 4px 0 0 #2563eb,0 10px 24px rgba(37,99,235,.06)}
#pertihub-root .ph-ann-center.customer .ph-ann-card.active{background:#f0fdf4;border-color:#bbf7d0;box-shadow:inset 4px 0 0 #10b981,0 10px 24px rgba(16,185,129,.07)}
#pertihub-root .ph-ann-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
#pertihub-root .ph-ann-card-top span{width:30px;height:30px;border-radius:12px;background:#dbeafe;display:grid;place-items:center}.ph-ann-center.customer .ph-ann-card-top span{background:#dcfce7}
#pertihub-root .ph-ann-card-top em{font-style:normal;font-size:10px;font-weight:950;border-radius:999px;background:#fee2e2;color:#dc2626;padding:4px 7px;letter-spacing:.06em}
#pertihub-root .ph-ann-card b{display:block;font-size:14px;line-height:1.28;margin-bottom:8px;letter-spacing:-.01em}
#pertihub-root .ph-ann-card small{display:block;color:#64748b;font-size:11.5px;font-weight:700;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pertihub-root .ph-ann-card p{margin:10px 0 0;color:#475569;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#pertihub-root .ph-ann-article-pane{overflow:auto;background:#fff;padding:0!important}
#pertihub-root .ph-ann-article{max-width:900px;margin:0 auto;padding:34px 42px 80px;color:#0f172a}
#pertihub-root .ph-ann-article-head{border-bottom:1px solid #e2e8f0;padding-bottom:22px;margin-bottom:24px}
#pertihub-root .ph-ann-article h2{font-size:34px!important;line-height:1.12!important;margin:14px 0 14px!important;letter-spacing:-.04em!important;color:#0f172a!important}
#pertihub-root .ph-ann-meta{display:flex;gap:10px;flex-wrap:wrap;color:#64748b;font-weight:800;font-size:13px}
#pertihub-root .ph-ann-meta span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px}
#pertihub-root .ph-ann-gallery{margin:0 0 26px}.ph-ann-gallery img{width:100%;max-height:480px;object-fit:contain;border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
#pertihub-root .ph-ann-body{font-size:16px;line-height:1.78;color:#0f172a;white-space:normal}.ph-ann-body p{margin:0 0 16px!important;white-space:pre-wrap}.ph-ann-body .muted{color:#64748b}
#pertihub-root .ph-ann-form textarea{min-height:220px;resize:vertical}.ph-form-actions{display:flex;justify-content:flex-end;margin-top:14px}
@media(max-width:1100px){#pertihub-root .ph-ann-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#pertihub-root .ph-ann-workspace{grid-template-columns:1fr!important;height:auto!important;min-height:0!important}#pertihub-root .ph-ann-list-pane{border-right:0;border-bottom:1px solid #e2e8f0;max-height:360px}#pertihub-root .ph-ann-article{padding:24px 22px 50px}#pertihub-root .ph-ann-article h2{font-size:26px!important}}
@media(max-width:640px){#pertihub-root .ph-ann-hero{flex-direction:column;padding:16px}#pertihub-root .ph-ann-actions{width:100%;justify-content:stretch}#pertihub-root .ph-ann-actions .ph-btn{flex:1}#pertihub-root .ph-ann-stats{grid-template-columns:1fr}#pertihub-root .ph-ann-article{padding:20px 16px 42px}#pertihub-root .ph-ann-card{min-width:0!important}}

/* V4.3 Announcement Composer Preview */
.ph-upload-zone{
  margin-top:6px;
  border:1px dashed #cbd5e1;
  background:#f8fafc;
  border-radius:16px;
  padding:14px;
  transition:.18s ease;
}
.ph-upload-zone.drag,
.ph-upload-zone.has-file{
  border-color:#2563eb;
  background:#eff6ff;
}
.ph-upload-zone input[type="file"]{
  width:100%;
  padding:10px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fff;
}
.ph-upload-hint{
  margin:9px 2px 0;
  font-size:12px;
  color:#64748b;
  font-weight:700;
}
.ph-upload-preview{margin-top:12px;}
.ph-preview-card{
  border:1px solid #dbeafe;
  background:#fff;
  border-radius:18px;
  padding:14px;
  box-shadow:0 16px 36px rgba(15,23,42,.08);
}
.ph-preview-card.image .ph-preview-frame{
  background:linear-gradient(135deg,#f8fafc,#eef6ff);
  border:1px solid #e2e8f0;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  max-height:340px;
}
.ph-preview-card.image img{
  width:100%;
  max-height:340px;
  object-fit:contain;
  display:block;
}
.ph-preview-info{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:12px;
}
.ph-preview-info b{
  display:block;
  color:#0f172a;
  font-size:13px;
  line-height:1.25;
  word-break:break-word;
}
.ph-preview-info span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  margin-top:2px;
}
.ph-file-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  font-size:24px;
}
.ph-preview-card.file{
  display:flex;
  align-items:center;
  gap:14px;
}
.ph-preview-card.file .ph-preview-info{margin-top:0;flex:1;}
.ph-btn.danger{
  background:#fee2e2!important;
  color:#b91c1c!important;
  border-color:#fecaca!important;
}
.ph-btn.small{
  padding:8px 12px!important;
  border-radius:11px!important;
  font-size:12px!important;
}
@media(max-width:760px){
  .ph-preview-info{align-items:flex-start;flex-direction:column;}
  .ph-preview-card.file{align-items:flex-start;}
}

/* V4.4 Clean Announcement Inbox */
#pertihub-root .ph-ann-list-pane{background:#ffffff!important;}
#pertihub-root .ph-ann-pane-head{height:58px;padding:14px 16px!important;background:#fff!important;}
#pertihub-root .ph-ann-scroll{padding:0!important;background:#fff!important;}
#pertihub-root .ph-ann-card.ph-ann-clean{
  border:0!important;
  border-bottom:1px solid #e5eaf2!important;
  border-radius:0!important;
  margin:0!important;
  padding:15px 17px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  min-height:auto!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean:hover{
  background:#f8fbff!important;
  border-color:#e5eaf2!important;
  box-shadow:none!important;
  transform:none!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean.active{
  background:#f3f7ff!important;
  border-left:4px solid #2563eb!important;
  padding-left:13px!important;
  box-shadow:none!important;
}
#pertihub-root .ph-ann-center.customer .ph-ann-card.ph-ann-clean.active{
  background:#f0fdf4!important;
  border-left-color:#10b981!important;
  box-shadow:none!important;
}
#pertihub-root .ph-ann-clean-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;margin-bottom:5px;}
#pertihub-root .ph-ann-card.ph-ann-clean b{
  font-size:13.5px!important;
  line-height:1.34!important;
  margin:0!important;
  color:#0f172a!important;
  letter-spacing:-.01em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean em{
  font-style:normal!important;
  font-size:9.5px!important;
  font-weight:950!important;
  line-height:1!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#2563eb!important;
  padding:5px 7px!important;
  letter-spacing:.06em!important;
  white-space:nowrap!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean:first-child em{background:#dcfce7!important;color:#15803d!important;}
#pertihub-root .ph-ann-clean-meta{
  color:#64748b!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  margin-bottom:7px!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean p{
  margin:0!important;
  color:#475569!important;
  font-size:12.2px!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
@media(max-width:640px){
  #pertihub-root .ph-ann-card.ph-ann-clean{padding:14px 15px!important;}
  #pertihub-root .ph-ann-card.ph-ann-clean.active{padding-left:11px!important;}
}

/* V4.5 Clean title-only announcement list + paste screenshot composer */
#pertihub-root .ph-ann-card.ph-ann-clean{
  padding:14px 16px!important;
  min-height:62px!important;
}
#pertihub-root .ph-ann-clean-head,
#pertihub-root .ph-ann-card.ph-ann-clean em,
#pertihub-root .ph-ann-card.ph-ann-clean p{
  display:none!important;
}
#pertihub-root .ph-ann-clean-title{
  font-size:13.8px!important;
  font-weight:900!important;
  line-height:1.35!important;
  color:#0f172a!important;
  letter-spacing:-.01em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  margin:0 0 6px 0!important;
}
#pertihub-root .ph-ann-clean-meta{
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  margin:0!important;
  text-transform:none!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean.active{
  background:#eef4ff!important;
  border-left:3px solid #2563eb!important;
  padding-left:13px!important;
}
#pertihub-root .ph-ann-center.customer .ph-ann-card.ph-ann-clean.active{
  background:#ecfdf5!important;
  border-left-color:#10b981!important;
}
#pertihub-root .ph-upload-zone{
  position:relative!important;
  cursor:pointer!important;
}
#pertihub-root .ph-upload-zone.drag{
  border-color:#2563eb!important;
  background:#eff6ff!important;
}
#pertihub-root .ph-upload-hint{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  color:#64748b!important;
  font-size:13px!important;
  font-weight:800!important;
  padding:10px 0!important;
}
#pertihub-root .ph-upload-hint b{
  color:#0f172a!important;
  font-size:14px!important;
}
#pertihub-root .ph-upload-hint span{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:700!important;
}
#pertihub-root .ph-upload-zone.has-file .ph-upload-hint{
  display:none!important;
}

/* =========================================================
   PERTIHUB ERP V4.6 - Standard Typography System
   Goal: calmer, cleaner enterprise reading. Reduce over-bold UI.
   ========================================================= */
#pertihub-root,
#pertihub-root *{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

#pertihub-root{
  --ph-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ph-fw-regular: 400;
  --ph-fw-medium: 500;
  --ph-fw-semibold: 600;
  --ph-fw-bold: 700;
  font-family:var(--ph-font-body)!important;
  font-size:14px;
  line-height:1.55;
  color:#0f172a;
}

/* Global text rhythm */
#pertihub-root p,
#pertihub-root td,
#pertihub-root li,
#pertihub-root input,
#pertihub-root textarea,
#pertihub-root button{
  font-weight:var(--ph-fw-medium)!important;
  letter-spacing:0!important;
}

/* Page title */
#pertihub-root .ph-topbar h1,
#pertihub-root .ph-page-title h1{
  font-size:24px!important;
  line-height:1.18!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:-.025em!important;
  color:#0f172a!important;
}
#pertihub-root .ph-topbar p,
#pertihub-root .ph-page-title p{
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:var(--ph-fw-medium)!important;
  color:#64748b!important;
}

/* Sidebar: readable but not heavy */
#pertihub-root .ph-brand strong{
  font-size:16px!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:.01em!important;
}
#pertihub-root .ph-nav-title{
  font-size:10.5px!important;
  font-weight:var(--ph-fw-semibold)!important;
  letter-spacing:.13em!important;
}
#pertihub-root .ph-nav-item b,
#pertihub-root .ph-user b{
  font-size:13.25px!important;
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-user small,
#pertihub-root .ph-brand small{
  font-weight:var(--ph-fw-medium)!important;
}

/* KPI cards */
#pertihub-root .ph-kpi small{
  font-size:10.5px!important;
  font-weight:var(--ph-fw-semibold)!important;
  letter-spacing:.08em!important;
}
#pertihub-root .ph-kpi strong{
  font-size:22px!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:-.02em!important;
}
#pertihub-root .ph-kpi span{
  font-weight:var(--ph-fw-medium)!important;
}

/* Buttons and badges */
#pertihub-root .ph-btn,
#pertihub-root .ph-badge,
#pertihub-root .ph-status-pill,
#pertihub-root .ph-mini-btn{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-badge{
  font-size:11.5px!important;
}

/* Tables */
#pertihub-root .ph-table th{
  font-size:11px!important;
  font-weight:var(--ph-fw-semibold)!important;
  letter-spacing:.06em!important;
}
#pertihub-root .ph-table td{
  font-size:13.25px!important;
  font-weight:var(--ph-fw-medium)!important;
  line-height:1.45!important;
}
#pertihub-root .ph-table td b,
#pertihub-root .ph-table td strong{
  font-weight:var(--ph-fw-semibold)!important;
}

/* Tree navigation */
#pertihub-root .ph-tree-node>summary{
  font-size:13px!important;
  font-weight:var(--ph-fw-medium)!important;
}
#pertihub-root .ph-tree-node summary b{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-tree-node summary em{
  font-weight:var(--ph-fw-semibold)!important;
  font-size:10.5px!important;
}
#pertihub-root .ph-tree-item b{
  font-size:13.25px!important;
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-tree-item small{
  font-weight:var(--ph-fw-medium)!important;
}
#pertihub-root .ph-tree-item .ph-doc{
  font-weight:var(--ph-fw-semibold)!important;
}

/* Drawer title and detail text */
#pertihub-root .ph-drawer header h2{
  font-size:17px!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:-.015em!important;
}
#pertihub-root .ph-enter-card-head h3,
#pertihub-root .ph-so-section h3{
  font-size:16px!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:-.015em!important;
}
#pertihub-root .ph-so-hero h2{
  font-size:25px!important;
  font-weight:var(--ph-fw-bold)!important;
  letter-spacing:-.03em!important;
}
#pertihub-root .ph-so-hero p,
#pertihub-root .ph-so-hero-right small{
  font-weight:var(--ph-fw-medium)!important;
}
#pertihub-root .ph-so-kicker{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-so-info-grid small,
#pertihub-root .ph-detail-grid small{
  font-weight:var(--ph-fw-semibold)!important;
  letter-spacing:.055em!important;
}
#pertihub-root .ph-so-info-grid b,
#pertihub-root .ph-detail-grid b{
  font-weight:var(--ph-fw-semibold)!important;
}

/* Timeline */
#pertihub-root .ph-step-dot,
#pertihub-root .ph-time-dot,
#pertihub-root .apk-time-dot{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-step b,
#pertihub-root .ph-time-title,
#pertihub-root .apk-time-body b{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-step small,
#pertihub-root .apk-time-body small{
  font-weight:var(--ph-fw-medium)!important;
}

/* Items / product detail */
#pertihub-root .ph-prod-main b,
#pertihub-root .ph-items-table td b,
#pertihub-root .ph-items-table td strong{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-prod-meta span,
#pertihub-root .ph-chip{
  font-weight:var(--ph-fw-medium)!important;
}

/* Announcement Center */
#pertihub-root .ph-ann-head h3,
#pertihub-root .ph-ann-list h3{
  font-size:15px!important;
  font-weight:var(--ph-fw-bold)!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean b,
#pertihub-root .ph-ann-item b,
#pertihub-root .ph-ann-title{
  font-size:13.5px!important;
  line-height:1.34!important;
  font-weight:var(--ph-fw-semibold)!important;
  letter-spacing:0!important;
}
#pertihub-root .ph-ann-user,
#pertihub-root .ph-ann-item small,
#pertihub-root .ph-ann-item em{
  font-size:12px!important;
  font-weight:var(--ph-fw-medium)!important;
}
#pertihub-root .ph-ann-card.ph-ann-clean em{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-ann-detail h2{
  font-size:25px!important;
  font-weight:var(--ph-fw-bold)!important;
  line-height:1.22!important;
  letter-spacing:-.02em!important;
}
#pertihub-root .ph-meta{
  font-weight:var(--ph-fw-medium)!important;
}
#pertihub-root .ph-ann-detail p{
  font-size:15px!important;
  line-height:1.72!important;
  font-weight:var(--ph-fw-regular)!important;
  color:#1e293b!important;
}

/* Chat */
#pertihub-root .ph-room{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-bubble b{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root .ph-bubble p{
  font-weight:var(--ph-fw-regular)!important;
  line-height:1.55!important;
}

/* Forms */
#pertihub-root .ph-login label,
#pertihub-root .ph-form label{
  font-weight:var(--ph-fw-semibold)!important;
}
#pertihub-root input::placeholder,
#pertihub-root textarea::placeholder{
  color:#94a3b8!important;
  font-weight:var(--ph-fw-regular)!important;
}

@media(max-width:720px){
  #pertihub-root .ph-topbar h1,
  #pertihub-root .ph-page-title h1{font-size:20px!important;}
  #pertihub-root .ph-so-hero h2{font-size:22px!important;}
  #pertihub-root .ph-ann-detail h2{font-size:21px!important;}
}
