/* The portal is separate from the canvas and the original website inside its iframe. */
.portal-auth,.customer-shell,#dialog { --bg:#f6f5f1; --surface:#fff; --ink:#142437; --muted:#68717a; --line:#d9dcd9; --accent:#142437; --soft:#eeeee8; --green:#3d6b51; --font:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--ink); font-family:var(--font); }
.portal-auth :is(button,input),.customer-shell :is(button,input,textarea),#dialog :is(button,input,textarea) { font-family:inherit; }
.portal-auth :is(button,a,input):focus-visible,.customer-shell :is(button,a,input,textarea,summary):focus-visible,#dialog :is(button,a,input,textarea,summary):focus-visible { outline:2px solid #142437; outline-offset:5px; }
.portal-kicker { color:var(--muted); font-size:12px; font-weight:400; letter-spacing:0; text-transform:none; }

/* One message from the studio, one simple form. */
.portal-auth { display:grid; grid-template-columns:minmax(0,1.03fr) minmax(0,1fr); min-height:100dvh; background:var(--bg); }
.portal-auth-story { display:flex; flex-direction:column; min-width:0; padding:40px clamp(38px,5vw,84px) 28px; color:#f6f5f1; background:#142437; }
.portal-auth-brand { display:flex; align-items:center; gap:12px; width:fit-content; min-height:44px; color:#f6f5f1; font-size:25px; font-weight:550; letter-spacing:-.8px; text-decoration:none; }
.portal-auth-brand img { width:36px; height:36px; }
.portal-auth-brand-studio { margin-left:7px; color:#c3cbd2; font-size:21px; font-weight:400; letter-spacing:-.5px; }
.portal-auth-story-copy { display:flex; flex-direction:column; justify-content:center; flex:1; padding:75px 0 100px; }
.portal-auth-story h2 { max-width:600px; font-size:clamp(40px,4.4vw,72px); font-weight:450; line-height:1.1; letter-spacing:-.065em; }
.portal-auth-story-copy p { max-width:340px; margin-top:30px; color:#c0cad2; font-size:15px; line-height:1.8; }
.portal-auth-home { display:flex; align-items:center; min-height:44px; width:fit-content; color:#c0cad2; font-size:12px; text-decoration:none; }
.portal-auth-home:hover { color:#fff; text-decoration:underline; text-underline-offset:5px; }
.portal-auth-panel { display:flex; flex-direction:column; min-width:0; padding:38px clamp(36px,5vw,80px) 24px; }
.portal-auth-form-wrap { width:100%; max-width:395px; margin:auto; padding:26px 0; }
.portal-auth-form-wrap > .portal-kicker { margin-bottom:14px; }
.portal-auth h1 { margin:0; font-size:clamp(29px,2.75vw,39px); font-weight:500; line-height:1.18; letter-spacing:-.055em; overflow-wrap:anywhere; }
.portal-auth-intro { margin-top:14px; color:var(--muted); font-size:14px; line-height:1.7; }
.portal-auth-form { margin-top:31px; }
.portal-auth-field { display:grid; gap:9px; margin-bottom:21px; }
.portal-auth-field > label { color:var(--ink); font-size:13px; font-weight:450; }
.portal-auth-field input { display:block; min-width:0; width:100%; min-height:49px; padding:12px 13px; border:1px solid #c7cdcf; border-radius:2px; color:var(--ink); background:#fff; font-size:15px; line-height:1.5; }
.portal-auth-field input:hover { border-color:#8f9ba4; }
.portal-auth-field input:focus { border-color:var(--ink); outline:1px solid var(--ink); outline-offset:0; }
.portal-password { display:flex; align-items:stretch; min-width:0; border:1px solid #c7cdcf; border-radius:2px; background:#fff; }
.portal-password:focus-within { border-color:var(--ink); outline:1px solid var(--ink); }
.portal-auth-field .portal-password input { border:0; outline:none; background:transparent; }
.portal-password > button { min-width:55px; min-height:49px; padding:0 13px; border:0; color:var(--muted); background:transparent; font-size:12px; }
.portal-password > button:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.portal-auth .portal-auth-error { min-height:0; margin:0; color:#a13327; font-size:13px; line-height:1.6; }
.portal-auth-error:not(:empty) { margin:0 0 18px !important; }
.portal-auth .portal-auth-submit,.portal-auth .portal-auth-chatgpt { display:flex; align-items:center; justify-content:center; width:100%; min-height:49px; padding:12px 18px; border:1px solid #142437; border-radius:2px; font-size:14px; font-weight:450; box-shadow:none; }
.portal-auth .portal-auth-submit { color:#fff; background:#142437; }
.portal-auth .portal-auth-submit:hover:not(:disabled) { color:#fff; border-color:#2d4358; background:#2d4358; }
.portal-auth .portal-auth-chatgpt { color:var(--ink); border-color:#c7cdcf; background:transparent; }
.portal-auth .portal-auth-chatgpt:hover { border-color:var(--ink); background:transparent; }
.portal-auth-alternative { margin:16px 0; color:var(--muted); text-align:center; font-size:11px; }
.portal-auth-help { margin-top:23px; color:var(--muted); font-size:12px; line-height:1.7; }
.portal-auth-help a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.portal-auth-switch { margin-top:10px; }
.portal-auth-switch button { min-height:44px; padding:8px 0; border:0; color:var(--muted); background:transparent; font-size:12px; }
.portal-auth-switch button:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.portal-auth-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:44px; color:var(--muted); font-size:11px; }
.portal-auth-footer a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.portal-auth-footer a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.portal-invite-identity { margin-top:26px; padding:0; border:0; background:none; overflow-wrap:anywhere; }
.portal-invite-identity p { font-size:15px; font-weight:500; }
.portal-invite-identity span { display:block; margin-top:5px; color:var(--muted); font-size:12px; }
.portal-password-help { margin:-10px 0 22px; color:var(--muted); font-size:12px; }

/* Text navigation and generous space give the client's content the hierarchy. */
.customer-shell { min-width:0; min-height:100dvh; background:var(--bg); font-size:14px; line-height:1.6; }
.customer-shell .sidebar { position:fixed; inset:0 auto 0 0; z-index:20; width:232px; padding:35px 22px 24px; border:0; color:var(--muted); background:var(--bg); overflow-y:auto; }
.customer-shell .brand { min-height:44px; padding:0 8px; gap:11px; color:var(--ink); font-size:23px; font-weight:550; letter-spacing:-.85px; }
.customer-shell .brand img { width:34px; height:34px; }
.customer-shell .brand small { margin-left:5px; color:var(--muted); font-size:16px; font-weight:400; letter-spacing:-.4px; }
.customer-shell .workspace-label { margin:43px 9px 11px; color:#747e85; font-size:11px; font-weight:400; letter-spacing:0; text-transform:none; }
.customer-shell .nav { gap:1px; margin-top:0; }
.customer-shell .nav button { min-height:44px; padding:10px 9px; border:0; border-radius:0; color:#68737c; background:transparent; font-size:14px; font-weight:400; box-shadow:none; }
.customer-shell .nav button:hover { color:var(--ink); background:transparent; }
.customer-shell .nav button.active { color:var(--ink); background:transparent; font-weight:600; box-shadow:none; }
.customer-shell .nav button.active > span:first-child { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:7px; }
.customer-shell .navlabel { margin:29px 9px 9px; color:#747e85; font-size:11px; font-weight:400; letter-spacing:0; text-transform:none; }
.customer-shell .nav .badge { margin-left:auto; padding:0; border:0; color:#7a838a; background:none; font-size:10px; }
.customer-shell .sidebar-bottom { padding-top:34px; }
.customer-shell .support-link { min-height:44px; margin-bottom:18px; padding:8px 9px; color:#68737c; font-size:11px; }
.customer-shell .support-link:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.customer-shell .account { align-items:center; gap:10px; padding:15px 9px 0; border-color:var(--line); }
.customer-shell .account > div:last-child { min-width:0; }
.customer-shell .account strong { display:inline-block; max-width:150px; color:var(--ink); font-size:12px; font-weight:450; overflow-wrap:anywhere; }
.customer-shell .account .link { min-height:44px; padding:4px 0; color:var(--muted); font-size:11px; }
.customer-shell .avatar { width:auto; min-width:24px; height:44px; border:0; border-radius:0; color:var(--ink); background:transparent; font-size:12px; font-weight:500; }
.customer-shell .sidebar svg,.customer-shell .workspace-breadcrumb > svg,.customer-shell .workspace-note > svg,.customer-shell .project-shortcut > svg,.customer-shell .empty > svg,.customer-shell .empty-icon,.customer-shell .setup-card > svg,.customer-shell .portal-service-card > svg,.customer-shell .search > svg,.customer-shell .portal-service-number { display:none; }
.customer-shell .main { min-width:0; margin-left:232px; min-height:100dvh; background:var(--bg); }
.customer-shell .topbar { min-height:79px; height:79px; padding:0 clamp(28px,3.6vw,60px); border:0; background:transparent; }
.customer-shell .workspace-breadcrumb { gap:12px; color:var(--muted); font-size:11px; }
.customer-shell .workspace-breadcrumb > span:first-child::after { content:"/"; margin-left:12px; color:#adb4b6; }
.customer-shell .workspace-breadcrumb strong { color:var(--ink); font-size:11px; font-weight:450; }
.customer-shell .workspace-actions { gap:17px; }
.customer-shell .profile-menu > summary { min-width:44px; min-height:44px; gap:4px; border-radius:0; }
.customer-shell .profile-menu > summary > svg { width:12px; height:12px; color:#657783; }
.customer-shell .profile-menu > div { top:calc(100% + 6px); width:220px; padding:9px 13px; border:1px solid var(--line); border-radius:2px; background:#fff; box-shadow:none; }
.customer-shell .profile-menu .btn { padding:9px 5px !important; font-size:13px; text-decoration:none !important; }
.customer-shell .content { min-width:0; max-width:1480px; margin:auto; padding:42px clamp(28px,3.6vw,60px) 65px; }
.customer-shell h1 { font-size:clamp(33px,3.2vw,48px); font-weight:450; line-height:1.14; letter-spacing:-.06em; }
.customer-shell h2 { font-size:27px; font-weight:450; line-height:1.25; letter-spacing:-.045em; }
.customer-shell h3 { font-size:17px; font-weight:500; letter-spacing:-.025em; }
.customer-shell .eyebrow,.customer-shell .portal-kicker { color:var(--muted); font-size:12px; font-weight:400; letter-spacing:0; text-transform:none; }
.customer-shell :is(.workspace-heading,.welcome,.library-heading,.portal-welcome) { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:38px; }
.customer-shell :is(.workspace-heading,.welcome,.library-heading,.portal-welcome) p:not(.eyebrow):not(.portal-kicker) { max-width:580px; margin-top:16px; color:var(--muted); font-size:14px; line-height:1.75; }
.customer-shell :is(.welcome,.library-heading,.portal-welcome) :is(.eyebrow,.portal-kicker) { margin:0 0 15px; color:var(--muted); }
.customer-shell .workspace-heading > .row { flex-wrap:wrap; }
.customer-shell .btn,#dialog .btn { min-height:44px; padding:10px 16px; border:1px solid #c9d0d2; border-radius:2px; color:var(--ink); background:transparent; font-size:13px; font-weight:450; line-height:1.5; box-shadow:none; }
.customer-shell .btn:hover:not(:disabled),#dialog .btn:hover:not(:disabled) { border-color:#8395a2; color:var(--ink); background:transparent; }
.customer-shell .btn.dark,#dialog .btn.dark,.customer-shell .btn.accent,#dialog .btn.accent { border-color:var(--ink); color:#fff; background:var(--ink); }
.customer-shell .btn.dark:hover:not(:disabled),#dialog .btn.dark:hover:not(:disabled) { border-color:#2e465c; color:#fff; background:#2e465c; }
.customer-shell .btn:not(.dark):not(.accent):not(.icon) { padding-left:0; padding-right:0; border-color:transparent; background:transparent; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.customer-shell .btn:has(.label) > svg { display:none; }
.customer-shell .btn.small,#dialog .btn.small { min-height:44px; font-size:12px; }
.customer-shell .btn.icon { width:44px; height:44px; padding:12px; }
.customer-shell .btn.danger,#dialog .btn.danger { color:#a33328; }
.customer-shell .btn.soft { border-color:transparent; background:transparent; }
.customer-shell .link { min-height:44px; color:var(--muted); font-size:12px; }
.customer-shell .badge,#dialog .badge { padding:0; border:0; border-radius:0; color:var(--muted); background:transparent; font-size:11px; font-weight:400; }
.customer-shell .badge.green,#dialog .badge.green { color:#3d6b51; border:0; background:transparent; }
.customer-shell .badge.red,#dialog .badge.red { color:#96533d; border:0; background:transparent; }
.customer-shell .badge.green::before { display:none; }
.customer-shell .workspace-summary { flex-wrap:wrap; gap:12px 0; margin-bottom:31px; color:var(--muted); font-size:12px; }
.customer-shell .workspace-summary > span + span { margin-left:23px; padding-left:0; border:0; }
.customer-shell .workspace-summary strong { margin-right:6px; color:var(--ink); font-size:13px; font-weight:500; }
.customer-shell .toolbar,.customer-shell .library-toolbar { min-width:0; min-height:54px; gap:22px; margin-bottom:31px; border-color:var(--line); }
.customer-shell :is(.toolbar,.library-toolbar) > .row { gap:28px; }
.customer-shell .pill { min-height:48px; padding:12px 0; color:var(--muted); font-size:12px; font-weight:400; }
.customer-shell .pill.active { color:var(--ink); border-color:var(--ink); font-weight:500; }
.customer-shell .search { flex-shrink:0; width:235px; min-height:44px; margin-bottom:8px; padding:10px 0; border:0; border-bottom:1px solid #bcc6ca; border-radius:0; background:transparent; }
.customer-shell .search input { width:100%; max-width:none; min-width:0; color:var(--ink); font-size:12px; }
.customer-shell .search:focus-within { border-color:var(--ink); outline:0; box-shadow:0 1px var(--ink); }

/* Open project and image layouts, with borders reserved for controls and divisions. */
.customer-shell :is(.site-card,.project-card,.project-feature,.settings-page,.billing-card,.chatgpt-card,.portal-request-form,.portal-service-card,.portal-request-empty,.setup-card,.version,.message,.empty,.library-empty,.inbox-empty,.library-card,.new-card) { border:0; border-radius:0; background:transparent; box-shadow:none; }
.customer-shell :is(.site-card,.project-card,.library-card,.project-shortcut):hover { box-shadow:none; background:transparent; }
.customer-shell .sites { grid-template-columns:repeat(2,minmax(0,1fr)); gap:43px 28px; }
.customer-shell :is(.site-card,.project-card) { min-width:0; overflow:visible; transition:none; }
.customer-shell :is(.site-art,.site-card .actual-preview,.project-card .actual-preview) { height:275px; border:0; border-radius:0; background:#e7e9e5; }
.customer-shell .preview-open { display:none; }
.customer-shell .site-art:focus-visible { outline:2px solid var(--ink); outline-offset:5px; }
.customer-shell .card-body { padding:21px 0 0; }
.customer-shell .card-body > .row { min-width:0; align-items:baseline; gap:15px; }
.customer-shell .card-body h3 { min-width:0; font-size:21px; font-weight:450; line-height:1.25; overflow-wrap:anywhere; }
.customer-shell .card-body .url { margin:8px 0 12px; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.customer-shell .card-foot { flex-wrap:wrap; gap:10px; padding:0; border:0; color:var(--muted); font-size:11px; }
.customer-shell .card-actions { gap:14px; }
.customer-shell .card-actions .btn { border-color:transparent; }
.customer-shell .new-card { min-height:275px; padding:35px; color:var(--muted); background:#eeeee8; }
.customer-shell .new-card:hover { border:0; background:#e8eae3; }
.customer-shell .new-card > span { display:none; }
.customer-shell .new-card strong { color:var(--ink); font-size:15px; font-weight:450; }
.customer-shell .new-card small { margin-top:7px; font-size:12px; }
.customer-shell .project-feature { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(225px,1fr); align-items:stretch; overflow:visible; }
.customer-shell .project-feature .site-art { height:100%; min-height:410px; border:0; background:#e7e9e5; }
.customer-shell .project-info { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-width:0; padding:29px 0 29px 37px; }
.customer-shell .project-info > .eyebrow { margin:0 0 15px; color:var(--muted); }
.customer-shell .project-info h2 { margin:0; font-size:34px; font-weight:450; line-height:1.13; letter-spacing:-.05em; overflow-wrap:anywhere; }
.customer-shell .project-info .badge { margin-top:15px; }
.customer-shell .project-address { margin-top:28px; color:var(--muted); font-size:13px; }
.customer-shell .project-updated { margin-top:8px; color:var(--muted); font-size:11px; }
.customer-shell .project-info > .btn { align-self:flex-start; margin-top:28px; }
.customer-shell .project-info > .btn + .btn { margin-top:9px; }
.customer-shell .project-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 39px; margin-top:37px; }
.customer-shell .project-shortcut { display:flex; align-items:flex-start; min-width:0; min-height:95px; padding:23px 0; gap:0; border:0; border-top:1px solid var(--line); border-radius:0; color:var(--ink); background:transparent; text-align:left; transition:none; }
.customer-shell .project-shortcut:hover { border-color:var(--line); }
.customer-shell .project-shortcut > span { min-width:0; flex:1; }
.customer-shell .project-shortcut strong { display:block; font-size:16px; font-weight:450; }
.customer-shell .project-shortcut:hover strong { text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }
.customer-shell .project-shortcut small { display:block; margin-top:7px; color:var(--muted); font-size:12px; line-height:1.65; }
.customer-shell .workspace-note { align-items:flex-start; gap:0; margin-top:27px; color:var(--muted); font-size:11px; line-height:1.8; }
.customer-shell .library-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:35px 24px; }
.customer-shell .library-card { min-width:0; transition:none; }
.customer-shell .library-photo { aspect-ratio:4 / 3; border-radius:0; background:#e7e9e5; }
.customer-shell .library-source { top:auto; bottom:9px; left:9px; padding:3px 6px; border:0; border-radius:0; color:#364b5d; background:#f6f5f1ed; font-size:9px; }
.customer-shell .library-card-body { padding:17px 0 0; }
.customer-shell .library-card-body h3 { font-size:14px; font-weight:450; }
.customer-shell .library-meta { margin-top:6px; color:var(--muted); font-size:11px; }
.customer-shell .library-footer { align-items:center; flex-wrap:wrap; gap:5px 12px; margin:9px 0 0; padding:0; border:0; color:var(--muted); font-size:11px; }
.customer-shell .library-footer .btn { min-height:44px; padding:8px 0; color:var(--ink); font-size:11px; box-shadow:none; }
.customer-shell .library-footer .btn:hover:not(:disabled) { color:var(--ink); background:transparent; }
.customer-shell .library-storage { flex-wrap:wrap; gap:14px; margin-top:38px; padding-top:23px; border-color:var(--line); color:var(--muted); font-size:11px; }
.customer-shell .library-storage > span > svg { display:none; }
.customer-shell .library-storage progress { width:140px; height:3px; accent-color:#596c5c; }
.customer-shell .library-storage progress::-webkit-progress-bar { background:#dbe0d8; }
.customer-shell .library-storage progress::-webkit-progress-value { background:#596c5c; }
.customer-shell .library-storage progress::-moz-progress-bar { background:#596c5c; }
.customer-shell :is(.empty,.library-empty,.inbox-empty) { max-width:none; padding:38px 0; text-align:left; }
.customer-shell :is(.library-empty,.inbox-empty) { display:flex; align-items:center; flex-wrap:wrap; gap:25px; }
.customer-shell :is(.empty,.library-empty,.inbox-empty) h2 { font-size:26px; font-weight:450; }
.customer-shell :is(.empty,.library-empty,.inbox-empty) p { max-width:520px; margin-top:13px; color:var(--muted); font-size:14px; line-height:1.8; }
.customer-shell .inbox-empty > .btn { margin-left:0; }
.customer-shell .message { max-width:1030px; margin:0; padding:30px 0; border-top:1px solid var(--line); }
.customer-shell .message.unread { border-left:0; }
.customer-shell .message.unread h3 { font-weight:600; }
.customer-shell .message a { display:inline-flex; align-items:center; max-width:100%; min-height:44px; margin-right:15px; color:#576b7a; font-size:12px; text-underline-offset:4px; overflow-wrap:anywhere; }
.customer-shell .message p { margin:18px 0 22px; color:#344959; font-size:14px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere; }
.customer-shell .message small { color:var(--muted); font-size:11px; }
.customer-shell .version { align-items:center; max-width:1030px; margin:0; padding:24px 0; border-bottom:1px solid var(--line); }
.customer-shell .version strong { font-size:14px; font-weight:450; }
.customer-shell .version small { color:var(--muted); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }

/* Services and private correspondence use editorial columns and readable text. */
.customer-shell .portal-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:34px; margin:43px 0 52px; padding-top:27px; border-top:1px solid var(--line); }
.customer-shell .portal-service-card { display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:0; color:var(--ink); }
.customer-shell .portal-service-card.is-selected { border:0; box-shadow:none; }
.customer-shell .portal-service-card h2,.customer-shell .portal-service-card h3 { margin:0 0 19px; font-size:25px; font-weight:450; line-height:1.2; letter-spacing:-.04em; }
.customer-shell .portal-service-card p { color:var(--muted); font-size:13px; line-height:1.85; }
.customer-shell .portal-service-card ul { width:100%; margin:22px 0 25px; padding:0; border:0; list-style:none; color:#4d6070; font-size:12px; line-height:1.85; }
.customer-shell .portal-service-card li { padding:4px 0; }
.customer-shell .portal-service-card li::before { content:none; }
.customer-shell .portal-service-card > .btn { min-height:44px; margin-top:auto; padding:10px 0; border:0; border-radius:0; color:var(--ink); background:transparent; font-size:13px; text-decoration:underline; text-underline-offset:5px; }
.customer-shell .portal-service-card > .btn.dark { border:0; color:var(--ink); background:transparent; font-weight:600; }
.customer-shell .portal-service-card > .btn.dark:hover { color:var(--ink); background:transparent; }
.customer-shell .portal-overview { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); align-items:start; gap:65px; margin-top:38px; }
.customer-shell .portal-overview > * { min-width:0; }
.customer-shell .portal-overview > div:first-child { padding:6px 0 0; }
.customer-shell .portal-overview > div:first-child > .portal-kicker { margin:0 0 19px; }
.customer-shell .portal-overview > div:first-child > h2 { max-width:400px; font-size:33px; line-height:1.2; }
.customer-shell .portal-overview > div:first-child > p:not(.portal-kicker) { max-width:430px; margin-top:22px; color:var(--muted); font-size:14px; line-height:1.85; }
.customer-shell .portal-contact-link { display:inline-flex; align-items:center; min-height:44px; max-width:100%; margin-top:22px; color:var(--ink); font-size:13px; text-underline-offset:5px; overflow-wrap:anywhere; }
.customer-shell .portal-request-form { max-width:810px; padding:0; }
.customer-shell .portal-request-form > p { margin:0 0 24px; color:var(--muted); font-size:13px; line-height:1.8; }
.customer-shell .portal-request-form .field { margin-bottom:24px; }
.customer-shell .portal-request-form textarea { min-height:180px; }
.customer-shell .portal-form-context { margin-bottom:23px; padding:0; border:0; color:var(--ink); font-size:17px; font-weight:450; }
.customer-shell .portal-history { margin-top:62px; padding-top:36px; border-top:1px solid var(--line); }
.customer-shell .portal-section-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-bottom:31px; }
.customer-shell .portal-section-heading .portal-kicker { margin-bottom:13px; }
.customer-shell .portal-section-heading h2 { font-size:31px; }
.customer-shell .portal-request-empty { padding:12px 0 23px; }
.customer-shell .portal-request-empty .portal-kicker { display:none; }
.customer-shell .portal-request-empty h2 { font-size:24px; }
.customer-shell .portal-request-empty p { margin-top:14px; color:var(--muted); font-size:13px; line-height:1.8; }
.customer-shell .portal-request-list { display:grid; min-width:0; gap:0; }
.customer-shell .portal-request { min-width:0; padding:29px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.customer-shell .portal-request:first-child { border-top:0; padding-top:0; }
.customer-shell .portal-request > header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:15px; }
.customer-shell .portal-request header .portal-kicker { color:var(--muted); font-size:11px; }
.customer-shell .portal-request header h3 { margin-top:8px; font-size:17px; font-weight:500; }
.customer-shell .portal-request header p { margin-top:8px; color:var(--muted); font-size:11px; line-height:1.7; white-space:normal; }
.customer-shell .portal-request p { margin:21px 0 0; color:#344959; font-size:14px; line-height:1.85; white-space:pre-wrap; overflow-wrap:anywhere; }
.customer-shell .portal-request :is(small,time) { color:var(--muted); font-size:11px; }
.customer-shell .portal-reply { margin-top:25px; padding:22px 25px; border:0; background:#eeeee7; }
.customer-shell .portal-reply strong { color:#375442; font-size:12px; font-weight:500; }
.customer-shell .portal-reply p { margin-top:13px; color:#3b5749; font-size:13px; }
.customer-shell .portal-reply-editor { margin-top:19px; padding:0; border:0; }
.customer-shell .portal-reply-editor > summary { display:flex; align-items:center; min-height:44px; width:fit-content; padding:8px 0; color:var(--ink); font-size:12px; font-weight:450; text-decoration:underline; text-underline-offset:4px; list-style:none; cursor:pointer; }
.customer-shell .portal-reply-editor > summary::-webkit-details-marker { display:none; }
.customer-shell .portal-request .portal-reply-form { margin-top:5px; padding-top:13px; border:0; }
.customer-shell .portal-reply-form > small { display:block; margin-top:13px; font-size:11px; line-height:1.7; }
.customer-shell .portal-request-form .error:empty,.customer-shell .portal-reply-form .error:empty { display:none; }
.customer-shell .portal-request-meta { display:flex; flex-wrap:wrap; gap:5px 13px; margin-top:9px; color:var(--muted); font-size:11px; }

/* Supporting screens follow the same plain form language. */
.customer-shell .settings-page,.customer-shell .billing-card { max-width:810px; padding:0; }
.customer-shell .settings-page h2 { margin-bottom:26px; }
.customer-shell .field,#dialog .field { color:var(--ink); font-size:13px; font-weight:450; }
.customer-shell .field :is(input,textarea,select),#dialog .field :is(input,textarea,select) { min-height:46px; padding:12px 13px; border:1px solid #c7cdcf; border-radius:2px; color:var(--ink); background:#fff; font-size:14px; }
.customer-shell .field :is(input,textarea,select):focus,#dialog .field :is(input,textarea,select):focus { border-color:var(--ink); outline:1px solid var(--ink); outline-offset:0; box-shadow:none; }
.customer-shell .field textarea,#dialog .field textarea { min-height:135px; line-height:1.75; }
.customer-shell .settings-page .two { gap:24px; }
.customer-shell .help,#dialog .help { color:var(--muted); font-size:12px; font-weight:400; line-height:1.8; }
.customer-shell .group { margin-top:35px; padding-top:31px; border-color:var(--line); }
.customer-shell .group h3 { margin-bottom:14px; font-size:21px; font-weight:450; }
.customer-shell .group p { color:var(--muted); font-size:13px; line-height:1.8; }
.customer-shell .notice,#dialog .notice { padding:17px 19px; border:0; border-radius:0; color:#625f51; background:#edece3; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.customer-shell .code,#dialog .code { padding:13px 0; border:0; border-radius:0; color:#4c6272; background:transparent; font-size:12px; line-height:1.8; }
.customer-shell .error,#dialog .error { color:#a13327; font-size:13px; }
.customer-shell .billing-card .price { margin:27px 0; font-size:30px; font-weight:450; letter-spacing:-.04em; }
.customer-shell .billing-card ul { margin:24px 0; padding-left:17px; color:#4d6070; font-size:13px; line-height:2.1; }
.customer-shell .chatgpt-card { max-width:810px; margin-bottom:38px; padding:0 0 33px; border-bottom:1px solid var(--line); }
.customer-shell .chatgpt-card h2 { font-size:26px; }
.customer-shell .chatgpt-card p { margin-top:17px; color:var(--muted); font-size:13px; line-height:1.85; }
.customer-shell .chatgpt-card > .btn { margin-top:22px; }
.customer-shell .setup-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.customer-shell .setup-card { padding:24px 0 0; border-top:1px solid var(--line); }
.customer-shell .setup-card h3 { font-size:22px; font-weight:450; }
.customer-shell .setup-card .badge { margin-top:14px; }
.customer-shell .setup-card p { margin-top:18px; color:var(--muted); font-size:13px; line-height:1.85; }
.customer-shell .delivery-preview { border:0; border-radius:0; }
.customer-shell :is(.delivery-details,.delivery-report,.delivery-access) { padding:25px 0; border:0; border-radius:0; background:transparent; }
.customer-shell .studio-select-trigger,#dialog .studio-select-trigger { min-height:46px; padding:12px 13px; border-color:#c7cdcf; border-radius:2px; font-family:var(--font); }
body:has(.customer-shell) .studio-select-menu,body:has(#dialog[open]) .studio-select-menu { border-color:#c7cdcf; border-radius:2px; color:#142437; background:#fff; font-family:"Geist",ui-sans-serif,system-ui,sans-serif; box-shadow:none; }
body:has(.customer-shell) .studio-select-option { min-height:44px; }
#dialog { padding:34px; border:0; border-radius:2px; color:var(--ink); background:#f6f5f1; box-shadow:none; }
#dialog::backdrop { background:#14243799; }
#dialog h2 { font-size:28px; font-weight:450; letter-spacing:-.05em; }
#dialog p.muted { line-height:1.8; }
#dialog .dialog-actions { gap:12px; margin-top:29px; }
#dialog :is(.asset-detail-preview,.import-preview,.import-drop,.asset-picker-card) { border-color:var(--line); border-radius:0; }

@media (min-width:1650px) {
 .customer-shell .sites { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .customer-shell .project-shortcuts { grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; }
 .customer-shell .site-card .actual-preview { height:300px; }
}
@media (max-width:1150px) {
 .portal-auth-story { padding:34px 38px 26px; }
 .portal-auth-story-copy { padding:65px 0 85px; }
 .portal-auth-story h2 { font-size:46px; }
 .portal-auth-panel { padding:33px 38px 22px; }
 .customer-shell .sidebar { width:208px; padding:32px 17px 22px; }
 .customer-shell .brand { font-size:21px; gap:9px; }
 .customer-shell .brand img { width:32px; height:32px; }
 .customer-shell .brand small { font-size:15px; }
 .customer-shell .main { margin-left:208px; }
 .customer-shell .topbar { padding:0 30px; }
 .customer-shell .content { padding:36px 30px 55px; }
 .customer-shell .project-feature { grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr); }
 .customer-shell .project-feature .site-art { min-height:375px; }
 .customer-shell .project-info { padding-left:28px; }
 .customer-shell .project-info h2 { font-size:30px; }
 .customer-shell .library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .customer-shell .portal-service-grid { gap:27px; }
 .customer-shell .portal-service-card h2 { font-size:23px; }
 .customer-shell .portal-overview { gap:37px; }
}
@media (max-width:900px) {
 .portal-auth { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
 .portal-auth-story { padding:31px 29px 23px; }
 .portal-auth-story h2 { font-size:39px; }
 .portal-auth-story-copy p { font-size:14px; }
 .portal-auth-panel { padding:31px; }
 .customer-shell .project-feature { grid-template-columns:minmax(0,1fr); }
 .customer-shell .project-feature .site-art { min-height:0; height:330px; }
 .customer-shell .project-info { padding:28px 0 0; }
 .customer-shell .project-info > .eyebrow { margin-bottom:12px; }
 .customer-shell .project-address { margin-top:20px; }
 .customer-shell .project-shortcuts { gap:0 27px; }
 .customer-shell .portal-service-grid { grid-template-columns:minmax(0,1fr); gap:29px; margin:35px 0 45px; padding-top:0; border:0; }
 .customer-shell .portal-service-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:0 25px; padding-top:27px; border-top:1px solid var(--line); }
 .customer-shell .portal-service-card.is-selected { border-top:1px solid var(--line); }
 .customer-shell .portal-service-card h2 { grid-column:1; margin-bottom:15px; font-size:25px; }
 .customer-shell .portal-service-card p { grid-column:1; }
 .customer-shell .portal-service-card ul { grid-column:2; grid-row:1 / span 2; margin:0; }
 .customer-shell .portal-service-card > .btn { justify-self:start; grid-column:1; margin-top:14px; }
 .customer-shell .portal-overview { grid-template-columns:minmax(0,1fr); gap:29px; }
 .customer-shell .portal-overview > div:first-child > p:not(.portal-kicker) { max-width:600px; }
 .customer-shell .setup-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:800px) {
 .customer-shell .sidebar { position:static !important; inset:auto !important; width:100%; padding:22px 27px 0; overflow:visible; }
 .customer-shell .brand { width:fit-content; padding:0; font-size:23px; }
 .customer-shell .brand img { width:32px; height:32px; }
 .customer-shell .workspace-label,.customer-shell .navlabel,.customer-shell .sidebar-bottom { display:none; }
 .customer-shell .nav { display:flex; gap:23px; margin:21px 0 0; padding-bottom:11px; overflow-x:auto; scrollbar-width:none; }
 .customer-shell .nav::-webkit-scrollbar { display:none; }
 .customer-shell .nav button { flex:0 0 auto; min-height:44px; padding:10px 0; white-space:nowrap; font-size:13px; }
 .customer-shell .nav .badge { display:none; }
 .customer-shell .main { margin-left:0; }
 .customer-shell .topbar { min-height:62px; height:62px; padding:0 27px; }
 .customer-shell .content { padding:30px 27px 48px; }
 .customer-shell .project-feature .site-art { height:350px; }
 .customer-shell .portal-service-card { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 35px; }
}
@media (max-width:680px) {
 .portal-auth { display:block; }
 .portal-auth-story { padding:23px 27px; }
 .portal-auth-brand { font-size:23px; }
 .portal-auth-brand img { width:34px; height:34px; }
 .portal-auth-brand-studio { font-size:19px; }
 .portal-auth-story-copy,.portal-auth-home { display:none; }
 .portal-auth-panel { padding:0 27px 18px; }
 .portal-auth-form-wrap { margin:0 auto; padding:42px 0 29px; }
 .portal-auth h1 { font-size:31px; }
 .portal-auth-form-wrap > .portal-kicker { margin-bottom:12px; }
 .portal-auth-intro { margin-top:13px; }
 .portal-auth-form { margin-top:30px; }
 .portal-auth-field { margin-bottom:20px; }
 .portal-auth-field input { font-size:16px; }
 .portal-auth-help { margin-top:22px; }
 .portal-auth-switch { margin-top:8px; }
 .portal-auth-footer { padding-top:12px; }
 .customer-shell .sidebar { padding:20px 23px 0; }
 .customer-shell .nav { gap:24px; margin-top:15px; padding-bottom:7px; }
 .customer-shell .nav button { font-size:13px; }
 .customer-shell .nav button[data-action="billing"],.customer-shell .nav button[data-action="account"] { display:flex; }
 .customer-shell .topbar { min-height:58px; height:58px; padding:0 23px; gap:13px; }
 .customer-shell .workspace-breadcrumb { flex:1; min-width:0; }
 .customer-shell .workspace-breadcrumb > span:first-child { display:none; }
 .customer-shell .workspace-actions { gap:9px; }
 .customer-shell .workspace-actions > .badge { display:none; }
 .customer-shell .workspace-actions > .btn { font-size:11px; }
 .customer-shell .content { padding:27px 23px 43px; }
 .customer-shell h1 { font-size:35px; }
 .customer-shell :is(.workspace-heading,.welcome,.library-heading,.portal-welcome) { align-items:flex-start; flex-direction:column; gap:22px; margin-bottom:31px; }
 .customer-shell :is(.workspace-heading,.welcome,.library-heading,.portal-welcome) p:not(.eyebrow):not(.portal-kicker) { margin-top:14px; font-size:13px; }
 .customer-shell .workspace-summary { gap:8px 0; font-size:11px; }
 .customer-shell .workspace-summary > span + span { margin-left:15px; padding:0; }
 .customer-shell .workspace-summary strong { font-size:12px; }
 .customer-shell .toolbar,.customer-shell .library-toolbar { flex-wrap:wrap; gap:9px; margin-bottom:24px; }
 .customer-shell :is(.toolbar,.library-toolbar) > .row { max-width:100%; gap:23px; overflow-x:auto; }
 .customer-shell .pill { min-height:44px; font-size:12px; white-space:nowrap; }
 .customer-shell .search { width:100%; margin-bottom:7px; }
 .customer-shell .sites { grid-template-columns:minmax(0,1fr); gap:33px; }
 .customer-shell :is(.site-art,.site-card .actual-preview,.project-card .actual-preview) { height:253px; }
 .customer-shell .card-body { padding:19px 0 0; }
 .customer-shell .card-body h3 { font-size:22px; }
 .customer-shell .card-foot { align-items:flex-start; }
 .customer-shell .new-card { min-height:220px; }
 .customer-shell .project-feature .site-art { min-height:0; height:255px; }
 .customer-shell .project-info { padding-top:24px; }
 .customer-shell .project-info h2 { font-size:31px; }
 .customer-shell .project-info > .btn { margin-top:24px; }
 .customer-shell .project-info > .btn + .btn { margin-top:7px; }
 .customer-shell .project-shortcuts { grid-template-columns:minmax(0,1fr); margin-top:31px; }
 .customer-shell .project-shortcut { min-height:88px; padding:21px 0; }
 .customer-shell .project-shortcut strong { font-size:16px; }
 .customer-shell .library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:27px 15px; }
 .customer-shell .library-card-body { padding-top:14px; }
 .customer-shell .library-card-body h3 { font-size:13px; }
 .customer-shell .library-meta,.customer-shell .library-footer { font-size:10px; }
 .customer-shell .library-footer { gap:3px; margin-top:6px; }
 .customer-shell .library-footer .btn { font-size:11px; }
 .customer-shell .library-source { bottom:7px; left:7px; font-size:8px; }
 .customer-shell .library-storage { gap:12px; font-size:10px; }
 .customer-shell .library-storage progress { width:100px; }
 .customer-shell :is(.empty,.library-empty,.inbox-empty) { align-items:flex-start; flex-direction:column; gap:20px; padding:22px 0; }
 .customer-shell .inbox-empty .empty-copy { flex:auto; }
 .customer-shell :is(.empty,.library-empty,.inbox-empty) h2 { font-size:25px; }
 .customer-shell :is(.empty,.library-empty,.inbox-empty) p { font-size:13px; }
 .customer-shell .message { padding:25px 0; }
 .customer-shell .message > .row,.customer-shell .message .row .row { flex-wrap:wrap; gap:12px; }
 .customer-shell .message > .row:first-child { align-items:flex-start; }
 .customer-shell .message p { font-size:13px; }
 .customer-shell .version { align-items:flex-start; flex-direction:column; gap:12px; padding:22px 0; }
 .customer-shell .portal-service-grid { gap:27px; margin:29px 0 39px; }
 .customer-shell .portal-service-card { display:flex; gap:0; padding-top:25px; }
 .customer-shell .portal-service-card h2 { font-size:27px; }
 .customer-shell .portal-service-card ul { margin:21px 0 10px; }
 .customer-shell .portal-service-card > .btn { margin-top:6px; }
 .customer-shell .portal-overview { gap:28px; }
 .customer-shell .portal-overview > div:first-child { padding:0; }
 .customer-shell .portal-overview > div:first-child > h2 { font-size:30px; }
 .customer-shell .portal-overview > div:first-child > p:not(.portal-kicker) { font-size:13px; }
 .customer-shell .portal-history { margin-top:43px; padding-top:28px; }
 .customer-shell .portal-section-heading { margin-bottom:27px; }
 .customer-shell .portal-section-heading h2 { font-size:29px; }
 .customer-shell .portal-request-empty { padding-bottom:10px; }
 .customer-shell .portal-request { padding:25px 0; }
 .customer-shell .portal-request p { font-size:13px; }
 .customer-shell .portal-reply { padding:20px; }
 .customer-shell .portal-request-form > .btn { width:100%; }
 .customer-shell .settings-page .two { grid-template-columns:minmax(0,1fr); gap:0; }
 .customer-shell .settings-page .row,.customer-shell .billing-card .row,.customer-shell .chatgpt-card .row { flex-wrap:wrap; gap:14px; }
 .customer-shell .billing-card .price { font-size:28px; }
 .customer-shell .setup-grid { gap:25px; }
 .customer-shell :is(.delivery-details,.delivery-report,.delivery-access) { padding:24px 0; }
 #dialog { max-width:calc(100% - 24px); padding:27px 23px; }
 #dialog h2 { font-size:26px; }
 #dialog .dialog-actions { justify-content:flex-start; }
 #dialog .asset-detail-grid { grid-template-columns:minmax(0,1fr); }
}
@media (min-width:901px) and (max-height:800px) {
 .portal-auth-story { padding-top:28px; padding-bottom:23px; }
 .portal-auth-story-copy { padding:40px 0 65px; }
 .portal-auth-panel { padding-top:20px; padding-bottom:18px; }
 .portal-auth-form-wrap { padding:14px 0; }
 .portal-auth-form { margin-top:26px; }
 .portal-auth-field { margin-bottom:17px; }
 .portal-auth-help { margin-top:17px; }
 .portal-auth-help p { display:inline; margin-right:8px; font-size:11px; }
 .portal-auth-help a { font-size:11px; }
 .portal-auth-switch { margin-top:3px; }
 .portal-auth-panel:has(.portal-auth-chatgpt) .portal-auth-intro { display:none; }
 .portal-auth-alternative { margin:11px 0; }
}
@media (prefers-reduced-motion:reduce) { .portal-auth *,.customer-shell *,#dialog * { transition:none !important; animation:none !important; scroll-behavior:auto !important; } }

.customer-shell .profile-menu .mobile-portal-link { display: none; }
@media (max-width: 880px) { .customer-shell .profile-menu .mobile-portal-link { display: flex; } }

.customer-shell .portal-profile-label { color: var(--ink); font-size: 12px; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
