/* MrLinQ hero phone: a copy of today's app screens (Find, result cards, profile). Everything is scoped under .hp-app. */
.hp-app{--bg:#F6F7F3;--surface:#FFFFFF;--section:#EDF4F2;--border:#D5DDD9;--bstrong:#C7D5CF;--text:#25302E;--text2:#596461;--muted:#656F6B;--primary:#356C76;--pdark:#28545D;--psoft:#E5F0F0;--edge:#234B53;--cardb:#DCE3DF;--inner:#E3EAE5;--field:#7E8A86;--orange:#E28235;--green:#3E7048;--greensoft:#EBF2EC;--warn:#7C6029;--warnsoft:#F6F0E2;--wa:#1FA855;--waedge:#157A3E;
  --head:"Commissioner","Noto Sans",system-ui,sans-serif;
  position:absolute;top:0;left:0;width:375px;transform-origin:0 0;overflow:hidden;background:var(--bg);color:var(--text);
  font-family:"Noto Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:start;line-height:1.35;-webkit-font-smoothing:antialiased}
.hp-app *{box-sizing:border-box}
.hp-app[dir="rtl"]{font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Noto Sans",system-ui,sans-serif;--head:"IBM Plex Sans Arabic","Noto Sans Arabic",system-ui,sans-serif}
.hp-app img{display:block}
.hp-notch{position:absolute;top:12px;left:50%;width:118px;height:34px;margin-left:-59px;background:#0d1312;border-radius:20px;z-index:30}
.hp-status{height:50px;display:flex;justify-content:space-between;align-items:flex-end;padding:0 30px 6px;font-weight:600;font-size:15px;direction:ltr}
.hp-status i{font-style:normal;letter-spacing:1px;font-size:12px}
.hp-view{position:absolute;top:50px;left:0;width:375px;bottom:0;overflow:hidden;background:var(--bg);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.hp-scroller{transition:transform .9s cubic-bezier(.45,0,.2,1)}
.hp-vprofile{transform:translateX(100%);z-index:5}
.hp-app[dir="rtl"] .hp-vprofile{transform:translateX(-100%)}
.hp-app.hp-show-profile .hp-vprofile{transform:none}
.hp-app.hp-show-profile .hp-vfind{transform:translateX(-25%)}
.hp-app[dir="rtl"].hp-show-profile .hp-vfind{transform:translateX(25%)}
.hp-3d{width:20px;height:20px;object-fit:contain}
/* wordmark exactly as the app header draws it: "Mr" teal, "Lin" ink, then the Q mark */
.hp-wm{display:flex;align-items:center;direction:ltr;font-weight:700;font-size:19px;line-height:23px;flex:none}
.hp-wm b{font-weight:700;color:var(--primary)}.hp-wm span{color:var(--text)}.hp-wm svg{width:21px;height:24px;margin-top:1px}
/* header */
.hp-ahead{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.hp-lang{display:flex;gap:2px;padding:3px;background:var(--section);border-radius:10px;box-shadow:inset 0 1px 3px rgba(37,48,46,.22);direction:ltr}
.hp-lang span{width:44px;height:38px;border-radius:7px;display:grid;place-items:center;font-size:14px;font-weight:500;color:var(--text2)}
.hp-lang .hp-on{background:linear-gradient(#3F7A85,#356C76,#2F626B);color:#fff;font-weight:700;box-shadow:0 6px 20px rgba(35,75,83,.18)}
.hp-avatar{width:44px;height:44px;border-radius:50%;background:#fff;border:1.5px solid var(--bstrong);box-shadow:0 8px 24px rgba(37,48,46,.14);display:grid;place-items:center}
.hp-avatar img{width:34px;height:34px}
/* top tabs */
.hp-tabs{margin:8px 16px 0;background:#E5EFED;border-radius:16px;padding:4px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.hp-tab{height:107px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0 8px;text-align:center;position:relative}
.hp-tab.hp-on{background:#fff}
.hp-tab b{font-weight:600;font-size:13.5px;line-height:18px;color:var(--primary)}
.hp-tab.hp-on::after{content:"";position:absolute;bottom:6px;left:50%;width:22px;height:3px;margin-left:-11px;border-radius:2px;background:var(--orange)}
.hp-plate{width:24px;height:24px;background:#fff;border:1px solid #DCE5DD;border-radius:3px 8px 3px 3px;display:grid;place-items:center;flex:none}
.hp-app[dir="rtl"] .hp-plate{border-radius:8px 3px 3px 3px}
/* search card */
.hp-scard{position:relative;margin:25px 16px 0;background:var(--surface);border:1px solid var(--cardb);border-radius:8px 16px 8px 8px;box-shadow:0 1px 2px rgba(37,48,46,.05),0 8px 20px -12px rgba(37,48,46,.16);padding:8px 8px 10px}
.hp-app[dir="rtl"] .hp-scard,.hp-app[dir="rtl"] .hp-card,.hp-app[dir="rtl"] .hp-rc{border-radius:16px 8px 8px 8px}
.hp-edge::after{content:"";position:absolute;inset:0;border-radius:inherit;border-bottom:2px solid var(--inner);pointer-events:none}
.hp-srow{display:flex;gap:8px;align-items:flex-start}
.hp-field{flex:1;min-width:0;height:46px;border:1px solid var(--field);border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 10px 0 14px;font-size:17px;transition:border-color .15s,box-shadow .15s}
.hp-app[dir="rtl"] .hp-field{padding:0 14px 0 10px}
.hp-field.hp-focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--psoft)}
.hp-field>svg{width:22px;height:22px;color:var(--pdark);flex:none}
.hp-typed{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.hp-typed.hp-ph{color:var(--muted)}
.hp-caret{display:inline-block;width:2px;height:21px;background:var(--primary);vertical-align:-4px;animation:hp-blink 1s steps(1) infinite}
.hp-field:not(.hp-focus) .hp-caret{display:none}
@keyframes hp-blink{50%{opacity:0}}
.hp-x{width:30px;height:30px;border-radius:50%;background:var(--section);display:none;margin-inline-start:auto;place-items:center;flex:none;color:var(--text2)}
.hp-x svg{width:16px;height:16px}
.hp-field.hp-hasval .hp-x{display:grid}
/* stamp buttons: 34 high, corners 4/20/4/4, 1.5 border, hard 2px offset shadow */
.hp-stamp{position:relative;height:34px;flex:none;display:inline-flex}
.hp-stamp>i{position:absolute;left:2px;right:-2px;top:2px;bottom:-2px;border-radius:4px 20px 4px 4px}
.hp-stamp>span{position:relative;height:34px;border:1.5px solid;border-radius:4px 20px 4px 4px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;font-weight:700;font-size:14px;line-height:19px;letter-spacing:.1px;white-space:nowrap;transition:transform .1s}
.hp-app[dir="rtl"] .hp-stamp>i{left:-2px;right:2px;border-radius:20px 4px 4px 4px}
.hp-app[dir="rtl"] .hp-stamp>span{border-radius:20px 4px 4px 4px;letter-spacing:0}
.hp-st-pri>i{background:var(--orange)}.hp-st-pri>span{background:#356C76;border-color:var(--edge);color:#fff}
.hp-st-sec>i{background:var(--pdark)}.hp-st-sec>span{background:#fff;border-color:var(--pdark);color:var(--pdark)}
.hp-st-wa>i{background:var(--waedge)}.hp-st-wa>span{background:var(--wa);border-color:var(--waedge);color:#fff}
.hp-stamp.hp-press>span{transform:translate(2px,2px)}.hp-stamp.hp-press>i{opacity:0}
.hp-app[dir="rtl"] .hp-stamp.hp-press>span{transform:translate(-2px,2px)}
.hp-filter{margin-top:6px}.hp-filter>span{width:34px;padding:0}.hp-filter svg{width:20px;height:20px}
.hp-badge{position:absolute;top:1px;inset-inline-end:13px;width:22px;height:22px;border-radius:11px;background:var(--primary);border:1.5px solid #fff;color:#fff;font-weight:700;font-size:13px;line-height:19px;text-align:center;z-index:2}
/* filter pills */
.hp-pillwrap{overflow:hidden;margin-top:10px}
.hp-pills{display:flex;gap:8px;transition:transform .45s cubic-bezier(.2,.8,.2,1);width:max-content}
.hp-pill{height:40px;border-radius:16px;background:var(--section);border:1px solid #C3D4CE;display:flex;align-items:center;gap:8px;padding:0 12px;font-weight:600;font-size:14px;line-height:19px;color:var(--primary);white-space:nowrap;transition:transform .12s,background .2s}
.hp-pill span{max-width:170px;overflow:hidden;text-overflow:ellipsis}
.hp-pill svg{width:16px;height:16px;flex:none}
.hp-pill.hp-set{background:var(--psoft);border-color:var(--primary);color:var(--text)}
.hp-pill.hp-gold{background:#fff;border-color:#C9A24A;height:36px;margin-top:2px;font-weight:400;font-size:15px}
.hp-pill.hp-hide{display:none}
.hp-pill.hp-press{transform:scale(.96)}
/* suggestions */
.hp-sugg{display:grid;gap:8px;max-height:0;overflow:hidden;opacity:0;transition:max-height .35s ease,opacity .25s,margin .35s;margin-top:0}
.hp-sugg.hp-on{max-height:420px;opacity:1;margin-top:12px}
.hp-help{font-size:15px;line-height:20px;color:var(--text2)}
.hp-lab{font-weight:600;font-size:15px;line-height:20px;color:var(--text);margin-top:2px}
.hp-chip{display:flex;align-items:center;gap:12px;justify-self:start;max-width:100%;background:var(--section);border:1px solid #C3D4CE;border-radius:12px;padding:7px 14px 7px 12px;transition:transform .12s,background .2s}
.hp-chip svg{width:20px;height:20px;flex:none;color:var(--primary)}
.hp-chip b{display:block;font-weight:600;font-size:16px;line-height:21px;color:var(--text)}
.hp-chip small{display:block;font-size:14px;line-height:19px;color:var(--text2)}
.hp-chip.hp-press{transform:scale(.96)}
.hp-chip.hp-checked{background:var(--psoft);border-color:var(--primary)}
.hp-clear{display:none;text-align:center;font-weight:600;font-size:15px;line-height:20px;color:var(--primary);text-decoration:underline;text-decoration-color:rgba(53,108,118,.4);padding:12px 0 2px}
.hp-clear.hp-on{display:block}
/* results header */
.hp-rhead{display:flex;justify-content:space-between;align-items:center;padding:20px 16px 14px;opacity:0;transition:opacity .3s}
.hp-rhead.hp-on{opacity:1}
.hp-rcount{font-size:15px;color:var(--muted)}
.hp-mapbtn .hp-plate{margin:0}
/* result cards */
.hp-rlist{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:0 16px 20px}
.hp-rc{position:relative;min-width:0;background:var(--surface);border:1px solid var(--cardb);border-radius:8px 16px 8px 8px;box-shadow:0 1px 2px rgba(37,48,46,.05),0 8px 20px -12px rgba(37,48,46,.16);opacity:0;transform:translateY(16px);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .15s}
.hp-rc.hp-on{opacity:1;transform:none}
.hp-rc.hp-tap{transform:scale(.985);box-shadow:0 0 0 3px var(--psoft)}
.hp-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;height:84px;border-radius:8px 16px 0 0;overflow:hidden;background:var(--bg)}
.hp-app[dir="rtl"] .hp-strip{border-radius:16px 8px 0 0}
.hp-strip img{width:100%;height:84px;object-fit:cover}
.hp-rbody{padding:18px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.hp-rtop{display:flex;gap:12px;align-items:center;min-width:0}
.hp-rtop>div:last-child{min-width:0;flex:1}
.hp-logo{width:70px;height:70px;border-radius:14px;border:1px solid var(--border);background:var(--section);flex:none;overflow:hidden;display:grid;place-items:center}
.hp-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.hp-letter{color:var(--pdark);font-weight:700;font-size:26px}
.hp-rname{font-weight:600;font-size:19px;line-height:27px;color:var(--text);overflow-wrap:anywhere}
.hp-rcat{font-weight:500;font-size:14px;line-height:20px;color:var(--primary)}
.hp-rtl{font-size:15px;line-height:22px;color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-stars{display:flex;align-items:center;gap:3px;color:#C49A3C;font-size:14px;line-height:20px;direction:ltr;justify-content:flex-start}
.hp-app[dir="rtl"] .hp-stars{justify-content:flex-end}
.hp-stars b{font-weight:600;color:var(--text2);margin-inline-start:4px}.hp-stars small{font-weight:500;font-size:14px;color:var(--muted)}
.hp-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.hp-act,.hp-feat,.hp-size{display:inline-flex;align-items:center;gap:6px;height:28px;border-radius:10px;padding:0 9px;font-weight:600;font-size:14px;line-height:20px;white-space:nowrap}
.hp-act{color:var(--green);background:var(--greensoft);border:1px solid #C7D5CF}
.hp-act svg,.hp-feat svg{width:14px;height:14px;flex:none}
.hp-feat{color:#7C6029;background:var(--warnsoft)}
.hp-size{color:var(--primary);background:var(--psoft);font-weight:500}
.hp-rbio{font-size:15px;line-height:22px;color:var(--text2)}
.hp-hr{height:1px;background:var(--cardb);margin:2px 0}
.hp-meta{display:flex;flex-wrap:wrap;gap:6px}
.hp-mchip{display:inline-flex;align-items:center;gap:6px;height:26px;border-radius:999px;background:var(--psoft);padding:0 10px;font-weight:600;font-size:13px;line-height:18px;color:var(--pdark);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.hp-mchip svg{width:14px;height:14px;flex:none}
/* bottom tab bar */
.hp-tabbar{position:absolute;left:0;right:0;bottom:0;height:64px;background:var(--surface);box-shadow:0 -6px 28px rgba(37,48,46,.10);display:flex;justify-content:space-around;padding-top:6px;z-index:4}
.hp-tabbar span{display:grid;justify-items:center;align-content:start;gap:5px;width:60px}
.hp-tabbar img{width:26px;height:26px;opacity:.45}
.hp-tabbar span::after{content:"";width:22px;height:3px;border-radius:2px;background:linear-gradient(90deg,#F5DC8C,#C49A3C,#A8832C);opacity:0}
.hp-tabbar .hp-on img{opacity:1}.hp-tabbar .hp-on::after{opacity:1}
/* profile */
.hp-bbar{height:56px;display:flex;align-items:center;gap:12px;padding:0 16px;background:var(--bg)}
.hp-back>span{width:44px;height:38px;padding:0}.hp-back svg{width:22px;height:22px}
.hp-app[dir="rtl"] .hp-back svg{transform:scaleX(-1)}
.hp-cover{position:relative;height:269px;border-radius:0 0 24px 24px;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:24px 24px 0;text-align:center}
.hp-cover>svg{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hp-cover::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40px;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.25));z-index:0}
.hp-cover>*:not(svg){position:relative;z-index:1}
.hp-plogo{width:84px;height:84px;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(37,48,46,.14);display:grid;place-items:center;flex:none}
.hp-plogo img{width:100%;height:100%;object-fit:contain}
.hp-plogo.hp-letter{font-size:34px}
.hp-pname{font-weight:700;font-size:24px;line-height:30px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.35);margin-top:8px;max-width:310px}
.hp-pkind{font-weight:600;font-size:14px;line-height:20px;letter-spacing:1.6px;margin-top:8px}
.hp-app[dir="rtl"] .hp-pkind{letter-spacing:0}
.hp-pchips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:10px}
.hp-prate{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border-radius:10px;background:var(--warnsoft);color:#7C6029;font-weight:600;font-size:14px;direction:ltr}
.hp-prate svg{width:14px;height:14px}
.hp-pbody{padding:0 16px 130px;display:grid;gap:20px;margin-top:-32px;position:relative;z-index:2}
.hp-card{position:relative;background:var(--surface);border:1px solid var(--cardb);border-radius:8px 16px 8px 8px;box-shadow:0 1px 2px rgba(37,48,46,.05),0 8px 20px -12px rgba(37,48,46,.16);padding:18px;display:grid;gap:8px}
.hp-tick{position:absolute;top:10px;inset-inline-end:10px;width:9px;height:9px;border-top:1.5px solid var(--orange);border-inline-end:1.5px solid var(--orange)}
.hp-pbio{margin:0;font-weight:500;font-size:14px;line-height:20px;color:var(--text2);padding-inline-end:12px}
.hp-pbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.hp-obtn{height:44px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--bstrong);border-bottom:2px solid #C9D8D3;border-radius:8px 14px 8px 8px;font-weight:600;font-size:15px;line-height:22px;transition:transform .12s;white-space:nowrap}
.hp-app[dir="rtl"] .hp-obtn{border-radius:14px 8px 8px 8px}
.hp-obtn svg{width:18px;height:18px;flex:none}
.hp-obtn.hp-press{transform:scale(.96)}
.hp-head{display:grid;gap:10px;margin-bottom:2px}
.hp-headrow{display:flex;align-items:center;gap:10px}
.hp-hplate{width:32px;height:32px;border-radius:8px 11px 8px 8px;background:var(--psoft);display:grid;place-items:center;color:var(--primary);flex:none}
.hp-hplate svg{width:17px;height:17px}
.hp-headrow h3{margin:0;flex:1;font-family:var(--head);font-weight:700;font-size:17px;line-height:24px;color:var(--text)}
.hp-headrow small{font-weight:600;font-size:15px;line-height:22px;white-space:nowrap}
.hp-rule{display:flex;align-items:center;gap:6px}.hp-rule i{width:14px;height:2px;border-radius:1px;background:var(--orange)}
.hp-rule u{flex:1;height:1px;background:linear-gradient(90deg,#C7D5CF,rgba(199,213,207,0))}
.hp-app[dir="rtl"] .hp-rule u{background:linear-gradient(270deg,#C7D5CF,rgba(199,213,207,0))}
.hp-abio{font-size:17px;line-height:25px;color:var(--text2)}
.hp-multi{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:22px;color:var(--green)}
.hp-multi svg{width:18px;height:18px;flex:none;margin-top:2px}
.hp-reveal{background:linear-gradient(#3F7A85,#356C76,#2F626B);border-color:#2F626B;color:#fff}
.hp-reveal::after{border-bottom-color:rgba(0,0,0,.12)}
.hp-reveal h4{margin:0;font-weight:600;font-size:19px;line-height:27px}
.hp-reveal p{margin:0;font-size:14px;line-height:20px}
.hp-reveal .hp-stamp{justify-self:center;margin-top:6px}
.hp-stats{padding:14px 18px;display:grid;gap:0;background-color:#fff;background-image:linear-gradient(rgba(53,108,118,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(53,108,118,.05) 1px,transparent 1px);background-size:12px 12px}
.hp-statrow{display:flex}
.hp-stat{flex:1;text-align:center;display:grid;gap:2px;padding-bottom:10px}
.hp-stat+.hp-stat{border-inline-start:1px solid var(--bstrong)}
.hp-stat b{font-family:var(--head);font-weight:700;font-size:28px;line-height:34px;color:var(--text);font-variant-numeric:tabular-nums}
.hp-stat small{font-weight:600;font-size:13px;line-height:17px;letter-spacing:.5px;color:var(--text2)}
.hp-app[dir="rtl"] .hp-stat small{letter-spacing:0}
.hp-ruler{height:8px;background:repeating-linear-gradient(90deg,#C7D5CF 0 1px,transparent 1px 8px);border-top:1px solid #C7D5CF;opacity:.9}
.hp-tchips{display:flex;flex-wrap:wrap;gap:7px}
.hp-tchip{height:32px;display:inline-flex;align-items:center;padding:0 10px;border-radius:10px;background:linear-gradient(#3F7A85,#356C76,#2F626B);color:#fff;font-weight:600;font-size:14px;line-height:20px;white-space:nowrap}
.hp-base{font-size:15px;line-height:22px;color:var(--text2)}
.hp-pf{display:grid;gap:6px}
.hp-pf img{width:100%;object-fit:cover;border-radius:10px}
.hp-pf .hp-hero{height:180px}
.hp-two{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.hp-two img{height:110px}
.hp-sticky{position:absolute;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--border);border-radius:18px 18px 0 0;padding:14px 16px 26px;display:flex;gap:10px;transform:translateY(110%);transition:transform .45s cubic-bezier(.2,.8,.2,1);z-index:6;box-shadow:0 -6px 28px rgba(37,48,46,.18)}
.hp-sticky.hp-on{transform:none}
.hp-sticky .hp-stamp{flex:1}.hp-sticky .hp-stamp>span{width:100%}
.hp-sticky .hp-stamp svg{width:22px;height:22px}
.hp-call.hp-pulse>span{animation:hp-pulse 1.1s ease-out 2}
@keyframes hp-pulse{0%{box-shadow:0 0 0 0 rgba(226,130,53,.7)}100%{box-shadow:0 0 0 16px rgba(226,130,53,0)}}
.hp-finger{position:absolute;left:0;top:0;width:44px;height:44px;border-radius:50%;background:rgba(53,108,118,.28);border:2px solid rgba(255,255,255,.9);z-index:40;pointer-events:none;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s,left .5s ease,top .5s ease}
.hp-finger.hp-on{opacity:1;transform:scale(1)}
@media (prefers-reduced-motion:reduce){.hp-app *{transition:none!important;animation:none!important}}
