.ozon-panel{padding:18px}.ozon-panel h2,.ozon-real-results h2{font-size:17px}.ozon-summary,.ozon-help,.ozon-pair p{font-size:12px;line-height:1.65;color:#576d60}.ozon-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ozon-actions .btn{white-space:normal;text-decoration:none;font-size:12px;padding:10px 12px}.ozon-query-label{display:block;font-size:12px;color:#405b4c;margin:14px 0}.ozon-query-label input{width:100%;box-sizing:border-box;border:1px solid #d5e0d8;border-radius:9px;padding:11px;margin-top:6px;font:inherit;color:#233d30;background:#fbfdfb}.ozon-status{font-size:12px;font-weight:600;margin:14px 0}.ozon-pair{background:#eef4ef;border:1px solid #cdded1;border-radius:11px;padding:12px;font-size:12px}.ozon-pair code{display:block;user-select:all;overflow-wrap:anywhere;padding:12px 0;font-size:13px;font-weight:600}.ozon-help{margin-top:12px}.ozon-help summary{cursor:pointer;font-weight:600}.ozon-live-card h3{font-size:16px;line-height:1.5}.ozon-price-raw{font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}.ozon-live-card .pill{font-size:10px}.ozon-live-card .section-heading{flex-wrap:wrap;gap:6px}.ozon-live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.ozon-choice-list{display:flex;flex-wrap:wrap;gap:8px}.ozon-choice-list .btn{font-size:12px;white-space:normal;text-align:left;max-width:100%}.ozon-panel .error{overflow-wrap:anywhere}.source-toggle{font-size:12px!important}@media(max-width:1100px){.ozon-live-grid{grid-template-columns:1fr}}@media(max-width:640px){.ozon-actions .btn{flex:1 1 140px}.ozon-panel{padding:14px}}
.wish-example{font-size:12px;line-height:1.6;color:#576d60;margin:0 0 12px}.ozon-catalog{margin-top:28px;padding:24px;background:#fff;border-radius:18px;border:1px solid #e5e7eb}.ozon-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.ozon-product{min-width:0;color:#001a34;font-family:Arial,sans-serif;background:#fff}.ozon-product-link{display:block;text-decoration:none;color:inherit}.ozon-photo{aspect-ratio:3/4;background:#f4f4f4;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center}.ozon-photo img{width:100%;height:100%;object-fit:contain}.ozon-product-price{font-size:24px;font-weight:700;color:#10a65a;margin-top:12px;line-height:1.2}.ozon-bank-label{font-size:11px;color:#707f8d;display:block;margin-top:3px}.ozon-product h3{font-size:14px;line-height:1.4;font-weight:400;margin:10px 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:59px}.ozon-product-link:hover h3{color:#005bff}.ozon-rating{font-size:12px;color:#f6a600}.ozon-rating span{color:#707f8d}.ozon-delivery{background:#005bff;color:white;text-align:center;border-radius:10px;padding:12px 8px;font-size:13px;margin-top:12px}.ozon-evidence{font-size:11px;color:#576d60;margin-top:10px}.ozon-evidence summary{cursor:pointer}.ozon-evidence p{white-space:pre-wrap;margin:10px 0;line-height:1.5}.ozon-rejections{font-size:12px;line-height:1.6}.ozon-catalog-scroll{overflow:visible}.ozon-catalog .ozon-actions .btn{flex:1;font-size:11px;padding:8px 4px}@media(max-width:1100px){.ozon-catalog{padding:16px}}@media(max-width:767px){.ozon-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.ozon-catalog{padding:12px}.ozon-product-price{font-size:21px}.ozon-evidence{overflow-wrap:anywhere}}

.ozon-incomplete{margin:8px 0;padding:10px;border-radius:10px;background:#fff3cf;color:#694c00;font-size:13px;line-height:1.4}

/* The product link covers the complete card, while the local comparison,
   selection and evidence controls stay independently clickable. */
.ozon-product{position:relative;isolation:isolate;border-radius:14px;transition:box-shadow .16s ease,transform .16s ease}
.ozon-product-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;cursor:pointer}
.ozon-product>.ozon-evidence,.ozon-product>.ozon-actions .btn{position:relative;z-index:2}
.ozon-product:hover{box-shadow:0 8px 24px rgba(0,26,52,.10);transform:translateY(-1px)}
.ozon-product-link:focus-visible{outline:0}
.ozon-product-link:focus-visible::after{outline:3px solid #005bff;outline-offset:3px}

/* Dedicated selection window shares the authenticated cabinet and its data. */
.selection-window .sidebar,.selection-window .topbar,.selection-window .demo-strip{display:none}
.selection-window .workspace-wrap{margin-left:0;width:100%;min-width:0}
.selection-window #workspace{max-width:1600px;margin:0 auto;padding:28px}
.selection-window .ozon-catalog{margin-top:16px}
.ozon-product .btn:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:767px){.selection-window #workspace{padding:14px}}

/* Compact need / conversation / products workspace. */
.hosted-workspace .ichat-layout{display:grid;grid-template-columns:170px minmax(250px,.8fr) minmax(540px,1.8fr);gap:14px;align-items:start}
.hosted-workspace .ichat-layout>*{min-width:0}.hosted-workspace #workspace{padding:18px;max-width:none}
.hosted-workspace .sidebar{width:190px}.hosted-workspace .workspace-wrap{margin-left:190px}
.hosted-workspace .selection-window .workspace-wrap,.selection-window.hosted-workspace .workspace-wrap{margin-left:0}
.hosted-workspace .need-panel{padding:14px}.hosted-workspace .need-title{font-size:15px;margin:14px 0}
.hosted-workspace .need-panel h2,.hosted-workspace .ichat-chat>.panel-head h2,.hosted-workspace .ichat-products>.section-heading h2{font-family:var(--sans);font-size:15px;font-weight:650;font-style:normal;line-height:1.25;letter-spacing:normal;color:var(--ink)}
.hosted-workspace .ichat-need .need-grid{grid-template-columns:1fr;gap:12px}.hosted-workspace .ichat-need .section-heading{flex-wrap:wrap;gap:6px}
.hosted-workspace .ichat-chat{height:calc(100vh - 36px);min-height:420px;display:flex;flex-direction:column}.selection-window .ichat-chat{height:calc(100vh - 36px)}
.hosted-workspace .ichat-chat .panel-head{padding:14px}.hosted-workspace .ichat-chat .messages{flex:1;min-height:0;max-height:none;padding:12px;overflow:auto}
.hosted-workspace .ichat-chat .message{gap:6px;margin-bottom:14px}.hosted-workspace .ichat-chat .message .mini-ai{width:22px;height:22px;font-size:15px;flex-shrink:0}.hosted-workspace .ichat-chat .assistant-heading{gap:8px}.hosted-workspace .ichat-chat .assistant-heading .mini-ai{width:28px;height:28px;font-size:20px}
.hosted-workspace .ichat-chat .message-text{font-size:12px;line-height:1.45;overflow-wrap:anywhere}.hosted-workspace .ichat-chat .message-label{font-size:11px}.hosted-workspace .ichat-chat .message-label .pill{display:none}
.hosted-workspace .ichat-chat .chat-bottom{padding:12px}.hosted-workspace .ichat-chat .composer textarea{font-size:13px}.hosted-workspace .ichat-chat .chat-bottom small{font-size:10px;color:#576d60}
.hosted-workspace .ichat-products .ozon-catalog{padding:12px;margin:0;border:0;border-radius:0}.hosted-workspace .ozon-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px}
.hosted-workspace .ichat-products .ozon-catalog>.section-heading{display:none}.hosted-workspace .ichat-products .section-note{font-size:11px;line-height:1.45;margin:8px 0}
.hosted-workspace .ozon-product-price{font-size:20px}.hosted-workspace .ozon-product h3{font-size:12px;min-height:51px}.hosted-workspace .ozon-photo{aspect-ratio:3/4}.hosted-workspace .ozon-delivery{font-size:11px;padding:8px}
@media(max-width:1199px){.hosted-workspace .ichat-layout{grid-template-columns:170px minmax(0,1fr)}.hosted-workspace .ichat-products{grid-column:1/-1}.hosted-workspace .ichat-chat{height:65vh}.hosted-workspace .sidebar{width:190px}}
@media(max-width:767px){.hosted-workspace .workspace-wrap{margin-left:0}.hosted-workspace .sidebar{width:260px}.hosted-workspace .ichat-layout{grid-template-columns:1fr}.hosted-workspace .ichat-products{grid-column:auto}.hosted-workspace .ozon-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hosted-workspace .ichat-chat{height:65vh}.hosted-workspace #workspace{padding:12px}}

/* Cabinet controls stay in the sidebar; keep the menu reachable on phones. */
.hosted-workspace .topbar{display:none}
.sidebar-settings{width:100%;margin-bottom:12px}
@media(max-width:767px){.hosted-workspace:not(.selection-window) .topbar{display:flex;min-height:44px;height:44px;padding:0 12px}.hosted-workspace .topbar .breadcrumb>span,.hosted-workspace .topbar #page-name,.hosted-workspace .topbar-right{display:none}}

.hosted-workspace .sidebar .brand small{white-space:nowrap}
.hosted-workspace #side-progress,.hosted-workspace .pilot-mark,.hosted-workspace .account .user-avatar,.hosted-workspace .account>div{display:none}
.hosted-workspace .account{justify-content:flex-start;border:0;padding-top:0}

/* Results scroll independently while their heading stays in place. */
.hosted-workspace .ichat-products{height:calc(100vh - 36px);min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.hosted-workspace .ichat-products>.section-heading{flex-shrink:0;padding:14px 12px;margin:0;border-bottom:1px solid var(--line);gap:12px}
.hosted-workspace .ichat-products>.section-heading .text-btn{font-size:14px}
.hosted-workspace .ichat-products>.empty-state{border:0;border-radius:0;margin:0}
.hosted-workspace .ichat-products>.ozon-catalog{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
@media(max-width:1199px){.hosted-workspace .ichat-products{height:70vh}}

/* One square symbol: centered A and a separate dot to its right. */
.brand-mark{--brand-size:43px;box-sizing:border-box;display:inline-flex;flex:0 0 var(--brand-size);width:var(--brand-size);height:var(--brand-size);min-width:var(--brand-size);min-height:var(--brand-size);padding:0;letter-spacing:normal;line-height:1;aspect-ratio:1;border-radius:calc(var(--brand-size)*.3);overflow:hidden;background:var(--green)}
.mini-ai.brand-mark{--brand-size:33px}
.hosted-workspace .ichat-chat .message .mini-ai.brand-mark{--brand-size:22px}
.hosted-workspace .ichat-chat .assistant-heading .mini-ai.brand-mark{--brand-size:28px}
.brand-mark{position:relative;align-items:center;justify-content:center;font-family:var(--sans);font-weight:500}
.brand-mark>.brand-letter{position:static;display:block;color:#fff;font-size:calc(var(--brand-size)*.72);font-weight:500;line-height:1;letter-spacing:0;transform:translateY(-.06em)}
.brand-mark>.brand-dot{position:absolute;left:80%;top:51%;right:auto;width:calc(var(--brand-size)*.065);height:calc(var(--brand-size)*.065);border-radius:50%;background:#9ed5ab;transform:translate(-50%,-50%)}

/* Main cabinet navigation occupies one top row instead of a left column. */
.hosted-workspace .app-shell{flex-direction:column}
.hosted-workspace .sidebar{position:sticky;inset:0 auto auto 0;width:100%;height:76px;min-height:76px;box-sizing:border-box;padding:12px 18px;flex-direction:row;align-items:center;gap:16px;border-right:0;border-bottom:1px solid var(--line);transform:none;overflow-x:auto}
.hosted-workspace .sidebar>.brand{margin:0;flex-shrink:0;font-size:24px}
.hosted-workspace .sidebar>.brand>span:last-child{line-height:1.25;transform:translateY(-3px)}
.hosted-workspace .sidebar .new-chat{width:auto;margin:0;flex-shrink:0;padding:10px 12px;gap:6px;white-space:nowrap}
.hosted-workspace .sidebar .nav-label{display:none}
.hosted-workspace #main-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:160px;overflow-x:auto}
.hosted-workspace .sidebar .nav-item{width:auto;margin:0;padding:10px;gap:6px;flex-shrink:0;white-space:nowrap}
.hosted-workspace .sidebar-bottom{display:flex;align-items:center;gap:8px;margin:0;flex-shrink:0}
.hosted-workspace .workspace-wrap{margin-left:0;width:100%}
.hosted-workspace:not(.selection-window) .topbar{display:none}
.hosted-workspace .ichat-chat,.hosted-workspace .ichat-products{height:calc(100dvh - 112px)}
.selection-window.hosted-workspace .sidebar{display:none}
.selection-window.hosted-workspace .ichat-chat,.selection-window.hosted-workspace .ichat-products{height:calc(100dvh - 36px)}
@media(max-width:1199px){.hosted-workspace .ichat-chat{height:65vh}.hosted-workspace .ichat-products{height:70vh}}
@media(max-width:767px){.hosted-workspace .sidebar{padding:10px;gap:10px}.hosted-workspace .sidebar>.brand>span:last-child{display:none}.hosted-workspace #main-nav{min-width:140px}}

@media(min-width:768px){.hosted-workspace .sidebar .new-chat{margin-left:20px}}

/* One receiving address belongs to the current need; card delivery shows its date. */
.need-grid.need-receiving{grid-template-columns:1fr;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.need-receiving-note{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}
.ozon-customs-note{font-size:10px;font-weight:400;letter-spacing:0;white-space:nowrap;margin-left:4px}

/* Result references are fixed within the dialogue, independent of card order. */
.ozon-product{position:relative}
.ozon-result-number{position:absolute;top:9px;right:9px;z-index:1;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#173d35;border:1px solid #a5bcb6;box-shadow:0 1px 4px #0002;font-size:14px;font-weight:700;pointer-events:none}
