/* App-only rules (the prototype stylesheet karyat.css is used unchanged). */
.inline-form { display: inline; margin: 0; }
.block-form { display: block; }
.block-form > button { width: 100%; text-align: left; background: none; border: 0; font: inherit; cursor: pointer; }
.user-menu .block-form > button.user-menu-item { display: flex; }
.org-role-row.org-acct { width: 100%; text-align: left; background: none; border: 0; font: inherit; cursor: pointer; }
a.nav-item, a.account-nav-item, a.notif-item, a.user-menu-item, a.topbar-brand, a.topbar-bell, a.ds-view-tab { text-decoration: none; color: inherit; }
a.invite-btn-solid, a.invite-btn-ghost { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.app-flash { margin: 0 0 12px; }
.center-view > .app-flash { padding: 16px 24px 0; }
.ds-native-select { width: 100%; height: 40px; border: 1px solid #d5dbe3; border-radius: 8px; padding: 0 10px; background: #fff; font: inherit; color: inherit; }
.ds-native-select.is-error { border-color: #d92d20; }
.ka-na { padding: 6px 4px 0; }
.test-banner { background: #fff4e5; border: 1px dashed #f59e0b; color: #92400e; border-radius: 8px; padding: 8px 12px; font-weight: 600; margin-bottom: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.te-form textarea { width: 100%; min-height: 120px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.te-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
.te-grid .jv-card { margin: 0; }
details.te > summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.signin-users { margin-top: 18px; max-height: 260px; overflow: auto; border-top: 1px solid #e6e9ee; padding-top: 10px; }
.signin-users form { display: block; }
.signin-users button { background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; color: #0b3d91; text-align: left; }
.signin-users .t-helper { margin-left: 6px; }
.reason-wrap { display: inline-block; }
.kv-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ver-full { width: 100%; }
.gap-8 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
a.lnk { text-decoration: none; cursor: pointer; }
a.kpi-card, a.integ-link, a.row-link, a.lnk, .kpi-card a { text-decoration: none; }
a.kpi-card { color: inherit; display: block; }
a.stp-item { text-decoration: none; color: inherit; }
.rc-pager { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }

/* KaryaT AI panel (AGENT-02): tabs, step-up field, hand-off chip and the top-bar button. */
.ka-tabs { display: flex; gap: 16px; padding: 0 12px; margin: 0; }
.ka-tabs .inline-form { display: inline; }
.ka-stepup { width: 100%; margin-top: 6px; border: 1px solid #d9d9d9; border-radius: 6px; padding: 6px 8px; }
.ka-handoff { display: block; margin: 0 0 8px; }
.ka-unavailable { color: #5b708b; }
.topbar-ka { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 16px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #07182e; cursor: pointer; }
.topbar-ka svg { color: #0045db; }
