:root{font:15px/1.5 var(--foundrio-font);color:var(--foundrio-canopy);background:var(--foundrio-linen);color-scheme:light}*{box-sizing:border-box}body{margin:0}header{display:flex;gap:24px;align-items:center;padding:20px max(24px,calc((100vw - 1200px)/2));background:var(--foundrio-chalk);border-bottom:1px solid var(--foundrio-line)}header span{color:var(--foundrio-muted);font-size:13px}#identity{margin-left:auto}.brand{font-weight:800;letter-spacing:.12em;color:var(--foundrio-forest-hover);text-decoration:none;white-space:nowrap}main{max-width:1248px;padding:30px 24px;margin:auto}.intro{margin:15px 0 28px}h1{font-size:clamp(27px,3vw,38px);line-height:1.16;margin:10px 0}h2{font-size:20px;margin:0 0 16px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.17em;color:var(--foundrio-forest)}.card{padding:24px;border:1px solid #dae6df;border-radius:12px;background:var(--foundrio-chalk);margin-bottom:20px}.welcome{max-width:650px;margin:7vh auto}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.row label{flex:1}.muted{color:var(--foundrio-muted);font-size:13px}input,select,button,.button{font:inherit;border-radius:7px;padding:9px 12px;border:1px solid var(--foundrio-border)}input,select{background:var(--foundrio-chalk);min-width:0;width:100%}.row>input,.row>select{flex:1;min-width:180px}label{display:block;margin-bottom:13px;font-weight:550;font-size:13px}label input,label select{display:block;margin-top:5px}button,.button{background:var(--foundrio-mist);color:var(--foundrio-forest-hover);cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-block}.primary{background:var(--foundrio-forest);color:var(--foundrio-chalk);border-color:var(--foundrio-forest)}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--foundrio-blueprint);outline-offset:2px}.dev{background:var(--foundrio-warning-surface);border:1px solid #e5d8ad;padding:18px;border-radius:8px;margin-top:25px}.login-options{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.item{padding:13px 0;border-bottom:1px solid var(--foundrio-line);display:flex;gap:10px;align-items:center}.item>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.item select{width:auto;max-width:150px}.item small{display:block;color:var(--foundrio-muted)}#organization-form{margin-top:18px}#status{position:sticky;bottom:15px;padding:12px 16px;background:var(--foundrio-forest-hover);color:var(--foundrio-chalk);border-radius:9px;box-shadow:0 3px 15px #0002}#status:empty{display:none}#status.error{background:var(--foundrio-danger)}#audit{max-height:380px;overflow:auto}[hidden]{display:none!important}@media(max-width:800px){.grid{grid-template-columns:1fr}header{padding:16px;gap:12px}header>span:nth-child(2){display:none}main{padding:20px 14px}.card{padding:20px}.item{flex-wrap:wrap}.row{align-items:stretch}}

.item:has(>.sharing){flex-wrap:wrap}.sharing{flex:0 0 100%;display:flex;gap:10px;flex-wrap:wrap;padding:12px;background:var(--foundrio-linen);border-radius:8px}.sharing>select{flex:1;max-width:none}.sharing>.item{flex:0 0 100%}

