/* Presentation only. Cabinet commands, state, permissions and form hooks stay owned by Cabinets. */
body.aitui-v2 .aitc {
  --aitc-navy-950:var(--ui-ink); --aitc-navy-800:var(--ui-ink);
  --aitc-blue-700:var(--ui-accent); --aitc-blue-600:var(--ui-accent); --aitc-blue-100:var(--ui-tint);
  --aitc-amber-500:var(--ui-accent); --aitc-amber-600:var(--ui-hover);
  --aitc-green-700:var(--ui-success); --aitc-red-700:var(--ui-error);
  --aitc-slate-50:var(--ui-white); --aitc-ink:var(--ui-ink); --aitc-muted:var(--ui-muted); --aitc-muted-light:var(--ui-muted);
  --aitc-line:var(--ui-line); --aitc-line-strong:#9899a3; --aitc-shadow:none;
  --aitc-radius-sm:6px; --aitc-radius-md:6px; --aitc-radius-lg:6px;
  --aitc-sidebar-width:220px; --aitc-topbar-height:68px;
  --aitc-focus:0 0 0 3px #5145cd20;
  font-family:var(--ui-font); font-size:16px; line-height:24px; background:#fff;
}
.aitui-v2 .aitc :where(h1,h2,h3,p) {letter-spacing:normal;}
.aitui-v2 .aitc h1 {font-size:28px; line-height:34px; font-weight:700;}
.aitui-v2 .aitc h2 {font-size:20px; line-height:26px; font-weight:650;}
.aitui-v2 .aitc h3 {font-size:16px; line-height:24px; font-weight:650;}
.aitui-v2 .aitc-sidebar {background:#fff; border-right:1px solid var(--ui-line); box-shadow:none;}
.aitui-v2 .aitc-brand {min-height:68px; padding:16px; border-bottom:1px solid var(--ui-line); gap:0;}
.aitui-v2 .aitc-brand__mark {display:none;}
.aitui-v2 .aitc-brand__copy > strong {font-size:24px; line-height:30px; font-weight:750; letter-spacing:normal;}
.aitui-v2 .aitc-brand__copy > strong .aitui-brand-accent {color:var(--ui-accent); font:inherit;}
.aitui-v2 .aitc-brand__copy > span {font-size:12px; line-height:18px; margin-top:2px;}
.aitui-v2 .aitc-nav {padding:20px 8px; gap:4px;}
.aitui-v2 .aitc-nav__link {padding:10px 12px; min-height:44px; gap:12px; color:var(--ui-ink); font-size:14px; line-height:21px; font-weight:500; border-radius:6px;}
.aitui-v2 .aitc-nav__link:hover {background:var(--ui-quiet); color:var(--ui-accent);}
.aitui-v2 .aitc-nav__link[aria-current="page"] {background:var(--ui-tint); color:var(--ui-accent); font-weight:600;}
.aitui-v2 .aitc-nav__link::before {left:-8px; border-radius:0;}
.aitui-v2 .aitc-nav__icon,.aitui-v2 .aitc-nav__icon svg {width:20px; height:20px; flex-basis:20px;}
.aitui-v2 .aitc-sidebar__trust {font-size:12px; line-height:18px; padding:16px; border-top:1px solid var(--ui-line); background:#fff;}
.aitui-v2 .aitc-workspace {background:#fff;}
.aitui-v2 .aitc-topbar {background:#fff; color:var(--ui-ink); border-bottom:1px solid var(--ui-line); box-shadow:none;}
.aitui-v2 .aitc-topbar__inner {min-height:68px; padding:10px 24px; gap:20px;}
.aitui-v2 .aitc-topbar__title {font-size:14px; font-weight:500; color:var(--ui-muted);}
.aitui-v2 .aitc-catalog-search {border-color:var(--ui-line); border-radius:6px; background:var(--ui-quiet); box-shadow:none;}
.aitui-v2 .aitc-catalog-search input {font-size:14px; color:var(--ui-ink); background:transparent;}
.aitui-v2 .aitc-catalog-search input::placeholder {color:var(--ui-muted);}
.aitui-v2 .aitc-catalog-search__icon {color:var(--ui-muted);}
.aitui-v2 .aitc-catalog-search .aitc-button {min-height:44px; border-radius:0 5px 5px 0; background:var(--ui-accent); border-color:var(--ui-accent); color:#fff;}
.aitui-v2 .aitc-catalog-search .aitc-button:hover:not(:disabled) {background:var(--ui-hover); border-color:var(--ui-hover);}
.aitui-v2 .aitc-catalog-search .aitc-button {padding:0;}
.aitui-v2 .aitc-catalog-search__submit-icon {width:20px; height:20px; flex-shrink:0; color:#fff;}
.aitui-v2 .aitc-account__avatar {background:var(--ui-tint); color:var(--ui-accent); box-shadow:none;}
.aitui-v2 .aitc-account__copy {font-size:12px; line-height:18px; color:var(--ui-muted);}
.aitui-v2 .aitc-account__copy strong {font-size:14px; color:var(--ui-ink);}
.aitui-v2 .aitc-main {padding:24px; max-width:1600px;}
.aitui-v2 .aitc-view {gap:24px;}
.aitui-v2 .aitc :where(.aitc-page-header,.aitc-page-head,.aitc-detail-head) {padding:0 0 20px; margin:0; background:transparent; border:0; border-bottom:1px solid var(--ui-line); box-shadow:none; border-radius:0;}
.aitui-v2 .aitc :where(.aitc-page-header,.aitc-page-head,.aitc-detail-head) h1 {margin:0 0 8px;}
.aitui-v2 .aitc :where(.aitc-detail-head__top,.aitc-action-group,.aitc-form-actions,.aitc-detail-actions,.aitc-transition-controls) {gap:8px;}
.aitui-v2 .aitc-detail-head__number {font-size:14px; line-height:21px; color:var(--ui-muted); margin-bottom:8px;}
.aitui-v2 .aitc :where(.aitc-button,.aitc-icon-button) {min-height:44px; padding:10px 16px; border-radius:6px; font-size:14px; line-height:22px; font-weight:600; box-shadow:none; transform:none;}
.aitui-v2 .aitc .aitc-icon-button {width:44px; padding:11px;}
.aitui-v2 .aitc :where(.aitc-button--primary,.aitc-button--navy) {background:var(--ui-accent); border-color:var(--ui-accent); color:#fff;}
.aitui-v2 .aitc :where(.aitc-button--primary,.aitc-button--navy):hover:not(:disabled) {background:var(--ui-hover); border-color:var(--ui-hover); color:#fff;}
.aitui-v2 .aitc .aitc-button--secondary {background:#fff; border-color:var(--ui-line); color:var(--ui-ink);}
.aitui-v2 .aitc .aitc-button--secondary:hover:not(:disabled) {border-color:var(--ui-accent); color:var(--ui-accent); background:#fff;}
.aitui-v2 .aitc-counter-rail {padding:0; background:#fff; border:0; border-radius:0; margin:0; gap:20px; justify-content:start;}
.aitui-v2 .aitc-counter {padding:0 20px 0 0; flex-direction:row; align-items:baseline; gap:6px;}
.aitui-v2 .aitc-counter strong {font-size:20px; line-height:26px; font-weight:650;}
.aitui-v2 .aitc-counter span {font-size:14px; color:var(--ui-muted);}
.aitui-v2 .aitc-toolbar {padding:0; border:0; background:transparent; border-radius:0; box-shadow:none;}
.aitui-v2 .aitc-filter-form {gap:12px;}
.aitui-v2 .aitc-field {gap:6px; font-size:14px; line-height:21px;}
.aitui-v2 .aitc-field :where(input,select,textarea),.aitui-v2 .aitc-phone-auth__field input {border:1px solid #bcbec8; border-radius:6px; background:#fff; min-height:44px; padding:10px 12px; font-size:16px; line-height:22px; color:var(--ui-ink); box-shadow:none;}
.aitui-v2 .aitc-field textarea {min-height:104px;}
.aitui-v2 .aitc-field :where(input,select,textarea) {font-weight:400;}
.aitui-v2 .aitc-field input:is([type="checkbox"],[type="radio"]) {width:18px; height:18px; min-width:18px; min-height:18px; padding:0; flex:0 0 18px; border-radius:3px;}
.aitui-v2 .aitc-field:has(input:is([type="checkbox"],[type="radio"])) {min-height:44px; align-content:center;}
.aitui-v2 .aitc input[type="checkbox"],.aitui-v2 .aitc input[type="radio"] {accent-color:var(--ui-accent);}
.aitui-v2 .aitc :where(.aitc-field small,.aitc-form-help,.aitc-phone-auth__help) {font-size:13px; line-height:19px; color:var(--ui-muted);}
.aitui-v2 .aitc-table-wrap {border:1px solid var(--ui-line); border-radius:6px; box-shadow:none;}
.aitui-v2 .aitc-table {font-size:14px; line-height:21px;}
.aitui-v2 .aitc-table th {background:var(--ui-quiet); color:var(--ui-ink); font-weight:600; text-transform:none; letter-spacing:normal;}
.aitui-v2 .aitc-table th,.aitui-v2 .aitc-table td {padding:12px 16px; border-color:var(--ui-line);}
.aitui-v2 .aitc-table tbody tr:hover {background:#faf9fe;}
.aitui-v2 .aitc-table__primary {font-size:14px; line-height:21px; color:var(--ui-accent); font-weight:600;}
.aitui-v2 .aitc-table__meta {font-size:13px; line-height:19px; color:var(--ui-muted); margin-top:4px;}
.aitui-v2 .aitc :where(.aitc-status,.aitc-tag) {font-size:12px; line-height:18px; padding:4px 8px; border:0; border-radius:4px; background:var(--ui-quiet); color:var(--ui-muted);}
.aitui-v2 .aitc .aitc-status--success {background:#eaf6ef; color:#12623f;}
.aitui-v2 .aitc .aitc-status--warning {background:#fff4df; color:var(--ui-warning);}
.aitui-v2 .aitc .aitc-status--error {background:#fef0ee; color:var(--ui-error);}
.aitui-v2 .aitc :where(.aitc-form-panel,.aitc-detail-section,.aitc-profile-panel,.aitc-panel) {padding:20px; border:1px solid var(--ui-line); border-radius:6px; background:#fff; box-shadow:none;}
.aitui-v2 .aitc :where(.aitc-form-panel__head,.aitc-detail-section__head) {padding:0 0 12px; margin-bottom:16px; border-bottom:1px solid var(--ui-line);}
.aitui-v2 .aitc :where(.aitc-form-panel__head h2,.aitc-detail-section h2) {margin:0 0 8px;}
.aitui-v2 .aitc-form-grid {gap:16px 20px;}
.aitui-v2 .aitc-detail-grid {grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:24px; align-items:start;}
.aitui-v2 .aitc-detail-column {gap:24px; min-width:0;}
.aitui-v2 .aitc :where(.aitc-notice,.aitc-next-action,.aitc-attention) {padding:16px; border-radius:6px; border:1px solid var(--ui-line); background:var(--ui-quiet); color:var(--ui-ink); box-shadow:none;}
.aitui-v2 .aitc-definition-list > div {padding:10px 0; border-color:var(--ui-line);}
.aitui-v2 .aitc-definition-list dt {color:var(--ui-muted); font-size:14px; line-height:21px;}
.aitui-v2 .aitc-definition-list dd {font-size:14px; line-height:21px;}
.aitui-v2 .aitc :where(.aitc-message,.aitc-document) {border-radius:6px; box-shadow:none;}
.aitui-v2 .aitc-empty {min-height:0; padding:20px; border:1px solid var(--ui-line); gap:8px;}
.aitui-v2 .aitc-empty__icon {width:32px; height:32px; margin:0; border-radius:6px;}
.aitui-v2 .aitc-empty__icon svg {width:20px; height:20px;}
.aitui-v2 .aitc-empty p {margin:0;}
.aitui-v2 .aitc-dialog {border-radius:8px; border:1px solid var(--ui-line); box-shadow:0 16px 48px #25262b26; padding:0; max-width:min(640px,calc(100vw - 32px));}
.aitui-v2 .aitc-dialog__body {padding:24px;}
.aitui-v2 .aitc-status-step {font-size:12px; line-height:18px; min-height:64px; color:var(--ui-muted);}
.aitui-v2 .aitc-status-step:not(.is-complete):not(.is-current)::before {background:var(--ui-quiet); border-color:var(--ui-line);}
.aitui-v2 .aitc-auth-footer {background:#fff; border-top:1px solid var(--ui-line); color:var(--ui-muted); font-size:13px; padding:20px 24px;}
.aitui-v2 .aitc-phone-auth {box-shadow:none; border:1px solid var(--ui-line); border-radius:6px; padding:24px; background:#fff;}
.aitui-v2 .aitc-phone-auth__header {gap:0;}
.aitui-v2 .aitc-phone-auth__icon {display:none;}
.aitui-v2 .aitc-phone-auth__header h1 {font-size:28px; line-height:34px;}
.aitui-v2 .aitc-phone-auth__privacy-note {background:transparent; color:var(--ui-muted); font-size:13px; line-height:19px;}
.aitui-v2 .aitc[data-state="auth"] .aitc-main {padding-top:32px;}
.aitui-v2 .aitc-phone-auth__field {margin-bottom:16px;}
.aitui-v2 .aitc-phone-auth__password-control {border-radius:6px;}
.aitui-v2 .aitc-phone-auth__text-button {color:var(--ui-accent); min-height:44px;}
/* The cabinet embeds the canonical catalogue; retain its controls and API hooks. */
.aitui-v2 #lotcat-content {
  --ink:var(--ui-ink); --muted:var(--ui-muted); --subtle:var(--ui-muted);
  --blue:var(--ui-accent); --blue-hover:var(--ui-hover); --navy:var(--ui-ink);
  --amber:var(--ui-accent); --amber-hover:var(--ui-hover); --line:var(--ui-line);
  --page:#fff; --white:#fff; background:#fff; color:var(--ui-ink); font:16px/24px var(--ui-font);
}
.aitui-v2 #lotcat-content :where(h1,h2,h3) {text-transform:none!important; letter-spacing:normal!important;}
.aitui-v2 #lotcat-content :where(h1,h2) {font-size:28px; line-height:34px;}
.aitui-v2 #lotcat-content h3 {font-size:20px; line-height:26px;}
.aitui-v2 #lotcat-content :where(button,input,select) {font-family:var(--ui-font); border-radius:6px; min-height:44px; font-size:14px;}
.aitui-v2 #lotcat-content :where(input,select) {font-size:16px; color:var(--ui-ink); border-color:var(--ui-line);}
.aitui-v2 #lotcat-content input:is([type="checkbox"],[type="radio"]) {min-height:18px; width:18px; height:18px; accent-color:var(--ui-accent);}
.aitui-v2 #lotcat-content :where(button,a,input,select,summary):focus-visible {outline:2px solid var(--ui-accent); outline-offset:3px;}
.aitui-v2 #lotcat-content .lotcat-search {background:#fff; color:var(--ui-ink); border-color:var(--ui-line);}
.aitui-v2 #lotcat-content .lotcat-search__boundary {color:var(--ui-muted);}
.aitui-v2 #lotcat-content :where(.lotcat-search button,.lotcat-apply,.lotcat-open,.lotcat-compare-open,.lotcat-lead-submit) {background:var(--ui-accent); border-color:var(--ui-accent); color:#fff; box-shadow:none;}
.aitui-v2 #lotcat-content :where(.lotcat-search button,.lotcat-apply,.lotcat-open,.lotcat-compare-open,.lotcat-lead-submit):hover {background:var(--ui-hover); border-color:var(--ui-hover);}
.aitui-v2 #lotcat-content :where(.lotcat-search,.lotcat-main,.lotcat-shell,.lotcat-heading,.lotcat-card,.lotcat-card__body) {background:#fff;}
.aitui-v2 #lotcat-content .lotcat-main {padding-top:20px;}
.aitui-v2 #lotcat-content .lotcat-card {border-color:var(--ui-line); border-radius:6px; box-shadow:none;}
.aitui-v2 #lotcat-content .lotcat-card {position:relative;}
.aitui-v2 #lotcat-content .lotcat-card__media:has(> img[alt^="Фото не опубликовано"]) {position:absolute; top:12px; right:12px; width:44px; height:44px; aspect-ratio:auto; overflow:visible; background:none;}
.aitui-v2 #lotcat-content .lotcat-card__media:has(> img[alt^="Фото не опубликовано"]) > :where(img,.lotcat-card__media-fallback,.ait-lot-catalog-photo-label) {display:none!important;}
.aitui-v2 #lotcat-content .lotcat-card__media:has(> img[alt^="Фото не опубликовано"]) .lotcat-card__top {position:static; padding:0;}
.aitui-v2 #lotcat-content .lotcat-card:has(img[alt^="Фото не опубликовано"]) .lotcat-card__eyeline {padding-right:48px; min-height:44px;}
.aitui-v2 #lotcat-content .ait-card-apply {background:var(--ui-accent)!important; color:#fff!important; border:1px solid var(--ui-accent)!important; font-size:14px!important; font-weight:600;}
.aitui-v2 #lotcat-content .lotcat-card__actions .lotcat-open {background:#fff; color:var(--ui-accent); border:1px solid var(--ui-line); font-size:14px;}
.aitui-v2 .aitc-tabs {background:#fff; border-bottom:1px solid var(--ui-line); border-radius:0; gap:12px;}
.aitui-v2 .aitc-tabs a {border-radius:0; border:0; border-bottom:2px solid transparent; box-shadow:none; color:var(--ui-muted);}
.aitui-v2 .aitc-tabs a[aria-current="page"],.aitui-v2 .aitc-tabs a.is-active {color:var(--ui-accent); border-bottom-color:var(--ui-accent); background:#fff;}
.aitui-v2 #lotcat-content .lotcat-card:hover {box-shadow:none; transform:none;}
.aitui-v2 #lotcat-content .lotcat-card__body {padding:16px;}
.aitui-v2 #lotcat-content .lotcat-price {font-size:24px; line-height:30px; color:var(--ui-ink);}
.aitui-v2 #lotcat-content :where(.lotcat-dialog,.lotcat-compare-dock) {border-radius:6px; border:1px solid var(--ui-line);}
/* Restyle the existing native agent controls. The SDK and conversation stay intact. */
body.aitui-v2 {--ui-cabinet-dock:0px; --ui-agent-clearance:max(calc(var(--ui-agent-bottom) + var(--ui-cabinet-dock)),env(safe-area-inset-bottom));}
.aitui-v2 :where(#aitp-ai-launcher,#ai-chat-button-web .chatEditBtn) {
  min-height:44px!important; border-radius:6px!important; border:1px solid var(--ui-accent)!important;
  padding:10px 16px!important; background:var(--ui-accent)!important; color:#fff!important;
  font:600 14px/22px var(--ui-font)!important; box-shadow:0 3px 12px #25262b14!important;
}
.aitui-v2 :where(#aitp-ai-launcher,#ai-chat-button-web .chatEditBtn):hover {background:var(--ui-hover)!important;}
.aitui-v2 #aitp-ai-launcher::before {color:#fff; border-color:#ffffff66;}
body.aitui-v2:has(#homepage-widgets-lab)>.chatWrapper,
body.aitui-v2 .chatWrapper {right:16px!important; bottom:var(--ui-agent-clearance)!important;}
.aitui-v2 #aitp-ai-launcher {left:auto; right:16px; bottom:var(--ui-agent-clearance)!important; min-width:0; width:auto;}
.aitui-v2 .andata-ai-chat-sheet :where(button,a,textarea) {min-height:44px;}
.aitui-v2 .andata-ai-chat-sheet button {min-width:44px;}
.aitui-v2 .andata-ai-chat-sheet {width:min(480px,calc(100vw - 24px))!important; height:min(680px,calc(100dvh - var(--ui-agent-clearance) - 80px))!important; max-height:calc(100dvh - var(--ui-agent-clearance) - 80px)!important; inset:auto 12px calc(var(--ui-agent-clearance) + 56px) auto!important;}
.aitc-main #homepage-widgets-lab .hl-compare-tray {bottom:var(--ui-cabinet-dock);}
@media(max-width:880px) {
  body.aitui-v2.aitc-page:has(.aitc:not([data-state="auth"])) {--ui-cabinet-dock:calc(76px + env(safe-area-inset-bottom));}
}
.aitui-v2 .andata-ai-chat-panel {width:100%!important; height:100%!important; max-width:100%!important; max-height:100%!important;}
.aitui-v2 .andata-ai-chat-sheet :where(button,a,textarea):focus-visible {outline:2px solid var(--ui-accent)!important; outline-offset:3px;}
@media(min-width:1024px) {
  .aitui-v2 .aitc-sidebar {width:220px;}
  .aitui-v2 .aitc-workspace {margin-left:220px;}
  .aitui-v2 .aitc[data-state="auth"] .aitc-workspace {margin-left:0;}
}
@media(max-width:1100px) { .aitui-v2 .aitc-detail-grid {grid-template-columns:1fr;} .aitui-v2 .aitc-topbar__inner {gap:12px;} }
@media(max-width:1023px) {
  .aitui-v2 .aitc-sidebar {width:100%; border-right:0; border-bottom:1px solid var(--ui-line); background:#fff;}
  .aitui-v2 .aitc-workspace {margin-left:0;}
  .aitui-v2 .aitc-nav {padding:4px 12px; gap:4px;}
  .aitui-v2 .aitc-nav__link {padding:8px; font-size:12px; min-height:44px;}
  .aitui-v2 .aitc-nav__link::before {display:none;}
  .aitui-v2 .aitc-main {padding:20px;}
  .aitui-v2 .aitc-main {padding-bottom:calc(100px + env(safe-area-inset-bottom));}
  .aitui-v2 .aitc-topbar__inner {grid-template-columns:100px minmax(0,1fr) 44px 44px;}
  .aitui-v2 .aitc-mobile-brand {width:100px;}
  .aitui-v2 .aitc-mobile-brand__copy {display:inline; font-size:20px; font-weight:750; white-space:nowrap; color:var(--ui-ink);}
  .aitui-v2 .aitc-mobile-brand__copy .aitui-brand-accent {color:var(--ui-accent);}
}
@media(max-width:600px) {
  .aitui-v2 #lotcat-content :where(h1,h2) {font-size:24px; line-height:30px;}
  .aitui-v2 .aitc-main {padding:16px 16px calc(100px + env(safe-area-inset-bottom));}
  .aitui-v2 .aitc h1 {font-size:24px; line-height:30px;}
  .aitui-v2 .aitc-topbar__inner {padding:10px 16px; gap:12px;}
  .aitui-v2 .aitc :where(.aitc-form-panel,.aitc-detail-section,.aitc-profile-panel,.aitc-panel) {padding:16px;}
  .aitui-v2 .aitc-detail-grid,.aitui-v2 .aitc-detail-column,.aitui-v2 .aitc-view {gap:20px;}
  .aitui-v2 .aitc-form-grid {grid-template-columns:1fr; gap:16px;}
  .aitui-v2 .aitc-dialog__body {padding:20px;}
  .aitui-v2 .aitc-counter-rail {gap:12px; flex-wrap:wrap;}
  .aitui-v2 .aitc-counter {padding-right:12px;}
  .aitui-v2 .aitc-auth-footer {padding-bottom:88px;}
  .aitui-v2 .aitc-phone-auth {padding:20px;}
}

/* Accepted v1.0.1 section rhythm for the cabinet shell and working records.
 * Lot catalogue/detail composition is owned by the shared lot renderers.
 * Do not turn a [hidden] state into a visible layout. */
.aitui-v2 .aitc-main {max-width:none; padding-bottom:calc(88px + env(safe-area-inset-bottom));}
.aitui-v2 .aitc :where(.aitc-view,.aitc-workspace,.aitc-page-head__copy,.aitc-detail-head__top > div,.aitc-field) {min-width:0;}
.aitui-v2 .aitc .aitc-view {max-width:1280px;}
.aitui-v2 .aitc .aitc-view > :is(.aitc-attention,.aitc-dashboard-grid,.aitc-overview-grid,.aitc-toolbar,.aitc-detail-grid,.aitc-form-panel,.aitc-detail-section,.aitc-table-wrap) {margin-top:24px;}
.aitui-v2 .aitc :where(.aitc-page-head p,.aitc-section-heading p,.aitc-form-panel__head p,.aitc-price-comparison__head p) {font-size:14px; line-height:21px; color:var(--ui-muted); margin:8px 0 0;}
.aitui-v2 .aitc :where(.aitc-panel,.aitc-form-panel,.aitc-detail-section,.aitc-profile-panel,.aitc-attention) {
  padding:0 0 24px; margin:0; border:0; border-bottom:1px solid var(--ui-line);
  border-radius:0; background:#fff; box-shadow:none;
}
.aitui-v2 .aitc .aitc-form-panel + .aitc-form-panel {margin-top:24px;}
.aitui-v2 .aitc :where(.aitc-section-heading,.aitc-attention .aitc-section-heading,.aitc-form-panel__head,.aitc-detail-section__head) {
  padding:0; margin:0 0 16px; border:0; gap:12px; align-items:flex-start;
}
.aitui-v2 .aitc :where(.aitc-section-heading h2,.aitc-attention .aitc-section-heading h2,.aitc-form-panel__head h2,.aitc-detail-section > h2,.aitc-price-comparison__head h2) {
  padding:0; margin:0; border:0; font-size:20px; line-height:26px; font-weight:650; color:var(--ui-ink);
}
.aitui-v2 .aitc .aitc-detail-section > h2 {margin-bottom:16px;}
.aitui-v2 .aitc :where(.aitc-panel__body,.aitc-distribution) {padding:0;}
.aitui-v2 .aitc .aitc-attention-item {padding:12px 0; gap:12px; min-height:0;}
.aitui-v2 .aitc .aitc-attention-item:first-child {border-top:0;}
.aitui-v2 .aitc .aitc-attention-item:last-child {padding-bottom:0;}
.aitui-v2 .aitc .aitc-metrics:not([hidden]) {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));
  gap:16px 24px; padding:0 0 24px; margin:24px 0; overflow:visible;
  border:0; border-bottom:1px solid var(--ui-line); border-radius:0; background:#fff; scroll-snap-type:none;
}
.aitui-v2 .aitc .aitc-metric {padding:0; min-height:0; border:0;}
.aitui-v2 .aitc .aitc-metric__label {min-height:0; font-size:14px; line-height:21px; color:var(--ui-muted);}
.aitui-v2 .aitc .aitc-metric strong {margin:8px 0 0; font-size:28px; line-height:35px; letter-spacing:normal;}
.aitui-v2 .aitc .aitc-metric small {font-size:12px; line-height:18px; color:var(--ui-muted); font-weight:400;}
.aitui-v2 .aitc .aitc-counter-rail:not([hidden]) {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,124px),1fr)); gap:16px 24px; overflow:visible; padding:16px 0 24px; margin:0; border:0; border-bottom:1px solid var(--ui-line);}
.aitui-v2 .aitc .aitc-counter {min-width:0; min-height:0; padding:0; border:0; gap:6px;}
.aitui-v2 .aitc :where(.aitc-overview-grid,.aitc-dashboard-grid) {grid-template-columns:minmax(0,1fr) minmax(0,340px); gap:28px;}
.aitui-v2 .aitc :where(.aitc-overview-grid__side,.aitc-detail-column) {gap:24px;}
.aitui-v2 .aitc .aitc-price-comparison {padding:20px; border:1px solid var(--ui-line); border-radius:6px;}
.aitui-v2 .aitc .aitc-price-comparison__head {padding:0 0 16px; gap:12px;}
.aitui-v2 .aitc .aitc-price-comparison__lot {font-size:14px; line-height:21px; overflow-wrap:anywhere;}
.aitui-v2 .aitc .aitc-price-bars {padding:16px 0; gap:16px;}
.aitui-v2 .aitc .aitc-price-bar {grid-template-columns:minmax(0,1fr) minmax(80px,1.5fr) minmax(0,auto); gap:12px;}
.aitui-v2 .aitc :where(.aitc-price-bar__label,.aitc-price-bar__value,.aitc-price-comparison__meta,.aitc-price-comparison__participation) {font-size:14px; line-height:21px;}
.aitui-v2 .aitc .aitc-price-bar__label {color:var(--ui-muted);}
.aitui-v2 .aitc .aitc-price-bar__value {white-space:normal; overflow-wrap:anywhere;}
.aitui-v2 .aitc .aitc-price-bar__track {background:var(--ui-quiet); height:6px;}
.aitui-v2 .aitc .aitc-price-comparison__meta {padding:0; gap:12px;}
.aitui-v2 .aitc .aitc-price-comparison__participation {padding:16px 0 0; margin-top:16px; flex-wrap:wrap;}
.aitui-v2 .aitc .aitc-price-comparison .aitc-price-chart {padding:16px 0 0;}
.aitui-v2 .aitc .aitc-price-comparison__empty {padding:16px 0 0; font-size:14px; line-height:21px;}
.aitui-v2 .aitc .aitc-timeline-item {grid-template-columns:minmax(76px,100px) minmax(0,1fr); gap:12px; padding-block:12px;}
.aitui-v2 .aitc .aitc-timeline-item :where(time,p) {font-size:14px; line-height:21px;}
.aitui-v2 .aitc :where(.aitc-form-grid,.aitc-filter-form,.aitc-definition-list) {grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px 24px;}
.aitui-v2 .aitc .aitc-filter-form {grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:12px 16px;}
.aitui-v2 .aitc .aitc-definition-list {gap:0 24px;}
.aitui-v2 .aitc .aitc-definition-list dd {font-size:16px; line-height:24px; font-weight:400; margin-top:4px;}
.aitui-v2 .aitc .aitc-definition-list__item--wide dd {max-width:85ch; line-height:26px;}
.aitui-v2 .aitc .aitc-detail-grid {grid-template-columns:minmax(0,1fr) minmax(0,340px); gap:28px;}
.aitui-v2 .aitc .aitc-detail-grid--single {grid-template-columns:minmax(0,1fr);}
.aitui-v2 .aitc .aitc-field :where(input,select,textarea) {width:100%; max-width:100%; min-width:0; border-color:var(--ui-line);}
.aitui-v2 .aitc .aitc-field > :where(span,label) {font-weight:500;}
.aitui-v2 .aitc :where(.aitc-button,.aitc-icon-button,input,select,textarea,a,summary):focus-visible {outline:2px solid var(--ui-accent); outline-offset:3px;}
.aitui-v2 .aitc .aitc-button--primary {min-height:48px;}
.aitui-v2 .aitc :where(.aitc-filter-form__actions,.aitc-page-head__actions,.aitc-form-actions,.aitc-transition-controls) {flex-wrap:wrap; gap:8px;}
.aitui-v2 .aitc .aitc-tabs {padding:0; gap:20px;}
.aitui-v2 .aitc .aitc-tab {padding:10px 0; min-height:44px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; box-shadow:none; font-size:14px; line-height:21px; color:var(--ui-muted);}
.aitui-v2 .aitc .aitc-tab[aria-selected="true"] {color:var(--ui-accent); border-bottom-color:var(--ui-accent); background:transparent;}
.aitui-v2 .aitc :where(.aitc-notice,.aitc-next-action,.aitc-application-confirmation) {border:0; border-left:2px solid var(--ui-accent); border-radius:0; padding:12px 16px; background:var(--ui-quiet); box-shadow:none;}
.aitui-v2 .aitc .aitc-empty {padding:20px 0; border:0; border-top:1px solid var(--ui-line); border-radius:0; background:#fff;}
.aitui-v2 .aitc .aitc-empty-inline {padding:12px 0; border-radius:0; background:transparent; font-size:14px; line-height:21px;}
.aitui-v2 .aitc :where(.aitc-message,.aitc-document) {border-radius:0; padding:16px 0;}
.aitui-v2 .aitc .aitc-message p {font-size:16px; line-height:24px; max-width:85ch; overflow-wrap:anywhere;}
.aitui-v2 .aitc .aitc-message--internal {padding:12px 16px; border:0; border-left:2px solid var(--ui-warning); background:#fff4df;}
.aitui-v2 .aitc .aitc-message__head {flex-wrap:wrap; gap:4px 12px;}
.aitui-v2 .aitc .aitc-document__copy strong {font-size:16px; line-height:24px; font-weight:500;}
.aitui-v2 .aitc .aitc-document__copy span {font-size:13px; line-height:19px;}
.aitui-v2 .aitc .aitc-file-input {width:100%; max-width:100%; min-width:0; border:1px solid var(--ui-line); background:#fff;}
.aitui-v2 .aitc .aitc-file-input::file-selector-button {min-height:44px; border-color:var(--ui-line); border-radius:6px; font:500 14px/21px var(--ui-font);}
.aitui-v2 .aitc .aitc-status-track {grid-template-columns:repeat(auto-fit,minmax(min(100%,96px),1fr)); gap:12px; min-width:0; padding:0;}
.aitui-v2 .aitc .aitc-status-scroll {overflow:visible; margin:0; padding:0;}
.aitui-v2 .aitc .aitc-status-step {flex:1 1 104px; min-width:0; max-width:180px;}
.aitui-v2 .aitc .aitc-status-step::after {display:none;}

/* Reflow only application/support registries. Every original table cell stays
 * present, with the same heading as its existing column definition. The
 * original header remains available to assistive technology. Lot tables are
 * deliberately excluded from this presentation boundary. */
.aitui-v2 .aitc .aitc-table-wrap:has(> :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support)):not([hidden]) {
  display:block; overflow:visible; border:0; border-radius:0; background:#fff;
}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support):not([hidden]) {display:block; min-width:0; width:100%;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) thead {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) thead th:not([hidden]) {display:table-cell;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) tbody:not([hidden]) {display:block;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) tbody tr:not([hidden]) {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px 24px;
  padding:20px 0; border-top:1px solid var(--ui-line); background:#fff;
}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td {
  width:auto; min-width:0; padding:0; border:0; font-size:14px; line-height:21px; overflow-wrap:anywhere; word-break:normal;
}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td:not([hidden]) {display:block;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td::before {display:block; margin-bottom:4px; color:var(--ui-muted); font-size:13px; line-height:19px; font-weight:400;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--primary {grid-column:1/-1; grid-row:1;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) .aitc-table__primary {font-size:20px; line-height:26px; font-weight:650;}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--id::before {content:"Номер";}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--status::before {content:"Статус";}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--organizer-applications) td.aitc-col--primary::before {content:"Лот";}
.aitui-v2 .aitc :is(.aitc-table--user-support,.aitc-table--organizer-support) td.aitc-col--primary::before {content:"Тема";}
.aitui-v2 .aitc :is(.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--user::before {content:"Пользователь";}
.aitui-v2 .aitc :is(.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--assignee::before {content:"Ответственный";}
.aitui-v2 .aitc :is(.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--message::before {content:"Последнее сообщение";}
.aitui-v2 .aitc :is(.aitc-table--organizer-applications,.aitc-table--organizer-support) td.aitc-col--updated::before {content:"Дата изменения";}
.aitui-v2 .aitc .aitc-table--organizer-applications td.aitc-col--next-action::before {content:"Следующее действие";}
.aitui-v2 .aitc .aitc-table--organizer-applications td.aitc-col--due::before {content:"Срок";}
.aitui-v2 .aitc .aitc-table--organizer-applications td.aitc-col--result::before {content:"Результат";}
.aitui-v2 .aitc .aitc-table--organizer-support td.aitc-col--related::before {content:"Лот / заявка";}
.aitui-v2 .aitc .aitc-table--organizer-support td.aitc-col--due::before {content:"Срок ответа";}
.aitui-v2 .aitc .aitc-table--user-applications td.aitc-col--id::before {content:"Номер / дата";}
.aitui-v2 .aitc .aitc-table--user-applications td.aitc-col--action::before {content:"Что сделать / срок";}
.aitui-v2 .aitc .aitc-table--user-applications td.aitc-col--optional::before {content:"Результат";}
.aitui-v2 .aitc .aitc-table--user-applications td.aitc-col--wide.aitc-col--optional::before {content:"Сообщения / документы";}
.aitui-v2 .aitc .aitc-table--user-support td.aitc-col--action::before {content:"Последнее сообщение / срок";}
.aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support) td.aitc-col--wide:not(.aitc-col--optional)::before {content:"Обновлено";}
.aitui-v2 .aitc .aitc-table-wrap:has(> :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support)) + .aitc-mobile-list {display:none;}

@media(max-width:1100px) {
  .aitui-v2 .aitc :where(.aitc-overview-grid,.aitc-dashboard-grid,.aitc-detail-grid) {grid-template-columns:minmax(0,1fr); gap:24px;}
  .aitui-v2 .aitc .aitc-detail-grid {grid-template-columns:minmax(0,1fr); gap:24px;}
}
@media(max-width:880px) {
  .aitui-v2 .aitc-nav {padding:4px; gap:2px;}
  .aitui-v2 .aitc-nav__link {padding:6px 2px; gap:4px;}
  .aitui-v2 .aitc-nav__label {overflow:visible; white-space:normal; overflow-wrap:anywhere; hyphens:auto;}
  .aitui-v2 .aitc-nav__label::after {display:block; font-size:11px; line-height:14px;}
}
@media(max-width:600px) {
  .aitui-v2 .aitc :where(.aitc-panel,.aitc-form-panel,.aitc-detail-section,.aitc-profile-panel,.aitc-attention) {padding:0 0 20px;}
  .aitui-v2 .aitc .aitc-price-comparison {padding:16px;}
  .aitui-v2 .aitc :where(.aitc-section-heading,.aitc-price-comparison__head,.aitc-page-head,.aitc-detail-head__top) {flex-wrap:wrap; gap:12px;}
  .aitui-v2 .aitc .aitc-metrics:not([hidden]) {grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
  .aitui-v2 .aitc .aitc-attention-item {grid-template-columns:minmax(0,1fr); gap:8px;}
  .aitui-v2 .aitc .aitc-price-bar {grid-template-columns:minmax(0,1fr) auto; gap:8px 12px;}
  .aitui-v2 .aitc .aitc-price-bar__track {grid-column:1/-1; grid-row:2;}
  .aitui-v2 .aitc .aitc-price-comparison__meta {grid-template-columns:minmax(0,1fr);}
  .aitui-v2 .aitc .aitc-form-grid {grid-template-columns:minmax(0,1fr);}
  .aitui-v2 .aitc .aitc-tabs {gap:16px;}
  .aitui-v2 .aitc .aitc-tab {font-size:14px;}
  .aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) tbody tr:not([hidden]) {grid-template-columns:minmax(0,1fr); gap:12px;}
  .aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td:not(.aitc-col--primary):not([hidden]) {display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:4px 12px; align-items:start;}
  .aitui-v2 .aitc :is(.aitc-table--user-applications,.aitc-table--user-support,.aitc-table--organizer-applications,.aitc-table--organizer-support) td:not(.aitc-col--primary) > :not(:first-child) {grid-column:2;}
}
