.portal-wrap{width:min(1100px,calc(100% - 48px));margin:0 auto;padding:150px 0 45px;overflow-wrap:anywhere}.portal-wrap h1{font-size:clamp(44px,7vw,80px);line-height:1.06;margin:18px 0 25px}.portal-wrap h2{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:12px 0 24px}.portal-intro{max-width:740px}.portal-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px}.portal-card{padding:32px;background:#fff;border:1px solid #e1ddd2;margin:24px 0}.portal-columns .portal-card{margin:0}.portal-wrap label{display:flex;flex-direction:column;gap:8px;margin:20px 0;font-size:15px}.portal-wrap input:not([type=checkbox]):not([type=radio]),.portal-wrap textarea,.portal-wrap select{width:100%;border:1px solid #c9c5bc;background:#faf9f5;color:#263d31;padding:14px;font:inherit;min-width:0}.portal-wrap textarea{resize:vertical}.portal-wrap .portal-check{flex-direction:row;align-items:flex-start;gap:12px;line-height:1.65}.portal-check input{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:#264437}.portal-small{font-size:13px;color:#65736c;line-height:1.7;margin:18px 0}.portal-wrap .button{cursor:pointer;margin:6px 8px 6px 0}.portal-top{display:flex;gap:18px;justify-content:space-between;align-items:center;margin:32px 0}.portal-actions{display:flex;gap:12px;flex-wrap:wrap}.portal-status{padding:13px 18px;border-left:3px solid #a77a50;background:#f4f1e9;margin:20px 0}.portal-event{padding:20px 0;border-bottom:1px solid #e1ddd2}.portal-event p{white-space:pre-line;margin:10px 0}.portal-file{display:block;padding:8px 0;font-size:14px}.portal-footer{padding:25px 0 40px;border-top:1px solid #dcd6ca;font-size:14px}.portal-wrap button:disabled{opacity:.5;cursor:wait}.portal-wrap [hidden]{display:none!important}#portal-feedback{min-height:1.8em;margin:22px 0;white-space:pre-line}#portal-feedback.is-error{color:#a0382a}.portfolio-mark{min-height:150px;background:#e8e4d8;display:flex;align-items:center;padding:28px;color:#244333;font-size:clamp(25px,4vw,40px);font-family:Georgia,serif}.portfolio-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.portfolio-grid .portal-card{margin:0}.portal-admin input{font-size:14px}.portal-admin fieldset{border:0;padding:0}.portal-admin pre{white-space:pre-wrap;font:13px/1.6 inherit}@media(max-width:650px){.portal-wrap{width:calc(100% - 36px);padding-top:120px}.portal-columns,.portfolio-grid{grid-template-columns:1fr}.portal-card{padding:22px}.portal-wrap .button{width:100%;text-align:center;margin-right:0}.portal-top{align-items:flex-start;flex-direction:column}.portal-footer{padding-top:25px}.portal-wrap .header-inner .text-link{font-size:12px}}

@media(max-width:650px){.portal-header .header-inner{gap:12px}.portal-header .brand-label{display:none}.portal-header .text-link{font-size:12px;white-space:nowrap}.portal-header .brand-symbol{font-size:34px}}

.billing-price-form,.billing-choice{padding:25px 0;border-top:1px solid #d6d2c9;margin-top:20px}.billing-price-form h3,.billing-choice h3{font-family:Georgia,serif;font-size:25px;margin:0 0 18px}.billing-price-form input[type=checkbox]{width:auto!important;margin-left:12px}.billing-amount{font-weight:600;font-size:16px;line-height:1.6}.portal-card details{font-size:14px;line-height:1.8}.portal-card details summary{cursor:pointer;font-weight:600}.portal-card code{overflow-wrap:anywhere}.billing-choice .button{max-width:100%}

.invoice-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid #e1ddd2}.invoice-row h3{font-family:Georgia,serif;font-size:23px;margin:0 0 8px}.invoice-row p{margin:8px 0}.invoice-label{font-size:15px}.invoice-actions{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0}.invoice-status{padding:6px 12px;background:#f4f1e9;border-radius:4px;font-size:13px}.invoice-status-paid{background:#e6eee8;color:#244333}.invoice-status-open,.invoice-status-uncollectible{background:#fff0d8;color:#81521b}.invoice-status-void{color:#65736c}.invoice-actions .button{margin:0}.invoice-feedback{min-height:1.6em}.invoice-more{margin-top:12px}@media(max-width:650px){.invoice-row{align-items:stretch;flex-direction:column;gap:14px}.invoice-actions{align-items:flex-start;flex-shrink:1}.invoice-actions .button{width:100%}}
.image-upload-form input[type=file]{border:1px dashed #a77a50;border-radius:6px;cursor:pointer;max-width:100%;font-size:14px}.image-upload-form input[type=file]::file-selector-button{background:#263d31;color:white;border:0;border-radius:4px;padding:12px 16px;margin-right:12px;cursor:pointer;font:inherit}.image-upload-form input[type=file]:focus-visible{outline:2px solid #a77a50;outline-offset:3px}
.image-update-row{padding:1.5rem 0;border-top:1px solid var(--line,#d9d9cd);margin-top:1.5rem}.image-update-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.image-update-row figure{margin:0}.image-update-photo{display:block;width:100%;max-height:360px;object-fit:contain;background:#ecece2;border-radius:8px}.image-update-row figcaption{font-size:.85rem;margin:.5rem 0 1rem}.image-update-preview{margin:1.5rem 0!important}.image-update-preview img{max-height:640px;object-position:top}.image-update-row ul{padding-left:1.2rem;font-size:.9rem}.image-update-row .button{margin-top:1rem}@media(max-width:650px){.image-update-pair{grid-template-columns:1fr}}

.project-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}.project-file-card{min-width:0;border:1px solid #e1ddd2;background:#faf9f5;padding:12px}.project-file-card img{width:100%;height:120px;object-fit:contain;background:#f0ede5}.project-file-card p{font-size:13px;overflow-wrap:anywhere;margin:8px 0}.project-file-card .text-link{margin:0;font-size:13px;min-height:36px}.project-file-pdf{height:120px;display:flex;align-items:center;justify-content:center;color:#264437;font-size:24px}.project-file-error{font-size:13px;color:#a0382a}.image-upload-form input[type=file]:disabled{opacity:.6}@media(max-width:450px){.project-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.customer-package-section{margin-top:32px;padding-top:24px;border-top:1px solid #e1ddd2}.customer-package-section>h3{font-family:Georgia,serif;font-size:26px;font-weight:400}.customer-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.customer-package-card{padding:24px;border:1px solid #d9d4c8;background:#faf9f5;min-width:0}.customer-package-card.is-selected{border:2px solid #315d42;background:#edf5ee}.customer-package-card h4{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:0 0 18px}.package-price{font-size:17px;font-weight:600;white-space:pre-line;line-height:1.7}.customer-package-card .button{display:flex;justify-content:center;width:100%;margin-right:0}.customer-package-card button:disabled{cursor:default}@media(max-width:700px){.customer-package-grid{grid-template-columns:1fr}.customer-package-card{padding:22px}}

/* Keep payment controls compact and their text readable at every width. */
.portal-wrap .portal-check input[type=checkbox],.portal-wrap .portal-check input[type=radio]{width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px;padding:0;margin:3px 0 0}
.portal-wrap .portal-check>span{min-width:0;flex:1;color:var(--ink);overflow-wrap:break-word}
.billing-choice{min-width:0}
.billing-payment-method{min-inline-size:0;width:100%;margin:18px 0;padding:0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.billing-payment-method legend{padding:0;margin-bottom:12px;font-size:15px;font-weight:600;line-height:1.5}
.portal-wrap .billing-payment-method .portal-check{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:start;margin:0;padding:16px;border:1px solid var(--line);border-radius:6px;background:#faf9f5;cursor:pointer;font-size:14px;line-height:1.6}
.billing-payment-method .portal-check:has(input:checked){border-color:#264437;background:#edf3ee}
.billing-payment-method .portal-check:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.billing-payment-method input[type=radio]{align-self:start;accent-color:#264437}
@media(max-width:650px){.billing-payment-method{grid-template-columns:minmax(0,1fr)}.portal-wrap .billing-payment-method .portal-check{padding:14px}}

.domain-progress{padding-left:1.4rem;display:grid;gap:.55rem}.domain-dns-records{overflow-x:auto;max-width:100%}.domain-dns-records table{width:100%;border-collapse:collapse;font-size:.85rem}.domain-dns-records th,.domain-dns-records td{text-align:left;padding:.65rem;border-bottom:1px solid #ddd;overflow-wrap:anywhere}.domain-dns-records td:last-child{min-width:15rem}

.portal-delete-draft{background:transparent;border:1px solid #9b4137;color:#8a332b;margin-top:12px}.portal-delete-draft:hover{background:#f7e9e5;color:#6d251e}

.portal-assistant{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 gap:16px 24px;
 margin:20px 0;
 padding:clamp(16px,3vw,26px);
 border:1px solid #9db2a7;
 border-left:4px solid #356657;
 background:#edf4ef;
}
.portal-assistant h3{margin:4px 0 8px;font-size:clamp(22px,2.8vw,30px)}
.portal-assistant p{margin:0}
.portal-assistant .portal-assistant-status{color:#345b4e;font-size:.8rem;font-weight:700}
.portal-assistant .button{text-align:center}
@media(max-width:720px){
 .portal-assistant{grid-template-columns:minmax(0,1fr)}
 .portal-assistant .button{justify-self:start}
}
