:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d242b;background:#eef1f4}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid #c7ced6;background:#fff;color:#1d242b;border-radius:6px;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}button:hover{border-color:#788696}button.primary{border-color:#12635b;background:#12635b;color:#fff}input,select,textarea{width:100%;border:1px solid #c5ccd4;border-radius:6px;background:#fff;color:#1d242b;min-height:38px;padding:8px 10px}textarea{resize:vertical}label{display:grid;gap:6px;color:#4e5a66;font-size:13px}h1,h2,p{margin:0}h1{font-size:24px;line-height:1.2}h2{font-size:16px}.boot,.login-shell{min-height:100vh;display:grid;place-items:center}.login-panel{width:min(420px,calc(100vw - 32px));background:#fff;border:1px solid #d9dee5;border-radius:8px;padding:28px;display:grid;gap:18px;box-shadow:0 24px 80px #1d242b1f}.login-panel p{color:#65717d;margin-top:4px}.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{background:#1d242b;color:#fff;padding:20px 14px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;height:42px;padding:0 8px 16px}.sidebar nav{display:grid;gap:6px}.sidebar button{width:100%;justify-content:flex-start;border-color:transparent;background:transparent;color:#d7dde3}.sidebar button.active,.sidebar button:hover{background:#31404c;color:#fff}.content{min-width:0;padding:24px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.topbar p{color:#65717d;margin-top:4px}.actions,.row-actions{display:flex;gap:8px;flex-wrap:wrap}.actions.left{justify-content:flex-start}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.span-2{grid-column:span 2}.span-full{grid-column:1 / -1}.metric,.panel{background:#fff;border:1px solid #d9dee5;border-radius:8px}.metric{padding:18px;display:grid;gap:10px}.metric span{color:#65717d;font-size:13px}.metric strong{font-size:28px}.panel{padding:18px;display:grid;gap:14px}.stack{display:grid;gap:14px}.form-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.form-head p{color:#65717d;margin-top:4px}.head-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.status-badge,.field-status{display:inline-flex;align-items:center;width:max-content;min-height:24px;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:650;white-space:nowrap}.status-badge.configured,.field-status.configured{background:#dff3ec;color:#11634e;border:1px solid #9ed4c3}.status-badge.partial{background:#fff3d8;color:#7a5600;border:1px solid #e1bf68}.status-badge.missing,.field-status.missing{background:#f3f5f7;color:#596572;border:1px solid #d6dde5}.status-badge.none{background:#eef2f6;color:#596572;border:1px solid #d6dde5}.provider-form{border-left-width:4px}.provider-form.configured{border-left-color:#16856f}.provider-form.partial{border-left-color:#b78200}.provider-form.missing{border-left-color:#b7c0ca}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.form-grid,.cred-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cred-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.switch{display:flex;align-items:center;gap:8px;color:#1d242b}.switch input{width:18px;min-height:18px}.switch.inline{align-self:end;min-height:38px}.option-section,.model-permission{display:grid;gap:10px}.section-label{color:#4e5a66;font-size:13px;font-weight:650}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.check-option{min-height:42px;border:1px solid #c5ccd4;border-radius:6px;background:#fff;padding:8px 10px;display:flex;align-items:center;gap:8px;color:#1d242b}.check-option.selected{border-color:#12635b;background:#e8f4f1}.check-option input,.tree-parent input,.tree-child input{width:16px;min-height:16px;flex:0 0 auto}.tree-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.model-tree{max-height:380px;overflow-y:auto;border:1px solid #d9dee5;border-radius:8px;background:#fafbfc;display:grid}.model-tree.disabled{opacity:.72}.tree-group+.tree-group{border-top:1px solid #e6eaf0}.tree-parent,.tree-child{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px}.tree-parent{min-height:42px;padding:10px 12px;background:#fff;color:#1d242b;font-weight:650}.tree-parent.partial{color:#7a5600}.tree-parent small,.tree-child small{color:#74808c;font-size:12px}.tree-children{display:grid;gap:2px;padding:6px 12px 10px 34px}.tree-child{min-height:34px;padding:4px 0;color:#33404c}.tree-child span{overflow-wrap:anywhere}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid #e6eaf0;vertical-align:top}th{color:#65717d;font-weight:600;white-space:nowrap}td{max-width:420px;overflow-wrap:anywhere}.empty{color:#7b8792;text-align:center}.notice,.error{border-radius:6px;padding:10px 12px}.notice{background:#e5f4f1;border:1px solid #a9d5cc;margin-bottom:14px}.error{background:#fff1f1;border:1px solid #f1b0b0;color:#8f1f1f}.secret{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f9;border:1px solid #d9dee5;border-radius:6px;padding:12px}.modal-backdrop{position:fixed;inset:0;background:#1d242b6b;display:grid;place-items:center;padding:24px;z-index:10}.modal{width:min(900px,100%);max-height:calc(100vh - 48px);overflow-y:auto;background:#fff;border-radius:8px;border:1px solid #d9dee5;padding:20px;display:grid;gap:14px}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:5;padding:10px}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}.brand{display:none}.grid-4,.form-grid,.cred-grid,.choice-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.topbar,.form-head,.tree-toolbar{align-items:flex-start;flex-direction:column}.head-controls{justify-content:flex-start}.tree-child{grid-template-columns:18px minmax(0,1fr)}.tree-child small{grid-column:2}}
