@font-face{font-family:Vazirmatn;src:url('/static/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#202629;--muted:#6d7478;--gold:#aa7c28;--gold-deep:#785313;--gold-light:#f7edda;--line:#e2e3e1;--paper:#fff;--bg:#f6f6f3;--green:#216348;--red:#ad3636;--rail:260px;--vh:100dvh;--keyboard:0px;font-family:Vazirmatn,Tahoma,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-size:14px;line-height:1.75;direction:rtl;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--gold-deep);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c29445;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(23px,2.4vw,34px);font-weight:800;line-height:1.55;letter-spacing:-.8px}h2{font-size:20px;line-height:1.6}h3{font-size:16px}p{color:var(--muted)}small{font-size:12px}svg.icon{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{max-width:100%}[hidden]{display:none!important}.ltr{direction:ltr;unicode-bidi:isolate}.mono{font-family:Consolas,"Courier New",monospace;letter-spacing:.3px}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;right:24px;top:-100px;z-index:100;background:var(--ink);color:white;padding:12px 18px;border-radius:12px}.skip-link:focus-visible{top:12px}
.startup{min-height:100vh;min-height:var(--vh);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:30px;text-align:center}.startup img{padding:20px;background:var(--ink);border-radius:20px}.startup h1{font-size:23px}.spinner{width:25px;height:25px;border:2px solid #dcd7cc;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.sidebar{position:fixed;inset:0 0 0 auto;width:var(--rail);background:linear-gradient(160deg,#242b2e,#151b1e);color:#f7f7f4;z-index:30;display:flex;flex-direction:column;padding:28px 19px 22px;border-left:1px solid #b38b3d;overflow-y:auto}.brand{display:flex;flex-direction:column;align-items:center;border-bottom:1px solid #ffffff1c;padding:4px 12px 24px;margin-bottom:22px}.brand img{width:208px;height:auto;object-fit:contain}.brand-name{font-size:16px;font-weight:700;margin-top:15px}.brand-subtitle{font-size:10px;color:#abb0b2;letter-spacing:2px;direction:ltr;margin-top:5px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:13px;background:none;border:1px solid transparent;color:#d1d4d5;text-align:right;padding:13px 15px;border-radius:10px;min-height:51px;transition:background .15s}.nav button:hover{background:#ffffff0a;color:white}.nav button.active{background:linear-gradient(110deg,#ad8133,#d1ae65);color:#1f2527;font-weight:700;box-shadow:0 3px 12px #0002;border-color:#e6c57970}.nav .nav-count{margin-right:auto;background:#ffffff20;border-radius:20px;font-size:11px;min-width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding-top:30px;display:grid;gap:14px}.side-account{border:1px solid #ffffff20;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px}.side-account .icon{color:#d2af67}.side-account small{display:block;color:#aab0b2;margin-bottom:2px}.side-account strong{display:block;font-size:17px;color:#f6f2e8;overflow-wrap:anywhere}.side-note{font-size:10px;color:#a6acae;text-align:center}.logout{background:transparent;color:#aeb4b6;border:0;text-align:right;display:flex;gap:9px;align-items:center;padding:8px 13px;font-size:12px}.logout:hover{color:#fff}.bottom-nav{display:none}
.workspace{position:relative;margin-right:var(--rail);min-height:100vh;padding:31px 38px 26px;isolation:isolate;overflow-x:clip}.workspace:before{content:"";position:fixed;width:min(76vw,1000px);height:650px;left:calc((100vw - var(--rail))/2);bottom:0;transform:translateX(-50%);background:url('/static/derak-khodro-logo.png') center bottom/contain no-repeat;opacity:.035;z-index:-1;pointer-events:none}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:27px;border-bottom:1px solid var(--line);margin-bottom:27px}.eyebrow{color:var(--gold-deep);font-size:11px;font-weight:700;display:flex;align-items:center;gap:7px;margin-bottom:9px}.eyebrow:before{content:"";display:block;width:20px;height:2px;background:var(--gold)}.title-sub{font-size:12px;margin-top:6px}.header-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}.avatar{width:40px;height:40px;border:1px solid #d8c7a6;color:var(--gold-deep);background:#efe6d6;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:17px}.identity-name{font-weight:700;font-size:12px}.identity-status{font-size:11px;color:var(--muted)}.icon-button{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#ffffffa0;color:#545d62;position:relative;flex-shrink:0}.icon-button:hover{border-color:#bba778;background:white}.notification-dot{position:absolute;top:6px;right:7px;min-width:15px;height:15px;background:var(--gold-deep);color:white;font-size:9px;border-radius:10px;padding:0 3px;line-height:15px}.page-content{min-height:400px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-head p{font-size:12px}.section-head h2{font-size:18px}.section-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.section-label .dot{width:6px;height:6px;background:var(--green);border-radius:50%}.footer{margin-top:24px;display:flex;align-items:center;gap:8px;color:#747b7f;font-size:11px;border-top:1px solid var(--line);padding-top:17px}.footer .icon{width:16px;height:16px;color:var(--gold)}.mobile-brand{display:none}
.button{border:1px solid transparent;border-radius:9px;min-height:44px;padding:10px 17px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.6;white-space:nowrap}.button.primary{background:linear-gradient(115deg,#946819,#bb9449);color:white;box-shadow:0 3px 8px #9b742318;border-color:#956d24}.button.primary:hover{background:linear-gradient(115deg,#805711,#ac8236)}.button.secondary{background:white;border-color:#d6d9d9;color:#424c51}.button.secondary:hover{border-color:#b59a66;background:#fbf9f5}.button.quiet{background:transparent;color:var(--gold-deep);border-color:#d8c6a5}.button.danger{color:var(--red);background:#fff5f4;border-color:#edc5c1}.button.small{min-height:36px;font-size:11px;padding:7px 12px}.button.full{width:100%}.button .icon{width:18px;height:18px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.panel{background:#ffffffec;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 16px #20262903;padding:24px;margin-bottom:18px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:19px;margin-bottom:20px;border-bottom:1px solid #ececea}.panel-header p{font-size:12px;margin-top:4px}.badge{font-size:10px;display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 9px;background:#edf0f1;color:#59636a;white-space:nowrap;font-weight:700}.badge.approved,.badge.active{background:#eaf4ee;color:#26744e}.badge.pending,.badge.pending_review,.badge.correction,.badge.initial_approved,.badge.draft{background:#fff2d9;color:#93691d}.badge.rejected,.badge.suspended,.badge.expired,.badge.invalidated{background:#faeaea;color:#ad3636}.badge-dot{width:5px;height:5px;background:currentColor;border-radius:50%}.notice{padding:13px 16px;border:1px solid #e5d8bd;border-radius:10px;background:#fbf5e9;color:#81632d;font-size:12px;display:flex;align-items:flex-start;gap:9px;line-height:1.9;margin-bottom:19px}.notice .icon{height:18px;width:18px;flex-shrink:0;margin-top:2px}.notice.danger{color:#a54242;border-color:#edceca;background:#fdf1f0}.notice.success{color:#28694f;border-color:#cde0d5;background:#eef7f2}.empty{min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;gap:10px}.empty-icon{width:65px;height:65px;border:1px solid #e5ddcf;background:#faf6ee;border-radius:20px;display:grid;place-items:center;color:#a88648;margin-bottom:5px}.empty-icon .icon{width:29px;height:29px}.empty h3{font-size:16px}.empty p{max-width:430px;font-size:12px;line-height:2}.error-state{padding:28px;text-align:center}.error-state p{margin:10px 0 20px;color:var(--red)}.skeleton{height:84px;margin-bottom:14px;border-radius:13px;background:linear-gradient(100deg,#ececea 20%,#f8f8f5 45%,#ececea 70%);background-size:200% 100%;animation:shimmer 1.7s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#ffffffc9;border:1px solid var(--line);border-radius:12px;padding:17px;margin-bottom:21px}.filters label{flex:1;min-width:125px}.filters label.search{flex:1.8;min-width:220px}.filters label>span{font-size:10px;color:var(--muted);display:block;margin-bottom:6px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field>label{font-size:12px;font-weight:700}.field .required{color:var(--red)}.field small{font-size:10px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #d8dbda;border-radius:8px;background:#fff;color:var(--ink);padding:11px 13px;min-height:44px;outline:none;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#af8b47;box-shadow:0 0 0 3px #c2a46716}input::placeholder,textarea::placeholder{color:#a0a4a6;font-size:12px}input[readonly]{background:#f3f4f1;color:#7b8184}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--gold);margin:0}textarea{min-height:98px;resize:vertical;line-height:1.9}select{appearance:auto;cursor:pointer;padding-left:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 22px}.span-2{grid-column:1/-1}.form-end{padding-top:22px;margin-top:23px;border-top:1px solid #ececea;display:flex;align-items:center;justify-content:space-between;gap:18px}.form-end p{font-size:11px}.check-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}.divider{height:1px;background:var(--line);margin:22px 0}.field-error{font-size:12px;color:var(--red);margin-top:15px;min-height:20px}.money-input{position:relative}.money-input input{padding-left:61px;direction:ltr;text-align:right}.money-input:after{content:"تومان";position:absolute;left:13px;top:12px;font-size:11px;color:var(--muted)}.upload{position:relative;border:1px dashed #c4c8c7;background:#fafbf9;border-radius:10px;padding:24px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:155px;cursor:pointer}.upload .icon{width:28px;height:28px;color:#9c7a3e}.upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload:focus-within{outline:3px solid #c29445;outline-offset:3px}.upload strong{font-size:12px}.upload .upload-label{font-size:10px;color:var(--muted);overflow-wrap:anywhere;max-width:100%}.upload.complete{border-color:#5f9477;background:#f0f7f2}.upload.complete .icon{color:var(--green)}.document-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}.review-reason{padding:14px 16px;border-right:3px solid var(--gold);background:#faf5e9;color:#735a2c;font-size:12px;margin:15px 0}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:22px}.progress-list{list-style:none;padding:0;margin:0}.progress-list li{position:relative;display:flex;gap:11px;align-items:flex-start;padding-bottom:25px;color:#7d8588;font-size:12px}.progress-list li:after{content:"";position:absolute;right:12px;top:29px;bottom:4px;width:1px;background:#e0e3df}.progress-list li:last-child:after{display:none}.step-marker{height:25px;width:25px;border:1px solid #d4d7d5;background:white;border-radius:50%;display:grid;place-items:center;font-size:10px;flex-shrink:0}.progress-list .done{color:var(--green)}.progress-list .done .step-marker{background:#eaf4ee;border-color:#c2d9cc}.progress-list .current{color:var(--gold-deep)}.progress-list .current .step-marker{border-color:#c8a258;background:#f8edd8}.progress-list small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.table-wrap{border:1px solid var(--line);border-radius:12px;overflow:auto;background:#ffffffd9}.data-table{border-collapse:collapse;width:100%;text-align:right;font-size:12px}.data-table th{background:#eff0ed;color:#5e676b;font-weight:700;padding:17px 19px;font-size:11px;white-space:nowrap;border-bottom:1px solid #dfe1dd}.data-table td{padding:22px 19px;border-bottom:1px solid #e9eae7;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcf9f2}.data-table .vin{font-size:12px;white-space:nowrap;letter-spacing:.4px;color:#454d52}.data-table .price{font-size:17px;font-weight:700;white-space:nowrap;color:#292f31}.data-table .brand-cell{font-weight:700;font-size:14px}.data-table td .sub{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.vin-action{font:inherit;letter-spacing:inherit;background:none;border:0;padding:4px 0;border-bottom:1px dashed #bca779;color:inherit;cursor:pointer;text-align:inherit}.vin-action:hover{color:var(--gold-deep)}.inventory-count{font-size:12px;color:var(--muted)}.inventory-count strong{color:var(--ink);font-size:15px}.inventory-legend{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:16px;color:var(--muted);font-size:10px}.vehicle-cards{display:none}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat{padding:20px 23px;border:1px solid var(--line);background:#ffffffd9;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.stat span{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:29px;line-height:1.6;margin-top:3px}.stat .icon{color:var(--gold);width:29px;height:29px}
.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.person-card{padding:21px;border:1px solid var(--line);border-radius:12px;background:#fff}.person-top{display:flex;gap:12px;align-items:center;margin-bottom:19px}.person-top h3{font-size:14px}.person-code{font-family:Consolas,monospace;font-size:12px;color:var(--muted);margin-top:3px}.person-card .badge{margin-bottom:18px}.person-card .actions{padding-top:15px;border-top:1px solid #ececea}.quota{display:flex;align-items:center;gap:18px;padding:13px 17px;border:1px solid #ddcfb4;border-radius:10px;background:#faf5eb;font-size:12px;color:#765b2c}.quota progress{height:6px;width:110px;accent-color:var(--gold)}.invite-link{font-size:12px;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:8px;background:#f8f8f5;padding:14px;direction:ltr;display:block;margin:16px 0}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.price-card{border:1px solid #e0ded7;border-radius:12px;padding:23px;background:#fff;margin-bottom:18px}.price-card-head{display:flex;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #ececea}.price-card-head p{font-size:12px;margin-top:6px}.price-values{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.price-value{border:1px solid #e5e5e0;background:#f7f8f6;border-radius:9px;padding:15px}.price-value span{font-size:10px;color:var(--muted)}.price-value strong{display:block;font-size:20px;line-height:1.8;overflow-wrap:anywhere}.price-value small{font-size:10px;color:var(--muted)}.price-value.proposed{border-color:#d4b570;background:#fbf5e6}.price-value.proposed strong{color:#89611c}.price-meta{display:flex;flex-wrap:wrap;gap:10px 20px;color:var(--muted);font-size:11px;margin:12px 0}.price-card .actions{justify-content:flex-end;margin-top:18px}.tab-strip{display:flex;gap:6px;margin-bottom:23px;border-bottom:1px solid var(--line);overflow:auto}.tab-strip button{background:none;color:var(--muted);border:0;border-bottom:2px solid transparent;padding:10px 18px;font-size:12px;white-space:nowrap}.tab-strip button.active{color:var(--gold-deep);border-color:var(--gold);font-weight:700}
.audit-list{list-style:none;padding:0;margin:0}.audit-list li{padding:15px 0;border-bottom:1px solid #ececea;font-size:12px}.audit-list li:last-child{border:0}.audit-list small{display:block;color:var(--muted);margin-top:5px}.registration-card{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:14px}.registration-card h3{font-size:14px}.registration-card p{font-size:11px;margin-top:4px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:22px}.detail-grid dt{color:var(--muted);font-size:10px}.detail-grid dd{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}.registration-docs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.registration-docs a{display:block;border:1px solid var(--line);border-radius:8px;padding:11px;text-align:center;font-size:12px}.registration-docs img{max-height:170px;display:block;object-fit:contain;margin:0 auto 8px}
.profile-history{border-bottom:1px solid var(--line);padding:14px 0}.profile-history summary{cursor:pointer;font-size:12px;font-weight:700}.profile-history summary small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.profile-history .detail-grid{margin-top:20px}.profile-history .document-links{margin-bottom:12px}.badge.final_approved{background:#eaf4ee;color:#26744e}
.chat-layout{display:grid;grid-template-columns:290px minmax(0,1fr);height:min(690px,calc(var(--vh) - 220px));min-height:450px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.chat-sidebar{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fafbf8}.chat-search{padding:20px 16px;border-bottom:1px solid var(--line)}.chat-search h3{font-size:13px;margin-bottom:5px}.chat-search p{font-size:10px;margin-bottom:13px}.chat-search .actions{flex-wrap:nowrap;gap:7px}.chat-search input{font-size:12px;min-width:0;padding:10px}.chat-search .button{padding:10px;min-height:44px}.chat-results{padding:12px 15px;border-bottom:1px solid var(--line);background:#faf5e9}.chat-results p{font-size:11px;margin-bottom:10px}.conversation-list{overflow:auto;flex:1;padding:8px}.conversation{width:100%;border:1px solid transparent;border-radius:9px;background:none;padding:14px 12px;display:flex;align-items:center;gap:10px;text-align:right;margin-bottom:3px}.conversation:hover{background:#f0f1ed}.conversation.active{border-color:#e2cfac;background:#f8f1e4}.conversation .avatar{width:35px;height:35px;font-size:13px;flex-shrink:0}.conversation-text{flex:1;min-width:0}.conversation-text strong{font-size:12px;display:block}.conversation-text small{font-size:10px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);max-width:165px}.unread{background:var(--gold-deep);color:#fff;font-size:10px;border-radius:20px;min-width:19px;height:19px;line-height:19px;text-align:center}.chat-main{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;min-height:75px}.chat-header strong{font-size:13px}.chat-header small{display:block;font-size:10px;color:var(--muted)}.chat-header .badge{margin-right:auto}.chat-back{display:none}.messages{flex:1;overflow:auto;overscroll-behavior:contain;padding:24px 22px;display:flex;flex-direction:column;gap:14px;scroll-behavior:smooth;background:linear-gradient(#fcfcfaef,#fcfcfaef),url('/static/derak-khodro-logo.png') center/70% no-repeat}.message{max-width:80%;align-self:flex-end;background:#eef0ef;border:1px solid #e4e7e4;border-radius:13px 13px 3px 13px;padding:11px 15px;line-height:1.85;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.message.mine{align-self:flex-start;background:#f5e8c9;border-color:#e9d7b0;border-radius:13px 13px 13px 3px}.message time{display:block;margin-top:5px;color:#727975;font-size:9px;direction:rtl}.vehicle-context{border-bottom:1px solid #00000016;padding-bottom:9px;margin-bottom:8px;font-size:10px;white-space:normal}.vehicle-context strong{display:block;font-size:11px}.vehicle-context .vin{font-family:Consolas,monospace;direction:ltr;display:block;font-size:11px}.composer{padding:14px 17px;border-top:1px solid var(--line);background:white;display:flex;align-items:flex-end;gap:10px}.composer textarea{min-height:44px;max-height:125px;resize:none;padding:10px 13px;font-size:13px;line-height:1.7}.composer .button{height:44px;padding:10px 13px}.context-banner{padding:11px 18px;background:#faf1dd;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#846329;font-size:10px;border-top:1px solid #ead8b4}.context-banner strong{display:block;font-family:Consolas,monospace;direction:ltr}.chat-no-selection{flex:1;display:flex;align-items:center;justify-content:center}.chat-error{margin:12px 17px 0;font-size:11px;color:var(--red)}
.auth-shell{display:grid;grid-template-columns:40% 60%;min-height:100vh;min-height:var(--vh);direction:rtl}.auth-brand{background:radial-gradient(ellipse at 35% 70%,#39403e,#202729 62%,#192023);color:white;padding:50px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:800px;height:700px;background:url('/static/derak-khodro-logo.png') center/contain no-repeat;opacity:.04;left:-390px;bottom:-200px;transform:rotate(-18deg);pointer-events:none}.auth-brand-inner{position:relative;z-index:1;width:100%;max-width:350px}.auth-brand img{width:275px;display:block;margin:0 auto 55px}.auth-brand .auth-kicker{color:#c9a65d;font-size:11px;letter-spacing:1px;margin-bottom:18px}.auth-brand h2{font-size:31px;line-height:1.8}.auth-brand h2 span{color:#d5b678}.auth-brand p{color:#aeb5b5;font-size:12px;line-height:2.2;margin-top:21px}.auth-brand .auth-rule{width:45px;height:3px;background:#bc964e;margin-top:34px}.auth-main{position:relative;display:flex;align-items:center;justify-content:center;padding:50px 35px;background:#fafaf7;isolation:isolate}.auth-main:before{content:"";position:absolute;inset:0;background:url('/static/derak-khodro-logo.png') center 85%/90% no-repeat;opacity:.025;z-index:-1}.auth-card{width:100%;max-width:420px}.auth-card.register{max-width:650px}.auth-card .eyebrow{margin-bottom:16px}.auth-card h1{font-size:27px;margin-bottom:9px}.auth-card>p{font-size:12px;line-height:2;margin-bottom:30px}.auth-card .field{margin-bottom:20px}.auth-card .form-grid .field{margin:0}.auth-card .auth-foot{border-top:1px solid #e0e2de;margin-top:25px;padding-top:18px;display:flex;justify-content:space-between;gap:10px;color:#8c9394;font-size:10px}.auth-security{display:flex;gap:7px;align-items:center;margin-top:19px;font-size:11px;color:#7a8589}.auth-security .icon{width:15px;height:15px}.otp-input{letter-spacing:12px;text-align:center;font-family:Consolas,monospace;font-size:26px!important;direction:ltr;padding:14px 15px}.otp-actions{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:18px}.text-button{border:0;padding:5px 0;background:none;color:var(--gold-deep);font-size:11px}.verification-strip{border:1px solid #d8e3db;background:#f1f7f1;border-radius:9px;padding:13px 16px;display:flex;gap:10px;align-items:center;font-size:12px;color:#3d6d4a;margin-bottom:24px}.verification-strip .icon{width:18px;height:18px}.registration-note{font-size:11px;color:var(--muted);margin:18px 0}
dialog{padding:0;border:1px solid #e1ddd3;border-radius:17px;background:#fff;box-shadow:0 22px 80px #121c2450;color:var(--ink);width:min(620px,calc(100vw - 30px));max-height:calc(var(--vh) - 36px);overscroll-behavior:contain}dialog::backdrop{background:#17202477;backdrop-filter:blur(3px)}.modal-head{padding:23px 25px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px}.modal-body{padding:24px 25px;overflow:auto}.modal-body .form-end{justify-content:flex-end}.modal-body p{font-size:12px;line-height:2}.notification-item{padding:15px 0;border-bottom:1px solid #e8e9e5;display:flex;gap:11px;font-size:12px}.notification-item:last-child{border:0}.notification-item .icon{color:var(--gold);margin-top:3px}.notification-item time{display:block;font-size:10px;color:var(--muted);margin-top:5px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:100;background:#263c31;color:#fff;padding:13px 23px;border-radius:11px;box-shadow:0 7px 25px #0002;font-size:12px;text-align:center}.toast.error{background:#833c37}
@media(min-width:1500px){.workspace{padding:38px 55px}.data-table td{padding-top:25px;padding-bottom:25px}.sidebar{padding-top:38px}.auth-brand{padding:70px}}
@media(max-width:1200px){:root{--rail:230px}.workspace{padding:27px 25px}.sidebar{padding:24px 14px}.brand img{width:185px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-layout{grid-template-columns:minmax(0,1fr) 230px}.data-table td,.data-table th{padding-left:13px;padding-right:13px}.data-table .price{font-size:15px}.chat-layout{grid-template-columns:250px minmax(0,1fr)}.auth-brand{padding:35px}.auth-brand h2{font-size:27px}}
@media(max-width:1000px){.header-tools .identity-info{display:none}.profile-layout{grid-template-columns:1fr}.profile-aside{order:-1}.profile-aside .progress-list{display:flex;justify-content:space-between;gap:15px}.profile-aside .progress-list li{padding:0}.profile-aside .progress-list li:after{display:none}.profile-aside .progress-list small{display:none}.profile-aside .panel{padding:18px}.price-values{gap:8px}.price-value{padding:12px}.price-value strong{font-size:17px}.two-col{grid-template-columns:1fr}.auth-shell{grid-template-columns:35% 65%}.auth-brand{padding:25px}.auth-brand h2{font-size:24px}.auth-brand img{margin-bottom:40px}}
@media(max-width:1000px){:root{--rail:0px}.sidebar{display:none}.workspace{margin:0;padding:21px 20px calc(99px + env(safe-area-inset-bottom));min-height:var(--vh)}.workspace:before{width:95vw;height:450px;bottom:120px;left:50%}.mobile-brand{display:flex;align-items:center;justify-content:space-between;margin:-21px -20px 25px;padding:12px 20px;padding-top:calc(12px + env(safe-area-inset-top));background:#22292c;color:white;border-bottom:2px solid #bd974e}.mobile-brand img{width:123px;height:55px;object-fit:contain}.mobile-brand>span{font-size:11px;color:#cbd0d0}.mobile-brand .icon-button{background:#ffffff0b;color:#d8dcdc;border-color:#ffffff25;width:36px;height:36px}.topbar{padding-bottom:20px;margin-bottom:22px;align-items:flex-end}.topbar h1{font-size:25px}.eyebrow{font-size:10px;margin-bottom:6px}.title-sub{font-size:10px;margin-top:5px}.header-tools .avatar{display:none}.header-tools{gap:8px}.header-tools .icon-button{width:36px;height:36px}.header-tools .icon-button .icon{height:18px;width:18px}.bottom-nav{display:flex;position:fixed;bottom:0;right:0;left:0;z-index:40;background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid #deddd6;box-shadow:0 -5px 20px #26323907;padding:5px 6px calc(5px + env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;color:#7f888b;background:none;border:0;border-radius:9px;font-size:9px;padding:7px 3px;max-width:100px}.bottom-nav button.active{color:#926b27;background:#fbf5e8}.bottom-nav .icon{width:22px;height:22px}.bottom-nav .nav-count{position:absolute;top:2px;right:22%;font-size:9px;background:#9c7128;color:white;min-width:15px;border-radius:10px}.footer{font-size:10px;line-height:1.9}.auth-shell{display:block}.auth-brand{padding:22px 25px}.auth-brand-inner{max-width:600px;display:flex;align-items:center;gap:24px}.auth-brand img{width:130px;margin:0;flex-shrink:0}.auth-brand h2{font-size:17px;line-height:1.7}.auth-brand .auth-kicker,.auth-brand p,.auth-brand .auth-rule{display:none}.auth-main{min-height:calc(var(--vh) - 135px);align-items:flex-start;padding:36px 23px 30px}.auth-card{max-width:480px}.auth-card h1{font-size:24px}.auth-card.register{max-width:650px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.stat .icon{width:24px;height:24px}.chat-layout{height:calc(var(--vh) - 310px);min-height:320px}.chat-sidebar{width:auto}.price-values strong{font-size:19px}.filters{gap:10px;padding:13px}.filters label{min-width:100px}.filters label.search{flex-basis:100%}.filters .button{min-width:44px;padding:10px}.section-head{gap:12px}.section-head h2{font-size:17px}.section-label{font-size:10px}.person-card{padding:18px}}
@media(max-width:600px){body{font-size:13px}.workspace{padding-left:16px;padding-right:16px}.mobile-brand{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.topbar{gap:10px}.topbar h1{font-size:22px}.header-tools{align-self:center}.section-head{align-items:flex-start}.section-head p{font-size:11px}.section-label{max-width:135px;text-align:left}.panel{padding:19px 17px;border-radius:11px}.panel-header{gap:10px}.panel-header h2{font-size:17px}.panel-header p{font-size:11px}.filters label{flex-basis:26%;min-width:70px}.filters label.search{flex-basis:100%}.filters input,.filters select{font-size:12px;padding:10px 9px}.filters select{padding-left:10px}.inventory-table{display:none}.vehicle-cards{display:grid;gap:13px}.vehicle-card{background:#ffffffed;border:1px solid #dedfd9;border-radius:12px;padding:19px}.vehicle-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e9e8e0;padding-bottom:13px;margin-bottom:14px}.vehicle-brand{font-size:16px;font-weight:700}.vehicle-type{color:#586367;direction:ltr;font-size:13px}.vehicle-vin{display:flex;flex-direction:column;gap:3px;margin-bottom:15px}.vehicle-vin span{color:var(--muted);font-size:10px}.vehicle-vin button{font-family:Consolas,monospace;font-size:14px;direction:ltr;align-self:flex-start;letter-spacing:.5px}.vehicle-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.vehicle-color{color:#747d80;font-size:12px}.vehicle-price{font-size:20px;font-weight:700;line-height:1.6}.vehicle-price small{font-size:10px;font-weight:400;margin-right:3px;color:var(--muted)}.inventory-legend{font-size:9px;align-items:flex-start}.form-grid{grid-template-columns:1fr;gap:17px}.span-2{grid-column:auto}.form-end{flex-direction:column;align-items:stretch;gap:13px}.form-end .button{width:100%}input,select,textarea{font-size:16px}.field small{font-size:10px}.people-grid{grid-template-columns:1fr}.person-card{display:flex;align-items:center;flex-wrap:wrap;gap:0 15px}.person-top{flex:1;margin-bottom:14px}.person-card>.badge{margin-bottom:14px}.person-card>.actions{width:100%}.quota{gap:10px;font-size:10px;padding:10px 12px}.quota progress{width:65px}.stats{gap:8px}.stat{padding:12px 10px;align-items:flex-start}.stat span{font-size:9px}.stat strong{font-size:22px}.stat .icon{display:none}.profile-aside .progress-list{gap:8px}.profile-aside .progress-list li{gap:5px;font-size:10px}.profile-aside .step-marker{height:21px;width:21px}.price-card{padding:17px}.price-card-head{gap:10px;flex-wrap:wrap}.price-card-head h3{font-size:13px}.price-card-head p{font-size:11px}.price-values{gap:6px}.price-value{padding:11px 7px}.price-value strong{font-size:14px}.price-value span{font-size:9px}.price-value small{font-size:9px}.price-card .actions .button{flex:1}.price-meta{font-size:10px}.registration-card{padding:17px;flex-wrap:wrap}.registration-card .actions{width:100%;padding-top:14px;border-top:1px solid #eee}.registration-card .actions .button{flex:1}.detail-grid{gap:13px}.chat-layout{display:block;height:calc(var(--vh) - 330px);min-height:300px}.chat-sidebar{height:100%;border:0}.chat-main{height:100%;display:none}.chat-layout.has-chat .chat-sidebar{display:none}.chat-layout.has-chat .chat-main{display:flex}.chat-back{display:grid}.chat-header{padding:12px;min-height:67px}.chat-header .avatar{width:32px;height:32px;font-size:12px}.chat-header strong{font-size:12px}.chat-header .badge{font-size:9px}.chat-header .icon-button{width:32px;height:32px;border:0;background:none}.messages{padding:18px 14px;gap:12px}.message{max-width:86%;padding:10px 12px;font-size:12px}.composer{padding:10px;gap:8px}.composer textarea{font-size:16px}.composer .button{width:44px;padding:10px}.composer .send-label{display:none}.chat-search{padding:18px}.chat-search input{font-size:16px}.conversation-list{padding:9px}.conversation-text small{max-width:230px}.chat-search h3{font-size:14px}.chat-search p{font-size:11px}.chat-search .button{font-size:11px;padding:10px 13px}.registration-docs{gap:8px}.registration-docs img{max-height:130px}.modal-head{padding:19px 18px 15px}.modal-body{padding:20px 18px}.modal-head h2{font-size:17px}.toast{bottom:calc(92px + env(safe-area-inset-bottom));font-size:11px;min-width:70%}.keyboard-open .bottom-nav{display:none}.keyboard-open .chat-layout{height:calc(var(--vh) - 160px);min-height:230px}.keyboard-open .mobile-brand,.keyboard-open .chat-page .topbar{display:none}.keyboard-open .chat-page{padding-top:12px;padding-bottom:12px}.keyboard-open .chat-page .footer{display:none}.auth-card .field{margin-bottom:18px}.auth-main{padding-top:30px}.auth-card.register .form-grid{grid-template-columns:1fr 1fr;gap:17px 12px}.auth-card.register .span-2{grid-column:1/-1}.auth-card.register .field>span{font-size:11px}.auth-card.register .field input{padding:10px}.auth-card.register .upload{padding:21px 8px;min-height:145px}.auth-card.register .upload strong{font-size:10px}.auth-card.register .upload .upload-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media(print){.sidebar,.bottom-nav,.header-tools,.mobile-brand,.actions,.footer{display:none}.workspace{margin:0;padding:0}.workspace:before{display:none}.panel,.table-wrap{box-shadow:none}}

.earlier-messages{text-align:center;margin-bottom:5px}
.erp-return{text-decoration:none}.mobile-brand .erp-return{display:flex;align-items:center;gap:4px;color:#e5cc9b;font-size:10px;white-space:nowrap}.mobile-brand .erp-return .icon{width:16px;height:16px}.mobile-brand .erp-session{display:block;margin-top:4px;font-size:9px;color:#aeb6b7;max-width:145px;overflow-wrap:anywhere}
@media(min-width:1001px){body[data-mobile=true]{--rail:230px}body[data-mobile=true] .workspace{padding-right:26px;padding-left:26px}body[data-mobile=true] .form-grid{gap:23px}body[data-mobile=true] .button{min-height:48px}}
@media(max-width:1000px) and (max-height:500px) and (orientation:landscape){.workspace{padding-top:12px;padding-bottom:78px}.mobile-brand{display:none}.topbar{margin-bottom:12px;padding-bottom:10px}.topbar .eyebrow,.topbar .title-sub{display:none}.topbar h1{font-size:22px}.chat-layout{height:calc(var(--vh) - 150px);min-height:240px}.chat-search{padding:12px}.chat-search h3{font-size:12px;margin-bottom:9px}.chat-search p{display:none}.chat-header{min-height:52px;padding:8px 13px}.messages{padding:12px}.composer{padding:8px 12px}.bottom-nav button{min-height:48px}.footer{margin-top:12px;padding-top:10px}}

@media(max-width:1000px){.chat-page .page-content{min-height:0}.chat-page .footer{display:none}}
@media(max-width:600px){#inventory-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}#inventory-filters label{min-width:0}#inventory-filters .search{grid-row:1;grid-column:1/-1;padding-inline-end:54px;min-width:0}#inventory-filters>.icon-button{grid-row:1;grid-column:3;justify-self:end}}

select{-webkit-appearance:none;appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#6d7478 50%),linear-gradient(135deg,#6d7478 50%,transparent 50%);background-position:15px 50%,20px 50%;background-size:5px 5px;background-repeat:no-repeat;padding-left:30px}
@media(max-width:600px){.filters select{padding-left:26px;background-position:10px 50%,15px 50%}}
