:root {
  color: #17352d;
  background: #edf3ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; height: 100vh; overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { height: 100vh; overflow: hidden; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { background: #102f27; color: white; padding: 30px 22px; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .12em; }
.brand span { width: 42px; height: 42px; border-radius: 13px; background: #b8f34a; color: #102f27; display: grid; place-items: center; font-size: 24px; font-weight: 900; }
nav { display: grid; gap: 5px; margin-top: 32px; }
.nav-item { min-height: 37px; border-radius: 11px; display: flex; align-items: center; gap: 11px; padding: 0 12px; color: #c9d8d3; text-decoration: none; font-size: 13px; }
.nav-item.active { background: rgba(184,243,74,.14); color: #d9ff8b; }
.nav-item.disabled { opacity: .48; cursor: default; }
.nav-item small { margin-left: auto; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.connection { margin-top: auto; color: #bdd0c9; font-size: 12px; display: flex; align-items: center; gap: 9px; padding: 13px; }
.connection i { width: 8px; height: 8px; border-radius: 50%; background: #79d459; box-shadow: 0 0 0 5px rgba(121,212,89,.12); }
main { width: 100%; height: 100vh; overflow-y: auto; padding: 38px clamp(24px, 4vw, 64px) 64px; }
.topbar, .panel-head, .detail-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar { margin-bottom: 30px; }
.top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.language-picker { display: flex; align-items: center; gap: 7px; }
.language-picker span { font-size: 11px; color: #70867f; }
.language-picker select { width: auto; min-width: 96px; padding-block: 8px; }
.eyebrow, .kicker { display: block; margin: 0 0 7px; color: #668077; letter-spacing: .13em; text-transform: uppercase; font-size: 10px; font-weight: 850; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; }
h2 { font-size: 23px; margin-bottom: 8px; letter-spacing: -.025em; }
.muted { color: #70867f; }
.client-badge, .role-badge { background: #dfe9e4; border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 750; }
.role-badge { background: #d9ff8b; color: #294936; }
.primary, .secondary, .ghost { border: 0; border-radius: 11px; padding: 11px 15px; font-weight: 750; }
.primary { background: #102f27; color: white; }
.secondary { background: #dfe9e4; color: #17352d; }
.ghost { background: transparent; color: #60766f; }
.login-card { overflow: hidden; min-height: 390px; background: linear-gradient(135deg, #d9ff8b, #aee943); border-radius: 28px; display: grid; grid-template-columns: 1.15fr .85fr; box-shadow: 0 25px 60px rgba(24,61,49,.12); }
.login-copy { padding: clamp(34px, 6vw, 74px); align-self: center; }
.login-copy h2 { max-width: 640px; font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; }
.login-copy p { color: #38594e; max-width: 560px; line-height: 1.6; }
form { margin: 22px; border-radius: 22px; background: rgba(255,255,255,.88); padding: clamp(25px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; color: #547168; }
input, textarea { width: 100%; border: 1px solid #cedbd5; border-radius: 11px; background: white; color: #17352d; padding: 13px 14px; outline: none; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { border-color: #4a8a73; box-shadow: 0 0 0 3px rgba(74,138,115,.14); }
.error { color: #a63535; background: #feeaea; border-radius: 9px; padding: 10px 12px; margin: 0; font-size: 12px; }
.legacy-access { border-top: 1px solid #dbe5e0; padding-top: 12px; color: #60766f; font-size: 12px; }
.legacy-access summary { cursor: pointer; font-weight: 750; }
.legacy-fields { display: grid; gap: 12px; margin-top: 14px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.summary-card, .panel { background: rgba(255,255,255,.86); border: 1px solid rgba(31,73,59,.08); border-radius: 20px; }
.summary-card { min-height: 145px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.summary-card.featured { background: linear-gradient(135deg, #cfff70, #b2ed44); }
.summary-card span { color: #5d766e; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.summary-card strong { font-size: 43px; letter-spacing: -.055em; }
.summary-card small { color: #6d827b; }
.license-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.license-summary>div { display: grid; gap: 7px; padding: 16px; border: 1px solid #dfe8e3; border-radius: 14px; background: #f5f8f6; }
.license-summary span { color: #6f837c; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.license-summary strong { font-size: 21px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dashboard-page:not(.active-page) { display: none !important; }
.dashboard-page.active-page { animation: page-in .18s ease-out; }
@keyframes page-in { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.panel { padding: 24px; min-width: 0; }
.devices-panel { min-height: 530px; }
.panel-head { margin-bottom: 21px; }
.panel-head h2 { margin: 0; }
.panel-head .muted { font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { color: #71867f; text-align: left; text-transform: uppercase; letter-spacing: .09em; font-size: 9px; padding: 10px 9px; }
td { padding: 15px 9px; border-top: 1px solid #e7edea; vertical-align: middle; font-size: 13px; }
.device-name { display: grid; gap: 3px; font-weight: 780; }
.device-name small { color: #84958f; font-weight: 500; }
.score { display: inline-flex; min-width: 44px; justify-content: center; border-radius: 999px; padding: 6px 9px; font-weight: 850; background: #e0f5dc; color: #267044; }
.score.warning { background: #fff1d0; color: #9a6714; }
.score.critical { background: #fee3e3; color: #a13c3c; }
.row-button { border: 0; background: #e7efeb; color: #26483e; border-radius: 9px; padding: 8px 11px; font-weight: 750; }
.empty-state { color: #71867f; min-height: 220px; display: grid; place-items: center; text-align: center; align-content: center; gap: 7px; }
.detail-panel { min-height: 530px; }
.detail-empty p { max-width: 330px; }
.empty-icon { width: 52px; height: 52px; border-radius: 17px; background: #e5ede9; display: grid; place-items: center; font-size: 27px; color: #5f7a70; }
.detail-head { align-items: flex-start; }
.detail-actions { display: flex; align-items: center; gap: 16px; }
.range-label { min-width: 130px; }
select { appearance: none; width: 100%; border: 1px solid #cedbd5; border-radius: 10px; background: white; color: #17352d; padding: 9px 30px 9px 11px; }
.score-pill { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #b8f34a; font-size: 25px; font-weight: 900; }
.graph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 25px; }
.chart-wrap { background: #f4f7f5; border-radius: 15px; padding: 16px; min-width: 0; }
.chart-title { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.chart-title span { color: #748981; }
.chart-value { display: block; margin-top: 5px; font-size: 23px; letter-spacing: -.03em; }
.chart-stage { position: relative; }
.metric-chart { width: 100%; height: 170px; overflow: visible; }
.metric-chart:focus { outline: 2px solid #8ab7a6; outline-offset: 2px; border-radius: 8px; }
.chart-hover-guide[hidden], .chart-hover-point[hidden] { display: none; }
.chart-tooltip { position: absolute; z-index: 2; max-width: 230px; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); border-radius: 8px; padding: 7px 9px; background: #17352d; color: white; box-shadow: 0 7px 20px rgba(17, 52, 43, .22); font-size: 11px; font-weight: 750; line-height: 1.35; white-space: nowrap; }
.chart-tooltip[hidden] { display: none; }
.chart-empty { min-height: 170px; display: grid; place-items: center; text-align: center; color: #7b8e87; font-size: 12px; }
.metric-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; }
.metric-item { padding: 13px; border: 1px solid #e3ebe7; border-radius: 12px; }
.metric-item span { display: block; color: #73877f; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.metric-item strong { display: block; margin-top: 7px; font-size: 19px; }
.hardware-card { margin-top: 22px; padding: 18px; border: 1px solid #e0e9e5; border-radius: 16px; background: #f7faf8; }
.hardware-card h3 { margin: 0; }
.hardware-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.hardware-grid > div { min-width: 0; padding: 12px; border-radius: 11px; background: white; }
.hardware-grid span { display: block; color: #71867f; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hardware-grid strong { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }
.device-timeline-card { margin-top: 18px; padding: 18px; border: 1px solid #dce7e2; border-radius: 16px; background: #f7faf8; }
.device-timeline-card h3 { margin: 0; }
.device-timeline-card .inventory-head p { margin-bottom: 0; }
.timeline-meta { display: grid; justify-items: end; gap: 4px; }
.timeline-scroll-hint { color: #527067; font-size: 10px; font-weight: 750; }
.timeline-filters { display: flex; gap: 7px; margin: 15px 0; overflow-x: auto; padding-bottom: 3px; }
.timeline-filter { flex: 0 0 auto; border: 1px solid #d6e2dc; border-radius: 999px; padding: 7px 11px; background: white; color: #557068; font-size: 11px; font-weight: 800; }
.timeline-filter.active { border-color: #17352d; background: #17352d; color: white; }
.device-timeline { --timeline-width: 900px; min-width: 0; border: 1px solid #dfe8e4; border-radius: 13px; overflow-x: auto; overflow-y: hidden; background: white; scrollbar-color: #9fb5ac #edf3ef; scrollbar-width: thin; }
.device-timeline::-webkit-scrollbar { height: 11px; }.device-timeline::-webkit-scrollbar-track { background: #edf3ef; }.device-timeline::-webkit-scrollbar-thumb { border: 2px solid #edf3ef; border-radius: 999px; background: #9fb5ac; }
.timeline-scale, .timeline-track { display: grid; grid-template-columns: 145px var(--timeline-width); width: max-content; min-width: 100%; min-height: 38px; }
.timeline-scale { min-height: 30px; color: #7a8e87; font-size: 9px; }
.timeline-track + .timeline-track { border-top: 1px solid #edf2ef; }
.timeline-track-label { position: sticky; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-right: 1px solid #e6ede9; color: #506b62; background: white; box-shadow: 5px 0 8px rgba(23,53,45,.04); font-size: 10px; font-weight: 820; }
.timeline-track-label i { width: 8px; height: 8px; border-radius: 50%; background: #91a59d; }
.timeline-lane { position: relative; min-width: 0; background-image: repeating-linear-gradient(to right, transparent 0, transparent 119px, #edf2ef 120px); }
.timeline-scale .timeline-lane { min-height: 30px; }
.timeline-tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid #dfe8e4; }
.timeline-tick span { position: absolute; top: 8px; left: 5px; width: max-content; }
.timeline-segment { position: absolute; top: 10px; height: 17px; min-width: 2px; border-radius: 4px; background: #b9c8c2; }
.timeline-segment.good { background: #73c58b; }.timeline-segment.warning { background: #efb84f; }.timeline-segment.critical { background: #df6262; }.timeline-segment.info { background: #6f91d8; }
.timeline-marker { position: absolute; top: 8px; width: 10px; height: 21px; transform: translateX(-50%); border: 2px solid white; border-radius: 5px; background: #6f91d8; box-shadow: 0 0 0 1px rgba(23,53,45,.18); }
.timeline-marker.warning { background: #efb84f; }.timeline-marker.critical { background: #df6262; }
.timeline-curve { position: absolute; inset: 3px 0; width: 100%; height: 32px; overflow: visible; }
.timeline-curve-path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.timeline-curve-guide { stroke: #668077; stroke-width: 1; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.timeline-curve-point { fill: white; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.timeline-curve-tooltip { position: absolute; z-index: 6; top: -3px; transform: translate(-50%, -100%); pointer-events: none; padding: 6px 8px; border-radius: 7px; background: #17352d; color: white; box-shadow: 0 5px 15px rgba(17,52,43,.2); font-size: 10px; font-weight: 750; white-space: nowrap; }
.timeline-curve-tooltip[hidden] { display: none; }
.timeline-empty { padding: 30px; text-align: center; color: #71867f; font-size: 12px; }
.timeline-event-list { display: grid; gap: 7px; margin-top: 12px; }
.timeline-event { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 11px; border-radius: 11px; background: white; border: 1px solid #e2eae6; }
.timeline-event > i { width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #6f91d8; }.timeline-event.warning > i { background: #efb84f; }.timeline-event.critical > i { background: #df6262; }
.timeline-event strong, .timeline-event small { display: block; }.timeline-event strong { font-size: 12px; }.timeline-event p { margin: 3px 0 0; color: #6d827a; font-size: 11px; line-height: 1.4; }.timeline-event time { color: #758a82; font-size: 10px; white-space: nowrap; }
.access-panel { margin-top: 16px; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.access-card { border: 1px solid #e1eae6; background: #f6f9f7; border-radius: 16px; padding: 20px; min-width: 0; }
.access-card h3 { margin: 0 0 7px; font-size: 18px; }
.access-card > p { line-height: 1.5; font-size: 13px; }
.compact-form { margin: 18px 0 0; padding: 0; border-radius: 0; background: transparent; gap: 12px; }
.form-result { min-height: 18px; margin: 0; color: #547168; font-size: 12px; }
.user-list { display: grid; gap: 7px; margin-top: 18px; }
.user-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 10px; background: white; font-size: 12px; }
.user-row strong { color: #527067; }
.secret-result { margin-top: 18px; padding: 16px; border-radius: 13px; background: #17352d; color: white; }
.secret-result span, .secret-result small { display: block; color: #c8d9d3; font-size: 11px; }
.secret-result code { display: block; overflow-wrap: anywhere; margin: 10px 0; color: #d9ff8b; font-size: 13px; user-select: all; }
.copy-button { margin-top: 13px; border: 1px solid #58756b; border-radius: 9px; background: transparent; color: white; padding: 8px 10px; font-weight: 750; }
.management-panel { margin-top: 16px; }
.dashboard-page.management-panel, .dashboard-page.access-panel { margin-top: 0; }
.status-badge { border-radius: 999px; padding: 7px 11px; background: #e8f2ed; color: #4f6e63; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.application-overview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.application-overview-grid article { padding: 18px; border: 1px solid #dfe9e4; border-radius: 15px; background: #f7faf8; }
.application-overview-grid strong { font-size: 14px; }
.application-overview-grid p { margin: 8px 0 0; color: #6d827a; font-size: 12px; line-height: 1.5; }
.application-empty { min-height: 280px; margin-top: 14px; border: 1px dashed #cadbd3; border-radius: 16px; }
.application-empty p { max-width: 610px; line-height: 1.55; }
.reports-panel { scroll-margin-top: 20px; }
.report-grid { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(430px, 1.15fr); gap: 18px; margin-top: 18px; }
.report-card { padding: 20px; border: 1px solid #e0e9e5; border-radius: 16px; background: #f7faf8; }
.report-card h3 { margin: 0 0 6px; }
.report-card.configuration-list { margin-top: 0; }
.report-schedule-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid #dfe9e4; }
.report-download { margin-top: 12px; padding: 8px 11px; font-size: 11px; }
.report-item > small { line-height: 1.45; }
.management-form { margin: 0; padding: 0; background: transparent; border-radius: 0; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wide-field { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 16px; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.communication-form { margin-top: 0; }
.communication-list { display: grid; gap: 9px; }
.communication-item { padding: 14px; border-radius: 12px; background: #f2f6f4; border-left: 4px solid #5d8fd1; }
.communication-item.warning { border-left-color: #dc992c; }.communication-item.critical { border-left-color: #d34e4e; }
.communication-item strong, .communication-item span { display: block; }
.communication-item span { margin-top: 6px; color: #71867f; font-size: 11px; }
.integration-grid { grid-template-columns: minmax(340px, .9fr) minmax(400px, 1.1fr); }
.workflow-grid { grid-template-columns: minmax(620px, 1.45fr) minmax(300px, .55fr); }
.small-copy { font-size: 12px; line-height: 1.5; }
.integration-help { margin: 0; padding: 11px 12px; border-radius: 10px; background: #edf5f1; color: #527067; font-size: 11px; line-height: 1.5; }
.integration-help code { color: #234f41; font-weight: 800; }
.code-input { min-height: 480px; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.workflow-mode-switch { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 12px; background: #e8efeb; }
.workflow-mode-button { border: 0; border-radius: 9px; padding: 9px 13px; background: transparent; color: #60766f; font-size: 12px; font-weight: 800; }
.workflow-mode-button.active { background: white; color: #17352d; box-shadow: 0 3px 12px rgba(22,53,44,.09); }
.workflow-designer { padding: 18px; border: 1px solid #dce7e2; border-radius: 18px; background: #f1f6f3; }
.workflow-trigger-card, .workflow-node-card { border: 1px solid #d9e5df; border-radius: 15px; background: white; box-shadow: 0 7px 22px rgba(24,61,49,.055); }
.workflow-trigger-card { padding: 17px; }
.workflow-card-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.workflow-card-title strong, .workflow-card-title small { display: block; }
.workflow-card-title strong { color: #17352d; font-size: 14px; }
.workflow-card-title small { margin-top: 3px; color: #7a8d86; font-size: 10px; overflow-wrap: anywhere; }
.workflow-step-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: #d9ff8b; color: #17352d; font-weight: 900; }
.workflow-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.workflow-field-grid input, .workflow-field-grid select, .workflow-node-fields input, .workflow-node-fields select { padding: 10px 11px; font-size: 12px; }
.workflow-connector { height: 30px; display: grid; place-items: center; color: #608076; position: relative; }
.workflow-connector::before { content: ""; position: absolute; inset: 0 auto; width: 2px; background: #c4d5ce; }
.workflow-connector span { z-index: 1; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #f1f6f3; font-size: 13px; font-weight: 900; }
.workflow-entry-row { max-width: 390px; margin: 0 auto 4px; padding: 12px; border: 1px dashed #b7ccc3; border-radius: 12px; background: #f9fbfa; }
.workflow-node-list { display: grid; }
.workflow-node-card { overflow: hidden; }
.workflow-node-card.node-prompt { border-left: 5px solid #4679e8; }
.workflow-node-card.node-message { border-left: 5px solid #168b91; }
.workflow-node-card.node-endpoint_action { border-left: 5px solid #9a62d7; }
.workflow-node-card.node-integration_action { border-left: 5px solid #d08a2c; }
.workflow-node-card.node-create_ticket { border-left: 5px solid #d15d82; }
.workflow-node-card.node-end { border-left: 5px solid #57a56b; }
.workflow-node-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 15px 16px; border-bottom: 1px solid #e6eeea; }
.workflow-delete-node { padding: 7px 4px; font-size: 11px; }
.workflow-delete-node:disabled, .workflow-option-remove:disabled { opacity: .35; cursor: not-allowed; }
.workflow-node-fields { display: grid; gap: 13px; padding: 16px; }
.workflow-localized-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.workflow-options { display: grid; gap: 9px; padding-top: 3px; }
.workflow-options-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.workflow-options-head strong { font-size: 12px; }
.workflow-small-button { padding: 7px 10px; font-size: 11px; }
.workflow-option-row { display: grid; grid-template-columns: 1fr 1fr minmax(170px, 1.15fr) 28px; gap: 8px; align-items: end; padding: 10px; border-radius: 11px; background: #f3f7f5; }
.workflow-option-remove { width: 28px; height: 38px; padding: 0; font-size: 20px; }
.workflow-add-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #d7e4de; }
.workflow-add-row > span { width: 100%; color: #60766f; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.workflow-add-row button { border: 1px solid #c8d8d1; border-radius: 9px; padding: 8px 10px; background: white; color: #315f50; font-size: 11px; font-weight: 800; }
.workflow-add-row button:hover { border-color: #6b9988; background: #f8fbf9; }
.workflow-help, .workflow-end-note { margin: 13px 0 0; color: #71867f; font-size: 11px; line-height: 1.5; }
.workflow-end-note { margin: 0; padding: 12px; border-radius: 10px; background: #eef6eb; color: #4e7258; }
.workflow-json-panel { display: grid; gap: 10px; }
.workflow-json-panel .secondary { justify-self: start; }
.workflow-list-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.workflow-list-toolbar h3 { margin-top: 0; }
.workflow-list-toolbar .secondary { flex: 0 0 auto; padding: 9px 11px; font-size: 11px; }
.configuration-list { display: grid; gap: 10px; margin-top: 16px; color: #71867f; font-size: 12px; }
.configuration-item { padding: 15px; border: 1px solid #e0e9e5; border-radius: 14px; background: #f3f7f5; color: #17352d; }
.configuration-item.archived { opacity: .68; background: #eef1ef; }
.configuration-item > div { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.configuration-item > div span { border-radius: 999px; padding: 5px 8px; background: #dfeae5; color: #527067; font-size: 10px; font-weight: 800; }
.configuration-item > small { display: block; margin-top: 6px; color: #71867f; }
.configuration-item p { margin: 10px 0 0; overflow-wrap: anywhere; color: #536f65; font-size: 12px; line-height: 1.5; }
.configuration-remove { margin-top: 8px; padding-left: 0; }
.configuration-item > .configuration-actions { justify-content: flex-start; margin-top: 12px; }
.ticket-management-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr); gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #e0e9e5; }
.ticket-settings-card, .ticket-inbox-card { padding: 20px; border: 1px solid #e0e9e5; border-radius: 16px; background: #f7faf8; }
.ticket-settings-card { display: grid; gap: 15px; }.ticket-settings-card h3, .ticket-inbox-card h3 { margin: 0 0 6px; }
.ticket-settings-card > label:not(.checkbox-label) { display: grid; gap: 7px; color: #516c62; font-size: 11px; font-weight: 750; }
.ticket-settings-card select { width: 100%; border: 1px solid #ccdbd4; border-radius: 10px; padding: 10px 11px; background: white; color: #17352d; }
.ticket-settings-card fieldset { margin: 0; border: 1px solid #dce7e2; border-radius: 12px; padding: 13px; }.ticket-settings-card legend { padding: 0 6px; color: #516c62; font-size: 11px; font-weight: 800; }
.ticket-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.ticket-field-grid label { display: flex; gap: 8px; align-items: center; color: #536f65; font-size: 11px; }.ticket-field-grid input { accent-color: #315f50; }
.ticket-inbox-card .configuration-list { margin-top: 15px; }.ticket-diagnostics { max-height: 150px; overflow: auto; white-space: pre-wrap; }
.ticket-external-link { display: inline-block; margin-top: 10px; color: #2d6956; font-size: 11px; font-weight: 800; }
.configuration-item .ticket-delivery-error { color: #a33c3c; }
.configuration-actions .primary, .configuration-actions .secondary { padding: 8px 11px; font-size: 11px; }
.configuration-actions .configuration-remove { margin: 0; padding: 8px 4px; }
.message-end-button { margin-top: 11px; border: 0; border-radius: 8px; background: #e3ebe7; color: #36564b; padding: 7px 9px; font-size: 11px; font-weight: 750; }
.remediation-card { margin-top: 24px; padding: 20px; border-radius: 16px; background: #eef5f1; border: 1px solid #dce9e3; }
.remediation-card h3 { margin: 0 0 7px; }
.remediation-card .muted { max-width: 760px; font-size: 12px; line-height: 1.5; }
.remediation-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.remediation-controls .form-result { flex: 1 1 260px; }
.action-list { display: grid; gap: 8px; margin-top: 18px; color: #70867f; font-size: 12px; }
.action-item { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 4px 16px; padding: 13px 14px; border-radius: 12px; background: white; border-left: 4px solid #8aa199; color: #17352d; }
.action-item.succeeded { border-left-color: #57a56b; }.action-item.failed, .action-item.expired { border-left-color: #d25c5c; }.action-item.running { border-left-color: #cf922f; }
.action-item small, .action-item p { color: #71867f; }.action-item p { grid-column: 1 / -1; margin: 4px 0 0; }.action-state { font-weight: 800; }
.device-policy-card { margin-top: 24px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, #17352d, #285445); color: white; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.device-policy-card h3 { margin: 0 0 6px; font-size: 23px; }.device-policy-card .eyebrow, .device-policy-card .muted { color: #c7d9d2; }
.remote-support-actions { min-width: min(100%, 390px); display: grid; justify-items: end; gap: 10px; }
.remote-session-controls, .remote-agent-buttons { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.remote-primary { background: #b8f34a; color: #17352d; }
.remote-agent-settings { width: 100%; border-top: 1px solid rgba(255,255,255,.18); padding-top: 9px; color: #d6e4df; }
.remote-agent-settings summary { cursor: pointer; text-align: right; font-size: 11px; font-weight: 800; }
.remote-agent-settings label { margin-top: 10px; color: #d6e4df; }
.remote-agent-settings input { padding: 9px 11px; font-size: 11px; }
.remote-agent-buttons { margin-top: 8px; }
.remote-support-actions .form-result { margin: 0; max-width: 390px; color: #d6e4df; text-align: right; font-size: 11px; }
.policy-controls { min-width: min(100%, 300px); display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.policy-controls label { color: #d6e4df; }.policy-controls .form-result { grid-column: 1 / -1; color: #d6e4df; }
.patch-ring-grid { grid-template-columns: minmax(320px, .75fr) minmax(400px, 1.25fr); }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-weight: 700; }.checkbox-label input { width: auto; accent-color: #315f50; }
.patch-ring-list { display: grid; gap: 10px; margin-top: 18px; }
.patch-ring-item { padding: 16px; border-radius: 14px; background: #f3f7f5; border: 1px solid #e0e9e5; }
.patch-ring-item > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.patch-ring-item > div:first-child span { border-radius: 999px; padding: 5px 8px; background: #dfeae5; color: #527067; font-size: 10px; font-weight: 800; }
.patch-ring-item p { margin: 11px 0 5px; color: #536f65; font-size: 12px; }.patch-ring-item small { color: #7a8d86; }
.ring-actions { display: flex; gap: 8px; margin-top: 13px; }.danger { color: #a23e3e; }
.update-inventory-card { margin-top: 24px; padding: 20px; border-radius: 16px; border: 1px solid #e0e9e5; background: white; }
.inventory-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }.inventory-head h3 { margin: 0; }
.update-inventory-list { display: grid; gap: 9px; margin-top: 16px; }
.update-item { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px; border-radius: 13px; background: #f3f7f5; }
.update-item strong, .update-item span { display: block; }.update-item > div:first-child span { margin-top: 6px; color: #6f837c; font-size: 11px; }
.approval-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.approval-badge { border-radius: 999px; padding: 6px 9px; font-size: 10px; font-weight: 850; background: #e5ebe8; color: #5b7069; }
.approval-badge.approved { background: #dff3d8; color: #327344; }.approval-badge.blocked { background: #f9dddd; color: #a13c3c; }
[hidden] { display: none !important; }
@media (max-width: 1150px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { height: auto; overflow: auto; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { height: auto; position: static; padding: 16px 20px; flex-direction: row; align-items: center; }
  .sidebar nav, .connection, .brand strong { display: none; }
  .shell { height: auto; overflow: visible; }
  main { height: auto; overflow: visible; padding: 25px 16px 45px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .login-card { grid-template-columns: 1fr; }
  .login-copy { padding-bottom: 10px; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .license-summary { grid-template-columns: 1fr 1fr; }
  .content-grid { display: block; }
  .detail-panel { margin-top: 16px; }
  .graph-grid { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: 1fr 1fr; }
  .timeline-scale, .timeline-track { grid-template-columns: 105px var(--timeline-width); }
  .timeline-meta { justify-items: start; }
  .access-grid { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; }
  .detail-actions { width: 100%; justify-content: space-between; }
  .form-grid { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .device-policy-card { align-items: flex-start; flex-direction: column; }
  .remote-support-actions { width: 100%; justify-items: start; }
  .remote-session-controls, .remote-agent-buttons { justify-content: flex-start; }
  .remote-agent-settings summary, .remote-support-actions .form-result { text-align: left; }
  .policy-controls { width: 100%; }
  .patch-ring-grid { grid-template-columns: 1fr; }
  .integration-grid, .workflow-grid, .ticket-management-grid, .report-grid, .application-overview-grid { grid-template-columns: 1fr; }
  .workflow-field-grid { grid-template-columns: 1fr 1fr; }
  .workflow-option-row { grid-template-columns: 1fr 1fr; }
  .workflow-option-row label:nth-child(3) { grid-column: 1 / -1; }
  .update-item, .inventory-head { align-items: flex-start; flex-direction: column; }
  .approval-controls { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .summary-grid { grid-template-columns: 1fr; }
  .metric-list { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: 1fr; }
  .workflow-field-grid, .workflow-localized-grid, .workflow-option-row { grid-template-columns: 1fr; }
  .workflow-option-row label:nth-child(3) { grid-column: auto; }
}
