.client-portal{background:var(--color-background);color:var(--color-foreground);min-height:100vh}.portal-topbar{border-bottom:1px solid var(--color-border)}.portal-topbar-content{max-width:960px;padding:0 24px;margin:0 auto;min-height:64px;display:flex;align-items:center;gap:24px}.portal-brand{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600;white-space:nowrap}.portal-brand>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;background:var(--color-primary);color:var(--color-primary-foreground);font-size:14px}.portal-desktop-nav{display:flex;align-items:center;gap:2px}.portal-nav-link{padding:6px 10px;border-radius:6px;color:var(--color-muted-foreground);font-size:14px;font-weight:500}.portal-nav-link[aria-current=page]{font-weight:600;background:var(--color-muted);color:var(--color-foreground)}.portal-desktop-account{display:flex;margin-left:auto;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end;font-size:13px}.portal-account-email,.portal-back-link{color:var(--color-muted-foreground)}.portal-logout,.portal-back-link{text-decoration:underline;text-underline-offset:3px;color:var(--color-muted-foreground);font-size:13px}.client-portal:has(.portal-project-index) .portal-logout{text-underline-offset:.5px}.client-portal:has(.portal-project-index) .portal-desktop-account{transform:translateY(-.5px)}.portal-switch-link{color:var(--color-muted-foreground);font-size:11px}.portal-page-heading{max-width:960px;margin:0 auto;padding:40px 24px 0}.portal-page-heading h1,.portal-page-heading h2{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.025em}.client-portal:has(.portal-project-index) .portal-page-heading h2{transform:translateY(.5px)}.portal-eyebrow{font-family:var(--font-mono);font-size:11px;text-transform:uppercase;color:var(--color-muted-foreground);letter-spacing:.3px;margin-bottom:8px}.portal-content{max-width:960px;padding:24px 24px 40px;margin:0 auto}.portal-section-title{font-size:16px;font-weight:600;margin-bottom:16px}.portal-table-scroll{overflow-x:auto}.portal-table{width:100%;border-collapse:collapse;font-size:14px;line-height:20px}.portal-table th{text-align:left;padding:0 12px 10px;color:var(--color-muted-foreground);font-size:12px;font-weight:400;text-transform:none;letter-spacing:0;border-bottom:1px solid var(--color-border)}.portal-table td{border-bottom:1px solid var(--color-border);padding:16px 12px;color:var(--color-muted-foreground)}.portal-table th:first-child,.portal-table td:first-child{padding-left:0}.portal-table .portal-amount{text-align:right;color:var(--color-foreground)}.portal-invoice-link{color:var(--color-foreground);font-weight:500;text-decoration:underline;text-underline-offset:3px}.portal-table .portal-table-empty{padding:32px 12px;text-align:center}.portal-footer{color:var(--color-muted-foreground);font-size:11px;text-align:center;padding:24px}.portal-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portal-project-card{box-shadow:none}.portal-project-card>a{display:block;padding:18px}.portal-project-card h3{font-size:14px;font-weight:600}.portal-project-card p,.portal-project-card dl{color:var(--color-muted-foreground);font-size:13px;line-height:20px;margin-top:6px}.portal-project-card dl{display:flex;gap:5px}.portal-project-card p{transform:translateY(-.5px)}.portal-auth{--color-foreground: #09090b;--color-muted-foreground: #71717a;--color-border: #e4e4e7;--color-input: #e4e4e7;--color-primary: #18181b;--color-primary-foreground: #fff;--color-card: #fff;--color-muted: #f4f4f5;display:flex;min-height:100vh;align-items:center;justify-content:center;padding:48px 24px;background:var(--color-background);color:var(--color-foreground)}.dark .portal-auth{--color-foreground: #fafafa;--color-muted-foreground: #a1a1aa;--color-border: #3f3f46;--color-input: #3f3f46;--color-primary: #fafafa;--color-primary-foreground: #18181b;--color-card: #18181b;--color-muted: #27272a}.portal-auth-content{width:100%;max-width:380px}.portal-auth h1{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.025em;text-align:center;margin-top:24px;transform:translateY(.5px)}.portal-auth-intro{text-align:center;font-size:14px;line-height:20px;color:var(--color-muted-foreground);margin-top:8px}.portal-auth-intro strong{color:var(--color-foreground);font-weight:600}.portal-auth-content>form{margin-top:32px}.portal-auth-logo{display:flex;justify-content:center}.portal-auth-logo .auth-wordmark{width:132px;height:18px}.portal-auth-logo svg{width:132px;height:18px;fill:var(--color-foreground)}.portal-auth .form-control{height:36px;padding:5px 8px 7px;border-radius:6px;box-shadow:0 1px 2px #0000000d}.portal-auth-submit{margin-top:16px;width:100%;height:40px}.portal-auth-help{color:var(--color-muted-foreground);font-size:13px;text-align:center;line-height:20px;margin-top:28px}@media (min-width: 768px){.portal-auth-login{padding-top:96px}.portal-auth-login .portal-auth-content>form{margin-top:28px}.portal-auth-login .form-control{margin-top:6px}}.portal-auth-sent .portal-auth-content{max-width:432px}.portal-auth-sent .portal-auth-intro{max-width:380px;margin-left:auto;margin-right:auto}.portal-auth-email-icon{width:48px;height:48px;margin:0 auto 24px;display:flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:12px}.portal-auth-email-icon svg{width:22px;height:22px;stroke-width:1.75}.portal-auth-retry{padding:16px;border-radius:8px;background:var(--color-muted);margin-top:24px}.portal-auth-retry h2{font-size:14px;font-weight:500;line-height:20px}.portal-auth-retry p{color:var(--color-muted-foreground);font-size:14px;line-height:20px;margin:10px 0 14px}.portal-auth-retry form{display:flex;gap:19px;align-items:center;font-size:12px}.portal-auth-retry button{height:32px;padding:6px 10px;font-size:12px;line-height:16px}.portal-auth-retry a{color:var(--color-muted-foreground);font-weight:600}.portal-auth-recovery{margin-top:20px;border:1px solid var(--color-border);border-radius:8px;padding:14px;font-size:13px;line-height:20px}.portal-auth-recovery p+p{margin-top:6px}.portal-company-select{align-items:flex-start;padding-top:120px}.portal-company-select .portal-auth-content{max-width:420px}.portal-select-title{font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.025em;transform:translateY(.5px)}.portal-select-intro{font-size:14px;line-height:20px;color:var(--color-muted-foreground);margin-top:8px}.portal-company-list{display:grid;gap:8px;margin-top:20px}.portal-company-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:8px;text-align:left;width:100%}.portal-company-option:hover{background:var(--color-muted)}.portal-company-avatar{width:36px;height:36px;border-radius:8px}.portal-company-option h3{transform:translateY(-2px);font-size:14px;font-weight:500;line-height:20px}.portal-company-option p{transform:translateY(-.5px);font-size:13px;line-height:16px}.portal-company-arrow{width:16px;height:16px;color:var(--color-muted-foreground)}.portal-invoice-topbar{max-width:1120px;justify-content:space-between}.portal-invoice-page{max-width:1120px;margin:0 auto;padding:40px 24px;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:32px;align-items:start}.portal-invoice-payment{padding:24px;border:1px solid var(--color-border);border-radius:8px}.portal-invoice-payment h2{font-size:32px;line-height:40px;font-weight:600;letter-spacing:-.8px}.portal-invoice-due{color:var(--color-muted-foreground);font-size:14px;line-height:21px}.portal-pay-button{width:100%;margin-top:24px}.portal-payment-security{display:flex;align-items:center;gap:6px;font-size:11px;line-height:16px;color:var(--color-muted-foreground);margin-top:18px}.portal-payment-security svg{width:14px;height:14px;flex-shrink:0}.portal-invoice-payment-status{margin-top:20px}.invoice-payment-form{margin-top:24px}.invoice-payment-form-actions{display:grid;justify-items:end;gap:8px;margin-top:24px}.invoice-payment-form-actions>button{margin:0}.invoice-payment-form-actions>button:first-child{width:100%}.portal-invoice-disclosure{display:none}@media (max-width: 900px){.portal-topbar-content{gap:12px}.portal-desktop-account{gap:8px}.portal-account-email{display:none}.portal-invoice-page{grid-template-columns:minmax(0,1fr) 300px;gap:20px}}.portal-payment-mobile-identity{display:none;overflow-wrap:anywhere}@media (max-width: 639px){.portal-topbar-content{min-height:64px;padding:0 20px;justify-content:space-between}.portal-desktop-nav,.portal-desktop-account{display:none}.portal-mobile-toggle{padding:8px}.portal-mobile-toggle svg{width:22px;height:22px}.portal-mobile-nav{display:flex;flex-direction:column;gap:12px;padding:16px 20px;font-size:13px;border-top:1px solid var(--color-border)}.portal-page-heading{padding:28px 20px 0}.portal-page-heading h1,.portal-page-heading h2{font-size:22px;line-height:30px}.portal-content{padding:24px 20px}.portal-project-grid{grid-template-columns:minmax(0,1fr)}.portal-table{min-width:560px}.portal-auth{padding:32px 24px}.portal-invoice-page{padding:28px 20px;display:flex;flex-direction:column;gap:24px}.portal-invoice-document,.portal-invoice-payment{width:100%}.portal-invoice-payment{border:0;padding:0}.portal-payment-desktop-label{display:none}.portal-payment-mobile-identity{display:inline}.portal-invoice-payment h2{font-size:36px;line-height:44px}.portal-invoice-disclosure{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;border:1px solid var(--color-border);border-radius:8px;padding:14px;font-size:15px;font-weight:500}.portal-invoice-disclosure small{display:block;color:var(--color-muted-foreground);font-size:12px;margin-top:3px;font-weight:400}.portal-invoice-disclosure svg{width:20px;height:20px}.portal-invoice-document[data-expanded=false] .portal-invoice-document-content{display:none}.portal-invoice-document[data-expanded=true] .portal-invoice-document-content{margin-top:16px}.portal-invoice-document[data-expanded=true] .portal-invoice-disclosure svg{transform:rotate(180deg)}}@media print{.client-portal{min-height:0}.portal-topbar,.portal-page-heading,.portal-footer,.portal-invoice-payment,.portal-invoice-disclosure{display:none!important}.portal-invoice-page{display:block;padding:0;max-width:none;margin:0}.portal-invoice-document .portal-invoice-document-content{display:block!important;margin:0!important}}@media (max-width: 639px){.portal-invoice-page{display:flex}.portal-invoice-payment{display:contents}.portal-payment-summary{order:1}.portal-invoice-document{order:2}.portal-payment-controls{order:3;width:100%}}.portal-invoice-page .invoice-preview-branding{display:none}@media print{.portal-invoice-page .invoice-preview-branding{display:block}}.portal-payments-table{table-layout:fixed}.portal-payments-table th:first-child,.portal-payments-table td:first-child{width:117.8125px;padding-left:12px}.portal-payments-table th{font-weight:500}.portal-payments-table th:nth-child(2){width:235px}.portal-payments-table th:nth-child(3){width:144px}.portal-payments-table th:nth-child(4){width:217.25px}.portal-payments-table .portal-invoice-link{text-underline-offset:1px}.portal-payments-table td{padding-top:14px;padding-bottom:14px}.portal-payments-table th.portal-amount{color:var(--color-muted-foreground)}.portal-payments-table td:nth-child(4){color:var(--color-foreground)}.portal-invoices-table{table-layout:fixed}.portal-invoices-table th:first-child{width:45%}.portal-invoices-table th:nth-child(2){width:24%}.portal-invoices-table th:nth-child(3){width:19%}.portal-invoices-table th.portal-amount{color:var(--color-muted-foreground)}.portal-page-heading:has(.portal-eyebrow) h1{font-size:28px;line-height:36px;letter-spacing:-.025em}.portal-invoices-heading h1{transform:translateY(-3px)}.portal-invoices-heading .portal-eyebrow{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;transform:translateY(.5px);letter-spacing:.025em}.portal-invoice-index{padding-top:33px}.portal-invoice-index .portal-section-title{margin-bottom:10px;transform:translateY(-.5px)}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link){min-width:912px}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link) th:first-child{width:406.625px}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link) th:nth-child(2){width:222.625px}.portal-invoice-index .portal-invoices-table:has(.portal-table-empty){min-width:0;table-layout:auto}@media (max-width: 959px){.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link){min-width:560px}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link) th:first-child{width:30%}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link) th:nth-child(2){width:27%}.portal-invoice-index .portal-invoices-table:has(.portal-invoice-link) th:nth-child(3){width:24%}}.portal-invoice-index .portal-invoices-table th{font-weight:500;padding-bottom:8px}.portal-invoice-index .portal-invoices-table td{padding-top:14px;padding-bottom:14px}.portal-invoice-index .portal-invoices-table th:last-child,.portal-invoice-index .portal-invoices-table td:last-child{padding-left:11.3125px}.portal-invoice-index .portal-invoices-table .portal-amount{padding-right:12.6875px}.portal-invoice-index .portal-invoice-link{text-underline-offset:1px}.portal-invoice-index .portal-invoices-table [data-slot=badge]{padding-top:6px;padding-bottom:6px}:root:not(.dark) .portal-invoice-index .text-blue-700{color:#1d4ed8;--tw-inset-ring-color: rgb(29 78 216 / 10%)}:root:not(.dark) .portal-invoice-index .text-green-700{color:#15803d;--tw-inset-ring-color: rgb(22 163 74 / 20%)}.client-portal:has(.portal-invoice-index) .portal-desktop-account{transform:translateY(-.5px)}.client-portal:has(.portal-invoice-index) .portal-logout{text-underline-offset:1px}.client-portal:has(.portal-invoice-index) .portal-brand>span{font-size:13px}.client-portal:has(.portal-invoice-index) .portal-brand-initial{transform:translateY(-.5px)}.client-portal:has(.portal-invoice-index) .portal-desktop-nav .portal-nav-link:last-child{position:relative;left:.125px}.portal-payment-history{padding-top:23px}.client-portal:has(.portal-payment-history) .portal-desktop-account{transform:translateY(-.5px)}.client-portal:has(.portal-payment-history) .portal-logout{text-underline-offset:1px}.client-portal:has(.portal-payment-history) .portal-nav-link[aria-current=page]{position:relative;left:.3125px}.client-portal:has(.portal-payment-history) .portal-brand>span{font-size:13px}.client-portal:has(.portal-payment-history) .portal-brand-initial{transform:translateY(-.5px)}.portal-payment-history .portal-payments-table th:nth-child(2){position:relative;left:.015625px}.portal-payment-history .portal-payment-unavailable{position:relative;left:-.125px}.portal-payment-history .portal-payments-table{min-width:912px}.portal-page-heading .portal-payment-history-title{transform:translateY(.5px)}.portal-table{font-variant-numeric:tabular-nums}.portal-table td.portal-amount{font-weight:500}.portal-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;line-height:20px;color:var(--color-muted-foreground)}.portal-breadcrumb svg{width:14px;height:14px}.portal-breadcrumb [aria-current]{color:var(--color-foreground)}.portal-project-heading+h2{margin-top:16px}.portal-project-description{margin-top:12px;font-size:14px;line-height:20px;color:var(--color-muted-foreground)}.portal-update-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.portal-update-grid>li{border:1px solid var(--color-border);border-radius:8px}.portal-update-grid a{display:flex;flex-direction:column;gap:10px;height:100%;padding:20px}.portal-update-grid time{font-size:13px;line-height:20px;color:var(--color-muted-foreground)}.portal-update-grid h3{font-size:17px;line-height:24px;font-weight:600}.portal-update-grid p{font-size:14px;line-height:20px;color:var(--color-muted-foreground)}.portal-update-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:4px}.portal-update-author{display:inline-flex;align-items:center;gap:8px;font-size:13px}.portal-update-author img,.portal-post-comments img{width:24px;height:24px;border-radius:999px}.portal-update-more{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:500}.portal-update-more svg{width:14px;height:14px}.portal-post{max-width:720px;display:flex;flex-direction:column;gap:20px}.portal-post header{display:flex;flex-direction:column;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--color-border)}.portal-post header time{font-size:13px;line-height:20px;color:var(--color-muted-foreground)}.portal-post h1{font-size:28px;line-height:34px;font-weight:600;letter-spacing:-.025em}.portal-post-author{display:flex;align-items:center;gap:10px;font-size:14px;line-height:20px}.portal-post-author img,.portal-post-comments img{width:32px;height:32px;flex-shrink:0;border-radius:999px}.portal-post-author p:first-child{font-weight:500}.portal-post-author p+p{font-size:12px;line-height:16px;color:var(--color-muted-foreground)}.portal-post-body{font-size:15px;line-height:26px;overflow-wrap:anywhere}.portal-post-body h1,.portal-post-body h2,.portal-post-body h3{margin:0 0 8px;font-size:17px;line-height:24px;font-weight:600}.portal-post-body p,.portal-post-body blockquote,.portal-post-body pre{margin:0 0 12px}.portal-post-body ul,.portal-post-body ol{margin:0 0 20px;padding-left:20px}.portal-post-body ul{list-style:disc}.portal-post-body ol{list-style:decimal}.portal-post-body>:last-child{margin-bottom:0}.portal-post-body li::marker{color:var(--color-foreground)}.portal-post-body a{text-decoration:underline;text-underline-offset:2px}.portal-post-body blockquote{padding-left:16px;border-left:2px solid var(--color-border);color:var(--color-muted-foreground)}.portal-post-body code{font-family:var(--font-mono);font-size:13px}.portal-post-body pre{padding:12px 16px;border-radius:8px;background:var(--color-muted);overflow-x:auto}.portal-post-body img{max-width:100%;border-radius:8px}.portal-post-comments{margin-top:12px}.portal-post-comments h2{margin-bottom:4px;font-size:15px;line-height:22px;font-weight:600}.portal-post-comments li{display:flex;gap:12px;padding:16px 0;border-top:1px solid var(--color-border)}.portal-post-comments li>div{flex:1;min-width:0}.portal-post-comments li p:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.portal-post-comments time{font-size:12px;color:var(--color-muted-foreground)}.portal-post-comments li p+p{margin-top:4px}
