/* The installer inherits the CMS accent from app.css. */
.installer-page{scroll-behavior:smooth}
.installer{--install-edge:color-mix(in srgb,var(--text-2) 16%,transparent);--install-muted:#cfced2}
.install-icons{position:absolute;width:0;height:0;overflow:hidden}
.install-shell{position:relative;isolation:isolate;width:100%;max-width:720px;margin:40px auto;padding:0 16px}
.install-shell::before{content:"";position:absolute;inset:-16px 0;z-index:-1;border:1px solid var(--install-edge);border-radius:22px;background:color-mix(in srgb,var(--bg) 96%,transparent);box-shadow:0 12px 28px #0002,inset 0 1px 0 #ffffff03;pointer-events:none}
.install-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 36%;column-gap:10px;margin:-16px -16px 18px;padding:28px;border:1px solid transparent;border-radius:22px;background:radial-gradient(ellipse at 86% 10%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 65%);background-clip:padding-box;box-shadow:none;overflow:hidden}
.install-hero__content{min-width:0}
.install-hero__art{position:relative;isolation:isolate;display:block;width:calc(100% + 28px);max-width:none;height:auto;margin:8px -28px 0 0;align-self:start;justify-self:end;pointer-events:none;user-select:none}
.install-hero__figure{position:relative;z-index:1;display:block;width:100%;height:auto;-webkit-mask-image:linear-gradient(to bottom,#000 54%,rgba(0,0,0,.98) 62%,rgba(0,0,0,.85) 70%,rgba(0,0,0,.56) 78%,rgba(0,0,0,.22) 86%,rgba(0,0,0,.035) 94%,transparent 100%);mask-image:linear-gradient(to bottom,#000 54%,rgba(0,0,0,.98) 62%,rgba(0,0,0,.85) 70%,rgba(0,0,0,.56) 78%,rgba(0,0,0,.22) 86%,rgba(0,0,0,.035) 94%,transparent 100%)}
.install-hero__mist{position:absolute;inset:0;z-index:0;display:block;width:100%;height:auto;opacity:.72;filter:blur(13px) brightness(.48);transform:translateY(12px) scale(1.07);transform-origin:50% 80%;-webkit-mask-image:linear-gradient(to bottom,transparent 50%,rgba(0,0,0,.3) 62%,#000 76%,rgba(0,0,0,.8) 84%,rgba(0,0,0,.25) 94%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 50%,rgba(0,0,0,.3) 62%,#000 76%,rgba(0,0,0,.8) 84%,rgba(0,0,0,.25) 94%,transparent 100%)}
.install-brand{display:flex;align-items:center;gap:13px;margin:0 0 14px;min-width:0}
.install-brand__mark{width:34px;height:34px;flex:0 0 34px;border-radius:11px;display:grid;place-items:center;color:#18130d;background:var(--accent-grad);border:1px solid color-mix(in srgb,var(--accent) 70%,white);box-shadow:inset 0 1px 0 #ffffff50,0 5px 22px #0003}
.install-brand__mark svg{width:21px;height:21px;stroke-width:2}
.install-brand__label{margin:0;padding:5px 0 5px 13px;border-left:1px solid var(--border-2);color:color-mix(in srgb,var(--accent) 80%,white);font-size:.86rem;font-weight:700;line-height:1.35;letter-spacing:.025em}
.install-brand__label span{margin:0 3px}
.install-hero__title{font-size:2.05rem;font-weight:800;line-height:1.17;letter-spacing:-.025em;margin:0 0 12px;overflow-wrap:anywhere}
.install-hero__title span{white-space:nowrap}
.install-lead{font-size:1rem;font-weight:500;line-height:1.45;color:var(--text);margin:0}
.install-features{list-style:none;display:grid;grid-template-columns:repeat(3,max-content);align-items:stretch;justify-content:space-between;gap:6px;margin:18px 0;padding:14px 0;border-top:1px solid var(--border-2);border-bottom:1px solid var(--border-2)}
.install-features li{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 6px;border:1px solid var(--border-2);border-radius:11px;background:linear-gradient(135deg,#ffffff05,#ffffff02);box-shadow:inset 0 1px 0 #ffffff04;font-size:.76rem;font-weight:600;line-height:1.25;white-space:nowrap}
.install-features svg{width:17px;height:17px;flex:0 0 17px;color:var(--accent);stroke-width:1.8}
.install-hero__actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.install-start{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--accent) 70%,white);border-radius:10px;background:var(--accent-grad);box-shadow:inset 0 1px 0 #ffffff50,0 4px 16px #0002;color:#18130c;text-decoration:none;font-size:.95rem;font-weight:750;line-height:1.25;transition:filter .15s}
.install-start svg{width:20px;height:20px;flex:0 0 20px;stroke-width:2}
.install-start:hover{color:#18130c;filter:brightness(1.08)}
.install-submit-hint a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.install-submit-hint a:hover{text-decoration-color:currentColor}
.install-support{display:inline-flex;align-items:center;gap:9px;color:var(--text);font-size:.9rem;font-weight:600;text-decoration:none}
.install-support svg{width:21px;height:21px;flex:0 0 21px;color:var(--accent)}
.install-support>span{border-bottom:1px solid color-mix(in srgb,var(--accent) 75%,transparent);padding-bottom:2px}
.install-support strong{color:inherit;font-weight:650;transition:color .15s}
.install-support:hover,.install-support:focus-visible{color:var(--text)}
.install-support:hover strong,.install-support:focus-visible strong{color:var(--accent)}
.install-panel{border:1px solid var(--install-edge);border-radius:20px;padding:20px;background:linear-gradient(125deg,color-mix(in srgb,var(--bg-2) 60%,var(--bg)),color-mix(in srgb,var(--bg-2) 25%,var(--bg)));box-shadow:0 4px 14px #0002,inset 0 1px 0 #ffffff03}
.install-checks{margin-bottom:16px}
.install-section-title{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:0;color:var(--text);font-size:1.2rem;font-weight:700;line-height:1.25;letter-spacing:-.02em}
.install-section-title>svg{width:22px;height:22px;color:var(--accent);stroke-width:1.8}
.install-check-table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0}
.install-check-table th,.install-check-table td{padding:9px 0;vertical-align:middle;border:0;border-bottom:1px solid #ffffff0a;background:transparent}
.install-check-table tr:last-child th,.install-check-table tr:last-child td{border-bottom:0;padding-bottom:1px}
.install-check-table th{width:47%;color:var(--text);font-size:.95rem;font-weight:600;letter-spacing:0;text-transform:none;text-align:left;line-height:1.4;white-space:normal}
.install-check-table th svg{width:20px;height:20px;color:var(--accent);vertical-align:middle;margin-right:12px}
.install-check-table th span{display:inline-block;width:calc(100% - 38px);vertical-align:middle;overflow-wrap:anywhere}
.install-check-table .install-check-value{width:auto;padding-right:12px;color:var(--text-2);font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}
.install-check-table .install-check-status{width:66px;text-align:right}
.install-check-table tbody tr:hover,.install-check-table tbody tr:hover td{background:transparent}
.install-status{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-width:58px;padding:3px 8px;border-radius:20px;font-size:.86rem;line-height:1.4;font-weight:700}
.install-status svg{display:none;width:13px;height:13px;stroke-width:2.5}
.install-status--ok{color:#d7f5df;background:linear-gradient(90deg,#244b2e,#285835);border:1px solid #4b8e5d38}
.install-status--error{color:#ffe1e1;background:linear-gradient(90deg,#63272b,#712b30);border:1px solid #b64a5040}
.install-check--failed .install-check-value{color:#e3cccd}
.install-form{padding:20px;scroll-margin-top:20px}
.install-section{border:0;padding:0;margin:0 0 20px;min-width:0}
.install-section>legend{float:left;width:100%}
.install-section>legend+*{clear:both}
.install-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:14px}
.install-form-row:last-child{margin-bottom:0}
.install-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.install-field label{color:#ececef;font-size:.82rem;font-weight:500}
.install-field input{width:100%;min-width:0;height:38px;border:1px solid color-mix(in srgb,var(--text-2) 35%,var(--bg-3));border-radius:11px;padding:8px 12px;background:color-mix(in srgb,var(--bg-2) 45%,var(--bg));color:var(--text);font-family:inherit;font-size:1rem;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.install-field input:hover{border-color:color-mix(in srgb,var(--text-2) 55%,var(--bg-3))}
.install-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent);outline:none}
.install-field .install-project-name{border-color:color-mix(in srgb,var(--accent) 45%,var(--bg-3));font-size:1rem;font-weight:600}
.install-database-options{display:grid;gap:10px}
.install-radio{display:flex;align-items:flex-start;gap:10px;cursor:pointer;width:fit-content;max-width:100%}
.install-radio input{appearance:none;-webkit-appearance:none;width:18px;height:18px;padding:0;margin:2px 0 0;flex:0 0 18px;border:2px solid #737373;border-radius:50%;background:transparent;cursor:pointer;box-shadow:none}
.install-radio input:checked{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 48%,transparent 54%)}
.install-radio strong{font-size:1rem;font-weight:500}
.install-radio__detail{display:block;color:var(--install-muted);font-size:.86rem;margin-top:2px}
.install-radio__detail code{font-size:12px}
.install-mysql{border:0;border-left:2px solid var(--install-edge);padding:0 0 0 20px;margin:20px 0 0 11px;min-width:0}
.install-mysql>.install-field{margin-bottom:16px}
.install-db-check{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.install-db-check [role=status]{font-size:13px}
.install-db-check [data-state=ok]{color:var(--green)}
.install-db-check [data-state=error]{color:#ff969a}
.install-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid var(--install-edge);border-radius:9px;color:var(--accent);background:#ffffff04;font:500 13px/1.4 var(--font);cursor:pointer}
.install-secondary-button:hover{background:color-mix(in srgb,var(--accent) 9%,transparent)}
.install-secondary-button:disabled{cursor:wait;opacity:.7}
.install-hint{color:var(--install-muted);font-size:12px;margin:8px 0 0}
.install-submit-hint{display:flex;gap:9px;align-items:flex-start;color:#cec2b1;font-size:13px;margin:0 0 14px}
.install-submit-hint>svg{margin-top:2px;color:var(--accent);width:17px;height:17px}
.install-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:38px;padding:8px 16px;background:var(--accent-grad);color:#18130c;border:1px solid color-mix(in srgb,var(--accent) 65%,white);border-radius:12px;box-shadow:inset 0 1px 0 #ffffff40,0 5px 18px #0002;font:750 1rem/1.3 var(--font);cursor:pointer;transition:filter .15s,box-shadow .15s}
.install-submit svg{width:20px;height:20px;stroke-width:2}
.install-submit:hover:not(:disabled){filter:brightness(1.08);box-shadow:inset 0 1px 0 #ffffff50,0 5px 24px color-mix(in srgb,var(--accent) 14%,transparent)}
.install-submit:disabled{cursor:not-allowed;opacity:.6}
.install-alert{margin-bottom:20px;padding:14px 18px;border:1px solid #9e484d;border-radius:12px;background:#57252b44;color:#ffd3d5;font-size:14px}
.install-alert--success{border-color:#3b7850;background:#244b2e55;color:#d7f5df}
.installer a:focus-visible,.installer button:focus-visible,.install-radio input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.install-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0}
@media(max-width:700px){.install-features{display:flex;flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:640px){
  .install-hero{display:block;padding:20px}
  .install-hero__heading{min-height:140px;padding-right:142px}
  .install-hero__art{position:absolute;top:18px;right:12px;width:128px;height:auto;margin:0;overflow:hidden}
  .install-hero__mist{filter:blur(7px) brightness(.48);transform:none}
  .install-brand{gap:9px}.install-brand__label{padding-left:9px;font-size:.75rem}.install-brand__mark{width:30px;height:30px;flex-basis:30px}.install-brand__mark svg{width:20px;height:20px}
  .install-hero__title{font-size:1.55rem;line-height:1.25}
  .install-features{flex-wrap:wrap;justify-content:flex-start}.install-features li{font-size:.8rem}
  .install-hero__actions{justify-content:flex-start}
}
@media(max-width:420px){.install-hero__actions{flex-direction:column;align-items:stretch}.install-support{justify-content:center}}
@media(max-width:520px){
  .install-panel,.install-form{padding:16px}.install-section-title{gap:10px}
  .install-check-table,.install-check-table tbody{display:block}
  .install-check-table tr{display:grid;grid-template-columns:minmax(0,1fr) 60px;column-gap:10px;padding:10px 0;border-bottom:1px solid #ffffff0e}
  .install-check-table tr:last-child{border:0;padding-bottom:0}
  .install-check-table th,.install-check-table td,.install-check-table tr:last-child th,.install-check-table tr:last-child td{width:auto;padding:0;border:0}
  .install-check-table th{grid-column:1;grid-row:1;font-size:13px}
  .install-check-table th svg{width:19px;height:19px;margin-right:9px}
  .install-check-table th span{width:calc(100% - 33px)}
  .install-check-table .install-check-value{grid-column:1;grid-row:2;padding:4px 0 0 33px;font-size:12px}
  .install-check-table .install-check-status{grid-column:2;grid-row:1 / span 2;width:auto;align-self:center}
  .install-status{font-size:12px;min-width:56px}
  .install-form-row{grid-template-columns:minmax(0,1fr);gap:14px}.install-mysql{margin-left:0;padding-left:12px}
}
@media(prefers-reduced-motion:reduce){.installer-page{scroll-behavior:auto}.installer *,.installer *::before,.installer *::after{transition:none!important}}
