@font-face{font-family:"Fjalla One";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/fjalla-one-latin.woff2") format("woff2")}
@font-face{font-family:Roboto;font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/roboto-latin.woff2") format("woff2")}
:root{color-scheme:dark;--bg:#000;--panel:#050505;--text:#f8fafc;--muted:#94a3b8;--border:#475569;--active:#fff;--active-text:#000;--danger:#f97066;--success:#12b76a;--warning:#fdb022;--radius:14px;--control-height:48px;--section-gap:14px;--profile-gap:10px;--font-body:Roboto,Arial,sans-serif;--font-heading:"Fjalla One",Arial,sans-serif}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{min-height:100vh;min-height:100dvh;margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:12px}
.pwa-install-gate{display:none}
.pwa-detecting .terminal-app-shell{visibility:hidden}
.pwa-mobile-browser{overflow-x:hidden}
.pwa-mobile-browser .terminal-app-shell{display:none}
.pwa-mobile-browser .pwa-install-gate{display:grid;width:100%;min-height:100vh;min-height:100dvh;padding:max(32px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));align-content:center;justify-items:center;gap:34px}
.pwa-install-logo{display:block;width:min(440px,82vw);height:auto;max-height:80px;object-fit:contain}
.pwa-install-content{display:grid;width:min(390px,100%);justify-items:stretch;gap:14px;text-align:center}
.pwa-install-content h1{margin:0 0 4px;font-size:28px}
.pwa-install-button{width:100%}
.pwa-install-status{min-height:18px;margin:0;color:var(--muted);line-height:1.5;text-align:center}
.pwa-ios-help{padding:16px;border:2px solid var(--border);border-radius:12px;background:var(--panel);text-align:left}
.pwa-ios-help p{margin-bottom:10px;font-weight:800;text-align:center}
.pwa-ios-help ol{display:grid;margin:0;padding-left:22px;gap:9px;line-height:1.45}
.external-logo-page{overflow:hidden}
.external-logo-page main{display:grid;width:100%;height:100vh;height:100dvh;padding:24px;place-items:center}
.external-logo-page img{display:block;width:min(440px,80vw);height:auto;max-height:30vh;object-fit:contain}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
h1,h2,h3,p{margin-top:0}
h1,h2,h3,.brand{font-family:var(--font-heading);font-weight:400}
h1{margin-bottom:7px;font-size:clamp(2rem,8vw,3.6rem);line-height:1}
h2{margin-bottom:5px}
a{color:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-header{display:flex;position:sticky;z-index:20;top:0;min-height:68px;padding:11px max(16px,env(safe-area-inset-right)) 11px max(16px,env(safe-area-inset-left));align-items:center;justify-content:flex-end;gap:16px;border-bottom:2px solid var(--border);background:#000e;backdrop-filter:blur(10px)}
.admin-notices{display:grid;position:fixed;z-index:40;top:max(8px,env(safe-area-inset-top));left:50%;width:min(720px,calc(100% - 24px));gap:8px;transform:translateX(-50%);pointer-events:none}
.admin-banner{display:grid;min-height:50px;padding:7px 7px 7px 16px;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:12px;border:2px solid #528bff;border-radius:10px;background:#101828f2;color:#dbeafe;text-align:center;box-shadow:0 10px 30px #000b;backdrop-filter:blur(10px);opacity:1;transform:translateY(0);transition:opacity .18s,transform .18s;pointer-events:auto}
.admin-banner.is-hiding{opacity:0;transform:translateY(-8px);pointer-events:none}
.admin-banner-success{border-color:var(--success);background:#052e22f2;color:#a7f3d0}
.admin-banner-danger{border-color:var(--danger);background:#450a0af2;color:#fecaca}
.admin-banner-warning{border-color:var(--warning);background:#451a03f2;color:#fde68a}
.admin-banner>span{padding-left:36px;font-weight:700}
.admin-banner button{display:grid;width:36px;height:36px;padding:0;place-items:center;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.admin-banner button:hover,.admin-banner button:focus-visible{background:#fff;color:#000;outline:0}
.admin-banner svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.terminal-header{justify-content:center}
.app-header>.brand{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
.brand{display:flex;min-width:0;align-items:center;gap:13px;color:var(--text);font-size:1.35rem;text-decoration:none}
.brand img{display:block;width:min(220px,45vw);height:auto;max-height:30px;object-fit:contain}
.icon-link,.header-button{display:grid;min-width:44px;height:44px;padding:0 13px;place-items:center;border:2px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);text-decoration:none;cursor:pointer}
.icon-link svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-link:hover,.icon-link:focus-visible,.header-button:hover,.header-button:focus-visible{border-color:var(--active);background:var(--active);color:var(--active-text);outline:0}
.terminal-main,.admin-main{width:min(1040px,100%);margin:0 auto;padding:clamp(28px,6vw,62px) max(16px,env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.admin-main{width:min(1420px,100%)}
.terminal-main{padding-top:18px}
.search-panel{display:grid;gap:26px}
.eyebrow{margin-bottom:8px;color:var(--muted);font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.lead{margin-bottom:0;color:var(--muted);line-height:1.5}
.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
input,select,textarea{width:100%;min-width:0;border:2px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);outline:0}
input,select{min-height:50px;padding:0 14px}
textarea{padding:12px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem}
input:focus,select:focus,textarea:focus{border-color:var(--active)}
.search-form input{height:var(--control-height);border-color:var(--active);font-size:12px;text-align:center}
.search-form button,.primary-action{display:flex;min-height:50px;padding:0 21px;align-items:center;justify-content:center;gap:9px;border:2px solid var(--active);border-radius:10px;background:var(--active);color:var(--active-text);font-weight:800;cursor:pointer}
.search-form button{width:58px;padding:0}
.search-form button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
.search-form button:hover,.search-form button:focus-visible,.primary-action:hover,.primary-action:focus-visible{background:var(--bg);color:var(--active);outline:0}
.status{width:100%;margin:var(--section-gap) 0;padding:13px 15px;border:2px solid #528bff;border-radius:10px;background:#101828;color:#dbeafe;text-align:center}
.status-danger{border-color:var(--danger);background:#450a0a;color:#fecaca}
.status-success{border-color:var(--success);background:#052e22;color:#a7f3d0}
.status-warning{border-color:var(--warning);background:#451a03;color:#fde68a}
.results{display:grid;gap:var(--section-gap);margin-top:var(--section-gap)}
.result-card{overflow:hidden;border:2px solid var(--border);border-radius:var(--radius);background:var(--panel)}
.result-summary{display:grid;width:100%;min-height:48px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:13px;padding:7px 17px;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.result-summary svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s}
.result-card.open .result-summary svg{transform:rotate(90deg)}
.result-summary strong{display:block;font-family:var(--font-heading);font-size:12px;font-weight:400}
.result-summary small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.result-content{display:none;padding:0 17px 17px}
.result-card.open .result-content{display:grid;gap:16px}
.result-image{display:block;width:auto;max-width:100%;height:100%;max-height:100%;border:2px solid var(--border);border-radius:10px;background:#fff;object-fit:contain}
.result-carousel{--carousel-left-padding:10px;--carousel-right-padding:10px;position:relative;min-height:0;padding:10px 0 4px}
.carousel-viewport{display:grid;min-height:0;padding:0 var(--carousel-right-padding) 0 var(--carousel-left-padding);touch-action:pan-y}
.carousel-slide{display:grid;grid-area:1/1;grid-template-rows:auto 1fr;visibility:hidden;pointer-events:none}
.carousel-slide.active{visibility:visible;pointer-events:auto}
.carousel-title{margin:0 0 14px;color:var(--muted);font-family:var(--font-body);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.result-carousel.single-slide .carousel-title{display:none}
.carousel-image-holder{display:flex;width:100%;height:var(--carousel-button-stack-height);max-height:var(--carousel-button-stack-height);align-items:center;justify-content:center;overflow:hidden}
.carousel-empty{margin:auto;color:var(--muted);text-align:center}
.carousel-navigation{display:grid;width:calc(100% - var(--carousel-left-padding) - var(--carousel-right-padding));height:var(--control-height);min-height:var(--control-height);margin:var(--profile-gap) var(--carousel-right-padding) 0 var(--carousel-left-padding);padding:5px 13px;grid-template-columns:25px minmax(0,1fr) 25px;align-items:center;gap:10px;border:2px solid var(--border);border-radius:10px;background:var(--bg)}
.carousel-navigation,.carousel-navigation button{touch-action:pan-y}
.carousel-arrow{display:grid;width:25px;height:25px;padding:0;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--text);cursor:pointer}
.carousel-arrow svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.carousel-arrow:hover,.carousel-arrow:focus-visible{border-color:var(--active);background:var(--active);color:var(--active-text);outline:0}
.carousel-dots{display:flex;min-width:54px;padding:0 6px;align-items:center;justify-content:center;gap:8px}
.carousel-dot{width:9px;height:9px;flex:none;padding:0;border:1.5px solid var(--active);border-radius:50%;background:transparent;cursor:pointer}
.carousel-dot.active{background:var(--active)}
.profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:var(--profile-gap)}
.profile-button{display:grid;height:var(--control-height);min-height:var(--control-height);padding:5px 13px;grid-template-columns:25px minmax(0,1fr) 25px;align-items:center;gap:10px;border:2px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font-weight:700;cursor:pointer;text-align:center}
.profile-button-label{display:block;min-width:0;grid-column:1/-1}
.profile-button.has-color-dot .profile-button-label{grid-column:2}
.profile-color-dot,.profile-color-balance{display:block;width:25px;height:25px;flex:none}
.profile-color-dot{border:1px solid #ffffff80;border-radius:50%;box-shadow:0 0 0 2px #000,0 0 0 3px #ffffff26}
.profile-button:hover,.profile-button:focus-visible{border-color:var(--active);background:var(--active);color:var(--active-text);outline:0}
.profile-button[aria-disabled="true"]{cursor:not-allowed;opacity:.46}
.profile-button small{display:block;margin-top:2px;font-size:10px;font-weight:400}
.empty-card{padding:24px;border:2px solid var(--border);border-radius:var(--radius);color:var(--muted);text-align:center}
.print-dialog{position:fixed;top:50%;right:auto;bottom:auto;left:50%;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 16px);margin:0;padding:0;overflow-y:auto;border:2px solid var(--border);border-radius:16px;background:var(--bg);color:var(--text);transform:translate(-50%,-50%);overscroll-behavior:contain}
.print-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.print-dialog form{padding:24px}
.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dialog-close{width:42px;height:42px;border:2px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);font-size:1.8rem;line-height:1;cursor:pointer}
.quantity-field{display:grid;gap:8px;margin-top:18px;font-weight:700}
.quantity-field input{height:70px;text-align:center;font-size:1.7rem;font-weight:800}
.quantity-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:11px 0 20px}
.quantity-actions button{min-height:55px;border:2px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font-weight:800;cursor:pointer}
.quantity-actions button:hover{border-color:var(--active)}
.print-dialog .primary-action{width:100%}
.login-body{display:grid;padding:24px 16px;place-items:center}
.login-card{width:min(100%,430px);padding:34px 30px;border:3px solid var(--border);border-radius:16px;background:var(--panel)}
.login-logo{display:block;width:min(270px,100%);height:70px;margin:0 auto 24px;object-fit:contain}
.login-card{text-align:center}.login-card .lead{margin-bottom:22px}
.login-form{display:grid;gap:15px;text-align:left}
.login-form fieldset{margin:0;padding:2px 12px 9px;border:2px solid var(--border);border-radius:10px}
.login-form fieldset:focus-within{border-color:var(--active)}
.login-form legend{padding:0 6px;font-weight:700}
.login-form fieldset input{min-height:42px;padding:0;border:0}
.secondary-action{display:flex;min-height:46px;padding:0 16px;align-items:center;justify-content:center;border:2px solid var(--border);border-radius:10px;text-decoration:none;font-weight:700}
.secondary-action:hover,.secondary-action:focus-visible{border-color:var(--active);outline:0}
.secondary-action.compact{width:max-content}
.admin-heading-links,.header-actions,.admin-log-actions{display:flex;align-items:center;gap:8px}
.header-actions form,.admin-log-actions form{margin:0}
.admin-log-main{width:min(1600px,100%)}
.admin-log-heading{align-items:flex-end}
.log-icon-action{display:grid;width:40px;height:40px;padding:0;place-items:center;border:2px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);text-decoration:none;cursor:pointer}
.log-icon-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.log-icon-action:hover,.log-icon-action:focus-visible{border-color:var(--active);background:var(--active);color:var(--active-text);outline:0}
.log-clear{border-color:var(--danger);color:#fda29b}
.log-refresh{border-color:#528bff;color:#84adff}
.log-settings-panel{margin-bottom:14px}
.log-level-form{display:grid;padding:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.log-level-option{min-height:42px;padding:0 10px;border:2px solid;border-radius:9px;font-weight:800;cursor:pointer}
.log-level-debug{border-color:#475569;background:#080a0e;color:#94a3b8}
.log-level-info{border-color:#1849a9;background:#030b16;color:#84caff}
.log-level-warning{border-color:#854a0e;background:#100b02;color:#fedf89}
.log-level-error{border-color:#912018;background:#100404;color:#fda29b}
.log-level-debug.active{border-color:#98a2b3;background:#667085;color:#fff}
.log-level-info.active{border-color:#84caff;background:#1570ef;color:#fff}
.log-level-warning.active{border-color:#fec84b;background:#f79009;color:#000}
.log-level-error.active{border-color:#fda29b;background:#d92d20;color:#fff}
.log-viewer-panel{margin-bottom:24px}
.log-count{padding:6px 9px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-weight:800}
.log-viewer{display:grid;max-height:65vh;overflow:auto;background:#000}
.log-entry{display:grid;padding:10px 14px;grid-template-columns:150px minmax(0,1fr);gap:12px;border-left:4px solid #528bff;border-bottom:1px solid #334155;background:#000}
.log-entry:last-child{border-bottom:0}
.log-entry>span{padding-top:2px;color:var(--muted);font-size:10px;font-weight:700;word-break:break-all}
.log-entry pre{min-width:0;margin:0;color:#e5e7eb;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;overflow-wrap:anywhere;white-space:pre-wrap}
.log-entry-debug{border-left-color:#667085}
.log-entry-info{border-left-color:#528bff}
.log-entry-warning{border-left-color:#f79009;background:#1c1303}
.log-entry-error{border-left-color:#f04438;background:#1f0808}
.log-truncated,.log-empty{margin:0;padding:12px 14px;color:var(--muted)}
.admin-heading{display:flex;margin-bottom:28px;align-items:flex-end;justify-content:space-between;gap:18px}
.admin-form{display:grid;gap:14px}
.admin-panel{overflow:hidden;border:2px solid var(--border);border-radius:var(--radius);background:var(--panel)}
.panel-heading{display:grid;padding:12px 14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid var(--border)}
.panel-heading h2,.panel-heading p{margin:0}.panel-heading p{margin-top:4px;color:var(--muted);font-size:.88rem}
.panel-icon{display:grid;width:36px;height:36px;flex:none;place-items:center;border-radius:9px;background:#fff;color:#000;font-weight:900}
.field-grid,.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:14px}
.field-grid label,.profile-fields label{display:grid;min-width:0;gap:7px;color:var(--muted);font-size:.82rem;font-weight:700}
.field-grid .wide,.profile-fields .wide{grid-column:1/-1}
.object-config-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.object-config-row.uses-custom{grid-template-columns:repeat(3,minmax(0,1fr))}
.object-config-row>[hidden]{display:none}
.check-field{display:flex!important;min-height:50px;align-items:center;gap:10px}
.check-field input{width:20px;height:20px;min-height:0;padding:0;accent-color:#fff}
.admin-main input,.admin-main select{min-height:40px}.admin-main textarea{padding:9px}
.config-actions{display:flex;align-items:center;gap:7px}
.config-icon-button{display:grid;width:38px;height:38px;padding:0;place-items:center;border:2px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);cursor:pointer}
.config-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.config-icon-button.save:not(:disabled){border-color:var(--success);color:#a7f3d0}
.config-icon-button:not(:disabled):hover,.config-icon-button:not(:disabled):focus-visible{border-color:var(--active);background:var(--active);color:var(--active-text);outline:0}
.config-icon-button:disabled{opacity:.25}
[data-config-scope].scope-dirty{border-color:#60a5fa}
.profile-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-appearance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.color-field{min-height:50px;padding:7px 13px;border:2px solid var(--border);border-radius:10px}
.color-picker-control{display:flex;min-width:0;align-items:center;gap:10px}
.color-picker-control input[type="color"]{width:38px;height:24px;min-height:24px;padding:1px;border:1px solid var(--border);border-radius:6px;cursor:pointer}
.color-picker-control output{color:var(--text);font:11px ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}
.switch-field{display:flex!important;min-height:50px;padding:0 13px;align-items:center;gap:10px;border:2px solid var(--border);border-radius:10px;color:var(--text)!important;cursor:pointer}
.switch-field input{position:absolute;width:1px;height:1px;min-height:0;opacity:0;pointer-events:none}
.switch-control{position:relative;width:38px;height:22px;flex:none;border:2px solid var(--border);border-radius:999px;background:#111827;transition:background .15s,border-color .15s}
.switch-control::after{position:absolute;content:"";width:14px;height:14px;top:2px;left:2px;border-radius:50%;background:var(--muted);transition:transform .15s,background .15s}
.switch-field input:checked+.switch-control{border-color:var(--active);background:var(--active)}
.switch-field input:checked+.switch-control::after{background:var(--active-text);transform:translateX(16px)}
.switch-field input:focus-visible+.switch-control{outline:2px solid #60a5fa;outline-offset:2px}
.profiles-section{display:grid;gap:15px}.section-heading p:last-child{color:var(--muted)}
.section-heading-actions{display:flex;align-items:end;justify-content:space-between;gap:18px}
.section-heading-actions>div{min-width:0;flex:1 1 auto}.section-heading-actions .secondary-action{width:max-content;flex:none;background:var(--bg);color:var(--text);cursor:pointer}
.refresh-actions{display:flex;flex:0 0 auto!important;align-items:center;gap:8px}
code{color:#bfdbfe}
.profile-type-groups{display:grid;gap:22px}
.profile-type-group{display:grid;gap:10px}
.profile-type-heading{display:flex;min-height:48px;padding:0 4px 7px;align-items:end;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border)}
.profile-type-heading h3{margin-bottom:8px;font-size:1.35rem}.profile-type-heading .eyebrow{margin-bottom:2px}
.profile-type-meta{display:flex;align-items:center;gap:12px}.profile-type-meta>span{color:var(--muted);font-size:10px}
.profiles-grid{display:grid;grid-template-columns:1fr;align-items:start;gap:10px}
.profile-list-empty{margin:0;padding:13px;border:1px dashed var(--border);border-radius:10px;color:var(--muted);text-align:center}
.hidden-profile-list{overflow:hidden;margin-top:2px;border:1px solid var(--border);border-radius:10px;background:#020202}
.hidden-profile-list>summary{display:flex;min-height:44px;padding:0 13px;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-weight:700;cursor:pointer}
.hidden-profile-list>summary small{font-size:10px;font-weight:400}
.hidden-profile-list[open]>summary{border-bottom:1px solid var(--border);color:var(--text)}
.hidden-profile-list>.profiles-grid{padding:10px}
.profile-panel{transition:opacity .12s,transform .12s}
.profile-panel>summary{display:grid;min-height:58px;padding:7px 12px 7px 8px;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:9px;cursor:pointer}
.profile-summary-text{min-width:0}
.profile-panel>summary strong,.profile-panel>summary small{display:block}.profile-panel>summary small{margin-top:4px;color:var(--muted)}
.profile-drag-handle{display:grid;width:34px;height:36px;padding:0;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);cursor:grab;touch-action:none}
.profile-drag-handle span{font-size:24px;line-height:1;transform:rotate(90deg)}
.profile-drag-handle:hover,.profile-drag-handle:focus-visible{border-color:var(--active);outline:0}
.profile-drag-handle:active{cursor:grabbing}
.profile-panel.dragging{z-index:3;opacity:.58;transform:scale(.99)}
.profile-panel.drag-target{border-color:var(--active)}
body.profile-sorting{user-select:none}
.profile-status{padding:6px 9px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:.7rem;font-weight:800;text-transform:uppercase}
.profile-status.enabled{border-color:var(--success);background:#064e3b;color:#a7f3d0}
.profile-status.hidden{border-color:var(--warning);background:#451a03;color:#fde68a}
.unsaved-indicator{display:none;padding:6px 9px;border:1px solid var(--warning);border-radius:999px;background:#451a03;color:#fde68a;font-size:.7rem;font-weight:800;text-transform:uppercase}
.unsaved-indicator::before{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--warning);content:""}
.profile-panel.scope-dirty .unsaved-indicator{display:inline-flex;align-items:center}
.hidden-profile-list.contains-dirty>summary{color:#fde68a}
.hidden-profile-list.contains-dirty>summary::after{padding:5px 8px;border:1px solid var(--warning);border-radius:999px;background:#451a03;color:#fde68a;font-size:.7rem;text-transform:uppercase;content:"Ungespeichert"}
.profile-fields{border-top:1px solid var(--border)}
.variable-help{overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#020202}
.variable-help-heading{display:flex;min-height:38px;padding:9px 12px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #1e293b;color:#bfdbfe;font-weight:700}
.variable-help-heading small{color:var(--muted);font-size:10px;font-weight:400}
.variable-help-content{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:14px;padding:0 12px 12px;border-top:1px solid #1e293b}
.type-placeholder-help{padding-top:12px}.placeholder-type{display:block;margin-bottom:9px;color:var(--muted);font-weight:700}
.placeholder-chips{display:flex;flex-wrap:wrap;gap:7px}
.placeholder-chip{min-height:30px;padding:5px 8px;border:1px solid #334155;border-radius:7px;background:#000;color:#bfdbfe;cursor:grab;touch-action:manipulation}
.placeholder-chip code{white-space:nowrap}.placeholder-chip:active{cursor:grabbing}
.placeholder-chip:hover,.placeholder-chip:focus-visible{border-color:var(--active);background:#111827;outline:0}
textarea.variable-drop-target{border-color:#60a5fa;background:#07111f}
.type-placeholder-help p{margin:9px 0 0;color:var(--muted);line-height:1.4}
.variable-example{min-width:0;padding-top:12px}.variable-example>span{display:block;margin-bottom:6px;color:var(--muted);font-weight:700}
.variable-example pre{overflow:auto;margin:0;padding:10px;border:1px solid #1e293b;border-radius:8px;background:#000;color:#dbeafe;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}
.variable-example p{margin:8px 0 0;color:var(--muted);line-height:1.45}
.profile-config-actions{display:flex;justify-content:flex-end;padding-top:2px;border-top:1px solid #1e293b}
.save-bar{position:sticky;z-index:10;bottom:0;padding:13px 0 calc(13px + env(safe-area-inset-bottom));background:#000e;backdrop-filter:blur(10px)}
.save-bar .primary-action{width:100%}
button:disabled{opacity:.55;cursor:not-allowed}
.app-header{min-height:62px}
.brand span{display:none}
.brand img{width:min(220px,45vw)}
.terminal-main{padding-top:var(--section-gap)}
.admin-main{padding-top:18px}
.search-panel{gap:21px}
.search-form{grid-template-columns:minmax(0,1fr) var(--control-height);gap:8px}
.search-form input,.search-form button{height:var(--control-height);min-height:var(--control-height)}
.search-form button{width:var(--control-height);padding:0}
.search-form button span{display:none}
.search-form button svg{width:24px;height:24px}
.profile-list{grid-template-columns:1fr}
.admin-heading{align-items:flex-end;flex-direction:row}
.secondary-action.compact{width:max-content}
@media(max-width:720px){.profiles-grid,.field-grid,.profile-fields{grid-template-columns:1fr}.field-grid .wide,.profile-fields .wide{grid-column:auto}.profile-switches,.profile-appearance,.object-config-row,.object-config-row.uses-custom,.variable-help-content{grid-template-columns:1fr}.admin-heading{align-items:stretch;flex-direction:column}.admin-heading .secondary-action.compact{width:100%}.admin-heading-links{width:100%;align-items:stretch;flex-direction:column}.refresh-actions{width:100%;align-items:stretch;flex-direction:column}.refresh-actions .secondary-action{width:100%}.log-entry{grid-template-columns:1fr;gap:4px}}
@media(max-width:430px){.result-summary{padding:7px 14px}.result-content{padding:0 14px 14px}.result-carousel{min-height:0}.profile-list{grid-template-columns:1fr}.login-card{padding:28px 22px}.panel-heading{padding:12px}.panel-heading p{display:none}.field-grid,.profile-fields{padding:12px}.print-dialog{width:calc(100% - 16px)}.section-heading-actions{align-items:stretch;flex-direction:column}.section-heading-actions .secondary-action{width:100%}.profile-panel summary{padding-right:10px}.profile-status{padding:5px 7px}.profile-type-meta>span{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
