:root{--ink:#24323a;--muted:#6e7c83;--line:#d8e0e3;--paper:#fff;--wash:#f4f7f8;--accent:#327a76;--accent2:#245d59;--danger:#a44545}*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--wash)}a{color:var(--accent2);text-decoration:none}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:24px}.brand{display:flex;gap:10px;align-items:center;color:var(--ink)}.brand .mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--accent);color:white;font-weight:800;font-size:22px}.brand small{display:block;color:var(--muted);font-size:11px}.nav nav{display:flex;gap:17px;flex-wrap:wrap}.nav nav a{color:var(--ink);font-weight:600}main{padding:36px 0 70px}.hero{background:linear-gradient(145deg,#e9f2f1,#fff);border:1px solid var(--line);border-radius:18px;padding:60px;margin-bottom:38px}.hero h1{font-size:46px;line-height:1.05;margin:0 0 14px}.hero p{max-width:720px;font-size:20px;color:var(--muted)}.search,.filter{display:flex;gap:8px}.search input{font-size:18px;padding:16px;flex:1;max-width:650px}input,textarea,select,button{font:inherit;border:1px solid #bac7cb;border-radius:8px;padding:10px;background:#fff}textarea{width:100%;resize:vertical}button{cursor:pointer;font-weight:700}.primary,.search button{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover,.search button:hover{background:var(--accent2)}h1,h2,h3{line-height:1.15}.category-grid,.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category,.tool-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;color:var(--ink)}.category span,.tool-card p,.tool-card small,.muted{color:var(--muted)}.category strong{display:block;margin-bottom:6px}.tool-card h3{margin:8px 0}.tool-card:hover,.category:hover{border-color:#91aaa8;box-shadow:0 4px 18px #20383a12}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:32px}.tool-list{display:grid;gap:8px}.tool-list>a,.tool-list>div{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:14px 16px;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.tool-list small{display:block;color:var(--muted)}.filter{margin:18px 0 24px}.filter input{flex:1}.tool-page{max-width:900px;margin:auto}.tool-page>header{margin-bottom:22px}.generator,.output,.builder,.auth-card,.prose,.builder-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.field>label,.auth-card label,.builder>label,.two label{display:grid;gap:6px;font-weight:700}.field label small{display:block;font-weight:400;color:var(--muted)}.choices{display:grid;gap:6px}.choices label,.check{font-weight:400!important}.output{margin-top:22px}.output textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.warning{color:#7b5523;background:#fff8e7;padding:10px;border-radius:8px}.auth-card{max-width:430px;margin:50px auto}.auth-card form{display:grid;gap:16px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.builder{display:grid;gap:18px}.builder-panel{padding:18px;background:#f9fbfb}.field-editor{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;padding:8px;border-bottom:1px solid var(--line)}#fieldsJson{font-family:monospace;margin-top:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stats div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.stats strong{display:block;font-size:32px}.flash{padding:12px 14px;border-radius:8px;margin-bottom:20px}.flash.success{background:#e8f5ed}.flash.error{background:#f8e7e7;color:var(--danger)}footer{border-top:1px solid var(--line);padding:28px 0;background:#fff;color:var(--muted)}@media(max-width:800px){.nav{align-items:flex-start;padding:12px 0;flex-direction:column}.hero{padding:30px}.hero h1{font-size:36px}.category-grid,.tool-grid{grid-template-columns:1fr 1fr}.fields,.two{grid-template-columns:1fr}}@media(max-width:520px){.category-grid,.tool-grid{grid-template-columns:1fr}.search,.filter{flex-direction:column}}
.inline-form{display:inline-block;margin:8px 0}.comments{margin-top:28px}.comment{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;margin:10px 0}.comment small{display:block;color:var(--muted)}.comments form{display:grid;gap:8px;margin-top:14px}

/* v1.1 workspace and builder */
.nav-cta{background:var(--accent);color:#fff!important;padding:8px 12px;border-radius:8px}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 13px;border-radius:8px;font:inherit;font-weight:650;cursor:pointer}.button:hover,button:hover{border-color:#aebcc1}.primary{background:var(--accent);border-color:var(--accent);color:#fff!important}.danger,.link-danger{color:var(--danger)}.link-danger{background:none;border:0;padding:0}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px}.panel h2{margin-top:0}.workspace-head,.builder-head,.tool-header,.section-head,.save-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.workspace-head,.builder-head{margin-bottom:24px}.workspace-head h1,.builder-head h1,.tool-header h1{margin:.15rem 0}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--accent2);font-size:.78rem;font-weight:800;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.stat-grid>div{background:#fff;border:1px solid var(--line);padding:18px;border-radius:12px}.stat-grid strong{display:block;font-size:1.8rem}.stat-grid span,.muted,.hint{color:var(--muted)}.workspace-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px}.my-tool-list article,.component-list article,.shorthand-list article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid var(--line)}.my-tool-list article:first-child,.component-list article:first-child,.shorthand-list article:first-child{border-top:0}.my-tool-list h3{margin:5px 0 2px}.badge{display:inline-flex;background:#edf3f4;padding:3px 8px;border-radius:999px;font-size:.76rem;font-weight:750;margin-right:5px}.badge.private{background:#f1edf7}.badge.unlisted{background:#fff4d9}.badge.status{background:#e9f1ec}.workspace-link{display:block;padding:14px 0;border-top:1px solid var(--line)}.workspace-link:first-of-type{border-top:0}.workspace-link strong,.workspace-link span{display:block}.workspace-link span{color:var(--muted);font-size:.9rem;margin-top:3px}.stack label,.builder label{display:block;margin-bottom:14px}.code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.row-actions,.tool-actions,.output-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row-actions form,.tool-actions form{margin:0}.shorthand-list article{justify-content:flex-start}.shorthand-list code{min-width:100px;font-weight:800}.shorthand-list span{flex:1}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tabs{display:flex;gap:5px}.tabs button.active{background:var(--ink);color:#fff;border-color:var(--ink)}.field-palette{display:flex;gap:7px;flex-wrap:wrap;padding:12px 0 18px}.field-palette button{font-size:.9rem}.component-insert{display:flex;align-items:end;gap:10px;padding:14px;background:var(--wash);border-radius:9px;margin-bottom:16px}.component-insert label{flex:1;margin:0}.field-builder-list{display:grid;gap:8px}.field-editor{display:flex;align-items:center;gap:10px;background:#fbfcfc;border:1px solid var(--line);border-radius:9px;padding:10px}.drag-handle{color:#98a5aa}.field-editor-main{display:flex;flex-direction:column;flex:1}.field-editor-main span{color:var(--muted);font-size:.82rem}.field-editor-actions{display:flex;gap:5px}.field-editor-actions button{padding:6px 9px}.source-help{background:#eef6f5;border-left:4px solid var(--accent);padding:12px 14px;margin-bottom:10px}.variable-reference{display:flex;gap:7px;flex-wrap:wrap;background:var(--wash);padding:12px;border-radius:9px;margin-top:10px}.variable-reference button{font-weight:500}.save-bar{position:sticky;bottom:0;background:#fff;border:1px solid var(--line);box-shadow:0 -8px 25px rgba(36,50,58,.08);padding:15px 18px;border-radius:12px;align-items:center;z-index:5}.save-bar span{display:block;color:var(--muted);font-size:.88rem}.save-bar>div:last-child{display:flex;gap:8px}.tool-header{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px}.meta-line{margin-bottom:6px}.generator,.output,.comments,.tool-info{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px}.generator .fields{display:grid;gap:16px}.form-heading{border-bottom:2px solid var(--line);padding-top:8px}.form-heading h2{margin:0}.form-instruction{background:#eef6f5;padding:12px 14px;border-radius:8px}.form-divider{border:0;border-top:1px solid var(--line);width:100%}.slider-wrap{display:flex;align-items:center;gap:12px}.slider-wrap input{flex:1}.slider-wrap output{min-width:42px;font-weight:800}.generate-button{margin-top:18px}.tool-info{display:flex;gap:28px;flex-wrap:wrap}.tool-info>div{display:flex;flex-direction:column}.tool-info strong{font-size:.8rem;text-transform:uppercase;color:var(--muted)}.warning{color:#795c00;background:#fff7d9;padding:10px;border-radius:8px}.empty{padding:24px;text-align:center;background:var(--wash);border-radius:9px}
@media(max-width:850px){.workspace-grid,.three,.stat-grid{grid-template-columns:1fr 1fr}.nav{align-items:flex-start;padding:12px 0}.nav nav{justify-content:flex-end}.workspace-head,.builder-head,.tool-header,.section-head,.save-bar{flex-direction:column}.tool-actions{width:100%}}
@media(max-width:600px){.workspace-grid,.three,.stat-grid,.two{grid-template-columns:1fr}.wrap{width:min(100% - 20px,1120px)}.nav{display:block}.nav nav{margin-top:10px;gap:10px}.brand small{display:none}.component-insert{align-items:stretch;flex-direction:column}.field-editor{align-items:flex-start}.field-editor-actions{flex-wrap:wrap}.save-bar{bottom:8px}}

/* v1.4 option editor */
.option-editor-dialog{border:0;background:transparent;padding:0;width:min(980px,calc(100% - 24px));max-width:none}.option-editor-dialog::backdrop{background:rgba(20,31,36,.58)}.option-editor-card{background:#fff;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.3);padding:22px;max-height:88vh;overflow:auto}.option-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.option-editor-head h2{margin:0 0 5px}.option-editor-head p{margin:0;color:var(--muted)}.dialog-x{font-size:1.5rem;line-height:1;padding:5px 10px}.option-tabs{display:flex;gap:6px;margin:20px 0 14px}.option-tabs .active{background:var(--ink);color:#fff;border-color:var(--ink)}.quick-actions,.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}.dialog-actions{justify-content:flex-end;margin-top:20px}.option-table-wrap{overflow:auto;margin:10px 0}.option-table{width:100%;border-collapse:collapse;min-width:760px}.option-table th,.option-table td{border-bottom:1px solid var(--line);padding:7px;text-align:left}.option-table th{font-size:.78rem;text-transform:uppercase;color:var(--muted)}.option-table input{width:100%;min-width:120px}.option-editor-card textarea{font-size:1rem;line-height:1.55}.option-editor-card small{color:var(--muted)}

/* v1.5 accounts, themes, admin and UI refresh */
:root{--shadow:0 12px 35px rgba(22,39,45,.08);--shadow-soft:0 5px 18px rgba(22,39,45,.06);--surface-2:#f8fbfb;--accent-rgb:50,122,118;--success:#2d7b55;--danger-bg:#fff0f0}
html[data-theme="dark"],html[data-theme="system"][data-resolved-theme="dark"]{--ink:#e8eff1;--muted:#9cabb0;--line:#33454b;--paper:#182329;--wash:#10191e;--surface-2:#1d2a30;--accent:#62afa9;--accent2:#8bcac5;--danger:#ff8d8d;--danger-bg:#3b2326;--shadow:0 12px 35px rgba(0,0,0,.28);color-scheme:dark}
html[data-theme="ocean"]{--ink:#17354a;--muted:#607b8b;--line:#c9dae4;--paper:#fff;--wash:#eff7fb;--surface-2:#f6fbfe;--accent:#16759e;--accent2:#105978;--accent-rgb:22,117,158}
html[data-theme="forest"]{--ink:#263a2f;--muted:#6a7e71;--line:#d3dfd6;--paper:#fff;--wash:#f2f7f3;--surface-2:#f8fbf8;--accent:#397a52;--accent2:#295c3d;--accent-rgb:57,122,82}
html[data-theme="slate"]{--ink:#27313f;--muted:#707b89;--line:#d6dde5;--paper:#fff;--wash:#f3f5f8;--surface-2:#fafbfc;--accent:#4d647f;--accent2:#35485e;--accent-rgb:77,100,127}
html[data-theme="sunset"]{--ink:#40312f;--muted:#7d6d68;--line:#ead9d4;--paper:#fff;--wash:#fff6f1;--surface-2:#fffbf8;--accent:#b35d46;--accent2:#824331;--accent-rgb:179,93,70}
html,body{min-height:100%}body{background:linear-gradient(180deg,var(--wash),var(--wash) 70%,color-mix(in srgb,var(--wash),var(--accent) 4%));transition:background .2s,color .2s}.site-header{background:color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}.brand .mark{box-shadow:0 7px 16px rgba(var(--accent-rgb),.22)}.main-nav{align-items:center}.main-nav>a{padding:7px 4px;border-radius:8px}.main-nav>a:not(.nav-cta):not(.user-chip):hover{color:var(--accent)}.user-chip{display:inline-flex!important;align-items:center;gap:7px;padding:5px 10px!important;background:var(--surface-2);border:1px solid var(--line)}.user-chip>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--accent);color:#fff;font-size:.75rem}.quiet-link{color:var(--muted)!important;font-weight:500!important}.panel,.generator,.output,.builder,.auth-card,.prose,.builder-panel,.tool-header,.tool-card,.category,.stats div{background:var(--paper);box-shadow:var(--shadow-soft)}.panel,.generator,.output,.builder,.auth-card,.prose,.builder-panel,.tool-header{border-radius:15px}.tool-card,.category{transition:transform .16s,box-shadow .16s,border-color .16s}.tool-card:hover,.category:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.button,button,input,textarea,select{transition:border-color .15s,box-shadow .15s,background .15s}.button:hover,button:hover{box-shadow:0 4px 12px rgba(25,46,54,.08)}input:focus,textarea:focus,select:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.primary{box-shadow:0 5px 14px rgba(var(--accent-rgb),.2)}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-head h1{font-size:2.2rem;margin:.2rem 0}.profile-identity{display:flex;gap:10px;align-items:center;background:var(--paper);border:1px solid var(--line);padding:10px 14px;border-radius:13px;box-shadow:var(--shadow-soft)}.profile-identity div{display:grid}.profile-identity span:not(.avatar){color:var(--muted);font-size:.85rem}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,var(--accent),var(--accent2));color:#fff;font-size:1.2rem;font-weight:800}.settings-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}.hint{font-size:.82rem;font-weight:400}.contact-list{display:grid}.contact-list article,.membership-list article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.contact-list article:first-child,.membership-list article:first-child{border-top:0}.contact-list article>div:first-child,.membership-list article>div:first-child{display:grid}.contact-list article span,.membership-list article span{font-size:.88rem;color:var(--muted)}details>summary{list-style:none;cursor:pointer}details>summary::-webkit-details-marker{display:none}.mini-form{position:relative;z-index:3;margin-top:8px;min-width:280px;background:var(--surface-2);border:1px solid var(--line);padding:12px;border-radius:10px;display:grid;gap:9px}.mini-form label{display:grid;gap:4px;font-size:.86rem}.add-contact{margin-top:14px}.add-contact[open]>.button{margin-bottom:8px}.admin-launch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.admin-launch{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:22px;color:var(--ink);box-shadow:var(--shadow-soft);display:grid;gap:7px;transition:transform .16s,box-shadow .16s,border-color .16s}.admin-launch:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--shadow)}.admin-launch strong{font-size:1.05rem}.admin-launch small{color:var(--muted)}.launch-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:color-mix(in srgb,var(--accent) 12%,var(--paper));color:var(--accent);font-size:1.1rem}.admin-table-wrap{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft)}.admin-table{width:100%;border-collapse:collapse;min-width:900px}.admin-table th,.admin-table td{text-align:left;padding:14px 15px;border-bottom:1px solid var(--line);vertical-align:middle}.admin-table th{font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--surface-2)}.admin-table td strong,.admin-table td small{display:block}.admin-table td small{color:var(--muted)}.admin-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 4%,var(--paper))}.admin-table tbody tr:last-child td{border-bottom:0}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;background:#999}.status-dot.active{background:#36a269}.status-dot.disabled{background:#b85b5b}.elevated-filter{background:var(--paper);padding:12px;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow-soft)}.admin-user-form{max-width:980px;margin:auto}.auth-shell{min-height:calc(100vh - 220px);display:grid;place-items:center;padding:25px 0}.auth-card.elevated{width:min(100%,460px);padding:30px;box-shadow:var(--shadow)}.auth-card h1{font-size:2rem;margin:.2rem 0 10px}.auth-row{display:flex;justify-content:flex-end;margin-top:-7px;font-size:.9rem}.auth-foot{text-align:center;margin:20px 0 0;color:var(--muted)}.flash{border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));box-shadow:var(--shadow-soft)}.flash.success{background:color-mix(in srgb,#e8f5ed 80%,var(--paper));color:var(--ink)}.flash.error{background:var(--danger-bg);color:var(--danger)}
@media(max-width:900px){.settings-grid,.admin-launch-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.profile-identity{width:100%}.admin-launch-grid{gap:10px}}
@media(max-width:700px){.contact-list article,.membership-list article{align-items:flex-start;flex-direction:column}.contact-list .row-actions{width:100%}.mini-form{min-width:min(100%,280px)}.main-nav{gap:8px}.user-chip{order:-1}}

/* v1.5.1 theme-select visibility + system template administration */
select{color:var(--ink);background-color:var(--paper)}
select option{color:#24323a;background:#fff}
html[data-theme="dark"] select option,html[data-theme="system"][data-resolved-theme="dark"] select option{color:#e8eff1;background:#182329}
.template-filter{display:grid;grid-template-columns:minmax(280px,1fr) 170px 190px auto;gap:9px;align-items:center}
.template-stats{margin:18px 0}.template-table-wrap{margin-bottom:22px}.template-table{min-width:1050px}.template-actions{flex-wrap:nowrap}.template-actions .button,.template-actions button{padding:7px 9px;font-size:.86rem;white-space:nowrap}.legacy-rebuild-panel{margin-top:28px}.legacy-rebuild-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:16px}.legacy-rebuild-panel>summary span{color:var(--muted);font-size:.9rem}.legacy-rebuild-content{padding-top:18px;border-top:1px solid var(--line);margin-top:16px}
@media(max-width:900px){.template-filter{grid-template-columns:1fr 1fr}.template-filter input{grid-column:1/-1}.template-actions{flex-wrap:wrap}}
@media(max-width:600px){.template-filter{grid-template-columns:1fr}.template-filter input{grid-column:auto}.legacy-rebuild-panel>summary{align-items:flex-start;flex-direction:column}}

/* v1.5.2 system monitor + PWA status */
.system-monitor{margin:0 0 1.5rem;padding:1.25rem;border:1px solid var(--border,#d8dee7);border-radius:18px;background:var(--panel,#fff);box-shadow:0 12px 35px rgba(15,23,42,.08)}
.system-monitor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.system-monitor-head h2{margin:.1rem 0}.system-version{min-width:150px;padding:.8rem 1rem;border-radius:14px;background:var(--soft,#f4f7fb);text-align:right}.system-version span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#64748b)}.system-version strong{font-size:1.45rem}
.system-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.status-card{display:flex;gap:.7rem;align-items:center;padding:.85rem;border:1px solid var(--border,#d8dee7);border-radius:14px;background:var(--surface,#fff)}.status-card div{min-width:0}.status-card small,.status-card strong,.status-card span:not(.status-indicator){display:block}.status-card small{color:var(--muted,#64748b);font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.status-card strong{margin:.12rem 0;font-size:1rem}.status-card span:not(.status-indicator){font-size:.78rem;color:var(--muted,#64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.status-indicator{width:11px;height:11px;border-radius:50%;flex:0 0 11px;box-shadow:0 0 0 4px rgba(100,116,139,.12)}.status-indicator.checking{background:#f59e0b}.status-indicator.online{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}.status-indicator.offline{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.14)}
.system-live-row{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin-top:1rem}.system-feed-panel,.system-actions-panel{border:1px solid var(--border,#d8dee7);border-radius:14px;padding:1rem;background:var(--soft,#f8fafc)}.section-head.compact{margin-bottom:.6rem}.section-head.compact h3{margin:0}.live-pill{font-size:.68rem;font-weight:800;letter-spacing:.08em;color:#15803d;display:inline-flex;align-items:center;gap:.35rem}.live-pill i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);animation:docgenPulse 1.8s infinite}@keyframes docgenPulse{50%{box-shadow:0 0 0 8px rgba(34,197,94,0)}}
.system-feed{height:180px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem}.feed-line{display:grid;grid-template-columns:75px 1fr;gap:.55rem;padding:.38rem 0;border-bottom:1px dashed var(--border,#d8dee7)}.feed-line time{color:var(--muted,#64748b)}.feed-line.ok span{color:inherit}.feed-line.error span{color:#dc2626}.feed-line.warn span{color:#b45309}.feed-line.info span{color:#2563eb}.system-actions-panel{display:flex;flex-direction:column;align-items:flex-start;gap:.65rem}.system-actions-panel h3,.system-actions-panel p{margin:0}.system-actions-panel small{margin-top:auto;color:var(--muted,#64748b)}
@media(max-width:900px){.system-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-live-row{grid-template-columns:1fr}}@media(max-width:560px){.system-monitor-head{display:block}.system-version{margin-top:.8rem;text-align:left}.system-status-grid{grid-template-columns:1fr}}

.footer-install{margin-top:.6rem}

/* v1.5.3 authentication input visibility fix */
.auth-card input,
.auth-card textarea,
.auth-card select,
.auth-shell input,
.auth-shell textarea,
.auth-shell select{
  color:var(--ink)!important;
  background-color:var(--paper)!important;
  caret-color:var(--ink);
  -webkit-text-fill-color:var(--ink);
}
.auth-card input::placeholder,
.auth-card textarea::placeholder,
.auth-shell input::placeholder,
.auth-shell textarea::placeholder{
  color:var(--muted)!important;
  opacity:1;
  -webkit-text-fill-color:var(--muted);
}
.auth-card input:-webkit-autofill,
.auth-card input:-webkit-autofill:hover,
.auth-card input:-webkit-autofill:focus,
.auth-shell input:-webkit-autofill,
.auth-shell input:-webkit-autofill:hover,
.auth-shell input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--ink)!important;
  caret-color:var(--ink)!important;
  -webkit-box-shadow:0 0 0 1000px var(--paper) inset!important;
  box-shadow:0 0 0 1000px var(--paper) inset!important;
  border-color:var(--line);
  transition:background-color 9999s ease-out 0s;
}

/* v1.5.6 global text/search field visibility fix */
input:not([type]),
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea{
  color:var(--ink)!important;
  background-color:var(--paper)!important;
  caret-color:var(--ink)!important;
  -webkit-text-fill-color:var(--ink)!important;
}
input:not([type])::placeholder,
input[type="text"]::placeholder,
input[type="search"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder{
  color:var(--muted)!important;
  opacity:1!important;
  -webkit-text-fill-color:var(--muted)!important;
}
input:not([type]):-webkit-autofill,
input[type="text"]:-webkit-autofill,
input[type="search"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="password"]:-webkit-autofill,
input[type="tel"]:-webkit-autofill,
input[type="url"]:-webkit-autofill,
input[type="number"]:-webkit-autofill{
  -webkit-text-fill-color:var(--ink)!important;
  caret-color:var(--ink)!important;
  -webkit-box-shadow:0 0 0 1000px var(--paper) inset!important;
  box-shadow:0 0 0 1000px var(--paper) inset!important;
}
/* v1.5.7 clinical form presentation */
.generator.clinical-enhanced{
  padding:0;
  overflow:visible;
  background:transparent;
  border:0;
}
.clinical-form-toolbar{
  position:sticky;
  top:78px;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:color-mix(in srgb,var(--paper) 96%,transparent);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(8px);
}
.clinical-progress{display:flex;align-items:center;gap:10px;min-width:180px}
.clinical-progress-track{width:150px;height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.clinical-progress-bar{height:100%;width:0;background:var(--accent);transition:width .18s ease}
.clinical-progress-text{font-size:.78rem;color:var(--muted);white-space:nowrap}
.clinical-toolbar-actions{display:flex;gap:7px;flex-wrap:wrap}
.clinical-toolbar-actions button{padding:6px 9px;font-size:.8rem}
.clinical-section-nav{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:0 0 10px;
  margin-bottom:4px;
  scrollbar-width:thin;
}
.clinical-section-nav button{
  flex:0 0 auto;
  border-radius:999px;
  padding:7px 11px;
  font-size:.8rem;
  background:var(--paper);
  box-shadow:var(--shadow-soft);
}
.clinical-sections{display:grid;gap:14px}
.clinical-section{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.clinical-section[open]{box-shadow:var(--shadow)}
.clinical-section>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:17px 20px;
  background:color-mix(in srgb,var(--accent) 6%,var(--paper));
  border-bottom:1px solid transparent;
  font-weight:800;
  color:var(--ink);
}
.clinical-section[open]>summary{border-bottom-color:var(--line)}
.clinical-section>summary:hover{background:color-mix(in srgb,var(--accent) 10%,var(--paper))}
.clinical-section-title{display:flex;align-items:center;gap:10px;min-width:0}
.clinical-section-number{
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  border-radius:9px;background:var(--accent);color:#fff;font-size:.78rem
}
.clinical-section-title-text{display:grid;gap:2px;min-width:0}
.clinical-section-title-text strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clinical-section-title-text small{font-size:.76rem;font-weight:500;color:var(--muted)}
.clinical-section-chevron{transition:transform .18s;font-size:1.1rem;color:var(--muted)}
.clinical-section[open] .clinical-section-chevron{transform:rotate(180deg)}
.clinical-section-body{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:20px;
}
.clinical-section-body>.field{
  min-width:0;
  padding:13px;
  border:1px solid color-mix(in srgb,var(--line) 80%,transparent);
  border-radius:11px;
  background:var(--surface-2);
}
.clinical-section-body>.field:focus-within{
  border-color:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 11%,transparent);
}
.clinical-section-body>.form-instruction,
.clinical-section-body>.form-divider{
  grid-column:1/-1;
}
.clinical-section-body>.form-instruction{
  padding:12px 14px;
  border-radius:10px;
  border-left:4px solid var(--accent);
  background:color-mix(in srgb,var(--accent) 7%,var(--paper));
}
.clinical-section-body textarea,
.clinical-section-body select,
.clinical-section-body input:not([type="checkbox"]):not([type="radio"]){width:100%}
.clinical-section-body .choices{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.clinical-section-body .choices label{
  display:flex;
  align-items:flex-start;
  gap:7px;
  padding:8px 9px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  line-height:1.3;
}
.clinical-section-body .choices label:has(input:checked){
  border-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 9%,var(--paper));
}
.generator.clinical-enhanced>.generate-button{
  width:100%;
  margin-top:16px;
  padding:14px 18px;
  border-radius:12px;
  font-size:1rem;
}
.clinical-unsectioned{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  box-shadow:var(--shadow-soft);
}
@media(max-width:760px){
  .clinical-form-toolbar{top:68px;align-items:flex-start;flex-direction:column}
  .clinical-progress{width:100%}.clinical-progress-track{flex:1}
  .clinical-section-body,.clinical-unsectioned{grid-template-columns:1fr;padding:14px}
  .clinical-section-body .choices{grid-template-columns:1fr}
  .clinical-section>summary{padding:14px}
}

/* v1.5.9 theme-aware list cards / Recent section contrast */
.tool-list > a,
.tool-list > div {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow-soft);
}
.tool-list > a strong,
.tool-list > div strong,
.tool-list > a h3,
.tool-list > div h3 {
  color: var(--ink) !important;
}
.tool-list > a small,
.tool-list > div small,
.tool-list > a .muted,
.tool-list > div .muted {
  color: var(--muted) !important;
}
.tool-list > a > span:last-child {
  color: var(--accent) !important;
}
.tool-list > a:hover,
.tool-list > a:focus-visible {
  background: color-mix(in srgb, var(--accent) 7%, var(--paper)) !important;
  border-color: var(--accent) !important;
  box-shadow: var(--shadow);
}
.tool-list > a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent), var(--shadow);
}

/* v1.5.10 correctly scoped guest/public contrast rules */
body.is-guest .hero {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
body.is-guest .hero h1,
body.is-guest .hero h2,
body.is-guest .hero h3 {
  color: var(--ink) !important;
  text-shadow: none !important;
}
body.is-guest .hero p,
body.is-guest .hero .muted {
  color: var(--muted) !important;
}
body.is-guest .hero input[type="search"],
body.is-guest .hero input[type="text"] {
  background: var(--surface-2) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  caret-color: var(--ink) !important;
}
body.is-guest .hero input::placeholder {
  color: var(--muted) !important;
  opacity: 1 !important;
}
body.is-guest .hero input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent) !important;
}
body.is-guest .category-card,
body.is-guest .tool-card {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
body.is-guest .category-card h3,
body.is-guest .category-card strong,
body.is-guest .tool-card h3,
body.is-guest .tool-card strong {
  color: var(--ink) !important;
}
body.is-guest .category-card p,
body.is-guest .tool-card p {
  color: var(--muted) !important;
}
body.is-guest .site-header,
body.is-guest .topbar,
body.is-guest header.site-header {
  color:#f6fbfc;
}
body.is-guest .site-header a,
body.is-guest .topbar a,
body.is-guest header.site-header a {
  color:#edf6f7;
}
body.is-guest .site-header a:hover,
body.is-guest .site-header a:focus-visible,
body.is-guest .topbar a:hover,
body.is-guest .topbar a:focus-visible {
  color:#fff;
}
body.is-guest .site-header .btn,
body.is-guest .site-header .button,
body.is-guest .topbar .btn,
body.is-guest .topbar .button {
  color:#fff !important;
}

/* =========================================================
   v1.5.11 — Guest homepage product landing page
   Strictly scoped to body.is-guest .guest-home
   ========================================================= */
body.is-guest main.wrap:has(.guest-home){
  max-width:none;
  padding:0;
}
body.is-guest .guest-home{
  --gh-bg:#0d1a20;
  --gh-bg-2:#11242b;
  --gh-panel:#15282f;
  --gh-panel-2:#193039;
  --gh-line:#29424a;
  --gh-text:#edf7f7;
  --gh-muted:#9eb3b8;
  --gh-accent:#69c4c0;
  --gh-accent-2:#91ded9;
  background:
    radial-gradient(circle at 76% 5%, rgba(105,196,192,.15), transparent 30rem),
    linear-gradient(180deg,#0d1a20 0%,#102027 48%,#0b171c 100%);
  color:var(--gh-text);
  margin-top:-1px;
  overflow:hidden;
}
body.is-guest .guest-home a{text-decoration:none}
body.is-guest .guest-home p{color:var(--gh-muted)}

body.is-guest .guest-hero{
  max-width:1180px;
  margin:0 auto;
  padding:78px 28px 58px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:68px;
  align-items:center;
  position:relative;
}
body.is-guest .guest-hero:before{
  content:"";
  position:absolute;
  left:-220px;top:40px;
  width:430px;height:430px;
  border:1px solid rgba(105,196,192,.08);
  border-radius:50%;
  box-shadow:0 0 0 60px rgba(105,196,192,.025),0 0 0 120px rgba(105,196,192,.018);
  pointer-events:none;
}
body.is-guest .guest-eyebrow,
body.is-guest .guest-section-heading>span,
body.is-guest .guest-section-heading>div>span,
body.is-guest .guest-final-cta>div>span,
body.is-guest .guest-privacy>div>span{
  display:inline-block;
  color:var(--gh-accent-2);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.13em;
  margin-bottom:12px;
}
body.is-guest .guest-hero h1{
  margin:0;
  color:var(--gh-text)!important;
  font-size:clamp(3rem,5.6vw,5.4rem);
  line-height:.98;
  letter-spacing:-.055em;
  max-width:720px;
}
body.is-guest .guest-hero h1 span{color:var(--gh-accent-2)}
body.is-guest .guest-hero-lead{
  font-size:1.15rem;
  line-height:1.72;
  max-width:650px;
  margin:27px 0 28px;
}
body.is-guest .guest-hero-actions,
body.is-guest .guest-final-cta>div:last-child{
  display:flex;gap:11px;flex-wrap:wrap;align-items:center
}
body.is-guest .guest-primary-btn,
body.is-guest .guest-secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 18px;
  border-radius:10px;
  font-weight:800;
  transition:.18s ease;
}
body.is-guest .guest-primary-btn{
  background:var(--gh-accent);
  color:#092026;
  box-shadow:0 10px 25px rgba(40,137,133,.2);
}
body.is-guest .guest-primary-btn:hover{transform:translateY(-2px);background:var(--gh-accent-2)}
body.is-guest .guest-secondary-btn{
  color:var(--gh-text);
  border:1px solid var(--gh-line);
  background:rgba(255,255,255,.025);
}
body.is-guest .guest-secondary-btn:hover{border-color:var(--gh-accent);background:rgba(105,196,192,.07)}

body.is-guest .guest-search{margin-top:28px;max-width:650px}
body.is-guest .guest-search label{
  display:block;color:var(--gh-muted);font-size:.78rem;font-weight:700;margin-bottom:7px
}
body.is-guest .guest-search>div{
  display:grid;grid-template-columns:1fr auto;gap:8px
}
body.is-guest .guest-search input{
  min-height:52px!important;
  padding:0 15px!important;
  background:#102229!important;
  color:var(--gh-text)!important;
  border:1px solid var(--gh-line)!important;
  border-radius:10px!important;
  caret-color:var(--gh-text)!important;
}
body.is-guest .guest-search input::placeholder{color:#819ca2!important;opacity:1!important}
body.is-guest .guest-search input:focus{
  outline:none!important;border-color:var(--gh-accent)!important;
  box-shadow:0 0 0 3px rgba(105,196,192,.14)!important
}
body.is-guest .guest-search button{
  min-width:92px;border:0;border-radius:10px;background:#23434c;color:#fff;font-weight:800
}
body.is-guest .guest-search button:hover{background:#2c535d}
body.is-guest .guest-trust-row{
  display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;color:#a9bdc1;font-size:.79rem
}

body.is-guest .guest-product-preview{position:relative}
body.is-guest .guest-product-preview:before{
  content:"";
  position:absolute;inset:9% -8% -8% 10%;
  background:radial-gradient(circle,rgba(105,196,192,.16),transparent 65%);
  filter:blur(14px);pointer-events:none
}
body.is-guest .preview-window{
  position:relative;
  background:#f6faf9;
  color:#183138;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 35px 80px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.11);
  transform:rotate(.4deg)
}
body.is-guest .preview-window-bar{
  display:flex;align-items:center;gap:7px;padding:13px 16px;background:#e9f2f1;border-bottom:1px solid #d6e4e2
}
body.is-guest .preview-window-bar small{margin-left:7px;color:#60777c;font-weight:700}
body.is-guest .preview-dot{width:9px;height:9px;border-radius:50%;background:#a9c1c1}
body.is-guest .preview-dot:nth-child(2){background:#7bbcb9}
body.is-guest .preview-dot:nth-child(3){background:#4d9794}
body.is-guest .preview-progress{padding:17px 18px 12px;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:.79rem}
body.is-guest .preview-progress strong{color:#297a77}
body.is-guest .preview-progress>div{grid-column:1/-1;height:6px;background:#dce9e7;border-radius:99px;overflow:hidden}
body.is-guest .preview-progress i{display:block;width:72%;height:100%;background:#58aaa6;border-radius:99px}
body.is-guest .preview-section{margin:0 16px 11px;border:1px solid #d7e4e2;border-radius:10px;overflow:hidden;background:#fff}
body.is-guest .preview-section-title{display:flex;align-items:center;gap:8px;padding:10px 11px;font-size:.78rem;font-weight:800;background:#f4f8f8}
body.is-guest .preview-section-title>span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#5aaaa6;color:white;font-size:.67rem}
body.is-guest .preview-section-title em{margin-left:auto;color:#408784;font-style:normal}
body.is-guest .preview-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px}
body.is-guest .preview-fields>div{padding:8px;border-radius:8px;background:#f4f8f8;border:1px solid #e3eceb}
body.is-guest .preview-fields small{display:block;color:#74898d;font-size:.61rem;margin-bottom:2px}
body.is-guest .preview-fields strong{font-size:.72rem;color:#213b41}
body.is-guest .preview-choice-row{display:flex;gap:6px;padding:10px}
body.is-guest .preview-choice-row span{padding:6px 8px;border:1px solid #d7e4e2;border-radius:7px;font-size:.65rem;color:#60777c}
body.is-guest .preview-choice-row .selected{border-color:#5aaaa6;background:#e7f5f3;color:#286c69}
body.is-guest .preview-field-line{display:flex;gap:6px;padding:0 10px 11px}
body.is-guest .preview-field-line i{height:7px;border-radius:99px;background:#e0eae9;flex:1}
body.is-guest .preview-field-line i:nth-child(2){flex:.7}
body.is-guest .preview-output{margin:12px 16px 18px;padding:12px 13px;border-radius:10px;background:#15333a;color:#e8f5f4}
body.is-guest .preview-output small{font-size:.58rem;letter-spacing:.11em;color:#85c7c3}
body.is-guest .preview-output p{margin:6px 0 0!important;color:#d7e8e7!important;font-size:.72rem;line-height:1.55}

body.is-guest .guest-feature-strip{
  max-width:1180px;margin:0 auto 34px;padding:0 28px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px
}
body.is-guest .guest-feature-strip article{
  display:flex;gap:12px;padding:17px;border:1px solid var(--gh-line);
  border-radius:13px;background:rgba(255,255,255,.025)
}
body.is-guest .guest-feature-icon{display:grid;place-items:center;flex:0 0 35px;height:35px;border-radius:9px;background:rgba(105,196,192,.11);color:var(--gh-accent-2);font-weight:900}
body.is-guest .guest-feature-strip strong{color:var(--gh-text);font-size:.88rem}
body.is-guest .guest-feature-strip p{margin:4px 0 0;font-size:.76rem;line-height:1.45}

body.is-guest .guest-section{max-width:1180px;margin:0 auto;padding:72px 28px}
body.is-guest .guest-section-heading{max-width:720px;margin-bottom:30px}
body.is-guest .guest-section-heading h2,
body.is-guest .guest-experience h2,
body.is-guest .guest-privacy h2,
body.is-guest .guest-final-cta h2{
  color:var(--gh-text)!important;margin:0;font-size:clamp(2rem,3.2vw,3rem);line-height:1.08;letter-spacing:-.035em
}
body.is-guest .guest-section-heading p{font-size:1rem;line-height:1.7;margin:12px 0 0}
body.is-guest .guest-heading-row{max-width:none;display:flex;justify-content:space-between;gap:25px;align-items:end}
body.is-guest .guest-heading-row a{color:var(--gh-accent-2);font-weight:800;font-size:.84rem;padding-bottom:5px}

body.is-guest .guest-how{border-top:1px solid rgba(255,255,255,.04)}
body.is-guest .guest-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
body.is-guest .guest-steps article{padding:21px;border:1px solid var(--gh-line);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015))}
body.is-guest .guest-steps b{display:inline-block;color:var(--gh-accent-2);font-size:.75rem;letter-spacing:.08em;margin-bottom:28px}
body.is-guest .guest-steps h3{margin:0 0 7px;color:var(--gh-text);font-size:1rem}
body.is-guest .guest-steps p{margin:0;font-size:.83rem;line-height:1.58}

body.is-guest .guest-tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
body.is-guest .guest-tool-card{
  min-height:205px;padding:18px;border:1px solid var(--gh-line);border-radius:14px;
  background:var(--gh-panel);transition:.18s ease
}
body.is-guest .guest-tool-card:hover{transform:translateY(-3px);border-color:#45747d;background:var(--gh-panel-2)}
body.is-guest .guest-tool-top{display:flex;justify-content:space-between;gap:8px;color:var(--gh-accent-2);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
body.is-guest .guest-tool-top i{font-style:normal}
body.is-guest .guest-tool-card h3{color:var(--gh-text)!important;font-size:1.02rem;line-height:1.25;margin:23px 0 9px}
body.is-guest .guest-tool-card p{font-size:.82rem;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

body.is-guest .guest-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
body.is-guest .guest-category-card{
  position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;
  min-height:94px;padding:15px 16px;border:1px solid var(--gh-line);border-radius:13px;background:rgba(255,255,255,.024);transition:.18s ease
}
body.is-guest .guest-category-card:hover{border-color:#467881;background:rgba(105,196,192,.055)}
body.is-guest .guest-category-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#1d3d45;color:var(--gh-accent-2);font-weight:900}
body.is-guest .guest-category-card strong{color:var(--gh-text);font-size:.9rem}
body.is-guest .guest-category-card p{font-size:.72rem;line-height:1.4;margin:4px 0 0}
body.is-guest .guest-category-card>i{color:#6c969c;font-style:normal}

body.is-guest .guest-experience{
  max-width:1124px;margin:48px auto;padding:44px 46px;
  display:grid;grid-template-columns:1fr 250px;gap:55px;align-items:center;
  border:1px solid #35545b;border-radius:20px;
  background:linear-gradient(135deg,#173039,#11252c);
}
body.is-guest .guest-experience p{font-size:1rem;line-height:1.72;margin:17px 0}
body.is-guest .guest-experience a{color:var(--gh-accent-2);font-weight:800}
body.is-guest .guest-experience-stat{padding:30px;text-align:center;border-radius:16px;background:#0c1d23;border:1px solid #29464d}
body.is-guest .guest-experience-stat strong{display:block;color:var(--gh-accent-2);font-size:4rem;line-height:.9;letter-spacing:-.06em}
body.is-guest .guest-experience-stat span{display:block;color:#d7e8e7;font-size:.7rem;font-weight:900;letter-spacing:.2em;margin:8px 0 12px}
body.is-guest .guest-experience-stat p{font-size:.77rem;margin:0}

body.is-guest .guest-privacy{
  max-width:1124px;margin:24px auto 70px;padding:28px 32px;
  display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;
  border:1px solid #765d32;border-radius:16px;background:#211d14
}
body.is-guest .guest-privacy-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#d2a95a;color:#211d14;font-weight:950;font-size:1.2rem}
body.is-guest .guest-privacy>div>span{color:#e2b96a}
body.is-guest .guest-privacy h2{font-size:1.45rem!important}
body.is-guest .guest-privacy p{margin:10px 0 0;color:#c5b89c!important;line-height:1.62;font-size:.88rem}

body.is-guest .guest-final-cta{
  max-width:1124px;margin:0 auto 45px;padding:42px 45px;
  display:flex;justify-content:space-between;align-items:center;gap:40px;
  border-radius:20px;background:linear-gradient(120deg,#1b454c,#174049 50%,#18323a);
  border:1px solid #407079
}
body.is-guest .guest-final-cta h2{font-size:2.15rem!important}
body.is-guest .guest-final-cta p{max-width:650px;margin:9px 0 0;color:#b8cecf!important}
body.is-guest .guest-final-cta>div:last-child{flex:0 0 auto}

body.is-guest .guest-recent-mini{max-width:1180px;margin:0 auto;padding:25px 28px 75px}
body.is-guest .guest-recent-mini .section-head h2{color:var(--gh-text);font-size:1.15rem}
body.is-guest .guest-recent-mini .section-head a{color:var(--gh-accent-2)}
body.is-guest .guest-recent-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
body.is-guest .guest-recent-row a{min-height:83px;padding:14px;border-radius:11px;border:1px solid var(--gh-line);background:#12262d}
body.is-guest .guest-recent-row small{display:block;color:var(--gh-accent-2);font-size:.65rem;margin-bottom:6px}
body.is-guest .guest-recent-row strong{display:block;color:var(--gh-text);font-size:.8rem;line-height:1.35}

@media(max-width:980px){
  body.is-guest .guest-hero{grid-template-columns:1fr;padding-top:55px;gap:40px}
  body.is-guest .guest-product-preview{max-width:650px}
  body.is-guest .guest-feature-strip{grid-template-columns:1fr 1fr}
  body.is-guest .guest-steps{grid-template-columns:1fr 1fr}
  body.is-guest .guest-tool-grid{grid-template-columns:1fr 1fr}
  body.is-guest .guest-category-grid{grid-template-columns:1fr 1fr}
  body.is-guest .guest-experience{grid-template-columns:1fr}
  body.is-guest .guest-experience-stat{max-width:260px}
  body.is-guest .guest-recent-row{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  body.is-guest .guest-hero{padding:42px 18px 38px}
  body.is-guest .guest-hero h1{font-size:2.8rem}
  body.is-guest .guest-hero-actions a{width:100%}
  body.is-guest .guest-search>div{grid-template-columns:1fr}
  body.is-guest .guest-search button{min-height:46px}
  body.is-guest .guest-trust-row{display:grid;gap:7px}
  body.is-guest .guest-feature-strip,
  body.is-guest .guest-steps,
  body.is-guest .guest-tool-grid,
  body.is-guest .guest-category-grid,
  body.is-guest .guest-recent-row{grid-template-columns:1fr}
  body.is-guest .guest-feature-strip{padding:0 18px}
  body.is-guest .guest-section{padding:55px 18px}
  body.is-guest .guest-heading-row{display:block}
  body.is-guest .guest-heading-row>a{display:inline-block;margin-top:13px}
  body.is-guest .guest-experience{margin:25px 18px;padding:30px 22px;gap:28px}
  body.is-guest .guest-privacy{margin:20px 18px 50px;padding:22px;grid-template-columns:1fr}
  body.is-guest .guest-final-cta{margin:0 18px 35px;padding:30px 22px;display:block}
  body.is-guest .guest-final-cta>div:last-child{margin-top:22px}
  body.is-guest .guest-final-cta a{width:100%}
  body.is-guest .guest-recent-mini{padding:20px 18px 55px}
}

/* v1.5.12 footer, legal, contact and support inbox */
.site-footer{margin-top:70px;background:#102c35;color:#e9f3f4;border-top:1px solid #31515a}
.site-footer .wrap{max-width:1180px}
.footer-grid{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:42px;padding-top:46px;padding-bottom:34px}
.footer-grid section{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer-grid h3{margin:0 0 7px;color:#fff;font-size:.8rem;text-transform:uppercase;letter-spacing:.09em}
.footer-grid a,.footer-install-link{color:#bad0d3;font-size:.88rem;background:none;border:0;padding:0;text-align:left;box-shadow:none}
.footer-grid a:hover,.footer-install-link:hover{color:#fff;text-decoration:underline;box-shadow:none}
.footer-brand{display:flex!important;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important}
.footer-brand .mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#4fa6a3;color:#fff;font-weight:900;font-size:1.15rem}
.footer-brand>span:last-child{display:grid}.footer-brand strong{font-size:1rem}.footer-brand small{color:#90adb2;font-size:.72rem}
.footer-brand-block p{color:#9fb8bc;line-height:1.6;font-size:.85rem;max-width:390px;margin:8px 0 2px}
.footer-built{font-size:.73rem;color:#76c8c3;font-weight:800;letter-spacing:.03em}
.footer-privacy-alert{display:flex;gap:13px;align-items:center;padding-top:17px;padding-bottom:17px;border-top:1px solid #274650;border-bottom:1px solid #274650;color:#aac0c4;font-size:.78rem}
.footer-privacy-alert strong{color:#f0c56c;white-space:nowrap}.footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:18px;padding-bottom:23px;color:#829fa4;font-size:.74rem}.footer-bottom a{color:#a9c2c6}
.nav-count,.inline-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:99px;background:#c64747;color:#fff;font-size:.65rem;font-weight:900;vertical-align:middle}
.admin-nav-link{display:inline-flex!important;align-items:center}
.legal-page{max-width:980px;margin:0 auto}.legal-hero{padding:25px 0 15px}.legal-hero h1{font-size:2.6rem;line-height:1.08;margin:.25rem 0 .8rem}.legal-hero>p:not(.eyebrow){font-size:1.05rem;line-height:1.7;color:var(--muted)}
.legal-important,.legal-warning{border:1px solid color-mix(in srgb,#c68b2c 35%,var(--line));background:color-mix(in srgb,#c68b2c 8%,var(--paper));border-radius:13px;padding:17px 18px;line-height:1.6}.legal-jump{position:sticky;top:72px;z-index:5;display:flex;gap:7px;flex-wrap:wrap;padding:10px;margin:10px 0 20px;background:color-mix(in srgb,var(--paper) 96%,transparent);border:1px solid var(--line);border-radius:12px;backdrop-filter:blur(8px)}.legal-jump a{font-size:.78rem;padding:6px 9px;border-radius:8px;background:var(--surface-2)}
.legal-section{scroll-margin-top:140px;margin:0 0 14px;padding:23px 25px;background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-soft)}.legal-section h2{margin:0 0 10px;font-size:1.25rem}.legal-section p{line-height:1.72;margin:.65rem 0;color:var(--ink)}.legal-section p:last-child{margin-bottom:0}.legal-warning strong{color:#a26312}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:18px}.contact-form-panel{padding:26px}.contact-side{display:grid;gap:14px;align-content:start}.contact-side .panel{margin:0}.contact-side h3{margin-top:0}.contact-phi-warning{margin:14px 0 18px;padding:13px 14px;border-radius:10px;background:color-mix(in srgb,#c68b2c 9%,var(--paper));border-left:4px solid #c68b2c;line-height:1.5;font-size:.86rem}.contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.contact-steps{padding-left:1.2rem;margin:.5rem 0 0}.contact-steps li{padding:.35rem 0;color:var(--muted);line-height:1.5}.support-stats{grid-template-columns:repeat(4,1fr)}.support-filter{display:grid;grid-template-columns:1fr 180px 180px auto;gap:8px;margin-bottom:14px}.support-table{min-width:980px}.support-unread{background:color-mix(in srgb,var(--accent) 7%,var(--paper))}.support-new{display:inline-block!important;color:#fff!important;background:#c64747;border-radius:99px;padding:2px 6px;margin-top:4px;width:max-content;font-size:.62rem!important}.support-status{display:inline-flex;text-transform:capitalize;padding:4px 8px;border-radius:99px;background:var(--surface-2);font-size:.72rem;font-weight:800}.support-status.new{background:color-mix(in srgb,#c64747 12%,var(--paper));color:#a43737}.support-status.in_progress{background:color-mix(in srgb,#d59a2e 14%,var(--paper));color:#9a6711}.support-status.resolved{background:color-mix(in srgb,#35a16b 13%,var(--paper));color:#24754d}.support-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:18px}.support-admin-actions{display:grid;gap:14px;align-content:start}.support-admin-actions .panel{margin:0}.support-meta{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--line)}.support-meta>div{display:grid;gap:3px}.support-meta small{font-size:.68rem;color:var(--muted);font-weight:800;letter-spacing:.07em}.support-meta span{font-size:.82rem;color:var(--muted)}.support-message-body{padding:24px 0;font-size:1rem;line-height:1.72;white-space:normal}.support-tech{padding:11px;border-radius:8px;background:var(--surface-2);font-size:.78rem;color:var(--muted);word-break:break-word}.admin-launch-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
@media(max-width:850px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand-block{grid-column:1/-1}.contact-layout,.support-detail-grid{grid-template-columns:1fr}.support-filter{grid-template-columns:1fr 1fr}.support-filter input{grid-column:1/-1}.support-meta{grid-template-columns:1fr 1fr}.footer-privacy-alert{align-items:flex-start;flex-direction:column}.footer-privacy-alert strong{white-space:normal}}
@media(max-width:580px){.footer-grid{grid-template-columns:1fr;gap:24px}.footer-brand-block{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column;gap:7px}.legal-hero h1{font-size:2rem}.legal-jump{position:static}.legal-section{padding:18px}.support-filter,.support-meta{grid-template-columns:1fr}.support-filter input{grid-column:auto}}

/* v1.8 Admin Operations Center */
.admin-command-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0 1.5rem}.command-card{display:flex;flex-direction:column;gap:.3rem;padding:1rem 1.1rem;border:1px solid var(--border);border-radius:16px;background:var(--panel);text-decoration:none;color:inherit;box-shadow:var(--shadow-sm)}.command-card:hover{transform:translateY(-1px)}.command-card span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.command-card strong{font-size:1.8rem;line-height:1.1}.command-card small{color:var(--muted)}.command-card.good{border-left:4px solid #2e8b57}.command-card.warn{border-left:4px solid #d99b23}.command-card.bad{border-left:4px solid #c94141}.expanded-admin-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.bulk-template-panel{margin-bottom:1rem}.bulk-action-row{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.advanced-bulk-row{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border)}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin:1rem 0}.mini-bars{display:grid;gap:.55rem}.mini-bar-row{display:grid;grid-template-columns:90px 1fr 48px;gap:.6rem;align-items:center;font-size:.86rem}.mini-bar-row i{height:10px;min-width:2px;background:currentColor;opacity:.35;border-radius:999px}.mini-bar-row strong{text-align:right}.rank-list{list-style:none;padding:0;margin:0;display:grid;gap:.45rem}.rank-list li{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--border)}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0}.health-card{padding:1rem;border:1px solid var(--border);border-radius:14px;background:var(--panel);display:flex;flex-direction:column;gap:.3rem}.health-card span{font-size:.8rem;color:var(--muted)}.health-card strong{font-size:1.15rem}.health-card.good{border-left:4px solid #2e8b57}.health-card.warn{border-left:4px solid #d99b23}.health-card.bad{border-left:4px solid #c94141}.admin-split{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);gap:1rem}.narrow-panel{max-width:760px}.compact-list .row-actions{flex-shrink:0}.inline-form{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}.site-announcement{border-bottom:1px solid rgba(0,0,0,.08)}.site-announcement .wrap{display:flex;gap:.75rem;align-items:center;padding:.65rem 1rem}.announcement-info{background:#e8f2ff;color:#173f5f}.announcement-success{background:#e7f6ed;color:#205f3e}.announcement-warning{background:#fff4d8;color:#7a5612}.announcement-critical{background:#ffe6e6;color:#8b2222}@media(max-width:850px){.admin-split{grid-template-columns:1fr}.mini-bar-row{grid-template-columns:78px 1fr 42px}}

.version-diff-list{display:grid;gap:1rem}.version-diff{border:1px solid var(--border);border-radius:12px;padding:1rem}.version-diff h3{margin-top:0}.version-diff pre{white-space:pre-wrap;word-break:break-word;max-height:24rem;overflow:auto;background:var(--surface-2,#f6f7f9);padding:.75rem;border-radius:8px;font-size:.83rem}


/* v1.8.1 Backup & Recovery Center */
.backup-tier-grid{align-items:stretch}
.backup-tier-grid .panel{display:flex;flex-direction:column;gap:.75rem}
.backup-tier-grid .panel form{margin-top:auto}
.compact-list{margin:.25rem 0 .5rem;padding-left:1.25rem}
.compact-list li{margin:.25rem 0}
.notice.critical{border-color:var(--danger,#b42318)}


/* v1.8.2 Support Conversations */
.support-thread-card{min-width:0}
.support-thread{display:grid;gap:16px;padding:22px 0}
.support-thread-item{display:flex;gap:10px;align-items:flex-start}
.support-thread-item.admin{flex-direction:row-reverse}
.thread-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);font-size:.72rem;font-weight:900}
.support-thread-item.admin .thread-avatar{background:var(--accent);color:#fff;border-color:transparent}
.thread-bubble{max-width:min(82%,760px);border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:13px 14px;box-shadow:var(--shadow-soft)}
.support-thread-item.visitor .thread-bubble{border-top-left-radius:5px}
.support-thread-item.admin .thread-bubble{border-top-right-radius:5px;background:color-mix(in srgb,var(--accent) 5%,var(--paper))}
.support-thread-item.failed .thread-bubble{border-color:#c64747;background:color-mix(in srgb,#c64747 5%,var(--paper))}
.thread-head{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-bottom:3px}
.thread-head span{font-size:.72rem;color:var(--muted);white-space:nowrap}
.thread-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800;margin-bottom:9px}
.thread-body{line-height:1.65;white-space:normal}
.thread-delivery{margin-top:10px;font-size:.72rem;color:var(--muted)}
.thread-delivery.sent{color:#24754d}.thread-delivery.failed{color:#a43737}
.support-system-event{justify-self:center;max-width:88%;padding:9px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-size:.76rem;text-align:center}
.support-system-event span{margin-left:8px;color:var(--muted)}
.support-system-event small{display:block;margin-top:3px;color:var(--muted)}
.support-system-event.internal{border-radius:10px}
@media(max-width:700px){
  .thread-bubble{max-width:calc(100% - 44px)}
  .thread-head{align-items:flex-start;flex-direction:column;gap:2px}
  .support-system-event{max-width:100%;border-radius:10px}
}


/* v1.8.3 Issue Report Conversations */
.issue-conversation{display:grid;gap:16px;padding:22px 0 4px}
.issue-thread-item{display:flex;gap:10px;align-items:flex-start}
.issue-thread-item.admin{flex-direction:row-reverse}
.issue-thread-item .thread-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);font-size:.72rem;font-weight:900}
.issue-thread-item.admin .thread-avatar{background:var(--accent);color:#fff;border-color:transparent}
.issue-thread-item .thread-bubble{max-width:min(84%,780px);border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:13px 14px;box-shadow:var(--shadow-soft)}
.issue-thread-item.reporter .thread-bubble{border-top-left-radius:5px}
.issue-thread-item.admin .thread-bubble{border-top-right-radius:5px;background:color-mix(in srgb,var(--accent) 5%,var(--paper))}
.thread-subsection{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:700px){
  .issue-thread-item .thread-bubble{max-width:calc(100% - 44px)}
}