.login-page {
  --login-grid: rgba(188,230,211,.16);
  min-height: 100vh;
  background: radial-gradient(ellipse at 84% 14%, #296056 0%, transparent 50%),
              linear-gradient(135deg, #101e1d, #183832 78%);
  position: relative;
  isolation: isolate;
}
.login-page::before, .login-page::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
}
.login-page::before {
  background-image: linear-gradient(var(--login-grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--login-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(95deg, black, transparent 82%);
}
.login-page::after {
  background-image: radial-gradient(circle, #c9f3da8c 1.6px, transparent 2px);
  background-size: 80px 80px;
  background-position: -40px -40px;
  mask-image: linear-gradient(95deg, transparent, black 45%, transparent 85%);
}
.login-page header { display: none; }
/* Grid and sweep from j2r-jens/foundrio.com, revision f795d1c. */
.login-grid-woosh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #b8fbe5 1.5px, transparent 3px),
    linear-gradient(#a5efda70 1px, transparent 1px),
    linear-gradient(90deg, #a5efda70 1px, transparent 1px);
  background-size: 80px 80px, 40px 40px, 40px 40px;
  background-position: -40px -40px, 0 0, 0 0;
  mask-image: linear-gradient(105deg, transparent 34%, #0005 45%, black 50%, #0005 55%, transparent 66%);
  mask-size: 42% 100%;
  mask-repeat: no-repeat;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .login-grid-woosh { animation: login-grid-woosh 13s linear 2s infinite; }
}
@keyframes login-grid-woosh {
  0% { mask-position: -75% 0; opacity: 0; }
  5% { opacity: .85; }
  21% { opacity: .85; }
  26%, 100% { mask-position: 175% 0; opacity: 0; }
}
.login-page .welcome { max-width: 380px; margin: min(14vh, 110px) auto 20px; box-shadow: 0 22px 52px #091b1780; }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.login-mark { display: block; width: 40px; height: 40px; flex: none; }
.login-brand strong { display: block; font-size: 20px; letter-spacing: -.3px; }
.login-brand small { display: block; color: var(--foundrio-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.welcome h1 { font-size: 1rem; padding-bottom: 12px; border-bottom: 1px solid var(--foundrio-line); margin-bottom: 16px; }
.welcome #local-login .primary { width: 100%; }
.welcome .login-options { display: grid; gap: 10px; margin: 0; }
.welcome .provider-login { width: 100%; min-height: 44px; text-align: center; background: var(--foundrio-chalk); border-color: var(--foundrio-border); color: var(--foundrio-canopy); font-weight: 550; white-space: normal; }
.welcome .provider-login:disabled { opacity: .65; cursor: not-allowed; }
.welcome .provider-login:disabled:hover { filter: none; }
.welcome #google-unavailable { margin: 0; }
.login-hint { margin: 12px 0 0; }
.welcome .auth-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 24px 0 0; color: var(--foundrio-muted); font-size: 13px; text-align: center; }
.welcome .auth-footer-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px; margin: 0; }
.welcome .auth-footer a { color: var(--foundrio-forest); text-underline-offset: 3px; }
.welcome .auth-footer a:hover { color: var(--foundrio-forest-hover); }
.welcome .auth-footer > a, .welcome .auth-footer-line > a { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 450px) { .welcome .login-brand small { letter-spacing: .03em; } }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--foundrio-muted); font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: var(--foundrio-line); }
.login-setup { font-size: 12px; color: var(--foundrio-muted); }
.login-setup summary { cursor: pointer; color: var(--foundrio-forest); }
.login-setup summary:focus-visible { outline: 3px solid var(--foundrio-blueprint); outline-offset: 2px; }
.login-setup p { margin: 10px 0; }
.login-setup a { color: var(--foundrio-forest); }
.login-setup code { overflow-wrap: anywhere; font-size: 11px; }
.login-page #status { max-width: 380px; margin: auto; }
.workspace-menu{display:flex;gap:10px;margin-bottom:24px;border-bottom:1px solid var(--foundrio-line);overflow:auto}
.workspace-menu a{padding:13px 10px;color:var(--foundrio-muted);text-decoration:none;font-size:12px;white-space:nowrap}
.workspace-menu a:hover{background:var(--foundrio-mist)}
.workspace-menu a[aria-current="page"]{color:var(--foundrio-forest);box-shadow:inset 0 -3px var(--foundrio-forest)}
#project-state { width: auto; }

.record-select { width: auto; }
#project-dialog{max-width:460px;padding:16px 0}
#project-dialog .row{justify-content:flex-end;align-items:center}
#project-controls{align-items:flex-end;margin-bottom:18px}
#project-controls label{flex:none;margin:0}
#project-controls select,#project-controls button{height:40px}

#projects,#members,#access-records{overflow-x:auto}
.record-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.4}
.record-table th,.record-table td{padding:6px 8px;border-bottom:1px solid var(--foundrio-line);vertical-align:middle}
.record-table th{font-weight:650;background:var(--foundrio-linen)}
.record-table th:first-child,.record-table td:first-child{width:28px}
.record-table input[type=checkbox]{width:auto;accent-color:var(--foundrio-forest)}
.table-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.table-actions button,.table-actions .button,.table-actions select{width:auto;padding:3px 7px;min-height:26px;font-size:12px;line-height:1.4;white-space:nowrap}
#access-panels{grid-template-columns:1fr}

.workspace-in-panel>header,.workspace-in-panel .intro{display:none}
.workspace-in-panel main{padding-top:18px}
#blender-service-records{overflow-x:auto}
#blender-service-records .record-table th:first-child,#blender-service-records .record-table td:first-child{width:auto}
#blender-service-records small{display:block;color:#64776e;font-size:11px;max-width:280px;overflow-wrap:anywhere;margin-top:4px}
.service-heading h2{margin:0}.service-heading>div{flex:1}.service-heading{align-items:center}
.service-state{font-weight:600}.service-busy{color:var(--foundrio-forest)}.service-error,.service-offline{color:#a04931}
.table-actions .service-stop{color:var(--foundrio-danger);border-color:#e5bbb2;background:#fff3ef}
.record-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0;min-height:36px}
.record-actions button{width:auto;white-space:nowrap;padding:5px 9px;font-size:12px;line-height:1.4}
.selection-count{color:#526a5d;font-size:12px;margin-right:auto}
.record-dialog{border:1px solid #d3e0d9;border-radius:12px;width:min(420px,90vw);box-shadow:0 18px 60px #15372944;padding:24px}
.record-dialog::backdrop{background:#17372955}.record-dialog form{display:flex;flex-wrap:wrap;gap:12px}
.record-dialog h3,.record-dialog label,.record-dialog p{width:100%;margin:0}.record-dialog button{width:auto}.record-dialog p[role=alert]{color:var(--foundrio-danger)}
#project-dialog:not([hidden])~.record-actions{display:none}

.workspace-in-panel .card{padding:16px;margin-bottom:14px}
.workspace-in-panel h2{font-size:17px;margin-bottom:12px}
.workspace-in-panel #project-controls{margin-bottom:10px;gap:8px}
.workspace-in-panel #project-controls select,.workspace-in-panel #project-controls button{height:32px;padding:5px 9px;font-size:12px}
.workspace-in-panel .muted,.workspace-in-panel #invite-form{font-size:12px}
#user-settings-panel{max-width:720px}
#user-settings-form{max-width:560px}
#user-settings-form fieldset{margin:0 0 16px;padding:12px 0 0;border:0;border-top:1px solid var(--foundrio-line);min-width:0}
#user-settings-form legend{padding:0 10px 0 0;color:var(--foundrio-forest);font-weight:650;font-size:12px}
#user-settings-form label{margin:0;font-size:12px}
#user-settings-form select{max-width:390px;margin-top:5px;font-size:12px;padding:7px 10px;min-height:34px}
#user-settings-form .muted{font-size:11px;line-height:1.55;margin:7px 0 0;color:#63766e}
#user-settings-form .user-setting-check{display:flex;align-items:flex-start;gap:9px;margin:0 0 11px;cursor:pointer}
#user-settings-form .user-setting-check input{width:15px;height:15px;min-width:15px;padding:0;margin:2px 0 0;accent-color:var(--foundrio-forest)}
#user-settings-form .user-setting-check small{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#63766e}
.user-settings-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
#user-settings-status{font-size:12px;color:var(--foundrio-forest)}

#invite-form{margin-top:12px}
#invite-form .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px}
#invite-form .row label{margin:0}
#invite-form input,#invite-form select,#invite-form button{height:32px;padding:5px 9px;font-size:12px}
@media(max-width:600px){#invite-form .row{grid-template-columns:1fr}#invite-form .row button{justify-self:start}}

.collaboration-search{display:block;max-width:420px;margin:16px 0}.collaboration-search input{display:block;width:100%;margin-top:6px}
#shared-project-records{overflow:auto}

#shared-project-records .record-table{min-width:620px}
#shared-project-records .record-table th:first-child,#shared-project-records .record-table td:first-child{width:34%;overflow-wrap:anywhere}
#shared-project-records .record-table td{padding-top:10px;padding-bottom:10px}
#shared-project-records .record-table td:last-child{text-align:right;width:80px}
.billing-table{overflow-x:auto;margin-block:12px}
.billing-table .record-table{min-width:550px}
.billing-table .record-table th:first-child,.billing-table .record-table td:first-child{width:auto}
.billing-table small{display:block}
.billing-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.billing-metrics>.card{margin:0 0 16px;padding:14px}
.billing-metrics h3{margin:0 0 8px;font-size:14px}
.billing-metrics dl,.billing-subscription,.organization-details{margin:0 0 12px}
.billing-metrics dl>div,.billing-subscription>div,.organization-details>div{display:flex;justify-content:space-between;gap:16px;padding-block:4px;border-bottom:1px solid var(--foundrio-line)}
.billing-metrics dd,.billing-subscription dd,.organization-details dd{margin:0;font-weight:650;text-align:right;overflow-wrap:anywhere}
#organization-form label{margin-bottom:0}

.billing-customer-actions{margin:16px 0}
.billing-checkout{
  width:min(760px,calc(100% - 24px));
  max-height:calc(100% - 24px);
  overflow:auto;
  background:var(--foundrio-chalk);
  color:var(--foundrio-canopy);
  border-color:var(--foundrio-border);
}
.billing-checkout .billing-checkout-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0;border:0}
.billing-checkout-header h2{margin:0}
.billing-checkout .billing-context{grid-column:1 / -1;margin:0;color:var(--foundrio-muted)}
.billing-checkout-body>.notice{grid-column:1 / -1;margin:0}.billing-checkout a{color:var(--foundrio-forest)}
.billing-checkout .billing-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:6px}
.billing-checkout .billing-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.billing-checkout .billing-total{margin:4px 0;font-size:17px;font-weight:700;color:var(--foundrio-canopy)}
.billing-checkout-profile{min-width:0;padding:16px;background:var(--foundrio-chalk);border:1px solid var(--foundrio-line);border-radius:8px}
.billing-checkout-profile>p{margin-top:0}.billing-checkout-profile summary{cursor:pointer;font-weight:600;color:var(--foundrio-forest)}
.billing-checkout>p{margin:8px 0 16px}
.billing-checkout-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:16px;align-items:start}
.billing-invoice-checkout{display:block}
.billing-offers{display:grid;gap:8px}
.billing-offer{background:var(--foundrio-chalk);color:var(--foundrio-canopy);text-align:left;white-space:normal;min-height:48px;width:100%;padding:12px}
.billing-offer:not(:disabled):hover{background:var(--foundrio-mist);filter:none}
.billing-offer[aria-pressed="true"]{background:var(--foundrio-mist);border-color:var(--foundrio-forest);box-shadow:inset 3px 0 var(--foundrio-forest)}
.billing-offer:disabled{cursor:default}
.billing-offer-name{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.billing-offer>.muted{display:block;margin-top:4px}
.billing-checkout .billing-order{display:grid;gap:12px;background:var(--foundrio-linen);border:1px solid var(--foundrio-line);border-radius:8px;padding:16px}
.billing-checkout .billing-order-item{font-weight:600}
.billing-checkout .billing-methods{border:0;margin:0;padding:0;min-width:0}
.billing-methods legend{font-weight:600;font-size:13px;margin-bottom:4px;padding:0}
.billing-checkout .billing-methods label{display:flex;align-items:center;gap:8px;min-height:36px;cursor:pointer;font-weight:450}
.billing-methods label:has(:checked){font-weight:600}
.billing-checkout .billing-methods input{width:auto;margin:0;accent-color:var(--foundrio-forest)}
.billing-payment-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--foundrio-line)}
.billing-payment-total strong{font-size:20px;font-variant-numeric:tabular-nums}
.billing-checkout-result:empty{display:none}
@media(max-width:550px){.billing-checkout{padding:16px}.billing-checkout-body{grid-template-columns:1fr}}

/* Release administration uses the existing settings spacing and brand tokens. */
#release-administration{max-width:1180px}
#release-administration a{color:var(--foundrio-forest)}
#release-administration a:hover{color:var(--foundrio-forest-hover)}
#release-administration form:not(.admin-settings-form):not(.email-settings-form){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
#release-administration form:not(.admin-settings-form):not(.email-settings-form) label{margin:0;align-self:end}
#release-administration form:not(.admin-settings-form):not(.email-settings-form)>h3,#release-administration form:not(.admin-settings-form):not(.email-settings-form)>p,#release-administration form:not(.admin-settings-form):not(.email-settings-form)>div{grid-column:1/-1}
#release-administration form:not(.admin-settings-form):not(.email-settings-form)>button{grid-column:1/-1;justify-self:start}
#release-administration form:not(.admin-settings-form):not(.email-settings-form)>h3{margin:12px 0 0}
#release-administration form:not(.admin-settings-form):not(.email-settings-form)>p{margin:0}
.billing-order .billing-check{display:flex;align-items:center;gap:8px;min-height:36px;font-weight:500}
.billing-order input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:var(--foundrio-forest)}
.commercial-methods{display:flex;gap:16px;flex-wrap:wrap}
.commercial-rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px}
.commercial-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.commercial-offers fieldset{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--foundrio-line);border-radius:8px;background:var(--foundrio-chalk)}
.commercial-offers legend{font-weight:600;padding:0 6px}
@media(max-width:800px){#release-administration form:not(.admin-settings-form):not(.email-settings-form),.commercial-offers{grid-template-columns:1fr}}

/* Keep the same forms and actions usable with touch, including in editor panels. */
html[data-input-mode=touch] body :is(button,.button,summary,.workspace-menu a){min-height:48px;min-width:48px}
html[data-input-mode=touch] body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px;font-size:16px}
html[data-input-mode=touch] :is(#user-settings-form,#invite-form,#project-controls) :is(button,input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px;font-size:16px}
html[data-input-mode=touch] #user-settings-form .user-setting-check{min-height:48px;align-items:center}
html[data-input-mode=touch] #user-settings-form .user-setting-check input{width:22px;height:22px;min-width:22px;margin:0}
html[data-input-mode=touch] body :is(button,.button){white-space:normal}
html[data-input-mode=touch] body label:has(>input:is([type=checkbox],[type=radio])){display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer}
html[data-input-mode=touch] body input:is([type=checkbox],[type=radio]){width:22px;height:22px;min-width:22px;flex:0 0 22px;margin:0;accent-color:var(--foundrio-forest)}
html[data-input-mode=touch] .auth-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:6px 8px}
html[data-input-mode=touch] .table-actions{gap:8px}
html[data-input-mode=touch] .responsive-records td a{display:inline-flex;align-items:center;min-height:48px;padding-block:6px}
html[data-input-mode=touch] :is(.billing-checkout-header,.account-heading){gap:12px}
@media(pointer:coarse){
 html:not([data-input-mode]) body :is(button,.button,summary,.workspace-menu a,input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px}
}

/* Dynamic viewport height keeps a dialog's actions within the visible screen. */
.record-dialog{max-height:calc(var(--foundrio-web-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain}
.billing-checkout .billing-checkout-header{position:sticky;top:-24px;z-index:2;background:var(--foundrio-chalk);padding-block:12px;border-bottom:1px solid var(--foundrio-line)}
.billing-checkout-header h2{min-width:0;overflow-wrap:anywhere}
.billing-checkout :is(input,select,textarea){max-width:100%}
.billing-checkout .billing-order>button[type=submit]{width:100%;min-height:48px}
.billing-checkout .billing-checkout-profile summary{padding-block:10px}
.billing-checkout :is(.billing-checkout-profile,.billing-order){overflow-wrap:anywhere}
.responsive-records td{overflow-wrap:anywhere}
.responsive-check{display:inline-flex;align-items:center;justify-content:center;margin:0;cursor:pointer}
html[data-input-mode=touch] .responsive-check{min-width:48px;min-height:48px}

@media(max-width:700px){
 main{min-width:0;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));padding-bottom:max(20px,env(safe-area-inset-bottom))}
 .workspace-in-panel main{padding:12px}
 .card{padding:16px;min-width:0}
 .row{align-items:stretch;gap:12px}.row>label,.row>input,.row>select{flex:1 1 100%;min-width:0}.row>button{white-space:normal}
 #project-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #project-controls>label{grid-column:1/-1}#project-controls>button{width:100%;height:auto;min-height:40px;white-space:normal}
 .workspace-menu{gap:4px;margin-bottom:16px;scroll-padding-inline:8px;overscroll-behavior-x:contain}
 .workspace-menu a{flex:none;padding-inline:10px}
 .record-actions{gap:8px}.record-actions>button{flex:1 1 auto;white-space:normal}
 .billing-metrics{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}
 .billing-metrics>.card{margin-bottom:0}.billing-metrics{margin-bottom:16px}
 :is(.billing-subscription,.organization-details)>div{flex-wrap:wrap;gap:4px 12px}
 :is(.billing-subscription,.organization-details) dd{text-align:left;flex:1 1 100%}
 .commercial-offers fieldset{grid-template-columns:1fr}
 :is(#projects,#members,#access-records,#shared-project-records,.account-table,.billing-table):has(>table.responsive-records){overflow:visible}
 table.responsive-records{display:block;width:100%;min-width:0!important;border:0}
 .responsive-records>thead{display:block;height:0}
 .responsive-records>thead:has(input[type=checkbox]){height:auto}
 .responsive-records>tbody,.responsive-records>tfoot{display:block}
 .responsive-records .responsive-record-head{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .responsive-records .responsive-record-head:has(input[type=checkbox]){position:static!important;display:block;width:auto;height:auto;margin:0 0 8px;padding:0 12px;overflow:visible;clip-path:none;white-space:normal}
 .responsive-record-head:has(input[type=checkbox])>th:not(:has(input)){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .responsive-record-head>th:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;width:auto!important;padding:0;border:0;background:transparent}
 .responsive-record-head>th:has(input[type=checkbox])::after{content:attr(data-field-label);font-size:13px;font-weight:600}
 .responsive-records tr:not(.responsive-record-head){display:block;border:1px solid var(--foundrio-line);border-radius:8px;padding:8px 12px;margin-bottom:12px;background:var(--foundrio-chalk)}
 .responsive-records tr:not(.responsive-record-head)>:is(td,th){display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;width:auto!important;min-width:0;text-align:left!important;padding:8px 0;border:0;font-size:13px;background:transparent}
 .responsive-records [data-field-label]:not([data-field-label=""])::before{content:attr(data-field-label);flex:0 0 100%;font-weight:600;font-size:12px;color:var(--foundrio-muted)}
 .responsive-records :is(td,th)>:is(a,p,div,span,small){max-width:100%;min-width:0}
 .responsive-records .table-actions{width:100%;gap:8px}.responsive-records .table-actions :is(button,a,select){white-space:normal}
 .responsive-records input[type=checkbox]{margin:0}
 .record-dialog{width:calc(100vw - 16px);max-width:none;padding:16px;border-radius:10px}
 .billing-checkout{position:fixed;inset:var(--foundrio-web-top,0px) 0 auto;margin:0;width:100%;max-width:none;height:var(--foundrio-web-height,100dvh);max-height:var(--foundrio-web-height,100dvh);border:0;border-radius:0;padding:0 max(16px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-right))}
 .billing-checkout .billing-checkout-header{top:0;padding-block:12px;margin-bottom:12px}
 .billing-checkout-body{grid-template-columns:minmax(0,1fr);gap:12px}
 .billing-checkout :is(.billing-order,.billing-checkout-profile){padding:12px}
 .billing-checkout .billing-close{min-width:48px;min-height:48px}
 .billing-checkout .billing-payment-total{flex-wrap:wrap}
 .login-page main{padding-top:20px}.login-page .welcome{margin:20px auto;padding:20px}
 #status{bottom:max(8px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
}
