/* My PHWO portal shell — v1.7.0 (5 Oct 2026) */
.phwo-acct { --p: #0D5C63; --p2: #0a4a50; --g: #E8A33D; --ink: #13262b; --mute: #55666b; --line: #e2e9ea; --bg: #f4f7f7; --soft: #eef5f5; --r: 14px; --sh: 0 1px 2px rgba(16,40,44,.06), 0 6px 18px rgba(16,40,44,.06); }
.phwo-acct-app { grid-template-columns: 264px minmax(0, 1fr); gap: 24px; max-width: 1200px; align-items: start; }
.phwo-sh-i { width: 20px; height: 20px; flex: none; display: block; }

/* sidebar */
.phwo-acct-side { padding: 14px; border-radius: 16px; box-shadow: var(--sh); border: 1px solid var(--line); top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; }
.phwo-sh-x { display: none; }
.phwo-sh-me { display: flex; gap: 10px; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; min-width: 0; }
.phwo-sh-me > div { min-width: 0; }
.phwo-sh-me strong { display: block; font-size: .95rem; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phwo-sh-me small { display: block; color: var(--mute); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phwo-sh-me .phwo-un { display: none; }
.phwo-sh-nav.phwo-acct-nav { display: block; }
.phwo-sh-group + .phwo-sh-group { margin-top: 10px; }
.phwo-sh-gl { margin: 6px 10px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b6c70; }
.phwo-sh-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.phwo-sh-nav li { margin: 0; padding: 0; }
.phwo-sh-nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .92rem; position: relative; white-space: normal; }
.phwo-sh-nav a .phwo-sh-i { color: #5b6f73; }
.phwo-sh-nav a:hover { background: var(--soft); }
.phwo-sh-nav a.is-active { background: var(--soft); color: var(--p); font-weight: 650; }
.phwo-sh-nav a.is-active::before { content: ""; position: absolute; inset-inline-start: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--p); }
.phwo-sh-nav a.is-active .phwo-sh-i { color: var(--p); }
.phwo-sh-l { flex: 1; min-width: 0; }
.phwo-sh-nav a em { margin-inline-start: auto; font-style: normal; font-size: .72rem; font-weight: 600; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 999px; background: #e9efef; color: #3e5156; }
.phwo-sh-nav a em.is-new { background: #b42318; color: #fff; }
.phwo-sh-nav a.is-active em { background: #fff; }
.phwo-sh-nav a.is-active em.is-new { background: #b42318; }
.phwo-acct-side-foot { margin-top: 10px; padding-top: 10px; display: grid; gap: 6px; grid-template-columns: 1fr; }
.phwo-sh-display { border-radius: 10px; }
.phwo-sh-display > summary { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 10px; cursor: pointer; list-style: none; font-size: .9rem; color: var(--ink); }
.phwo-sh-display > summary::-webkit-details-marker { display: none; }
.phwo-sh-display > summary:hover { background: var(--soft); }
.phwo-sh-display > summary .phwo-sh-i { color: #5b6f73; }
.phwo-sh-display .phwo-px-a11y { padding: 6px 10px 2px; margin: 0; }
.phwo-sh-display .phwo-px-a11y > span { display: none; }
.phwo-sh-display .phwo-px-a11y button { min-width: 44px; min-height: 40px; }
.phwo-acct .phwo-sh-out { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 10px; color: var(--mute); font-size: .9rem; text-align: start; }
.phwo-acct .phwo-sh-out:hover { background: #fdf0ef; color: #b42318; }

/* top bar */
.phwo-sh-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 8px 8px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); position: relative; z-index: 30; }
.phwo-sh-crumb { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.phwo-sh-crumb span { font-size: .72rem; color: var(--mute); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.phwo-sh-crumb strong { font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phwo-sh-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; flex: none; }
.phwo-sh-btn:hover { background: var(--soft); }
.phwo-sh-search { position: relative; display: flex; align-items: center; width: min(360px, 42%); }
.phwo-sh-search > .phwo-sh-i { position: absolute; inset-inline-start: 12px; color: var(--mute); pointer-events: none; }
.phwo-sh-search input { width: 100%; height: 42px; padding: 0 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; font-size: 16px; color: var(--ink); }
.phwo-sh-search input:focus { outline: none; background: #fff; border-color: var(--p); box-shadow: 0 0 0 3px rgba(13,92,99,.18); }
.phwo-sh-search kbd { position: absolute; inset-inline-end: 10px; font: 600 .72rem/1 ui-monospace, Menlo, monospace; color: var(--mute); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; background: #fff; }
.phwo-sh-hits { position: absolute; top: calc(100% + 6px); inset-inline: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(16,40,44,.16); max-height: 60vh; overflow: auto; z-index: 40; }
.phwo-sh-hits li { margin: 0; }
.phwo-sh-hits a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .92rem; min-height: 44px; align-items: center; }
.phwo-sh-hits a small { color: var(--mute); font-size: .75rem; }
.phwo-sh-hits a:hover, .phwo-sh-hits [aria-selected=true] a { background: var(--soft); color: var(--p); }
.phwo-sh-hits .is-none { padding: 10px 12px; color: var(--mute); font-size: .9rem; }
.phwo-sh-me-bar { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; border: 0; flex: none; flex-direction: row-reverse; }
.phwo-sh-me-bar .phwo-acct-avatar { width: 36px !important; height: 36px !important; font-size: .9rem; }

/* overview */
.phwo-acct-main > .phwo-acct-note, .phwo-acct-main > .phwo-acct-ok, .phwo-acct-main > .phwo-acct-error { margin-bottom: 14px; }
.phwo-sh-hero.phwo-acct-hero { border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; gap: 18px; background: linear-gradient(135deg, #0D5C63 0%, #0b5158 60%, #093f45 100%); }
.phwo-sh-hero.phwo-acct-hero::after { opacity: .55; }
.phwo-sh-hero .phwo-acct-hero-kicker { opacity: 1; color: #d6ecec; }
.phwo-sh-hero p { color: #e8f4f4; opacity: 1; }
.phwo-sh-hero .phwo-acct-hero-new a { color: #ffd88a; }
.phwo-sh-kpis { position: relative; display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); gap: 8px; }
.phwo-sh-kpi { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; text-align: center; }
a.phwo-sh-kpi:hover { background: rgba(255,255,255,.16); }
.phwo-sh-kpi strong { font-size: 1.45rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.phwo-sh-kpi span { font-size: .74rem; color: #d6ecec; }
.phwo-sh-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--sh); min-width: 0; }
.phwo-sh-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.phwo-sh-panel-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.02rem; color: var(--ink); }
.phwo-sh-panel-h h2 .phwo-sh-i { color: var(--p); }
.phwo-sh-more { font-size: .88rem; font-weight: 600; color: var(--p); min-height: 44px; display: inline-flex; align-items: center; }
.phwo-acct .phwo-sh-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .86rem; cursor: pointer; }
.phwo-sh-ghost:hover { background: var(--soft); }
.phwo-sh-todo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phwo-sh-todo-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fbfdfd; margin: 0; }
.phwo-sh-todo-list li.is-warn { background: #fffaf0; border-color: #f5dcae; }
.phwo-sh-todo-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--p); }
.is-warn .phwo-sh-todo-ico { background: #fdecc8; color: #8a5300; }
.phwo-sh-todo-list strong { display: block; font-size: .95rem; color: var(--ink); }
.phwo-sh-todo-list small { display: block; color: var(--mute); font-size: .84rem; margin-top: 2px; }
.phwo-acct .phwo-sh-todo-list .phwo-btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; border-radius: 10px; white-space: nowrap; }
.phwo-sh-empty { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--bg); color: var(--mute); font-size: .92rem; }
.phwo-sh-empty p { margin: 0; }
.phwo-sh-empty strong { color: var(--ink); }
.phwo-sh-empty .phwo-sh-i { color: var(--p); margin-top: 2px; }
.phwo-sh-empty.is-ok { background: #ecf7f1; }
.phwo-sh-empty.is-ok .phwo-sh-i { color: #11704a; }
.phwo-sh-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.phwo-sh-recs { display: grid; gap: 10px; }
.phwo-sh-rec { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.phwo-sh-rec-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.phwo-sh-rec-t { font-weight: 650; color: var(--ink); font-size: .96rem; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.phwo-sh-rec-t:hover { color: var(--p); }
.phwo-sh-rec-t em { font-style: normal; font-size: .72rem; background: #e9efef; padding: 1px 7px; border-radius: 999px; color: #3e5156; }
.phwo-sh-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.phwo-sh-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.phwo-sh-chip.is-ok { background: #e3f4eb; color: #0f6b3f; }
.phwo-sh-chip.is-wait { background: #e8f0fb; color: #1d4f8a; }
.phwo-sh-chip.is-warn { background: #fff1d6; color: #7a4b00; }
.phwo-sh-chip.is-muted { background: #eef0f0; color: #4f5a5c; }
.phwo-sh-rec-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 10px; font-size: .82rem; color: var(--mute); }
.phwo-sh-when { margin-inline-start: auto; }
.phwo-acct .phwo-sh-copy { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--mute); cursor: pointer; padding: 0; margin-inline-start: -4px; }
.phwo-sh-copy .phwo-sh-i { width: 16px; height: 16px; }
.phwo-sh-copy:hover, .phwo-sh-copy.is-done { color: var(--p); border-color: var(--p); }
.phwo-sh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: s; }
.phwo-sh-steps li { margin: 0; display: grid; gap: 4px; }
.phwo-sh-steps li span { height: 5px; border-radius: 5px; background: #e2e9ea; }
.phwo-sh-steps li.is-done span { background: var(--p); }
.phwo-sh-steps li.is-now span { background: var(--g); }
.phwo-sh-steps li small { font-size: .7rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phwo-sh-steps li.is-now small { color: var(--ink); font-weight: 650; }
.phwo-sh-steps.is-closed li span { background: #c9d1d2; }
.phwo-sh-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.phwo-sh-qa { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); min-height: 56px; transition: border-color .15s, background .15s; }
.phwo-sh-qa:hover { border-color: var(--p); background: #fbfdfd; }
.phwo-sh-qa-i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--p); flex: none; }
.phwo-sh-qa strong { display: block; font-size: .92rem; }
.phwo-sh-qa small { display: block; font-size: .8rem; color: var(--mute); }
.phwo-sh-panel .phwo-acct-timeline { margin: 0; }
.phwo-sh-panel .phwo-acct-timeline li:last-child { padding-bottom: 0; }
.phwo-sh-print-head { display: none; }
.phwo-acct .phwo-sh-panel-h h2, .phwo-acct .phwo-sh-panel-h { border: 0; padding-top: 0; }
.phwo-acct .phwo-sh-panel-h h2::before, .phwo-acct .phwo-sh-panel-h h2::after, .phwo-acct .phwo-sh-panel-h::before { display: none !important; }
.phwo-acct .phwo-sh-me-bar { padding: 0; margin: 0; border: 0; }

/* tab bar + drawer pieces (hidden on desktop) */
.phwo-sh-tabbar, .phwo-sh-scrim { display: none; }
.phwo-sh-toasts { position: fixed; inset-inline: 0; bottom: 24px; display: grid; justify-items: center; gap: 8px; pointer-events: none; z-index: 100000; padding: 0 16px; }
.phwo-sh-toast { pointer-events: auto; display: flex; align-items: center; gap: 8px; background: #13262b; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: .92rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: phwoShIn .2s ease-out; max-width: 100%; }
.phwo-sh-toast .phwo-sh-i { color: #7fe0b5; }
@keyframes phwoShIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* skeleton for script-filled lists (notifications) */
.phwo-un-list .phwo-un-empty:only-child { color: transparent; height: 132px; border-radius: 12px; background: linear-gradient(90deg, #eef3f3 25%, #f7fafa 37%, #eef3f3 63%); background-size: 400% 100%; animation: phwoShSk 1.3s ease infinite; list-style: none; }
@keyframes phwoShSk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* focus */
.phwo-acct a:focus-visible, .phwo-acct button:focus-visible, .phwo-acct summary:focus-visible, .phwo-acct input:focus-visible, .phwo-acct select:focus-visible, .phwo-acct textarea:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; border-radius: 8px; }
.phwo-acct-main:focus { outline: none; }
.phwo-acct input, .phwo-acct select, .phwo-acct textarea { font-size: 16px; }

/* RTL (Urdu) */
[dir=rtl] .phwo-sh-nav a.is-active::before { border-radius: 3px 0 0 3px; }
[dir=rtl] .phwo-sh-qa-i + span, [dir=rtl] .phwo-sh-todo-list div { text-align: right; }

@media (max-width: 1100px) {
	.phwo-sh-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.phwo-acct-app { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: .5rem; }
	.phwo-acct-side { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 320px); max-height: none; border-radius: 0; z-index: 100001; transform: translateX(-105%); transition: transform .22s ease; padding: 16px 14px 24px; box-shadow: 0 0 40px rgba(0,0,0,.25); visibility: hidden; }
	[dir=rtl] .phwo-acct-side { transform: translateX(105%); }
	.phwo-sh-open .phwo-acct-side { transform: none; visibility: visible; }
	.phwo-sh-x { display: inline-grid; place-items: center; position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border: 0; background: var(--bg); border-radius: 12px; cursor: pointer; color: var(--ink); padding: 0; }
	.phwo-sh-me { padding-inline-end: 52px; }
	.phwo-sh-scrim:not([hidden]) { display: block; position: fixed; inset: 0; background: rgba(10,25,28,.45); z-index: 100000; }
	.phwo-sh-nav a { min-height: 48px; font-size: .98rem; }
	.phwo-sh-nav a.is-active::before { inset-inline-start: -14px; }
	.phwo-sh-display > summary, .phwo-acct .phwo-sh-out { min-height: 48px; }
	.phwo-sh-btn { display: inline-flex; }
	.phwo-sh-bar { position: sticky; top: 8px; padding: 6px; gap: 6px; border-radius: 14px; }
	.phwo-sh-search { display: none; position: absolute; inset: 6px; width: auto; z-index: 2; }
	.phwo-sh-bar.is-searching .phwo-sh-search { display: flex; }
	.phwo-sh-search input { height: 44px; background: #fff; }
	.phwo-sh-search kbd { display: none; }
	.phwo-sh-crumb { padding-inline-start: 2px; }
	.phwo-sh-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,40,44,.08); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
	.phwo-sh-tabbar a, .phwo-sh-tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 56px; padding: 4px 2px; color: #4f6266; background: none; border: 0; border-radius: 10px; font: inherit; font-size: .7rem; font-weight: 600; cursor: pointer; }
	.phwo-sh-tabbar .phwo-sh-i { width: 22px; height: 22px; }
	.phwo-sh-tabbar .is-active { color: var(--p); background: var(--soft); }
	.phwo-sh-dot { position: absolute; top: 4px; inset-inline-start: calc(50% + 4px); min-width: 18px; height: 18px; border-radius: 9px; background: #b42318; color: #fff; font-size: .66rem; line-height: 18px; text-align: center; padding: 0 4px; }
	body.phwo-acct-page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.phwo-sh-toasts { bottom: 84px; }
	.phwo-sh-hero.phwo-acct-hero { padding: 18px 16px; border-radius: 16px; }
	.phwo-sh-kpi { padding: 10px 6px; }
	.phwo-sh-kpi strong { font-size: 1.2rem; }
	.phwo-sh-panel { padding: 14px; border-radius: 14px; }
	.phwo-sh-todo-list li { grid-template-columns: auto minmax(0, 1fr); }
	.phwo-sh-todo-list li .phwo-btn { grid-column: 1 / -1; width: 100%; min-height: 48px; }
	.phwo-sh-quick { grid-template-columns: 1fr; }
	.phwo-sh-steps li small { font-size: .64rem; }
	.phwo-sh-when { margin-inline-start: 0; width: 100%; }
}
@media (max-width: 400px) {
	.phwo-sh-steps li small { display: none; }
	.phwo-sh-steps li.is-now small { display: block; grid-column: auto; overflow: visible; }
	.phwo-sh-chip { max-width: 55%; }
}

/* print summary */
@media print {
	body * { visibility: hidden !important; }
	.phwo-acct-main, .phwo-acct-main * { visibility: visible !important; }
	.phwo-acct-main { position: absolute; inset: 0 auto auto 0; width: 100%; }
	.phwo-sh-bar, .phwo-sh-tabbar, .phwo-sh-noprint, .phwo-sh-ghost, .phwo-sh-copy, .phwo-sh-todo-list .phwo-btn, .phwo-acct-note.is-preview, .phwo-un { display: none !important; }
	.phwo-sh-print-head { display: block !important; margin-bottom: 12px; font-size: 12px; }
	.phwo-sh-hero.phwo-acct-hero { background: none !important; color: #000; border: 1px solid #999; }
	.phwo-sh-hero *, .phwo-sh-kpi, .phwo-sh-kpi span { color: #000 !important; }
	.phwo-sh-panel { box-shadow: none; break-inside: avoid; }
	.phwo-sh-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.phwo-acct-side, .phwo-sh-toast, .phwo-un-list .phwo-un-empty { transition: none !important; animation: none !important; }
}

[dir=rtl] .phwo-acct-timeline { padding: 0 1.1rem 0 0; border-left: 0; border-right: 2px solid var(--line); }
[dir=rtl] .phwo-acct-timeline li { padding: 0 1rem 1rem 0; }
[dir=rtl] .phwo-acct-timeline li::before { left: auto; right: -1.55rem; }


/* ---------- dashboard v3 (8 Oct 2026): tokens from ds.css ---------- */
.phwo-acct { --p: var(--ds-teal); --p2: var(--ds-teal-700); --g: var(--ds-gold); --ink: var(--ds-ink); --mute: var(--ds-mute); --line: var(--ds-line); --bg: var(--ds-bg); --soft: var(--ds-teal-50); }
@media (min-width: 861px) {
	/* sidebar never scrolls on its own; it sticks only while it fits */
	.phwo-acct-side { max-height: none; overflow: visible; position: sticky; top: 88px; }
	.phwo-acct-app { max-width: 1280px; grid-template-columns: 248px minmax(0, 1fr); }
}
.phwo-sh-nav a.is-active { background: var(--ds-teal); color: #fff; }
.phwo-sh-nav a.is-active .phwo-sh-i { color: #fff; }
.phwo-sh-nav a.is-active::before { display: none; }
.phwo-sh-nav a.is-active em { background: rgba(255,255,255,.22); color: #fff; }
.phwo-v3-hero.phwo-acct-hero { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--ds-s4); }
.phwo-v3-hero .phwo-acct-hero-text { flex: 1 1 320px; min-width: 0; }
.phwo-v3-hero h1 { font-size: clamp(1.35rem, 1rem + 1.6vw, 1.85rem); margin: 2px 0 6px; }
.phwo-v3-hero-cta { position: relative; z-index: 1; }
.phwo-v3-next.phwo-ds-btn.is-primary { background: var(--ds-gold); border-color: var(--ds-gold); color: #2b1a00; min-height: 48px; padding: 0 var(--ds-s5); font-size: var(--ds-fs); }
.phwo-v3-next.phwo-ds-btn.is-primary:hover { background: #f0b456; color: #2b1a00; }
[dir=rtl] .phwo-v3-next .phwo-sh-i { transform: scaleX(-1); }
.phwo-sh-progress { margin-bottom: 16px; }
.phwo-v3-inbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--ds-s2); margin-bottom: var(--ds-s3); }
.phwo-v3-inbox a { display: flex; align-items: center; gap: var(--ds-s2); min-height: 48px; padding: 0 var(--ds-s3); border: 1px solid var(--ds-line); border-radius: var(--ds-r); color: var(--ds-ink); font-weight: 600; font-size: var(--ds-fs-sm); text-decoration: none; }
.phwo-v3-inbox a:hover { border-color: var(--ds-teal); background: var(--ds-teal-50); }
.phwo-v3-inbox .phwo-sh-i { color: var(--ds-teal); }
.phwo-v3-inbox em { margin-inline-start: auto; font-style: normal; background: var(--ds-err); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; }
.phwo-acct-timeline time { font-variant-numeric: tabular-nums; color: var(--ds-mute); }
body.phwo-app-preview .phwo-acct-note.is-preview { padding: 6px 12px; font-size: .85rem; margin-bottom: 10px; border-radius: var(--ds-r-sm); }
@media (max-width: 860px) {
	.phwo-acct-main { padding-inline: 0; }
	.phwo-v3-hero.phwo-acct-hero { padding: 16px; }
	.phwo-v3-hero-cta, .phwo-v3-next.phwo-ds-btn { width: 100%; }
	.phwo-sh-tabbar { padding-bottom: calc(4px + var(--ds-safe-b)); }
	.phwo-sh-tabbar a, .phwo-sh-tabbar button { min-height: 56px; font-size: .72rem; }
	.phwo-sh-tabbar .is-active { background: none; color: var(--ds-teal); }
	.phwo-sh-tabbar .is-active::after { content: ""; position: absolute; top: 0; inset-inline: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ds-teal); }
	.phwo-sh-hide-sm { display: none; }
	.phwo-sh-progress .phwo-ds-ring { width: 56px; height: 56px; }
	.phwo-sh-progress .phwo-ds-ring b { width: 44px; height: 44px; font-size: .9rem; }
	.phwo-acct .phwo-btn, .phwo-ds-btn { min-height: 48px; }
}
html[lang^="ur"] .phwo-sh-tabbar a, html[lang^="ur"] .phwo-sh-tabbar button { line-height: 1.6; }

/* ============ [dash-v4] 15 Oct 2026 ============ */
/* At a glance tiles (real counts only) */
.phwo-v4-glance { margin: 0 0 var(--ds-s4, 16px); }
.phwo-v4-glance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--ds-s3, 12px); }
.phwo-v4-glance li { margin: 0; min-width: 0; }
.phwo-v4-glance a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 72px; padding: 14px 16px; background: var(--ds-surface, #fff); border: 1px solid var(--ds-line, #e3e8e9); border-radius: var(--ds-r-lg, 16px); box-shadow: var(--ds-sh-1); color: var(--ds-ink, #13262b); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.phwo-v4-glance a:hover { border-color: var(--ds-teal, #0D5C63); box-shadow: var(--ds-sh-2); }
.phwo-v4-glance a .phwo-sh-i { grid-row: 1 / span 2; width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: var(--ds-teal-50, #eef5f5); color: var(--ds-teal, #0D5C63); }
.phwo-v4-glance a.is-gold .phwo-sh-i { background: var(--ds-gold-50, #fdf5e7); color: #8a5a10; }
.phwo-v4-glance strong { font-size: var(--ds-fs-xl, 1.375rem); line-height: 1.15; font-variant-numeric: tabular-nums; font-family: var(--ds-font); overflow-wrap: anywhere; }
.phwo-v4-glance span { font-size: var(--ds-fs-sm, .875rem); color: var(--ds-mute, #5b6c70); line-height: 1.35; }
@media (max-width: 640px) { .phwo-v4-glance ul { grid-template-columns: 1fr 1fr; gap: 8px; } .phwo-v4-glance a { padding: 12px; column-gap: 10px; } .phwo-v4-glance a .phwo-sh-i { width: 34px; height: 34px; padding: 7px; } .phwo-v4-glance strong { font-size: var(--ds-fs-lg, 1.125rem); } }

/* Sidebar group: Do more with PHWO (collapsible, same look as nav links) */
.phwo-sh-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0; }
.phwo-sh-more > summary::-webkit-details-marker { display: none; }
.phwo-sh-more .phwo-sh-caret { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .15s; }
.phwo-sh-more[open] .phwo-sh-caret { transform: rotate(-90deg); }
.phwo-sh-more a { align-items: flex-start; }
.phwo-sh-more .phwo-sh-l { display: grid; gap: 1px; }
.phwo-sh-more .phwo-sh-l small { font-size: var(--ds-fs-xs, .75rem); font-weight: 400; color: var(--ds-mute, #5b6c70); line-height: 1.3; }
.phwo-sh-more .phwo-sh-have { margin-inline-start: auto; color: var(--ds-ok, #1f7a4d); font-style: normal; }
.phwo-sh-more .phwo-sh-have .phwo-sh-i { width: 16px; height: 16px; }
.phwo-sh-more a.is-have { opacity: .85; }

/* [dash-v4] error box with retry */
.phwo-v4-err { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px; border: 1px solid #f3c3be; background: var(--ds-err-50, #fdeceb); color: var(--ds-err, #b42318); border-radius: var(--ds-r, 12px); }
.phwo-v4-err p { margin: 0; flex: 1 1 200px; color: #7a1a12; font-size: var(--ds-fs-sm, .875rem); }
.phwo-v4-err .phwo-ds-btn { min-height: 44px; }
