/* Mijn Huijzers: isolated, presentation-only customer portal. */
body.hgt-portal-demo { --p-ink:#222523; --p-muted:#707572; --p-line:#e7e9e6; --p-bg:#f5f6f4; --p-red:#ce132d; font:14px/1.6 var(--hgt-body); background:var(--p-bg); color:var(--p-ink); }
.hgt-portal-demo h1,.hgt-portal-demo h2,.hgt-portal-demo h3,.hgt-portal-demo h4 { letter-spacing:-.025em; }
.hgt-portal-demo a { color:inherit; }
.hgt-portal-demo button,.hgt-portal-demo input,.hgt-portal-demo select,.hgt-portal-demo textarea { font:inherit; }
.portal-skip { position:fixed; top:-80px; left:15px; z-index:3000; padding:12px 20px; background:#fff; }
.portal-skip:focus { top:10px; }
.p-icon { display:inline-block; flex-shrink:0; vertical-align:middle; }
.p-kicker { font:700 10px/1.6 var(--hgt-heading); text-transform:uppercase; letter-spacing:.13em; color:var(--p-red); margin:0 0 12px; }
.p-muted,.p-block-muted { color:var(--p-muted); }
.p-block-muted { display:block; font-size:11px; margin-top:4px; }
.p-text-danger { color:#b82a38; font-weight:600; }
.p-demo-ribbon { position:sticky; top:0; z-index:1030; min-height:36px; display:flex; align-items:center; justify-content:space-between; gap:15px; background:#fcebee; border-bottom:1px solid #f2d6db; color:#842435; padding:5px 25px; font-size:11px; }
.p-demo-ribbon strong { font:800 10px var(--hgt-heading); letter-spacing:.12em; margin-right:15px; }
.p-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:40px; padding:9px 16px; border:1px solid transparent; border-radius:9px; font:650 12px/1.5 var(--hgt-heading)!important; cursor:pointer; text-decoration:none; transition:background .15s,box-shadow .15s; }
.p-btn-primary,.hgt-portal-demo a.p-btn-primary { background:var(--p-red); color:#fff; border-color:var(--p-red); }
.p-btn-primary:hover { background:#ad1027; color:white; }
.p-btn-secondary,.hgt-portal-demo a.p-btn-secondary { background:#fff; border-color:#dce0dc; color:var(--p-ink); }
.p-btn-secondary:hover { background:#f5f6f4; border-color:#b9c0ba; }
.p-btn-text,.hgt-portal-demo a.p-btn-text { min-height:0; padding:0; color:var(--p-red); border:0; background:none; font-size:11px!important; }
.p-btn-small { min-height:32px; padding:5px 12px; border-color:#dce0dc; color:#404742; background:white; font-size:11px!important; }
.p-btn-ribbon { padding:0 6px; min-height:24px; color:#842435; background:transparent; font-size:10px!important; text-decoration:underline; }
.p-btn-full { width:100%; }
.p-link { color:var(--p-red)!important; border:0; background:none; padding:3px 0; font-size:12px!important; text-decoration:none; cursor:pointer; display:inline-flex; gap:8px; align-items:center; }
.p-link:hover { text-decoration:underline; text-underline-offset:3px; }
.p-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:6px; font:650 10px/1.4 var(--hgt-heading); white-space:nowrap; color:#656d67; background:#f0f2ef; }
.p-badge-success { color:#237046; background:#eaf5ee; }
.p-badge-warning { color:#996515; background:#fff4de; }
.p-badge-danger { color:#b52c3e; background:#fcebee; }
.p-badge-info { color:#3a6697; background:#eaf0f9; }
.p-badge-red { color:var(--p-red); background:#fcebee; }
.p-icon-button { display:inline-flex; align-items:center; justify-content:center; background:none; color:#626b64; border:0; border-radius:7px; width:34px; height:34px; padding:4px; cursor:pointer; }
.p-icon-button:hover { background:#f2f4f0; color:var(--p-red); }
.p-avatar { display:inline-flex; justify-content:center; align-items:center; width:34px; height:34px; border-radius:50%; flex-shrink:0; background:#f8e9ec; color:var(--p-red); font:700 11px var(--hgt-heading); }
.p-app-layout { display:grid; grid-template-columns:236px minmax(0,1fr); min-height:calc(100svh - 36px); }
.p-sidebar { --bs-offcanvas-width:260px; background:#1d211f!important; color:#e7eae7; padding:26px 16px 18px; position:sticky; top:36px; height:calc(100svh - 36px); display:flex; flex-direction:column; }
.p-sidebar-brand { position:relative; padding:0 14px 24px; }
.p-sidebar-brand img { width:157px; height:auto; }
.p-sidebar-brand>span { display:block; font:600 10px var(--hgt-heading); letter-spacing:.12em; text-transform:uppercase; color:#a7afa9; margin-top:15px; }
.p-mobile-close { display:none; position:absolute; right:0; top:0; border:0; color:#fff; background:none; }
.p-tenant-box { display:flex; align-items:center; gap:10px; padding:14px 12px; margin-bottom:24px; border:1px solid #ffffff1f; border-radius:9px; }
.p-tenant-box>.p-icon { color:#a5b0a7; }
.p-tenant-box strong { display:block; font:650 12px/1.5 var(--hgt-heading); color:white; }
.p-tenant-box span { display:block; font-size:10px; color:#a7afa9; }
.p-side-nav { display:flex; flex-direction:column; gap:4px; }
.p-nav-link { padding:12px 13px; display:flex; gap:12px; align-items:center; border-radius:8px; color:#b9c0bb!important; font:550 12px/1.4 var(--hgt-heading); }
.p-nav-link>.p-icon { color:#9ea9a1; }
.p-nav-link:hover { background:#ffffff0a; color:#fff!important; }
.p-nav-link.is-active { background:#ce132d; color:white!important; }
.p-nav-link.is-active>.p-icon { color:#fff; }
.p-nav-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; margin-left:auto; font-size:10px; background:#ffffff13; color:#dce2dc; border-radius:5px; }
.p-nav-link.is-active .p-nav-count { color:#fff; background:#ffffff2c; }
.p-sidebar-bottom { margin-top:auto; padding:27px 10px 0; display:flex; flex-direction:column; gap:15px; }
.p-sidebar-bottom button,.p-sidebar-bottom a { color:#a9b3ac; border:0; background:none; text-align:left; padding:0; display:flex; align-items:center; gap:10px; font-size:11px; }
.p-sidebar-bottom a { font-size:10px; margin-top:5px; color:#89968d; }
.p-sidebar-bottom button:hover,.p-sidebar-bottom a:hover { color:white; }
.p-main-column { min-width:0; }
.p-topbar { position:sticky; top:36px; z-index:100; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:70px; padding:15px 34px; background:#fff; border-bottom:1px solid var(--p-line); }
.p-breadcrumb { display:flex; align-items:center; gap:13px; font-size:11px; color:#8b928c; min-width:0; }
.p-breadcrumb strong { font-weight:600; color:#626a64; white-space:nowrap; }
.p-topbar-actions { display:flex; gap:16px; align-items:center; }
.p-qr-test,.p-role-switch,.p-cart-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:none; border:0; color:#626b65; padding:5px 0; font-size:10px!important; cursor:pointer; white-space:nowrap; }
.p-role-switch { border:1px solid #e3e6e2; padding:6px 9px; border-radius:6px; background:#fafbf9; }
.p-cart-button { position:relative; padding-right:3px; }
.p-cart-button span { position:absolute; top:-5px; right:-6px; width:17px; height:17px; background:var(--p-red); color:white; display:grid; place-items:center; font-size:9px; border-radius:50%; }
.p-mobile-menu { display:none; }
.p-main { padding:34px; max-width:1600px; margin:auto; min-height:calc(100svh - 167px); outline:none; }
.p-page-heading { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:28px; }
.p-page-heading h1 { font:700 30px/1.2 var(--hgt-heading); margin:0 0 10px; color:var(--p-ink); }
.p-page-heading>div>p:not(.p-kicker) { color:var(--p-muted); font-size:12px; margin:0; max-width:680px; }
.p-page-heading .p-kicker { font-size:9px; margin-bottom:9px; }
.p-heading-actions { display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }
.p-admin-scope { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--p-muted); }
.p-admin-scope select { border:1px solid #dce1db; border-radius:8px; padding:9px 30px 9px 12px; background:white; color:#404741; max-width:240px; }
.p-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-bottom:27px; }
.p-stat { position:relative; display:grid; grid-template-columns:auto 1fr; grid-template-rows:42px auto; align-items:center; column-gap:15px; row-gap:14px; background:#fff; border:1px solid var(--p-line); border-radius:12px; padding:20px; box-shadow:0 2px 3px #00000002; transition:border-color .15s; }
.p-stat:hover { border-color:#cbb8bc; }
.p-stat strong { font:700 30px/1 var(--hgt-heading); }
.p-stat>span:not(.p-stat-icon) { grid-column:1 / 3; font-size:11px; color:#767e77; }
.p-stat>.p-icon { position:absolute; bottom:20px; right:18px; color:#b7bdb7; }
.p-stat-icon { width:40px; height:40px; border-radius:9px; display:grid; place-items:center; background:#f0f3ef; color:#627566; }
.p-stat-icon-1 { background:#fceef0; color:#b9384b; }
.p-stat-icon-2 { background:#eef2f8; color:#5b78a0; }
.p-stat-icon-3 { background:#fff5e7; color:#b28340; }
.p-panel { background:#fff; border:1px solid var(--p-line); border-radius:12px; margin-bottom:25px; overflow:hidden; min-width:0; }
.p-panel-heading { padding:20px 22px; display:flex; justify-content:space-between; gap:18px; align-items:center; border-bottom:1px solid #f0f1ee; }
.p-panel-heading h2 { font:700 15px/1.4 var(--hgt-heading); margin:0; }
.p-panel-heading .p-btn { white-space:nowrap; }
.p-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr); gap:24px; }
.p-attention-list>a { display:grid; grid-template-columns:34px minmax(0,1fr) auto 14px; gap:12px; align-items:center; padding:16px 22px; border-bottom:1px solid #f0f1ee; }
.p-attention-list>a:last-child { border-bottom:0; }
.p-attention-list>a:hover { background:#fdfaf9; }
.p-attention-list strong { display:block; font:650 12px/1.5 var(--hgt-heading); }
.p-attention-list div>span { font-size:10px; color:var(--p-muted); display:block; margin-top:3px; }
.p-attention-icon { height:32px; width:32px; display:grid; place-items:center; border-radius:8px; }
.p-attention-icon.danger { background:#fceef0; color:#bd4051; }
.p-attention-icon.warning { background:#fff5e6; color:#af843d; }
.p-attention-list>a>.p-icon { color:#b3b9b3; }
.p-appointment { display:grid; grid-template-columns:55px minmax(0,1fr) auto; gap:18px; align-items:center; padding:24px 22px; }
.p-date-tile { background:#f5f0f1; border-radius:9px; text-align:center; padding:9px 5px; color:#bf3046; }
.p-date-tile strong { display:block; font:700 25px/1.1 var(--hgt-heading); }
.p-date-tile span { font-size:10px; text-transform:uppercase; }
.p-appointment>div>strong { font:700 12px/1.5 var(--hgt-heading); }
.p-appointment p { font-size:11px; margin:4px 0; color:#646d66; }
.p-appointment>div>span { font-size:10px; color:#90988f; }
.p-quick-links { padding:6px 0; }
.p-quick-links>a,.p-quick-links>button { display:flex; width:100%; align-items:center; gap:12px; padding:14px 22px; background:none; border:0; text-align:left; font-size:11px; color:#56615a; }
.p-quick-links>a:hover,.p-quick-links>button:hover { background:#fafbf8; color:var(--p-red); }
.p-quick-links .p-icon:last-child { margin-left:auto; color:#a2ada4; }
.p-service-card { background:#fff; border:1px solid var(--p-line); border-radius:12px; overflow:hidden; margin-bottom:25px; }
.p-service-card img { width:100%; height:145px; object-fit:cover; object-position:50% 40%; }
.p-service-card>div { padding:20px 22px; }
.p-service-card h2 { font:700 20px/1.25 var(--hgt-heading); margin-bottom:13px; }
.p-service-card p:not(.p-kicker) { color:var(--p-muted); font-size:11px; margin-bottom:17px; }
.p-service-card .p-kicker { font-size:8px; }
.p-table-wrap { width:100%; overflow-x:auto; }
.p-table { width:100%; min-width:650px; border-collapse:collapse; font-size:12px; }
.p-table th { text-align:left; font:600 10px/1.5 var(--hgt-heading); color:#879088; padding:13px 21px; background:#fcfdfb; white-space:nowrap; border-bottom:1px solid #eef0ec; }
.p-table td { padding:16px 21px; border-bottom:1px solid #eef0ec; vertical-align:middle; }
.p-table tr:last-child td { border-bottom:0; }
.p-table tr:hover td { background:#fdfefb; }
.p-device-link,.p-report-link { display:flex; align-items:center; gap:12px; }
.p-device-link strong,.p-report-link strong { display:block; color:#313c33; font:650 11px/1.5 var(--hgt-heading); }
.p-device-link small,.p-report-link small { display:block; color:#939a92; font-size:9px; margin-top:4px; }
.p-type-icon { display:grid; place-items:center; width:35px; height:38px; border-radius:7px; background:#f1f4ef; color:#6d7b6e; flex-shrink:0; }
.p-row-action { display:flex; width:30px; height:30px; align-items:center; justify-content:center; color:#98a399!important; }
.p-row-action:hover { color:var(--p-red)!important; }
.p-table-link { border:0; background:none; padding:0; text-align:left; color:#3c4840; font-weight:600!important; cursor:pointer; }
.p-table-link:hover { color:var(--p-red); }
.p-filter-bar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:22px; }
.p-search { flex:1; min-width:220px; display:flex; align-items:center; gap:10px; border:1px solid #e0e4de; border-radius:8px; padding:10px 13px; background:white; color:#949d92; }
.p-search input { border:0; background:none; outline:none; font-size:11px; width:100%; min-width:0; color:#343e36; }
.p-search input::placeholder { color:#949c91; }
.p-search:focus-within { border-color:#ce132d80; box-shadow:0 0 0 3px #ce132d0b; }
.p-filter select { font-size:11px; border:1px solid #e0e4de; background:white; border-radius:8px; padding:11px 30px 11px 12px; max-width:280px; color:#697367; min-height:41px; }
.p-result-count { font-size:10px; color:#8b9687; margin-left:auto; }
.p-empty { padding:40px 25px; text-align:center; color:#82907f; }
.p-empty>.p-icon { margin-bottom:18px; }
.p-empty h3 { font:700 18px/1.4 var(--hgt-heading); color:#394436; margin:0 0 10px; }
.p-empty p { max-width:480px; margin:0 auto 20px; font-size:12px; }
.p-back { display:inline-flex; font-size:11px; color:#727e70!important; margin-bottom:22px; }
.p-back:hover { color:var(--p-red)!important; }
.p-device-header { display:grid; grid-template-columns:190px minmax(0,1fr); gap:32px; padding:27px; background:white; border:1px solid var(--p-line); border-radius:12px; margin-bottom:28px; }
.p-device-illustration { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; background:#eff2ee; border-radius:10px; color:#7f8e80; min-height:170px; }
.p-device-illustration>span { font:650 13px/1.5 var(--hgt-heading); color:#7b877c; }
.p-device-titleline { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin:0 0 24px; }
.p-device-titleline code { font:600 12px/1.5 var(--hgt-heading); color:#4b5b4d; }
.p-device-titleline>.p-btn { margin-left:auto; min-height:30px; padding:5px 10px; font-size:10px!important; }
.p-facts { display:grid; grid-template-columns:1fr 1fr; gap:22px 30px; margin:0; }
.p-facts dt { font-size:10px; font-weight:400; color:#9aa194; margin-bottom:4px; }
.p-facts dd { font-size:12px; font-weight:550; margin:0; color:#55634f; overflow-wrap:anywhere; }
.p-panel>.p-facts { padding:24px; }
.p-tabs { display:flex; gap:25px; border-bottom:1px solid #e0e4dc; margin-bottom:25px; overflow-x:auto; }
.p-tabs button { border:0; background:none; padding:0 0 15px; color:#889080; font-size:12px; font-weight:550; border-bottom:2px solid transparent; white-space:nowrap; }
.p-tabs button.is-active { color:var(--p-red); border-color:var(--p-red); }
.p-detail-columns { display:grid; grid-template-columns:1.1fr 1fr; gap:24px; }
.p-device-dates { padding:4px 23px; }
.p-device-dates>div { display:flex; gap:15px; padding:21px 0; border-bottom:1px solid #eff1eb; }
.p-device-dates>div:last-child { border:0; }
.p-soft-icon { width:42px; height:42px; border-radius:9px; display:inline-grid; place-items:center; color:#8a9a82; background:#f0f4ec; flex-shrink:0; }
.p-device-dates>div>div>span { display:block; font-size:10px; color:#70786b; }
.p-device-dates strong { display:block; font:650 15px/1.6 var(--hgt-heading); margin:4px 0; }
.p-device-dates a,.p-device-dates .p-link { display:block; font-size:10px!important; color:var(--p-red); }
.p-timeline { padding:23px 25px 8px; }
.p-timeline>div { position:relative; border-left:1px solid #e2e7dc; padding:0 0 26px 20px; margin-left:4px; }
.p-timeline>div:last-child { border:0; }
.p-timeline-dot { position:absolute; left:-4px; top:4px; width:7px; height:7px; border-radius:50%; background:#a9b49f; box-shadow:0 0 0 4px #fff; }
.p-timeline time { display:block; font-size:9px; color:#70786b; margin-bottom:6px; }
.p-timeline strong { display:block; font:650 11px/1.5 var(--hgt-heading); margin-bottom:4px; }
.p-timeline>div>span:not(.p-timeline-dot) { display:block; font-size:10px; color:#70786b; }
.p-timeline a,.p-timeline .p-link { display:block; color:var(--p-red); font-size:10px!important; margin-top:6px; }
.p-report-actions { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.p-report-actions .p-back { margin:0; }
.p-report-paper { background:white; border:1px solid #e1e5dc; border-radius:12px; padding:45px; max-width:1000px; margin:auto; }
.p-report-brand { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:50px; }
.p-report-brand img { width:165px; height:auto; }
.p-report-brand .p-badge { font-size:9px; }
.p-report-paper h1 { font:700 32px/1.2 var(--hgt-heading); margin-bottom:15px; }
.p-report-intro { color:#70786b; font-size:12px; }
.p-report-result { display:flex; align-items:center; gap:18px; background:#eef5e9; padding:20px; border-radius:9px; margin:28px 0; color:#5c8147; }
.p-report-result>div { flex:1; }
.p-report-result>div>span { display:block; font-size:10px; }
.p-report-result strong { font:650 18px/1.5 var(--hgt-heading); }
.p-report-result>span { font-size:11px; }
.p-report-paper>.p-facts { margin-bottom:35px; }
.p-report-paper h2 { font:700 18px/1.5 var(--hgt-heading); margin:30px 0 15px; }
.p-report-paper .p-table { min-width:0; }
.p-report-paper .p-table th { white-space:normal; }
.p-report-disclaimer { border-top:2px solid #d6bfc4; margin-top:35px; padding-top:20px; color:#aa3f54; font-size:10px; }
.p-visits>div { display:grid; grid-template-columns:140px minmax(0,1fr) auto; gap:20px; align-items:center; padding:22px; border-bottom:1px solid #eff1eb; }
.p-visits>div:last-child { border:0; }
.p-visit-date { display:flex; align-items:center; gap:12px; color:#8c9b80; }
.p-visit-date strong { font:600 12px/1.5 var(--hgt-heading); color:#607454; }
.p-visits>div>div>strong { font:650 12px/1.5 var(--hgt-heading); }
.p-visits p { font-size:11px; color:#7c8972; margin:4px 0; }
.p-visits>div>div>span { font-size:10px; color:#70786b; }
.p-request-list>div { padding:22px; border-bottom:1px solid var(--p-line); }
.p-request-list strong { font-size:12px; }
.p-request-list p { font-size:11px; margin:8px 0; color:#70786b; }
.p-materials-notice { display:flex; gap:15px; align-items:center; padding:18px 20px; margin-bottom:24px; border-radius:10px; background:#eef2ea; color:#778b69; }
.p-materials-notice strong { font:650 12px/1.5 var(--hgt-heading); color:#556a48; }
.p-materials-notice p { font-size:10px; margin:4px 0 0; }
.p-filter-context { color:#929c85; font-size:11px; margin-bottom:22px; }
.p-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.p-product-card { background:white; border:1px solid var(--p-line); border-radius:12px; overflow:hidden; }
.p-product-picture { position:relative; display:flex; align-items:center; justify-content:center; background:#eef1e9; height:145px; color:#8b9a7c; }
.p-product-picture>span { position:absolute; top:14px; left:14px; font-size:9px; background:white; padding:3px 8px; border-radius:5px; color:#70786b; }
.p-product-body { padding:21px; }
.p-product-body .p-kicker { font-size:8px; color:#70786b; margin-bottom:10px; }
.p-product-body h2 { font:700 17px/1.3 var(--hgt-heading); margin-bottom:12px; }
.p-product-body p { font-size:10px; color:#70786b; margin-bottom:16px; }
.p-product-price { display:block; font:650 12px/1.5 var(--hgt-heading); color:#64794f; margin-bottom:18px; }
.p-product-body .p-btn { font-size:10px!important; padding:10px 8px; }
.p-product-body>.p-link { margin-top:10px; font-size:10px!important; }
.p-customer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.p-customer-card { background:white; border:1px solid var(--p-line); border-radius:12px; padding:25px; }
.p-customer-card h2 { font:700 20px/1.3 var(--hgt-heading); margin:22px 0 12px; }
.p-customer-card p { color:#70786b; font-size:11px; }
.p-customer-card>div { display:flex; gap:20px; padding:19px 0 25px; color:#70786b; font-size:10px; }
.p-customer-card strong { display:block; color:#687f51; font:700 22px/1.5 var(--hgt-heading); }
.p-customer-card .p-btn { font-size:10px!important; }
.p-team-list>div { display:flex; gap:15px; align-items:center; padding:20px 24px; border-bottom:1px solid var(--p-line); }
.p-team-list>div>div { flex:1; min-width:0; }
.p-team-list strong { display:block; font-size:12px; }
.p-team-list>div>div>span { display:block; font-size:10px; color:#70786b; overflow-wrap:anywhere; }
.p-app-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; color:#70786b; font-size:9px; padding:15px 34px 25px; }

/* Demo login and QR recognition before the simulated session. */
.p-login { display:grid; grid-template-columns:1.05fr 1fr; min-height:calc(100svh - 36px); background:white; }
.p-login-story { position:relative; isolation:isolate; padding:48px 65px; background:#1d211e; color:#fff; display:flex; flex-direction:column; justify-content:space-between; gap:65px; overflow:hidden; }
.p-login-story:before { content:''; position:absolute; inset:0; z-index:-2; background-image:var(--p-login-image); background-size:cover; background-position:50%; opacity:.16; }
.p-login-story:after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(160deg,#11191530,#18221be8); }
.p-login-story>a { align-self:start; }
.p-login-story img { width:220px; height:auto; }
.p-login-story .p-kicker { color:#ffb8c4; font-size:10px; }
.p-login-story h1 { font:650 clamp(38px,4vw,64px)/1.04 var(--hgt-heading); margin-bottom:28px; }
.p-login-story>div>p:not(.p-kicker) { max-width:430px; font-size:16px; line-height:1.8; color:#c5cdc1; }
.p-login-story ul { list-style:none; margin:35px 0 0; padding:0; display:flex; flex-direction:column; gap:19px; color:#d0d8c9; font-size:12px; }
.p-login-story li { display:flex; gap:14px; align-items:center; }
.p-login-story li>.p-icon { color:#f38a9c; }
.p-login-caption { font-size:10px; color:#70786b; }
.p-login-content { position:relative; display:flex; align-items:center; justify-content:center; padding:85px 55px 60px; }
.p-login-back { position:absolute; top:35px; left:55px; color:#70786b!important; font-size:11px; }
.p-login-card { max-width:410px; width:100%; }
.p-login-card h2 { font:750 40px/1.1 var(--hgt-heading); color:#263c24; margin:25px 0 23px; }
.p-login-card>p { font-size:13px; line-height:1.8; color:#70786b; margin-bottom:28px; }
.p-login-card form { margin-bottom:26px; }
.p-login-card label { display:block; font-size:11px; font-weight:600; color:#657b53; margin-bottom:8px; }
.p-login-card input,.p-login-card select { width:100%; padding:13px; border:1px solid #dce3d5; border-radius:8px; font-size:12px; color:#6d835b; background:white; margin-bottom:21px; }
.p-login-card input[readonly] { background:#f7f9f3; color:#70786b; }
.p-login-card form .p-btn { min-height:47px; }
.p-login-divider { display:flex; align-items:center; gap:13px; font-size:9px; color:#70786b; margin:0 0 22px; }
.p-login-divider:before,.p-login-divider:after { content:''; height:1px; flex:1; background:#edf0e6; }
.p-login-card>.p-btn { width:100%; }
.p-login-card>.p-demo-explanation { font-size:10px; line-height:1.8; margin:23px 0 16px; color:#70786b; }
.p-login-card>.p-link { font-size:10px!important; }
.p-qr-landing { min-height:calc(100svh - 36px); display:flex; flex-direction:column; align-items:center; gap:32px; padding:40px 20px; }
.p-qr-landing>a img { width:175px; height:auto; }
.p-qr-card { background:white; border:1px solid var(--p-line); border-radius:18px; padding:35px; max-width:460px; width:100%; text-align:center; }
.p-qr-card .p-device-illustration { min-height:145px; max-width:220px; margin:25px auto; background:#f4f7ef; }
.p-qr-card h1 { font:700 29px/1.2 var(--hgt-heading); margin-bottom:14px; }
.p-qr-card>p { color:#70786b; font-size:12px; }
.p-qr-card .p-qr-serial { font-size:10px; color:#70786b; }
.p-qr-private { display:flex; gap:14px; text-align:left; padding:20px; border-radius:9px; background:#f4f7ee; color:#8ea575; margin:24px 0; }
.p-qr-private strong { font:650 12px/1.5 var(--hgt-heading); color:#738d5b; }
.p-qr-private p { font-size:10px; line-height:1.8; margin:5px 0 0; }
.p-qr-card .p-btn { width:100%; margin-bottom:15px; }
.p-qr-card .p-form-note { margin:0; }

/* Modal workflows. */
.portal-modal { color:var(--p-ink); font:14px/1.6 var(--hgt-body); }
.portal-modal .modal-content { border:0; border-radius:16px; overflow:hidden; box-shadow:0 20px 70px #0003; }
.portal-modal .modal-header { padding:24px 28px; border-bottom:1px solid var(--p-line); }
.portal-modal .modal-title { font:700 21px/1.25 var(--hgt-heading); margin:0; }
.portal-modal .modal-body { padding:27px 28px; }
.portal-modal .modal-footer { border-top:1px solid var(--p-line); padding:18px 24px; gap:8px; }
.portal-modal h3 { font:700 20px/1.3 var(--hgt-heading); margin:0 0 16px; }
.portal-modal h4 { font:700 14px/1.5 var(--hgt-heading); margin:20px 0 10px; }
.portal-modal p { font-size:13px; color:#778371; }
.portal-modal .p-timeline { padding-left:4px; }
.portal-modal .p-timeline strong { font-size:12px; }
.p-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.p-field { min-width:0; }
.p-field-wide { grid-column:1 / -1; }
.p-field label { display:block; font-size:12px; font-weight:600; color:#5e7253; margin-bottom:8px; }
.p-field input,.p-field select,.p-field textarea { display:block; width:100%; padding:11px 13px; border:1px solid #d6dfcd; border-radius:8px; background:#fff; color:#5b7150; font-size:13px; min-width:0; }
.p-field textarea { resize:vertical; }
.p-field input:focus,.p-field select:focus,.p-field textarea:focus { border-color:#ce132d80; outline:0; box-shadow:0 0 0 3px #ce132d0c; }
.p-field small { display:block; font-size:10px; color:#70786b; margin-top:9px; }
.p-form-note { font-size:10px!important; line-height:1.8; color:#70786b!important; margin:22px 0 0; }
.p-form-error { border:1px solid #f0c7cf; padding:13px 16px; border-radius:8px; background:#fff0f3; color:#af3b51; font-size:12px; margin-bottom:22px; }
.p-form-error[hidden] { display:none; }
.p-inline-info { display:flex; align-items:center; gap:12px; padding:15px; background:#f1f5e9; color:#7f9865; border-radius:8px; font-size:11px; margin:20px 0; }
.p-modal-subheading { display:flex; gap:20px; align-items:center; justify-content:space-between; margin-bottom:13px; }
.p-modal-subheading h3 { margin:0; }
.p-cart-lines>div { display:grid; grid-template-columns:34px minmax(0,1fr) 58px 30px; gap:14px; align-items:center; padding:19px 0; border-bottom:1px solid var(--p-line); }
.p-cart-lines>div:first-child { padding-top:0; }
.p-cart-product-icon { color:#a3b68e; }
.p-cart-lines strong { display:block; font-size:12px; }
.p-cart-lines>div>div>span { display:block; font-size:10px; color:#70786b; margin:5px 0; }
.p-cart-lines small { display:block; font-size:9px; color:#70786b; }
.p-cart-lines input { width:58px; border:1px solid #dce4d3; padding:7px 8px; border-radius:6px; font-size:12px; color:#758e5f; }
.p-cart-delivery { padding:20px; border-radius:9px; background:#f6f8f0; margin:24px 0; }
.p-cart-delivery strong { font-size:12px; }
.p-cart-delivery p { font-size:10px; margin:7px 0 0; }
.p-order-products { margin:24px 0; }
.p-order-products>div { display:flex; gap:18px; align-items:center; padding:17px 0; border-bottom:1px solid var(--p-line); }
.p-order-products>div>div { flex:1; min-width:0; }
.p-order-products strong { display:block; font-size:12px; }
.p-order-products>div>span { color:#9eb088; font-size:10px; }
.p-order-products div>div>span { display:block; color:#70786b; font-size:10px; margin-top:6px; }
.p-product-modal-icon,.p-help-icon { color:#96ab80; background:#f3f7eb; padding:25px; border-radius:10px; text-align:center; margin-bottom:25px; }
.p-qr-label { position:relative; max-width:320px; margin:auto; text-align:center; padding:24px; border:1px dashed #d0dac3; border-radius:12px; background:#fff; }
.p-qr-label>img { width:150px; height:auto; margin:0 auto 12px; }
.p-label-demo { position:absolute; top:12px; right:12px; padding:3px 6px; border-radius:4px; color:var(--p-red); background:#fcebee; font:700 8px var(--hgt-heading); }
.p-qr-svg { width:220px; max-width:100%; margin:auto; }
.p-qr-svg svg { display:block; width:100%; height:auto; }
.p-qr-label>strong { display:block; font:700 20px/1.5 var(--hgt-heading); color:#364d2b; }
.p-qr-label>span:not(.p-label-demo) { display:block; font-size:11px; margin:6px 0 12px; color:#93a77d; }
.p-qr-label>p { font-size:10px; margin:0; }
.p-qr-explanation { margin-top:25px!important; }
.p-qr-link-label { display:block; font-size:10px; margin:20px 0 8px; color:#879d70; }
.p-qr-url { width:100%; min-width:0; border:1px solid #dce5d1; padding:11px 12px; border-radius:6px; color:#7b9462; font:10px/1.6 monospace!important; background:#fafcf6; }
.p-qr-url+.p-form-note { margin-top:10px; }
.p-qr-url~.p-link { margin-top:15px; }
.portal-toasts { position:fixed; bottom:22px; right:22px; z-index:2000; width:min(420px,calc(100% - 44px)); display:flex; flex-direction:column; gap:12px; }
.p-toast { padding:18px 21px; border-radius:10px; background:#253922; color:#eff9e5; font:600 12px/1.7 var(--hgt-heading); box-shadow:0 7px 30px #0002; border-left:4px solid #ce132d; }
.portal-demo-entry { display:inline-flex; align-items:center; gap:8px; }
.portal-demo-entry small { font-size:9px; border:1px solid #ffffff50; padding:0 5px; border-radius:4px; text-transform:uppercase; }

@media(max-width:1199px) {
    .p-summary-grid { grid-template-columns:1fr 1fr; }
    .p-dashboard-grid { grid-template-columns:1fr; }
    .p-dashboard-grid>aside { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
    .p-service-card img { height:130px; }
    .p-product-grid,.p-customer-grid { grid-template-columns:1fr 1fr; }
    .p-topbar { padding-inline:25px; }
    .p-topbar-actions { gap:12px; }
    .p-breadcrumb { gap:8px; }
    .p-login-story { padding:40px; }
    .p-login-content { padding-inline:40px; }
    .p-login-back { left:40px; }
    .p-login-card h2 { font-size:35px; }
}
@media(max-width:991px) {
    .p-app-layout { grid-template-columns:minmax(0,1fr); }
    .p-sidebar { position:fixed; top:0; height:100svh; z-index:1045; }
    .p-mobile-close { display:block; }
    .p-mobile-menu { display:inline-flex; margin-left:-7px; }
    .p-topbar { top:36px; }
    .p-main { padding:28px; }
    .p-detail-columns { grid-template-columns:1fr 1fr; }
    .p-main-column { width:100%; }
    .p-sidebar-bottom { margin-top:auto; }
    .p-login { grid-template-columns:.9fr 1fr; }
    .p-login-story { padding:35px; }
    .p-login-story h1 { font-size:43px; }
    .p-login-story>div>p:not(.p-kicker) { font-size:14px; }
    .p-login-story ul { font-size:11px; gap:20px; }
    .p-login-content { padding-inline:30px; }
    .p-login-back { left:30px; }
    .p-login-card h2 { font-size:32px; }
}
@media(max-width:767px) {
    .p-demo-ribbon { padding-inline:15px; font-size:9px; gap:10px; }
    .p-demo-ribbon strong { margin-right:9px; font-size:8px; }
    .p-ribbon-description { font-size:8px; }
    .p-btn-ribbon { font-size:8px!important; white-space:nowrap; padding-inline:2px; }
    .p-topbar { padding:12px 18px; min-height:60px; gap:12px; }
    .p-topbar-actions { gap:13px; }
    .p-breadcrumb>span,.p-breadcrumb>.p-icon { display:none; }
    .p-breadcrumb strong { font-size:10px; }
    .p-qr-test>span,.p-role-switch>span { display:none; }
    .p-role-switch { padding:7px; }
    .p-topbar .p-avatar { width:30px; height:30px; font-size:10px; }
    .p-main { padding:25px 20px; }
    .p-page-heading { align-items:start; flex-direction:column; gap:18px; margin-bottom:23px; }
    .p-page-heading h1 { font-size:27px; }
    .p-page-heading>div>p:not(.p-kicker) { font-size:11px; line-height:1.8; }
    .p-heading-actions { width:100%; }
    .p-btn { min-height:39px; font-size:11px!important; padding-inline:13px; }
    .p-summary-grid { gap:12px; margin-bottom:22px; }
    .p-stat { padding:17px 15px; gap:13px 12px; grid-template-rows:34px auto; }
    .p-stat-icon { width:33px; height:33px; border-radius:8px; }
    .p-stat-icon>.p-icon { width:18px; height:18px; }
    .p-stat strong { font-size:28px; }
    .p-stat>span:not(.p-stat-icon) { font-size:9px; }
    .p-stat>.p-icon { display:none; }
    .p-dashboard-grid { gap:0; }
    .p-dashboard-grid>aside { display:block; }
    .p-panel { margin-bottom:20px; border-radius:10px; }
    .p-panel-heading { padding:17px 18px; gap:10px; }
    .p-panel-heading h2 { font-size:13px; }
    .p-panel-heading .p-btn-text { font-size:9px!important; }
    .p-attention-list>a { grid-template-columns:30px minmax(0,1fr) 14px; padding:15px 17px; gap:10px; }
    .p-attention-list .p-badge { display:none; }
    .p-attention-list strong { font-size:11px; }
    .p-attention-list div>span { font-size:9px; }
    .p-attention-icon { width:29px; height:29px; }
    .p-appointment { grid-template-columns:50px minmax(0,1fr); padding:20px 18px; gap:14px; }
    .p-appointment>.p-badge { grid-column:2; justify-self:start; }
    .p-service-card img { height:170px; }
    .p-quick-links>a,.p-quick-links>button { padding-inline:18px; }
    .p-table th,.p-table td { padding-inline:17px; }
    .p-filter-bar { gap:10px; }
    .p-search { flex-basis:100%; padding:12px; }
    .p-search input { font-size:12px; }
    .p-filter { flex:1; min-width:0; }
    .p-filter select { max-width:100%; width:100%; font-size:11px; }
    .p-result-count { font-size:9px; }
    .p-device-header { grid-template-columns:minmax(0,1fr); padding:20px; gap:22px; }
    .p-device-header>.p-device-illustration { min-height:140px; }
    .p-device-header>.p-device-illustration .p-icon { width:80px; height:80px; }
    .p-device-titleline { gap:10px; }
    .p-device-titleline>.p-btn { margin-left:0; }
    .p-facts { gap:21px 20px; }
    .p-facts dt { font-size:9px; }
    .p-facts dd { font-size:11px; }
    .p-tabs { gap:23px; }
    .p-tabs button { font-size:11px; padding-bottom:12px; }
    .p-detail-columns { grid-template-columns:minmax(0,1fr); gap:0; }
    .p-device-dates { padding-inline:18px; }
    .p-report-actions { flex-direction:column; align-items:start; gap:20px; }
    .p-report-paper { padding:25px 20px; }
    .p-report-brand { align-items:start; flex-direction:column; gap:20px; margin-bottom:30px; }
    .p-report-brand img { width:145px; }
    .p-report-brand .p-badge { white-space:normal; font-size:8px; }
    .p-report-paper h1 { font-size:26px; }
    .p-report-result { flex-wrap:wrap; gap:12px; padding:16px; }
    .p-report-result>span { width:100%; padding-left:40px; font-size:10px; }
    .p-report-paper .p-table td,.p-report-paper .p-table th { padding-inline:10px; font-size:10px; }
    .p-report-paper .p-badge { font-size:8px; padding-inline:7px; }
    .p-report-paper .p-facts { grid-template-columns:1fr; }
    .p-visits>div { grid-template-columns:minmax(0,1fr) auto; padding:20px 18px; gap:12px; }
    .p-visit-date { grid-column:1 / -1; }
    .p-materials-notice { align-items:start; padding:16px; gap:12px; }
    .p-materials-notice strong { font-size:11px; }
    .p-materials-notice p { font-size:9px; line-height:1.8; }
    .p-product-grid,.p-customer-grid { grid-template-columns:1fr; gap:20px; }
    .p-product-picture { height:140px; }
    .p-product-body { padding:22px; }
    .p-product-body h2 { font-size:20px; }
    .p-product-body .p-btn { font-size:12px!important; }
    .p-product-body p { font-size:12px; }
    .p-product-price { font-size:14px; }
    .p-product-body>.p-link { font-size:11px!important; }
    .p-customer-card h2 { font-size:23px; }
    .p-team-list>div { padding:20px 17px; gap:12px; flex-wrap:wrap; }
    .p-team-list .p-badge { margin-left:45px; }
    .p-app-footer { font-size:8px; align-items:start; padding-inline:20px; flex-direction:column; gap:7px; }
    .p-login { display:flex; flex-direction:column; }
    .p-login-story { min-height:125px; padding:22px 27px; }
    .p-login-story img { width:165px; }
    .p-login-story>div,.p-login-caption { display:none; }
    .p-login-content { padding:65px 27px 40px; }
    .p-login-back { top:22px; left:27px; font-size:10px; }
    .p-login-card { max-width:430px; }
    .p-login-card h2 { font-size:35px; }
    .p-login-card>p { font-size:12px; }
    .p-login-card input,.p-login-card select { font-size:13px; }
    .p-login-card .p-btn { min-height:46px; font-size:12px!important; }
    .p-qr-card { padding:28px 23px; }
    .p-qr-landing { padding-top:30px; }
    .p-qr-card h1 { font-size:25px; }
    .portal-modal .modal-header { padding:21px; }
    .portal-modal .modal-title { font-size:19px; }
    .portal-modal .modal-body { padding:23px 21px; }
    .portal-modal .modal-footer { padding:15px 17px; }
    .portal-modal .modal-footer .p-btn { flex:1; font-size:10px!important; padding-inline:10px; }
    .p-form-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
    .p-field input,.p-field select,.p-field textarea { font-size:14px; }
    .p-field label { font-size:12px; }
    .p-cart-lines>div { gap:10px; grid-template-columns:25px minmax(0,1fr) 48px 25px; }
    .p-cart-lines strong { font-size:11px; }
    .p-cart-lines input { width:48px; }
    .p-cart-lines small { font-size:8px; }
    .p-order-products>div { gap:12px; flex-wrap:wrap; }
    .p-order-products>div>span:last-child { margin-left:36px; }
    .p-modal-subheading { flex-wrap:wrap; gap:13px; }
    .portal-toasts { bottom:16px; right:16px; width:calc(100% - 32px); }
}
@media(max-width:370px) {
    .p-demo-ribbon .p-ribbon-description { display:none; }
    .p-main { padding-inline:15px; }
    .p-topbar { padding-inline:14px; }
    .p-topbar-actions { gap:9px; }
    .p-breadcrumb strong { max-width:95px; overflow:hidden; text-overflow:ellipsis; }
    .p-stat { padding:14px 12px; gap:12px 9px; }
    .p-stat strong { font-size:25px; }
    .p-stat-icon { width:30px; height:30px; }
    .p-stat>span:not(.p-stat-icon) { font-size:8px; }
    .p-page-heading h1 { font-size:25px; }
    .p-device-titleline .p-badge { font-size:8px; }
    .p-facts { gap:18px 12px; }
    .p-login-content { padding-inline:22px; }
    .p-login-back { left:22px; }
    .p-qr-card { padding-inline:20px; }
}
@media(min-width:992px) {
    .p-sidebar.offcanvas-lg { visibility:visible!important; transform:none!important; border:0; }
}
.admin-bar .p-demo-ribbon { top:32px; }
.admin-bar .p-topbar,.admin-bar .p-sidebar { top:68px; }
@media(max-width:782px) {
    .admin-bar .p-demo-ribbon { top:46px; }
    .admin-bar .p-topbar { top:82px; }
    .admin-bar .p-sidebar { top:0; }
}
@media print {
    @page { margin:15mm; }
    body.hgt-portal-demo { background:white!important; font-size:12px; }
    .hgt-portal-demo * { visibility:hidden!important; }
    body[data-print-target="report"] .p-report-paper,body[data-print-target="report"] .p-report-paper *,body[data-print-target="label"] .p-qr-label,body[data-print-target="label"] .p-qr-label * { visibility:visible!important; }
    body[data-print-target="report"] .p-report-paper { position:absolute; inset:0 auto auto 0; width:100%; max-width:none; border:0; padding:0; box-shadow:none; }
    body[data-print-target="label"] .p-qr-label { position:fixed; top:0; left:0; width:85mm; max-width:none; }
    .p-report-paper .p-facts { grid-template-columns:1fr 1fr!important; }
    .p-report-paper .p-report-brand { flex-direction:row; }
    .modal.show { position:static!important; overflow:visible!important; }
    .modal-backdrop { display:none!important; }
    .p-report-paper a { text-decoration:none; }
}
@media(prefers-reduced-motion:reduce) {
    .hgt-portal-demo *, .hgt-portal-demo *:before,.hgt-portal-demo *:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
.p-sidebar { overflow-y:auto; }
.p-sidebar-brand,.p-tenant-box,.p-side-nav,.p-sidebar-bottom { flex-shrink:0; }

.p-login-card>.p-demo-explanation { font-size:11px; }
.p-login-card label { font-size:12px; }
.p-login-card input,.p-login-card select { font-size:13px; }
@media(max-width:767px) { .p-field input,.p-field select,.p-field textarea,.p-login-card input,.p-login-card select,.p-search input { font-size:16px; } }
