:root{color-scheme:light;--ink:#251936;--muted:#635970;--plum:#5c38a8;--line:#e5ddec;--paper:#f8f6fb;--white:#fff;--soft:#eee7f7;font:16px/1.5 system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--paper);color:var(--ink)}
a{color:inherit}
:focus-visible{outline:3px solid #8a61cb;outline-offset:3px}
.account-top{display:flex;align-items:center;gap:1rem;min-height:4.75rem;padding:.7rem max(1rem,calc((100vw - 90rem)/2));background:var(--white);border-bottom:1px solid var(--line)}
.account-brand{display:inline-flex;align-items:center;gap:.55rem;margin-right:auto;font-size:1.24rem;font-weight:780;text-decoration:none;letter-spacing:-.025em}
.account-brand span,.avatar{display:grid;place-items:center;border-radius:.65rem;width:2.25rem;height:2.25rem;color:white;background:#452778}
.top-help{padding:.4rem .65rem;font-weight:600;text-decoration:none}
.profile-menu{position:relative}
.profile-menu summary{display:flex;align-items:center;gap:.55rem;padding:.28rem .75rem .28rem .35rem;border:1px solid var(--line);border-radius:.7rem;font-weight:650;cursor:pointer;list-style:none}
.profile-menu summary::-webkit-details-marker{display:none}
.profile-menu summary::after{width:.42rem;height:.42rem;content:"";border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 0 .2rem .3rem}
.profile-menu[open] summary::after{transform:rotate(225deg);margin-block:.25rem 0}
.avatar{width:1.85rem;height:1.85rem;background:var(--soft);color:#4a2b7c;font-size:.88rem}
.profile-links{position:absolute;z-index:5;top:calc(100% + .6rem);right:0;width:min(17rem,calc(100vw - 2rem));padding:.55rem;border:1px solid var(--line);border-radius:.85rem;background:white;box-shadow:0 .75rem 2rem #25193620}
.menu-identity{display:grid;gap:.2rem;padding:.7rem .65rem;border-bottom:1px solid var(--line);margin-bottom:.4rem;overflow-wrap:anywhere}
.menu-identity span{font-size:.875rem;color:var(--muted)}
.profile-links a,.account-aside a{display:block;padding:.65rem .75rem;border-radius:.5rem;text-decoration:none;font-weight:630}
.profile-links a:hover,.account-aside a:hover,[aria-current="page"]{background:var(--soft);color:#482981}
.profile-links .sign-out{border-top:1px solid var(--line);margin-top:.5rem;border-radius:0 0 .35rem .35rem}
.account-shell{display:grid;grid-template-columns:14rem minmax(0,1fr);gap:clamp(1.2rem,4vw,4.25rem);max-width:90rem;margin:auto;padding:clamp(1.25rem,4vw,3.5rem) clamp(1rem,3vw,2.75rem)}
.account-aside nav{display:grid;gap:.24rem}
.account-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem 1.25rem;margin:0 0 1.55rem}
.account-heading h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;margin:0;letter-spacing:-.055em;overflow-wrap:anywhere}
.account-heading p{margin:.55rem 0 0;color:var(--muted)}
.action{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;border-radius:.53rem;border:1px solid #d9cce5;padding:.56rem .85rem;background:white;color:var(--ink);font:inherit;font-weight:680;text-decoration:none}
.action:hover{background:#f2edf8}
.action.primary{background:var(--plum);color:white;border-color:transparent}
.action.primary:hover{background:#482881}
.action span{font-size:1.15em}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;align-items:start}
.project-grid:has(> :only-child){grid-template-columns:minmax(0,28rem)}
.project-card,.account-surface,.project-visual{min-width:0;background:white;border:1px solid var(--line);border-radius:1rem}
.project-card{overflow:hidden}
.project-card img,.project-visual img{display:block;width:100%;object-fit:cover;aspect-ratio:2/1;background:#ece5f5}
.project-card-body,.account-surface{padding:clamp(1rem,2vw,1.5rem)}
.project-card h2{font-size:1.45rem;letter-spacing:-.03em;line-height:1.22;margin:.55rem 0 .25rem;overflow-wrap:anywhere}
.project-card p,.account-surface p{color:var(--muted)}
.project-card p{margin:.35rem 0 1rem}
.project-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.project-status{display:inline-flex;align-items:center;gap:.37rem;border-radius:.35rem;background:#eeeaf4;color:#4f4263;font-size:.8125rem;font-weight:690;padding:.2rem .44rem}
.project-status.live{background:#e0f4e8;color:#206244}
.project-status::before{content:"";width:.42rem;height:.42rem;border-radius:50%;background:currentColor}
#draft-status:empty{display:none}
.account-surface h2{margin:0 0 .5rem;letter-spacing:-.025em}
.project-overview{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1rem;align-items:start}
.project-visual{overflow:hidden;margin:0}
.project-visual figcaption{padding:.55rem .8rem;color:var(--muted);font-size:.875rem}
.back-link{display:inline-block;margin:0 0 1rem}
.facts{margin:0}
.facts>div{display:grid;gap:.25rem;padding:.8rem 0;border-bottom:1px solid var(--line)}
.facts>div:first-child{padding-top:0}
.facts>div:last-child{border:0}
.facts dt{font-weight:710}
.facts dd{margin:0;color:var(--muted);overflow-wrap:anywhere}
.account-faq details{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
.account-faq summary{font-weight:700;cursor:pointer}
@media(max-width:760px){.account-shell{grid-template-columns:1fr;gap:1rem}.account-aside nav{display:flex;flex-wrap:wrap;gap:.2rem}.account-aside a{padding:.35rem .5rem;font-size:.9rem}.project-overview{grid-template-columns:1fr}}
@media(max-width:400px){.top-help{display:none}}

.account-top{position:sticky;top:0;z-index:10}
.account-shell{grid-template-columns:15rem minmax(0,1fr)}
.account-aside{align-self:start;position:sticky;top:5.75rem;max-height:calc(100dvh - 6rem);overflow:auto;padding:.25rem}
.account-aside nav{background:white;border:1px solid var(--line);border-radius:.85rem;padding:.5rem}
.account-aside nav a{font-size:.92rem}
.section-group{font-size:.78rem;font-weight:750;color:var(--muted);margin:.75rem .75rem .2rem}
.project-nav-name{margin:.65rem .75rem .2rem;overflow-wrap:anywhere;font-size:1rem}
.account-aside .sidebar-edit{margin-top:.5rem;background:var(--plum);color:white}
.profile-links{max-height:calc(100dvh - 5rem);overflow:auto}
.project-banner{background:linear-gradient(115deg,#26193e,#55388b);color:white;border-radius:1rem;padding:clamp(1.2rem,3vw,2.2rem);margin-bottom:1.2rem}
.project-banner .account-heading{margin:0}
.project-banner .account-heading p{color:#e7daf7}
.project-banner .action.primary{color:#412375;background:#fff}
.project-banner .action:not(.primary){background:transparent;color:white;border-color:#bfa4e7}
.project-pills{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1rem}
.project-pills a{padding:.47rem .8rem;border-radius:.45rem;font-weight:650;text-decoration:none;border:1px solid var(--line);background:white}
.project-pills [aria-current]{background:var(--soft)}
.feature-panel h2{margin:0 0 .6rem}
.feature-panel .account-surface{margin:.75rem 0}
.feature-panel p{line-height:1.58}
.inbox-controls{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap;margin:1rem 0}
.inbox-controls label{display:grid;gap:.24rem;flex:1;min-width:min(100%,13rem)}
.inbox-controls :is(input,select){font:inherit;color:var(--ink);background:white;border:1px solid var(--line);border-radius:.45rem;padding:.5rem;min-width:0}
.feature-panel button{cursor:pointer}.feature-panel button:disabled{opacity:.55;cursor:default}
.inbox-entry{border-top:1px solid var(--line);padding:1rem 0;overflow-wrap:anywhere}
.inbox-entry h3{margin:0 0 .2rem}
.inbox-entry p{white-space:pre-wrap}
.stats-number{font-size:2.25rem;font-weight:780;margin:.15rem 0}
.stats-bars{display:flex;align-items:end;gap:.18rem;height:8rem;border-bottom:1px solid var(--line);margin-top:1rem}
.stats-bars span{flex:1;min-width:0;background:#794bc0;border-radius:.18rem .18rem 0 0}
.stats-range{display:flex;justify-content:space-between;color:var(--muted);font-size:.83rem}
.inquiry-receipt{max-width:36rem;padding:2rem;margin:8vh auto;background:white;border:1px solid var(--line);border-radius:1rem}
@media(max-width:760px){.account-shell{grid-template-columns:1fr}.account-aside{position:static;max-height:none;padding:0}.section-group,.project-nav-name{display:none}.account-aside nav a{font-size:.85rem}.project-banner .project-actions{margin-top:.2rem}}

.profile-sections{display:grid;gap:1rem;max-width:54rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.customer-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0;border:0;margin:1.1rem 0;min-width:0}
.customer-profile-fields label{display:grid;gap:.35rem;font-weight:650}
.customer-profile-fields input{box-sizing:border-box;min-width:0;width:100%;font:inherit;color:var(--ink);border:1px solid var(--line);background:white;border-radius:.55rem;padding:.64rem .75rem}
.profile-save-row{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem}
.profile-save-row button{cursor:pointer}
.profile-save-row button:disabled{opacity:.55;cursor:default}
#profile-save-status{font-size:.9rem;color:var(--muted)}
.account-profile-facts{margin-top:1rem}
@media(max-width:540px){.customer-profile-fields{grid-template-columns:1fr}}

.account-guide{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;background:white;border:1px solid var(--line);border-radius:1rem;overflow:hidden}
.account-guide:not(:has(img)){grid-template-columns:minmax(0,1fr)}
.guide-art{display:block;justify-self:center;width:min(calc(100% - 2rem),17rem);height:auto;aspect-ratio:1;border-radius:.8rem;margin-block:1.25rem}
.account-guide-copy{padding:clamp(1rem,3vw,2.2rem)}
.account-guide-copy .guide-lead{font-size:1.17rem;font-weight:710;margin-top:0}
.account-guide-copy ul{margin:1rem 0;padding-inline-start:1.25rem}
.account-guide-copy li{margin:.55rem 0}
.account-guide-copy li::marker{color:var(--plum)}
.guide-status{border-top:1px solid var(--line);padding-top:.75rem;color:var(--muted)}
.addon-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem;margin:1rem 0}
.addon-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:1rem;overflow:hidden}
.addon-card>.guide-art{align-self:center}
.addon-copy{flex:1;display:flex;flex-direction:column;align-items:start;padding:1rem}
.addon-copy h3{margin:.75rem 0 .25rem}
.addon-copy p{color:var(--muted);margin:0 0 .8rem}
.addon-copy .action{margin-top:auto}
@media(max-width:900px){.account-guide{grid-template-columns:minmax(0,1fr)}.account-guide>.guide-art{margin-bottom:0}}

#billing-controls{padding:clamp(1rem,3vw,2rem);margin-bottom:1.2rem}.billing-form fieldset{border:1px solid var(--line);border-radius:.8rem;padding:1rem;margin:1rem 0}.billing-form label{display:grid;gap:.4rem;margin:.75rem 0;font-weight:650}.billing-form select,.billing-form input:not([type=checkbox]){width:100%;min-height:48px;min-width:0;padding:.6rem;border:1px solid #cbbbdc;border-radius:.5rem;background:white;color:var(--ink);font:inherit}.billing-form .billing-consent{display:flex;align-items:flex-start;font-weight:400}.billing-consent input{margin:.35rem .4rem 0 0;flex:none}.billing-list{display:grid;gap:1rem}.billing-list .account-surface{padding:1rem}.billing-list h3{margin:0}.billing-message{padding:1rem;border-radius:.7rem;background:#eee7f7;overflow-wrap:anywhere}.billing-form button{min-height:48px}.billing-form fieldset:disabled{opacity:.65}.billing-form legend{font-weight:750}

.invoice-list{display:grid;gap:1rem}.invoice-form{display:grid;gap:.85rem;max-width:38rem;margin-block:1rem}.invoice-form label{display:grid;gap:.35rem;font-weight:600}.invoice-form input,.invoice-form select{min-width:0;width:100%;font:inherit;padding:.7rem;border:1px solid #b8a8cd;border-radius:.5rem;background:#fff;color:#252043}.invoice-form input[type=checkbox]{width:1.2rem;height:1.2rem}.invoice-form button{min-height:44px}.invoice-list article>p{overflow-wrap:anywhere}
