.portal-shell{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100vh}.portal-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;color:var(--muted)}.portal-sidebar{display:flex;flex-direction:column;gap:28px;padding:24px 16px;background:var(--panel);border-right:1px solid var(--line);position:sticky;top:0;height:100vh}.portal-brand{align-items:flex-start;display:grid;gap:4px}.portal-brand-logo{display:block;height:44px;-o-object-fit:contain;object-fit:contain;width:166px}.portal-brand-lg .portal-brand-logo{height:52px;width:198px}.portal-brand small{color:var(--muted);font-size:.78rem}.portal-nav{display:flex;flex-direction:column;gap:4px}.portal-nav-link{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:var(--radius-md);color:var(--ink);text-decoration:none;font-weight:500;transition:background var(--motion)}.portal-nav-link span[aria-hidden]{width:18px;text-align:center;color:var(--muted)}.portal-nav-link:hover{background:var(--soft-surface)}.portal-nav-link.is-active{background:var(--mint);color:var(--ink)}.portal-nav-link.is-active span[aria-hidden]{color:var(--mint-strong)}.portal-sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:10px}.portal-merchant-chip{padding:10px 12px;border-radius:var(--radius-sm);background:var(--soft-surface);font-weight:600;font-size:.9rem}.portal-main{padding:32px 40px 64px;width:100%;min-width:0}.portal-page{display:flex;flex-direction:column;gap:24px;animation:page-enter var(--motion)}.portal-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.portal-page-head h1{margin:4px 0 0;font-size:1.8rem}.portal-page-head-title{align-items:center;display:flex;gap:14px}.portal-eyebrow{margin:0;text-transform:uppercase;font-size:.72rem;font-weight:700}.portal-eyebrow,.portal-hint,.portal-muted{color:var(--muted)}.portal-hint{margin:12px 0 0;font-size:.82rem}.portal-link{color:var(--blue);text-decoration:none;font-weight:600}.portal-link:hover{text-decoration:underline}.portal-server-link{color:var(--ink);font-weight:800;text-decoration:none}.portal-server-link:hover{color:var(--mint-strong);text-decoration:underline}.portal-back-link{margin-bottom:10px}.portal-server-meta{margin:8px 0 0}.portal-block{display:block;margin-top:3px}.portal-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.portal-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.portal-metric{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:var(--radius-lg);background:var(--panel);border:1px solid var(--line);box-shadow:var(--soft-shadow)}@media (min-width:881px){.portal-metric-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.portal-metric-label{color:var(--muted);font-size:.82rem}.portal-metric-value{font-size:1.5rem}.portal-metric-rating{font-size:1.1rem}.portal-metric-rating .star-rating-value{font-size:1.35rem}@media (max-width:700px){.portal-metric-rating{font-size:.86rem}.portal-metric-rating .star-rating-value{font-size:1.05rem}.portal-metric-rating .star-rating{flex-wrap:wrap;row-gap:2px}}.portal-card{padding:22px;border-radius:var(--radius-lg);background:var(--panel);border:1px solid var(--line);box-shadow:var(--soft-shadow)}.portal-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.portal-card-head h2{margin:0;font-size:1.1rem}.portal-card-head-left{align-items:center;display:flex;gap:12px}.portal-bill-items-title{font-size:1.1rem;margin:0 0 16px}.portal-card-head-controls{align-items:center;display:flex;gap:10px}.portal-bill-filter,.portal-bill-filter-trigger{position:relative}.portal-bill-filter-trigger.is-active{background:var(--mint);border-color:var(--mint-strong);color:var(--mint-strong)}.portal-bill-filter-trigger.is-active:hover:not(:disabled){background:var(--mint)}.portal-bill-filter-badge{align-items:center;background:var(--brand-500);border-radius:999px;color:#fff;display:inline-flex;font-size:.64rem;font-weight:800;height:15px;justify-content:center;min-width:15px;padding:0 3px;position:absolute;right:-4px;top:-4px}.portal-bill-filter-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--panel-shadow);display:grid;gap:12px;padding:16px;position:absolute;right:0;top:calc(100% + 8px);width:280px;z-index:30}.portal-bill-filter-search,.portal-bill-filter-search input{width:100%}.portal-bill-filter-clear{justify-self:end}.portal-table-search{align-items:center;background:var(--soft-surface);border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--muted);display:inline-flex;gap:8px;padding:8px 14px;transition:border-color var(--motion)}.portal-table-search:focus-within{border-color:var(--brand-500);box-shadow:var(--focus-ring-brand)}.portal-table-search input{background:transparent;border:none;color:var(--ink);font-size:.88rem;outline:none;width:200px}.portal-table-search input::-moz-placeholder{color:var(--muted)}.portal-table-search input::placeholder{color:var(--muted)}.portal-payment-tracking-card .portal-card-head h2,.portal-service-tip-card .portal-card-head h2{font-weight:900}.portal-payment-tracking-card,.portal-service-tip-card{container-type:inline-size;min-width:0}.portal-security-card{max-width:620px}.portal-security-row{align-items:center;display:flex;gap:16px;justify-content:space-between}.portal-security-row p{margin:0}.portal-security-row .portal-button{flex-shrink:0;white-space:nowrap}.portal-bill-badges{align-items:center;display:inline-flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.portal-pay-status{border-radius:999px;font-size:.78rem;font-weight:700;padding:4px 12px;white-space:nowrap}.portal-pay-status.is-pending{background:var(--error-100);color:var(--error-text)}.portal-pay-status.is-paid{background:var(--success-100);color:var(--success-text)}.portal-pay-status.is-partial{background:rgba(234,179,8,.18);color:#946c00}.portal-scan-status{align-items:center;box-sizing:border-box;display:inline-flex;flex-direction:column;gap:1px;line-height:1.15;min-width:144px;padding-left:10px;padding-right:10px;width:144px;white-space:normal}.portal-bill-row-link>.portal-pay-status.portal-scan-status{max-width:none;min-width:144px;padding-left:10px;padding-right:10px;width:144px}.portal-bill-row-link>.portal-pay-status.portal-payment-status{align-items:center;box-sizing:border-box;justify-content:center;min-width:144px;padding-left:10px;padding-right:10px;text-align:center;width:144px}.portal-scan-status-label,.portal-scan-status-mode{display:block;white-space:nowrap}.portal-scan-status-mode{text-align:center}.portal-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.portal-list-row{display:grid;grid-template-columns:90px 1fr 1fr auto auto auto;align-items:center;gap:14px;padding:12px 14px;border-radius:var(--radius-md);background:var(--soft-surface);text-decoration:none;color:var(--ink);transition:background var(--motion)}.portal-server-bill-row{grid-template-columns:90px minmax(0,1fr) 76px 140px 78px 92px}.portal-server-bill-row>:last-child{justify-self:end}.portal-bill-table-wrap{overflow-x:auto;padding:0 0 2px}.portal-bill-table{min-width:0;padding-right:0;width:100%}.portal-bill-row{display:grid;grid-template-columns:minmax(100px,1.05fr) minmax(110px,.95fr) minmax(120px,1.1fr) minmax(52px,.55fr) minmax(110px,.95fr) minmax(0,1.45fr) minmax(0,1.2fr) 30px;align-items:center;-moz-column-gap:14px;column-gap:14px}.portal-bill-header{padding:0 14px 9px;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.portal-bill-data-row{cursor:pointer;min-height:56px;padding:12px 14px;border-radius:var(--radius-md);background:var(--soft-surface);color:var(--ink);text-decoration:none;transition:background var(--motion),transform var(--motion)}.portal-bill-data-row:focus-visible{outline:3px solid rgba(47,143,91,.35);outline-offset:2px}.portal-bill-data-row:hover{background:var(--mint);transform:translateY(-1px)}.portal-bill-row-link{color:inherit;display:contents;text-decoration:none}.portal-bill-delete{justify-self:start;white-space:nowrap}.portal-bill-row-link>strong{white-space:nowrap}.portal-bill-row-link>.portal-pay-status{display:inline-flex;font-size:.74rem;max-width:100%;min-width:0;overflow-wrap:break-word;padding-left:8px;padding-right:8px;justify-self:start;line-height:1.2;white-space:normal}.portal-bill-row-link>.portal-pay-status:last-child{max-width:calc(100% - 12px);width:-moz-max-content;width:max-content}.portal-pay-status.portal-payment-status{align-items:center;box-sizing:border-box;justify-content:center;min-width:144px;padding-left:10px;padding-right:10px;text-align:center;width:144px}.portal-bill-row-link>.portal-pay-status.portal-payment-status{max-width:none}.portal-bill-payment-cell{align-items:stretch;display:flex;flex-direction:column;gap:7px;justify-self:start;max-width:184px;min-width:0;width:100%}.portal-bill-payment-status-row{align-items:center;display:flex;gap:8px;width:100%}.portal-bill-payment-status-row>.portal-payment-status{flex:1;min-width:0;width:auto}.portal-bill-list-progress{align-items:center;display:flex;gap:7px;width:100%}.portal-bill-list-progress .portal-pay-bar{flex:1;height:6px;margin:0;min-width:0}.portal-bill-list-progress-value{color:var(--muted);font-size:.68rem;font-weight:700;line-height:1;min-width:27px;text-align:right}.portal-bill-list{gap:8px}.portal-list-row:hover{background:var(--mint)}.portal-bill-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.portal-bill-card{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:var(--radius-md);background:var(--soft-surface);text-decoration:none;color:var(--ink);transition:background var(--motion),transform var(--motion)}.portal-bill-card:hover{background:var(--mint);transform:translateY(-2px)}.portal-bill-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.portal-pending-payment-indicator{align-items:center;background:#f4c84e;border:0;border-radius:50%;color:#2a2107;display:inline-flex;flex:0 0 32px;height:32px;justify-content:center;padding:0;position:relative;width:32px}button.portal-pending-payment-indicator{cursor:pointer}.portal-pending-payment-count{align-items:center;background:var(--ink);border:2px solid var(--soft-surface);border-radius:999px;color:#fff;display:flex;font-size:.58rem;font-weight:800;height:17px;justify-content:center;min-width:17px;padding:0 3px;position:absolute;right:-5px;top:-5px}.portal-bill-card-table{display:flex;flex-direction:column;gap:2px}.portal-bill-card-table-line{align-items:center;display:flex;gap:8px;justify-content:space-between;min-height:32px}.portal-bill-card-table strong{font-size:1.05rem;min-width:0;overflow-wrap:anywhere}.portal-bill-card-progress{align-items:center;display:flex;gap:10px}.portal-bill-card-progress .portal-pay-bar{flex:1;margin:0}.portal-bill-card-progress span{color:var(--muted);font-size:.78rem;font-weight:700;white-space:nowrap}.portal-bill-card-foot{align-items:center;display:flex;justify-content:space-between;gap:8px}.portal-bill-card-foot span{font-size:.82rem}.portal-bill-card-foot strong{color:var(--mint-strong);font-size:1.05rem}.portal-bill-cards-more{font-size:.82rem;margin:12px 0 0;text-align:center}.portal-pm-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:var(--radius-md);background:var(--soft-surface)}.portal-pm-row-edit{align-items:flex-start}.portal-pm-row-actions{display:flex;flex-shrink:0;gap:8px}.portal-grow{min-width:0;display:grid;gap:2px}.portal-pm-inline{display:flex;gap:8px}.portal-pm-inline>.ui-select{flex:0 0 auto}.portal-pm-inline>input{flex:1 1 auto;min-width:0}.portal-profile-button{align-items:center;background:var(--soft-surface);border:1px solid var(--line);border-radius:999px;color:var(--ink);cursor:pointer;display:inline-flex;font-weight:700;font-family:inherit;gap:8px;justify-content:center;min-height:40px;padding:8px 16px;text-decoration:none;transition:background var(--motion),border-color var(--motion)}.portal-profile-button.is-active,.portal-profile-button:hover{background:var(--mint);border-color:var(--mint-strong)}.portal-profile-button.is-active{color:var(--mint-strong)}.portal-button{align-items:center;border:1px solid transparent;border-radius:var(--radius-sm);cursor:pointer;display:inline-flex;font-size:.92rem;font-weight:700;gap:6px;justify-content:center;padding:10px 16px;text-decoration:none;transition:background var(--motion),box-shadow var(--motion),color var(--motion)}.portal-self-start{align-self:flex-start}.portal-button-block{align-self:stretch;width:100%}.portal-button-ghost.portal-button-borderless{border-color:transparent}.portal-page-head-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.portal-logo{align-items:center;background:var(--soft-surface);border:1px solid var(--line);border-radius:10px;display:flex;height:104px;justify-content:center;max-width:280px;min-width:104px;overflow:hidden;padding:4px}.portal-logo-img{height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:auto}.portal-logo-avatar{background:var(--mint);border:none;border-radius:999px;height:56px;max-width:56px;min-width:56px;padding:6px}.portal-logo-avatar .portal-logo-img{border-radius:999px;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.portal-logo-loading{animation:portal-skel 1.4s ease infinite;background:linear-gradient(90deg,var(--neutral-50) 25%,var(--neutral-100) 37%,var(--neutral-50) 63%);background-size:400% 100%;border-color:transparent}@keyframes portal-mobile-notification-in{0%{opacity:0;transform:translate3d(0,-110%,0) scale(.97)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes portal-mobile-notification-out{0%{opacity:1;transform:translateZ(0) scale(1)}to{opacity:0;transform:translate3d(0,-110%,0) scale(.97)}}@media (prefers-reduced-motion:reduce){.portal-logo-loading{animation:none}.portal-payment-notification,.portal-payment-notification.is-leaving{animation-duration:1ms}}.portal-logo-picker{align-items:center;display:flex;flex-wrap:wrap;gap:14px}.portal-logo-preview{align-items:center;background:var(--soft-surface);border:1px dashed var(--line);border-radius:var(--radius-md);color:var(--muted);cursor:pointer;display:flex;height:72px;justify-content:center;overflow:visible;padding:0;position:relative;transition:background var(--motion),border-color var(--motion),color var(--motion);width:72px}.portal-logo-preview:focus-visible,.portal-logo-preview:hover{background:var(--mint);border-color:var(--mint-strong);color:var(--mint-strong)}.portal-logo-preview:has(img){border-style:solid}.portal-logo-preview img{border-radius:calc(var(--radius-md) - 1px);height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.portal-logo-edit-badge{align-items:center;background:var(--mint-strong);border:2px solid #fff;border-radius:999px;bottom:-6px;color:#fff;display:flex;height:22px;justify-content:center;position:absolute;right:-6px;width:22px}.portal-logo-picker-actions{display:flex;flex-wrap:wrap;gap:8px}.portal-success{margin:0;padding:10px 14px;border-radius:var(--radius-sm);background:var(--success-100);color:var(--success-text);font-size:.9rem}.portal-checkbox{align-items:flex-start;cursor:pointer;display:flex;gap:12px;margin:0}.portal-checkbox input[type=checkbox]{margin-top:3px;width:18px;height:18px;flex:0 0 auto;accent-color:var(--mint-strong);cursor:pointer}.portal-checkbox-text{display:flex;flex-direction:column;gap:3px}.portal-checkbox-text small{font-size:.85rem;line-height:1.45}.portal-radio{align-items:flex-start;border:1px solid var(--line,#dce3df);border-radius:10px;cursor:pointer;display:flex;gap:12px;margin:0;padding:10px 12px}.portal-radio input[type=radio]{margin-top:3px;width:18px;height:18px;flex:0 0 auto;accent-color:var(--mint-strong);cursor:pointer}.portal-radio-text{display:flex;flex-direction:column;gap:3px}.portal-radio-text small{font-size:.85rem;line-height:1.45}.portal-auth-actions{display:flex;flex-wrap:wrap;gap:10px}.portal-button:disabled{opacity:.45;cursor:not-allowed}.portal-button-primary{background:var(--neutral-900);color:#fff}.portal-button-primary:hover:not(:disabled){background:var(--neutral-800)}.portal-button-ghost{background:transparent;border-color:var(--line);color:var(--ink)}.portal-button-ghost:hover:not(:disabled){background:var(--soft-surface)}.portal-button-white{background:var(--panel);border-color:var(--line);color:var(--ink)}.portal-button-white:hover:not(:disabled){background:var(--soft-surface)}.portal-button-danger{background:transparent;border-color:var(--error-300);color:var(--error-text)}.portal-button-danger:hover:not(:disabled){background:var(--error-50)}.portal-button-ghost-accent{background:transparent;border-color:transparent;color:var(--mint-strong)}.portal-button-ghost-accent:hover:not(:disabled){background:var(--mint)}.portal-button-sm{padding:6px 12px;font-size:.82rem}.portal-button-icon{padding:6px;width:30px;height:30px}.portal-inline-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.portal-inline-form input,.portal-inline-form select,.portal-table input{flex:1 1 140px;min-width:0;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--line);background:#fff;font-size:.92rem;color:var(--ink)}.portal-inline-form select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 44%,var(--muted) 44%,var(--muted) 56%,transparent 56%),linear-gradient(135deg,transparent 44%,var(--muted) 44%,var(--muted) 56%,transparent 56%);background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%;background-repeat:no-repeat;background-size:6px 6px;padding-right:36px;transition:border-color var(--motion),box-shadow var(--motion)}.portal-inline-form input:hover:not(:focus),.portal-inline-form select:hover:not(:focus),.portal-table input:hover:not(:focus){border-color:var(--neutral-300)}.portal-inline-form input:focus,.portal-inline-form select:focus,.portal-table input:focus{border-color:var(--brand-500);box-shadow:var(--focus-ring-brand);outline:none}.portal-inline-form input[type=number]{flex:0 0 110px}.portal-inline-form .portal-inline-select{flex:1 1 200px;min-width:0}.portal-add-item{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.portal-empty-state{align-items:center;background:var(--neutral-50);border:1px dashed var(--line);border-radius:var(--radius-lg);display:flex;flex-direction:column;gap:4px;margin-top:24px;padding:32px 20px;text-align:center}.portal-empty-state-icon{align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-pill);color:var(--muted);display:inline-flex;height:44px;justify-content:center;margin-bottom:8px;width:44px}.portal-empty-state-title{color:var(--ink);font-weight:700;margin:0}.portal-empty-state-hint{color:var(--muted);font-size:.85rem;margin:4px 0 0;max-width:320px}.portal-search-select{flex:1 1 280px;min-width:0;position:relative}.portal-search-select-trigger{align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);cursor:pointer;display:flex;gap:12px;justify-content:space-between;min-height:42px;padding:8px 20px 8px 12px;text-align:left;transition:border-color var(--motion),box-shadow var(--motion);width:100%}.portal-search-select-trigger:hover{border-color:var(--neutral-300)}.portal-search-select-trigger:focus-visible{border-color:var(--brand-500);box-shadow:var(--focus-ring-brand);outline:none}.portal-search-select-options button>span,.portal-search-select-trigger>span:first-child{display:grid;gap:2px}.portal-search-select-trigger>span:first-child{display:flex;align-items:baseline;gap:6px;min-width:0;overflow:hidden}.portal-search-select-trigger>span:first-child strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-search-select-trigger small{flex:0 0 auto}.portal-search-select-options small,.portal-search-select-trigger small{color:var(--muted);font-size:.76rem;font-weight:500}.portal-search-select-menu{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--panel-shadow);display:grid;gap:8px;left:0;padding:8px;position:absolute;right:0;top:calc(100% + 6px);z-index:20}.portal-search-select-menu input{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);font-size:.9rem;padding:10px 12px;transition:border-color var(--motion),box-shadow var(--motion);width:100%}.portal-search-select-menu input:hover:not(:focus){border-color:var(--neutral-300)}.portal-search-select-menu input:focus{border-color:var(--brand-500);box-shadow:var(--focus-ring-brand);outline:none}.portal-search-select-options{display:grid;gap:3px;max-height:280px;overflow-y:auto}.portal-search-select-options button{align-items:center;background:transparent;border:0;border-radius:var(--radius-sm);color:var(--ink);cursor:pointer;display:flex;gap:12px;justify-content:space-between;padding:10px;text-align:left}.portal-search-select-options button:hover{background:var(--neutral-50)}.portal-search-select-options button.is-selected{background:var(--brand-100);color:var(--brand-800);font-weight:700}.portal-search-select-options p{margin:8px}.portal-table{width:100%;border-collapse:collapse}.portal-table th{text-align:left;font-size:.76rem;text-transform:uppercase;color:var(--muted);padding:8px 10px}.portal-table td,.portal-table th{border-bottom:1px solid var(--line)}.portal-table td{padding:12px 10px;vertical-align:middle;transition:background-color .18s var(--ease-out),border-color .18s var(--ease-out)}.portal-table tbody tr{transition:background-color .18s var(--ease-out)}.portal-table tr:last-child td{border-bottom:none}.portal-table tr.is-muted td{opacity:.5}.portal-table-empty{text-align:center;padding:32px 10px;color:var(--muted)}.portal-table-edit-stack{display:flex;flex-direction:column;gap:4px}.portal-table-edit-stack input{flex:none;padding:6px 8px;font-size:.82rem}.portal-table tr.is-error-row:not(.is-fading),.portal-table tr.is-error-row:not(.is-fading) td{transition:none}.portal-table tr.is-error-row td{background:var(--error-50);border-bottom-color:var(--error-100)}.portal-table-row-error{padding:0 10px 10px;color:var(--error-text);font-size:.82rem}.portal-table tr.is-error-row.is-fading{transition:opacity .18s var(--ease-out);opacity:0}.portal-table tr.is-error-row.is-fading td{transition:opacity .18s var(--ease-out)}.portal-scan-help{align-items:center;color:var(--muted);cursor:help;display:inline-flex;position:relative}.portal-pay-tooltip.portal-scan-help-tooltip{bottom:auto;left:0;top:calc(100% + 8px);width:240px}.portal-scan-help-tooltip-text{display:block;font-weight:400}.portal-scan-help:focus .portal-pay-tooltip,.portal-scan-help:focus-within .portal-pay-tooltip,.portal-scan-help:hover .portal-pay-tooltip{display:flex}.portal-media-source{max-width:480px}.portal-media-options{display:grid;gap:12px}.portal-media-option{display:flex;align-items:center;gap:12px;padding:12px;min-height:76px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--soft-surface);color:var(--ink);text-align:left;cursor:pointer}.portal-media-option>span:last-child{min-width:0}.portal-media-option strong{display:block;font-size:1rem}.portal-media-option small{display:block;margin-top:2px;font-size:13.2px;color:var(--muted);line-height:1.5}.portal-media-option:active{background:var(--paper);transform:scale(.98)}.portal-media-option:disabled{opacity:.5;cursor:wait}.portal-media-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:50%;background:#fff;border:1px solid var(--line)}.portal-capture-overlay{padding:0!important;background:#000}.portal-document-camera{position:relative;isolation:isolate;width:100%;height:100dvh;overflow:hidden;background:#000;color:#fff}.portal-capture-video{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;z-index:-1}.portal-capture-head{display:flex;justify-content:space-between;align-items:center;padding:calc(18px + env(safe-area-inset-top)) 20px 18px;background:rgba(0,0,0,.5)}.portal-capture-head h2{color:#fff;font-size:18px;margin:0}.portal-capture-head .portal-modal-close{background:rgba(255,255,255,.15);color:#fff;border:0}.portal-capture-controls{position:absolute;bottom:0;width:100%;display:flex;justify-content:center;padding:24px 20px calc(32px + env(safe-area-inset-bottom));background:rgba(0,0,0,.5)}.portal-capture-shutter{display:grid;place-items:center;width:84px;height:84px;padding:5px;border:4px solid #fff;border-radius:50%;background:transparent;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.portal-capture-shutter span{width:100%;height:100%;border-radius:50%;background:#fff}.portal-capture-shutter:active{transform:scale(.93)}.portal-capture-shutter:disabled{opacity:.4;cursor:default}.portal-capture-error{position:absolute;inset:25% 20px auto;display:grid;justify-items:center;gap:16px;text-align:center}.portal-camera-body{display:flex;flex-direction:column;gap:12px}.portal-camera-video{background:#000;border-radius:var(--radius-md);max-height:60vh;-o-object-fit:contain;object-fit:contain;width:100%}.portal-camera-hint{font-size:.82rem;margin:0;text-align:center}.portal-scan-list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}.portal-scan-item{align-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);display:flex;gap:12px;justify-content:space-between;padding:10px 12px}.portal-scan-check{align-items:center;cursor:pointer;display:flex;gap:10px;margin:0;min-width:0}.portal-scan-names{display:flex;flex-direction:column;min-width:0}.portal-scan-names small,.portal-scan-names strong{overflow-wrap:anywhere}.portal-scan-names small{font-size:.74rem}.portal-scan-unmatched{font-size:.8rem}.portal-row-actions{text-align:right;white-space:nowrap}.portal-row-actions .portal-button{vertical-align:middle}.portal-row-actions .portal-button+.portal-button{margin-left:8px}.portal-pill{border:1px solid var(--line);background:var(--soft-surface);color:var(--muted);border-radius:var(--radius-pill);padding:4px 12px;font-size:.8rem;font-weight:600;cursor:pointer}.portal-pill.is-on{background:var(--mint);color:var(--mint-strong);border-color:transparent}.portal-item-active-cell{text-align:center}.portal-item-active-label{display:none}.portal-menu-item-name{font-weight:800}.portal-item-switch{cursor:pointer;display:inline-flex;height:26px;position:relative;width:46px}.portal-item-switch input{cursor:inherit;height:100%;inset:0;margin:0;opacity:0;position:absolute;width:100%;z-index:1}.portal-item-switch-track{background:#cfd8d2;border:1px solid #bbc8c0;border-radius:999px;display:block;height:26px;position:relative;transition:background-color .18s ease,border-color .18s ease;width:46px}.portal-item-switch-track:after{background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(21,23,22,.2);content:"";height:20px;left:2px;position:absolute;top:2px;transition:transform .18s ease;width:20px}.portal-item-switch input:checked+.portal-item-switch-track{background:var(--mint-strong);border-color:var(--mint-strong)}.portal-item-switch input:checked+.portal-item-switch-track:after{transform:translateX(20px)}.portal-item-switch input:focus-visible+.portal-item-switch-track{outline:3px solid rgba(47,147,94,.24);outline-offset:2px}.portal-item-switch:has(input:disabled){cursor:wait;opacity:.62}.portal-segmented{display:inline-flex;background:var(--soft-surface);border-radius:var(--radius-md);padding:4px;gap:4px}.portal-segmented button{border:none;background:transparent;border-radius:var(--radius-xs);padding:7px 14px;font-weight:600;font-size:.85rem;color:var(--muted);cursor:pointer;transition:background-color var(--motion),color var(--motion)}.portal-segmented button:hover:not(.is-active){background:var(--neutral-100);color:var(--ink)}.portal-segmented button.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.06);font-weight:700}.portal-reporting-filter{display:grid;gap:8px;min-width:0}.portal-reporting-range{align-items:end;display:flex;gap:10px;justify-content:flex-end}.portal-reporting-range .portal-field{gap:4px;min-width:140px}.portal-reporting-range .portal-field span{font-size:.72rem}.portal-reporting-range .portal-field input{min-height:38px;padding:7px 10px}.portal-reporting-range-error{color:var(--error-text);font-size:.72rem;font-weight:700;max-width:180px}.portal-closed-outcome-filter{display:flex;justify-content:flex-end;margin:2px 0 14px}.portal-status{font-size:.7rem;text-transform:uppercase;padding:4px 10px;border-radius:var(--radius-pill);vertical-align:middle}.portal-status-open{background:var(--mint);color:var(--mint-strong)}.portal-status-closed{background:var(--soft-surface);color:var(--muted)}.portal-bill-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;align-items:start}@media (min-width:881px){.portal-bill-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.portal-payment-tracking-card{grid-column:1;grid-row:2}.portal-service-tip-card{grid-column:2;grid-row:2}}@media (min-width:881px) and (max-width:1199px){.portal-shell{grid-template-columns:157px minmax(0,1fr)}.portal-sidebar{gap:20px;padding:20px 10px}.portal-brand-logo{height:34px;width:126px}.portal-nav-link{gap:8px;padding:9px 10px}.portal-main{padding:24px 18px 48px}.portal-bill-grid{gap:16px;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)}}.portal-qr-card{text-align:center}.portal-payment-tracking-card{scroll-margin-top:24px}.portal-mobile-bill-shortcuts{display:none}.portal-qr{display:flex;flex-direction:column;align-items:center;gap:12px}.portal-qr img{border-radius:var(--radius-lg);border:1px solid var(--line);padding:12px;background:#fff}.portal-qr-placeholder{border-radius:var(--radius-lg);background:var(--soft-surface)}.portal-qr-meta{display:flex;flex-direction:column;gap:4px;word-break:break-all}.portal-qr-meta .portal-code{font-size:1.2rem}.portal-qr-review-button{justify-content:center;margin-top:20px;width:100%}.portal-bill-review-dialog{max-width:620px}@media (min-width:701px){.portal-bill-review-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);overflow:hidden}.portal-bill-review-dialog .portal-mobile-bill-dialog-invoice{flex:1;overflow:hidden}.portal-bill-review-dialog .portal-mobile-bill-dialog-items{flex:1;max-height:none;min-height:0}}.portal-mobile-bill-dialog-invoice{display:flex;flex-direction:column;gap:16px;min-height:0}.portal-mobile-bill-dialog-items{display:grid;gap:8px;max-height:min(56vh,520px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.portal-mobile-bill-dialog-item{align-items:center;background:var(--soft-surface);border:1px solid var(--line);border-radius:10px;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) auto;padding:12px 14px}.portal-mobile-bill-dialog-item>div{display:grid;gap:3px;min-width:0}.portal-mobile-bill-dialog-item>strong{white-space:nowrap}.portal-mobile-bill-dialog-totals{border-top:1px solid var(--line);display:grid;gap:8px;padding-top:14px}.portal-totals{margin-top:18px;display:flex;flex-direction:column;gap:8px}.portal-total-row{display:flex;justify-content:space-between;color:var(--muted)}.portal-total-row.is-strong{color:var(--ink);font-weight:700;font-size:1.1rem;padding-top:8px;border-top:1px solid var(--line)}.portal-chart-shell{min-width:0;position:relative}.portal-chart{display:flex;align-items:flex-end;gap:10px;height:220px;overflow-x:auto;padding-top:22px}.portal-bar-col{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:36px;flex:1;height:100%}.portal-bar-track{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;position:relative}.portal-bar-value{bottom:calc(var(--bar-height, 0%) + 4px);color:var(--muted);font-size:.68rem;font-weight:700;left:50%;line-height:1;position:absolute;transform:translateX(-50%);white-space:nowrap}.portal-bar-fill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(180deg,var(--mint-strong),var(--mint));border:0;border-radius:8px 8px 0 0;cursor:pointer;min-height:4px;padding:0;transition:height var(--motion),filter .14s ease,transform .14s ease;width:70%}.portal-bar-fill:focus-visible,.portal-bar-fill:hover{filter:brightness(1.06);transform:scaleX(1.06)}.portal-bar-fill:focus-visible{box-shadow:0 0 0 3px rgba(48,147,96,.2);outline:none}.portal-chart-tooltip{animation:portal-chart-tooltip-in .16s ease-out both;background:var(--ink);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-sm);box-shadow:0 12px 28px rgba(13,25,19,.22);color:#fff;display:grid;gap:6px;max-width:calc(100% - 16px);padding:10px 12px;pointer-events:none;position:absolute;top:6px;transform:translateX(-50%);width:232px;z-index:4}.portal-chart-tooltip:after{background:var(--mint-strong);border-radius:2px;content:"";height:3px;left:12px;position:absolute;right:12px;top:0}.portal-chart-tooltip>strong{font-size:.82rem;margin-bottom:1px}.portal-chart-tooltip>span{align-items:baseline;display:flex;gap:12px;justify-content:space-between}.portal-chart-tooltip small{color:rgba(255,255,255,.68);font-size:.7rem}.portal-chart-tooltip b{font-size:.76rem;font-variant-numeric:tabular-nums}@keyframes portal-chart-tooltip-in{0%{opacity:0;transform:translate(-50%,4px) scale(.98)}to{opacity:1;transform:translate(-50%) scale(1)}}.portal-bar-col{min-width:48px}.portal-auth{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.portal-auth-card{width:100%;max-width:460px;padding:32px;border-radius:var(--radius-xl);background:var(--panel);border:0;box-shadow:var(--soft-shadow);display:flex;flex-direction:column;gap:12px}.portal-auth-card h1{margin:12px 0 0;font-size:1.5rem}.portal-auth-card p{margin:0}.portal-auth-form{display:grid;gap:12px;margin-top:8px}.portal-field{display:grid}.portal-switch-row{align-items:center;display:flex;gap:14px;justify-content:space-between}.portal-switch-row span{font-weight:700}.portal-field-confirm{align-items:center;display:flex;gap:8px}.portal-field-confirm .portal-input-suffix{flex:1;min-width:0}.portal-field-settled{flex:1;font-size:1.15rem;min-width:0}.portal-input-suffix{align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);display:flex;gap:6px;padding-right:12px}.portal-input-suffix:focus-within{border-color:var(--mint-strong)}.portal-input-suffix input{background:none;border:0;flex:1;min-width:0;outline:none}.portal-input-suffix span{color:var(--muted);font-weight:700}.portal-field span{color:var(--ink);font-size:.86rem;font-weight:800}.portal-field span.portal-field-error{align-items:center;color:var(--error-text);display:inline-flex;font-size:.82rem;font-weight:500;gap:5px;opacity:1;transform:translateY(0);transition:opacity .16s var(--ease-out),transform .16s var(--ease-out);@starting-style{opacity:0;transform:translateY(-4px)}}.portal-field-error svg{flex-shrink:0}.portal-field.has-error input{border-color:var(--error-300)}.portal-field.has-error input:focus{border-color:var(--error-600);box-shadow:var(--focus-ring-error)}.portal-field input{font:inherit;min-height:40px;padding:8px 11px}.portal-primary-button{background:var(--neutral-900);border:0;border-radius:var(--radius-sm);color:#fff;cursor:pointer;font:inherit;font-weight:700;min-height:42px;padding:9px 16px;transition:transform .14s var(--ease-out)}.portal-primary-button:active:not(:disabled){transform:scale(.97)}.portal-primary-button.is-shaking{animation:portal-shake .65s var(--ease-in-out)}@keyframes portal-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(2px)}30%,50%,70%{transform:translateX(-4px)}40%,60%{transform:translateX(4px)}}.portal-primary-button:hover:not(:disabled){background:var(--neutral-800)}.portal-primary-button:disabled{cursor:progress;opacity:.45}.portal-small-note{font-size:.85rem}.portal-merchant-list{display:flex;flex-direction:column;gap:10px;margin-top:8px}.portal-merchant-option{display:flex;align-items:center;gap:14px;padding:14px;border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--soft-surface);cursor:pointer;text-align:left;transition:transform var(--motion),box-shadow var(--motion)}.portal-merchant-option:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--hover-shadow)}.portal-merchant-option:disabled{opacity:.6;cursor:progress}.portal-merchant-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:var(--radius-md);background:var(--mint);color:var(--mint-strong);font-weight:700}.portal-merchant-meta{display:flex;flex-direction:column}.portal-merchant-meta small{color:var(--muted)}.portal-merchant-go{margin-left:auto;font-size:1.3rem;color:var(--muted)}.portal-mobile-merchant-logo,.portal-mobile-merchant-name{display:none}@media (max-width:880px){.portal-shell{grid-template-columns:1fr}.portal-sidebar{position:static;height:auto;align-items:center}.portal-nav,.portal-sidebar{flex-direction:row;flex-wrap:wrap}.portal-sidebar-footer{margin-top:0;margin-left:auto;flex-direction:row;align-items:center}.portal-main{padding:24px 18px 48px}.portal-metric-grid{grid-template-columns:repeat(2,1fr)}.portal-bill-grid{grid-template-columns:1fr}.portal-bill-ratings-card{order:1}}.portal-modal-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(21,23,22,.45);animation:portal-fade .16s ease}.portal-modal{width:100%;max-width:440px;max-height:calc(100dvh - 40px);overflow-y:auto;padding:24px;border-radius:var(--radius-lg);background:var(--panel);box-shadow:var(--modal-shadow);animation:portal-pop .18s cubic-bezier(.33,1,.68,1)}.portal-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.portal-modal-head h2{margin:0;font-size:1.2rem}.portal-modal-close{background:var(--soft-surface);border:none;border-radius:var(--radius-pill);height:32px;width:32px;font-size:0;padding:0;position:relative;cursor:pointer;color:var(--muted)}.portal-modal-close:after,.portal-modal-close:before{background:currentColor;border-radius:999px;content:"";height:2px;left:50%;position:absolute;top:50%;width:13px}.portal-modal-close:before{transform:translate(-50%,-50%) rotate(45deg)}.portal-modal-close:after{transform:translate(-50%,-50%) rotate(-45deg)}.portal-payment-notification{align-items:center;animation:portal-notification-in .36s cubic-bezier(.22,1,.36,1) both;background:var(--ink);border:1px solid rgba(255,255,255,.14);border-radius:18px;box-shadow:0 16px 42px rgba(21,23,22,.24);color:#fff;display:flex;gap:6px;max-width:calc(100vw - 40px);min-height:68px;padding:8px;position:fixed;right:22px;top:22px;width:390px;z-index:90}.portal-payment-notification.is-leaving{animation:portal-notification-out .26s cubic-bezier(.4,0,1,1) both}.portal-payment-notification-link{align-items:center;background:transparent;border:0;color:inherit;cursor:pointer;display:flex;flex:1;gap:11px;min-width:0;padding:5px 3px 5px 5px;text-align:left}.portal-payment-notification-icon{align-items:center;background:#f4c84e;border-radius:50%;color:#2a2107;display:inline-flex;flex:0 0 38px;height:38px;justify-content:center}.portal-payment-notification-copy{font-size:.9rem;line-height:1.35;overflow-wrap:anywhere}.portal-payment-notification-copy strong{font-weight:800}.portal-payment-notification-close{background:rgba(255,255,255,.13);color:#fff;flex:0 0 30px;height:30px;width:30px}@keyframes portal-notification-in{0%{opacity:0;transform:translate3d(28px,-10px,0) scale(.96)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes portal-notification-out{0%{opacity:1;transform:translateZ(0) scale(1)}to{opacity:0;transform:translate3d(24px,-8px,0) scale(.97)}}.portal-modal-form{gap:14px}.portal-field,.portal-modal-form{display:flex;flex-direction:column}.portal-field{gap:6px}.portal-field span{font-size:.82rem;font-weight:600;color:var(--muted)}.portal-field input{padding:11px 13px;border-radius:var(--radius-sm);border:1px solid var(--line);background:#fff;font-size:.95rem;color:var(--ink);transition:border-color var(--motion),box-shadow var(--motion)}.portal-field input:hover:not(:focus){border-color:var(--neutral-300)}.portal-field input:focus{border-color:var(--brand-500);box-shadow:var(--focus-ring-brand);outline:none}.portal-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:4px}.portal-mobile-bill-dialog-overlay.is-closing{animation:overlay-leave .22s var(--ease-in) both}.portal-mobile-bill-dialog-overlay.is-closing>.portal-mobile-bill-dialog{animation:modal-leave .22s var(--ease-in) both}@keyframes portal-fade{0%{opacity:0}to{opacity:1}}@keyframes portal-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.portal-remove-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.portal-stepper{border:1px solid var(--line);border-radius:var(--radius-md);display:inline-grid;flex:none;font-weight:900;grid-template-columns:repeat(3,40px);min-height:40px;overflow:hidden;text-align:center;width:-moz-max-content;width:max-content}.portal-stepper,.portal-stepper button{align-items:center;background:#fff;padding:0}.portal-stepper button{border:0;color:var(--ink);cursor:pointer;display:flex;height:40px;justify-content:center;width:100%;transition:background-color var(--motion)}.portal-stepper button:hover:not(:disabled){background:var(--neutral-200)}.portal-stepper button:disabled{color:var(--neutral-300);cursor:not-allowed;opacity:.6}.portal-stepper>span{align-items:center;border-left:1px solid var(--line);border-right:1px solid var(--line);display:flex;height:40px;justify-content:center;min-width:0;pointer-events:none;width:100%}.portal-stepper>input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:#fff;border:0;border-left:1px solid var(--line);border-radius:0;border-right:1px solid var(--line);color:var(--ink);font:inherit;font-weight:900;height:40px;min-width:0;padding:0;text-align:center;width:40px}.portal-stepper>input::-webkit-inner-spin-button,.portal-stepper>input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.portal-stepper button:hover:not(:disabled){background:#eef6f1;color:#214a33}.portal-stepper button:disabled{color:#a8b1ac}.portal-editable-stepper{grid-template-columns:repeat(3,28px);min-height:32px}.portal-editable-stepper button,.portal-editable-stepper>input,.portal-editable-stepper>span{height:32px}.portal-editable-stepper>input{width:28px}@media (max-width:700px){.portal-shell{display:block;min-height:100dvh;overflow-x:hidden;background:var(--soft-surface)}.portal-payment-notification{animation-name:portal-mobile-notification-in;left:12px;max-width:none;min-height:66px;right:12px;top:max(10px,env(safe-area-inset-top));width:auto}.portal-payment-notification.is-leaving{animation-name:portal-mobile-notification-out}.portal-payment-tracking-card{scroll-margin-top:82px}.portal-sidebar{background:var(--panel);border-bottom:1px solid var(--line);border-right:0;flex-direction:row;gap:0;height:68px;padding:8px 12px;position:sticky;top:0;z-index:30}.portal-brand,.portal-sidebar{align-items:center;display:flex}.portal-brand{flex:1 1 auto;gap:10px;min-width:0}.portal-brand-lg .portal-brand-logo,.portal-brand-logo{flex:0 0 auto;height:42px;width:150px}.portal-brand small{display:none}.portal-mobile-merchant-name{color:var(--muted);display:block;flex:0 1 auto;font-size:.92rem;font-weight:500;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-mobile-merchant-logo{display:block;flex:0 0 auto;margin-left:8px}.portal-mobile-merchant-logo .portal-logo{border-radius:10px;height:38px;min-width:38px;width:38px}.portal-page-head>.portal-logo{display:none}.portal-nav{align-items:stretch;background:var(--panel);border-top:1px solid var(--line);bottom:0;box-shadow:0 -8px 24px rgba(29,40,35,.06);display:grid;gap:0;grid-template-columns:repeat(7,minmax(0,1fr));left:0;padding:6px 3px max(6px,env(safe-area-inset-bottom));position:fixed;width:100%;z-index:40}.admin-shell .portal-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-nav-link{align-items:center;border-radius:var(--radius-sm);display:flex;flex-direction:column;font-size:.64rem;gap:3px;justify-content:center;min-width:0;padding:5px 1px;text-align:center;white-space:nowrap}.portal-nav-link span[aria-hidden]{font-size:1.15rem;line-height:1;width:auto}.portal-sidebar-footer{align-items:center;display:flex;flex:0 0 auto;margin:0 0 0 6px}.portal-merchant-chip{display:none}.portal-sidebar-footer .portal-button{background:var(--soft-surface);border-color:var(--line);color:var(--ink);min-height:38px;padding:7px 10px}.portal-profile-button{height:38px;min-height:38px;padding:0;width:38px}.portal-profile-button-label{display:none}.portal-menu-actions{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.portal-menu-actions>.portal-button{font-size:.78rem;min-height:44px;min-width:0;padding:8px 6px;width:100%}.portal-menu-actions>.portal-logo{display:none}.portal-main{max-width:none;padding:18px 14px 104px}.portal-mobile-edit-modal{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;padding:20px}.portal-mobile-edit-modal .portal-modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-mobile-edit-modal .portal-modal-actions .portal-button{min-width:0;width:100%}.portal-auth{align-items:flex-start;min-height:100dvh;padding:60px 24px 24px}.portal-auth-card{background:transparent;border:0;box-shadow:none;max-width:440px;padding:0}.portal-auth-card h1{font-size:1.45rem}.portal-login-submit{align-items:center;display:flex;gap:14px;justify-content:center}.portal-login-submit .btn-spinner{margin-right:0}.portal-page{gap:16px}.portal-page-head{align-items:flex-start;flex-direction:column;gap:10px}.portal-bill-detail-head{position:relative}.portal-bill-detail-head>div{min-width:0;padding-right:124px;width:100%}.portal-bill-detail-head .portal-bill-close-action{position:absolute;right:0;top:0;white-space:nowrap}.portal-page-head h1{font-size:1.65rem;margin:0}.portal-page-head-actions{align-items:stretch;width:100%}.portal-page-head-actions>.portal-button{flex:1 1 0}.portal-page-head-actions>.portal-logo{display:none}.portal-page-head-actions>.portal-compact-mobile-action{flex:0 0 auto;font-size:.8rem;min-height:40px;padding:8px 13px;width:auto}.portal-page-head-actions>.portal-segmented{display:grid;flex:1 1 100%;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.portal-page-head-actions>.portal-reporting-filter{flex:1 1 100%;width:100%}.portal-reporting-periods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.portal-reporting-periods button{font-size:.7rem;min-width:0;padding:7px 3px}.portal-reporting-range{align-items:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-reporting-range .portal-field{min-width:0}.portal-reporting-range-error{grid-column:1/-1;max-width:none}.portal-card{border-radius:12px;padding:14px}.portal-card-head{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:12px}.portal-card-head h2{font-size:1rem}.portal-metric-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-metric{border-radius:12px;gap:4px;padding:12px}.portal-metric-label{font-size:.72rem}.portal-metric-value{font-size:1.18rem;overflow-wrap:anywhere}.portal-list-row{-moz-column-gap:12px;column-gap:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"code amount" "table amount" "server amount";padding:12px 14px;row-gap:2px}.portal-dashboard-code{grid-area:code}.portal-dashboard-table{font-weight:700;grid-area:table}.portal-dashboard-server{grid-area:server}.portal-dashboard-amount{align-self:center;grid-area:amount;white-space:nowrap}.portal-inline-form,.portal-inline-form.portal-add-item{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr)}.portal-inline-form .portal-button,.portal-inline-form input,.portal-inline-form select{min-width:0;width:100%}.portal-inline-form .portal-editable-stepper{grid-template-columns:36px 44px 36px;justify-self:start}.portal-inline-form .portal-editable-stepper>input[type=number]{border-right:0;font-variant-numeric:tabular-nums;min-width:0;width:44px}.portal-inline-form .portal-editable-stepper>button:last-child{border-left:1px solid var(--line)}.portal-table-wrap{min-width:0;overflow-x:hidden;width:100%}.portal-table{min-width:560px}.portal-bill-items-wrap{overflow:visible}.portal-bill-items-card.is-mobile-reordered{display:flex;flex-direction:column}.portal-bill-items-card.is-mobile-reordered>.portal-card-head{order:1}.portal-bill-items-card.is-mobile-reordered>.portal-card-head h2{display:none}.portal-bill-items-card.is-mobile-reordered>.portal-scan-row{margin-top:0;order:2}.portal-bill-items-card.is-mobile-reordered>.portal-add-item{margin-bottom:10px;order:3}.portal-bill-items-card.is-mobile-reordered>.portal-bill-items-empty,.portal-bill-items-card.is-mobile-reordered>.portal-bill-items-wrap{order:4}.portal-bill-items-card.is-mobile-reordered>.portal-totals{order:5}.portal-bill-items-table{display:block;min-width:0;width:100%}.portal-bill-items-table thead{display:none}.portal-bill-items-table tbody{display:grid;gap:10px;width:100%}.portal-bill-items-table tbody tr{background:var(--soft-surface);border:1px solid var(--line);border-radius:12px;display:grid;gap:6px 12px;grid-template-areas:"item subtotal actions" "quantity price actions";grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,auto);min-width:0;padding:12px}.portal-bill-items-table tbody td{border:0;min-width:0;overflow-wrap:anywhere;padding:0}.portal-bill-items-table tbody td:first-child{font-weight:800;grid-area:item}.portal-bill-items-table tbody td:nth-child(2){color:var(--muted);font-size:.88rem;grid-area:quantity}.portal-bill-items-table tbody td:nth-child(2):after{content:"x"}.portal-bill-items-table tbody td:nth-child(3){color:var(--muted);font-size:.88rem;grid-area:price;justify-self:end;text-align:right}.portal-bill-items-table tbody td:nth-child(4){font-weight:800;grid-area:subtotal;justify-self:end;text-align:right;white-space:nowrap}.portal-bill-items-table tbody td:nth-child(5){align-self:center;grid-area:actions}.portal-bill-items-table tbody tr:has(.portal-remove-control){grid-template-areas:"item subtotal" "quantity price" "actions actions";grid-template-columns:minmax(0,1fr) minmax(0,auto)}.portal-bill-items-table tbody tr:has(.portal-remove-control) td:nth-child(5){align-self:start;margin-top:4px}.portal-bill-items-table .portal-row-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;white-space:normal}.portal-bill-items-table .portal-remove-control{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0;width:100%}.portal-bill-items-table .portal-remove-control .portal-button{max-width:100%}.portal-bill-badges,.portal-bill-grid,.portal-bill-grid>.portal-card{min-width:0}.portal-bill-badges{align-items:flex-start;justify-content:flex-start;max-width:100%;width:100%}.portal-bill-badges .portal-pay-status{max-width:100%;min-width:0;white-space:normal}.portal-menu-table,.portal-server-table{min-width:0}.portal-menu-table thead,.portal-server-table thead{display:none}.portal-menu-table tbody,.portal-server-table tbody{display:grid;gap:10px}.portal-menu-table tbody tr,.portal-server-table tbody tr{background:var(--soft-surface);border:1px solid var(--line);border-radius:12px;display:grid;gap:5px 12px;padding:12px}.portal-menu-table tbody tr{grid-template-areas:"name price" "status category" "status actions";grid-template-columns:minmax(0,1fr) auto}.portal-menu-table tbody td,.portal-server-table tbody td{border:0;min-width:0;padding:0}.portal-menu-table tbody td:first-child{grid-area:status}.portal-menu-table tbody td:nth-child(2){font-size:1rem;font-weight:800;grid-area:name}.portal-menu-table tbody td:nth-child(3){font-size:.85rem;grid-area:category;justify-self:end}.portal-menu-table tbody td:nth-child(4){font-weight:800;grid-area:price;justify-self:end}.portal-menu-table tbody td.portal-item-active-cell{display:grid;gap:5px;justify-items:start}.portal-item-active-label{color:var(--muted);display:block;font-size:.76rem;font-weight:700;white-space:nowrap}.portal-menu-table tbody td:nth-child(5){align-self:end;grid-area:actions;justify-self:end}.portal-menu-table .portal-row-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;white-space:normal}.portal-server-table tbody tr{grid-template-areas:"server server" "code bills" "sales tips" "average rating" "actions actions";grid-template-columns:repeat(2,minmax(0,1fr))}.portal-server-table tbody td:first-child{grid-area:server}.portal-server-table tbody td:nth-child(2){grid-area:code}.portal-server-table tbody td:nth-child(3){grid-area:bills}.portal-server-table tbody td:nth-child(4){grid-area:sales}.portal-server-table tbody td:nth-child(5){grid-area:tips}.portal-server-table tbody td:nth-child(6){grid-area:average}.portal-server-table tbody td:nth-child(7){grid-area:rating}.portal-server-table tbody td:nth-child(8){grid-area:actions;margin-top:6px}.portal-server-table tbody td:nth-child(n+2):before{color:var(--muted);display:block;font-size:.68rem;font-weight:800;letter-spacing:.04em;margin-bottom:2px;text-transform:uppercase}.portal-server-table tbody td:nth-child(2):before{content:"Código"}.portal-server-table tbody td:nth-child(3):before{content:"Cuentas"}.portal-server-table tbody td:nth-child(4):before{content:"Ventas"}.portal-server-table tbody td:nth-child(5):before{content:"Propinas"}.portal-server-table tbody td:nth-child(6):before{content:"Ticket"}.portal-server-table tbody td:nth-child(7):before{content:"Calificación"}.portal-server-table .portal-row-actions{justify-content:flex-start;white-space:normal}.portal-date-search{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr)}.portal-date-search .portal-segmented{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.portal-closed-outcome-filter .portal-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.portal-date-search .portal-field,.portal-date-search>.portal-button{min-width:0;width:100%}.portal-bill-table-wrap{overflow:visible}.portal-bill-table{width:100%}.portal-bill-table .portal-bill-row.portal-bill-header{display:none}.portal-bill-list{gap:10px}.portal-bill-data-row,.portal-bill-row.has-date{-moz-column-gap:12px;column-gap:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(132px,auto);grid-template-areas:"code amount" "table amount" "server scan" "items scan" "date date" "delete payment";min-height:132px;padding:14px;row-gap:3px}.portal-bill-table .portal-bill-row.has-date{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-areas:"code amount" "table amount" "server scan" "items scan" "date payment" "delete payment"}.portal-bill-row-link{display:contents}.portal-bill-code{grid-area:code;align-self:end;font-size:.96rem}.portal-bill-table-name{grid-area:table;font-size:.96rem;font-weight:700}.portal-bill-server{grid-area:server;font-size:.9rem;min-width:0;overflow-wrap:anywhere}.portal-bill-items{grid-area:items;font-size:.9rem}.portal-bill-items:after{content:" items"}.portal-bill-amount{align-self:start;font-size:1.08rem;grid-area:amount;justify-self:end;white-space:nowrap}.portal-bill-closed-date{grid-area:date}.portal-bill-scan{align-self:center;grid-area:scan}.portal-bill-payment,.portal-bill-scan{justify-self:end;max-width:100%;min-width:0;width:100%}.portal-bill-payment{grid-area:payment}.portal-bill-payment-status-row{justify-content:flex-end}.portal-bill-payment-status-row>.portal-pay-status.portal-payment-status{flex:1;min-width:0;width:auto}.portal-bill-delete{grid-area:delete;justify-self:start;margin-top:4px}.portal-scan-status-label,.portal-scan-status-mode{white-space:normal}.portal-pay-status.portal-payment-status,.portal-pay-status.portal-scan-status{font-size:.7rem;line-height:1.2;min-height:32px;padding:7px 9px;text-align:center;width:100%}.portal-search-select-trigger{min-height:44px}.portal-modal-overlay{align-items:center;box-sizing:border-box;justify-content:center;min-height:100dvh;overflow-y:auto;padding:12px}.portal-modal{border-radius:16px 16px 10px 10px;margin:0 auto;max-height:calc(100dvh - 24px);overflow-y:auto;padding:16px;scroll-padding-block:20dvh}.portal-modal :is(input,textarea,select){scroll-margin-block:20dvh}.portal-modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-modal-actions .portal-button{min-width:0;width:100%}.portal-qr-card{text-align:left}.portal-qr-desktop-content{display:none}.portal-mobile-bill-shortcuts{align-items:start;display:grid;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;padding:4px 8px}.portal-mobile-bill-shortcut{align-items:center;background:transparent;border:0;color:var(--ink);display:flex;flex-direction:column;font:inherit;font-size:.84rem;font-weight:800;gap:9px;line-height:1.25;padding:0;text-align:center;transition:transform .18s ease}.portal-mobile-bill-shortcut-circle{align-items:center;background:var(--ink);border-radius:50%;box-shadow:0 9px 22px rgba(21,23,22,.16);display:flex;height:62px;justify-content:center;transition:transform .18s ease,box-shadow .18s ease;width:62px}.portal-mobile-bill-shortcut:active .portal-mobile-bill-shortcut-circle{box-shadow:0 12px 26px rgba(21,23,22,.18)}.portal-mobile-bill-shortcut:active{transform:translateY(-3px)}.portal-mobile-qr-icon{display:grid;gap:4px;grid-template-columns:repeat(2,9px)}.portal-mobile-qr-icon i{border:2px solid #fff;border-radius:2px;height:9px;width:9px}.portal-mobile-receipt-icon{background:#fff;border-radius:3px;display:grid;gap:4px;padding:7px 6px;width:27px}.portal-mobile-receipt-icon i{background:var(--ink);border-radius:999px;height:2px;width:100%}.portal-mobile-bill-dialog-overlay{align-items:flex-end;animation:none;background:transparent;isolation:isolate;padding:0;transform:translateZ(0)}.portal-mobile-bill-dialog-overlay:before{background:var(--overlay-dim);content:"";inset:0;position:absolute;z-index:0}.portal-mobile-bill-dialog{animation:sheet-arrive .26s var(--ease-out) both;border-radius:20px 20px 0 0;max-height:88dvh;max-width:100%;overflow:hidden;padding:22px 20px calc(18px + env(safe-area-inset-bottom));position:relative;z-index:1}.portal-mobile-bill-dialog:before{background:var(--line);border-radius:999px;content:"";height:4px;left:50%;position:absolute;top:8px;transform:translateX(-50%);width:42px}.portal-mobile-bill-dialog-overlay.is-closing>.portal-mobile-bill-dialog{animation:sheet-leave .22s var(--ease-in) both}.portal-mobile-bill-dialog-overlay.is-closing{animation:overlay-leave .22s var(--ease-in) both}.portal-mobile-bill-dialog-overlay>.portal-mobile-bill-dialog[data-dragging]{animation:none}.portal-mobile-bill-dialog{overscroll-behavior:contain}.portal-mobile-bill-dialog-qr{padding:8px 0 2px}.portal-mobile-bill-dialog-qr .portal-qr-meta small{display:none}.portal-mobile-bill-dialog-qr .portal-code{font-size:1.8rem}.portal-mobile-bill-dialog-invoice{display:flex;flex:1;flex-direction:column;gap:14px;min-height:0}.portal-mobile-bill-dialog-items{display:grid;gap:8px;max-height:48dvh;overflow-y:auto;overscroll-behavior:contain}.portal-mobile-bill-dialog-item{align-items:center;background:var(--soft-surface);border:1px solid var(--line);border-radius:10px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;padding:10px}.portal-mobile-bill-dialog-item>div{display:grid;gap:2px;min-width:0}.portal-mobile-bill-dialog-totals{display:grid;gap:8px}}@media (prefers-reduced-motion:reduce){.portal-button,.portal-field span.portal-field-error,.portal-primary-button{transform:none;transition-duration:1ms}.portal-primary-button.is-shaking{animation:none}}.portal-shell,.portal-shell h1,.portal-shell h2{letter-spacing:normal}.bill-rating-averages{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.bill-rating-average{display:grid;gap:4px;min-width:0}.bill-rating-detail-head{margin-top:18px}.bill-rating-detail-head h3{font-size:.95rem;margin:0}