:root{
  --blue:#0D4D8B;
  --blue2:#0F66A7;
  --green:#22C55E;
  --bg:#F4F8FC;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#dce7f2;
  --shadow:0 12px 30px rgba(13,77,139,.12);
  --radius:28px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.mobile-shell{max-width:430px;margin:0 auto;background:var(--bg);min-height:100vh;position:relative;padding-bottom:110px}
.topbar{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:rgba(13,77,139,.95);backdrop-filter:blur(10px);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.topbar__left{display:flex;gap:12px;align-items:center;min-width:0}
.topbar__text{min-width:0}
.topbar__text .eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:10px;color:rgba(255,255,255,.72)}
.topbar__text h1{margin:2px 0 0;font-size:18px;line-height:1.2}
.topbar__text p{margin:3px 0 0;font-size:12px;color:rgba(255,255,255,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brandmark{width:44px;height:44px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.1);display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.brandmark img{width:32px;height:32px}
.topbar__right{display:flex;gap:8px}
.icon-btn{width:42px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.1);display:grid;place-items:center;color:#fff;cursor:pointer}
.icon-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.page{padding:16px}
.hero{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.hero__row{display:flex;justify-content:space-between;gap:16px}
.hero h2{margin:4px 0;font-size:28px;line-height:1.15}
.hero p{margin:0;color:rgba(255,255,255,.84)}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.2em;color:var(--muted)}
.hero .eyebrow{color:rgba(255,255,255,.66)}
.hero__icon{width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.1);display:grid;place-items:center}
.hero__icon svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:2}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}
.section-title h3{margin:0;font-size:20px}
.section-link{color:var(--blue);font-weight:600;font-size:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 24px rgba(2,6,23,.04)}
.card--plain{border:0;box-shadow:var(--shadow)}
.card__body{padding:16px}
.action-card .icon-tile,.category .icon-tile,.product .icon-tile,.profile .avatar{width:52px;height:52px;border-radius:18px;display:grid;place-items:center}
.icon-tile.blue{background:rgba(13,77,139,.1);color:var(--blue)}
.icon-tile.green{background:rgba(34,197,94,.12);color:var(--green)}
.icon-tile svg,.category .icon-tile svg,.product .icon-tile svg,.wa-float .icon svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2}
.action-card h4,.product__name{margin:10px 0 4px;font-size:18px}
.muted{color:var(--muted)}
.small{font-size:13px}
.service-card__head,.history-card__head,.profile{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.badge{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#eef2f7;border:1px solid #dbe3eb;font-size:12px;font-weight:700;text-transform:capitalize}
.badge-paid{background:#dcfce7;border-color:#bbf7d0;color:#15803d}
.badge-unpaid{background:#fef3c7;border-color:#fde68a;color:#b45309}
.badge-progress{background:#e0f2fe;border-color:#bae6fd;color:#0369a1}
.badge-partial{background:#dbeafe;border-color:#bfdbfe;color:#1d4ed8}
.badge-cancelled{background:#ffe4e6;border-color:#fecdd3;color:#be123c}
.progress{height:8px;background:#eaf1f8;border-radius:999px;overflow:hidden}
.progress > span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#38bdf8);border-radius:999px}
.btn,.btn-outline{height:46px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;font-weight:700;cursor:pointer;border:0}
.btn{background:var(--blue);color:#fff}
.btn.white{background:#fff;color:var(--blue)}
.btn-outline{background:transparent;border:1px solid var(--line);color:var(--text)}
.btn-outline.inverse{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff}
.btn-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.category .card__body{padding:14px 8px;text-align:center}
.category .icon-tile{margin:0 auto 8px;background:rgba(13,77,139,.1);color:var(--blue)}
.promo{background:linear-gradient(135deg,#22c55e,#4ade80);color:#fff;border:0}
.promo .eyebrow{color:rgba(255,255,255,.72)}
.product{display:flex;align-items:center;gap:14px}
.product .icon-tile{background:#f4f8fc;color:var(--blue)}
.product__meta{flex:1;min-width:0}
.product__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product__price{color:var(--blue);font-weight:800}
.chev svg{width:20px;height:20px;stroke:#94a3b8}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100vw);display:grid;grid-template-columns:repeat(4,1fr);padding:8px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-top:1px solid #e2e8f0;z-index:40}
.bottom-nav__item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;border-radius:18px;color:#94a3b8;font-size:12px;font-weight:700}
.bottom-nav__item .icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center}
.bottom-nav__item.active{color:var(--blue)}
.bottom-nav__item.active .icon{background:rgba(13,77,139,.1)}
.bottom-nav svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
.wa-float{position:fixed;right:max(14px, calc((100vw - min(430px,100vw))/2 + 14px));bottom:88px;z-index:41;background:#fff;border-radius:999px;padding:10px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 18px 30px rgba(2,6,23,.16);border:1px solid #e2e8f0}
.wa-float .icon{width:48px;height:48px;border-radius:999px;background:#22c55e;color:#fff;display:grid;place-items:center}
.wa-float strong{display:block;font-size:14px}
.wa-float small{display:block;color:var(--muted)}
.auth-shell{min-height:100vh;background:linear-gradient(180deg,var(--blue),#0e5b9b,#0a3970);padding:22px 18px;color:#fff}
.auth-brand{text-align:center;padding-top:40px}
.auth-brand .app-icon{width:96px;height:96px;border-radius:30px;margin:0 auto 20px;background:rgba(255,255,255,.12);display:grid;place-items:center;box-shadow:0 20px 40px rgba(0,0,0,.15),inset 0 0 0 1px rgba(255,255,255,.12)}
.auth-brand .app-icon img{width:58px;height:58px}
.auth-brand h1{margin:0;font-size:42px;letter-spacing:-.03em}
.auth-brand p{margin:8px 0 0;color:rgba(255,255,255,.8)}
.auth-card{margin-top:28px;background:rgba(255,255,255,.96);color:var(--text);border-radius:30px;padding:24px;box-shadow:0 30px 50px rgba(0,0,0,.15)}
.auth-card h2{margin:0 0 6px;font-size:28px}
.field{margin-bottom:14px}
.field label{display:block;margin-bottom:8px;font-weight:700;font-size:14px}
.input-wrap{position:relative}
.input{width:100%;height:50px;padding:0 16px;border-radius:18px;border:1px solid var(--line);background:#fff}
.inline-note,.remember{padding:14px 16px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7;color:var(--muted)}
.remember{display:flex;justify-content:space-between;align-items:center}
.switch{appearance:none;width:46px;height:28px;background:#cbd5e1;border-radius:999px;position:relative;cursor:pointer;outline:none}
.switch:checked{background:var(--green)}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;background:#fff;border-radius:50%;transition:.2s}
.switch:checked::after{left:21px}
.auth-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.alerts-drawer{position:fixed;right:-100%;top:0;height:100vh;width:min(92vw,430px);background:#fff;z-index:60;transition:right .25s ease;box-shadow:-20px 0 40px rgba(2,6,23,.16)}
.alerts-drawer.open{right:0}
.alerts-drawer__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e2e8f0}
.alerts-drawer__body{padding:16px;display:grid;gap:12px}
.alert-card{display:flex;gap:12px;padding:16px;border-radius:24px;border:1px solid var(--line);box-shadow:0 8px 24px rgba(2,6,23,.04)}
.alert-card__icon .icon{width:42px;height:42px;border-radius:16px;background:#eff6ff;color:var(--blue);display:grid;place-items:center}
.alert-card__icon svg{width:20px;height:20px}
.alert-card p{margin:6px 0 0;color:var(--muted);font-size:14px}
.drawer-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.45);opacity:0;pointer-events:none;transition:opacity .2s;z-index:55}
.drawer-backdrop.show{opacity:1;pointer-events:auto}
.timeline{display:grid;gap:14px}
.timeline__row{display:grid;grid-template-columns:40px 1fr;gap:12px}
.timeline__rail{display:flex;flex-direction:column;align-items:center}
.timeline__dot{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;background:#eef2f7;color:#94a3b8}
.timeline__dot.done{background:#22c55e;color:#fff}
.timeline__line{width:2px;flex:1;background:#e2e8f0;margin-top:6px}
.timeline__line.done{background:#86efac}
.info-grid{display:grid;gap:10px}
.info-grid__row{display:grid;grid-template-columns:100px 1fr;gap:12px}
.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-radius:20px;border:1px solid #eef2f7;background:#f8fafc}
.setting-row__left{display:flex;align-items:center;gap:12px}
.profile .avatar{background:var(--blue);color:#fff;font-weight:800;font-size:22px}
.pill{padding:7px 12px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:700;font-size:12px}
.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#fff;padding:8px;border-radius:18px;box-shadow:0 8px 24px rgba(2,6,23,.04)}
.tabs a{padding:10px 8px;border-radius:14px;text-align:center;color:#64748b;font-size:13px;font-weight:700}
.tabs a.active{background:#eff6ff;color:var(--blue)}
.center-note{padding:20px;border-radius:20px;background:#fff;border:1px solid var(--line);color:var(--muted)}
.logo-line{display:flex;align-items:center;gap:10px}
.logo-line img{width:44px;height:44px}
.icon svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:380px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .btn-row,.grid-2{grid-template-columns:1fr}
  .auth-actions{grid-template-columns:1fr}
  .wa-float{padding:10px}
  .wa-float div{display:none}
}



/* booking service */
.action-card--link{display:block}
.booking-page{padding-bottom:140px}
.booking-hero{text-align:center;padding:10px 0 18px}
.booking-hero__logo{width:120px;height:120px;margin:0 auto 14px;border-radius:28px;background:linear-gradient(135deg,rgba(13,77,139,.08),rgba(15,102,167,.16));display:grid;place-items:center;box-shadow:var(--shadow)}
.booking-hero__logo img{width:88px;height:88px;object-fit:contain}
.booking-hero h2{margin:0 0 6px;font-size:34px;line-height:1.08;text-transform:capitalize}
.booking-hero p{margin:0;color:var(--muted);font-size:15px}
.booking-form{display:flex;flex-direction:column;gap:14px}
.booking-section{border-radius:28px;overflow:hidden}
.booking-section__title{font-size:22px;font-weight:800;line-height:1.25;margin-bottom:18px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:8px}
.field span{font-weight:700;font-size:15px}
.field small{color:var(--muted);font-size:12px;line-height:1.45}
.field--full{grid-column:1/-1}
.input{width:100%;min-height:52px;padding:0 16px;border-radius:18px;border:1px solid var(--line);background:#fff;outline:none;transition:border-color .18s ease, box-shadow .18s ease}
.input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(13,77,139,.08)}
select.input{appearance:none;background-image:linear-gradient(45deg,transparent 50%, var(--blue) 50%),linear-gradient(135deg, var(--blue) 50%, transparent 50%);background-position:calc(100% - 22px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);background-size:8px 8px,8px 8px;background-repeat:no-repeat;padding-right:42px}
.textarea{min-height:120px;padding:14px 16px;resize:vertical}
.upload-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px dashed #bdd3e7;border-radius:22px;background:#f9fcff}
.upload-card strong{font-size:16px}
.upload-card span{font-size:13px;color:var(--muted);font-weight:500}
.upload-card input[type=file]{width:100%;padding:10px;border-radius:14px;border:1px solid var(--line);background:#fff}
.booking-terms{padding:2px 6px}
.checkline{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--text);line-height:1.5}
.checkline input{width:20px;height:20px;margin-top:2px}
.booking-submit{position:sticky;bottom:88px;z-index:12}
.booking-btn{width:100%;justify-content:center;box-shadow:0 16px 28px rgba(13,77,139,.2)}
.alert-stack{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.alert-error{padding:14px 16px;border-radius:18px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-weight:600}
.booking-success{text-align:center}
.booking-success__icon{width:74px;height:74px;margin:0 auto 14px;border-radius:22px;background:#dcfce7;color:#15803d;display:grid;place-items:center}
.booking-success__icon svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:2}
.booking-success h2{margin:0 0 8px;font-size:28px}
.booking-success p{margin:0 auto 18px;color:var(--muted);max-width:520px}
.booking-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left;margin:18px 0}
.booking-summary div{padding:14px;border-radius:18px;background:#f8fbff;border:1px solid var(--line)}
.booking-summary span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.booking-summary strong{display:block;margin-top:6px;line-height:1.45}

@media (max-width: 430px){
  .booking-hero h2{font-size:28px}
  .field-grid,.booking-summary{grid-template-columns:1fr}
  .booking-submit{bottom:94px}
}


/* ===== booking service refined patch ===== */
.booking-page--refined{padding-top:10px;padding-bottom:138px}
.booking-hero--center{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:18px}
.booking-hero--center h2{margin:10px 0 6px;font-size:30px;line-height:1.12;text-align:center}
.booking-hero--center p{margin:0;text-align:center}
.booking-hero__logo--image{width:148px;height:148px;padding:10px;border-radius:999px;background:#fff;box-shadow:0 14px 34px rgba(13,77,139,.12);display:flex;align-items:center;justify-content:center}
.booking-hero__logo--image img{width:118px;height:118px;object-fit:contain;display:block}
.booking-form--refined{gap:16px}
.booking-section .card__body{padding:18px}
.booking-section__title{font-size:20px;font-weight:800;line-height:1.25;margin-bottom:16px;color:var(--text)}
.field-grid--icons{gap:15px}
.field-icon .input-wrap{position:relative}
.input-wrap .input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:var(--blue);opacity:.9;pointer-events:none}
.input-wrap .input-icon svg{width:18px;height:18px}
.field-icon .input,.field-icon select.input{padding-left:46px}
.input-wrap--textarea .input-icon{top:18px;transform:none}
.input-wrap--textarea .textarea{padding-top:14px}
.booking-section .field span{font-size:14px;font-weight:800;color:var(--text)}
.booking-section .field small{margin-top:2px}
.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.upload-card--preview{padding:16px;border-radius:22px}
.upload-card--preview strong{font-size:15px}
.upload-card--preview span{line-height:1.45}
.upload-card--wide{grid-column:1/-1}
.upload-preview{margin-top:10px;background:#fff;border:1px solid var(--line);border-radius:18px;min-height:168px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.upload-preview__img{width:100%;height:168px;object-fit:cover;display:none}
.upload-preview__placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center;padding:18px}
.upload-preview__placeholder .icon{width:28px;height:28px}
.upload-preview__placeholder em{font-style:normal;font-size:13px}
.upload-preview__file{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(15,23,42,.78);color:#fff;border-radius:12px;padding:8px 10px;font-size:12px;line-height:1.35;word-break:break-word}
.upload-card--preview input[type=file]{margin-top:10px;border-radius:14px}
.booking-terms--clean{padding:2px 2px 0}
.booking-submit--clean{position:sticky;bottom:90px}
.booking-btn--slim{min-height:54px;border-radius:18px;padding:0 18px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 14px 28px rgba(13,77,139,.16)}
.booking-btn__icon{display:inline-flex;align-items:center;justify-content:center}
.booking-btn__icon .icon{width:18px;height:18px}
.booking-success--refined{text-align:center}
.booking-success__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn-row{display:flex;gap:10px}
.btn-row > *{flex:1}

@media (max-width:430px){
  .booking-hero__logo--image{width:132px;height:132px}
  .booking-hero__logo--image img{width:106px;height:106px}
  .booking-hero--center h2{font-size:26px}
  .upload-grid,.booking-success__actions,.btn-row{grid-template-columns:1fr;display:grid}
}


/* ===== booking service alignment patch ===== */
.field--customer-main .input-wrap{
  min-height: 52px;
}
.upload-grid{
  align-items: stretch;
}
.upload-card--preview{
  display:flex;
  flex-direction:column;
  height:100%;
}
.upload-card--preview .upload-preview{
  flex:1 1 auto;
  min-height:190px;
}
.upload-card--preview input[type=file]{
  margin-top:12px;
}
.upload-card--preview:not(.upload-card--wide){
  min-height: 100%;
}
.upload-card--preview strong{
  min-height: 22px;
}
.upload-card--preview span{
  min-height: 38px;
  display:block;
}
@media (min-width:431px){
  .upload-grid{
    grid-auto-rows: 1fr;
  }
}


/* ===== desktop and index full refinement ===== */
.mobile-shell{max-width:1240px;padding-bottom:110px}
.page--dashboard{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.95fr);gap:20px;align-items:start}
.dashboard-main,.dashboard-side{min-width:0}
.hero--large{padding:22px}
.dashboard-actions .action-card .card__body{min-height:132px}
.service-list-home{display:flex;flex-direction:column;gap:12px}
.service-category-grid .card__body{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:124px}
.service-category-grid__label{margin-top:10px;text-align:center}
.product-side-grid{display:grid;grid-template-columns:1fr;gap:12px}
.market-strip--compact .card__body{padding:12px 14px}
.product--pro-compact{gap:12px}
.product--pro-compact .product__thumb{width:76px;min-width:76px;height:76px}
.product--pro-compact .product__name{font-size:16px;margin-top:2px}
.product--pro-compact .product__price{font-size:16px;font-weight:800;color:var(--blue)}
.promo--desktop{margin-top:0}
.service-card--home .card__body{padding:18px}
.section-title h3{text-transform:none}
.topbar__text h1,.product__name,h4,strong{letter-spacing:0}
@media (max-width:1024px){
  .mobile-shell{max-width:960px}
}
@media (max-width:860px){
  .mobile-shell{max-width:430px}
  .page--dashboard{grid-template-columns:1fr;gap:0}
  .dashboard-side{margin-top:6px}
}


/* ===== overlap hotfix ===== */
.icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:0;
  width:20px;
  height:20px;
}
.icon svg{
  width:20px !important;
  height:20px !important;
  min-width:20px;
  min-height:20px;
  display:block;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.btn .icon,.btn-outline .icon{width:18px;height:18px}
.btn .icon svg,.btn-outline .icon svg{width:18px !important;height:18px !important}
.icon-tile .icon{width:28px;height:28px}
.icon-tile .icon svg{width:28px !important;height:28px !important}
.market-search__icon .icon,
.market-search__icon .icon svg,
.market-card__media-icon .icon,
.market-card__media-icon .icon svg,
.market-featured__fallback .icon,
.market-featured__fallback .icon svg,
.product-detail-pro__fallback .icon,
.product-detail-pro__fallback .icon svg{
  width:28px !important;
  height:28px !important;
}
.mobile-shell{
  max-width:430px !important;
  width:100%;
  margin:0 auto;
  overflow-x:hidden;
  padding-bottom:96px !important;
}
img{max-width:100%;height:auto;display:block}
.page,.card,.hero,.topbar,.bottom-nav,.btn-row,.grid-2,.grid-4,
.market-page,.product-detail-page,.page--dashboard,.page--tracking,.page--tracking-detail{
  max-width:100%;
}
.page--dashboard{
  display:block !important;
}
.dashboard-side,.dashboard-main{
  width:100%;
}
.hero__row{
  align-items:flex-start;
}
.hero__icon{
  width:54px;
  height:54px;
  min-width:54px;
}
.hero .btn-row,
.tracking-card__actions,
.tracking-fixed-actions,
.product-detail-pro__sticky,
.btn-row{
  grid-template-columns:1fr !important;
  display:grid !important;
}
.product-detail-pro__sticky,
.tracking-fixed-actions{
  position:static !important;
  bottom:auto !important;
  z-index:1 !important;
  background:transparent !important;
  padding-top:0 !important;
}
.market-hero,
.market-featured,
.market-grid,
.product-detail-pro,
.product-detail-pro__highlights,
.tracking-detail-summary,
.tracking-card__finance,
.tracking-summary-cards,
.detail-stat-grid{
  display:block !important;
}
.market-featured__item,
.market-card,
.tracking-card,
.tracking-history-card,
.product-detail-pro__gallery,
.product-detail-pro__info{
  width:100%;
}
.market-featured__media,
.market-card__media--pro,
.product-detail-pro__image{
  min-height:auto !important;
  height:auto !important;
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.market-featured__media img,
.market-card__media--pro img,
.product-detail-pro__image img,
.product__thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.product-detail-pro__image{
  max-height:300px;
}
.product-detail-pro__highlights{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px;
}
.product-highlight{
  margin-bottom:0 !important;
}
.market-search{
  position:relative;
  margin:14px 0 18px;
}
.market-search__icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  z-index:2;
}
.market-search__input{
  width:100%;
  min-height:48px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:0 14px 0 44px;
  background:#fff;
  outline:none;
}
.wa-float{display:none !important;}
.icon-btn--wa{
  background:#25D366 !important;
}
.service-meta-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.service-stats{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.service-stats div{
  min-width:0;
}
.tracking-mini-steps{
  grid-template-columns:1fr 1fr !important;
}
.tracking-info-row{
  grid-template-columns:1fr !important;
}
.line-item,.tracking-list__row,.tracking-history-card .card__body{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.topbar__text h1{
  text-transform:none;
}
@media (min-width:861px){
  .mobile-shell{
    max-width:1180px !important;
  }
  .page--dashboard{
    display:grid !important;
    grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr) !important;
    gap:22px;
    align-items:start;
  }
  .hero .btn-row{
    grid-template-columns:1fr 1fr !important;
  }
  .btn-row{
    grid-template-columns:repeat(2,1fr) !important;
  }
  .grid-4{
    grid-template-columns:repeat(4,1fr);
  }
  .market-featured{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  .market-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  .product-detail-pro{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:20px;
    align-items:start;
  }
  .product-detail-pro__highlights{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .tracking-detail-summary,
  .tracking-card__finance,
  .tracking-summary-cards,
  .detail-stat-grid,
  .tracking-card__actions,
  .tracking-fixed-actions{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px;
  }
}


/* ===== final index + dashboard refinement patch ===== */
.entry-page{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:16px 0 6px;
}
.entry-hero{
  overflow:hidden;
  border:0;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  box-shadow:var(--shadow);
}
.entry-hero .card__body{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:16px;
  padding:26px 20px;
}
.entry-brandmark{
  width:112px;
  height:112px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 36px rgba(2,6,23,.18), inset 0 0 0 1px rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.entry-brandmark img{
  width:72px;
  height:72px;
  object-fit:contain;
}
.entry-copy .eyebrow{
  color:rgba(255,255,255,.72);
  margin-bottom:8px;
}
.entry-copy h1{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.12;
  color:#fff;
}
.entry-copy p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.7;
}
.entry-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.entry-card{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 10px 28px rgba(2,6,23,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.entry-card.is-active{
  border-color:rgba(13,77,139,.28);
  box-shadow:0 16px 30px rgba(13,77,139,.12);
  transform:translateY(-1px);
}
.entry-card--green.is-active{border-color:rgba(34,197,94,.3)}
.entry-card--gold.is-active{border-color:rgba(245,158,11,.35)}
.entry-card__icon{
  width:56px;
  min-width:56px;
  height:56px;
  border-radius:18px;
}
.entry-card__body{min-width:0}
.entry-card__body h3{
  margin:2px 0 6px;
  font-size:18px;
  line-height:1.25;
  color:var(--text);
}
.entry-card__body p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.entry-flow{
  overflow:hidden;
}
.entry-flow .card__body{
  padding:18px;
}
.entry-flow__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.entry-flow__top h2{
  margin:4px 0 4px;
  font-size:24px;
  line-height:1.15;
}
.entry-flow__top p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.entry-flow__icon{
  width:52px;
  min-width:52px;
  height:52px;
}
.entry-question{
  font-size:18px;
  font-weight:800;
  line-height:1.3;
  color:var(--text);
}
.entry-question__sub{
  margin:6px 0 0;
  line-height:1.6;
}
.entry-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:14px;
}
.page--dashboard{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.dashboard-block{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.dashboard-actions{
  margin-top:0 !important;
}
.dashboard-actions .card__body{
  min-height:132px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.service-list-home{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.service-card--home{
  overflow:hidden;
}
.service-card--home .card__body{
  padding:18px;
}
.service-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.service-card__head > div{
  min-width:0;
  flex:1;
}
.service-card__title{
  display:block;
  margin:4px 0 0;
  font-size:18px;
  line-height:1.35;
  color:var(--text);
  word-break:break-word;
}
.service-card__sub{
  margin-top:4px;
  line-height:1.45;
  word-break:break-word;
}
.service-card__complaint{
  margin:0 0 12px;
  line-height:1.55;
  word-break:break-word;
}
.service-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}
.service-meta-row span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.service-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.service-stats div{
  background:#f8fbff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 13px;
  min-width:0;
}
.service-stats span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:4px;
}
.service-stats strong{
  display:block;
  font-size:15px;
  line-height:1.4;
  color:var(--text);
  word-break:break-word;
}
.service-card__cta{
  margin-top:14px;
}
.service-category-grid{
  gap:10px;
}
.service-category-grid .card__body{
  min-height:116px;
}
.product-side-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.market-strip--compact .card__body{
  padding:12px 14px;
}
.product--pro-compact{
  gap:12px;
}
.product--pro-compact .product__thumb{
  width:72px;
  min-width:72px;
  height:72px;
  overflow:hidden;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
}
.product--pro-compact .product__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product--pro-compact .product__name{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.4;
  margin:3px 0 4px;
}
.auth-selection{
  overflow:hidden;
}
.auth-selection__body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
}
.auth-selection__content{
  min-width:0;
  flex:1;
}
.auth-selection__body strong{
  display:block;
  margin-top:4px;
  font-size:18px;
  line-height:1.3;
  color:var(--text);
}
.auth-selection__body .small{
  display:block;
  margin-top:4px;
  line-height:1.45;
  color:var(--muted);
}
.auth-selection__body .pill{
  flex:0 0 auto;
  min-width:88px;
  text-align:center;
  white-space:nowrap;
}
.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:8px;
  background:#f7fafc;
  border:1px solid #e7eef7;
  border-radius:24px;
  margin-bottom:18px;
}
.auth-tabs a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 14px;
  text-align:center;
  border-radius:18px;
  font-weight:800;
  color:#64748b;
  line-height:1.3;
  background:transparent;
}
.auth-tabs a.active{
  background:#fff;
  color:var(--blue);
  box-shadow:0 8px 18px rgba(13,77,139,.08);
}
.auth-card__header h2{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.2;
}
.auth-card__header p{
  line-height:1.6;
}
@media (max-width:480px){
  .entry-copy h1{font-size:27px}
  .entry-brandmark{width:96px;height:96px}
  .entry-brandmark img{width:62px;height:62px}
  .entry-flow__top h2{font-size:22px}
  .service-card__head{flex-direction:column;align-items:flex-start}
  .service-card__head .badge{align-self:flex-start}
  .service-stats{grid-template-columns:1fr}
  .auth-selection__body{align-items:flex-start}
  .auth-selection__body .pill{min-width:80px}
  .auth-tabs a{min-height:52px;font-size:15px}
}
@media (min-width:861px){
  .page--dashboard{
    grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);
    gap:20px;
    align-items:start;
  }
  .entry-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .entry-actions{
    grid-template-columns:1fr 1fr;
  }
}


.icon-btn--with-badge{position:relative}
.icon-badge{position:absolute;top:-4px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(239,68,68,.28)}
.alert-card--link{text-decoration:none;color:inherit}
.alert-card.is-unread,.alert-card--link.is-unread{border-color:#bfdbfe;background:#f8fbff}
.messages-list{display:grid;gap:14px}
.message-card{background:#fff;border-radius:22px;padding:16px;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(2,6,23,.05)}
.message-card.is-unread{border-color:#bfdbfe;background:#f8fbff}
.message-card__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.message-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.message-card__meta span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f8fafc;color:#475569;font-size:12px;font-weight:700}
.message-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
@media (max-width:480px){.message-actions{grid-template-columns:1fr}}
