/* Account workspace. The accepted Cinema palette is the source of every surface. */
.dashboard-view{min-height:calc(100dvh - 72px)}
.dashboard-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:calc(100dvh - 72px)}
.dashboard-sidebar{border-right:1px solid var(--line);padding:30px 18px 24px;display:flex;flex-direction:column;gap:25px;background:var(--input);align-self:start;position:sticky;top:0;height:calc(100dvh - 72px);min-height:480px}
.dashboard-workspace-label{padding:0 12px;font-size:10px;letter-spacing:.15em;font-weight:750;color:var(--faint);text-transform:uppercase}
.dashboard-nav{display:grid;gap:5px}.dashboard-nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 13px;font-size:12px;font-weight:600;color:var(--muted);border-radius:6px}.dashboard-nav a:hover{background:var(--panel);color:var(--ink)}.dashboard-nav a[aria-current="page"]{background:var(--raised);color:var(--ink)}.dashboard-nav a[aria-current="page"] svg{color:var(--accent)}
.dashboard-icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dashboard-sidebar-bottom{margin-top:auto;display:grid;gap:18px;padding-top:50px}.dashboard-credit-link{display:block;border:1px solid var(--line);padding:16px;border-radius:7px;background:var(--panel)}.dashboard-credit-link>span{font-size:10px;color:var(--muted);display:block}.dashboard-credit-link strong{font-size:24px;letter-spacing:-.04em;font-weight:650;display:block;margin:3px 0}.dashboard-credit-link small{font-size:10px;color:var(--accent)}
.dashboard-user{display:flex;align-items:center;gap:10px;padding:0 4px;min-width:0}.dashboard-avatar{width:30px;height:30px;border-radius:50%;background:var(--raised);color:var(--ink);display:grid;place-items:center;font-size:11px;font-weight:750;flex-shrink:0}.dashboard-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.dashboard-user-copy{min-width:0}.dashboard-user-copy strong,.dashboard-user-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:154px}.dashboard-user-copy strong{font-size:11px;font-weight:650}.dashboard-user-copy span{font-size:9px;color:var(--muted);margin-top:3px}
.dashboard-content{padding:39px 4vw 55px;min-width:0;max-width:1500px;width:100%;margin:auto}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.dashboard-heading .eyebrow{margin:0 0 9px;font-size:9px}.dashboard-heading h1{font-size:31px;line-height:1.2}.dashboard-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin-top:9px;line-height:1.8}.dashboard-top-actions{display:flex;align-items:center;gap:12px}.dashboard-icon-button{min-width:40px;min-height:40px;padding:10px;background:transparent;border:1px solid var(--line);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.dashboard-icon-button:hover{background:var(--raised);color:var(--ink)}
.dashboard-alert{padding:14px 17px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:12px;color:var(--muted);margin-bottom:22px;display:flex;align-items:center;gap:18px;line-height:1.7}.dashboard-alert.error{color:var(--danger);border-color:#66463c}.dashboard-alert .text-button{margin-left:auto;flex-shrink:0;font-size:11px;min-height:28px;padding:3px 0}.dashboard-alert p{flex:1}.dashboard-draft{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 20px;border:1px solid var(--line);background:var(--panel);border-radius:7px;margin-bottom:24px}.dashboard-draft strong{font-size:12px;display:block;margin-bottom:5px}.dashboard-draft p{font-size:11px;line-height:1.7;color:var(--muted)}.dashboard-draft .button{flex-shrink:0}
.dashboard-overview{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:22px;margin-bottom:38px}.dashboard-continue{display:grid;grid-template-columns:46% minmax(0,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel);min-height:217px}.dashboard-cover{width:100%;height:100%;min-height:0;background:var(--input);object-fit:cover}.dashboard-cover-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--faint);font-size:10px;letter-spacing:.06em;background:var(--input);min-height:145px}.dashboard-cover-empty svg{width:32px;height:32px;stroke-width:1}.dashboard-continue-copy{padding:25px 25px 22px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.dashboard-continue-copy>.eyebrow{font-size:9px;margin-bottom:13px}.dashboard-continue-copy h2{font-size:22px;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dashboard-continue-copy p{font-size:11px;color:var(--muted);margin:9px 0 22px}.dashboard-continue-copy .text-button{color:var(--ink);font-size:12px;gap:16px;padding:0;min-height:30px}.dashboard-continue-copy .text-button span{color:var(--accent);font-size:20px}.dashboard-balance-panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:23px 22px;display:flex;flex-direction:column;align-items:flex-start}.dashboard-balance-panel>span{color:var(--muted);font-size:11px}.dashboard-balance-panel strong{font-size:38px;font-weight:600;line-height:1.4;letter-spacing:-.05em;margin:4px 0}.dashboard-balance-panel p{font-size:10px;color:var(--muted);line-height:1.7;margin-bottom:15px}.dashboard-balance-panel .text-button{margin-top:auto;color:var(--accent);font-size:11px;padding:0;min-height:30px}
.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.dashboard-section-heading h2{font-size:16px;letter-spacing:-.025em}.dashboard-section-heading h2 span{color:var(--faint);font-weight:450;font-size:12px;margin-left:8px;font-variant-numeric:tabular-nums}.dashboard-filters{display:flex;align-items:center;gap:12px}.dashboard-search{display:flex;align-items:center;gap:9px;background:var(--input);border:1px solid var(--line);border-radius:6px;padding:0 11px;width:230px;color:var(--faint)}.dashboard-search .dashboard-icon{width:15px}.dashboard-search input{background:none;border:0;width:100%;min-width:0;min-height:39px;color:var(--ink);font-size:11px;outline-offset:5px}.dashboard-search input::placeholder{color:var(--faint)}.dashboard-filter-select{min-height:41px;font-size:11px;background:var(--input);color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:9px 29px 9px 12px;max-width:135px}
.dashboard-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.dashboard-project-card{position:relative;min-width:0;overflow:visible;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.dashboard-project-open{display:block;width:100%;background:none;text-align:left;padding:0;border-radius:7px;overflow:hidden}.dashboard-project-open:hover{background:var(--raised)}.dashboard-project-card .dashboard-cover,.dashboard-project-card .dashboard-cover-empty{height:auto;aspect-ratio:16/9;width:100%;object-fit:cover;min-height:0}.dashboard-project-card .dashboard-cover-empty{height:auto}.dashboard-project-copy{padding:16px 16px 18px}.dashboard-project-copy h3{font-size:13px;letter-spacing:-.01em;font-weight:650;padding-right:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-project-copy p{font-size:10px;color:var(--muted);margin-top:7px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dashboard-project-copy small{display:block;font-size:9px;color:var(--faint);margin-top:17px}.dashboard-project-menu{position:absolute;right:8px;bottom:52px;z-index:2}.dashboard-project-menu summary{list-style:none;display:grid;place-items:center;min-width:34px;min-height:34px;color:var(--muted);font-size:16px;border-radius:5px;cursor:pointer}.dashboard-project-menu summary::-webkit-details-marker{display:none}.dashboard-project-menu summary:hover,.dashboard-project-menu[open] summary{background:var(--raised);color:var(--ink)}.dashboard-project-menu>div{position:absolute;right:0;bottom:38px;width:180px;border:1px solid var(--line);background:var(--raised);box-shadow:0 10px 35px #0005;border-radius:6px;padding:5px}.dashboard-project-menu button{width:100%;min-height:39px;display:flex;gap:9px;align-items:center;text-align:left;background:none;padding:9px 10px;font-size:11px;border-radius:3px}.dashboard-project-menu button:hover{background:var(--line)}.dashboard-project-menu .danger{color:var(--danger)}.dashboard-project-menu svg{width:14px;height:14px}.dashboard-project-state{color:var(--accent)!important}
.dashboard-empty{min-height:270px;border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;max-width:100%;background:var(--panel)}.dashboard-empty>.dashboard-icon{width:42px;height:42px;color:var(--faint);stroke-width:1;margin-bottom:21px}.dashboard-empty h2{font-size:24px}.dashboard-empty p{font-size:12px;color:var(--muted);max-width:390px;margin:13px 0 24px;line-height:1.8}.dashboard-empty .button{gap:15px}
.dashboard-skeleton{background:var(--panel);height:240px;border:1px solid var(--line);border-radius:7px;position:relative;overflow:hidden}.dashboard-skeleton:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff04,transparent);animation:dashboard-loading 1.5s ease-in-out infinite}.dashboard-skeleton-main{height:220px;margin-bottom:35px}.dashboard-loading-copy{font-size:12px;color:var(--muted);margin-bottom:18px}.dashboard-skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}@keyframes dashboard-loading{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.dashboard-activity-list{display:grid;gap:11px}.dashboard-job{display:flex;align-items:center;gap:19px;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:7px;min-width:0}.dashboard-job-symbol{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;color:var(--muted);flex-shrink:0}.dashboard-job-copy{flex:1;min-width:0}.dashboard-job-copy h2{font-size:14px;letter-spacing:-.01em}.dashboard-job-copy p{font-size:10px;line-height:1.7;color:var(--muted);margin-top:6px}.dashboard-job-state{text-align:right;flex-shrink:0}.dashboard-status{font-size:10px;display:inline-flex;align-items:center;gap:6px;color:var(--muted);background:var(--raised);padding:5px 9px;border-radius:4px;white-space:nowrap}.dashboard-status.running,.dashboard-status.queued,.dashboard-status.succeeded{color:var(--accent)}.dashboard-status.running:before,.dashboard-status.queued:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent)}.dashboard-status.failed{color:var(--danger)}.dashboard-job-state p{font-size:10px;color:var(--muted);margin-top:6px}.dashboard-job .button{font-size:11px;padding-inline:15px;min-width:113px}.dashboard-footnote{color:var(--muted);font-size:11px;line-height:1.8;margin-top:20px;max-width:680px}
.dashboard-credit-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;margin-bottom:35px}.dashboard-wallet{border:1px solid var(--line);border-radius:8px;padding:27px;background:var(--panel)}.dashboard-wallet>.eyebrow{margin-bottom:18px}.dashboard-wallet-values{display:flex;align-items:flex-end;gap:35px}.dashboard-wallet-values>div:first-child strong{font-size:47px;line-height:1.1;letter-spacing:-.05em;font-weight:600}.dashboard-wallet-values strong{font-size:25px;font-weight:600;line-height:1.1;display:block}.dashboard-wallet-values span{display:block;font-size:11px;color:var(--muted);margin-top:10px}.dashboard-wallet>p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:24px;max-width:410px}.dashboard-pack{border:1px solid var(--line);border-radius:8px;padding:27px;display:flex;flex-direction:column;align-items:flex-start;background:var(--panel)}.dashboard-pack>.eyebrow{margin-bottom:17px}.dashboard-pack h2{font-size:26px;display:flex;gap:22px;align-items:center}.dashboard-pack h2 b{font-weight:450;font-size:21px;color:var(--muted);letter-spacing:-.02em}.dashboard-pack p{font-size:11px;color:var(--muted);margin:13px 0 22px;line-height:1.8}.dashboard-pack .button{margin-top:auto}.dashboard-billing-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-bottom:10px}.dashboard-billing-tabs button{background:none;padding:13px 0;min-height:44px;font-size:12px;border-bottom:2px solid transparent;color:var(--muted)}.dashboard-billing-tabs button[aria-selected="true"]{color:var(--ink);border-color:var(--accent)}.dashboard-table-scroll{overflow:auto}.dashboard-table{width:100%;border-collapse:collapse;text-align:left;min-width:530px;font-size:11px}.dashboard-table th{color:var(--faint);font-weight:500;font-size:10px;padding:15px 12px;border-bottom:1px solid var(--line)}.dashboard-table td{padding:18px 12px;border-bottom:1px solid var(--line);vertical-align:top}.dashboard-table th:first-child,.dashboard-table td:first-child{padding-left:0}.dashboard-table th:last-child,.dashboard-table td:last-child{padding-right:0;text-align:right}.dashboard-table td small{display:block;color:var(--faint);font-size:9px;margin-top:5px}.dashboard-table td:nth-child(2){color:var(--muted)}.dashboard-delta{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:650}.dashboard-delta.positive{color:var(--accent)}.dashboard-table .text-button{min-height:28px;padding:0;font-size:10px;color:var(--accent)}.dashboard-table-empty{padding:35px 0;color:var(--muted);font-size:12px}.dashboard-debt{font-size:11px!important;color:var(--danger)!important}
.dashboard-settings{max-width:770px}.dashboard-settings-section{padding:26px 0;border-top:1px solid var(--line)}.dashboard-settings-section:first-child{border-top:0;padding-top:0}.dashboard-settings-section h2{font-size:16px;margin-bottom:20px}.dashboard-settings-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0}.dashboard-settings-row>div{min-width:0}.dashboard-settings-row strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.dashboard-settings-row p,.dashboard-settings-section>p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:6px}.dashboard-settings-row .button{flex-shrink:0}.dashboard-settings-help{color:var(--muted);font-size:11px;line-height:1.8;max-width:570px;margin-top:14px}.dashboard-settings-help a{color:var(--accent)}
.dashboard-auth{max-width:570px;margin:65px auto;padding:40px;text-align:center;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.dashboard-auth .eyebrow{margin-bottom:15px}.dashboard-auth h2{font-size:32px;line-height:1.2}.dashboard-auth>p:not(.eyebrow){font-size:12px;color:var(--muted);line-height:1.9;margin:20px auto 25px;max-width:390px}.dashboard-auth-actions{display:flex;flex-direction:column;align-items:center;gap:9px}.dashboard-auth-actions .button{width:100%;max-width:330px;font-size:12px;gap:12px;min-height:47px}.dashboard-auth-actions .text-button{font-size:11px;color:var(--muted)}.dashboard-auth-actions .dashboard-icon{height:17px;width:17px}.dashboard-auth small{display:block;font-size:10px;color:var(--faint);line-height:1.8;max-width:350px;margin:20px auto 0}
.dashboard-confirm{width:min(465px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:28px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:9px}.dashboard-confirm::backdrop{background:#000a;backdrop-filter:blur(4px)}.dashboard-confirm h2{font-size:23px;line-height:1.3;margin-bottom:16px}.dashboard-confirm p{color:var(--muted);font-size:12px;line-height:1.85;margin-bottom:25px;overflow-wrap:anywhere}.dashboard-confirm-actions{display:flex;gap:12px;justify-content:flex-end}.dashboard-confirm-actions .button{min-height:42px;font-size:12px;gap:10px}.dashboard-confirm-actions .danger{color:var(--danger);background:#382820;border:1px solid #62463c}.dashboard-confirm-actions .danger:hover{background:#4b3227}
.dashboard-preview-label{position:fixed;bottom:15px;left:24px;background:var(--raised);border:1px solid var(--line);border-radius:6px;padding:7px 12px;font-size:10px;color:var(--accent);z-index:50;max-width:calc(100vw - 48px)}
@media(min-width:1600px){.dashboard-content{padding-inline:65px}.dashboard-shell{grid-template-columns:242px minmax(0,1fr)}}
@media(max-width:1150px){.dashboard-content{padding:34px 30px 45px}.dashboard-overview{grid-template-columns:minmax(0,1fr) 195px}.dashboard-continue-copy{padding:23px 20px}.dashboard-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-heading h1{font-size:29px}.dashboard-wallet-values{gap:27px}}
@media(max-width:900px){.dashboard-shell{grid-template-columns:185px minmax(0,1fr)}.dashboard-sidebar{padding:28px 12px}.dashboard-content{padding:30px 24px 45px}.dashboard-overview{grid-template-columns:minmax(0,1fr)}.dashboard-balance-panel{display:none}.dashboard-section-heading{align-items:flex-start;flex-direction:column}.dashboard-filters{width:100%}.dashboard-search{flex:1;width:auto}.dashboard-credit-overview{grid-template-columns:1fr}.dashboard-user-copy strong,.dashboard-user-copy span{max-width:124px}.dashboard-job{flex-wrap:wrap;gap:14px}.dashboard-job-state{margin-left:auto}.dashboard-job>.button{margin-left:58px}.dashboard-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-skeleton-grid>.dashboard-skeleton:last-child{display:none}}
@media(max-width:650px){.dashboard-shell{display:block}.dashboard-sidebar{padding:16px 18px 13px;border-right:0;border-bottom:1px solid var(--line);gap:10px;height:auto;min-height:0;position:static}.dashboard-workspace-label,.dashboard-sidebar-bottom{display:none}.dashboard-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.dashboard-nav a{font-size:9px;gap:5px;padding:8px 3px;min-height:50px;white-space:nowrap;flex-direction:column;justify-content:center}.dashboard-nav a svg{width:15px;height:15px}.dashboard-content{padding:25px 20px 45px}.dashboard-heading{gap:12px;align-items:flex-start;margin-bottom:24px}.dashboard-heading h1{font-size:28px}.dashboard-heading p:not(.eyebrow){font-size:11px;max-width:230px}.dashboard-heading .eyebrow{font-size:8px}.dashboard-top-actions{gap:7px;padding-top:4px}.dashboard-heading .button{font-size:10px;min-height:40px;gap:8px;padding:10px}.dashboard-icon-button{min-width:36px;min-height:40px;padding:8px}.dashboard-draft{padding:15px;align-items:flex-start;flex-direction:column;gap:13px}.dashboard-draft .button{min-height:40px}.dashboard-continue{grid-template-columns:minmax(0,1fr);min-height:0}.dashboard-continue>.dashboard-cover,.dashboard-continue>.dashboard-cover-empty{aspect-ratio:16/9;max-height:235px;min-height:0}.dashboard-continue-copy{padding:20px}.dashboard-continue-copy h2{font-size:23px}.dashboard-continue-copy p{margin-bottom:13px}.dashboard-overview{margin-bottom:29px}.dashboard-project-grid{grid-template-columns:minmax(0,1fr);gap:19px}.dashboard-project-copy{padding:17px}.dashboard-project-copy h3{font-size:14px}.dashboard-project-copy p{font-size:11px}.dashboard-project-copy small{font-size:10px;margin-top:14px}.dashboard-project-menu{bottom:48px}.dashboard-project-menu summary{min-width:40px;min-height:40px}.dashboard-project-menu button{min-height:44px;font-size:12px}.dashboard-project-card .dashboard-cover-empty{aspect-ratio:16/9}.dashboard-section-heading{gap:16px}.dashboard-filters{gap:8px}.dashboard-filter-select{max-width:116px;font-size:11px;min-height:44px}.dashboard-search input{min-height:42px;font-size:12px}.dashboard-job{padding:18px;gap:12px}.dashboard-job-copy h2{font-size:13px}.dashboard-job-copy p{font-size:10px}.dashboard-job-state{width:calc(100% - 56px);display:flex;align-items:center;justify-content:space-between;margin-left:56px;gap:9px;text-align:left}.dashboard-job-state p{margin:0}.dashboard-job>.button{margin-left:56px;min-height:42px}.dashboard-credit-overview{gap:17px;margin-bottom:24px}.dashboard-wallet,.dashboard-pack{padding:23px}.dashboard-wallet-values{gap:30px}.dashboard-wallet-values>div:first-child strong{font-size:43px}.dashboard-pack h2{font-size:23px}.dashboard-pack h2 b{font-size:18px}.dashboard-settings-row{align-items:flex-start;flex-direction:column;gap:14px}.dashboard-settings-row .button{min-height:44px}.dashboard-alert{align-items:flex-start;flex-direction:column;gap:6px}.dashboard-alert .text-button{margin-left:0;min-height:34px}.dashboard-auth{margin:12px auto;padding:30px 23px}.dashboard-auth h2{font-size:28px}.dashboard-auth>p:not(.eyebrow){font-size:12px}.dashboard-empty{padding:30px 22px;min-height:285px}.dashboard-empty h2{font-size:23px}.dashboard-skeleton-grid{grid-template-columns:1fr}.dashboard-skeleton-grid>.dashboard-skeleton:nth-child(2){display:none}.dashboard-confirm{padding:25px}.dashboard-confirm-actions .button{min-height:44px}.dashboard-preview-label{left:15px;bottom:9px;max-width:calc(100vw - 30px);font-size:9px}}
@media(prefers-reduced-motion:reduce){.dashboard-skeleton:after{animation:none}.dashboard-view *{scroll-behavior:auto}}

.dashboard-danger-zone h2,.dashboard-danger-zone .danger{color:#ed997f}.dashboard-danger-zone{border-color:#714337}.dashboard-confirm-field{display:grid;gap:10px;font-size:14px;color:var(--muted);margin-top:24px}.dashboard-confirm-field input{min-height:48px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);width:100%}.dashboard-confirm-field+.dashboard-confirm-actions{margin-top:24px}
