@font-face{font-family:Roboto Flex;src:url(assets/RobotoFlex.ttf) format('truetype');font-weight:100 1000;font-display:swap}
:root{color-scheme:light;--md-sys-color-primary:#386a20;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#b8f397;--md-sys-color-on-primary-container:#082100;--md-sys-color-secondary:#56624b;--md-sys-color-secondary-container:#d9e7cb;--md-sys-color-on-secondary-container:#141e0d;--md-sys-color-tertiary:#38656a;--md-sys-color-tertiary-container:#bcebf0;--md-sys-color-on-tertiary-container:#002023;--md-sys-color-surface:#f7faef;--md-sys-color-on-surface:#191d15;--md-sys-color-on-surface-variant:#434a3d;--md-sys-color-surface-container-low:#f1f4e9;--md-sys-color-surface-container:#ebeee3;--md-sys-color-surface-container-high:#e5e8dd;--md-sys-color-surface-container-highest:#dfe3d7;--md-sys-color-outline:#737b6b;--md-sys-color-outline-variant:#c3cbb8;--md-sys-color-error:#904a10;--md-sys-color-error-container:#ffdcc5;--md-sys-color-on-error-container:#301400;--md-sys-color-scrim:#000;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-extra-large-increased:32px;--md-sys-shape-corner-full:9999px;--prototype-motion-enter:250ms;--prototype-motion-exit:150ms;--prototype-motion-feedback:100ms;--prototype-easing:cubic-bezier(.2,0,0,1)}
:root[data-theme=dark]{color-scheme:dark;--md-sys-color-primary:#9ed77e;--md-sys-color-on-primary:#103800;--md-sys-color-primary-container:#235107;--md-sys-color-on-primary-container:#b8f397;--md-sys-color-secondary:#bdcbb0;--md-sys-color-secondary-container:#3f4b35;--md-sys-color-on-secondary-container:#d9e7cb;--md-sys-color-tertiary:#a0cfd4;--md-sys-color-tertiary-container:#1e4d52;--md-sys-color-on-tertiary-container:#bcebf0;--md-sys-color-surface:#11150d;--md-sys-color-on-surface:#dfe4d6;--md-sys-color-on-surface-variant:#c3cbb8;--md-sys-color-surface-container-low:#191d15;--md-sys-color-surface-container:#1d2119;--md-sys-color-surface-container-high:#282c23;--md-sys-color-surface-container-highest:#32372d;--md-sys-color-outline:#8d9584;--md-sys-color-outline-variant:#434a3d;--md-sys-color-error:#ffb782;--md-sys-color-error-container:#6d3908;--md-sys-color-on-error-container:#ffdcc5}
*{box-sizing:border-box}body{margin:0;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font:16px/1.5 'Roboto Flex',Roboto,Arial,sans-serif}button{font:inherit;border:0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible{outline:3px solid var(--md-sys-color-tertiary);outline-offset:3px}button:disabled{cursor:default;opacity:.55}svg{display:block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.status-bar{height:36px;display:flex;justify-content:space-between;padding:8px 24px 0;font-size:13px;font-weight:650}.system-icons{letter-spacing:2px;font-size:11px}.app{height:100dvh;min-height:440px;display:flex;flex-direction:column}.workspace{display:flex;flex:1;min-height:0}.rail{display:none}.inbox{padding:20px 24px;max-width:960px;width:100%;overflow:auto}.app-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.app-name{font-size:24px;font-weight:700;letter-spacing:-1.2px}.connected{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--md-sys-color-on-surface-variant)}.connected i{width:6px;height:6px;border-radius:50%;background:var(--md-sys-color-primary)}h1{font-size:44px;line-height:1.03;letter-spacing:-1.6px;font-weight:650;margin:36px 0}h1 span{color:var(--md-sys-color-primary)}.inbox-caption{display:flex;align-items:center;justify-content:space-between;margin:28px 0 12px}.inbox-caption h2{font-size:18px;font-weight:600;margin:0}.inbox-caption>span{color:var(--md-sys-color-on-surface-variant);font-size:13px}.request-list{display:flex;flex-direction:column;gap:3px}.request-row{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:18px 16px;background:var(--md-sys-color-surface-container);border-radius:var(--md-sys-shape-corner-medium);min-height:92px}.request-row:first-child{border-radius:var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-medium)}.request-row:last-child{border-radius:var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large)}.request-row>span:nth-child(2){flex:1;min-width:0}.request-row strong{font-size:16px;line-height:1.2;font-weight:650;display:block}.request-row small{display:block;color:var(--md-sys-color-on-surface-variant);font-size:12px;margin-top:4px}.request-row>span:last-child svg{width:18px}.request-icon{width:48px;height:48px;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);display:grid;place-items:center;border-radius:var(--md-sys-shape-corner-large);flex-shrink:0}.request-icon.alternate{background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container)}.request-icon.third{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.quiet-note{display:flex;align-items:center;gap:12px;color:var(--md-sys-color-on-surface-variant);font-size:14px;margin:28px 8px}.quiet-note p{margin:0}.quiet-note svg{width:28px;height:28px}.home-indicator{height:4px;width:108px;background:var(--md-sys-color-on-surface);border-radius:999px;margin:8px auto}.inbox-message{font-size:14px;color:var(--md-sys-color-primary)}
dialog{position:fixed;inset:auto 0 0;margin:0;padding:0;border:0;width:100%;max-width:none;max-height:calc(100dvh - 64px);color:var(--md-sys-color-on-surface);background:var(--md-sys-color-surface-container-low);border-radius:var(--md-sys-shape-corner-extra-large-increased) var(--md-sys-shape-corner-extra-large-increased) 0 0;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:color-mix(in srgb,var(--md-sys-color-scrim) 36%,transparent)}dialog.enter{animation:surface-enter var(--prototype-motion-enter) var(--prototype-easing)}@keyframes surface-enter{from{transform:translateY(28px);opacity:.25}to{transform:translateY(0);opacity:1}}.sheet-handle{width:32px;height:4px;border-radius:999px;background:var(--md-sys-color-outline-variant);margin:10px auto 2px;flex-shrink:0}.request-topline{padding:0 12px 0 24px;display:flex;align-items:center;justify-content:space-between;min-height:48px;flex-shrink:0}.source{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:var(--md-sys-color-on-surface-variant)}.source svg{width:17px;height:17px}.source-dot{margin:0 2px}.icon-button{background:transparent;width:48px;height:48px;display:grid;place-items:center;border-radius:var(--md-sys-shape-corner-full)}.icon-button:hover{background:var(--md-sys-color-surface-container-highest)}.sheet-content{padding:0 24px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.request-kind{font-size:12px;color:var(--md-sys-color-primary);font-weight:650;display:flex;align-items:center;gap:7px;margin:4px 0 14px}.request-kind svg{height:18px;width:18px}.title-row{display:flex;gap:16px;align-items:start}h2#request-title{font-size:30px;line-height:1.13;font-weight:650;letter-spacing:-.6px;margin:0 0 10px;text-wrap:balance}.request-subtitle{font-size:14px;line-height:1.4;margin:0 0 20px;color:var(--md-sys-color-on-surface-variant)}.detail-card{background:var(--md-sys-color-surface-container-high);padding:16px;border-radius:var(--md-sys-shape-corner-extra-large);margin:0 0 16px;overflow-wrap:anywhere}.card-label{font-size:11px;text-transform:uppercase;letter-spacing:.8px;font-weight:650;color:var(--md-sys-color-on-surface-variant);margin-bottom:8px}.command{font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;margin:0;word-break:break-word;color:var(--md-sys-color-on-surface)}.command .executable{color:var(--md-sys-color-primary);font-weight:650}.detail-rows{margin:0;display:grid;grid-template-columns:minmax(74px,.7fr) minmax(0,1.7fr);font-size:13px;gap:9px 12px}.detail-rows dt{color:var(--md-sys-color-on-surface-variant)}.detail-rows dd{margin:0;overflow-wrap:anywhere}.detail-rows code{font:12px/1.4 ui-monospace,monospace}.detail-rows .main-value{font-weight:650}.scope-heading{font-size:13px;font-weight:600;margin:20px 0 8px;display:flex;justify-content:space-between}.scope-heading small{font-size:11px;font-weight:400;color:var(--md-sys-color-on-surface-variant)}.scope-picker{display:flex;gap:3px;margin:0 0 10px}.scope-picker button{min-height:48px;flex:1;background:var(--md-sys-color-surface-container-highest);border-radius:var(--md-sys-shape-corner-medium);font-size:13px;font-weight:600;transition:border-radius var(--prototype-motion-feedback) var(--prototype-easing),background var(--prototype-motion-feedback) var(--prototype-easing)}.scope-picker button:first-child{border-radius:var(--md-sys-shape-corner-full) var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-full)}.scope-picker button:last-child{border-radius:var(--md-sys-shape-corner-medium) var(--md-sys-shape-corner-full) var(--md-sys-shape-corner-full) var(--md-sys-shape-corner-medium)}.scope-picker button[aria-pressed=true]{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-radius:var(--md-sys-shape-corner-full)}.scope-picker button:active{border-radius:var(--md-sys-shape-corner-large)}.policy-note{display:flex;gap:8px;font-size:12px;color:var(--md-sys-color-on-surface-variant);margin:0 0 4px;align-items:start}.policy-note svg{width:18px;height:18px;flex-shrink:0}.policy-note p{margin:0}.details-toggle{border-top:1px solid var(--md-sys-color-outline-variant);margin:20px 0 0;padding:0}.details-toggle summary{font-size:13px;font-weight:600;cursor:pointer;min-height:48px;display:flex;align-items:center;gap:8px;color:var(--md-sys-color-primary);list-style:none}.details-toggle summary::-webkit-details-marker{display:none}.details-toggle summary:before{content:'+';font-size:20px}.details-toggle[open] summary:before{content:'−'}.details-toggle .detail-rows{margin:6px 0 12px}.time-row{font-size:11px;color:var(--md-sys-color-on-surface-variant);margin:16px 0 0;display:flex;gap:6px;align-items:center}.time-row svg{width:14px;height:14px}.action-area{padding:12px 24px 24px;background:var(--md-sys-color-surface-container-low);border-top:1px solid var(--md-sys-color-outline-variant);flex-shrink:0}.action-caption{font-size:11px;color:var(--md-sys-color-on-surface-variant);margin:0 0 10px;display:flex;align-items:center;gap:6px}.action-caption svg{width:15px;height:15px}.buttons{display:flex;gap:8px}.action-button{border-radius:var(--md-sys-shape-corner-full);min-height:56px;padding:12px 18px;display:flex;justify-content:center;align-items:center;gap:8px;font-size:14px;line-height:1.25;font-weight:650;flex:1;transition:border-radius var(--prototype-motion-feedback) var(--prototype-easing)}.action-button svg{width:21px;height:21px}.action-button:active{border-radius:var(--md-sys-shape-corner-large)}.action-button.primary{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.action-button.secondary{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.action-button.outline{background:transparent;border:1px solid var(--md-sys-color-outline);color:var(--md-sys-color-primary)}.single{width:100%}.text-button{color:var(--md-sys-color-primary);background:transparent;min-height:48px;font-size:14px;padding:8px 16px;border-radius:var(--md-sys-shape-corner-full)}.key-detail{display:flex;gap:12px;align-items:center}.key-detail strong{display:block;font-size:18px;line-height:1.3;font-weight:650}.key-detail small{display:block;color:var(--md-sys-color-on-surface-variant);font-size:12px;margin-top:4px}.key-detail .request-icon{background:var(--md-sys-color-primary-container)}.result-icon{display:grid;place-items:center;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);width:72px;height:72px;border-radius:var(--md-sys-shape-corner-extra-large);margin:12px 0 24px}.result-icon svg{width:36px;height:36px}.result-icon.warning{background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container)}.result-copy{font-size:14px;color:var(--md-sys-color-on-surface-variant);margin:0 0 20px}.biometric-icon{display:grid;place-items:center;width:88px;height:88px;border-radius:var(--md-sys-shape-corner-extra-large-increased);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);margin:16px 0 24px}.biometric-icon svg{width:48px;height:48px}.prototype-tag{font-size:11px;font-weight:600;color:var(--md-sys-color-tertiary);margin:8px 0 16px}.explanation{font-size:13px;color:var(--md-sys-color-on-surface-variant);line-height:1.5}
@media(min-width:600px) and (min-height:480px){.rail{display:flex;width:96px;flex-shrink:0;flex-direction:column;align-items:center;gap:20px;padding:16px 8px;background:var(--md-sys-color-surface-container-low)}.app-monogram{font-size:38px;font-weight:700;line-height:1;border-radius:22px;background:var(--md-sys-color-primary-container);width:56px;height:56px;display:grid;place-items:center;color:var(--md-sys-color-on-primary-container);margin-bottom:16px}.rail-item{font-size:11px;background:transparent;width:80px;min-height:64px;display:flex;align-items:center;flex-direction:column;gap:5px}.rail-item span{display:grid;place-items:center;min-height:32px;width:56px;border-radius:999px}.rail-item.selected span{background:var(--md-sys-color-secondary-container)}.inbox{padding:24px 40px}.request-list{max-width:680px}h1{font-size:56px;margin:36px 0}.connected{font-size:13px}.status-bar{height:32px}.home-indicator{display:none}dialog{inset:0;margin:auto;width:560px;max-width:calc(100% - 64px);height:fit-content;max-height:calc(100dvh - 64px);border-radius:var(--md-sys-shape-corner-extra-large-increased)}.sheet-handle{display:none}.request-topline{padding:12px 16px 0 32px}.sheet-content{padding:8px 32px 24px}.action-area{padding:16px 32px 24px}dialog.enter{animation-name:dialog-enter}@keyframes dialog-enter{from{opacity:0;clip-path:inset(12% 0 round 32px)}to{opacity:1;clip-path:inset(0 round 32px)}}}
@media(max-height:479px){dialog{max-height:100dvh;border-radius:0;inset:0;margin:0}.sheet-handle{display:none}.sheet-content{padding-bottom:12px}.action-area{padding:8px 24px}.request-topline{min-height:40px}.action-caption{display:none}.action-button{min-height:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Programmatic heading focus announces the new surface without a control ring. */
#request-title:focus { outline: none; }
.standalone-prototype-label { position: fixed; top: 32px; left: 24px; z-index: 1; color: var(--md-sys-color-on-surface); font-size: 11px; }

.mobile-nav{display:flex;justify-content:space-around;background:var(--md-sys-color-surface-container);position:sticky;bottom:0;z-index:2}.audit-active>:not(.app-heading):not(#audit-view){display:none}.audit-active #audit-view{display:block}#audit-view{display:none}.audit-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.audit-filters select{max-width:100%;min-height:48px;border-radius:16px;padding:8px;background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border:0;font:inherit}.audit-meta{font-size:12px;color:var(--md-sys-color-on-surface-variant)}.audit-list{display:grid;gap:8px}.audit-list .request-row{width:100%;text-align:left}.audit-list small{white-space:normal}.audit-timeline{padding-left:24px;line-height:1.8}.audit-timeline small{display:block}#audit-view h1{font-size:36px;margin:24px 0 8px}@media(min-width:600px) and (min-height:480px){.mobile-nav{display:none}}

#audit-view h1:focus{outline:none}

/* Keep field labels and values paired within adaptive sheets. */
@media (max-width: 900px) {
  .detail-rows { max-width: 100%; grid-template-columns: minmax(74px,.7fr) minmax(0,1.7fr); }
}
@media (max-width: 680px) {
  .detail-rows { max-width: 100%; grid-template-columns: minmax(74px,.7fr) minmax(0,1.7fr); }
}
