/* Lutheos room components extended to Quanteex client/operator workflows. */
.ticket-message-author{overflow-wrap:anywhere}
.topbar-search-slot{flex:1;min-width:100px;max-width:360px;margin-inline:auto}.search-trigger{position:static;left:auto;transform:none;width:100%}.studio-history>.searchbox{flex:none;height:36px;min-height:36px}.studio-history .callout{margin-top:auto;font-size:11px}.studio-history .empty{min-height:150px;padding:28px 10px}.studio-history .empty h3{font-size:13px}.studio-history .empty p{font-size:11px;line-height:18px}.uptime-bar .unknown{background:var(--fg4);opacity:.3}.ticket-message{padding:15px 0;border-bottom:1px solid var(--border)}.ticket-message time{display:block;font-size:11px;color:var(--fg3);margin:4px 0}.ticket-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.link-field{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;margin:16px 0}.link-field code{min-width:0;overflow-wrap:anywhere}fieldset{padding:14px;border:1px solid var(--border);border-radius:10px;margin:16px 0}legend{padding:0 5px;color:var(--fg3);font-size:12px}.tabular{font-variant-numeric:tabular-nums}
@media(max-width:1100px) and (min-width:769px){.crumb,.slash{display:none}.project-toggle .project-name{max-width:110px}.topbar-search-slot{max-width:230px}.top-left,.top-right{gap:5px}#topbar{gap:8px}}
@media(max-width:768px){.topbar-search-slot{flex:none;min-width:28px;max-width:30px;margin-left:auto;margin-right:0}.search-trigger{width:28px}.studio-history>.searchbox{max-width:150px}.studio-history .callout{display:none}.studio-history .empty{min-height:0;padding:8px}.studio-history .empty .empty-icon,.studio-history .empty p{display:none}}
.fx-filter-grid{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.fx-filter-grid>.field{flex:1 1 150px;min-width:130px;margin:0}.fx-filter-grid>.flex{padding-bottom:1px}.toolbar>.field{margin:0;flex:1;min-width:150px}.toolbar{align-items:end}.toolbar>.btn{flex:none}.fx-legend{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.fx-legend .btn{font-size:11px;min-height:28px;padding:4px 10px}.fx-legend [aria-pressed=false]{opacity:.45}.stack{display:grid;gap:16px}.filter-row{padding:0 22px 16px}.check-label{display:flex;gap:9px;align-items:center;margin:12px 0}.check-label input{accent-color:var(--fg);width:16px;height:16px}.form-error{color:var(--danger);font-size:13px;margin-top:12px}.form-error:empty{display:none}.inbox-row{display:grid!important;gap:7px!important;justify-items:start}.inbox-row h3{font-size:14px}.inbox-row.read{opacity:.7}.settings-nav [aria-selected=true]{background:var(--muted);color:var(--fg)}.admin-tabs{max-width:100%}.admin-tabs .btn{flex:none}.table-wrap td>.btn{margin:2px 4px 2px 0}.table-wrap td:last-child{white-space:nowrap}.facts dd{overflow-wrap:anywhere}.local-auth{max-width:420px;margin:auto;padding:30px;background:var(--bg);border:1px solid var(--border);border-radius:20px}.local-auth>p{margin:14px 0 24px}.attachment-preview,.generated-image{display:block;max-width:100%;max-height:450px;object-fit:contain;border-radius:12px;margin-block:12px}.attachment-text{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 var(--mono)}.local-video{width:100%;border-radius:12px}
.studio-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;min-height:calc(100svh - 165px)}.studio-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.studio-top h1{font-size:22px}.studio-messages{display:grid;gap:24px;flex:1;align-content:start;max-height:calc(100svh - 340px);overflow:auto;padding:12px 8px 30px 0}.studio-message{font-size:14px;line-height:1.8;max-width:100%;overflow-wrap:anywhere}.studio-message.user{justify-self:end;max-width:86%;background:var(--muted);border-radius:16px;padding:10px 16px;white-space:pre-wrap}.studio-message pre{max-width:100%;overflow:auto;border:1px solid var(--border);background:var(--subtle);padding:14px;border-radius:10px;font:12px/1.8 var(--mono);margin:12px 0}.studio-message p{margin:8px 0}.studio-message ul,.studio-message ol{padding-left:22px}.studio-message h3{font-size:15px;margin:16px 0 8px}.studio-main .chat-empty{flex:1;min-height:310px}.studio-main .chat-empty h2{font-size:28px;font-weight:500;letter-spacing:-.03em}.chat-list{display:grid;gap:4px;max-height:calc(100svh - 360px);overflow:auto;align-content:start}.chat-history-row{display:flex;align-items:center;min-width:0;border-radius:8px}.chat-history-row.selected,.chat-history-row:hover{background:var(--muted)}.chat-history-row>.btn{flex:1;min-width:0;justify-content:start;overflow:hidden;font-size:12px;padding:8px}.chat-history-row>.btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history-row>.icon-btn{flex:none;width:26px;height:28px}.studio-history h2{font-size:14px}.studio-history .callout{font-size:11px}.studio-history .empty{padding:25px 8px}.studio-history .empty p{font-size:12px}.studio-history .empty h3{font-size:13px}.studio-history .searchbox{width:100%;padding-inline:9px}.studio-history .searchbox input{width:100%;font-size:12px}.studio-main .composer-tools .field{margin:0;max-width:210px}.studio-main .composer-tools .field>span{display:none}.studio-main .composer-tools .input{height:32px;min-height:32px;font-size:12px;padding:4px 28px 4px 8px}.studio-main .composer-tools>.flex{min-width:0}.studio-main .composer textarea{width:100%}.studio-main .message-actions{flex-wrap:wrap}.studio-main .message-label .brand-mark img{width:20px;height:20px}.send-btn{flex:none}.studio-main .q-mark{width:36px;height:36px;filter:brightness(0) invert(1)}[data-theme=light] .studio-main .q-mark{filter:brightness(0)}
@media(max-width:1023px){.studio-grid{grid-template-columns:160px minmax(0,1fr);gap:16px}.studio-main .composer-tools{flex-wrap:wrap;gap:10px}.studio-main .composer-tools>.flex:last-child{margin-left:auto}}
@media(max-width:768px){.fx-filter-grid{gap:10px}.fx-filter-grid>.field{flex-basis:calc(50% - 10px);min-width:0}.fx-filter-grid>.flex{flex-wrap:wrap}.toolbar>.field{min-width:130px}.filter-row{padding-inline:16px}.studio-grid{grid-template-columns:1fr;min-height:calc(100svh - 130px)}.studio-history{display:none!important}.studio-main{min-height:calc(100svh - 150px)}.studio-top{margin-bottom:16px}.studio-top h1{font-size:21px}.studio-top>.flex{gap:2px}.studio-main .chat-empty{min-height:260px}.studio-main .chat-empty h2{font-size:25px}.studio-messages{max-height:calc(100svh - 340px);min-height:240px}.studio-main .composer-tools .field{max-width:180px}.studio-main .composer-tools .input{font-size:12px}.studio-main .composer-tools>.flex{gap:3px}.studio-message{font-size:13px}.studio-message.user{max-width:93%}.local-auth{padding:22px}.studio-main .starter-row{flex-wrap:wrap}.studio-main .chat-empty p{max-width:270px;margin-inline:auto}}
.brand-mark{background:transparent!important;border:0!important}.brand-mark img{width:24px;height:24px;object-fit:contain;filter:brightness(0)}[data-theme=dark] .brand-mark img{filter:brightness(0) invert(1)}
.page-body>.panel,.page-body>.callout,.page-body>.toolbar,.page-body>.columns{margin-bottom:18px}.panel-body>.table-wrap{margin-inline:-22px}.panel-body>.table-foot{margin:0 -22px -20px}.panel-body>.toolbar{padding-top:4px}
.fx-filters,.filter-grid{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 18px}.fx-filters>.field,.filter-grid>.field{flex:1;min-width:140px;margin:0}.fx-filters .input,.filter-grid .input{height:36px;min-height:36px;font-size:13px;padding-block:5px}.fx-filters input[type=search]{min-width:200px}.fx-filters>.btn{margin-bottom:1px}
.catalogue-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px}.catalogue-filters{display:grid;align-content:start;gap:21px}.catalogue-filters fieldset{border:0;padding:0;margin:0;display:grid;gap:11px}.catalogue-filters legend{font-size:12px;color:var(--fg3);margin-bottom:13px}.catalogue-filters .check-label{font-size:12px}.catalogue-filters .brand-mark img{width:18px;height:18px}.catalogue-filters .model-mark{width:20px;height:20px}.catalogue-main{min-width:0}
.grid-2,.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid-2>.field,.settings-fields>.field{margin:0}.wide{grid-column:1/-1}.field select{max-width:100%}.field input[type=date],.field input[type=datetime-local]{min-width:0}.field textarea{resize:vertical}.panel-body form .field{margin-bottom:16px}
.form-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;padding-top:16px}.admin-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--border);padding-bottom:16px}.admin-tabs .btn{font-size:12px}.admin-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.admin-filters .field{margin:0;min-width:140px;flex:1}.admin-filters .btn{margin-bottom:1px}
.notice-grid{display:grid;gap:12px}.inbox-row{width:100%;display:flex;align-items:start;text-align:left;gap:12px;padding:16px 0;border-bottom:1px solid var(--border)}.inbox-row:last-child{border:0}.inbox-row strong{font-size:13px;font-weight:550}.inbox-row p{font-size:12px;line-height:20px;color:var(--fg3);margin-top:5px}.inbox-unread{width:6px;height:6px;flex:none;background:var(--highlight);border-radius:50%;margin-top:8px}.inbox-read{background:transparent}
.fallback-block{border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:14px}.fallback-head{display:flex;align-items:center;gap:9px;justify-content:space-between;padding:14px 16px;background:var(--subtle)}.fallback-route{display:grid;grid-template-columns:30px minmax(150px,1.5fr) repeat(3,minmax(80px,1fr)) 80px;gap:12px;align-items:center;padding:14px 16px;border-top:1px solid var(--border);font-size:12px}.fallback-route small{display:block;color:var(--fg3)}.fallback-route .mono{overflow-wrap:anywhere}.fallback-route .flex{gap:2px}
.studio-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;min-height:calc(100svh - 160px)}.studio-history{border-right:1px solid var(--border);padding-right:16px;display:flex;flex-direction:column;gap:10px;min-width:0}.studio-history-list{max-height:calc(100svh - 300px);overflow:auto;display:grid;align-content:start;gap:3px}.studio-history-item{display:flex;align-items:center;gap:6px;min-width:0;border-radius:9px;padding:8px;font-size:12px;cursor:pointer}.studio-history-item[aria-current=true],.studio-history-item:hover{background:var(--muted)}.studio-history-item>button:first-child{min-width:0;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-history-item .icon-btn{height:25px;width:25px}.studio-main{max-width:880px;min-width:0;display:flex;flex-direction:column;margin:auto;width:100%;height:100%}.studio-main .chat-messages{max-height:calc(100svh - 320px);overflow:auto;padding-right:8px}.studio-empty{flex:1;display:grid;align-content:center;justify-items:center;text-align:center;min-height:340px}.studio-empty h2{font-size:26px;line-height:36px;font-weight:500;letter-spacing:-.025em}.studio-empty>img{width:34px;margin-bottom:20px;filter:brightness(0) invert(1)}[data-theme=light] .studio-empty>img{filter:brightness(0)}.studio-main .composer{margin-top:auto}.studio-main .message{overflow-wrap:anywhere}.studio-main .message pre{max-width:100%;overflow:auto;font-size:12px;background:var(--subtle);border:1px solid var(--border);border-radius:10px;padding:14px;line-height:21px}.studio-main .message code{font-family:var(--mono);font-size:12px}.studio-main .message ul,.studio-main .message ol{padding-left:23px}.studio-main .message p{margin:9px 0}.studio-main .message.user{justify-self:end;white-space:pre-wrap}.attachment-list{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:10px}.attachment-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:9px;max-width:240px;padding:5px 7px;background:var(--bg);font-size:11px}.attachment-chip>span{min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.attachment-chip img{height:30px;width:30px;object-fit:cover;border-radius:5px}.attachment-chip .icon-btn{height:22px;width:22px}.message-image{max-width:min(100%,512px);border-radius:14px;display:block;margin:12px 0}.message-toolbar{display:flex;gap:3px;align-items:center;color:var(--fg3);margin-top:8px}.message-toolbar .icon-btn{height:28px;width:28px}.studio-model{max-width:210px;overflow:hidden;text-overflow:ellipsis}.studio-main .composer-tools{flex-wrap:wrap}.studio-main .composer-tools .flex{gap:4px}.studio-main .composer textarea{resize:none;min-height:64px;max-height:170px}.image-preview{background:var(--subtle);border-radius:12px;overflow:hidden}.image-preview img,.image-preview video{width:100%;display:block;max-height:380px;object-fit:contain}.video-job{padding:18px 0;border-bottom:1px solid var(--border)}.video-job:last-child{border:0}.video-job>p{font-size:13px;line-height:21px;margin:10px 0}.video-job .progress{margin:12px 0}.video-job video{width:100%;max-height:300px;border-radius:12px}.file-input{font-size:13px!important;padding:10px!important}.html-preview{width:100%;height:320px;border:1px solid var(--border);border-radius:10px;background:#fff}
.signed-out #cabinet-sidebar,.signed-out #topbar{display:none!important}.signed-out .frame{margin:0;min-height:100svh;border:0;background:var(--outer)}.signed-out #main{display:grid;place-items:center;min-height:100svh}.access-box{max-width:420px;width:100%;padding:28px;background:var(--bg);border:1px solid var(--border);border-radius:20px}.access-box h1{font-size:24px;line-height:32px}.access-box>p{margin:12px 0 24px;color:var(--fg3);font-size:13px}.access-box .btn{width:100%}.access-box .flex .btn{font-size:12px}.permission-empty{padding:48px 24px}.currency-figure{font-size:32px;line-height:42px;letter-spacing:-.03em;font-weight:600;margin:12px 0}.result-status{display:flex;align-items:center;gap:8px;padding:13px;border:1px solid var(--border);border-radius:10px}.trace-list{display:grid;gap:12px;padding-left:20px}.health-cell{min-width:4px;min-height:28px;flex:1;border-radius:3px;background:var(--success);opacity:.7;cursor:pointer}.health-cell[data-status=degraded]{background:var(--highlight)}.health-cell[data-status=outage]{background:var(--danger)}.health-cell[data-status=unknown]{background:var(--fg4);opacity:.3}.health-grid{display:flex;gap:3px;margin:12px 0}.health-model{padding:14px 0}.health-model+.health-model{border-top:1px solid var(--border)}
@media(max-width:1200px){.catalogue-layout{grid-template-columns:155px minmax(0,1fr);gap:18px}.studio-layout{grid-template-columns:170px minmax(0,1fr);gap:18px}.topbar-docs{display:none!important}.fallback-route{grid-template-columns:24px minmax(120px,1fr) 90px 90px 70px 64px;gap:7px}.studio-model{max-width:160px}}
@media(max-width:768px){.fx-filters,.filter-grid{gap:10px}.fx-filters>.field,.filter-grid>.field{min-width:calc(50% - 10px)}.fx-filters input[type=search]{min-width:0}.catalogue-layout{grid-template-columns:1fr}.catalogue-filters{display:flex;flex-wrap:wrap;gap:18px;padding:12px 0}.catalogue-filters fieldset{gap:8px;display:flex;flex-wrap:wrap}.catalogue-filters legend{margin-bottom:8px}.catalogue-filters .check-label{font-size:11px}.grid-2,.settings-fields{grid-template-columns:1fr;gap:12px}.top-right{gap:3px}.top-right .icon-btn{width:28px}.topbar-search-slot{flex:none}.mobile-logo{font-size:13px}.balance-pill .btn{padding-inline:9px}.panel-body>.table-wrap{margin-inline:-16px}.panel-body>.table-foot{margin-inline:-16px}.studio-layout{grid-template-columns:1fr;gap:12px}.studio-history{border-right:0;border-bottom:1px solid var(--border);padding:0 0 12px;flex-direction:row;align-items:center;overflow:auto}.studio-history-list{display:flex;max-height:70px;max-width:65vw;overflow:auto}.studio-history-item{min-width:100px;max-width:180px}.studio-history-item .icon-btn{display:none}.studio-main .chat-messages{max-height:calc(100svh - 330px)}.studio-empty{min-height:260px}.studio-empty h2{font-size:23px}.studio-model{max-width:130px}.studio-main .composer-tools .btn{font-size:10px}.studio-main .composer textarea{font-size:16px}.fallback-route{grid-template-columns:25px 1fr 64px;gap:8px}.fallback-route>div:nth-child(3),.fallback-route>div:nth-child(4),.fallback-route>div:nth-child(5){grid-column:2;font-size:11px}.fallback-route>div:last-child{grid-column:3;grid-row:1/4}.admin-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:12px}.admin-tabs .btn{font-size:11px;flex:none}.table-wrap code{overflow-wrap:anywhere}.access-box{padding:22px}.health-grid{gap:2px}.health-cell{min-width:2px}.settings-fields .field{margin:0}.admin-filters .field{min-width:130px}.studio-main .message{font-size:13px}.catalogue-main{max-width:100%}}
