/* The customer portal's look (docs/design/portal, approved by Meftah 01/10/2026). Fonts are served by
   FIDose itself (static/fonts, SIL Open Font License 1.1): no outside request. */
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-400-normal.77bc02670657.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-500-normal.f7016cd446d2.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-600-normal.196e3cbc5fee.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans Arabic';font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.4fa3d81d41ab.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans Arabic';font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.106892212ea7.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans Arabic';font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.64891a810259.woff2") format('woff2')}
@font-face{font-family:'IBM Plex Sans Arabic';font-weight:700;font-display:swap;src:url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.a4390abc98c2.woff2") format('woff2')}
@font-face{font-family:'Sora';font-weight:600;font-display:swap;src:url("../fonts/sora-latin-600-normal.4c3aca48be0c.woff2") format('woff2')}
@font-face{font-family:'Sora';font-weight:700;font-display:swap;src:url("../fonts/sora-latin-700-normal.b2758c7ec7e6.woff2") format('woff2')}

:root{--navy:#0F1B2D;--navy2:#16263D;--active:#1F3A5F;--blue:#1F63B8;--focus:#2A78D6;--page:#F4F6F9;--surface:#FFFFFF;--border:#E2E7EE;--line:#EEF1F5;
  --text:#0F1B2D;--text2:#4A5565;--label:#33404F;--ok-fg:#1E6B45;--ok-bg:#E3F4EA;--a1-fg:#6B4700;--a1-bg:#FFF0C7;--a2-fg:#8F3108;--a2-bg:#FDE2D3;--bad:#B42318;
  --info-fg:#15315A;--info-bg:#EAF2FC;--info-border:#C9DDF5;--sans:'IBM Plex Sans','IBM Plex Sans Arabic',system-ui,sans-serif;--title:Sora,'IBM Plex Sans Arabic',sans-serif}
html[lang=ar]{--sans:'IBM Plex Sans Arabic','IBM Plex Sans',system-ui,sans-serif;--title:'IBM Plex Sans Arabic',Sora,sans-serif}
*{box-sizing:border-box}
body.pp{margin:0;background:var(--page);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.45}
.pp a{color:var(--blue)}.pp a:hover{color:var(--info-fg)}
.pp :focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.pp h1,.pp h2,.pp h3{margin:0}
.pp-title{font-family:var(--title);font-weight:700}
.pp .muted{color:var(--text2)}.pp .small{font-size:13px}
.pp bdi,.pp .ltr{unicode-bidi:isolate}

/* shell: sidebar + main */
.pp-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}
.pp-side{background:var(--navy);color:#C9D4E2;display:flex;flex-direction:column;gap:22px;padding:22px 14px;position:sticky;top:0;height:100vh;overflow-y:auto}
.pp-brand{display:flex;align-items:center;gap:10px;padding:0 8px}
.pp-brand img{width:34px;height:34px}
.pp-brand b{font-family:Sora,sans-serif;font-weight:700;font-size:18px;color:#fff;display:block}
.pp-brand span{font-size:12px;color:#9FB0C6}
.pp-cust{background:var(--navy2);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:3px}
.pp-cust b{font-size:14px;color:#fff}.pp-cust span{font-size:12px;color:#9FB0C6}
.pp-nav{display:flex;flex-direction:column;gap:2px}
.pp-nav a{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 12px;border-radius:10px;color:#C9D4E2;text-decoration:none;font-size:14px}
.pp-nav a:hover{background:#16263D;color:#fff}
.pp-nav a[aria-current=page]{background:var(--active);color:#fff;font-weight:600}
.pp-nav a span{flex-grow:1}
.pp-count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--focus);color:#fff;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex-grow:0!important}
.pp-contact{margin-top:auto;border:1px solid #22344F;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px;font-size:13px;color:#9FB0C6}
.pp-contact b{color:#fff}.pp-contact a{color:#9FB0C6}
.pp-main{min-width:0;display:flex;flex-direction:column}
.pp-head{background:var(--surface);border-bottom:1px solid var(--border);padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pp-head h1{font-family:var(--title);font-size:22px;font-weight:700}
.pp-head .tools{display:flex;align-items:center;gap:10px}
.pp-pad{width:100%;max-width:1180px;padding:28px 32px 48px;display:flex;flex-direction:column;gap:22px}

/* controls */
.pp-btn{min-height:44px;padding:0 16px;border:1px solid #D5DCE6;border-radius:10px;background:#fff;color:var(--text);font:500 14px var(--sans);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.pp-btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}
.pp-btn.primary:hover{background:#17508F;color:#fff}
.pp-btn.outline{border-color:var(--blue);color:var(--blue);font-weight:600}
.pp-btn.danger{background:var(--bad);border-color:var(--bad);color:#fff;font-weight:600}
.pp-btn.icon{width:44px;padding:0}
.pp-user{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 12px 0 6px;border:1px solid #D5DCE6;border-radius:10px;background:#fff;text-decoration:none;color:var(--text)}
.pp-avatar{width:32px;height:32px;border-radius:50%;background:#DCE8F7;color:var(--info-fg);font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
.pp-user b{display:block;font-size:14px}.pp-user small{display:block;font-size:12px;color:var(--text2)}
.pp label{font-size:14px;font-weight:600;color:var(--label)}
.pp input[type=text],.pp input[type=password],.pp input[type=email],.pp input[type=date],.pp input[type=search],.pp input:not([type]),.pp select,.pp textarea{min-height:44px;padding:0 14px;border:1px solid #C5CEDA;border-radius:10px;font:400 15px var(--sans);color:var(--text);background:#fff;width:100%}
.pp textarea{padding:10px 14px}
.pp input:focus,.pp select:focus,.pp textarea:focus{border:2px solid var(--focus);outline:none}
.pp-field{display:flex;flex-direction:column;gap:8px}
.pp .errorlist{list-style:none;margin:0;padding:0;color:var(--bad);font-size:14px}

/* cards and lists */
.pp-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden}
.pp-card>.hd{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}
.pp-card>.hd h2{font-size:17px;font-weight:600}
.pp-card>.bd{padding:16px 22px}
.pp-pill{height:22px;padding:0 8px;border-radius:11px;background:#F1F4F8;color:var(--text2);font-size:13px;font-weight:600;display:inline-flex;align-items:center}
.pp-row{display:flex;align-items:center;gap:16px;padding:14px 22px;border-top:1px solid var(--line);flex-wrap:wrap}
.pp-row:first-of-type{border-top:0}
.pp-row .txt{flex-grow:1;min-width:240px;display:flex;flex-direction:column;gap:2px}
.pp-row .txt b{font-size:15px;font-weight:600}.pp-row .txt span{font-size:14px;color:var(--text2)}
.pp-go{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;text-decoration:none}
html[dir=rtl] .pp-go svg,html[dir=rtl] .flip{transform:scaleX(-1)}
.pp-grid{display:grid;gap:22px}
.pp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.pp-figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}
.pp-fig{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;text-decoration:none;color:var(--text);display:flex;flex-direction:column;gap:6px}
.pp-fig:hover{border-color:#B8C6D8}
.pp-fig .l{font-size:13px;color:var(--text2)}.pp-fig .v{font-family:var(--title);font-size:26px;font-weight:700;line-height:1.15}.pp-fig .n{font-size:13px;color:var(--text2)}
.pp-file{width:40px;height:40px;border-radius:10px;background:#EEF3FA;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.pp-date{width:54px;height:54px;border:1px solid var(--border);border-radius:12px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}
.pp-date b{font-family:Sora,sans-serif;font-size:19px;line-height:1}.pp-date small{font-size:11px;font-weight:600;color:var(--text2);text-transform:uppercase}

/* status chips: icon and word, never colour alone */
.chip{height:26px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.chip svg{width:14px;height:14px}
.chip.ok{background:var(--ok-bg);color:var(--ok-fg)}.chip.a1{background:var(--a1-bg);color:var(--a1-fg)}.chip.a2{background:var(--a2-bg);color:var(--a2-fg)}
.chip.bad{background:var(--bad);color:#fff}.chip.info{background:var(--info-bg);color:var(--info-fg)}.chip.grey{background:#F1F4F8;color:var(--text2)}
.chip.lvl{width:104px;justify-content:center;flex-shrink:0}
.cell-a1{background:var(--a1-bg);color:var(--a1-fg);border-radius:6px;padding:2px 8px;font-weight:600}
.cell-a2{background:var(--a2-bg);color:var(--a2-fg);border-radius:6px;padding:2px 8px;font-weight:600}
.mark-e{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #8A97A8;border-radius:4px;font-size:11px;font-weight:600;margin-inline-start:4px}

/* banners */
.pp-banner{border-radius:14px;padding:16px 20px;display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.pp-banner .ic{width:44px;height:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.pp-banner .txt{flex-grow:1;min-width:240px;display:flex;flex-direction:column;gap:4px}
.pp-banner .txt b{font-size:16px}
.pp-banner .acts{display:flex;gap:10px;flex-wrap:wrap;width:100%;padding-inline-start:58px}
.pp-banner.bad{background:#FDECEA;border:1px solid #F1B5AE;color:#7A1A12}.pp-banner.bad .ic{background:var(--bad);color:#fff}.pp-banner.bad b{color:#9B1C12}
.pp-banner.warn{background:#FFF8E6;border:1px solid #F3DCA2;color:#5C3D00}.pp-banner.warn .ic{background:var(--a1-bg);color:var(--a1-fg)}
.pp-banner.info{background:var(--info-bg);border:1px solid var(--info-border);color:var(--info-fg)}.pp-banner.info .ic{background:#fff;color:var(--blue)}
.pp-msgs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pp-msgs li{border-radius:12px;padding:12px 16px;background:var(--info-bg);border:1px solid var(--info-border);color:var(--info-fg)}
.pp-msgs li.error{background:#FDECEA;border-color:#F1B5AE;color:#7A1A12}.pp-msgs li.success{background:var(--ok-bg);border-color:#BFE3CD;color:var(--ok-fg)}

/* tables */
.pp-table{width:100%;border-collapse:collapse;font-size:14px}
.pp-table th{font-size:13px;font-weight:600;color:var(--label);text-align:start;padding:12px 14px;background:#F8FAFC;border-bottom:1px solid var(--line)}
.pp-table td{padding:14px;border-top:1px solid var(--line);vertical-align:middle}
.pp-table td.num,.pp-table th.num{text-align:end;font-variant-numeric:tabular-nums}
.pp-table .who b{display:block;font-weight:600}.pp-table .who span{font-size:13px;color:var(--text2)}
.pp-wrap{overflow-x:auto}
.pp-levels{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:16px 18px;font-size:14px}
.pp-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;align-items:end}

/* sign-in */
.si-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;background:#fff}
.si-brand{background:var(--navy);color:#DCE4EE;padding:56px 64px;display:flex;flex-direction:column;gap:40px;position:relative;overflow:hidden}
.si-brand .rings{position:absolute;inset-inline-end:-180px;bottom:-180px}
.si-top{display:flex;align-items:center;gap:12px;position:relative}
.si-top img{width:40px;height:40px}.si-top b{font-family:Sora,sans-serif;font-weight:700;font-size:22px;color:#fff}
.si-top span{font-size:14px;color:#9FB0C6;padding-inline-start:12px;border-inline-start:1px solid #2B3F5C}
.si-pitch{display:flex;flex-direction:column;gap:20px;margin:auto 0;position:relative;max-width:520px}
.si-pitch h1{font-family:var(--title);font-size:40px;line-height:1.15;font-weight:700;color:#fff}
.si-pitch ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:16px;color:#C9D4E2}
.si-pitch li{display:flex;align-items:center;gap:12px}
.si-tick{width:26px;height:26px;border-radius:50%;background:#16325A;color:#7FD3B0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.si-service{font-size:14px;color:#9FB0C6;position:relative}
.si-form-side{padding:40px 64px;display:flex;flex-direction:column}
.si-form{margin:auto 0;width:100%;max-width:440px;align-self:center;display:flex;flex-direction:column;gap:22px}
.si-company{display:flex;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--border)}
.si-logo{width:76px;height:76px;flex-shrink:0;border:1px solid var(--border);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.si-logo img{max-width:68px;max-height:68px}
.si-company b{font-family:var(--title);font-size:18px;font-weight:700;line-height:1.3;display:block}
.si-company span{font-size:13px;color:var(--text2)}
.si-steps{display:flex;gap:8px;align-items:center;font-size:13px}
.si-steps span{height:26px;padding:0 10px;border-radius:13px;background:#F1F4F8;color:var(--text2);font-weight:600;display:inline-flex;align-items:center}
.si-steps span.on{background:var(--navy);color:#fff}.si-steps i{width:24px;height:1px;background:#C5CEDA}
.si-h{font-family:var(--title);font-size:28px;font-weight:700}
.si-note{display:flex;gap:10px;align-items:flex-start;background:var(--page);border-radius:12px;padding:12px 14px;font-size:14px;color:var(--label)}
.si-foot{margin:0;font-size:13px;color:var(--text2);text-align:center;line-height:1.6}
.si-lang{display:flex;justify-content:flex-end}
.si-submit{height:50px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:600 16px var(--sans);cursor:pointer}

/* phone: the bottom tab bar replaces the sidebar (screen 05) */
.pp-tabs{display:none}
.pp-mhead{display:none}
@media (max-width:860px){
  .pp-shell{grid-template-columns:minmax(0,1fr)}
  .pp-side{display:none}
  .pp-head{display:none}
  .pp-mhead{display:flex;flex-direction:column;gap:10px;background:var(--navy);color:#fff;padding:16px 16px 20px;border-radius:0 0 22px 22px}
  .pp-mhead .row{display:flex;align-items:center;justify-content:space-between;gap:10px}
  .pp-mhead .row .pp-btn{background:#16263D;border-color:#22344F;color:#fff}
  .pp-mhead h1{font-family:var(--title);font-size:22px;color:#fff}
  .pp-mhead span{font-size:13px;color:#9FB0C6}
  .pp-pad{padding:20px 16px 96px}
  .pp-grid.two{grid-template-columns:minmax(0,1fr)}
  .pp-figs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp-filters{grid-template-columns:minmax(0,1fr)}
  .pp-tabs{display:flex;position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid var(--border);justify-content:space-around;padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:10}
  .pp-tabs a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:56px;min-height:48px;justify-content:center;font-size:12px;color:var(--text2);text-decoration:none}
  .pp-tabs a[aria-current=page]{color:var(--blue);font-weight:600}
  .si-grid{grid-template-columns:minmax(0,1fr)}
  .si-brand{padding:24px 20px;gap:16px}.si-brand .rings,.si-pitch{display:none}
  .si-form-side{padding:20px}
  .pp-banner .acts{padding-inline-start:0}
}

/* the other portal pages (lists and forms) in the same look */
.pp .card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px 22px}
.pp .card>h1,.pp .card>h2{font-size:17px;font-weight:600;margin:0 0 12px}
.pp .mt{margin-top:0}
.pp .table-wrap{overflow-x:auto}
.pp table.t{width:100%;border-collapse:collapse;font-size:14px}
.pp table.t th{font-size:13px;font-weight:600;color:var(--label);text-align:start;padding:10px 12px;background:#F8FAFC;border-bottom:1px solid var(--line)}
.pp table.t td{padding:12px;border-top:1px solid var(--line);vertical-align:middle}
.pp tr.row-alara_1 td:first-child{box-shadow:inset 4px 0 0 #E5B53A}.pp tr.row-alara_2 td:first-child{box-shadow:inset 4px 0 0 #E07A45}.pp tr.row-limit td:first-child{box-shadow:inset 4px 0 0 var(--bad)}
html[dir=rtl] .pp tr.row-alara_1 td:first-child{box-shadow:inset -4px 0 0 #E5B53A}html[dir=rtl] .pp tr.row-alara_2 td:first-child{box-shadow:inset -4px 0 0 #E07A45}html[dir=rtl] .pp tr.row-limit td:first-child{box-shadow:inset -4px 0 0 var(--bad)}
.pp .btn{min-height:44px;padding:0 16px;border:1px solid #D5DCE6;border-radius:10px;background:#fff;color:var(--text);font:500 14px var(--sans);cursor:pointer;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.pp .btn.sm{min-height:38px;padding:0 12px}
.pp .btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}
.pp .tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:7px;font-size:12px;font-weight:600;background:#F1F4F8;color:var(--text2)}
.pp .tag.ok{background:var(--ok-bg);color:var(--ok-fg)}.pp .tag.warn{background:var(--a1-bg);color:var(--a1-fg)}.pp .tag.bad{background:var(--bad);color:#fff}
.pp li.tag{display:flex;height:auto;padding:8px 10px;margin:4px 0}
.pp .warnbox{background:#FFF8E6;border:1px solid #F3DCA2;color:#5C3D00;border-radius:12px;padding:12px 16px}
.pp .okbox{background:var(--ok-bg);border:1px solid #BFE3CD;color:var(--ok-fg);border-radius:12px;padding:12px 16px}
.pp .filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.pp .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:12px 0}
.pp .field{display:flex;flex-direction:column;gap:6px}
.pp .wrap{white-space:pre-wrap}
.pp .mono{font-variant-numeric:tabular-nums}
.pp ul.errorlist li{list-style:none}
.pp-page-actions{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:860px){.pp .grid2{grid-template-columns:minmax(0,1fr)}}
.pp a.pp-fig,.pp a.pp-user{color:var(--text)}
.pp a.pp-fig .v{color:var(--text)}
.pp-fig .v{overflow-wrap:anywhere}
.pp-table .who{min-width:230px}.pp-table .who b{white-space:nowrap}
.pp-table th.num{white-space:nowrap}
.pp-contact form .pp-btn{background:transparent;border-color:#2B3F5C;color:#C9D4E2}
.pp-shell{background:linear-gradient(to right,var(--navy) 252px,var(--page) 252px)}
html[dir=rtl] .pp-shell{background:linear-gradient(to left,var(--navy) 252px,var(--page) 252px)}
@media (max-width:860px){.pp-shell,html[dir=rtl] .pp-shell{background:var(--page)}.pp-fig .v{font-size:20px}}
.pp-row .txt span.chip{font-size:12px}
.pp-row .txt .chip.bad,.pp .chip.bad{color:#fff}.pp-row .txt .chip.ok{color:var(--ok-fg)}.pp-row .txt .chip.a1{color:var(--a1-fg)}.pp-row .txt .chip.a2{color:var(--a2-fg)}.pp-row .txt .chip.grey{color:var(--text2)}
.pp-banner{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;align-items:center}
.pp-banner .txt{min-width:0}
.pp-banner .acts{grid-column:2;padding:0;width:auto}
@media (max-width:860px){.pp-banner .acts{grid-column:1 / -1}}
/* docs/PORTAL.md 7.1: the notices bell and the notices page */
.pp-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #D5DCE6;border-radius:10px;background:#fff;color:var(--text)}
.pp-count{position:absolute;top:-6px;inset-inline-end:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--bad);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.pp-notice{padding:16px 20px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.pp-notice h3{font-size:16px;font-weight:600}
.pp-notice.past{opacity:.7}

/* UX-63: the request types as a list to choose from */
.pp .request-types{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.pp .request-types a{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--line,#e2e5ea);border-radius:12px;text-decoration:none;color:inherit;min-height:44px}
.pp .request-types a:hover,.pp .request-types a:focus-visible{border-color:var(--accent,#2c6fc2)}
.pp .field.wide{grid-column:1 / -1}
.pp .req{color:#b42318}

/* UX-64, UX-68, UX-74 (UX review 27/10/2026): on a phone each table row is a card: every cell shows its
   column's name, nothing is cut, and the buttons are full width. */
@media (max-width:600px){
  .pp table.t thead,.pp table.t tr:first-child:has(th),.pp-table thead,.pp-table tr:first-child:has(th){display:none}
  .pp table.t,.pp table.t tbody,.pp table.t tr,.pp-table,.pp-table tbody,.pp-table tr{display:block;width:100%}
  .pp table.t tr,.pp-table tr{border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:0 0 10px;background:#fff}
  .pp table.t td,.pp-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border:0;padding:5px 0;text-align:end;overflow-wrap:anywhere}
  .pp table.t td[data-label]::before,.pp-table td[data-label]::before{content:attr(data-label);font-weight:600;color:var(--text2);text-align:start;flex:0 0 40%}
  .pp table.t td:empty,.pp-table td:empty{display:none}
  /* QA 28/10/2026 (H-077): on a phone the worker's cell takes the card's width; the name and its tags wrap */
  .pp-table .who{min-width:0;display:block}.pp-table .who b{white-space:normal}.pp-table .who::before{display:none}
  .pp-table .who span{display:block;overflow-wrap:anywhere}
  .pp td .btn{width:100%;text-align:center;min-height:44px}
  .pp .nowrap,.pp td bdi{white-space:nowrap}
}
.pp-fig .n.late{color:#b42318;font-weight:600}
.pp-row bdi{white-space:nowrap}

/* UX-72: the file box in the portal's language (static/js/portal.js) */
.pp-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.pp-file-input:focus-visible + .pp-file-btn{outline:3px solid #2B6CB0;outline-offset:2px}
.pp-file-name{margin-inline-start:10px;color:var(--muted,#5B6B7F)}
/* QA 28/10/2026 (H-077): the pages not in the phone's bottom bar, on the page "More" opens (phones only) */
.pp-more{display:none}
@media (max-width:600px){.pp-more{display:flex;flex-direction:column;gap:2px}.pp-more a{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 4px;text-decoration:none;color:var(--text)}}
