:root{--blue:#246bfe;--text:#101828;--muted:#667085;--line:#e7edf5;--green:#079455;--red:#d92d20;--amber:#dc6803;--bg:#f5f7fb;--shadow:0 16px 40px rgba(16,24,40,.10)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#f8fbff,#e8eef8);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}.page-shell{max-width:1440px;margin:0 auto}.app-page{padding:16px 18px 104px}.login-card,.order-card,.catalog-workspace,.admin-panel{background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px rgba(16,24,40,.04)}.login-card{max-width:420px;margin:9vh auto;border-radius:28px;padding:28px}.auth-form{display:grid;gap:14px}.auth-form label,.admin-product-form label{display:grid;gap:6px;font-weight:700}.auth-form input,.searchbar input,.select-wrap select,.qty input,textarea,.admin-product-form input{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}.admin-product-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.admin-product-form h3{grid-column:1/-1}.admin-product-form textarea{min-height:72px}.admin-product-form button{grid-column:1/-1}.auth-form button,.primary{border:0;border-radius:14px;background:var(--blue);color:#fff;font-weight:800;padding:11px 14px}.primary:disabled{opacity:.55;cursor:not-allowed}.form-message--error{color:var(--red)}.topline,.status{margin:0 0 10px;color:var(--muted);font-size:13px}.role-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.catalog-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:12px}.catalog-header h1{font-size:34px;line-height:1;margin:0}.catalog-header p{margin:6px 0 0;color:var(--muted)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#175cd3!important;font-weight:900}.split-actions{display:inline-flex;gap:4px;align-items:center}.cart-action b{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:var(--blue);margin-left:8px}.arrow-action{padding-left:10px;padding-right:10px}.control-bar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(360px,2fr) auto auto auto auto;gap:10px;align-items:center;background:rgba(245,247,251,.94);backdrop-filter:blur(14px);padding:10px 0}.searchbar{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 12px}.searchbar input{border:0;outline:0;width:100%;padding:12px 0}.chips{display:flex;gap:8px;overflow:hidden;flex-wrap:wrap}.chip,.ghost,.pill-link{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;white-space:nowrap;color:var(--text);text-decoration:none}.chip{display:inline-flex;align-items:center;gap:6px}.chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:2px 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:700}.chip--active{background:#eaf1ff;border-color:#9dbaff;color:#175cd3;font-weight:800}.chip--active .chip-count{background:#dbeafe;color:#175cd3}.select-wrap{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}.select-wrap select{padding:9px 28px 9px 10px}.catalog-workspace{border-radius:22px;overflow:hidden}.trading-scroll{overflow:auto;max-height:calc(100vh - 280px);scrollbar-gutter:stable both-edges}.trading-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1540px;font-size:13px}.trading-table th{position:sticky;top:0;z-index:12;background:#f8fbff;border-bottom:1px solid var(--line);padding:7px 8px;text-align:left;color:#475467;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.th-inner{display:flex;align-items:center;justify-content:space-between;gap:6px}.sort-btn{border:1px solid transparent;background:transparent;border-radius:8px;color:#667085;padding:3px 5px}.sort-btn:hover,.sort-btn.active{border-color:#9dbaff;background:#eaf1ff;color:#175cd3}.trading-table td{border-bottom:1px solid #eef2f7;padding:6px 8px;vertical-align:middle}.trading-table tr:hover td{background:#f8fbff}.trading-table.compact td{padding-top:4px;padding-bottom:4px}.num{text-align:right;font-variant-numeric:tabular-nums}.money{text-align:right;font-variant-numeric:tabular-nums;font-weight:800}.sku{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}.title-cell strong{display:block}.title-cell small{color:var(--muted)}.media-cell img,.quote-img,.modal-head img{width:48px;height:48px;object-fit:cover;border-radius:12px;background:#eef2f7}.media-stack{position:relative;display:inline-block}.media-count{position:absolute;right:-5px;bottom:-5px;background:#101828;color:#fff;border-radius:999px;font-size:10px;padding:2px 5px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;background:#f2f4f7;color:#475467}.badge.green{background:#ecfdf3;color:var(--green)}.badge.red{background:#fef3f2;color:var(--red)}.badge.blue{background:#eaf1ff;color:#175cd3}.badge.amber{background:#fffaeb;color:var(--amber)}.badge.gray{background:#f2f4f7;color:#667085}.qty{display:inline-grid;grid-template-columns:30px 54px 30px;gap:4px;align-items:center}.qty button{border:1px solid var(--line);background:#fff;border-radius:10px;height:30px;font-weight:900}.qty input{text-align:center;padding:5px;border-radius:10px}.admin-cell{width:100%;min-width:74px;border:1px solid transparent;background:transparent;border-radius:8px;padding:5px}.admin-cell:focus{background:#fff;border-color:#9dbaff;outline:0}.bottom-order-bar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:min(1120px,calc(100% - 24px));display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:rgba(16,24,40,.94);color:#fff;border-radius:22px;padding:12px 14px;box-shadow:0 24px 60px rgba(16,24,40,.28);z-index:50}.bar-toggle{border:0;background:#344054;color:#fff;border-radius:12px;padding:9px 12px}.bar-metrics{display:flex;gap:12px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.bar-metrics span{color:#d0d5dd}.quote-list{display:none}.quote-row{display:grid;grid-template-columns:54px 1fr auto;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);align-items:center;background:#fff}.quote-main strong{display:block}.quote-main small{color:var(--muted)}.quote-metrics{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.quote-side{text-align:right;display:grid;gap:6px;justify-items:end}.modal-root:empty{display:none}.modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.42);z-index:80;display:flex;justify-content:flex-end}.product-modal{width:min(620px,100%);height:100%;overflow:auto;background:#fff;padding:22px;border-radius:24px 0 0 24px;box-shadow:var(--shadow)}.modal-head{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:start}.modal-head img{width:72px;height:72px}.modal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.info-card{border:1px solid var(--line);border-radius:16px;padding:10px}.info-card span{display:block;color:var(--muted);font-size:12px}.media-strip{display:flex;gap:8px;overflow:auto;margin:14px 0}.media-strip img{width:92px;height:72px;object-fit:cover;border-radius:14px}.excel-box textarea{width:100%;min-height:180px}.excel-errors{white-space:pre-wrap;color:var(--amber);background:#fffaeb;border-radius:12px;padding:10px}.orders-list{display:grid;gap:12px}.order-card{border-radius:18px;padding:14px}.order-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.order-details{padding-top:12px}.wide{width:100%;margin:6px 0}.toast-root{position:fixed;right:16px;bottom:92px;display:grid;gap:8px;z-index:100}.toast{background:#101828;color:#fff;border-radius:14px;padding:10px 12px;box-shadow:var(--shadow)}.operator-filters{display:flex;gap:10px;margin-bottom:12px}.admin-panel{border-radius:16px;padding:10px;margin-bottom:10px;display:flex;gap:12px;align-items:center}.column-settings{display:grid;gap:8px}.column-row{display:grid;grid-template-columns:24px 1fr auto auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:8px}.order-tools{display:grid;gap:8px;margin:12px 0}.search-results{display:grid;gap:6px;max-height:220px;overflow:auto}.search-result{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff}@media(max-width:899px){.app-page{padding:10px 10px 104px}.catalog-header{display:block}.catalog-header h1{font-size:26px}.control-bar{grid-template-columns:1fr;gap:8px}.select-wrap{display:none}.trading-scroll{display:none}.quote-list{display:block}.quote-row{min-height:82px}.bottom-order-bar{grid-template-columns:1fr auto;bottom:8px;border-radius:18px}.bottom-order-bar .bar-toggle{display:none}.product-modal{align-self:flex-end;width:100%;height:auto;max-height:88vh;border-radius:24px 24px 0 0}.modal-grid{grid-template-columns:1fr 1fr}}
[hidden]{display:none!important}@media(min-width:900px){.catalog-terminal{padding-right:236px}.catalog-header{padding-right:0}.bottom-order-bar{left:auto;right:18px;top:168px;bottom:18px;transform:none;width:210px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;border-radius:20px;padding:14px}.bottom-order-bar .bar-toggle{display:none}.bar-metrics{display:grid;gap:8px;font-size:13px}.bar-metrics b{font-size:16px}.bottom-order-bar .primary{margin-top:auto;width:100%}.trading-scroll{max-height:574px}.trading-table.compact{font-size:12px;line-height:1.15}.trading-table.compact th{height:32px;padding:3px 6px}.trading-table.compact td{height:34px;max-height:34px;padding:2px 6px;overflow:hidden}.trading-table.compact .media-cell img,.trading-table.compact .media-stack img{width:28px;height:28px;border-radius:8px}.trading-table.compact .qty{grid-template-columns:24px 44px 24px}.trading-table.compact .qty button{height:24px}.trading-table.compact .qty input{height:24px;padding:2px}.trading-table.compact .admin-cell{height:24px;padding:2px 4px}.trading-table.compact td>*{max-height:30px;overflow:hidden}}
.trading-table td{height:42px;max-height:42px;overflow:hidden}.trading-table td>*{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trading-table td>span{display:block}.trading-table td>.badge{display:inline-flex}.trading-table .qty,.trading-table .media-stack{overflow:visible}.trading-table.compact td{height:34px;max-height:34px}
.trading-table{table-layout:fixed;min-width:0}.trading-table th{position:sticky}.col-resizer{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:col-resize;user-select:none;touch-action:none;z-index:3}.col-resizer:hover{background:rgba(36,107,254,.18)}.resizing-columns,.resizing-columns *{cursor:col-resize!important;user-select:none!important}
.trading-table th{border-right:1px solid #d0d5dd}.trading-table th:last-child{border-right:0}.column-layout-mode .layout-th{cursor:grab}.column-layout-mode .layout-th:active{cursor:grabbing}.eye-btn{border:0;background:transparent;padding:0 4px 0 0;font-size:13px;line-height:1}.trading-table .is-hidden-column{opacity:.48;background:#f9fafb}.dragging-column{opacity:.55}.drop-column{box-shadow:inset 3px 0 0 var(--blue)}
@media(min-width:900px){.bottom-order-bar{position:fixed!important;left:auto!important;right:var(--draft-hidden-right,-80vw)!important;bottom:auto!important;transform:none!important;width:960px;height:574px;display:flex!important;flex-direction:column;align-items:stretch;gap:0;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:22px 0 0 22px;padding:0;overflow:hidden;box-shadow:0 18px 50px rgba(16,24,40,.18);transition:right .22s ease;z-index:45}.bottom-order-bar:hover,.bottom-order-bar:focus-within{right:0!important}.draft-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);background:#f8fbff}.draft-head span{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:var(--blue);color:#fff;font-weight:900}.draft-items{flex:1;min-height:0;overflow:auto;background:#fff}.draft-empty{height:100%;display:grid;place-items:center;color:var(--muted);padding:24px;text-align:center}.draft-table{min-width:0}.draft-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:12px;border-top:1px solid var(--line);background:#fff}.draft-footer .bar-metrics{display:grid;gap:5px;color:var(--text);font-size:12px}.draft-footer .bar-metrics b{font-size:15px}.draft-footer .bar-metrics span{color:var(--muted)}.draft-actions{display:flex;gap:8px;align-items:center}.draft-actions button{white-space:nowrap}.catalog-terminal{padding-right:0!important}}
@media(max-width:899px){.bottom-order-bar{background:#fff;color:var(--text);border:1px solid var(--line);display:flex;flex-direction:column;max-height:58vh;overflow:hidden}.draft-items{overflow:auto}.draft-footer{display:grid;gap:8px}.draft-actions{display:flex;gap:8px}.draft-head{display:flex;justify-content:space-between;padding:8px 10px;border-bottom:1px solid var(--line)}}
.role-nav{align-items:center}.role-links{display:flex;gap:8px;flex-wrap:wrap}.catalog-nav-title{margin-right:auto}.catalog-nav-title h1{font-size:34px;line-height:1;margin:0}.catalog-nav-title p{margin:4px 0 0;color:var(--muted)}.bottom-order-bar{position:static!important;right:auto!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%;margin-top:12px}.bottom-order-bar:hover,.bottom-order-bar:focus-within{right:auto!important}
.qty input,[data-edit-item]{width:5ch;max-width:5ch}.nav-user{display:inline-flex;align-items:center;gap:8px;margin-left:4px}.nav-user span{color:var(--muted);font-size:13px}.draft-table th{position:sticky}
.orders-list{width:min(100%,1440px);margin:0 auto}.operator-filters{width:min(100%,1440px);margin-left:auto;margin-right:auto}.order-card{width:100%}.order-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:12px}.order-person-block{border:1px solid var(--line);border-radius:18px;padding:12px;margin:12px 0;background:#fbfdff}.order-person-block h3{margin:0 0 4px}.order-person-block p{margin:0 0 12px;color:var(--muted);font-size:13px}.order-person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.order-person-grid label{display:grid;gap:6px;font-weight:800}.order-person-grid input,.order-person-grid textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}.order-person-grid textarea{min-height:72px}.operator-actions{display:grid;gap:8px;margin-top:12px}@media(max-width:899px){.order-person-grid{grid-template-columns:1fr}.order-head{align-items:flex-start;flex-direction:column}}
.conditional-price{display:grid;gap:1px;font-size:11px;line-height:1.05;font-variant-numeric:tabular-nums}.conditional-price span{display:flex;justify-content:space-between;gap:6px}.conditional-price b{font-weight:900;color:#475467}.pricing-summary{display:grid;gap:5px;margin:8px 0}.pricing-summary h3{margin:0 0 2px;font-size:14px}.pricing-summary div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:baseline;font-size:12px}.pricing-summary div b{text-align:right;font-variant-numeric:tabular-nums}.pricing-summary em{color:var(--muted);font-style:normal}.pricing-summary p{margin:2px 0;color:var(--muted);font-size:11px}.pricing-summary>strong{font-size:13px}.bar-metrics .pricing-summary{border-top:1px solid var(--line);padding-top:6px}.bar-metrics .pricing-summary div{grid-template-columns:auto 1fr;}.bar-metrics .pricing-summary div em{grid-column:1/-1}
@media(min-width:900px){.modal-backdrop{justify-content:flex-start;align-items:stretch;background:rgba(16,24,40,.28)}.product-modal{width:min(640px,42vw);height:100%;border-radius:0 24px 24px 0;padding:18px;box-shadow:18px 0 46px rgba(16,24,40,.16)}.product-modal .modal-head{grid-template-columns:88px 1fr}.product-modal .modal-head img{width:88px;height:88px}.product-modal .modal-head h2{margin:2px 0 4px;font-size:22px;line-height:1.15}.product-modal .modal-head p{margin:0 0 6px;color:var(--muted);overflow-wrap:anywhere}.order-items-scroll{max-height:574px}}
.product-card-section{border:1px solid var(--line);border-radius:16px;padding:10px;margin:10px 0;background:#fff}.product-card-section h3{margin:0 0 8px;font-size:14px}.modal-grid--prices{grid-template-columns:1fr 1.15fr 1fr;margin:0}.modal-grid--stock{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.product-description{max-height:130px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.35;color:#344054}.media-links{margin-top:8px;font-size:12px;color:var(--muted)}.media-links a{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#175cd3}.media-strip img{flex:0 0 auto}.trading-table.compact td{height:38px;max-height:38px}.trading-table.compact td>*{max-height:36px}.trading-table.compact .conditional-price{font-size:10.5px;line-height:1.12;max-height:36px;min-width:76px}.conditional-price{align-content:center}.conditional-price span{display:grid;grid-template-columns:32px 1fr;align-items:baseline;text-align:right}.conditional-price b{text-align:left}.pricing-summary{margin:0;min-width:min(100%,720px)}.pricing-summary table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.15;font-variant-numeric:tabular-nums}.pricing-summary th,.pricing-summary td{border:1px solid var(--line);padding:3px 5px;text-align:left;white-space:nowrap}.pricing-summary th{background:#f8fbff;color:#475467;font-weight:800}.pricing-summary td{text-align:right}.pricing-summary tr:last-child td{text-align:left;color:var(--muted)}.pricing-summary p{margin:3px 0 0;font-size:10.5px;line-height:1.2;color:var(--muted)}.pricing-summary-total{display:flex;gap:12px;flex-wrap:wrap;margin-top:3px;font-size:12px}.draft-footer{align-items:center}.draft-footer .bar-metrics{flex:1;min-width:0;display:flex;align-items:center;gap:10px}.draft-footer .bar-metrics .draft-count{white-space:nowrap;font-weight:800}.draft-actions{margin-left:auto}.order-details>.pricing-summary{margin:10px 0}.bar-metrics .pricing-summary{border-top:0;padding-top:0}.bar-metrics .pricing-summary div{display:block}.bar-metrics .pricing-summary div em{grid-column:auto}@media(max-width:899px){.modal-grid--prices,.modal-grid--stock{grid-template-columns:1fr}.draft-footer .bar-metrics{display:grid}.pricing-summary{min-width:0;overflow:auto}.pricing-summary table{min-width:520px}}

/* Public catalog browse mode */
.public-catalog-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px;padding:18px 20px;border:1px solid #b8cef7;border-radius:22px;background:linear-gradient(135deg,#eef5ff,#fff);box-shadow:0 10px 28px rgba(36,107,254,.08)}
.public-catalog-callout h2{margin:2px 0 6px;font-size:22px}.public-catalog-callout p{margin:0;color:var(--muted)}.public-catalog-callout .primary{white-space:nowrap}
.catalog-auth-lock{border:1px solid #9dbaff;border-radius:10px;background:#eef5ff;color:#175cd3;font-weight:800;padding:7px 10px;white-space:nowrap}
.public-auth-backdrop{justify-content:center;align-items:center;padding:18px}.public-auth-dialog{width:min(520px,100%);padding:26px;border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.public-auth-dialog h2{margin:12px 0 8px}.public-auth-dialog p{margin:0 0 20px;color:var(--muted);line-height:1.55}.public-auth-dialog>div{display:flex;gap:10px;flex-wrap:wrap}.public-auth-link{display:inline-flex;align-items:center;text-decoration:none}
@media(max-width:899px){.public-catalog-callout{align-items:flex-start;flex-direction:column}.public-catalog-callout .primary{width:100%}.public-auth-dialog>div{display:grid}.public-auth-dialog .ghost{text-align:center}}

/* Expanded order workspace UX */
.orders-list { gap: 18px; }
.order-card {
  border-radius: 24px;
  padding: 0;
  background: #fff;
  border: 1px solid #d7e0ee;
  box-shadow: 0 18px 48px rgba(16,24,40,.10);
  overflow: hidden;
}
.order-card[open] {
  border-color: #b8c8e1;
  box-shadow: 0 24px 70px rgba(16,24,40,.16);
}
.order-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg,#f8fbff,#eef4ff);
  border-bottom: 1px solid transparent;
  color: #101828;
  font-weight: 900;
  line-height: 1.35;
}
.order-card[open] > .order-head { border-bottom-color: #dbe5f2; }
.order-head::marker { color: #246bfe; }
.order-head span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-details {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #f6f9fd;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.section-head h3,
.order-chat-panel h3,
.pricing-summary h3 { margin: 0; color: #101828; }
.section-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.order-meta { margin: 0; }
.order-person-block,
.order-items-block,
.order-chat-panel,
.order-summary-panel {
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,24,40,.04);
}
.order-person-block,
.order-items-block,
.order-summary-panel { padding: 16px; }
.order-person-grid { margin-bottom: 14px; }
.order-workspace-actions {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.order-workspace-actions > .ghost,
.order-workspace-actions > .primary { flex: 0 0 auto; }
.order-add-product { position: relative; flex: 1 1 360px; min-width: 280px; }
.order-add-product .searchbar { width: 100%; min-height: 43px; }
.order-add-product .search-results {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  box-shadow: 0 18px 42px rgba(16,24,40,.16);
  border-radius: 16px;
}
.order-items-block { display: grid; gap: 0; }
.order-items-scroll {
  display: block;
  max-height: none;
  min-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  scrollbar-gutter: stable;
}
.order-items-scroll .trading-table { font-size: 12.5px; }
.order-items-scroll .trading-table th { top: 0; }
.order-after-table {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  align-items: start;
}
.order-after-chat,
.order-summary-panel { min-width: 0; }
.order-chat-panel {
  display: grid;
  grid-template-rows: auto minmax(260px,420px) auto;
  min-height: 520px;
  overflow: hidden;
}
.order-chat-panel h3 { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 14px 16px;
  background: linear-gradient(180deg,#fbfdff,#f5f8fc);
  scrollbar-gutter: stable;
}
.chat-empty {
  margin: auto;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.chat-message {
  max-width: 86%;
  border: 1px solid #dbe5f2;
  border-radius: 16px;
  padding: 10px 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16,24,40,.04);
}
.chat-message.is-client { align-self: flex-end; background: #eef5ff; border-color: #b8d2ff; }
.chat-message.is-operator { align-self: flex-start; }
.chat-message b { display: block; font-size: 12px; color: #344054; }
.chat-message p { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message time { display: block; color: var(--muted); font-size: 11px; }
.chat-compose {
  display: grid;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-compose textarea { width: 100%; resize: vertical; min-height: 54px; }
.chat-compose-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-summary-panel { display: grid; gap: 14px; align-content: start; }
.pricing-summary { display: grid; gap: 12px; margin: 0; }
.pricing-summary header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.pricing-summary header strong { font-size: 22px; color: #175cd3; white-space: nowrap; }
.pricing-scenarios {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
  font-size: inherit !important;
}
.pricing-scenario {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe7f2;
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}
.pricing-scenario div {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  font-size: inherit !important;
}
.pricing-scenario span { font-weight: 900; color: #344054; }
.pricing-scenario strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.pricing-scenario small { color: #667085; }
.pricing-scenario b {
  border-radius: 999px;
  background: #dcfae6;
  color: #067647;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}
.pricing-scenario.is-applied {
  border-color: #246bfe;
  background: #eef5ff;
  box-shadow: 0 0 0 3px rgba(36,107,254,.10);
}
.pricing-summary p { margin: 0; color: var(--muted); font-size: 12px; }
.pricing-summary-total {
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px !important;
}
.order-side-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.order-side-actions .primary,
.order-side-actions .ghost { flex: 1 1 180px; }
.operator-actions { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fff; }
.bar-metrics .pricing-summary { gap: 6px; }
.bar-metrics .pricing-summary header,
.bar-metrics .pricing-scenarios,
.bar-metrics .pricing-summary p { display: none !important; }
.bar-metrics .pricing-summary-total { border-top: 0; padding-top: 0; font-size: 12px !important; }
@media(max-width:899px) {
  .order-head { align-items: flex-start; flex-direction: row; }
  .order-head span { white-space: normal; }
  .order-details { padding: 12px; gap: 12px; }
  .section-head { display: block; }
  .order-person-block,
  .order-items-block,
  .order-summary-panel { padding: 12px; }
  .order-workspace-actions { display: grid; grid-template-columns: 1fr; }
  .order-add-product { min-width: 0; }
  .order-add-product .search-results { position: static; margin-top: 8px; }
  .order-items-scroll.trading-scroll { display: block; min-height: 320px; max-height: 62vh; }
  .order-after-table { grid-template-columns: 1fr; }
  .order-summary-panel { order: 1; }
  .order-after-chat { order: 2; }
  .order-chat-panel { grid-template-rows: auto minmax(220px,360px) auto; min-height: 440px; }
  .pricing-scenarios { grid-template-columns: 1fr !important; }
  .chat-message { max-width: 94%; }
  .chat-compose-actions { display: grid; grid-template-columns: 1fr; }
  .order-side-actions { display: grid; grid-template-columns: 1fr; }
}

/* Synced order/draft table scrollbars and document actions */
.synced-table { display: grid; gap: 8px; min-width: 0; }
.synced-top-scroll,
.synced-table-scroll {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #39d5ff #eef6ff;
}
.synced-top-scroll {
  height: 14px;
  overflow-y: hidden;
  border: 1px solid #d9edff;
  border-radius: 999px;
  background: linear-gradient(90deg,#f8fbff,#eef8ff);
  box-shadow: inset 0 0 0 1px rgba(57,213,255,.12), 0 0 18px rgba(57,213,255,.18);
}
.synced-top-scroll > div { height: 1px; }
.synced-top-scroll::-webkit-scrollbar { height: 10px; }
.synced-table-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.synced-top-scroll::-webkit-scrollbar-track,
.synced-table-scroll::-webkit-scrollbar-track {
  background: #eef6ff;
  border-radius: 999px;
}
.synced-top-scroll::-webkit-scrollbar-thumb,
.synced-table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg,#38bdf8,#246bfe);
  border: 2px solid #eef6ff;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(36,107,254,.35);
}
.synced-top-scroll::-webkit-scrollbar-thumb:hover,
.synced-table-scroll::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg,#67e8f9,#175cd3); }
.order-items-sync .synced-table-scroll {
  display: block;
  max-height: min(58vh, 574px);
  min-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  scrollbar-gutter: stable both-edges;
}
.draft-sync-table .synced-table-scroll {
  min-height: 0;
  max-height: 100%;
  border: 0;
  border-radius: 0;
}
.conditional-price span.is-applied {
  color: #175cd3;
  font-weight: 950;
  background: #eef5ff;
  border: 1px solid #9dbaff;
  border-radius: 10px;
  padding: 2px 5px;
  box-shadow: 0 0 0 2px rgba(36,107,254,.08);
}
.conditional-price span.is-applied b { color: #175cd3; }
.money.is-applied-base {
  color: #175cd3;
  background: #eef5ff;
  border-radius: 10px;
  padding: 4px 6px;
}
.order-items-head { align-items: center; }
.order-table-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.order-table-actions .ghost { text-decoration: none; }
.print-field-value { display: none; }
@media(max-width:899px) {
  .order-items-head { align-items: flex-start; }
  .order-table-actions { justify-content: flex-start; margin-top: 10px; }
  .order-items-sync .synced-table-scroll { min-height: 320px; max-height: 62vh; }
}
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff !important; color: #111827 !important; }
  body.print-order-mode .page-shell,
  body.print-order-mode .app-page,
  body.print-order-mode [data-protected-content],
  body.print-order-mode .orders-list { display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; }
  body.print-order-mode .role-nav,
  body.print-order-mode .catalog-header,
  body.print-order-mode [data-auth-state],
  body.print-order-mode .toast-root,
  body.print-order-mode .operator-filters,
  body.print-order-mode .bottom-order-bar,
  body.print-order-mode .order-card:not(.is-print-target),
  body.print-order-mode .order-workspace-actions,
  body.print-order-mode .order-table-actions,
  body.print-order-mode .order-chat-panel,
  body.print-order-mode .operator-actions,
  body.print-order-mode .synced-top-scroll,
  body.print-order-mode .order-side-actions { display: none !important; }
  body.print-order-mode .order-card.is-print-target {
    display: block !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  body.print-order-mode .order-head {
    padding: 0 0 8px !important;
    background: #fff !important;
    border-bottom: 2px solid #111827 !important;
    font-size: 15px !important;
  }
  body.print-order-mode .order-head span { white-space: normal !important; overflow: visible !important; }
  body.print-order-mode .order-details { display: block !important; padding: 0 !important; background: #fff !important; }
  body.print-order-mode .order-person-block,
  body.print-order-mode .order-items-block,
  body.print-order-mode .order-summary-panel {
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    page-break-inside: avoid;
  }
  body.print-order-mode .section-head p,
  body.print-order-mode .pricing-summary p { display: none !important; }
  body.print-order-mode .order-person-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 6px !important; }
  body.print-order-mode .order-person-grid input,
  body.print-order-mode .order-person-grid textarea { display: none !important; }
  body.print-order-mode .print-field-value { display: block !important; border-bottom: 1px solid #d1d5db; padding: 3px 0; font-weight: 700; }
  body.print-order-mode .synced-table,
  body.print-order-mode .synced-table-scroll { display: block !important; overflow: visible !important; max-height: none !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; }
  body.print-order-mode .trading-table { width: 100% !important; min-width: 0 !important; border-collapse: collapse !important; font-size: 8.5px !important; }
  body.print-order-mode .trading-table th,
  body.print-order-mode .trading-table td { position: static !important; border: 1px solid #d1d5db !important; padding: 3px !important; background: #fff !important; }
  body.print-order-mode [data-edit-item] { border: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; }
  body.print-order-mode .order-after-table { display: block !important; }
  body.print-order-mode .pricing-scenarios { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
  body.print-order-mode .pricing-scenario { box-shadow: none !important; border-color: #d1d5db !important; padding: 6px !important; }
  body.print-order-mode .pricing-scenario.is-applied { border: 2px solid #111827 !important; background: #f3f4f6 !important; }
  body.print-order-mode * { scrollbar-width: none !important; }
  body.print-order-mode *::-webkit-scrollbar { display: none !important; }
}

/* Fixes: only top horizontal scrollbar is user-facing; draft summary stays full */
.synced-table-scroll { overflow-x: hidden !important; overflow-y: auto !important; }
.synced-top-scroll { overflow-x: auto !important; }
.qty input,
[data-edit-item] { width: 6.5ch; max-width: 6.5ch; text-align: right; }
.bar-metrics .pricing-summary { min-width: 0; width: 100%; }
.bar-metrics .pricing-summary header { display: flex !important; }
.bar-metrics .pricing-scenarios { display: grid !important; grid-template-columns: repeat(4,minmax(120px,1fr)) !important; }
.bar-metrics .pricing-summary p { display: block !important; }
.bar-metrics .pricing-summary .pricing-summary-total { display: flex !important; border-top: 1px solid var(--line); padding-top: 8px; }
.bar-metrics .pricing-scenario div { display: flex !important; }
@media(max-width:899px) {
  .bar-metrics .pricing-scenarios { grid-template-columns: 1fr !important; }
}

/* Product card modal layout */
.product-modal--card { display: flex; flex-direction: column; gap: 14px; }
.product-modal--card > .eyebrow { margin: 0; }
.product-card-layout { display: grid; gap: 14px; }
.product-card-top {
  display: grid;
  grid-template-columns: minmax(180px, .95fr) minmax(220px, 1.05fr);
  gap: 14px;
  align-items: stretch;
}
.product-media-panel {
  position: relative;
  height: min(30vh, 280px);
  min-height: 220px;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #eef2f7;
  box-shadow: 0 12px 30px rgba(16,24,40,.08);
  cursor: zoom-in;
}
.product-media-main,
.product-media-panel > img,
.product-media-panel > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media-panel > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(16,24,40,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.product-buy-panel {
  display: grid;
  grid-template-rows: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.product-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px;
  background: #fff;
  font-variant-numeric: tabular-nums;
}
.product-price-row span { color: var(--muted); font-size: 12px; }
.product-price-row strong { text-align: right; white-space: nowrap; }
.product-price-row.is-applied {
  border-color: #9dbaff;
  background: #eef5ff;
  box-shadow: 0 0 0 2px rgba(36,107,254,.08);
}
.product-price-row--qty .qty { justify-self: end; }
.product-card-title {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  font-size: 22px;
  line-height: 1.18;
}
.product-description--modal {
  max-height: 160px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: #fff;
}
.product-spec-grid { display: grid; gap: 8px; }
.product-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-spec-row > div {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 9px 10px;
  background: #fff;
}
.product-spec-row span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.product-spec-row strong { overflow-wrap: anywhere; }
.product-media-strip { margin: 0; padding-bottom: 4px; }
.product-media-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: #eef2f7;
  cursor: zoom-in;
}
.product-media-thumb img,
.product-media-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16,24,40,.82);
}
.media-preview-box { max-width: min(1100px, 94vw); max-height: 90vh; }
.media-preview-box img,
.media-preview-box video {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.media-preview-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font-size: 26px;
  line-height: 1;
}
@media(max-width:899px) {
  .product-card-top { grid-template-columns: 1fr; }
  .product-media-panel { height: 30vh; min-height: 220px; aspect-ratio: 3 / 4; }
  .product-buy-panel { grid-template-rows: none; }
  .product-card-title { font-size: 19px; }
  .product-spec-row { grid-template-columns: 1fr; }
}

/* Product card modal refinements */
.product-modal--card {
  gap: 8px;
  padding: 14px;
  overflow: hidden;
}
.product-card-layout { gap: 8px; min-height: 0; }
.product-card-top { gap: 10px; align-items: stretch; }
.product-media-panel {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
}
.product-media-main,
.product-media-panel > img,
.product-media-panel > video { object-fit: contain; }
.product-buy-panel { gap: 5px; grid-auto-rows: minmax(38px, 1fr); }
.product-price-row { min-height: 38px; padding: 5px 8px; border-radius: 12px; }
.product-price-row span { font-size: 11px; }
.product-card-title { padding: 8px 10px; border-radius: 14px; font-size: 18px; }
.product-description--modal { max-height: 76px; padding: 8px 10px; border-radius: 14px; font-size: 13px; }
.product-spec-grid { gap: 5px; }
.product-spec-row { gap: 5px; }
.product-spec-row > div { min-height: 40px; padding: 6px 8px; border-radius: 12px; }
.product-spec-row span { font-size: 11px; margin-bottom: 2px; }
.product-spec-row strong { font-size: 13px; }
.product-media-strip { display: none !important; }
@media(max-width:899px) {
  .product-modal--card { overflow: auto; }
  .product-media-panel { min-height: 180px; height: 28vh; }
}

/* Premium B2B product card redesign */
@media(min-width:900px) {
  .product-modal.product-modal--card {
    width: min(980px, 78vw);
    padding: 18px;
    background: linear-gradient(180deg,#fff,#fbfdff);
  }
}
.product-modal--card {
  gap: 10px;
  border: 1px solid rgba(215,224,238,.9);
}
.product-card-premium {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 0;
}
.product-card-premium .product-media-panel {
  height: 100%;
  min-height: 480px;
  max-height: calc(100vh - 92px);
  border-radius: 28px;
  background: radial-gradient(circle at 30% 20%,#f8fbff,#edf2f8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 20px 55px rgba(16,24,40,.12);
}
.product-media-panel-wrap{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;align-self:start}
.product-card-premium .product-media-panel{align-self:start}
.product-media-gallery{display:grid;grid-template-columns:30px 1fr 30px;gap:6px;align-items:center}
.product-media-gallery-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:hidden}
.product-media-gallery-thumb{border:1px solid #d6deea;border-radius:10px;padding:0;background:#fff;height:64px;overflow:hidden}
.product-media-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-media-gallery-thumb.is-active{border-color:#246bfe;box-shadow:0 0 0 2px rgba(36,107,254,.15)}
.product-media-gallery-nav{height:64px;border:1px solid #d6deea;border-radius:10px;background:#fff;color:#344054;font-size:18px;font-weight:800}
.product-card-premium .product-media-main,
.product-card-premium .product-media-panel > img,
.product-card-premium .product-media-panel > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.product-info-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(58px, 90px) auto auto 1fr;
  gap: 10px;
  padding: 2px 0;
}
.product-badge-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.product-category-badge,
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.product-category-badge { background: #eef5ff; color: #175cd3; border: 1px solid #c7d7fe; }
.product-stock-badge { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.product-card-premium .product-card-title {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101828;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.product-card-premium .product-description--modal {
  max-height: 90px;
  overflow: auto;
  border: 1px solid #e5edf7;
  background: #fff;
  color: #475467;
  line-height: 1.38;
  scrollbar-width: thin;
}
.product-price-panel {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr) 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dde7f3;
  border-radius: 20px;
  background: #f8fbff;
}
.product-price-tile {
  display: grid;
  gap: 5px;
  padding: 12px 10px;
  border-right: 1px solid #e4ebf5;
  font-variant-numeric: tabular-nums;
}
.product-price-tile:last-child { border-right: 0; }
.product-price-tile span { color: #667085; font-size: 11px; font-weight: 800; white-space: nowrap; }
.product-price-tile strong { color: #101828; font-size: 19px; line-height: 1; white-space: nowrap; }
.product-price-tile.is-base strong { font-size: 23px; color: #175cd3; }
.product-price-tile.is-applied { background: #eef5ff; box-shadow: inset 0 -3px 0 #246bfe; }
.product-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid #dde7f3;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.product-order-panel > div {
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 12px 14px;
}
.product-order-panel > div + div { border-left: 1px solid #e4ebf5; }
.product-order-panel span { color: #667085; font-size: 12px; font-weight: 800; }
.product-order-panel strong { font-size: 24px; color: #101828; font-variant-numeric: tabular-nums; }
.product-order-panel .qty { justify-content: flex-start; }
.product-card-premium .product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}
.product-spec-cell {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 9px 10px;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  background: #fff;
}
.product-spec-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #f2f6fb;
  color: #175cd3;
  font-size: 13px;
  font-weight: 900;
}
.product-spec-cell small { display: block; color: #667085; font-size: 11px; font-weight: 800; margin-bottom: 2px; }
.product-spec-cell strong { display: block; color: #101828; font-size: 14px; font-weight: 900; overflow-wrap: anywhere; }
@media(max-width:899px) {
  .product-card-premium { grid-template-columns: 1fr; gap: 12px; }
  .product-card-premium .product-media-panel { min-height: 260px; max-height: 38vh; }
  .product-info-panel { grid-template-rows: none; }
  .product-price-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-price-tile { border-bottom: 1px solid #e4ebf5; }
  .product-order-panel { grid-template-columns: 1fr; }
  .product-order-panel > div + div { border-left: 0; border-top: 1px solid #e4ebf5; }
  .product-card-premium .product-spec-grid { grid-template-columns: 1fr; }
}

/* Role-neutral product card editing: same visual card, edit only after pencil */
.product-modal--card { position: relative; }
.product-card-premium { position: relative; }
.product-card-edit-actions {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.product-card-edit-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d8e5f7;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #175cd3;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(16,24,40,.12);
}
.product-card-save {
  display: none;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(36,107,254,.18);
}
.product-modal--card.is-editing .product-card-save { display: inline-flex; align-items: center; }
.product-modal--card.is-editing .product-card-edit-toggle { background: #eaf1ff; border-color: #9dbaff; }
.product-edit-field {
  display: none;
  width: 100%;
  min-width: 0;
  border: 1px solid #bfd3f8;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-weight: 800;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(36,107,254,.07);
}
.product-edit-field:focus { border-color: #246bfe; box-shadow: 0 0 0 4px rgba(36,107,254,.12); }
.product-modal--card.is-editing .product-view-field { display: none; }
.product-modal--card.is-editing .product-edit-field { display: block; }
.product-card-title .product-edit-field {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.product-description--modal .product-edit-field {
  min-height: 92px;
  resize: vertical;
  font-weight: 700;
  line-height: 1.35;
}
.product-price-tile .product-edit-field,
.product-spec-cell .product-edit-field,
.product-badge-row .product-edit-field { font-size: 13px; }
.product-media-edit {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: none;
  gap: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}
.product-modal--card.is-editing .product-media-edit { display: grid; }
.product-media-edit .product-edit-field {
  min-height: 74px;
  resize: vertical;
  font-size: 12px;
  font-weight: 700;
}
.product-modal--card.is-editing .product-media-open-label { display: none; }
@media(max-width:899px) {
  .product-card-edit-actions { top: -2px; right: -2px; }
  .product-card-save { padding: 8px 12px; }
}


/* Conditional price column compact tooltip and text-only active highlight */
.conditional-price span.is-applied {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #175cd3;
  font-weight: 900;
}
.conditional-price span.is-applied b {
  color: inherit !important;
  font-weight: inherit !important;
}
.conditional-price b { display: none !important; }
.conditional-price span {
  display: block !important;
  text-align: right !important;
}
.th-inner { position: relative; }
.conditional-note {
  display: inline-flex;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c7d7fe;
  color: #175cd3;
  font-size: 10px;
  font-weight: 900;
  cursor: help;
  vertical-align: top;
  transform: translateY(-2px);
}

/* Final-price column fit + two-line title/description + Ozon-like note tooltip */
.trading-table td {
  height: auto;
  max-height: none;
  overflow: visible;
}
.trading-table.compact td {
  height: auto;
  max-height: none;
}
.trading-table td > * {
  max-width: 100%;
}

.trading-table td:has(.conditional-price),
.trading-table.compact td:has(.conditional-price) {
  min-height: 56px;
  vertical-align: middle;
}

.conditional-price {
  gap: 3px;
  line-height: 1.18;
  min-height: 48px;
}
.conditional-price span {
  white-space: nowrap;
}

.title-cell,
.trading-table td:nth-child(5),
.trading-table td:nth-child(6) {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.title-cell strong,
.title-cell small,
.trading-table td:nth-child(5) > *,
.trading-table td:nth-child(6) > * {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  white-space: normal !important;
  line-height: 1.24;
}

.conditional-note {
  position: relative;
  border-color: #d0d5dd;
  color: #475467;
  background: #fff;
}
.conditional-note:hover,
.conditional-note:focus-visible {
  border-color: #9dbaff;
  color: #175cd3;
  outline: none;
}
.conditional-note-pop {
  position: absolute;
  right: -10px;
  top: calc(100% + 10px);
  width: 290px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
  padding: 10px 12px;
  display: grid;
  gap: 5px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 30;
}
.conditional-note-pop::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-left: 1px solid #e5eaf2;
  border-top: 1px solid #e5eaf2;
  background: #fff;
}
.conditional-note:hover .conditional-note-pop,
.conditional-note:focus-visible .conditional-note-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.conditional-note-pop .line {
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  color: #344054;
  font-weight: 600;
}
.conditional-note-pop .line.lead { color: #475467; font-weight: 500; }
.conditional-note-pop .line.d5 { color: #175cd3; }
.conditional-note-pop .line.d10 { color: #0f766e; }
.conditional-note-pop .line.d15 { color: #b54708; }

@media (max-width: 899px) {
  .conditional-note-pop {
    right: auto;
    left: -8px;
    width: min(274px, calc(100vw - 36px));
  }
}

/* Ensure all 3 conditional prices are fully visible in catalog/draft/order tables */
.trading-table td:has(.conditional-price),
.trading-table.compact td:has(.conditional-price) {
  min-height: 70px;
}

.trading-table .conditional-price {
  min-height: 60px;
  gap: 4px;
}

@media (min-width: 900px) {
  .trading-table.compact td {
    min-height: 48px;
  }
}

/* Robust final-price rendering: always 3 visible lines in final price column */
.final-price-stack {
  display: grid !important;
  grid-template-rows: repeat(3, auto);
  gap: 2px;
  font-size: 10.5px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  align-content: center;
  min-height: 38px;
  overflow: visible !important;
}
.final-price-stack span {
  display: block !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.trading-table td:has(.final-price-stack),
.trading-table.compact td:has(.final-price-stack) {
  min-height: 54px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  vertical-align: middle;
  padding-top: 3px;
  padding-bottom: 3px;
}
@media (min-width: 900px) {
  .trading-table.compact td:has(.final-price-stack) {
    min-height: 52px !important;
  }
}


/* Global +15px row height increase for catalog/draft/order composition tables */
.trading-table td {
  height: 57px !important;
  min-height: 57px !important;
  max-height: none !important;
  vertical-align: middle;
}
@media (min-width: 900px) {
  .trading-table.compact td {
    height: 49px !important;
    min-height: 49px !important;
    max-height: none !important;
  }
}

/* Compact mode fix: remove child clipping that was hiding the 3rd final-price row */
@media (min-width: 900px) {
  .trading-table.compact td:has(.final-price-stack) {
    height: 66px !important;
    min-height: 66px !important;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .trading-table.compact td:has(.final-price-stack) > * {
    max-height: none !important;
    overflow: visible !important;
  }
  .trading-table.compact td:has(.final-price-stack) .final-price-stack {
    min-height: 52px !important;
    gap: 2px !important;
    line-height: 1.1 !important;
    font-size: 10.5px !important;
  }
}

/* Density reset/fix: compact baseline + comfort = same layout with 2x scale */
@media (min-width: 900px) {
  /* compact: reduced but guaranteed 3 price lines */
  .trading-table.compact td {
    height: 52px !important;
    min-height: 52px !important;
    max-height: none !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    overflow: visible !important;
  }
  .trading-table.compact td > * {
    max-height: none !important;
    overflow: visible !important;
  }
  .trading-table.compact .final-price-stack {
    font-size: 10px !important;
    line-height: 1.1 !important;
    gap: 1px !important;
    min-height: 34px !important;
  }

  /* comfort mode mirrors compact geometry but ~2x higher content rhythm */
  .trading-table.comfort,
  .trading-table.comfortable {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .trading-table.comfort th,
  .trading-table.comfortable th {
    height: 64px !important;
    padding: 8px 10px !important;
    font-size: 18px !important;
  }
  .trading-table.comfort td,
  .trading-table.comfortable td {
    height: 104px !important;
    min-height: 104px !important;
    max-height: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    overflow: visible !important;
    vertical-align: middle !important;
  }
  .trading-table.comfort td > *,
  .trading-table.comfortable td > * {
    max-height: none !important;
    overflow: visible !important;
  }
  .trading-table.comfort .media-cell img,
  .trading-table.comfort .media-stack img,
  .trading-table.comfortable .media-cell img,
  .trading-table.comfortable .media-stack img {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover;
  }
  .trading-table.comfort .final-price-stack,
  .trading-table.comfortable .final-price-stack {
    font-size: 20px !important;
    line-height: 1.12 !important;
    gap: 2px !important;
    min-height: 70px !important;
  }
}

/* Text wrap for both name and description in both densities */
.trading-table td:nth-child(5),
.trading-table td:nth-child(6),
.trading-table td:nth-child(5) > *,
.trading-table td:nth-child(6) > * {
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.trading-table td:nth-child(5) > *,
.trading-table td:nth-child(6) > * {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25 !important;
}

/* Table QA fixes: strict 2-line title/description and compact minimal row fit */
.trading-table .title-cell,
.trading-table .desc-cell {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  line-height: 1.18 !important;
  max-height: calc(1.18em * 2) !important;
  text-align: left !important;
  align-self: start;
}
.trading-table .title-cell small,
.trading-table .title-cell strong {
  display: inline !important;
}

@media (min-width: 900px) {
  .trading-table.compact td {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    vertical-align: top !important;
  }
  .trading-table.compact td > * {
    max-height: none !important;
    overflow: visible !important;
  }
  .trading-table.compact td:has(.final-price-stack) {
    overflow: hidden !important;
  }
  .trading-table.compact .final-price-stack {
    font-size: 10px !important;
    line-height: 1.02 !important;
    gap: 0 !important;
    min-height: 31px !important;
    margin-top: 0 !important;
  }
  .trading-table.compact .final-price-stack span {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Fix: conditional_price stack vertical breathing in compact without touching unit_price */
@media (min-width: 900px) {
  .trading-table.compact td:has(.final-price-stack) {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    vertical-align: middle !important;
    overflow: hidden !important;
  }
  .trading-table.compact .final-price-stack {
    min-height: 34px !important;
    line-height: 1.08 !important;
    gap: 1px !important;
    margin: 0 !important;
    align-content: center !important;
  }
}

/* Fix: title/description clamp to 2 lines without overlaps */
.trading-table .title-cell,
.trading-table .desc-cell {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
  max-height: 2.4em !important;
  text-align: left !important;
}
.trading-table .title-cell strong,
.trading-table .title-cell small,
.trading-table .desc-cell strong,
.trading-table .desc-cell small {
  display: inline !important;
  line-height: inherit !important;
}

/* Final tuning: compact table row stability + final-price vertical distribution + 2-line text clamp */
@media (min-width: 900px) {
  .trading-table.compact td {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    vertical-align: middle !important;
  }

  .trading-table.compact td:has(.final-price-stack) {
    overflow: visible !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .trading-table.compact td:has(.final-price-stack) > * {
    height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }

  .trading-table.compact .final-price-stack {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.08 !important;
    font-variant-numeric: tabular-nums;
    gap: 0 !important;
    align-content: normal !important;
  }

  .trading-table.compact .final-price-stack span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
  }
}

.table-text-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.22 !important;
  max-height: calc(1.22em * 2) !important;
}

.trading-table .title-cell,
.trading-table .desc-cell {
  text-align: left !important;
}

/* Table row boundary fix: one <tr> = one product, no text spill across rows */
@media (min-width: 900px) {
  .trading-table.compact tr {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
  .trading-table.compact td {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    vertical-align: middle !important;
    overflow: hidden !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .trading-table.compact td:has(.final-price-stack) > * {
    height: 100% !important;
    overflow: hidden !important;
  }

  .trading-table.compact .final-price-stack {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 48px !important;
    line-height: 1.08 !important;
    font-size: 11px !important;
    font-variant-numeric: tabular-nums;
    overflow: hidden !important;
  }
}

.table-cell-text-clamp {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  max-height: calc(1.2em * 2) !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.trading-table .title-cell,
.trading-table .desc-cell {
  overflow: hidden !important;
  text-align: left !important;
}


.filter-btn{border:1px solid transparent;background:transparent;border-radius:8px;color:#667085;padding:2px 5px;font-size:11px;display:inline-flex;gap:4px;align-items:center}.filter-btn:hover,.filter-btn.active{border-color:#9dbaff;background:#eaf1ff;color:#175cd3}.filter-btn b{font-size:10px;background:#175cd3;color:#fff;border-radius:999px;padding:0 5px;line-height:1.5}.col-filter-modal{max-width:360px}.col-filter-list{display:grid;gap:6px;max-height:320px;overflow:auto;margin:8px 0}.col-filter-list label{display:flex;gap:8px;align-items:flex-start}.col-filter-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}

/* Draft summary panel aligned like order summary block */
.draft-after-table{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:14px;padding:12px;border-top:1px solid var(--line);background:#fff}.draft-after-chat{min-height:1px}.draft-summary-panel{display:grid;gap:12px;align-content:start}.draft-summary-panel .bar-metrics{display:grid;gap:8px}.draft-summary-panel .draft-count{font-weight:800}.draft-summary-panel .pricing-summary{margin:0}.draft-summary-panel .draft-actions{display:grid;gap:8px}.draft-summary-panel .draft-actions button{width:100%}@media(max-width:899px){.draft-after-table{grid-template-columns:1fr}.draft-summary-panel{padding:0}}

/* Draft summary outside draft table block, right-aligned under it */
.draft-summary-outside-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:14px;margin-top:12px}.draft-summary-outside-wrap::before{content:"";display:block}.draft-summary-outside{width:100%;padding:16px;display:grid;gap:14px;align-content:start}@media(max-width:899px){.draft-summary-outside-wrap{grid-template-columns:1fr}.draft-summary-outside-wrap::before{display:none}.draft-summary-outside{padding:12px}}

/* Fix draft layout: keep draft table and summary as normal page blocks (no floating overlap) */
@media (min-width: 900px) {
  .bottom-order-bar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 12px;
    border-radius: 22px !important;
    box-shadow: 0 8px 24px rgba(16,24,40,.06) !important;
    transition: none !important;
  }
  .bottom-order-bar:hover,
  .bottom-order-bar:focus-within {
    right: auto !important;
  }
  .draft-items {
    min-height: 320px;
    max-height: 62vh;
  }
  .draft-summary-outside-wrap {
    margin-top: 10px;
    grid-template-columns: minmax(0,1fr) minmax(280px,360px);
    align-items: start;
  }
}


/* Canonical draft summary fix: same visual logic as order summary, no bar-metrics side effects */
.draft-summary-panel .pricing-summary {
  min-width: 0 !important;
  width: 100%;
}
.draft-summary-panel .pricing-scenarios {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important;
}
.draft-summary-panel .pricing-summary p,
.draft-summary-panel .pricing-summary .pricing-summary-total {
  display: block !important;
}
.draft-summary-panel .pricing-summary-total {
  display: flex !important;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.draft-summary-panel .pricing-scenario {
  min-width: 0;
}
.draft-summary-panel .pricing-scenario div,
.draft-summary-panel .pricing-scenario strong,
.draft-summary-panel .pricing-scenario small {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 899px) {
  .draft-summary-panel .pricing-scenarios {
    grid-template-columns: 1fr !important;
  }
}

/* Cabinet product-grade redesign */
.cabinet-page{display:grid;gap:11px;max-width:1160px;margin:0 auto;background:#f3f6fb;border:1px solid #e2e8f3;border-radius:16px;padding:16px}
.cabinet-hero h1{margin:0;font-size:26px;line-height:1.1}.cabinet-hero p{margin:4px 0 0;color:#667085;font-size:13px}
.cabinet-dicts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cabinet-section{background:#fff;border:1px solid #dde5f1;border-radius:15px;padding:14px;box-shadow:none}
.cabinet-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.cabinet-section-head h2{margin:0;font-size:16px}.cabinet-section-head p{margin:2px 0 0;color:#667085;font-size:12px}
.cabinet-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cabinet-profile-grid label,.cabinet-modal-form label{display:grid;gap:4px}.cabinet-profile-grid label span,.cabinet-modal-form label span{font-size:11px;font-weight:700;color:#344054}
.cabinet-profile-grid input,.cabinet-modal-form input{height:36px;border:1px solid #d4deec;border-radius:10px;padding:0 10px;background:#fff;font-size:14px}
.cabinet-list{display:grid;gap:8px}
.cabinet-item-card{display:flex;justify-content:space-between;gap:10px;border:1px solid #e3e9f3;border-radius:12px;padding:9px 10px;background:#fbfdff;min-height:58px}
.cabinet-item-card h4{margin:0 0 2px;font-size:14px}.cabinet-meta{display:grid;gap:2px;color:#475467;font-size:12px}
.cabinet-item-side{display:grid;gap:6px;justify-items:end;align-content:start}.cabinet-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.cabinet-empty{border:1px dashed #d8dfeb;border-radius:10px;padding:8px 10px;min-height:38px;color:#667085;background:#f8fbff;display:flex;align-items:center;font-size:12px}
.cabinet-defaults{display:flex;flex-wrap:wrap;gap:8px}.cabinet-default-chip{padding:6px 10px;border-radius:999px;background:#f6f8fc;border:1px solid #dce4f2;font-size:12px;color:#344054}
.ghost.compact,.primary.compact{height:32px;padding:0 12px;border-radius:999px;font-size:13px}
.ghost.danger{color:#b42318;border-color:#f3c7c3}
.cabinet-modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.45);display:grid;place-items:center;z-index:120}
.cabinet-modal{width:min(560px,94vw);background:#fff;border-radius:18px;border:1px solid #dbe4f2;padding:16px;box-shadow:0 26px 64px rgba(16,24,40,.24)}
.cabinet-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cabinet-modal-form{display:grid;gap:10px}
@media(max-width:999px){.cabinet-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-dicts-grid{grid-template-columns:1fr}}
@media(max-width:699px){.cabinet-page{padding:12px}.cabinet-profile-grid{grid-template-columns:1fr}.cabinet-section-head{align-items:flex-start}.cabinet-item-card{flex-direction:column}.cabinet-item-side{justify-items:start}.cabinet-actions{justify-content:flex-start}}
.chat-attachments-draft{display:flex;gap:8px;overflow:auto;padding:4px 0}.chat-attach-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:4px 8px}.chat-attach-chip img{width:34px;height:34px;object-fit:cover;border-radius:6px}.chat-attach-chip button{border:0;background:#f2f4f7;border-radius:999px;width:22px;height:22px}.chat-voice-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:6px 8px;margin:4px 0}
.chat-message-attachments{display:grid;gap:6px;margin-top:6px}.chat-message-attachment{display:flex;align-items:center;gap:8px;border:1px solid #e5e7eb;border-radius:8px;padding:6px;background:#fff}

.order-head-row{display:flex;align-items:center;gap:12px;width:100%}.order-head-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.order-head-num{font-weight:700}.order-head-num.muted{font-weight:600;color:#475467}.order-head-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;padding:3px 8px;border:1px solid #d6deea;border-radius:999px;color:#344054;background:#f8fafc}.order-status-pill{font-weight:700}.order-head-date{color:#667085;font-size:12px}.order-head-amount{margin-left:auto;font-weight:800;font-size:22px;white-space:nowrap;color:#0b2f6b}@media(max-width:899px){.order-head-row{align-items:flex-start;flex-direction:column}.order-head-amount{margin-left:0;font-size:18px}}
.chat-message-attachment{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:8px;background:#fff}
.chat-message-attachment-main{display:flex;gap:8px;align-items:center;min-width:0}.chat-message-attachment-main b{display:block;font-size:12px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-message-attachment-main small{display:block;color:#667085;font-size:11px}
.chat-message-attachment-actions{display:flex;gap:6px;flex-wrap:wrap}

/* Unified header, media column and qty UX */
.role-nav{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:nowrap;margin:0 0 12px}
.role-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.catalog-nav-title{margin-right:auto;min-width:260px}
.media-stack{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px}
.media-stack img{width:40px;height:40px;object-fit:cover;border-radius:9px;background:#eef2f7}
.media-placeholder{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:#eef2f7;color:#667085;font-weight:700}
.trading-table th[data-col-key="media"], .trading-table th[data-draft-col-key="media"], .trading-table col[data-col-key="media"], .trading-table col[data-draft-col-key="media"]{width:64px!important;min-width:64px!important;max-width:64px!important}
@media(max-width:899px){.role-nav{flex-wrap:wrap}.role-links{justify-content:flex-start;width:100%}}
.media-preview-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.5);background:rgba(17,24,39,.55);color:#fff;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer}
.media-preview-nav.prev{left:14px}
.media-preview-nav.next{right:14px}
.order-person-summary{cursor:pointer;list-style:none}
.order-person-summary::-webkit-details-marker{display:none}
.order-person-summary::after{content:'▾';float:right;color:#667085;font-weight:800}
details.order-person-block:not([open]) .order-person-summary::after{content:'▸'}
.order-person-content{padding-top:8px}
.order-details-readonly-note{margin-top:8px;color:#667085;font-size:12px;font-weight:700}

/* Checkout block visual polish (match screenshot style) */
.order-person-block{border:1px solid #dbe4f2;border-radius:18px;padding:14px 16px;background:#fff;margin:12px 0}
.order-person-summary .section-head{display:flex;align-items:baseline;gap:14px;padding-right:24px}
.order-person-summary .section-head h3{margin:0;font-size:38px;font-weight:800;line-height:1.1;letter-spacing:-.02em}
.order-person-summary .section-head p{margin:0;color:#667085;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:8px}
.order-person-grid label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344054}
.order-person-grid input,.order-person-grid select,.order-person-grid textarea{height:46px;border:1px solid #d4deec;border-radius:12px;padding:0 14px;background:#fff;color:#1d2939;font-size:14px}
.order-person-grid textarea{height:82px;padding:12px 14px;resize:vertical}
.order-person-grid label:has(textarea){grid-column:1 / span 2}
.order-person-grid label:has(input[type="checkbox"]){display:flex;align-items:center;gap:10px;align-self:end;min-height:46px;font-size:13px;font-weight:700}
.order-person-grid input[type="checkbox"]{width:24px;height:24px;min-width:24px;padding:0;border-radius:6px}
.order-person-content .order-workspace-actions{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #e6edf7}
.order-person-content .order-workspace-actions .ghost,.order-person-content .order-workspace-actions .primary{height:44px;border-radius:12px;padding:0 18px;font-weight:700}
.order-person-content .order-add-product{flex:1;min-width:260px}
.order-person-content .order-add-product .searchbar{height:44px;border-radius:12px}
@media (max-width: 1199px){
  .order-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 899px){
  .order-person-summary .section-head{display:grid;gap:6px}
  .order-person-summary .section-head h3{font-size:28px}
  .order-person-grid{grid-template-columns:1fr}
  .order-person-grid label:has(textarea){grid-column:auto}
  .order-person-content .order-workspace-actions{display:grid;grid-template-columns:1fr}
}

/* Media cell hard override: fill full row height without changing row height */
.trading-table td:has(.media-stack),
.trading-table.compact td:has(.media-stack) {
  padding: 0 !important;
  height: inherit !important;
  min-height: inherit !important;
  max-height: inherit !important;
  vertical-align: middle !important;
}
.trading-table td:has(.media-stack) > .media-stack,
.trading-table.compact td:has(.media-stack) > .media-stack {
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}
.trading-table td:has(.media-stack) > .media-stack img,
.trading-table.compact td:has(.media-stack) > .media-stack img,
.trading-table td:has(.media-stack) > .media-stack .media-placeholder,
.trading-table.compact td:has(.media-stack) > .media-stack .media-placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
}
.trading-table td:has(.media-stack) > .media-stack img,
.trading-table.compact td:has(.media-stack) > .media-stack img { object-fit: cover !important; }
.trading-table td:has(.media-stack) > .media-stack .media-placeholder,
.trading-table.compact td:has(.media-stack) > .media-stack .media-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef2f7 !important;
}

.media-cell-full{padding:0!important;height:inherit!important;min-height:inherit!important;max-height:inherit!important;vertical-align:middle!important}
.media-cell-full>.media-stack{display:flex!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;height:100%!important;min-height:100%!important;border-radius:0!important;overflow:hidden!important;margin:0!important}
.media-cell-full>.media-stack img,.media-cell-full>.media-stack .media-placeholder{width:100%!important;height:100%!important;min-height:100%!important;border-radius:0!important;margin:0!important;display:block!important}
.media-cell-full>.media-stack img{object-fit:cover!important}
.media-cell-full>.media-stack .media-placeholder{display:flex!important;align-items:center!important;justify-content:center!important;background:#eef2f7!important}
/* Deterministic media layer */
.media-cell-full{padding:4px 6px;vertical-align:middle}
.product-media-cell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;max-width:64px;max-height:64px;overflow:hidden;border-radius:10px;background:#f2f4f7;border:1px solid #e4e7ec}
.product-media-cell-thumb{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px;background:#f2f4f7}
.product-media-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#667085;font-weight:700;font-size:14px;line-height:1}
.product-media-count{position:absolute;right:2px;bottom:2px;background:#101828;color:#fff;border-radius:999px;font-size:10px;padding:1px 5px}
.trading-table td.media-cell-full,.trading-table.compact td.media-cell-full{height:60px;max-height:60px;overflow:visible}
.trading-table.compact .product-media-cell{width:52px;height:52px;max-width:52px;max-height:52px;border-radius:8px}
.trading-table.compact .product-media-cell-thumb{border-radius:8px}

.realtime-notice-root{position:fixed;right:20px;top:96px;z-index:110;display:grid;gap:10px;width:min(320px,calc(100vw - 32px));pointer-events:none}
.realtime-notice{pointer-events:auto;background:#ffffff;border:1px solid #d6e3ff;border-left:4px solid var(--blue);border-radius:14px;padding:10px 12px;box-shadow:0 12px 24px rgba(16,24,40,.12);display:grid;gap:4px}
.realtime-notice strong{font-size:13px;line-height:1.3}
.realtime-notice span{font-size:12px;color:#344054;line-height:1.35}
.realtime-notice small{font-size:11px;color:#667085}

@media (max-width:899px){
  .realtime-notice-root{top:auto;bottom:120px;right:10px;left:10px;width:auto}
}

.mobile-page-switch{display:none}
@media(max-width:899px){
  .topline,.status{display:none}
  .role-nav{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;margin-bottom:8px}
  .catalog-nav-title h1{font-size:52px;line-height:.9}
  .eyebrow{font-size:11px}
  .role-links{display:none}
  .nav-user{gap:6px}
  .nav-user span{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .nav-user .ghost{padding:7px 9px;border-radius:12px}
  .mobile-page-switch{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .mobile-page-switch__btn{display:flex;justify-content:center;align-items:center;text-align:center;padding:6px 4px;font-size:11px;font-weight:700;color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:10px;text-decoration:none;line-height:1.1}
  .mobile-page-switch__btn.is-active{border-color:#9dbaff;background:#eaf1ff;color:#175cd3}
}

@media (max-width:768px){
  .catalog-desktop-table,.quote-list,.draft-summary-outside-wrap,[data-draft-order-items]{display:none!important}
  .catalog-mobile-list{display:grid;gap:8px}
  .mobile-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff}
  .mobile-product-main{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px}.mobile-product-main img{width:56px;height:56px;border-radius:10px}
  .mobile-product-meta{display:grid;gap:2px;min-width:0}.mobile-product-meta strong{font-size:14px;line-height:1.2}.mobile-product-meta small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-product-side{display:grid;gap:4px;justify-items:end;font-size:12px}.mobile-product-side b{font-size:30px;color:#175cd3}
  .bottom-order-bar{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;z-index:70;border-radius:18px;padding:10px;display:grid!important;grid-template-columns:1fr auto!important}
  .mobile-draft-overlay{display:none}.mobile-draft-overlay.is-open{display:block;position:fixed;inset:0;background:rgba(16,24,40,.35);z-index:90}
  .mobile-draft-sheet{position:absolute;left:0;right:0;bottom:0;max-height:84vh;background:#fff;border-radius:22px 22px 0 0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
  .mobile-draft-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}
  .mobile-draft-items{overflow:auto;padding:8px 10px;display:grid;gap:8px}.mobile-draft-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:8px;border-bottom:1px solid var(--line);padding-bottom:8px}.mobile-draft-item img{width:52px;height:52px;border-radius:10px}
  .mobile-draft-item__meta{display:grid;gap:2px}.mobile-draft-item__meta strong{font-size:13px;line-height:1.2}.mobile-draft-item__meta small{font-size:11px;color:var(--muted)}
  .mobile-draft-item__side{display:grid;gap:6px;justify-items:end}.mobile-draft-summary{border-top:1px solid var(--line);padding:10px}
}
@media (min-width:769px){.catalog-mobile-list,[data-mobile-draft-root]{display:none!important}}

/* Mobile catalog compact polishing (reference-like density) */
@media (max-width:768px){
  .app-page{padding:8px 8px 90px}
  .catalog-nav-title h1{font-size:48px;line-height:.92;letter-spacing:-.02em}
  .mobile-page-switch__btn{font-size:12px;padding:8px 6px;border-radius:14px}
  .control-bar{position:static;display:grid;grid-template-columns:1fr;gap:8px;padding:6px 0;background:transparent;backdrop-filter:none}
  .searchbar{border-radius:14px}
  .searchbar input{padding:10px 0;font-size:18px}
  .chips{display:flex;flex-wrap:wrap;gap:8px}
  .chip{padding:10px 14px;font-size:16px}
  .chip-count{font-size:15px}
  .select-wrap{display:flex!important;font-size:13px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 10px}
  .select-wrap select{border:0;padding:0 16px 0 0;font-weight:700;background:transparent}
  [data-open-columns],[data-open-excel]{border-radius:14px;padding:11px 12px;font-size:16px}

  .catalog-mobile-list{gap:6px}
  .mobile-product-row{grid-template-columns:minmax(0,1fr) 126px;gap:8px;padding:8px;border-radius:12px}
  .mobile-product-main{grid-template-columns:54px minmax(0,1fr);gap:8px;align-items:start}
  .mobile-product-main .product-media-cell{width:54px;height:54px;border-radius:10px}
  .mobile-product-main .product-media-cell-thumb{border-radius:10px}
  .mobile-product-meta{gap:1px}
  .mobile-product-meta strong{font-size:14px;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .mobile-product-meta small{font-size:11px;line-height:1.15}
  .mobile-stock-line{color:#16a34a!important;font-weight:700}
  .mobile-product-side{gap:3px;justify-items:center;align-content:start;padding-left:6px;border-left:1px solid #e6ebf3}
  .mobile-product-side b{font-size:20px;line-height:1;color:#2563eb;white-space:nowrap}
  .mobile-product-side > span{font-size:11px;color:#667085}
  .mobile-product-side .qty{grid-template-columns:24px 34px 24px;gap:4px}
  .mobile-product-side .qty button{height:24px;border-radius:8px}
  .mobile-product-side .qty input{height:24px;padding:0;border-radius:8px;font-size:13px}

  .bottom-order-bar{grid-template-columns:1fr auto!important;gap:8px;padding:8px 10px;border-radius:16px}
  .draft-head{padding:0;border-bottom:0}
  .draft-head strong{font-size:20px}
  .bar-metrics{font-size:12px;gap:6px}
  .draft-actions .primary{border-radius:14px;padding:10px 14px;font-size:16px}
}


@media (max-width:768px){
  /* header: tighter right controls like reference */
  .role-nav{grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:6px}
  .catalog-nav-title h1{font-size:56px;line-height:.88;margin:0}
  .nav-user{gap:4px}
  .nav-user .ghost{min-width:34px;height:34px;padding:0;display:grid;place-items:center}
  .nav-user span{max-width:88px;font-size:11px}

  /* product rows: stable compact height */
  .mobile-product-row{min-height:108px;align-items:start}
  .mobile-product-meta strong{-webkit-line-clamp:3}

  /* qty input visibility fix */
  .mobile-product-side .qty input,
  .mobile-draft-item__side .qty input{color:#111827!important;background:#fff!important;opacity:1!important;font-weight:700!important;text-align:center!important}

  /* sticky draft bar closer to reference */
  .bottom-order-bar{border-radius:20px;padding:8px 10px;background:#fff!important;color:#111827;border:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(16,24,40,.12)}
  .bottom-order-bar .draft-head{display:flex;align-items:center;gap:8px}
  .bottom-order-bar .draft-head strong{font-size:18px;line-height:1}
  .bottom-order-bar .draft-actions .primary{min-width:172px}
}


@media (max-width:768px){
  .role-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "switch switch";align-items:center;gap:6px;margin-bottom:6px}
  .catalog-nav-title{grid-area:title}
  .catalog-nav-title h1{font-size:52px;line-height:.88;margin:0}
  .catalog-nav-title .eyebrow{font-size:10px;letter-spacing:.08em}
  .mobile-top-actions{grid-area:actions;display:flex;align-items:center;gap:6px;min-width:0}
  .mobile-top-actions span{max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#667085}
  .mobile-top-actions .ghost{min-width:32px;height:32px;border-radius:10px;padding:0;display:grid;place-items:center}
  .mobile-page-switch{grid-area:switch;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .role-links{display:none!important}
}
@media (min-width:769px){.mobile-top-actions{display:none!important}}


/* Mobile top-of-catalog final compact tuning (header/search/filters/controls only) */
@media (max-width:768px){
  .app-page{padding:8px 10px 90px}

  /* header */
  .role-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions";gap:6px;align-items:center;margin:0 0 8px}
  .catalog-nav-title{grid-area:title}
  .catalog-nav-title h1{font-size:50px;line-height:.86;letter-spacing:-.02em;margin:0}
  .catalog-nav-title .eyebrow{font-size:10px;letter-spacing:.08em}
  .mobile-top-actions{grid-area:actions;display:flex;align-items:center;gap:6px}
  .mobile-top-actions span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .mobile-top-actions .ghost{width:32px;height:32px;min-width:32px;border-radius:10px;padding:0;display:grid;place-items:center}
  .mobile-page-switch{display:none!important}

  /* top controls */
  .control-bar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 0 8px;background:transparent;backdrop-filter:none}
  .control-bar .searchbar,.control-bar .chips{grid-column:1/-1}
  .searchbar{border-radius:13px;padding:0 10px}
  .searchbar input{padding:9px 0;font-size:16px}

  .chips{display:flex;flex-wrap:wrap;gap:7px}
  .chip{padding:7px 11px;font-size:14px}
  .chip-count{font-size:12px;min-width:26px;padding:1px 7px}

  .select-wrap{display:flex!important;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:13px;padding:7px 10px;min-height:46px;font-size:12px}
  .select-wrap select{border:0;background:transparent;padding:0 14px 0 4px;font-weight:700;font-size:13px;max-width:62%}
  [data-open-columns],[data-open-excel]{min-height:46px;border-radius:13px;padding:8px 10px;font-size:14px}
}


/* FINAL authoritative mobile catalog-top layout (conflict override) */
@media (max-width:768px){
  .app-page .role-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "switch switch";gap:6px;align-items:center;margin:0 0 8px}
  .app-page .catalog-nav-title{grid-area:title;margin:0}
  .app-page .catalog-nav-title .eyebrow{font-size:10px;letter-spacing:.08em;margin:0}
  .app-page .catalog-nav-title h1{font-size:46px;line-height:.9;margin:0}
  .app-page .role-links{display:none}
  .app-page .mobile-top-actions{grid-area:actions;display:flex;align-items:center;gap:6px;min-width:0}
  .app-page .mobile-top-actions .ghost{width:30px;height:30px;min-width:30px;border-radius:9px;padding:0;display:grid;place-items:center}
  .app-page .mobile-top-actions span{max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#667085}
  .app-page .mobile-page-switch{grid-area:switch;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .app-page .mobile-page-switch__btn{padding:8px 6px;font-size:12px;border-radius:12px}

  .app-page .control-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;padding:4px 0 8px;position:static;background:transparent}
  .app-page .control-bar .searchbar{grid-column:1/-1;order:1}
  .app-page .control-bar .chips{grid-column:1/-1;order:2;display:flex;gap:7px;flex-wrap:wrap}
  .app-page .control-bar .chip{padding:7px 11px;font-size:14px}
  .app-page .control-bar .chip-count{font-size:12px;min-width:26px;padding:1px 7px}
  .app-page .control-bar .select-wrap:nth-of-type(1){order:3}
  .app-page .control-bar .select-wrap:nth-of-type(2){order:4}
  .app-page .control-bar [data-open-columns]{order:5}
  .app-page .control-bar [data-open-excel]{order:6}

  .app-page .searchbar{border-radius:13px;padding:0 10px;min-height:42px}
  .app-page .searchbar input{padding:8px 0;font-size:16px}
  .app-page .select-wrap{display:flex;border:1px solid var(--line);border-radius:13px;padding:7px 10px;min-height:44px;background:#fff;font-size:12px;gap:6px;align-items:center}
  .app-page .select-wrap select{border:0;background:transparent;padding:0;font-size:13px;font-weight:700;min-width:0;flex:1}
  .app-page .control-bar [data-open-columns],
  .app-page .control-bar [data-open-excel]{min-height:44px;border-radius:13px;padding:8px 10px;font-size:14px}
}
.order-head-client{display:inline-flex;align-items:center;border:1px solid #dbeafe;background:#eff6ff;color:#175cd3;border-radius:999px;padding:4px 9px;font-weight:800}
.order-person-block{display:block;border:1px solid #d8e2f0;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);padding:16px;box-shadow:0 16px 36px rgba(16,24,40,.05)}
.order-person-content{display:grid;gap:12px}.order-workspace-actions--requisites{display:flex;justify-content:flex-end;margin-top:10px;padding-top:10px;border-top:1px solid #edf2f7}.order-workspace-actions--requisites .compact{min-height:34px;padding:8px 12px;border-radius:11px;font-size:13px;color:#475467;background:#fff}
.order-requisites-form{display:grid;gap:12px;color:#101828}.order-requisites-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 2px 4px}.order-requisites-head h3{margin:0;font-size:20px;line-height:1.15;font-weight:900;letter-spacing:-.02em}.order-requisites-head p{margin:4px 0 0;color:#667085;font-size:13px}.requisites-status-pill{display:inline-flex;align-items:center;border:1px solid #dbeafe;background:#eff6ff;color:#175cd3;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}.order-requisites-form.is-readonly .requisites-status-pill{border-color:#fedf89;background:#fffaeb;color:#93370d}
.requisite-section{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:stretch;border:0;border-top:1px solid #edf1f6;border-radius:0;background:#fff;padding:14px 0}.requisite-section-title{display:flex;align-items:center;gap:12px;color:#344054;font-size:13px}.requisite-section-title b{font-size:14px;color:#101828}.requisite-section-icon{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:#eff6ff;color:#175cd3;font-size:0;box-shadow:inset 0 0 0 1px #dbeafe}.requisite-section-icon::before{content:'';width:18px;height:18px;border:2px solid currentColor;border-radius:5px;box-shadow:4px 4px 0 -1px #eff6ff,4px 4px 0 0 currentColor}.requisite-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delivery-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
.requisite-tile{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px;text-align:left;min-height:76px;border:1px solid #e5eaf2;border-radius:13px;background:#fff;color:#101828;padding:15px 16px;box-shadow:0 8px 20px rgba(16,24,40,.035);transition:border-color .15s,background .15s,box-shadow .15s,transform .15s,opacity .15s;cursor:pointer}.requisite-choice-label{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;cursor:pointer}.requisite-choice-input{position:absolute;top:15px;left:16px;width:22px;height:22px;margin:0;opacity:0;cursor:pointer;z-index:2}.requisite-tile.is-inactive{background:#fff;color:#475467}.requisite-tile:hover:not(.is-readonly){border-color:#9dbaff;background:#fbfdff}.requisite-tile.is-active{border-color:#175cd3;background:#f8fbff;color:#101828;box-shadow:0 0 0 2px rgba(36,107,254,.16),0 10px 22px rgba(36,107,254,.10)}.requisite-tile.is-readonly,.requisite-tile.is-readonly .requisite-choice-label,.requisite-tile.is-readonly .requisite-choice-input{cursor:not-allowed}.requisite-tile.is-readonly{opacity:.78;background:#f9fafb}.tile-label{font-weight:850;font-size:14px}.tile-check{display:inline-flex;flex:0 0 auto;width:22px;height:22px;align-items:center;justify-content:center;align-self:start;justify-self:start;border-radius:5px;border:1px solid #98a2b3;background:#fff;color:#fff;font-size:13px;font-weight:900}.tile-check.is-checked{border-color:#246bfe;background:#246bfe;color:#fff}.tile-fields{display:grid;gap:8px;margin-top:2px}.tile-fields--bank{grid-template-columns:repeat(3,minmax(0,1fr))}.tile-fields label,.recipient-grid label,.comment-box{display:grid;gap:5px;color:#667085;font-size:11px;font-weight:800}.tile-fields input,.recipient-grid input,.comment-box textarea{width:100%;min-height:42px;border:1px solid #dfe7f1;border-radius:10px;background:#fff;padding:9px 10px;outline:0;color:#101828;font-size:13px;font-weight:650}.tile-fields input:focus,.recipient-grid input:focus,.comment-box textarea:focus{border-color:#2f80ed;box-shadow:0 0 0 3px rgba(36,107,254,.10)}.pickup-hint{color:#667085;line-height:1.35;font-size:12px}.recipient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.requisite-section--final{padding-bottom:14px}.requisite-final-grid{display:grid;grid-template-columns:minmax(180px,.55fr) 1.45fr;gap:12px;align-items:stretch}.toggle-grid{display:grid;grid-template-columns:1fr;gap:8px}.toggle-line{display:flex;align-items:center;gap:10px;min-height:42px;border:1px solid #e5eaf2;border-radius:11px;background:#f9fbff;padding:8px 10px;font-weight:850;color:#344054}.toggle-line input{width:34px;height:20px;accent-color:#246bfe}.comment-box textarea{min-height:88px;resize:vertical;font-weight:600}.is-invalid,.is-invalid input{border-color:#d92d20!important}.field-error{color:#d92d20;font-size:11px;font-weight:750}.order-requisites-errors{color:#d92d20;font-size:12px}.order-details-readonly-note{border:1px solid #fedf89;background:#fffaeb;color:#93370d;border-radius:12px;padding:9px 11px;font-weight:800;font-size:13px}.order-requisites-form input:disabled,.order-requisites-form textarea:disabled{background:#f3f6fa;color:#667085;cursor:not-allowed}
@media (max-width:1100px){.requisite-section{grid-template-columns:1fr}.delivery-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile-fields--bank{grid-template-columns:1fr}}
@media (max-width:760px){.order-person-block{padding:12px;border-radius:16px}.order-requisites-head{display:grid;gap:8px}.requisites-status-pill{justify-self:start}.requisite-tiles,.delivery-tiles,.recipient-grid,.requisite-final-grid{grid-template-columns:1fr}.requisite-section{padding:10px}.order-workspace-actions--requisites{justify-content:stretch}.order-workspace-actions--requisites .compact{width:100%}}


/* Catalog loading state */
.catalog-loading{min-height:360px;display:grid;place-items:center;align-content:center;gap:10px;padding:42px 18px;text-align:center;color:#344054;background:linear-gradient(180deg,#fff,#f8fbff)}
.catalog-loading-spinner{width:42px;height:42px;border-radius:999px;border:4px solid #dbeafe;border-top-color:#246bfe;animation:catalog-spin .8s linear infinite}
.catalog-loading strong{font-size:18px;color:#101828}.catalog-loading small{color:#667085}
@keyframes catalog-spin{to{transform:rotate(360deg)}}

/* TIME TO THAI redesigned public home */
.ttt-home {
  --ttt-bg: #03070d;
  --ttt-panel: rgba(9, 18, 30, 0.82);
  --ttt-panel-strong: rgba(11, 22, 36, 0.94);
  --ttt-line: rgba(255, 255, 255, 0.11);
  --ttt-line-gold: rgba(216, 163, 60, 0.32);
  --ttt-gold: #d8a33c;
  --ttt-gold-soft: #f0c978;
  --ttt-text: #f8fafc;
  --ttt-muted: #c7d0dd;
  --ttt-soft: #94a3b8;
  --ttt-max: 1380px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 2%, rgba(216, 163, 60, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(25, 85, 125, 0.16), transparent 32rem),
    linear-gradient(180deg, #02060b 0%, #07111d 48%, #03070d 100%);
  color: var(--ttt-text);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
.ttt-home *, .ttt-home *::before, .ttt-home *::after { box-sizing: border-box; }
.ttt-home a { color: inherit; text-decoration: none; }
.ttt-header, .ttt-main, .ttt-footer { width: min(calc(100% - 40px), var(--ttt-max)); margin-inline: auto; }
.ttt-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0 18px; position: relative; z-index: 10; }
.ttt-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.ttt-brand__logo { width: 64px; height: 64px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 0 16px rgba(216, 163, 60, 0.28)); }
.ttt-brand__text { display: grid; gap: 4px; min-width: 0; }
.ttt-brand__text strong { font-size: clamp(24px, 2.5vw, 38px); line-height: .92; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.ttt-brand__text em { color: var(--ttt-gold-soft); font-style: normal; }
.ttt-brand__text small { color: var(--ttt-muted); font-size: 12px; line-height: 1.25; }
.ttt-nav { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--ttt-line); border-radius: 999px; background: rgba(4, 11, 19, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ttt-nav-link, .ttt-login, .ttt-icon-button, .ttt-auth .ghost { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid transparent; background: transparent; color: rgba(248, 250, 252, 0.82); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; padding: 0 15px; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; white-space: nowrap; }
.ttt-nav-link:hover, .ttt-login:hover, .ttt-icon-button:hover, .ttt-auth .ghost:hover, .ttt-nav-link:focus-visible, .ttt-login:focus-visible, .ttt-icon-button:focus-visible, .ttt-auth .ghost:focus-visible { color: #fff; border-color: rgba(216, 163, 60, 0.34); background: rgba(216, 163, 60, 0.12); outline: none; }
.ttt-nav-link.is-active { color: var(--ttt-gold-soft); background: rgba(216, 163, 60, 0.12); border-color: rgba(216, 163, 60, 0.28); }
.ttt-auth { display: inline-flex; align-items: center; gap: 8px; }
.ttt-auth span { color: var(--ttt-muted); font-size: 13px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ttt-icon-button { width: 42px; padding: 0; position: relative; }
.ttt-icon-button b, .ttt-auth .notif-bell b { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; }
.ttt-main { display: grid; gap: clamp(72px, 8vw, 112px); padding-bottom: 76px; }
.ttt-hero { min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden; border: 1px solid rgba(216, 163, 60, 0.18); border-radius: 34px; background: #03070d; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36); }
.ttt-hero__media { position: absolute; inset: 0; }
.ttt-hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 1; filter: none; }
.ttt-hero::after { content: none; }
.ttt-hero__content { position: relative; z-index: 1; max-width: 880px; padding: clamp(34px, 6vw, 84px); }
.ttt-kicker { margin: 0 0 16px; color: var(--ttt-gold-soft); font-size: 14px; line-height: 1.45; font-weight: 850; letter-spacing: .04em; }
.ttt-hero h1, .ttt-section h2, .ttt-contact h2 { margin: 0; color: #fff; letter-spacing: -.045em; }
.ttt-hero h1 { max-width: 900px; font-size: clamp(42px, 6vw, 82px); line-height: .98; }
.ttt-hero h1 span { display: block; color: var(--ttt-gold-soft); }
.ttt-lead { max-width: 760px; margin: 24px 0 0; color: #e2e8f0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.46; }
.ttt-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.ttt-button, .ttt-doc-action { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 0 24px; border: 1px solid rgba(216, 163, 60, 0.34); font-weight: 900; font-size: 15px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.ttt-button--primary { color: #111827; background: linear-gradient(135deg, #d59a32, #f1cf7d 52%, #bd8426); border-color: transparent; box-shadow: 0 18px 38px rgba(216, 163, 60, 0.24); }
.ttt-button--secondary, .ttt-doc-action { color: #fff; background: rgba(255, 255, 255, 0.06); }
.ttt-button:hover, .ttt-doc-action:hover { transform: translateY(-2px); border-color: rgba(240, 201, 120, 0.62); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22); }
.ttt-button:focus-visible, .ttt-doc-action:focus-visible, .ttt-form input:focus, .ttt-form textarea:focus { outline: 3px solid rgba(240, 201, 120, 0.26); outline-offset: 2px; }
.ttt-doc-action.is-disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }
.ttt-doc-action.is-disabled:hover { transform: none; border-color: rgba(216, 163, 60, 0.34); }
.ttt-directions { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 26px 0 0; list-style: none; }
.ttt-directions li { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 10px 13px; color: #e2e8f0; background: rgba(255, 255, 255, 0.05); font-weight: 750; }
.ttt-section { position: relative; }
.ttt-section--split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.ttt-section__head { max-width: 980px; margin-bottom: 30px; }
.ttt-section__head h2, .ttt-section__copy h2, .ttt-contact h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; }
.ttt-section__head p:not(.ttt-kicker), .ttt-section__copy p, .ttt-contact p { color: var(--ttt-muted); font-size: 18px; line-height: 1.62; }
.ttt-section__copy p { margin: 18px 0 0; }
.ttt-section--quiet { padding: clamp(30px, 5vw, 54px); border: 1px solid var(--ttt-line); border-radius: 34px; background: linear-gradient(145deg, rgba(216, 163, 60, 0.08), rgba(9, 18, 30, 0.72)); }
.ttt-portfolio-map { min-height: 500px; position: relative; display: grid; place-items: center; padding: 36px; border: 1px solid rgba(216, 163, 60, 0.24); border-radius: 38px; background: radial-gradient(circle at center, rgba(216, 163, 60, 0.16), transparent 34%), rgba(9, 18, 30, 0.78); box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.02); }
.ttt-portfolio-map strong { width: 220px; height: 220px; display: grid; place-items: center; text-align: center; border-radius: 50%; border: 1px solid rgba(240, 201, 120, 0.55); color: #fff; background: #09121e; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3); font-size: 20px; line-height: 1.25; padding: 24px; z-index: 1; }
.ttt-portfolio-map span { position: absolute; width: min(190px, 36%); min-height: 68px; display: grid; place-items: center; text-align: center; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.055); color: #e2e8f0; font-weight: 850; padding: 12px; }
.ttt-portfolio-map span:nth-of-type(1) { top: 38px; left: 50%; transform: translateX(-50%); }
.ttt-portfolio-map span:nth-of-type(2) { top: 30%; right: 34px; }
.ttt-portfolio-map span:nth-of-type(3) { bottom: 30%; right: 34px; }
.ttt-portfolio-map span:nth-of-type(4) { bottom: 38px; left: 50%; transform: translateX(-50%); }
.ttt-portfolio-map span:nth-of-type(5) { bottom: 30%; left: 34px; }
.ttt-portfolio-map span:nth-of-type(6) { top: 30%; left: 34px; }
.ttt-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ttt-models article, .ttt-capabilities article, .ttt-docs article { border: 1px solid var(--ttt-line); border-radius: 26px; background: var(--ttt-panel); padding: 24px; }
.ttt-models h3, .ttt-partnership h3, .ttt-cycle h3, .ttt-capabilities h3, .ttt-docs h3 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.ttt-models p, .ttt-capabilities p, .ttt-docs p { margin: 0; color: var(--ttt-muted); font-size: 16px; line-height: 1.55; }
.ttt-partnership { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ttt-partnership article { border: 1px solid rgba(216, 163, 60, 0.22); border-radius: 32px; background: linear-gradient(180deg, rgba(216, 163, 60, 0.08), rgba(9, 18, 30, 0.86)); padding: clamp(24px, 3vw, 34px); }
.ttt-partnership ul { margin: 0; padding-left: 20px; color: #dbe4f0; font-size: 17px; line-height: 1.65; }
.ttt-statement { margin: 22px 0 0; padding: 24px; border-left: 3px solid var(--ttt-gold); border-radius: 0 22px 22px 0; background: rgba(216, 163, 60, 0.08); color: #f8fafc; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; font-weight: 850; }
.ttt-cycle { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(216, 163, 60, 0.22); border-radius: 30px; overflow: hidden; background: rgba(216, 163, 60, 0.12); }
.ttt-cycle article { min-height: 240px; padding: 22px; background: rgba(9, 18, 30, 0.92); border-right: 1px solid rgba(216, 163, 60, 0.16); }
.ttt-cycle article:last-child { border-right: 0; }
.ttt-cycle span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(216, 163, 60, 0.16); color: var(--ttt-gold-soft); font-weight: 950; margin-bottom: 18px; }
.ttt-cycle p { margin: 0; color: var(--ttt-muted); font-size: 16px; line-height: 1.5; }
.ttt-indicators, .ttt-levers { display: flex; flex-wrap: wrap; gap: 12px; }
.ttt-indicators span, .ttt-levers span { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 13px 16px; color: #e2e8f0; background: rgba(255, 255, 255, 0.055); font-weight: 800; }
.ttt-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.ttt-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ttt-categories article { min-height: 190px; display: grid; align-content: center; justify-items: center; gap: 16px; border: 1px solid rgba(216, 163, 60, 0.18); border-radius: 24px; background: rgba(9, 18, 30, 0.78); padding: 18px; text-align: center; }
.ttt-categories img { width: 100%; max-width: 150px; height: 112px; object-fit: contain; }
.ttt-categories strong { color: #fff; font-size: 16px; }
.ttt-category-more { border-style: dashed !important; }
.ttt-placeholder { max-width: 820px; color: var(--ttt-soft); font-size: 16px; line-height: 1.5; margin: 18px 0 22px; }
.ttt-docs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.ttt-docs article { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.ttt-docs article.is-featured { border-color: rgba(240, 201, 120, 0.42); background: linear-gradient(145deg, rgba(216, 163, 60, 0.13), rgba(9, 18, 30, 0.88)); }
.ttt-contact { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr); gap: clamp(24px, 5vw, 62px); align-items: start; padding: clamp(28px, 5vw, 54px); border: 1px solid rgba(216, 163, 60, 0.25); border-radius: 36px; background: radial-gradient(circle at 15% 10%, rgba(216, 163, 60, 0.12), transparent 28rem), var(--ttt-panel-strong); }
.ttt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ttt-form label { display: grid; gap: 7px; color: #e2e8f0; font-size: 14px; font-weight: 800; }
.ttt-form__wide, .ttt-form button, .ttt-form-note, .ttt-form-message { grid-column: 1 / -1; }
.ttt-form input, .ttt-form textarea { width: 100%; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 14px; background: rgba(3, 7, 13, 0.62); color: #fff; padding: 14px 15px; font: inherit; font-size: 16px; }
.ttt-form textarea { resize: vertical; min-height: 110px; }
.ttt-form [aria-invalid="true"] { border-color: #f87171; }
.ttt-form-note, .ttt-form-message { margin: 0; color: var(--ttt-muted); font-size: 14px; line-height: 1.45; }
.ttt-form-message.is-error { color: #fca5a5; }
.ttt-form-message.is-success { color: #86efac; }
.ttt-footer { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 18px; align-items: center; padding: 28px 0 34px; border-top: 1px solid rgba(216, 163, 60, 0.16); color: var(--ttt-muted); }
.ttt-footer nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ttt-footer .ttt-nav-link { min-height: 38px; padding: 0 12px; }
@media (prefers-reduced-motion: reduce) { .ttt-home, .ttt-home * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 1180px) {
  .ttt-header { align-items: flex-start; flex-direction: column; }
  .ttt-nav { width: 100%; overflow: auto; border-radius: 22px; justify-content: flex-start; }
  .ttt-hero { min-height: 680px; }
  .ttt-section--split, .ttt-contact { grid-template-columns: 1fr; }
  .ttt-models, .ttt-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttt-cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ttt-cycle article:nth-child(3) { border-right: 0; }
  .ttt-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ttt-footer { grid-template-columns: 1fr; justify-items: start; }
  .ttt-footer nav { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .ttt-header, .ttt-main, .ttt-footer { width: min(calc(100% - 28px), var(--ttt-max)); }
  .ttt-brand__logo { width: 52px; height: 52px; }
  .ttt-brand__text small { font-size: 11px; }
  .ttt-nav { gap: 6px; padding: 7px; }
  .ttt-nav-link, .ttt-login, .ttt-icon-button, .ttt-auth .ghost { min-height: 38px; padding: 0 11px; font-size: 13px; }
  .ttt-hero { min-height: 620px; border-radius: 24px; }
  .ttt-hero__media img { opacity: 1; object-position: center; }
  .ttt-hero__content { padding: 28px; align-self: start; }
  .ttt-actions { flex-direction: column; }
  .ttt-button, .ttt-doc-action { width: 100%; }
  .ttt-directions { display: grid; }
  .ttt-section__head h2, .ttt-section__copy h2, .ttt-contact h2 { font-size: 31px; }
  .ttt-section__head p:not(.ttt-kicker), .ttt-section__copy p, .ttt-contact p { font-size: 16px; }
  .ttt-portfolio-map { min-height: 0; display: grid; gap: 10px; padding: 18px; place-items: stretch; }
  .ttt-portfolio-map strong { width: auto; height: auto; border-radius: 22px; }
  .ttt-portfolio-map span { position: static; width: auto; min-height: 0; transform: none !important; }
  .ttt-models, .ttt-partnership, .ttt-cycle, .ttt-capabilities, .ttt-categories, .ttt-docs, .ttt-form { grid-template-columns: 1fr; }
  .ttt-cycle { border-radius: 24px; }
  .ttt-cycle article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(216, 163, 60, 0.16); }
  .ttt-cycle article:last-child { border-bottom: 0; }
  .ttt-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttt-categories article { min-height: 156px; }
  .ttt-categories img { height: 88px; }
  .ttt-contact { padding: 24px; border-radius: 26px; }
}

/* Public home clean-room bento page */
.home-shell{padding:0;background:#f2f3f5;max-width:none}.public-home{--home-bg:#f2f3f5;--home-surface:#fff;--home-surface-soft:#e8ebef;--home-ink:#171a20;--home-muted:#66717d;--home-navy:#0c1d29;--home-navy-soft:#142d3b;--home-gold:#c89535;--home-gold-light:#e7cc8f;--home-border:rgba(23,26,32,.10);--home-max:1540px;background:var(--home-bg);color:var(--home-ink);font-family:inherit;min-height:100vh;overflow:hidden}.public-home *{box-sizing:border-box}.public-home a{text-decoration:none;color:inherit}.public-home__header{position:sticky;top:12px;z-index:30;width:min(calc(100% - 48px),var(--home-max));margin:12px auto 0;min-height:76px;display:flex;align-items:center;gap:14px;padding:10px 12px;background:rgba(255,255,255,.92);border:1px solid var(--home-border);border-radius:32px;backdrop-filter:blur(14px)}.public-home__brand{display:inline-flex;align-items:baseline;gap:5px;min-height:48px;padding:0 14px;border-radius:22px;font-weight:900;letter-spacing:-.04em}.public-home__brand span{font-size:24px}.public-home__brand strong{font-size:28px;color:var(--home-gold)}.public-home__nav{display:flex;gap:6px;margin-left:auto}.public-home__nav-link,.public-home__login,.public-home__mobile-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:999px;color:var(--home-muted);font-weight:800}.public-home__nav-link:hover,.public-home__nav-link:focus-visible,.public-home__login:hover,.public-home__login:focus-visible,.public-home__mobile-link:hover,.public-home__mobile-link:focus-visible{background:var(--home-surface-soft);color:var(--home-ink);outline:0}.public-home__nav-link.is-active,.public-home__mobile-link.is-active{background:var(--home-navy);color:#fff}.public-home__auth{display:flex;align-items:center;gap:8px}.public-home__auth span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--home-muted);font-size:13px}.public-home__icon{position:relative;min-width:44px;height:44px;border:1px solid var(--home-border);border-radius:999px;background:#fff;color:var(--home-gold);cursor:pointer}.public-home__icon b{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px}.public-home__menu-button{display:none;width:48px;height:48px;border:0;border-radius:18px;background:var(--home-navy);margin-left:auto}.public-home__menu-button span{display:block;width:20px;height:2px;background:#fff;margin:6px auto}.public-home__mobile-menu{display:none}.public-home__main{width:min(calc(100% - 48px),var(--home-max));margin:0 auto;padding:18px 0 118px;display:grid;gap:clamp(76px,8vw,128px)}.public-home__section{scroll-margin-top:110px}.public-home__eyebrow{margin:0 0 14px;color:var(--home-gold);font-size:13px;font-weight:900;letter-spacing:.12em}.public-home h1,.public-home h2{margin:0;letter-spacing:-.055em;line-height:.98}.public-home h1{font-size:clamp(42px,5.7vw,92px);max-width:940px}.public-home h2{font-size:clamp(34px,4.2vw,66px)}.public-home h3{margin:0 0 10px;font-size:22px;line-height:1.08}.public-home p{color:var(--home-muted);line-height:1.55}.public-home__button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border-radius:999px;border:1px solid var(--home-border);background:#fff;font-weight:900;transition:.18s ease}.public-home__button--primary{background:var(--home-gold);border-color:var(--home-gold);color:#101820}.public-home__button:hover,.public-home__button:focus-visible{transform:translateY(-2px);outline:3px solid rgba(200,149,53,.22);outline-offset:2px}.public-home__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.public-home__section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.home-bento{display:grid;grid-template-columns:5fr 7fr;gap:18px;align-items:stretch}.home-bento__side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-card{background:var(--home-surface);border:1px solid var(--home-border);border-radius:32px;padding:28px;min-height:180px}.home-card--brand{display:grid;align-content:space-between;background:var(--home-navy);color:#fff}.home-card--brand small{color:var(--home-gold-light);font-weight:900;letter-spacing:.12em}.home-card--brand strong{font-size:34px;line-height:1}.home-card--route{display:flex;align-items:center;justify-content:space-around;background:var(--home-surface-soft);font-weight:950;font-size:34px}.home-card--route i{width:32%;height:2px;background:var(--home-gold);position:relative}.home-card--route i:after{content:"";position:absolute;right:0;top:-5px;border-left:10px solid var(--home-gold);border-top:6px solid transparent;border-bottom:6px solid transparent}.home-card--cta{display:grid;place-items:center;background:var(--home-gold);font-weight:950;font-size:24px}.home-bento__hero{min-height:680px;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;background:radial-gradient(circle at 78% 25%,rgba(231,204,143,.5),transparent 18rem),var(--home-surface)}.home-bento__hero>div:first-child p:not(.public-home__eyebrow){max-width:640px;font-size:22px}.home-bento__visual{position:relative;min-height:220px}.home-bento__visual span{position:absolute;border-radius:36px;background:var(--home-navy);box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}.home-bento__visual span:nth-child(1){right:10%;top:0;width:46%;height:72%;transform:rotate(-8deg)}.home-bento__visual span:nth-child(2){right:34%;bottom:0;width:30%;height:48%;background:var(--home-gold)}.home-bento__visual span:nth-child(3){right:2%;bottom:12%;width:24%;height:42%;background:var(--home-navy-soft)}.public-home__chips{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.public-home__chips li,.home-pills span{border:1px solid var(--home-border);border-radius:999px;padding:10px 13px;background:#fff;color:var(--home-muted);font-weight:800}.home-split,.home-base{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,6vw,86px);align-items:center}.home-mosaic{height:640px;position:relative}.home-mosaic span{position:absolute;background:var(--home-surface);border:1px solid var(--home-border);border-radius:42px}.home-mosaic span:nth-child(1){left:0;top:7%;width:55%;height:68%;border-radius:120px 42px 42px 120px;background:linear-gradient(135deg,var(--home-navy),var(--home-navy-soft))}.home-mosaic span:nth-child(2){right:8%;top:0;width:38%;height:38%;border-radius:50%;background:var(--home-gold-light)}.home-mosaic span:nth-child(3){right:0;bottom:16%;width:50%;height:38%;background:var(--home-surface-soft)}.home-mosaic span:nth-child(4){left:16%;bottom:4%;width:48%;height:28%;background:#fff}.home-numbered{margin-top:30px;border-left:1px solid var(--home-border)}.home-numbered article{display:grid;grid-template-columns:64px 1fr;gap:18px;padding:0 0 34px 0}.home-numbered span{color:var(--home-gold);font-weight:950;font-size:22px;transform:translateX(-18px);background:var(--home-bg)}.home-thesis{padding:22px 26px;border-radius:24px;background:#fff;font-weight:900;color:var(--home-ink)!important}.home-method{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.home-method article{padding:30px;border-radius:30px;background:#fff;border:1px solid var(--home-border)}.home-method strong{display:block;font-size:clamp(32px,3.2vw,54px);letter-spacing:-.06em}.home-dark{margin-inline:calc((100vw - min(calc(100vw - 48px),var(--home-max))) / -2);padding:100px max(24px,calc((100vw - var(--home-max))/2));background:var(--home-navy);color:#fff}.home-dark p{color:#cbd5df}.home-tabs__list{display:inline-flex;gap:4px;border:1px solid rgba(231,204,143,.6);border-radius:999px;padding:4px;margin-bottom:24px}.home-tabs__list button{min-height:52px;border:0;border-radius:999px;background:transparent;color:#fff;padding:0 24px;font-weight:900;cursor:pointer}.home-tabs__list button[aria-selected="true"]{background:var(--home-gold-light);color:#152330}.home-tabs__panel{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.home-tabs__panel article,.home-cycles article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:28px;padding:26px}.home-base aside{margin-top:22px;padding:22px;border-radius:24px;background:var(--home-navy);color:#fff;font-weight:900}.home-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.home-route-art{min-height:520px;border-radius:34px;background:radial-gradient(circle at 20% 20%,var(--home-gold-light),transparent 16rem),#fff;border:1px solid var(--home-border);display:grid;place-content:center;gap:20px;text-align:center;font-weight:950}.home-route-art span{padding:18px 28px;border-radius:22px;background:var(--home-navy);color:#fff}.home-route-art i{height:56px;width:2px;background:var(--home-gold);margin:auto}.home-decision{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.home-decision article{position:relative;background:#fff;border:1px solid var(--home-border);border-radius:32px;padding:28px}.home-decision article:not(:last-child):after{content:"→";position:absolute;right:-32px;top:50%;font-size:34px;color:var(--home-gold)}.public-home ul{padding-left:20px;line-height:1.7;color:var(--home-muted)}.home-process{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(180px,auto);gap:16px}.home-process article{background:#fff;border:1px solid var(--home-border);border-radius:30px;padding:26px}.home-process__lead{grid-column:span 2;grid-row:span 2;background:var(--home-navy)!important;color:#fff}.home-process__lead p{color:#d7dee7}.home-process span{color:var(--home-gold);font-weight:950}.home-timeline{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:18px;padding-top:42px}.home-timeline:before{content:"";position:absolute;left:8%;right:8%;top:16px;height:2px;background:var(--home-border)}.home-timeline article{position:relative;background:#fff;border:1px solid var(--home-border);border-radius:28px;padding:26px}.home-timeline article:before{content:"";position:absolute;top:-34px;left:28px;width:18px;height:18px;border-radius:50%;background:var(--home-gold);box-shadow:0 0 0 8px var(--home-bg)}.home-timeline span{display:block;color:var(--home-gold);font-weight:950;font-size:26px}.home-cycles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-cycles article{background:#fff;color:var(--home-ink);border-color:var(--home-border)}.home-final{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.home-final article{background:#fff;border:1px solid var(--home-border);border-radius:32px;padding:28px}.home-final__main{grid-row:span 2;background:var(--home-navy)!important;color:#fff}.home-final__main h3{font-size:clamp(30px,3vw,50px);letter-spacing:-.05em}.home-final__main ul,.home-final__main p{color:#d7dee7}.home-footer{background:var(--home-navy);color:#fff;padding:70px max(24px,calc((100vw - var(--home-max))/2)) 34px}.home-footer__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.home-footer h2{font-size:22px;letter-spacing:0}.home-footer a{display:block;color:#cbd5df;margin:12px 0}.home-footer p{margin-top:44px;color:#9aa9b8;border-top:1px solid rgba(255,255,255,.12);padding-top:22px}.public-home :focus-visible{outline:3px solid rgba(200,149,53,.35);outline-offset:3px}@media(prefers-reduced-motion:reduce){.public-home *{scroll-behavior:auto!important;transition:none!important}}@media(max-width:1100px){.public-home__nav,.public-home__auth{display:none}.public-home__menu-button{display:block}.public-home__mobile-menu{position:absolute;left:12px;right:12px;top:calc(100% + 8px);padding:12px;background:#fff;border:1px solid var(--home-border);border-radius:24px;box-shadow:0 18px 44px rgba(12,29,41,.14)}.public-home__mobile-menu:not([hidden]){display:grid;gap:8px}.public-home__mobile-auth{display:flex;gap:8px;align-items:center}.home-bento,.home-split,.home-base{grid-template-columns:1fr}.home-bento__hero{order:-1}.home-method,.home-tabs__panel,.home-process,.home-cycles,.home-footer__grid{grid-template-columns:repeat(2,1fr)}.home-process__lead{grid-column:span 2}.home-decision{grid-template-columns:1fr;gap:16px}.home-decision article:after{display:none}.home-timeline{grid-template-columns:1fr;padding-top:0;padding-left:34px}.home-timeline:before{left:8px;right:auto;top:0;bottom:0;width:2px;height:auto}.home-timeline article:before{top:28px;left:-35px}.home-final{grid-template-columns:1fr 1fr}.home-final__main{grid-column:1/-1}}@media(max-width:640px){.public-home__header,.public-home__main{width:min(calc(100% - 24px),var(--home-max))}.public-home__header{top:8px;border-radius:24px}.public-home__brand span{font-size:19px}.public-home__brand strong{font-size:23px}.public-home__main{gap:70px}.home-bento__side,.home-method,.home-tabs__panel,.home-process,.home-cycles,.home-final,.home-footer__grid{grid-template-columns:1fr}.home-card{border-radius:26px;padding:22px;min-height:150px}.home-bento__hero{min-height:0}.home-bento__visual{min-height:180px}.public-home h1{font-size:42px}.public-home h2{font-size:34px}.public-home__actions,.public-home__button{width:100%}.home-mosaic{height:360px}.home-dark{margin-inline:-12px;padding:70px 12px}.home-tabs__list{display:flex;overflow:auto;border-radius:22px}.home-tabs__list button{white-space:nowrap}.home-process__lead{grid-column:auto}.home-final__main{grid-column:auto}.home-footer{padding-left:12px;padding-right:12px}.public-home p,.public-home li{font-size:16px}.public-home__chips{display:grid;grid-template-columns:1fr 1fr}.public-home__chips li{font-size:13px}}

/* First screen rebuilt to six-card diHouse-like architecture */
.home-first-screen{--fs-bg:#f2f3f5;--fs-surface:#fff;--fs-soft:#ebeef2;--fs-ink:#171a20;--fs-muted:#66717d;--fs-navy:#0c1d29;--fs-navy-2:#142d3b;--fs-gold:#c89535;--fs-gold-2:#e7cc8f;--fs-border:rgba(23,26,32,.10);min-height:100svh;background:var(--fs-bg);display:grid;align-items:start;padding:28px 24px 48px;color:var(--fs-ink);overflow:hidden}.home-first-screen *{box-sizing:border-box}.home-first-screen a{text-decoration:none;color:inherit}.home-first-screen__layout{width:min(100%,1420px);margin:0 auto;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:16px;height:clamp(620px,calc(100svh - 110px),680px)}.home-first-screen__left{display:grid;grid-template-columns:minmax(0,3.2fr) minmax(0,2fr);grid-template-rows:92fr 186fr 242fr 105fr;gap:16px;min-width:0}.home-first-card{border:1px solid var(--fs-border);border-radius:30px;overflow:hidden;background:var(--fs-surface);box-shadow:0 16px 40px rgba(12,29,41,.05)}.home-brand-card{grid-column:1/3;grid-row:1;display:flex;align-items:center;gap:18px;padding:16px 22px}.home-brand-card__menu{width:56px;height:56px;display:grid;place-content:center;gap:5px;border:0;border-radius:50%;background:#251f24;color:#fff;cursor:pointer;flex:0 0 auto}.home-brand-card__menu span{width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,opacity .18s ease}.home-brand-card__menu[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.home-brand-card__menu[aria-expanded=true] span:nth-child(2){opacity:0}.home-brand-card__menu[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.home-brand-card__logo{display:inline-flex;align-items:baseline;gap:5px;font-weight:950;letter-spacing:-.05em;white-space:nowrap}.home-brand-card__logo span{font-size:26px}.home-brand-card__logo strong{font-size:30px;color:var(--fs-gold)}.home-brand-card__spacer{flex:1}.home-brand-card__globe{display:grid;place-items:center;color:var(--fs-ink)}.home-brand-card__lang{min-height:32px;display:inline-flex;align-items:center;border-radius:999px;padding:0 10px;color:#a3abb5;font-weight:900}.home-brand-card__lang.is-active{background:#f5e5bd;color:var(--fs-navy)}.home-story-card{grid-column:1;grid-row:2/4;padding:22px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:22px}.home-story-card__collage{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:8px;min-height:0;border-radius:22px;overflow:hidden;background:var(--fs-soft)}.home-story-card__collage span{background:linear-gradient(135deg,var(--fs-navy),var(--fs-navy-2));border-radius:16px}.home-story-card__collage span:nth-child(1){grid-column:1/3;grid-row:1/3;background:radial-gradient(circle at 30% 20%,var(--fs-gold-2),transparent 38%),var(--fs-navy)}.home-story-card__collage span:nth-child(2){background:linear-gradient(135deg,#fff,var(--fs-soft))}.home-story-card__collage span:nth-child(3){grid-column:3;grid-row:2/4;background:linear-gradient(145deg,var(--fs-gold),var(--fs-gold-2))}.home-story-card__collage span:nth-child(4){grid-column:1/3;background:repeating-linear-gradient(90deg,#fff 0 16px,var(--fs-soft) 16px 32px)}.home-story-card h2{font-size:clamp(22px,2vw,29px);line-height:1.12;letter-spacing:-.035em;margin:0}.home-menu-panel{grid-column:1;grid-row:2/4;background:var(--fs-navy);padding:18px;display:grid;align-content:start;gap:8px}.home-menu-panel[hidden]{display:none!important}.home-story-card.is-menu-hidden{display:none}.home-menu-panel__link{min-height:50px;display:flex;align-items:center;gap:12px;border-radius:18px;padding:0 14px;color:#d7dee7;font-weight:900}.home-menu-panel__link span{width:22px;height:22px;border:1.8px solid currentColor;border-radius:7px;opacity:.72}.home-menu-panel__link:hover,.home-menu-panel__link:focus-visible,.home-menu-panel__link.is-active{background:rgba(255,255,255,.10);color:#fff;outline:0}.home-contact-card{grid-column:2;grid-row:2;position:relative;display:grid;align-content:space-between;padding:28px;color:var(--fs-ink)}.home-contact-card:before{content:"";position:absolute;inset:18px;background:linear-gradient(135deg,transparent 48%,rgba(12,29,41,.06) 49% 51%,transparent 52%),linear-gradient(45deg,transparent 48%,rgba(12,29,41,.05) 49% 51%,transparent 52%);background-size:42px 42px;border-radius:22px}.home-contact-card strong{font-size:26px;z-index:1}.home-contact-card span{z-index:1;place-self:center;color:#251f24}.home-contact-card svg{width:70px;height:70px}.home-partner-card{grid-column:2;grid-row:3/5;display:grid;grid-template-rows:auto auto 1fr;gap:12px;padding:30px;background:radial-gradient(circle at 70% 78%,var(--fs-gold-2),transparent 12rem),linear-gradient(180deg,#fff,#f4f0e8);position:relative}.home-partner-card strong{font-size:26px;line-height:1.05}.home-partner-card small{color:var(--fs-muted);font-size:15px;line-height:1.35}.home-partner-card>span{align-self:end;min-height:160px;position:relative}.home-partner-card i{position:absolute;border-radius:28px;background:var(--fs-navy)}.home-partner-card i:nth-child(1){width:82px;height:82px;left:10px;bottom:24px;transform:rotate(20deg)}.home-partner-card i:nth-child(2){width:110px;height:64px;right:0;bottom:0;background:var(--fs-gold)}.home-partner-card i:nth-child(3){width:64px;height:120px;right:28px;bottom:50px;background:var(--fs-navy-2);transform:rotate(-18deg)}.home-social-card{grid-column:1;grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;background:#251f24;color:#fff}.home-social-card strong{font-size:19px}.home-social-card div{display:flex;align-items:center}.home-social-card span{width:54px;height:54px;display:grid;place-items:center;margin-left:-10px;border-radius:50%;background:#fff;color:#251f24;font-size:13px;font-weight:950;border:1px solid rgba(0,0,0,.08)}.home-showcase{display:grid;grid-template-rows:54px minmax(0,1fr) 96px;gap:14px;padding:18px}.home-showcase__top{display:flex;align-items:center;justify-content:space-between;gap:18px}.home-showcase__search{height:54px;width:min(65%,500px);display:flex;align-items:center;gap:12px;background:#f0f1f5;border-radius:999px;padding:0 18px}.home-showcase__search input{min-width:0;flex:1;border:0;background:transparent;font:inherit;font-size:17px;outline:0}.home-showcase__search svg{width:24px;height:24px;color:#111820}.home-showcase__cabinet{height:54px;min-width:230px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;background:#251f24;color:#fff;font-weight:900}.home-showcase__cabinet svg{width:22px;height:22px}.home-showcase__content{min-height:0;position:relative}.home-showcase__panel{height:100%;grid-template-columns:minmax(0,.95fr) minmax(270px,1fr);align-items:center;gap:28px;padding:22px 24px}.home-showcase__panel:not([hidden]){display:grid}.home-showcase__copy{max-width:480px}.home-showcase__copy>p:first-child{margin:0 0 18px;color:var(--fs-gold);font-weight:950;letter-spacing:.1em;font-size:13px;text-transform:uppercase}.home-showcase__copy h1,.home-showcase__copy h2{margin:0;font-size:clamp(44px,4.1vw,58px);line-height:1;letter-spacing:-.055em}.home-showcase__copy p:last-child{font-size:18px;line-height:1.45;color:var(--fs-muted);margin:20px 0 0}.home-showcase__visual{height:min(100%,390px);min-height:300px;position:relative;border-radius:30px;background:radial-gradient(circle at 50% 35%,var(--fs-gold-2),transparent 12rem),var(--fs-soft);overflow:hidden;display:grid;place-items:end center;padding:24px;text-align:center;color:var(--fs-navy);font-weight:950}.home-showcase__visual span{position:absolute;border-radius:26px;background:var(--fs-navy);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.home-showcase__visual span:nth-child(1){width:44%;height:58%;left:12%;top:18%;transform:rotate(-10deg)}.home-showcase__visual span:nth-child(2){width:32%;height:42%;right:18%;top:24%;background:var(--fs-gold);transform:rotate(14deg)}.home-showcase__visual span:nth-child(3){width:52%;height:22%;left:24%;bottom:28%;background:#fff;border:1px solid var(--fs-border)}.home-showcase__visual b{position:relative;z-index:1;background:rgba(255,255,255,.86);border:1px solid var(--fs-border);border-radius:999px;padding:10px 16px}.home-showcase__tabs{height:96px;display:flex;align-items:center;padding:12px;border-radius:30px;background:#fff;box-shadow:0 14px 34px rgba(12,29,41,.08);overflow:auto;scroll-snap-type:x proximity}.home-showcase__tabs button{flex:1 0 auto;min-width:128px;height:58px;border:1px solid #251f24;border-radius:999px;background:#fff;color:#251f24;padding:0 18px;font:inherit;font-weight:900;cursor:pointer;scroll-snap-align:start;margin-left:-1px}.home-showcase__tabs button[aria-selected=true]{background:#251f24;color:var(--fs-gold-2)}.home-showcase__tabs button:hover,.home-showcase__tabs button:focus-visible{background:var(--fs-navy);color:#fff;outline:0}.public-home__below{width:min(100% - 48px,1420px);margin:0 auto 90px;padding:40px;border-radius:30px;background:#fff;border:1px solid rgba(23,26,32,.10)}.public-home__below h2{font-size:34px}.public-home__below a{color:var(--fs-navy);font-weight:900}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.home-first-screen :focus-visible{outline:3px solid rgba(200,149,53,.36);outline-offset:3px}@media(prefers-reduced-motion:reduce){.home-first-screen *{transition:none!important;scroll-behavior:auto!important}}@media(max-width:1199px){.home-first-screen{padding:20px 16px}.home-first-screen__layout{grid-template-columns:minmax(0,2.15fr) minmax(0,2.85fr);gap:14px}.home-first-screen__left{gap:14px}.home-brand-card{padding:12px 14px;gap:12px}.home-brand-card__menu{width:50px;height:50px}.home-brand-card__logo span{font-size:21px}.home-brand-card__logo strong{font-size:25px}.home-showcase__copy h1,.home-showcase__copy h2{font-size:clamp(38px,4vw,50px)}.home-showcase__panel{gap:18px;padding:16px}.home-showcase__cabinet{min-width:190px}.home-showcase__tabs button{min-width:118px;padding:0 14px}}@media(max-width:899px){.home-first-screen{overflow:visible;display:block;min-height:0}.home-first-screen__layout{height:auto;display:grid;grid-template-columns:1fr}.home-first-screen__left{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:14px}.home-brand-card{grid-column:1;grid-row:auto;min-height:88px;order:1}.home-showcase{order:2;min-height:720px}.home-story-card{grid-column:1;grid-row:auto;order:3;min-height:390px}.home-menu-panel{grid-column:1;grid-row:auto;order:2}.home-contact-card{grid-column:1;grid-row:auto;order:4;min-height:170px}.home-partner-card{grid-column:1;grid-row:auto;order:5;min-height:330px}.home-social-card{grid-column:1;grid-row:auto;order:6;min-height:96px}.home-first-screen__layout>.home-showcase{grid-column:1;grid-row:2}.home-showcase__top{display:grid;grid-template-columns:1fr}.home-showcase__search{width:100%}.home-showcase__cabinet{width:100%;min-width:0}.home-showcase{grid-template-rows:auto minmax(0,1fr) auto}.home-showcase__panel:not([hidden]){grid-template-columns:1fr}.home-showcase__visual{min-height:230px}.home-showcase__copy h1,.home-showcase__copy h2{font-size:42px}.home-showcase__tabs{height:auto;display:flex;justify-content:flex-start}.home-showcase__tabs button{flex:0 0 auto}.public-home__below{width:calc(100% - 32px)}}@media(max-width:430px){.home-first-screen{padding:12px}.home-brand-card__globe,.home-brand-card__lang:not(.is-active){display:none}.home-brand-card__logo span{font-size:19px}.home-brand-card__logo strong{font-size:23px}.home-showcase{min-height:700px;border-radius:26px;padding:14px}.home-showcase__copy h1,.home-showcase__copy h2{font-size:38px}.home-showcase__panel{padding:10px}.home-story-card,.home-contact-card,.home-partner-card,.home-social-card{border-radius:26px}.home-social-card span{width:48px;height:48px}.home-showcase__visual{min-height:210px}}

/* Neon public home and global chat */
.home-shell{padding:0;max-width:none;background:#04050b}.neo-home{--page-bg:#04050b;--page-bg-secondary:#070a16;--panel-bg:#080c1c;--panel-bg-elevated:#0d1228;--panel-bg-hover:#111735;--text-primary:#f7f7fb;--text-secondary:#b6bbca;--text-muted:#777f96;--gold:#f3b548;--gold-light:#ffd77f;--gold-dark:#b87615;--pink:#ff42cf;--pink-soft:#d934cb;--violet:#7752ff;--violet-dark:#352476;--blue:#3c7cff;--cyan:#37d5ff;--border-default:rgba(133,144,188,.18);--border-bright:rgba(155,103,255,.55);--border-gold:rgba(243,181,72,.72);--border-pink:rgba(255,66,207,.72);--glow-violet:0 0 28px rgba(119,82,255,.2);--glow-pink:0 0 28px rgba(255,66,207,.22);--glow-gold:0 0 24px rgba(243,181,72,.19);min-height:100vh;background:radial-gradient(circle at 84% 10%,rgba(119,82,255,.2),transparent 32rem),radial-gradient(circle at 16% 28%,rgba(255,66,207,.10),transparent 34rem),linear-gradient(180deg,#03040a,#070a16 42%,#04050b);color:var(--text-primary);font-family:inherit;overflow:hidden}.neo-home *{box-sizing:border-box}.neo-home a{color:inherit;text-decoration:none}.neo-header,.neo-hero-grid,.neo-ticker,.neo-section,.neo-footer{width:min(calc(100% - 48px),1540px);margin-inline:auto}.neo-header{position:sticky;top:16px;z-index:40;min-height:78px;display:grid;grid-template-columns:auto auto minmax(260px,430px) auto auto;gap:18px;align-items:center;padding:12px 18px;border:1px solid var(--border-default);border-radius:18px;background:rgba(8,12,28,.72);backdrop-filter:blur(16px);box-shadow:0 20px 80px rgba(0,0,0,.32)}.neo-brand{display:inline-flex;align-items:center;gap:14px;min-width:0}.neo-brand__mark{width:54px;height:54px;border:2px solid var(--gold-light);border-radius:16px;transform:rotate(45deg);box-shadow:var(--glow-gold);position:relative;flex:0 0 auto}.neo-brand__mark:after{content:"";position:absolute;inset:17px;border:2px solid var(--gold-light);border-radius:4px}.neo-brand strong{display:block;font-size:30px;line-height:1;font-weight:950;letter-spacing:-.04em}.neo-brand em{color:var(--gold);font-style:normal}.neo-brand small{display:block;margin-top:6px;color:var(--text-muted);font-size:14px}.neo-lang{display:flex;gap:8px;padding:8px;border:1px solid var(--border-default);border-radius:18px;background:rgba(3,5,14,.54)}.neo-lang button{min-width:70px;height:42px;border:0;border-radius:999px;background:transparent;color:var(--text-secondary);font-weight:850;cursor:pointer}.neo-lang button.is-active{background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:#120d08;box-shadow:var(--glow-gold)}.neo-search{height:56px;display:flex;align-items:center;gap:12px;border:1px solid var(--border-bright);border-radius:18px;background:rgba(13,18,40,.78);padding:0 16px}.neo-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text-primary);font:inherit}.neo-search button{border:0;background:transparent;color:var(--text-secondary);font-size:22px}.neo-header-btn{height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border-gold);border-radius:18px;background:rgba(8,12,28,.92);padding:0 22px;font-weight:900;white-space:nowrap;box-shadow:var(--glow-gold)}.neo-header-btn:hover,.neo-header-btn:focus-visible{border-color:var(--gold-light);transform:translateY(-1px);outline:0}.neo-icon{width:24px;height:24px;display:inline-block;position:relative;color:currentColor}.neo-icon:before,.neo-icon:after{content:"";position:absolute;inset:3px;border:2px solid currentColor;border-radius:7px}.neo-icon--search:after{inset:auto 0 0 auto;width:8px;height:2px;transform:rotate(45deg);border:0;background:currentColor}.neo-icon--phone:before{border-radius:50%;inset:0}.neo-icon--handshake:before{transform:rotate(45deg)}.neo-icon--grid:before{box-shadow:10px 0 0 -1px currentColor,0 10px 0 -1px currentColor,10px 10px 0 -1px currentColor;border-radius:3px}.neo-icon--user:before{border-radius:50%;inset:1px 7px 11px}.neo-icon--user:after{inset:13px 3px 2px;border-radius:50% 50% 4px 4px}.neo-hero-grid{display:grid;grid-template-columns:minmax(320px,.34fr) minmax(0,.66fr);gap:18px;margin-top:28px}.neo-side{display:grid;gap:16px}.neo-side-card,.neo-hero,.neo-section,.neo-footer{border:1px solid var(--border-default);background:linear-gradient(145deg,rgba(13,18,40,.86),rgba(4,5,11,.9));border-radius:18px;box-shadow:0 24px 90px rgba(0,0,0,.34);overflow:hidden}.neo-contact-card{min-height:168px;padding:28px;position:relative}.neo-contact-card>div{position:relative;z-index:1;display:grid;gap:10px}.neo-contact-card h2,.neo-partner-card h2{margin:0;font-size:22px}.neo-contact-card a{color:var(--text-secondary)}.neo-map-dots{position:absolute;right:38px;top:22px;width:150px;height:120px;background:radial-gradient(circle,var(--violet) 1.3px,transparent 2px);background-size:8px 8px;clip-path:polygon(30% 0,70% 10%,83% 36%,66% 64%,88% 100%,38% 88%,12% 58%);opacity:.65;filter:drop-shadow(0 0 16px var(--violet))}.neo-partner-card{min-height:220px;padding:28px;position:relative;border-color:var(--border-pink);box-shadow:0 0 34px rgba(255,66,207,.24);transform:translateY(-2px)}.neo-partner-card em{color:var(--pink);font-style:normal}.neo-partner-card p{max-width:310px;color:var(--text-secondary);line-height:1.55}.neo-partner-card button,.neo-button{min-height:48px;border:1px solid var(--border-pink);border-radius:14px;background:rgba(255,66,207,.08);color:var(--text-primary);padding:0 18px;font:inherit;font-weight:900;cursor:pointer}.neo-button--accent{display:inline-flex;align-items:center;justify-content:center;border-color:var(--border-pink);box-shadow:var(--glow-pink)}.neo-globe{position:absolute;right:-38px;bottom:-44px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(255,215,127,.75),rgba(119,82,255,.26) 36%,rgba(4,5,11,.1) 62%),repeating-radial-gradient(circle,transparent 0 18px,rgba(255,255,255,.14) 19px 20px);box-shadow:0 0 42px rgba(119,82,255,.42)}.neo-thailand-card{min-height:220px;position:relative}.neo-media-placeholder{height:100%;min-height:220px;background:linear-gradient(180deg,rgba(4,5,11,.06),rgba(4,5,11,.55)),radial-gradient(circle at 65% 45%,rgba(243,181,72,.75),transparent 8rem),linear-gradient(135deg,#111735,#352476 52%,#070a16);position:relative}.neo-media-placeholder span{position:absolute;inset:auto 8% 8% 8%;height:42%;background:repeating-linear-gradient(90deg,rgba(255,215,127,.9) 0 2px,transparent 2px 28px);clip-path:polygon(0 100%,0 66%,8% 58%,8% 44%,14% 44%,14% 62%,22% 54%,22% 30%,30% 30%,30% 68%,42% 50%,42% 14%,48% 14%,48% 60%,58% 48%,58% 32%,66% 32%,66% 68%,100% 60%,100% 100%);filter:drop-shadow(0 0 16px rgba(243,181,72,.6))}.neo-media-dots{position:absolute;right:20px;bottom:18px;display:flex;gap:8px}.neo-media-dots i{width:10px;height:10px;border-radius:50%;border:1px solid var(--text-muted)}.neo-media-dots .is-active{background:var(--pink);box-shadow:var(--glow-pink)}.neo-social-card{min-height:96px;display:flex;align-items:center;justify-content:center;gap:14px;padding:18px}.neo-social-card a,.neo-social-card button{width:48px;height:48px;border-radius:50%;border:1px solid var(--border-default);background:rgba(8,12,28,.84);color:var(--text-primary);display:grid;place-items:center;font-weight:950;position:relative}.neo-social-card a:hover,.neo-social-card button:hover{border-color:var(--cyan);box-shadow:0 0 20px rgba(55,213,255,.18)}.neo-social-chat{border-color:var(--border-pink)!important;box-shadow:var(--glow-pink)}.neo-social-chat span,.global-chat__online{position:absolute;right:4px;top:4px;width:10px;height:10px;border-radius:50%;background:#47e38a;box-shadow:0 0 10px #47e38a}.neo-hero{min-height:622px;display:grid;grid-template-rows:minmax(0,1fr) 106px;padding:16px;background:radial-gradient(circle at 70% 28%,rgba(119,82,255,.42),transparent 22rem),radial-gradient(circle at 95% 84%,rgba(255,66,207,.18),transparent 20rem),linear-gradient(145deg,#080c1c,#050711 68%)}.neo-hero__content{position:relative;min-height:0}.neo-hero__section{height:100%}.neo-hero__section[hidden],.neo-hero__slide[hidden]{display:none!important}.neo-hero__slide{height:100%;grid-template-columns:minmax(0,.9fr) minmax(340px,1fr);gap:22px;align-items:center;padding:30px 34px}.neo-hero__slide.is-active{display:grid}.neo-eyebrow{color:var(--gold);font-weight:950;letter-spacing:.12em}.neo-hero h1,.neo-hero h2,.neo-section h2{margin:0;font-size:clamp(44px,4.7vw,74px);line-height:.96;letter-spacing:-.06em}.neo-hero h1 em{color:var(--gold);font-style:normal}.neo-hero__copy>p:not(.neo-eyebrow){font-size:19px;line-height:1.55;color:var(--text-secondary);max-width:560px}.neo-hero ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;padding:0;margin:18px 0;list-style:none;color:var(--text-secondary)}.neo-hero li:before{content:"✦";color:var(--pink);margin-right:8px}.neo-hero__media{min-height:420px;position:relative;display:grid;place-items:center}.neo-orbit{position:absolute;width:86%;aspect-ratio:1;border:1px solid rgba(255,66,207,.4);border-radius:50%;box-shadow:inset 0 0 26px rgba(119,82,255,.35),0 0 38px rgba(119,82,255,.24)}.neo-product{position:absolute;width:170px;height:250px;border-radius:22px;border:1px solid var(--border-gold);display:grid;align-items:end;padding:18px;font-size:12px;letter-spacing:.08em;color:var(--text-secondary);box-shadow:0 24px 60px rgba(0,0,0,.38)}.neo-product--navy{left:20%;top:18%;background:linear-gradient(145deg,#0a1330,#03050d);transform:rotate(-12deg)}.neo-product--gold{right:18%;top:25%;background:linear-gradient(145deg,#ffd77f,#9f6414);color:#241402;transform:rotate(10deg)}.neo-product--pink{right:42%;bottom:18%;height:160px;background:linear-gradient(145deg,#331447,#0a1025);border-color:var(--border-pink);transform:rotate(-4deg)}.neo-platform{position:absolute;bottom:12%;width:56%;height:70px;border-radius:50%;background:radial-gradient(ellipse,var(--violet),transparent 68%);filter:blur(3px)}.neo-hero__controls{position:absolute;left:34px;right:34px;bottom:24px;display:flex;align-items:center;justify-content:flex-end;gap:12px}.neo-hero__controls button{width:38px;height:38px;border-radius:50%;border:1px solid var(--border-default);background:rgba(8,12,28,.76);color:#fff}.neo-hero__dots{display:flex;gap:8px}.neo-hero__dots button{width:9px;height:9px;padding:0}.neo-hero__dots button[aria-selected=true]{background:var(--gold)}.neo-hero__tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.neo-hero-tab{border:1px solid var(--border-default);border-radius:14px;background:rgba(8,12,28,.72);color:var(--text-secondary);display:grid;place-items:center;gap:8px;font:inherit;font-weight:850;cursor:pointer}.neo-hero-tab.is-active,.neo-hero-tab[aria-selected=true]{border-color:var(--border-gold);color:var(--gold-light);box-shadow:var(--glow-gold);background:linear-gradient(145deg,rgba(243,181,72,.12),rgba(8,12,28,.86))}.neo-ticker{height:64px;margin-top:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid var(--border-pink);border-radius:14px;background:rgba(8,12,28,.86);box-shadow:var(--glow-pink);padding:0 14px;overflow:hidden}.neo-ticker__viewport{overflow:hidden}.neo-ticker__track{display:flex;align-items:center;gap:18px;width:max-content;animation:neoTicker 42s linear infinite}.neo-ticker:hover .neo-ticker__track{animation-play-state:paused}.neo-ticker__item{white-space:nowrap;font-size:12px;text-transform:uppercase;color:var(--text-secondary)}.neo-ticker__item.is-symbol{font-size:22px}.neo-ticker i{width:5px;height:5px;border-radius:50%;background:var(--pink);box-shadow:var(--glow-pink)}@keyframes neoTicker{to{transform:translateX(-50%)}}.neo-section{margin-top:74px;padding:36px}.neo-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.neo-metrics article{padding:22px;border:1px solid var(--border-default);border-radius:16px;background:rgba(255,255,255,.03)}.neo-metrics strong{display:block;font-size:28px;color:var(--gold)}.neo-metrics span,.neo-section p,.neo-section li{color:var(--text-secondary);line-height:1.55}.neo-comparison{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.neo-comparison article,.neo-scenarios article,.neo-faq details{border:1px solid var(--border-default);border-radius:16px;background:rgba(255,255,255,.035);padding:22px}.neo-comparison .is-accent{border-color:var(--border-gold);box-shadow:var(--glow-gold)}.neo-process ol{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:step;padding:0;list-style:none}.neo-process li{padding:18px;border:1px solid var(--border-default);border-radius:16px;background:rgba(255,255,255,.035)}.neo-process li:before{counter-increment:step;content:counter(step,decimal-leading-zero);display:block;color:var(--gold);font-weight:950;margin-bottom:10px}.neo-production{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.neo-category-cloud{display:flex;flex-wrap:wrap;gap:12px}.neo-category-cloud span,.neo-cycle span{border:1px solid var(--border-bright);border-radius:999px;padding:12px 16px;background:rgba(119,82,255,.08)}.neo-cycle div{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.neo-scenarios div{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.neo-faq details{margin-top:10px}.neo-faq summary{cursor:pointer;font-weight:900}.neo-final{text-align:center}.neo-final>div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.neo-footer{margin-top:74px;margin-bottom:32px;padding:36px;display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:28px}.neo-footer h2{font-size:18px}.neo-footer a{display:block;color:var(--text-secondary);margin:10px 0}.neo-footer p{color:var(--text-secondary)}.neo-footer__bottom{grid-column:1/-1;display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--border-default);padding-top:20px;color:var(--text-muted)}.global-chat{position:fixed;right:24px;bottom:24px;z-index:200}.global-chat__launcher{position:relative;min-width:58px;height:58px;border-radius:999px;border:1px solid rgba(255,66,207,.72);background:linear-gradient(145deg,#111735,#070a16);color:#fff;box-shadow:0 0 28px rgba(255,66,207,.25);display:flex;align-items:center;gap:10px;padding:0 18px;cursor:pointer}.global-chat__launcher em{font-style:normal;font-weight:900}.global-chat__window{position:absolute;right:0;bottom:76px;width:min(420px,calc(100vw - 24px));height:min(660px,calc(100dvh - 110px));border:1px solid rgba(155,103,255,.55);border-radius:20px;background:rgba(8,12,28,.96);color:#f7f7fb;box-shadow:0 24px 90px rgba(0,0,0,.5);overflow:hidden;display:grid;grid-template-rows:auto 1fr auto auto auto}.global-chat__window[hidden]{display:none}.global-chat__window header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px;border-bottom:1px solid rgba(133,144,188,.18)}.global-chat__window header>div{display:flex;align-items:center;gap:10px}.global-chat__avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f3b548;color:#050711;font-weight:950}.global-chat__window h2{font-size:16px;margin:0}.global-chat__window p{margin:0;color:#b6bbca;font-size:12px}.global-chat__window header button,.global-chat__window footer button,.global-chat__quick button{border:1px solid rgba(133,144,188,.18);background:rgba(255,255,255,.04);color:#fff;border-radius:12px;min-height:36px}.global-chat__messages{padding:14px;overflow:auto;display:grid;align-content:start;gap:10px}.chat-msg{max-width:82%;border-radius:16px;padding:10px 12px;background:rgba(255,255,255,.07);color:#fff}.chat-msg.is-user{justify-self:end;background:rgba(255,66,207,.16);border:1px solid rgba(255,66,207,.35)}.chat-msg small{display:block;color:#b6bbca;margin-top:4px}.global-chat__quick{display:flex;gap:8px;overflow:auto;padding:10px 14px}.global-chat__quick button{white-space:nowrap;padding:0 10px}.global-chat__preview{padding:8px 14px;color:#ffd77f}.global-chat__window footer{display:grid;grid-template-columns:38px 38px 1fr 42px;gap:8px;padding:12px;border-top:1px solid rgba(133,144,188,.18)}.global-chat__window textarea{resize:none;border:1px solid rgba(133,144,188,.18);border-radius:12px;background:rgba(255,255,255,.04);color:#fff;padding:10px;font:inherit}.global-chat__note{padding:0 14px 12px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.neo-home :focus-visible,.global-chat :focus-visible{outline:3px solid rgba(243,181,72,.45);outline-offset:3px}@media(prefers-reduced-motion:reduce){.neo-home *,.global-chat *{animation:none!important;transition:none!important}}@media(max-width:1200px){.neo-header{grid-template-columns:1fr auto;gap:12px}.neo-search,.neo-header-btn,.neo-lang{grid-row:2}.neo-hero-grid{grid-template-columns:minmax(280px,.38fr) minmax(0,.62fr)}.neo-hero__slide{grid-template-columns:1fr}.neo-hero__media{min-height:260px}.neo-metrics,.neo-scenarios div{grid-template-columns:repeat(2,1fr)}.neo-comparison,.neo-production{grid-template-columns:1fr}.neo-process ol{grid-template-columns:repeat(2,1fr)}.neo-footer{grid-template-columns:1fr 1fr}}@media(max-width:760px){.neo-header,.neo-hero-grid,.neo-ticker,.neo-section,.neo-footer{width:calc(100% - 24px)}.neo-header{position:relative;top:0;display:grid;grid-template-columns:1fr}.neo-brand strong{font-size:24px}.neo-lang{width:100%;justify-content:space-between}.neo-lang button{min-width:0;flex:1}.neo-search{width:100%}.neo-header-btn{width:100%}.neo-hero-grid{grid-template-columns:1fr}.neo-hero{order:-1;min-height:760px;grid-template-rows:minmax(0,1fr) auto}.neo-hero h1,.neo-hero h2,.neo-section h2{font-size:38px}.neo-hero ul{grid-template-columns:1fr}.neo-hero__tabs{display:flex;overflow:auto;padding-bottom:4px}.neo-hero-tab{min-width:138px;min-height:84px}.neo-product{width:120px;height:180px}.neo-ticker{height:54px}.neo-metrics,.neo-process ol,.neo-scenarios div,.neo-footer{grid-template-columns:1fr}.neo-final>div{display:grid}.global-chat{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}.global-chat__launcher em{display:none}.global-chat__window{right:-4px;bottom:68px;width:calc(100vw - 16px);height:calc(100dvh - 92px)}}

/* Stable home media + zero-layout-shift hero fixes */
.neo-home{--hero-shell-height-desktop:740px;--hero-shell-height-laptop:720px;--hero-shell-height-tablet:780px;--hero-shell-height-mobile:840px;--hero-tabs-height:106px;--hero-controls-height:48px;--hero-copy-title-height:238px;--hero-copy-description-height:88px;--hero-copy-bullets-height:126px;overflow-x:hidden}.neo-brand__mark-wrap{position:relative;width:54px;height:54px;display:inline-grid;place-items:center;flex:0 0 54px}.neo-brand__logo{position:absolute;inset:0;width:54px;height:54px;object-fit:contain;z-index:2}.neo-brand__mark-wrap .neo-brand__mark{grid-area:1/1}.neo-brand__mark-wrap.is-loaded .neo-brand__mark{opacity:0}.neo-brand__mark-wrap.is-error .neo-brand__logo{display:none}.neo-hero-grid{align-items:start}.neo-side,.neo-hero{height:var(--hero-shell-height-desktop);min-height:var(--hero-shell-height-desktop);max-height:var(--hero-shell-height-desktop)}.neo-side{grid-template-rows:168px 220px minmax(0,1fr) 96px}.neo-hero{box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) var(--hero-tabs-height);overflow:hidden}.neo-hero__content{position:relative;height:100%;min-height:0;overflow:hidden}.neo-hero__section{position:absolute;inset:0;height:100%;min-height:0}.neo-hero__section[hidden]{display:none!important}.neo-hero__slide[hidden]{display:grid!important}.neo-hero__slide{position:absolute;inset:0 0 var(--hero-controls-height) 0;height:auto;min-height:0;display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(340px,1fr);gap:22px;align-items:stretch;padding:30px 34px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity 300ms ease,transform 300ms ease,visibility 0s linear 300ms}.neo-hero__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity 300ms ease,transform 300ms ease}.neo-hero__copy{min-height:0;display:grid;grid-template-rows:28px var(--hero-copy-title-height) var(--hero-copy-description-height) var(--hero-copy-bullets-height) 52px;align-content:start;gap:0}.neo-hero__copy .neo-eyebrow{height:28px;margin:0;overflow:hidden}.neo-hero__copy h1,.neo-hero__copy h2{min-height:var(--hero-copy-title-height);max-height:var(--hero-copy-title-height);overflow:hidden;align-self:start}.neo-hero__copy>p:not(.neo-eyebrow){min-height:var(--hero-copy-description-height);max-height:var(--hero-copy-description-height);overflow:hidden;margin:0}.neo-hero ul{min-height:var(--hero-copy-bullets-height);max-height:var(--hero-copy-bullets-height);overflow:hidden;margin:0;align-content:start}.neo-hero .neo-button{align-self:end;width:max-content}.neo-hero__controls{left:34px;right:34px;bottom:0;height:var(--hero-controls-height);align-items:center;z-index:5}.neo-hero__media{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;isolation:isolate;display:block;border-radius:16px;background:linear-gradient(145deg,#070a16,#111735)}.neo-hero-media__image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:scale(1.015);transition:opacity 300ms ease,transform 700ms ease;z-index:1}.neo-hero-media.is-loaded .neo-hero-media__image{opacity:1;transform:scale(1)}.neo-hero-media__image[hidden]{display:none}.neo-hero-media__fallback{position:absolute;inset:0;z-index:0;display:grid;place-items:center;background:radial-gradient(circle at 58% 38%,rgba(119,82,255,.34),transparent 16rem),linear-gradient(145deg,#080c1c,#050711)}.neo-hero-media__fallback[hidden]{display:none}.neo-hero-media__overlay{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(5,7,17,.2),transparent 38%,rgba(5,7,17,.2)),radial-gradient(circle at 70% 30%,transparent,rgba(5,7,17,.16) 72%)}.neo-hero-tab{box-sizing:border-box;height:88px;min-height:88px;max-height:88px;border-width:1px;padding:14px 16px;line-height:1.2;transition:color 180ms ease,background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease,transform 180ms ease}.neo-hero-tab:hover,.neo-hero-tab:focus-visible{border-color:var(--border-gold);box-shadow:var(--glow-gold);transform:translateY(-1px)}.neo-hero-tab.is-active,.neo-hero-tab[aria-selected=true]{border-width:1px;padding:14px 16px}.neo-ticker{height:64px;min-height:64px;max-height:64px;margin-top:16px}.neo-ticker__thumb{width:32px;height:32px;position:relative;display:inline-grid;place-items:center;flex:0 0 32px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,rgba(119,82,255,.45),rgba(243,181,72,.28));border:1px solid var(--border-default)}.neo-ticker__thumb img{width:100%;height:100%;object-fit:cover}.neo-ticker__thumb span{position:absolute;inset:8px;border-radius:4px;background:rgba(243,181,72,.5);opacity:.55}.neo-ticker__thumb.is-loaded span{display:none}.neo-media-placeholder{height:100%;min-height:0;overflow:hidden}.neo-media-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 300ms ease,transform 700ms ease}.neo-media-placeholder.is-loaded img{opacity:1}.neo-media-placeholder.is-loaded span{opacity:.22}.neo-production__media{display:grid;grid-template-columns:1.4fr .8fr;gap:12px;margin-top:18px}.neo-production__media img{width:100%;aspect-ratio:16/10;object-fit:cover;border:1px solid var(--border-default);border-radius:16px;background:linear-gradient(135deg,#111735,#352476)}.neo-production__media img:nth-child(2){aspect-ratio:1/1}@media(max-width:1440px){.neo-side,.neo-hero{height:var(--hero-shell-height-laptop);min-height:var(--hero-shell-height-laptop);max-height:var(--hero-shell-height-laptop)}.neo-home{--hero-copy-title-height:218px;--hero-copy-description-height:84px;--hero-copy-bullets-height:120px}.neo-hero h1,.neo-hero h2{font-size:clamp(40px,4.3vw,64px)}}@media(max-width:1200px){.neo-side,.neo-hero{height:var(--hero-shell-height-tablet);min-height:var(--hero-shell-height-tablet);max-height:var(--hero-shell-height-tablet)}.neo-hero__slide{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 260px}.neo-hero__media{min-height:0}.neo-home{--hero-copy-title-height:160px;--hero-copy-description-height:76px;--hero-copy-bullets-height:112px}}@media(max-width:760px){.neo-home{--hero-copy-title-height:178px;--hero-copy-description-height:96px;--hero-copy-bullets-height:168px;--hero-tabs-height:102px;--hero-controls-height:48px}.neo-side{height:auto;min-height:0;max-height:none;grid-template-rows:168px 220px 240px 96px}.neo-hero{height:var(--hero-shell-height-mobile);min-height:var(--hero-shell-height-mobile);max-height:var(--hero-shell-height-mobile);grid-template-rows:minmax(0,1fr) var(--hero-tabs-height)}.neo-hero__slide{inset:0 0 var(--hero-controls-height) 0;padding:22px 18px;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 230px}.neo-hero__copy h1,.neo-hero__copy h2{font-size:38px}.neo-hero ul{grid-template-columns:1fr}.neo-hero__controls{left:18px;right:18px}.neo-hero-tab{height:86px;min-height:86px;max-height:86px;min-width:138px;padding:12px}.neo-ticker{height:54px;min-height:54px;max-height:54px}.neo-production__media{grid-template-columns:1fr}}
@media(max-height:800px) and (min-width:761px){.neo-home{--hero-shell-height-laptop:560px;--hero-copy-title-height:146px;--hero-copy-description-height:64px;--hero-copy-bullets-height:82px;--hero-tabs-height:88px;--hero-controls-height:40px}.neo-side,.neo-hero{height:560px;min-height:560px;max-height:560px}.neo-side{grid-template-rows:124px 158px minmax(0,1fr) 74px;gap:12px}.neo-contact-card,.neo-partner-card{padding:18px}.neo-contact-card h2,.neo-partner-card h2{font-size:18px}.neo-contact-card a,.neo-partner-card p{font-size:14px}.neo-hero{padding:12px}.neo-hero__slide{padding:16px 22px;gap:18px}.neo-hero h1,.neo-hero h2{font-size:clamp(34px,3.4vw,48px);line-height:1}.neo-hero__copy>p:not(.neo-eyebrow){font-size:15px;line-height:1.45}.neo-hero ul{font-size:13px;gap:6px 12px}.neo-hero .neo-button{min-height:40px}.neo-hero-tab{height:76px;min-height:76px;max-height:76px;padding:10px 12px}.neo-hero__controls{height:40px}.neo-product{width:130px;height:190px}.neo-product--pink{height:124px}.neo-map-dots{width:112px;height:90px}.neo-globe{width:160px;height:160px}.neo-social-card{min-height:74px;padding:12px}.neo-social-card a,.neo-social-card button{width:42px;height:42px}}@media(max-width:760px){.neo-home{--hero-shell-height-mobile:560px;--hero-copy-title-height:120px;--hero-copy-description-height:76px;--hero-copy-bullets-height:92px;--hero-tabs-height:92px;--hero-controls-height:40px}.neo-hero__slide{grid-template-rows:minmax(0,1fr) 130px;padding:14px}.neo-hero__copy h1,.neo-hero__copy h2{font-size:30px;line-height:1}.neo-hero__copy>p:not(.neo-eyebrow){font-size:14px;line-height:1.35}.neo-hero ul{font-size:12px;gap:4px}.neo-hero .neo-button{min-height:38px;font-size:13px}.neo-hero-tab{height:78px;min-height:78px;max-height:78px;min-width:128px}.neo-hero__controls{height:40px;bottom:0}}

/* Real home media replaces CSS/SVG placeholders while preserving existing geometry */
.neo-contact-map,.neo-side-media,.neo-production-media{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate}.neo-contact-map{position:absolute;right:18px;top:12px;width:190px;height:138px;pointer-events:none}.neo-contact-map__image,.neo-side-media__image,.neo-production-media__image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;z-index:1;opacity:0;transition:opacity 300ms ease}.neo-contact-map.is-loaded .neo-contact-map__image,.neo-side-media.is-loaded .neo-side-media__image,.neo-production-media.is-loaded .neo-production-media__image{opacity:1}.neo-contact-map.is-loaded .neo-map-dots{opacity:.18}.neo-contact-map.is-error .neo-contact-map__image,.neo-side-media.is-error .neo-side-media__image,.neo-production-media.is-error .neo-production-media__image{display:none}.neo-side-media__fallback,.neo-production-media__fallback{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(4,5,11,.06),rgba(4,5,11,.55)),radial-gradient(circle at 65% 45%,rgba(243,181,72,.75),transparent 8rem),linear-gradient(135deg,#111735,#352476 52%,#070a16)}.neo-side-media.is-loaded .neo-side-media__fallback,.neo-production-media.is-loaded .neo-production-media__fallback{opacity:0;visibility:hidden;pointer-events:none}.neo-side-media__fallback span{position:absolute;inset:auto 8% 8% 8%;height:42%;background:repeating-linear-gradient(90deg,rgba(255,215,127,.9) 0 2px,transparent 2px 28px);clip-path:polygon(0 100%,0 66%,8% 58%,8% 44%,14% 44%,14% 62%,22% 54%,22% 30%,30% 30%,30% 68%,42% 50%,42% 14%,48% 14%,48% 60%,58% 48%,58% 32%,66% 32%,66% 68%,100% 60%,100% 100%);filter:drop-shadow(0 0 16px rgba(243,181,72,.6))}.neo-side-media__overlay,.neo-production-media__overlay{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(4,6,16,.04),rgba(4,6,16,.34))}.neo-side-media__dots{z-index:3}.neo-production-media{min-height:260px;margin-top:18px;border:1px solid var(--border-default);border-radius:16px;background:linear-gradient(135deg,#111735,#352476)}.neo-production-media:before{content:"";display:block;aspect-ratio:16/10}.neo-production-media>*{position:absolute}.neo-ticker__media{display:block;width:32px;height:32px;object-fit:cover;border-radius:8px}.neo-ticker__thumb.is-error{display:none}.neo-hero-media.is-loaded .neo-hero-media__fallback{opacity:0;visibility:hidden;pointer-events:none}.neo-hero-media.is-error .neo-hero-media__fallback{opacity:1;visibility:visible}.neo-hero-media.is-loaded .neo-hero-media__overlay,.neo-side-media.is-loaded .neo-side-media__overlay,.neo-production-media.is-loaded .neo-production-media__overlay{background:linear-gradient(180deg,rgba(4,6,16,.04),rgba(4,6,16,.28))}

/* Desktop 80% visual scale for neo public home using real sizes only */
@media (min-width:1200px){.neo-home{--neo-desktop-scale:.8;--neo-page-max-width:1232px;--neo-page-padding-x:38px;--neo-card-gap:14px;--hero-shell-height-desktop:592px;--hero-shell-height-laptop:576px;--hero-tabs-height:85px;--hero-controls-height:38px;--hero-copy-title-height:190px;--hero-copy-description-height:70px;--hero-copy-bullets-height:101px}.neo-header,.neo-hero-grid,.neo-ticker,.neo-section,.neo-footer{width:min(calc(100% - var(--neo-page-padding-x)),var(--neo-page-max-width))}.neo-header{top:13px;min-height:69px;grid-template-columns:auto auto minmax(210px,344px) auto auto;gap:14px;padding:10px 14px;border-radius:14px}.neo-brand{gap:11px}.neo-brand__mark-wrap,.neo-brand__logo,.neo-brand__mark{width:43px;height:43px;flex-basis:43px}.neo-brand__mark{border-radius:13px}.neo-brand__mark:after{inset:14px}.neo-brand strong{font-size:24px}.neo-brand small{margin-top:5px;font-size:12px}.neo-lang{gap:6px;padding:6px;border-radius:14px}.neo-lang button{min-width:56px;height:40px;font-size:13px}.neo-search{height:45px;gap:10px;border-radius:14px;padding:0 13px}.neo-icon{width:20px;height:20px}.neo-header-btn{height:45px;gap:8px;border-radius:14px;padding:0 18px;font-size:14px}.neo-hero-grid{grid-template-columns:minmax(256px,.34fr) minmax(0,.66fr);gap:14px;margin-top:22px}.neo-side,.neo-hero{height:var(--hero-shell-height-desktop);min-height:var(--hero-shell-height-desktop);max-height:var(--hero-shell-height-desktop)}.neo-side{grid-template-rows:134px 176px minmax(0,1fr) 77px;gap:13px}.neo-side-card,.neo-hero,.neo-section,.neo-footer{border-radius:14px}.neo-contact-card,.neo-partner-card{padding:22px}.neo-contact-card h2,.neo-partner-card h2{font-size:18px}.neo-contact-card a{font-size:14px}.neo-partner-card p{max-width:248px;font-size:14px;line-height:1.45}.neo-partner-card button,.neo-button{min-height:42px;border-radius:12px;padding:0 14px;font-size:14px}.neo-contact-map{right:14px;top:10px;width:152px;height:110px}.neo-map-dots{right:30px;top:18px;width:120px;height:96px}.neo-globe{right:-30px;bottom:-35px;width:176px;height:176px}.neo-social-card{min-height:77px;gap:11px;padding:14px}.neo-social-card a,.neo-social-card button{width:42px;height:42px;font-size:13px}.neo-media-dots{right:16px;bottom:14px;gap:6px}.neo-media-dots i{width:8px;height:8px}.neo-hero{padding:13px}.neo-hero__slide{padding:24px 27px;gap:18px;grid-template-columns:minmax(0,.9fr) minmax(272px,1fr)}.neo-hero__copy{grid-template-rows:22px var(--hero-copy-title-height) var(--hero-copy-description-height) var(--hero-copy-bullets-height) 42px}.neo-hero__copy .neo-eyebrow{height:22px;font-size:13px}.neo-hero h1,.neo-hero h2,.neo-section h2{font-size:clamp(35px,3.76vw,59px);line-height:.96}.neo-hero__copy>p:not(.neo-eyebrow){font-size:15px;line-height:1.45}.neo-hero ul{font-size:13px;gap:6px 13px}.neo-hero__controls{left:27px;right:27px;height:var(--hero-controls-height);gap:10px}.neo-hero__controls button{width:32px;height:32px}.neo-hero__dots{gap:6px}.neo-hero__dots button{width:8px;height:8px}.neo-product{width:136px;height:200px;border-radius:18px;padding:14px;font-size:10px}.neo-product--pink{height:128px}.neo-platform{height:56px}.neo-hero-tab{height:70px;min-height:70px;max-height:70px;padding:11px 13px;border-radius:11px;font-size:13px;gap:6px}.neo-hero__tabs{gap:8px}.neo-ticker{height:51px;min-height:51px;max-height:51px;margin-top:13px;gap:10px;border-radius:11px;padding:0 11px}.neo-ticker__track{gap:14px}.neo-ticker__item{font-size:10px}.neo-ticker__item.is-symbol{font-size:18px}.neo-ticker__thumb,.neo-ticker__media{width:26px;height:26px}.neo-section{margin-top:59px;padding:29px}.neo-metrics{gap:11px}.neo-metrics article{padding:18px;border-radius:13px}.neo-metrics strong{font-size:22px}.neo-section p,.neo-section li{font-size:14px}.neo-comparison,.neo-process ol,.neo-scenarios div{gap:14px}.neo-comparison article,.neo-scenarios article,.neo-faq details{border-radius:13px;padding:18px}.neo-process li{border-radius:13px;padding:14px}.neo-production{gap:19px}.neo-production-media{min-height:208px;margin-top:14px;border-radius:13px}.neo-category-cloud{gap:10px}.neo-category-cloud span,.neo-cycle span{padding:10px 13px;font-size:13px}.neo-footer{margin-top:59px;margin-bottom:26px;padding:29px;gap:22px}.neo-footer h2{font-size:15px}.neo-footer a{margin:8px 0;font-size:13px}.neo-footer p,.neo-footer__bottom{font-size:13px}.home-shell~.global-chat{right:19px;bottom:19px}.home-shell~.global-chat .global-chat__launcher{min-width:186px;height:46px;gap:8px;padding:0 14px;font-size:13px}.home-shell~.global-chat .global-chat__icon{font-size:16px}.home-shell~.global-chat .global-chat__window{bottom:61px;width:min(336px,calc(100vw - 19px));height:min(528px,calc(100dvh - 88px))}.home-shell~.global-chat .global-chat__window header{padding:11px}.home-shell~.global-chat .global-chat__avatar{width:32px;height:32px}.home-shell~.global-chat .global-chat__window h2{font-size:13px}.home-shell~.global-chat .global-chat__messages{padding:11px;gap:8px}.home-shell~.global-chat .chat-msg{padding:8px 10px}.home-shell~.global-chat .global-chat__quick{padding:8px 11px}.home-shell~.global-chat .global-chat__window footer{grid-template-columns:34px 34px 1fr 38px;gap:6px;padding:10px}.home-shell~.global-chat .global-chat__note{padding:0 11px 10px}}

/* Data-driven premium left column and shared home modals */
.neo-side-trigger{--spot-x:50%;--spot-y:50%;--tilt-x:0px;--tilt-y:0px;position:relative;width:100%;min-width:0;min-height:0;overflow:hidden;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;isolation:isolate;appearance:none;transform:none;transition:transform 220ms cubic-bezier(.2,.8,.2,1),border-color 180ms ease,box-shadow 220ms ease,background-color 180ms ease}
.neo-side-trigger:hover,.neo-side-trigger:focus-visible{transform:translate3d(var(--tilt-x),calc(-2px + var(--tilt-y)),0);border-color:rgba(155,103,255,.62);box-shadow:0 16px 36px rgba(0,0,0,.28),0 0 24px rgba(119,82,255,.15);outline:0}
.neo-side-card__spotlight{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(190px circle at var(--spot-x) var(--spot-y),rgba(255,255,255,.11),transparent 62%);opacity:0;transition:opacity 180ms ease}
.neo-side-trigger:hover .neo-side-card__spotlight,.neo-side-trigger:focus-visible .neo-side-card__spotlight{opacity:1}
.neo-side-card__copy{position:relative;z-index:3;display:grid;justify-items:start;align-content:start;height:100%}
.neo-side-card__copy>.neo-icon{margin-bottom:7px;color:var(--gold-light)}
.neo-side-card__copy>strong,.neo-team-card__copy>strong{font-size:20px;line-height:1.08;font-weight:900}
.neo-side-card__copy>a,.neo-contact-phone{position:relative;z-index:4;margin-top:7px;font-size:15px;font-weight:750}
.neo-side-card__copy>small{margin-top:4px;color:var(--text-muted);font-size:11px}
.neo-contact-card .neo-contact-map{z-index:1;opacity:.56;mask-image:linear-gradient(90deg,transparent,#000 35%)}
.neo-partner-card{border-color:rgba(255,66,207,.58);box-shadow:inset 0 0 32px rgba(119,82,255,.1),0 0 20px rgba(255,66,207,.1)}
.neo-partner-card:after{content:"";position:absolute;inset:-60% -25%;z-index:1;pointer-events:none;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.1) 50%,transparent 58%);transform:translateX(-65%);transition:transform 650ms cubic-bezier(.2,.8,.2,1)}
.neo-partner-card:hover:after{transform:translateX(65%)}
.neo-partner-card .neo-side-card__copy{max-width:76%}
.neo-partner-card .neo-side-card__copy>strong{font-size:20px}
.neo-partner-card .neo-side-card__copy>strong em{color:var(--pink);font-style:normal}
.neo-partner-card .neo-side-card__copy>span{margin-top:10px;color:var(--text-secondary);font-size:13px;line-height:1.42}
.neo-partner-card .neo-side-card__copy>b{margin-top:auto;color:var(--gold-light);font-size:12px}
.neo-team-card{display:grid;grid-template-columns:minmax(0,.72fr) minmax(110px,1fr);grid-template-rows:1fr auto;gap:8px 14px;padding:22px;background:radial-gradient(circle at 78% 42%,rgba(119,82,255,.22),transparent 45%),linear-gradient(145deg,rgba(13,18,40,.94),rgba(7,10,22,.98))}
.neo-team-card__copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;min-width:0}
.neo-team-card__copy .neo-eyebrow{font-size:10px}
.neo-team-card__copy>strong{margin-top:7px;font-size:26px}
.neo-team-card__copy>small{margin-top:8px;color:var(--text-secondary);font-size:12px;line-height:1.4}
.neo-team-preview{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;min-width:0}
.neo-team-preview__person{display:grid;place-items:center;width:54px;height:70px;margin-left:-17px;border:1px solid rgba(255,215,127,.36);border-radius:24px 24px 16px 16px;background:radial-gradient(circle at 50% 30%,rgba(255,215,127,.25),transparent 24%),linear-gradient(155deg,#1b2142,#0a0d1d);box-shadow:0 10px 24px rgba(0,0,0,.3);transition:transform 220ms ease,border-color 180ms ease}
.neo-team-preview__person:first-child{margin-left:0}.neo-team-preview__person:nth-child(even){transform:translateY(10px)}.neo-team-preview__person b{font-size:11px;color:var(--gold-light)}
.neo-team-card:hover .neo-team-preview__person{transform:translateY(-3px)}.neo-team-card:hover .neo-team-preview__person:nth-child(even){transform:translateY(6px)}
.neo-team-card__cta{position:relative;z-index:2;grid-column:1/-1;color:var(--gold-light);font-size:12px;font-weight:800}
.neo-channels-card{display:grid;grid-template-columns:minmax(100px,.8fr) 1fr;align-items:center;gap:10px;padding:12px 16px}
.neo-channels-card>strong{font-size:12px;line-height:1.2}.neo-channels-card>div{display:flex;justify-content:flex-end;gap:6px;min-width:0}
.neo-channel{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid var(--border-default);border-radius:50%;background:rgba(5,7,17,.78);color:#fff;cursor:pointer;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.neo-channel:hover,.neo-channel:focus-visible{transform:translateY(-2px) scale(1.035);border-color:var(--gold);box-shadow:0 0 18px rgba(243,181,72,.17);outline:0}
.neo-channel__icon{display:grid;place-items:center}.neo-channel__icon img,.neo-channel__icon b{grid-area:1/1}.neo-channel__icon img{width:22px;height:22px;object-fit:contain;z-index:2}.neo-channel__icon b{font-size:10px}.neo-channel.is-chat{border-color:rgba(255,66,207,.65);box-shadow:0 0 16px rgba(255,66,207,.13)}.neo-channel.is-chat>i{position:absolute;right:0;top:0;width:8px;height:8px;border:2px solid #080c1c;border-radius:50%;background:#43e69a;box-shadow:0 0 10px #43e69a}
body.neo-modal-open{overflow:hidden}.neo-modal[hidden]{display:none}.neo-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity 180ms ease}.neo-modal.is-open{opacity:1}.neo-modal__backdrop{position:absolute;inset:0;background:rgba(2,3,9,.78);backdrop-filter:blur(12px)}
.neo-modal__dialog{position:relative;width:min(920px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));overflow:auto;padding:34px;border:1px solid rgba(155,103,255,.42);border-radius:22px;background:radial-gradient(circle at 85% 5%,rgba(119,82,255,.2),transparent 28rem),linear-gradient(145deg,rgba(13,18,40,.97),rgba(4,5,11,.98));box-shadow:0 30px 100px rgba(0,0,0,.65),0 0 34px rgba(119,82,255,.16);transform:translateY(14px) scale(.985);transition:transform 260ms cubic-bezier(.2,.85,.25,1);outline:0}.neo-modal.is-open .neo-modal__dialog{transform:translateY(0) scale(1)}
.neo-modal__dialog>header{padding-right:54px}.neo-modal__dialog>header h2{margin:7px 0 9px;font-size:clamp(28px,4vw,48px);line-height:1}.neo-modal__dialog>header>p:last-child{max-width:680px;color:var(--text-secondary)}.neo-modal__close{position:absolute;right:20px;top:20px;z-index:4;width:42px;height:42px;border:1px solid var(--border-default);border-radius:50%;background:rgba(4,5,11,.72);color:#fff;font-size:26px;cursor:pointer}.neo-modal__close:hover{border-color:var(--gold);box-shadow:var(--glow-gold)}
.neo-contact-modal__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px;margin-top:24px}.neo-2gis-placeholder{min-height:260px;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;border:1px solid rgba(55,213,255,.25);border-radius:17px;background:radial-gradient(circle at 62% 38%,rgba(55,213,255,.2),transparent 8rem),linear-gradient(135deg,#080c1c,#111735)}.neo-2gis-placeholder>span{position:absolute;align-self:flex-end;opacity:.45;font-size:40px;font-weight:950}.neo-2gis-placeholder p{color:var(--text-secondary)}.neo-2gis-placeholder a{width:max-content;color:var(--cyan);font-weight:800}.neo-location-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.neo-location-list article{padding:16px;border:1px solid var(--border-default);border-radius:14px;background:rgba(255,255,255,.025)}.neo-location-list span{color:var(--gold);font-size:11px;font-weight:900;text-transform:uppercase}.neo-location-list p{margin:7px 0 0;color:var(--text-secondary);font-size:13px;line-height:1.4}.neo-visit-note{margin-top:16px;padding:16px 18px;border-left:2px solid var(--gold);background:rgba(243,181,72,.055)}.neo-visit-note p{margin:5px 0 0;color:var(--text-secondary);line-height:1.5}.neo-modal__dialog>footer{display:flex;gap:10px;margin-top:18px}
.neo-partner-scenarios{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.neo-scenario-card{min-height:190px;display:grid;justify-items:start;align-content:start;padding:22px;border:1px solid var(--border-default);border-radius:17px;background:rgba(255,255,255,.025);color:#fff;text-align:left;cursor:pointer;transition:transform 200ms ease,border-color 180ms ease,box-shadow 180ms ease}.neo-scenario-card:hover{transform:translateY(-3px);border-color:var(--border-pink);box-shadow:var(--glow-pink)}.neo-scenario-card>span{color:var(--pink);font-weight:900}.neo-scenario-card>strong{margin-top:12px;font-size:22px}.neo-scenario-card>p{color:var(--text-secondary);line-height:1.5}.neo-scenario-card>em{margin-top:auto;color:var(--gold-light);font-style:normal;font-weight:800}.neo-partner-stories{margin-top:26px}.neo-partner-stories>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.neo-partner-stories article{padding:15px;border:1px solid var(--border-default);border-radius:14px;background:rgba(5,7,17,.5)}.neo-partner-stories article>span{color:var(--gold-light);font-weight:850}.neo-partner-stories article p{margin:8px 0 0;color:var(--text-secondary);font-size:12px}
.neo-modal__dialog--team{width:min(1040px,calc(100vw - 32px))}.neo-team-slider{margin-top:22px}.neo-team-slide{min-height:410px;display:grid;grid-template-columns:1.25fr .75fr;gap:26px;align-items:center}.neo-team-slide[hidden]{display:none}.neo-team-gallery{height:390px;display:flex;align-items:stretch;gap:10px}.neo-team-gallery figure{position:relative;flex:1;min-width:0;margin:0;overflow:hidden;border:1px solid var(--border-default);border-radius:18px;background:radial-gradient(circle at 50% 32%,rgba(243,181,72,.22),transparent 16%),linear-gradient(145deg,#111735,#070a16)}.neo-team-gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.neo-team-gallery figure>span{position:absolute;inset:0;display:grid;place-items:center;color:var(--gold-light);font-size:34px;font-weight:950}.neo-team-gallery figure:not(.is-placeholder) span{z-index:-1}.neo-team-slide__copy h3{margin:10px 0;font-size:34px}.neo-team-slide__copy>p:last-child{color:var(--text-secondary);line-height:1.55}.neo-team-controls{display:grid;grid-template-columns:42px auto 1fr 42px;gap:12px;align-items:center;margin-top:16px}.neo-team-controls>button{width:42px;height:42px;border:1px solid var(--border-default);border-radius:50%;background:#080c1c;color:#fff;cursor:pointer}.neo-team-dots{display:flex;gap:5px;justify-content:center;overflow:hidden}.neo-team-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--text-muted);cursor:pointer}.neo-team-dots button[aria-selected=true]{background:var(--gold);box-shadow:0 0 10px var(--gold)}
@media (min-width:1200px){.neo-side .neo-partner-card{padding:16px 18px}.neo-side .neo-partner-card .neo-side-card__copy>.neo-icon{margin-bottom:3px}.neo-side .neo-partner-card .neo-side-card__copy>strong{font-size:18px}.neo-side .neo-partner-card .neo-side-card__copy>span{margin-top:6px;font-size:12px;line-height:1.32}.neo-side .neo-team-card{padding:17px}.neo-team-card__copy>strong{font-size:21px}.neo-team-preview__person{width:43px;height:56px;margin-left:-14px}.neo-side .neo-channels-card{padding:9px 12px}.neo-side .neo-channel{width:31px;height:31px;flex-basis:31px}.neo-side .neo-channel__icon img{width:18px;height:18px}.neo-side .neo-channel__icon b{font-size:8px}}
@media (max-width:760px){.neo-side{grid-template-rows:168px 220px 240px auto}.neo-channels-card{grid-template-columns:1fr;padding:16px}.neo-channels-card>div{justify-content:flex-start;flex-wrap:wrap}.neo-modal{padding:8px}.neo-modal__dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:22px 16px;border-radius:18px}.neo-modal__dialog>header{padding-right:42px}.neo-modal__close{right:12px;top:12px}.neo-contact-modal__grid,.neo-partner-scenarios,.neo-team-slide{grid-template-columns:1fr}.neo-location-list{grid-template-columns:1fr}.neo-modal__dialog>footer{display:grid}.neo-partner-stories>div{display:flex;overflow:auto}.neo-partner-stories article{min-width:240px}.neo-team-slide{min-height:0;gap:16px}.neo-team-gallery{height:260px}.neo-team-slide__copy h3{font-size:27px}.neo-team-controls{grid-template-columns:42px auto 1fr 42px}.neo-team-dots{max-width:90px}.neo-team-card{padding:18px}.neo-team-preview__person{width:44px;height:60px}}
@media (prefers-reduced-motion:reduce){.neo-side-trigger,.neo-side-card__spotlight,.neo-partner-card:after,.neo-team-preview__person,.neo-modal,.neo-modal__dialog,.neo-scenario-card,.neo-channel{transition:none!important}.neo-side-trigger:hover,.neo-side-trigger:focus-visible,.neo-scenario-card:hover,.neo-channel:hover{transform:none}}

/* RUSTARGO UI refresh: catalog and login. Keep this block route-scoped. */
:root{--brand:#ff6b1a;--brand-hover:#f05c0a;--ink:#171a1f;--dark:#0d1014;--dark-surface:#171c22;--dark-border:#303741;--dark-muted:#a9b0ba;--surface:#fff;--canvas:#f5f6f7;--border:#e1e4e8;--muted:#69717c;--selected:#fff1e8}

.route-catalog{min-width:320px;background:linear-gradient(180deg,var(--dark) 0 76px,var(--canvas) 76px 100%);color:var(--ink)}
.route-catalog .page-shell{max-width:none}
.route-catalog .app-page{width:min(1440px,100%);margin:0 auto;padding:0 24px 104px}
.route-catalog .role-nav{min-height:76px;display:flex;align-items:center;gap:16px;margin:0;padding:0;border:0;color:#fff}
.rg-app-brand{display:inline-flex;align-items:baseline;margin-right:auto;color:#fff;text-decoration:none;font-size:22px;font-weight:950;line-height:1;letter-spacing:.075em}
.rg-app-brand span{color:#fff}.rg-app-brand b{color:var(--brand)}
.route-catalog .role-links{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
.route-catalog .pill-link,.route-catalog .role-nav .ghost{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--dark-muted);font-size:13px;font-weight:750;text-decoration:none}
.route-catalog .pill-link:hover,.route-catalog .role-nav .ghost:hover{background:rgba(255,255,255,.06);color:#fff}
.route-catalog .pill-link.chip--active{border-color:rgba(255,107,26,.34);background:rgba(255,107,26,.12);color:#fff;box-shadow:inset 0 -2px 0 var(--brand)}
.route-catalog .role-nav .primary,.route-catalog .catalog-heading__login{min-height:38px;padding:0 14px;border-radius:8px;background:var(--brand);color:var(--ink);font-size:13px;font-weight:900}
.route-catalog .nav-user{gap:5px;margin-left:8px;padding-left:8px;border-left:1px solid var(--dark-border)}
.route-catalog .nav-user span{max-width:145px;color:var(--dark-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-catalog .nav-user .notif-bell{position:relative;width:36px;padding:0}
.route-catalog .nav-user .notif-bell b{position:absolute;top:0;right:0;min-width:16px;height:16px;display:grid;place-items:center;border-radius:999px;background:var(--brand);color:var(--ink);font-size:9px}
.route-catalog .mobile-top-actions,.route-catalog .mobile-page-switch{display:none}

.route-catalog .catalog-terminal{padding:0!important}
.route-catalog .catalog-heading{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0 8px}
.route-catalog .catalog-heading h1{margin:0;color:var(--ink);font-size:31px;line-height:1;letter-spacing:-.035em}
.route-catalog .catalog-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}
.route-catalog .control-bar{top:0;grid-template-columns:minmax(260px,1fr) auto auto auto auto auto;gap:8px;padding:7px 0 9px;background:rgba(245,246,247,.96);border-bottom:1px solid var(--border);backdrop-filter:blur(12px)}
.route-catalog .searchbar{min-height:42px;border-color:var(--border);border-radius:9px;box-shadow:none}
.route-catalog .searchbar input{padding:8px 0;border:0;border-radius:0;font-size:14px}
.route-catalog .chips{gap:5px;flex-wrap:nowrap}
.route-catalog .chip,.route-catalog .control-bar .ghost{min-height:38px;padding:0 10px;border-color:var(--border);border-radius:8px;background:#fff;color:#424952;font-size:12px}
.route-catalog .chip-count{min-width:0;padding:0;background:transparent;color:inherit;font-size:11px}
.route-catalog .chip--active{border-color:#ffb58b;background:var(--selected);color:#7f2f00;box-shadow:inset 0 -2px 0 var(--brand)}
.route-catalog .select-wrap{gap:4px;color:var(--muted);font-size:11px;white-space:nowrap}
.route-catalog .select-wrap select{min-height:38px;padding:0 27px 0 8px;border-color:var(--border);border-radius:8px;color:var(--ink);font-size:12px}
.route-catalog .admin-panel{margin:0 0 8px;padding:9px 10px;border-color:var(--border);border-radius:10px;box-shadow:none}
.route-catalog .primary{background:var(--brand);color:var(--ink)}
.route-catalog .primary:hover{background:var(--brand-hover)}

.route-catalog .catalog-workspace{min-height:300px;border:1px solid var(--border);border-radius:10px;box-shadow:none;overflow:hidden;background:#fff}
.route-catalog .trading-scroll{max-height:calc(100svh - 282px);display:block;overflow:auto;scrollbar-gutter:stable}
.route-catalog .trading-table{width:100%!important;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--ink);font-size:13px}
.route-catalog .trading-table th{height:38px;padding:6px 9px;border-right:0;border-bottom:1px solid var(--border);background:#f1f3f5;color:#5e6670;font-size:10px;line-height:1.15;letter-spacing:.035em;text-transform:none}
.route-catalog .trading-table td{height:56px;max-height:none;padding:5px 9px;border-bottom:1px solid #eceef1;background:#fff;vertical-align:middle}
.route-catalog .trading-table.compact td{height:54px;max-height:none;padding-block:4px}
.route-catalog .trading-table.comfortable td{height:66px}
.route-catalog .trading-table tbody tr:last-child td{border-bottom:0}
.route-catalog .trading-table tbody tr:hover td{background:#fafbfc}
.route-catalog .trading-table tbody tr.is-selected td{background:var(--selected)}
.route-catalog .trading-table tbody tr.is-selected td:first-child{box-shadow:inset 3px 0 0 var(--brand)}
.route-catalog .trading-table td>*{max-height:none}
.route-catalog .trading-table .catalog-col-unit_price,.route-catalog .trading-table .catalog-col-conditional_price,.route-catalog .trading-table .catalog-col-line_total{text-align:right;font-variant-numeric:tabular-nums}
.route-catalog .trading-table .catalog-col-quantity{text-align:center}
.route-catalog .catalog-product-cell{display:grid!important;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center;max-height:none!important;white-space:normal!important;overflow:visible!important}
.route-catalog .catalog-product-cell>div{min-width:0;display:grid;gap:3px}
.route-catalog .catalog-product-cell strong{display:-webkit-box;overflow:hidden;color:#20242a;font-size:13px;line-height:1.25;font-weight:800;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.route-catalog .catalog-product-cell small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.route-catalog .product-media-cell{display:grid!important;width:44px;height:44px;place-items:center;overflow:hidden!important;border:1px solid #e5e7ea;border-radius:8px;background:#f3f4f5}
.route-catalog .product-media-cell-thumb{width:44px!important;height:44px!important;display:block;object-fit:cover;border-radius:7px!important}
.route-catalog .product-media-placeholder{font-size:0;color:#a4aab1}
.route-catalog .product-media-placeholder::before{content:'◫';font-size:19px}
.route-catalog .stock-label{display:inline-flex!important;align-items:center;min-height:25px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.route-catalog .stock-label--available{background:#edf8f1;color:#1d7145}.route-catalog .stock-label--empty{background:#f3f4f5;color:#5f6670}.route-catalog .stock-label--unknown{background:#fff6e9;color:#76501e}
.route-catalog .catalog-calculated-price{color:#21252a}
.route-catalog .qty{grid-template-columns:34px 50px 34px;gap:3px;overflow:visible!important}
.route-catalog .qty button{height:34px;border-color:#d9dde2;border-radius:8px;background:#f7f8f9;color:#24282e;font-size:17px}
.route-catalog .qty button:hover{border-color:#ff9b62;background:var(--selected)}
.route-catalog .qty input{width:50px;max-width:50px;height:34px;padding:4px;border-color:#d9dde2;border-radius:8px}
.route-catalog .qty-unavailable{display:inline-block;color:var(--muted);font-size:11px}
.route-catalog .catalog-auth-lock{min-height:34px;padding:0 9px;border-color:#ffb58b;border-radius:8px;background:var(--selected);color:#793100;font-size:11px}
.route-catalog .sort-btn:hover,.route-catalog .sort-btn.active{border-color:#ffb58b;background:var(--selected);color:#8b3900}
.route-catalog .col-resizer:hover{background:rgba(255,107,26,.22)}
.route-catalog .catalog-loading{min-height:360px;background:#fff;color:var(--ink)}
.route-catalog .catalog-loading-spinner{border-color:#ffe0cf;border-top-color:var(--brand)}
.route-catalog .catalog-error{min-height:330px;display:grid;place-items:center;align-content:center;gap:9px;padding:28px;text-align:center}
.route-catalog .catalog-error strong{font-size:20px}.route-catalog .catalog-error p{margin:0 0 8px;color:var(--muted)}

.route-catalog .bottom-order-bar{position:fixed!important;z-index:55;left:50%!important;right:auto!important;top:auto!important;bottom:12px!important;width:min(1160px,calc(100% - 32px))!important;height:auto!important;display:block!important;margin:0!important;padding:0!important;overflow:visible!important;transform:translateX(-50%)!important;border:1px solid #3a424b!important;border-radius:12px!important;background:#171c22!important;color:#fff!important;box-shadow:0 18px 48px rgba(13,16,20,.28)!important}
.route-catalog .draft-bar-compact{min-height:66px;display:flex;align-items:center;gap:16px;padding:10px 11px 10px 16px}
.route-catalog .draft-composition-trigger{min-width:0;flex:1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:0;border:0;background:transparent;color:#fff;text-align:left}
.route-catalog .draft-composition-trigger>span{color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.route-catalog .draft-composition-trigger>strong{min-width:0;display:flex;align-items:center;gap:16px;overflow:hidden;color:#f1f3f5;font-size:13px;font-weight:700;white-space:nowrap}
.route-catalog .draft-composition-trigger>strong span{color:#d2d6db}.route-catalog .draft-composition-trigger>strong b{color:#fff;font-size:16px;font-variant-numeric:tabular-nums}.route-catalog .draft-saving{color:#8ed0a8!important}
.route-catalog .draft-bar-compact>.primary{width:auto!important;min-width:116px;min-height:44px;margin:0!important;border-radius:9px;font-weight:900}
.route-catalog .draft-composition{position:absolute;left:0;right:0;bottom:76px;display:none;max-height:min(68svh,620px);overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 -18px 55px rgba(13,16,20,.25)}
.route-catalog .bottom-order-bar.expanded .draft-composition{display:grid;grid-template-rows:auto minmax(130px,1fr) auto}
.route-catalog .draft-head{padding:11px 13px;background:#f5f6f7}.route-catalog .draft-head>div{display:flex;align-items:center;gap:8px}.route-catalog .draft-head span{background:var(--brand);color:var(--ink)}
.route-catalog .draft-items{min-height:0;max-height:42svh;overflow:auto}
.route-catalog .draft-pricing{padding:10px 12px;border-top:1px solid var(--border);overflow:auto;background:#fff}

.route-catalog .product-modal{position:relative;border-radius:0 16px 16px 0;border-right:1px solid var(--border);box-shadow:18px 0 55px rgba(13,16,20,.2)}
.route-catalog .product-modal-close{position:sticky;z-index:6;top:0;float:right;width:38px;height:38px;display:grid;place-items:center;margin:0 0 8px 8px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--ink);font-size:23px;line-height:1}
.route-catalog .product-modal-close:hover{border-color:#ff9b62;background:var(--selected)}
.route-catalog .product-card-section,.route-catalog .info-card{border-color:var(--border);border-radius:10px;box-shadow:none}
.route-catalog .product-stock-badge{background:#f4f5f6!important;color:var(--ink)!important}
.route-catalog .public-auth-backdrop{justify-content:center;align-items:center;background:rgba(13,16,20,.6)}
.route-catalog .public-auth-dialog{border-radius:14px;border:1px solid var(--border)}
.route-catalog .global-chat{bottom:92px}

.route-login{min-width:320px;min-height:100svh;background:radial-gradient(circle at 25% 85%,rgba(255,107,26,.13),transparent 30rem),var(--dark);color:#fff}
.route-login .page-shell{min-height:100svh;display:grid;place-items:center;padding:24px}
.route-login .login-card{width:min(430px,100%);margin:0;padding:30px;border:1px solid var(--dark-border);border-radius:16px;background:var(--dark-surface);box-shadow:0 28px 80px rgba(0,0,0,.36)}
.route-login .login-brand{display:inline-flex;margin-bottom:30px;color:#fff;text-decoration:none;font-size:24px;font-weight:950;letter-spacing:.075em}.route-login .login-brand b{color:var(--brand)}
.route-login .login-card h1{margin:0 0 8px;font-size:34px;letter-spacing:-.035em}.route-login .login-card>p{margin:0 0 24px;color:var(--dark-muted);font-size:14px;line-height:1.5}
.route-login .auth-form{gap:15px}.route-login .auth-form label{gap:7px;color:#dfe2e6;font-size:13px}.route-login .auth-form input{min-height:47px;border-color:var(--dark-border);border-radius:9px;background:#0f1318;color:#fff}.route-login .auth-form input:focus{border-color:var(--brand);outline:3px solid rgba(255,107,26,.18)}
.route-login .auth-form .primary{min-height:47px;border-radius:9px;background:var(--brand);color:var(--ink)}.route-login .login-back{display:inline-block;margin-top:18px;color:var(--dark-muted);font-size:13px;text-decoration:none}

.global-chat__launcher{background:var(--brand)!important;color:var(--ink)!important}.global-chat__online{display:none!important}.global-chat__avatar{background:var(--brand)!important;color:var(--ink)!important}

@media(max-width:899px){
  .route-catalog{background:linear-gradient(180deg,var(--dark) 0 62px,var(--canvas) 62px 100%)}
  .route-catalog .app-page{padding:0 12px 112px}
  .route-catalog .role-nav{min-height:62px;display:grid;grid-template-columns:1fr auto;grid-template-areas:'brand actions' 'switch switch';gap:0 8px;margin:0;padding:0}
  .route-catalog .rg-app-brand{grid-area:brand;font-size:19px}
  .route-catalog .role-nav>.role-links{grid-area:actions;display:flex!important;margin:0}
  .route-catalog .role-nav>.role-links .pill-link{display:none}
  .route-catalog .role-nav:has(.mobile-top-actions)>.role-links{display:none!important}
  .route-catalog .mobile-top-actions{grid-area:actions;display:flex!important;align-items:center;gap:4px;min-width:0}
  .route-catalog .mobile-top-actions span{max-width:84px;color:var(--dark-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .route-catalog .mobile-top-actions .ghost{width:auto;min-width:34px;height:34px;padding:0 8px!important;border-color:var(--dark-border)!important;color:#fff!important;font-size:11px}
  .route-catalog .mobile-page-switch{grid-area:switch;display:none!important}
  .route-catalog .catalog-heading{min-height:60px;padding:11px 0 6px}
  .route-catalog .catalog-heading h1{font-size:28px}.route-catalog .catalog-heading p{font-size:11px}
  .route-catalog .catalog-heading__login{min-height:34px;padding:0 10px;font-size:11px}
  .route-catalog .control-bar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:6px 0 9px;background:transparent;border:0}
  .route-catalog .control-bar .searchbar{grid-column:1/-1;order:1}.route-catalog .control-bar .chips{grid-column:1/-1;order:2}
  .route-catalog .control-bar .select-wrap:has([data-sort-mode]){order:3}.route-catalog .control-bar .select-wrap:has([data-density]){order:4}
  .route-catalog .control-bar [data-open-columns]{order:5}.route-catalog .control-bar [data-open-excel]{order:6}
  .route-catalog .searchbar{min-height:40px}.route-catalog .searchbar input{font-size:14px}
  .route-catalog .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .route-catalog .chip{justify-content:center;min-height:34px;padding:0 5px;font-size:11px}
  .route-catalog .select-wrap{min-height:40px;padding:5px 7px!important;border-color:var(--border)!important;border-radius:8px!important;font-size:10px!important}
  .route-catalog .select-wrap select{min-height:auto;padding:0!important;font-size:11px!important}
  .route-catalog .control-bar [data-open-columns],.route-catalog .control-bar [data-open-excel]{min-height:40px!important;padding:0 7px!important;border-radius:8px!important;font-size:11px!important}
  .route-catalog .catalog-workspace{border-radius:9px}
  .route-catalog .catalog-mobile-list{display:grid;background:#fff}
  .route-catalog .mobile-product-row{position:relative;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 9px;border:0;border-bottom:1px solid #e8eaed;background:#fff}
  .route-catalog .mobile-product-row.is-selected{background:var(--selected);box-shadow:inset 3px 0 0 var(--brand)}
  .route-catalog .mobile-product-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:9px;min-width:0;align-items:start}
  .route-catalog .mobile-product-meta{min-width:0;display:grid;gap:3px}
  .route-catalog .mobile-product-meta strong{display:-webkit-box;overflow:hidden;color:var(--ink);font-size:13px;line-height:1.22;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .route-catalog .mobile-product-meta small{overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.22;text-overflow:ellipsis;white-space:nowrap}
  .route-catalog .mobile-product-side{min-width:124px;display:grid;justify-items:end;align-content:start;gap:3px;color:var(--muted);font-size:10px}
  .route-catalog .mobile-product-side>b{color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}
  .route-catalog .mobile-product-side .qty{margin-top:3px;grid-template-columns:38px 44px 38px}
  .route-catalog .mobile-product-side .qty button{height:40px}.route-catalog .mobile-product-side .qty input{width:44px;max-width:44px;height:40px}
  .route-catalog .catalog-auth-lock{margin-top:5px;min-height:38px;max-width:124px;white-space:normal}
  .route-catalog .bottom-order-bar{bottom:8px!important;width:calc(100% - 16px)!important;border-radius:11px!important}
  .route-catalog .draft-bar-compact{min-height:76px;gap:8px;padding:8px}
  .route-catalog .draft-composition-trigger{display:grid;grid-template-columns:1fr;gap:2px}
  .route-catalog .draft-composition-trigger>span{font-size:9px}.route-catalog .draft-composition-trigger>strong{display:grid;gap:1px;font-size:11px;white-space:normal}.route-catalog .draft-composition-trigger>strong span{font-size:10px}.route-catalog .draft-composition-trigger>strong b{font-size:13px}
  .route-catalog .draft-bar-compact>.primary{min-width:88px;min-height:48px;padding:0 10px}
  .route-catalog .draft-composition{display:none!important}
  .route-catalog .mobile-draft-sheet{border-radius:16px 16px 0 0}
  .route-catalog .global-chat{right:10px;bottom:96px}.route-catalog .global-chat__launcher{min-width:44px;width:44px;height:44px;padding:0}.route-catalog .global-chat__launcher em{display:none}
  .route-catalog .product-modal{width:100%;height:auto;max-height:88svh;border-radius:16px 16px 0 0}
}

@media(max-width:420px){
  .route-catalog .catalog-heading p{max-width:210px}
  .route-catalog .mobile-product-row{grid-template-columns:minmax(0,1fr) 120px;padding-inline:8px}
  .route-catalog .mobile-product-main{grid-template-columns:42px minmax(0,1fr);gap:7px}.route-catalog .product-media-cell,.route-catalog .product-media-cell-thumb{width:42px!important;height:42px!important}
  .route-catalog .mobile-product-side{min-width:120px}.route-catalog .mobile-product-side .qty{grid-template-columns:37px 42px 37px}.route-catalog .mobile-product-side .qty input{width:42px;max-width:42px}
}

@media(prefers-reduced-motion:reduce){.route-catalog *{scroll-behavior:auto!important}}
