@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--blue:#0868d8;--blue2:#197dec;--navy:#0e2446;--muted:#6d809e;--line:#e1e9f3;--bg:#f8fbfe;--green:#078955;--pale:#edf6ff;--shadow:0 12px 35px rgba(26,72,124,.05)}
*{box-sizing:border-box}html{height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--navy);-webkit-font-smoothing:antialiased}body{margin:0}body.citizen-body{height:100vh;min-height:620px;overflow:hidden;background:#fff}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8cbeff;outline-offset:2px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}.civic-app{display:flex;flex-direction:column;height:100%;width:100%;background:linear-gradient(140deg,#fff 50%,#f9fbff)}
.civic-header{height:81px;min-height:81px;background:#fff;border-bottom:3px solid transparent;border-image:linear-gradient(to right,#1b87db 0 61%,#eaffff 61% 66%,#e43c53 66% 78%,#0aab64 78% 100%) 1;display:flex;align-items:center;gap:25px;padding:0 29px;z-index:4}.civic-brand{display:flex;align-items:center;gap:17px;min-width:380px}.civic-logo,.assistant-avatar,.welcome-mark{border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#003778,#0055b5);color:white;font-family:Georgia,serif;font-size:36px;font-weight:700;position:relative;box-shadow:inset 0 0 0 3px rgba(255,255,255,.35)}.civic-logo{width:54px;height:54px}.civic-logo:after,.assistant-avatar:after,.welcome-mark:after{content:"";position:absolute;inset:-3px;border:4px solid transparent;border-bottom-color:#0baf69;border-left-color:#197ee0;border-radius:50%;transform:rotate(-25deg);pointer-events:none}.civic-brand strong{display:block;font-size:28px;font-weight:800;letter-spacing:-1.1px;line-height:1.14}.civic-brand em{font-style:normal;color:#0366ee}.civic-brand span{display:block;margin-top:3px;color:#607391;font-size:12.5px;white-space:nowrap}.civic-top-nav{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-width:310px}.top-link{border:0;background:transparent;color:#344a6d;padding:12px 15px;display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px;font-weight:650;border-radius:12px;transition:.18s}.top-link:hover,.top-link.selected{background:#e9f4ff;color:#005bcc}.top-link svg{width:18px;height:18px}.civic-top-actions{display:flex;align-items:center;gap:17px}.online-tag{color:#087e46;font-size:12.5px;font-weight:650;white-space:nowrap}.online-tag i{width:10px;height:10px;background:#05ad62;border-radius:50%;display:inline-block;margin-right:8px}.script-switch{display:flex;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:3px}.script-switch button{font-size:11.5px;font-weight:650;padding:8px 11px;white-space:nowrap;border:0;border-radius:8px;background:transparent;color:#60718b}.script-switch button.active{background:#e5f1ff;color:#0063dc}.staff-link{padding:10px 14px;display:flex;align-items:center;gap:8px;text-decoration:none;font-size:12px;font-weight:700;color:#005dca;border-radius:12px;border:1px solid #bddefe;background:#f4f9ff;white-space:nowrap}.staff-link svg{width:18px;height:18px}
.civic-workspace{display:flex;flex:1;min-height:0;padding:4px 8px 8px 7px;gap:15px}.icon-rail{width:92px;flex:none;display:flex;flex-direction:column;align-items:center;gap:22px;padding:25px 9px 17px;background:#f4faff;border:1px solid #e3f0fb;border-radius:25px}.rail-action{background:none;border:0;color:#577394;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:69px;position:relative}.rail-action svg{width:53px;height:53px;border-radius:14px;padding:14px;color:#3e5a7a;transition:.15s}.rail-action small{font-size:11px;font-weight:650}.rail-action:hover svg,.rail-action.active svg{background:#dcecff;color:#0871e6}.rail-action.active{color:#086adb}.rail-action.new svg{border-radius:50%;background:#1783ea;color:white;padding:13px;box-shadow:0 7px 18px #167ce82b}.rail-spacer{flex:1}.civic-main{display:flex;flex-direction:column;min-width:0;flex:1;overflow:hidden}.recent-bar{display:flex;align-items:center;gap:19px;padding:17px 20px 15px 24px;border-radius:24px;background:#fbfdff;box-shadow:0 3px 22px #e7f1f552;min-height:97px}.recent-bar h2{font-size:14px;white-space:nowrap;letter-spacing:-.2px;margin:0 1px 0 0;font-weight:750}.recent-list{flex:1;min-width:0;display:flex;gap:14px;overflow-x:auto;scrollbar-width:thin}.recent-card{flex:1 1 192px;min-width:156px;max-width:310px;display:flex;align-items:center;gap:12px;border:1px solid #e2eaf3;background:#fff;border-radius:16px;padding:12px 15px;text-align:left;color:var(--navy);min-height:58px;transition:.16s}.recent-card:hover{border-color:#a4d1ff;transform:translateY(-1px)}.recent-card.current{border-color:#2e8dff;background:#f0f7ff;box-shadow:0 0 0 1px #d2e7ff}.recent-card>svg{width:29px;height:29px;border-radius:50%;padding:6px;flex:none;background:#f1f7fe;color:#1b6ec7}.recent-card.current>svg{background:#e2f0ff;color:#086ee6}.recent-card-text{min-width:0}.recent-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.recent-card small{display:block;color:#7085a3;margin-top:4px;font-size:11px}.recent-empty{font-size:12px;color:#899bb3}.recent-new{display:flex;align-items:center;gap:8px;padding:12px 18px;background:white;border:1px solid #bcdaff;color:#0066dc;font-size:12px;font-weight:750;border-radius:14px;white-space:nowrap}.recent-new:hover{background:#eaf4ff}.recent-new svg{width:18px;height:18px}
.conversation-panel{width:100%;max-width:1290px;margin:auto;min-height:0;flex:1;display:flex;flex-direction:column;padding:0 18px}.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 2px 6px;flex:none}.conversation-heading h1{font-size:18px;letter-spacing:-.5px;margin:0 0 5px;font-weight:750}.conversation-heading span{font-size:12px;color:#7a8ba3}.heading-buttons{display:flex;align-items:center;gap:4px}.heading-buttons button{border:0;background:#fff;color:#687e9b;padding:8px;border-radius:9px}.heading-buttons button:hover{background:#e7f2ff;color:#0675eb}.heading-buttons svg{width:18px;height:18px}.conversation-log{flex:1;min-height:0;overflow-y:auto;padding:18px 5px 23px;scrollbar-color:#d5e6f7 transparent;scrollbar-width:thin}.chat-welcome{margin:auto;max-width:680px;text-align:center;padding:36px 18px 12px}.welcome-mark{width:72px;height:72px;font-size:43px;margin:0 auto 23px}.chat-welcome h2{font-size:29px;letter-spacing:-1px;margin:0 0 11px}.chat-welcome p{font-size:15px;line-height:1.85;color:#647995;margin:0 auto;max-width:650px}.welcome-chips{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:28px}.welcome-chips button,.followup-chip{border:1px solid #d4e3f2;border-radius:999px;padding:11px 17px;color:#2a4c78;background:white;font-size:12px;font-weight:600;transition:.15s}.welcome-chips button:hover,.followup-chip:hover{background:#eff7ff;border-color:#a6cffe}.c-message{margin:7px 0 23px;display:flex;flex-direction:column;max-width:100%}.c-message.user{align-items:flex-end}.user-bubble{background:#e3f1ff;border:1px solid #dcecff;border-radius:19px 19px 6px 19px;padding:17px 20px;max-width:min(78%,820px);font-size:14px;line-height:1.6;white-space:pre-wrap}.message-time{font-size:10.5px;color:#91a1b5;margin-top:7px}.assistant-header{display:flex;align-items:center;gap:12px;margin-bottom:11px}.assistant-avatar{width:44px;height:44px;font-size:27px}.assistant-avatar:after{border-width:3px;inset:-2px}.assistant-header strong{font-size:14px}.verified-badge{display:inline-flex;align-items:center;background:#e5f8ee;color:#077a4c;border-radius:999px;padding:6px 10px;font-size:10.5px;font-weight:650;margin-left:1px}.assistant-response{margin-left:56px;max-width:1120px;font-size:14px;line-height:1.77;color:#183250}.ai-formatted p{margin:0 0 12px}.ai-formatted ul,.ai-formatted ol{margin:8px 0 13px;padding-left:28px}.ai-formatted li{padding:7px 10px}.ai-formatted li::marker{font-weight:700;color:#167de6}.ai-formatted h3{margin:11px 0;font-size:15px}.sources-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:11px 0 0 56px}.source-label{color:#178052;font-size:11px;font-weight:650}.source-chip{background:#edf5ff;border-radius:999px;color:#066bd4;font-size:11px;padding:8px 13px;font-weight:700;text-decoration:none;transition:.15s}.source-chip:hover{background:#d9eaff;text-decoration:underline}.answer-actions{display:flex;gap:5px;margin:9px 0 0 51px}.icon-action{border:0;background:transparent;color:#68819d;padding:6px 8px;border-radius:8px}.icon-action:hover{color:#0369db;background:#eaf5ff}.icon-action svg{width:17px;height:17px}.c-message.assistant>.message-time{margin-left:56px}.typing-indicator{margin:14px 0 18px 56px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#68809d;font-size:12px}.typing-indicator b{color:#183251}.typing-dots{color:#0489eb;animation:pulse 1.1s infinite}@keyframes pulse{50%{opacity:.25}}
.composer-zone{flex:none;padding-bottom:0;position:relative;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 26px);}.followup-list{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;min-height:0;margin:3px auto 14px}.followup-chip{border-radius:15px;padding:12px 19px;font-size:12px;color:#355274}.memory-pill{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin:0 auto 11px;background:#e5f8ef;border-radius:999px;padding:8px 17px;color:#167952;font-size:11px;font-weight:600}.memory-pill svg{width:15px;height:15px}.chat-composer{border:1.5px solid #4594fd;background:white;border-radius:17px;padding:15px 18px 9px;box-shadow:0 4px 16px #1d7fe30c}.chat-composer textarea{border:0;display:block;width:100%;min-height:42px;max-height:140px;resize:none;outline:0!important;padding:0 4px 10px;color:#163153;background:white;font-size:14px;line-height:1.5}.chat-composer textarea::placeholder{color:#8196b3}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.composer-tools{display:flex;gap:11px;align-items:center}.tool-icon{cursor:pointer;display:flex;padding:7px;color:#577396;border-radius:9px}.tool-icon:hover{background:#ebf5ff}.tool-icon svg{width:21px;height:21px}.voice-btn{border:0;background:#eaf3ff;border-radius:999px;color:#335578;padding:9px 15px;display:flex;gap:9px;align-items:center;font-size:11px;font-weight:650}.voice-btn svg{width:17px;height:17px}.voice-btn.recording{background:#ffe5e9;color:#bd213d;animation:pulse 1s infinite}.send-btn{border:0;width:49px;height:49px;border-radius:50%;display:grid;place-items:center;background:#0879e7;color:white;box-shadow:0 7px 16px #0b78e62a}.send-btn:hover:not(:disabled){background:#005fcb;transform:translateY(-1px)}.send-btn svg{width:25px;height:25px;stroke-width:2.2}.composer-disclaimer{font-size:10px;color:#8192a9;text-align:center;margin:8px 0 0}.attached-file{background:#edf6ff;border:1px solid #d8eafa;border-radius:10px;padding:7px 11px;display:flex;gap:10px;align-items:center;justify-content:space-between;margin:0 0 10px;font-size:11px;color:#286398}.attached-file button{border:0;background:none;color:#bd304e;font-size:17px}.attachment-privacy{font-size:11px;color:#57708e;margin:8px 0}.attachment-privacy input{vertical-align:middle;accent-color:#087fe9}
.civic-dialog{width:min(96vw,630px);max-height:min(86vh,850px);border:1px solid #dce7f4;border-radius:22px;background:white;color:var(--navy);box-shadow:0 30px 100px #183c6250;padding:24px;overflow:auto}.civic-dialog::backdrop{background:#1b345c64;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.modal-top h2{font-size:22px;letter-spacing:-.6px;margin:0 0 7px}.modal-top p{font-size:12px;color:#71849f;line-height:1.55;margin:0}.modal-top>button{border:0;background:#f2f6fb;border-radius:10px;color:#526b8e;padding:9px}.modal-top svg{width:19px;height:19px}.history-search{display:flex;gap:10px;align-items:center;border:1px solid #d6e4f4;padding:12px;border-radius:12px;color:#6c88a4;margin-bottom:13px}.history-search input{border:0;outline:0;flex:1;min-width:0;font-size:13px}.history-search svg{width:19px;height:19px}.history-results{overflow:auto;max-height:52vh}.history-row{display:flex;align-items:center;gap:3px;border-bottom:1px solid #eff3f8;padding:6px 0}.history-row.current{background:#f5faff;border-radius:9px}.history-open{flex:1;text-align:left;display:flex;flex-direction:column;gap:5px;background:transparent;border:0;color:#244269;font-size:13px;font-weight:650;padding:10px;min-width:0}.history-open:hover{color:#0868d8}.history-open small{font-weight:450;color:#8d9eb2;font-size:11px}.icon-action.danger:hover{color:#d73150;background:#fff1f4}.history-empty{color:#879bb2;font-size:13px;padding:20px}.modal-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:18px}.danger-link{border:0;background:transparent;color:#cf3450;font-size:12px;display:flex;align-items:center;gap:8px}.danger-link svg{width:16px;height:16px}.civic-primary{border:0;background:#0971dc;color:white;font-size:12px;font-weight:700;border-radius:11px;padding:12px 17px}.service-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.service-tiles button{border:1px solid #e1eaf3;background:#fafcff;color:#193d65;padding:20px 15px;display:flex;align-items:center;gap:13px;border-radius:12px;text-align:left;font-size:16px}.service-tiles button span{font-size:13px;font-weight:650}.service-tiles button:hover{border-color:#7fbbf7;background:#f0f8ff}.source-links{display:grid;gap:9px}.source-links a{border:1px solid #e1e9f1;padding:16px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#254266;text-decoration:none;font-size:13px;font-weight:650}.source-links a:hover{background:#f1f8ff}.source-links a span{color:#0872d5;font-size:11px}.source-note{color:#7d8ba0;font-size:11px}.setting-line{padding:16px 0;border-bottom:1px solid #eef3f8}.setting-line strong{display:block;font-size:13px;margin-bottom:5px}.setting-line span{display:block;font-size:12px;color:#74869f;line-height:1.6}.civic-toast{position:fixed;z-index:99;bottom:28px;right:28px;max-width:min(90vw,460px);background:#123d63;color:white;border-radius:12px;padding:15px 20px;font-size:12px;box-shadow:0 16px 40px #173b6650}.civic-toast.error{background:#a83340}
@media(max-width:1390px){.civic-header{gap:15px;padding:0 18px}.civic-brand{min-width:300px}.civic-brand strong{font-size:24px}.civic-brand span{font-size:11px}.civic-top-nav{gap:3px}.top-link{padding:10px 9px}.civic-top-actions{gap:9px}.online-tag{display:none}.recent-bar{gap:10px}.recent-card{min-width:160px}.recent-card:nth-child(n+4){display:none}}
@media(max-width:1040px){.civic-top-nav{display:none}.civic-brand{min-width:0;flex:1}.civic-header{height:72px;min-height:72px}.script-switch{padding:2px}.script-switch button{padding:7px}.staff-link{padding:10px}.icon-rail{width:76px}.rail-action{min-width:60px}.rail-action svg{width:47px;height:47px}.recent-bar{padding:14px;min-height:85px}.recent-bar h2{display:none}.recent-card{flex:1}.conversation-panel{padding:0 8px}}
@media(max-width:720px){body.citizen-body{min-height:0}.civic-header{height:66px;min-height:66px;padding:0 12px}.civic-logo{width:43px;height:43px;font-size:27px}.civic-brand{gap:9px}.civic-brand strong{font-size:20px}.civic-brand span{font-size:9px;max-width:185px;overflow:hidden;text-overflow:ellipsis}.script-switch button{font-size:10px;padding:7px 6px}.script-switch button:last-child{display:none}.staff-link{font-size:0;gap:0;padding:9px}.staff-link svg{width:19px;height:19px}.civic-workspace{gap:0;padding:0}.icon-rail{position:fixed;z-index:6;bottom:7px;left:50%;transform:translateX(-50%);height:65px;width:min(96vw,420px);flex-direction:row;justify-content:space-around;gap:0;padding:4px 5px;border-radius:18px;background:#ffffffef;box-shadow:0 8px 28px #23486b22;backdrop-filter:blur(12px)}.rail-action{min-width:50px;gap:2px;font-size:9px}.rail-action svg{width:35px;height:35px;padding:9px;border-radius:10px}.rail-action.new svg{padding:8px}.rail-action small{font-size:9px}.rail-action:nth-of-type(5),.rail-spacer,.rail-action:last-child{display:none}.civic-main{padding-bottom:70px}.recent-bar{min-height:72px;padding:9px 9px;gap:8px;border-radius:0 0 15px 15px}.recent-list{gap:7px}.recent-card{min-width:165px;max-width:none;padding:8px 11px;min-height:50px}.recent-card>svg{width:26px;height:26px}.recent-card strong{font-size:10px}.recent-card small{font-size:9px}.recent-new{font-size:0;padding:9px;border-radius:11px}.recent-new svg{width:20px;height:20px}.conversation-panel{padding:0 13px}.conversation-heading{padding:12px 0 2px}.conversation-heading h1{font-size:15px}.conversation-heading span{font-size:10px}.conversation-log{padding:14px 0 20px}.chat-welcome{padding:30px 3px}.welcome-mark{width:59px;height:59px}.chat-welcome h2{font-size:23px}.chat-welcome p{font-size:13px;line-height:1.65}.welcome-chips{gap:7px}.welcome-chips button{font-size:11px;padding:8px 12px}.user-bubble{max-width:93%;font-size:12.5px;padding:12px 15px}.assistant-avatar{width:33px;height:33px;font-size:20px}.assistant-header strong{font-size:12px}.verified-badge{font-size:9px;padding:4px 8px}.assistant-response,.sources-row,.answer-actions,.c-message.assistant>.message-time{margin-left:0}.assistant-response{font-size:12.5px;line-height:1.7}.sources-row{gap:6px}.source-chip{font-size:10px;padding:6px 10px}.followup-list{flex-wrap:nowrap;overflow-x:auto;justify-content:start;scrollbar-width:none;margin:0 0 8px}.followup-chip{white-space:nowrap;padding:9px 12px;font-size:10px}.memory-pill{font-size:9px;padding:7px 10px;margin-bottom:8px}.chat-composer{padding:10px 11px 7px}.chat-composer textarea{font-size:12px;min-height:31px}.voice-btn{padding:8px}.voice-btn span{display:none}.send-btn{width:38px;height:38px}.send-btn svg{width:21px;height:21px}.composer-disclaimer{font-size:8px;margin:4px 0}.civic-dialog{padding:17px;border-radius:15px}.service-tiles{grid-template-columns:1fr}.modal-top h2{font-size:19px}.modal-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.operator-access{display:block;width:100%;text-align:center;border:1px solid #d7e5f3;background:#f4faff;border-radius:12px;padding:15px;margin-top:15px;color:#1169b9;font-size:12px;font-weight:700}.operator-access:hover{background:#e5f2ff}.operator-public-form{display:grid;gap:14px}.operator-public-form label{font-size:12px;font-weight:650;display:grid;gap:7px;color:#2b4564}.operator-public-form input:not([type=checkbox]),.operator-public-form textarea{border:1px solid #d7e4f2;border-radius:11px;padding:12px;font-size:13px;color:#14375d;min-width:0;width:100%}.operator-public-form textarea{resize:vertical}.operator-public-form .operator-consent{display:flex;gap:9px;align-items:start;line-height:1.6;font-weight:450;color:#667e9b}.operator-public-form .operator-consent input{margin-top:3px}.operator-public-form #operatorPublicResult{font-size:12px;color:#0e855b;line-height:1.6}
.icon-action.pinned{color:#0876da;background:#e8f3ff}
.online-tag.not-configured{color:#bf6740}.online-tag.not-configured i{background:#e69a4a}
.verified-badge.unverified{background:#eff4f9;color:#65819d}
.source-chip.web-result{background:#f1f4f8;color:#5b6f8c}
.source-chip.document-source{background:#eaf8f0;color:#13774a;cursor:help}
.reply-error{margin:12px 0 22px 56px;padding:16px 18px;background:#fff5f5;border:1px solid #f1c8ce;border-radius:14px;color:#953448;font-size:12px}
.reply-error strong{display:block;margin-bottom:8px}
.reply-error p{margin:0 0 12px;line-height:1.6}
.retry-button{border:1px solid #efb7c0;border-radius:9px;padding:9px 13px;background:white;color:#a62f44;font-size:12px;font-weight:650}
@media(max-width:720px){.reply-error{margin-left:0}.civic-header .script-switch button:last-child{display:block}.civic-header .script-switch{max-width:124px;overflow-x:auto;scrollbar-width:none}.civic-header .script-switch button{flex:none}.civic-header .civic-brand span{display:none}.civic-header .civic-brand strong{font-size:19px}}

/* v20 — Boyovut AI: soddalashtirilgan, davlat portali uslubidagi header. */
.composer-tools,.attachment-privacy,.attached-file{display:none!important}
.composer-bottom{justify-content:flex-end}
.civic-header{height:84px;min-height:84px;justify-content:space-between;gap:18px;padding:0 clamp(17px,3.1vw,48px);background:#fff;border:0;border-bottom:0;border-image:none;box-shadow:0 2px 17px rgba(15,47,87,.055)}
.civic-header .civic-brand{min-width:0;flex:0 1 auto;gap:13px;color:#11294d;text-decoration:none}
.civic-header .civic-logo{width:58px;height:58px;min-width:58px;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:0;box-shadow:none;position:static}
.civic-header .civic-logo:after{content:none;display:none}
.civic-header .civic-logo img{width:100%;height:100%;display:block;object-fit:contain}
.civic-header .civic-brand strong{font-size:25px;font-weight:800;line-height:1.15;letter-spacing:-.9px}
.civic-header .civic-brand span{font-size:12px;color:#62758e;margin-top:4px}
.civic-header .civic-top-actions{margin-left:auto;flex:none}
.civic-header .script-switch{display:flex;align-items:center;gap:3px;max-width:none;overflow:visible;padding:4px;border:1px solid #e2eaf5;border-radius:13px;background:#f9fbff}
.civic-header .script-switch button{display:block;flex:none;padding:10px 14px;font-size:12px;font-weight:700;border-radius:9px;color:#5f7391;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
.civic-header .script-switch button:hover{color:#085cbd;background:#eff5fd}
.civic-header .script-switch button.active{background:#e7f1ff;color:#075cc2;box-shadow:0 1px 3px #b5d0ee30}
@media(max-width:720px){
 .civic-header{height:70px;min-height:70px;gap:8px;padding:0 12px}
 .civic-header .civic-brand{gap:7px}
 .civic-header .civic-logo{width:42px;height:42px;min-width:42px}
 .civic-header .civic-brand strong{font-size:19px}
 .civic-header .civic-brand span{display:none}
 .civic-header .script-switch{max-width:none;overflow:visible;gap:0;padding:3px}
 .civic-header .script-switch button{display:block!important;flex:none;padding:8px 7px;font-size:10px}
}
@media(max-width:390px){
 .civic-header{gap:5px;padding:0 8px}
 .civic-header .civic-brand{gap:5px}
 .civic-header .civic-logo{width:35px;height:35px;min-width:35px}
 .civic-header .civic-brand strong{font-size:16px}
 .civic-header .script-switch{padding:2px}
 .civic-header .script-switch button{padding:7px 5px;font-size:9.5px}
}

/* v21 — chatning sarlavhasi, xabarlari va yozish qismi bitta scroll maydonida. */
.civic-main{overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#d4e6f5 transparent}
.conversation-panel{flex:0 0 auto;margin:0 auto;min-height:100%;max-width:1200px;padding:0 clamp(16px,2.4vw,32px)}
.conversation-heading{padding:25px 3px 14px;border-bottom:1px solid #eff3f9;align-items:center}
.conversation-heading h1{font-size:19px}
.conversation-heading .heading-buttons{gap:7px}
.conversation-heading .heading-buttons button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e7edf6;border-radius:11px;background:#f8fbff;transition:.18s}
.conversation-heading .heading-buttons button:hover{border-color:#afcef4;background:#eaf4ff}
.conversation-heading .heading-buttons #deleteCurrent:hover{color:#cf3549;border-color:#f2c7ce;background:#fff3f4}
.conversation-log{flex:1 0 auto;min-height:270px;overflow:visible;padding:23px 5px 30px}
.conversation-log.is-welcome{display:flex;align-items:center;justify-content:center}
.chat-welcome{width:100%;max-width:730px;margin:auto;padding:55px 12px 62px}
.welcome-logo{display:block;width:78px;height:78px;object-fit:contain;margin:0 auto 23px}
.chat-welcome h2{font-size:28px;line-height:1.35;letter-spacing:-.7px;margin:0 0 15px}
.chat-welcome p{max-width:620px;font-size:14px;line-height:1.8;color:#627993}
.welcome-chips{margin-top:24px;gap:9px}
.welcome-chips button,.followup-chip{box-shadow:0 2px 8px #1e68aa08}
.composer-zone{position:static;flex:none;padding:0 0 11px;background:transparent}
.chat-composer{box-shadow:0 9px 36px #1d72ba10}
.followup-list{margin-bottom:16px}
.memory-pill{margin-bottom:12px}
.icon-rail{width:108px;gap:19px;padding:23px 8px 17px}
.icon-rail .rail-action{min-width:84px}
.icon-rail .rail-action small{font-size:11px;letter-spacing:-.15px}
.history-dialog{width:min(94vw,760px);padding:30px;border:1px solid #dde8f5;border-radius:26px;box-shadow:0 26px 95px #102e5854}
.modal-eyebrow{display:block;margin-bottom:8px;color:#0872da;font-size:10px;font-weight:800;letter-spacing:1.25px}
.history-dialog .modal-top{margin-bottom:23px}
.history-dialog .modal-top h2{font-size:25px}
.history-dialog .history-search{background:#f8fbff;border-radius:14px;padding:13px 15px;border-color:#dce8f6;margin-bottom:18px}
.history-dialog .history-search:focus-within{background:white;border-color:#7fb3f1;box-shadow:0 0 0 3px #d8eaff66}
.history-results{max-height:52vh;padding:2px 4px 2px 0}
.history-row{border:1px solid #e6edf6;background:#fbfdff;border-radius:15px;padding:6px 8px;margin-bottom:9px;gap:5px;transition:.15s}
.history-row.current{border-color:#a9d2ff;background:#f1f8ff}
.history-row:hover{border-color:#bdd6f1;background:#f6fbff}
.history-open{flex:1;display:flex;flex-direction:row;align-items:center;gap:12px;padding:9px 8px;font-size:13px;overflow:hidden}
.history-list-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:#e9f3ff;color:#0a70d7}
.history-list-icon svg{width:19px;height:19px}
.history-list-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.history-list-copy strong{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;font-weight:750}
.history-list-copy small{font-size:10.5px;color:#8293aa}
.history-row .icon-action{flex:none;width:33px;height:33px;display:grid;place-items:center;border-radius:9px}
.history-dialog .modal-actions{border-top:1px solid #e9eef6;padding-top:19px;margin-top:20px}
.action-dialog{width:min(94vw,520px);max-height:88vh;padding:0;overflow:auto;border:1px solid #dfebf8;border-radius:25px;box-shadow:0 35px 100px #092c5860}
.action-dialog form{padding:31px}
.action-dialog-head{display:flex;align-items:flex-start;gap:18px}
.action-dialog-icon{width:58px;height:58px;min-width:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ebf4ff,#dceeff);color:#096bd3;box-shadow:0 9px 23px #3086e01b}
.action-dialog-icon svg{width:27px;height:27px}
.action-dialog-head h2{font-size:23px;line-height:1.3;letter-spacing:-.65px;margin:0 0 10px}
.action-dialog-head p{font-size:12px;color:#70849f;line-height:1.75;margin:0}
.action-dialog-field{display:grid;gap:9px;margin:25px 0 0;font-size:12px;font-weight:750;color:#345173}
.action-dialog-field input{height:47px;width:100%;border:1px solid #cfdef0;border-radius:12px;outline:0;padding:0 14px;font-size:14px;color:#15365c}
.action-dialog-field input:focus{border-color:#3689e6;box-shadow:0 0 0 3px #cbe4ff70}
.action-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:29px}
.action-dialog-actions button{min-height:43px;padding:11px 17px;border-radius:11px;font-size:12px;font-weight:750}
.action-cancel{background:#f3f7fc;border:1px solid #e2ebf6;color:#45617e}
.action-cancel:hover{background:#eaf1f9}
.action-confirm{background:#0872d8;border:1px solid #0872d8;color:white;box-shadow:0 6px 16px #1978d522}
.action-confirm:hover{background:#005eBC}
.action-dialog.danger-mode .action-dialog-icon{background:linear-gradient(135deg,#fff0f0,#ffe1e6);color:#ce3d53}
.action-dialog.danger-mode .modal-eyebrow{color:#c83a52}
.action-dialog.danger-mode .action-confirm{background:#c83750;border-color:#c83750;box-shadow:0 6px 16px #a22a401c}
.action-dialog.danger-mode .action-confirm:hover{background:#ab2941}
@media(max-width:720px){
 .civic-main{padding-bottom:78px}
 .conversation-panel{padding:0 14px}
 .conversation-heading{padding:14px 2px 12px}
 .conversation-heading h1{font-size:16px}
 .conversation-heading .heading-buttons button{width:34px;height:34px}
 .conversation-log{padding:18px 0 26px;min-height:260px}
 .chat-welcome{padding:37px 8px 45px}
 .welcome-logo{width:62px;height:62px;margin-bottom:16px}
 .chat-welcome h2{font-size:22px}
 .chat-welcome p{font-size:12.5px}
 .icon-rail{gap:0;padding:4px 6px}
 .icon-rail .rail-action,.icon-rail .rail-action:last-child{display:flex;flex:1;min-width:0;gap:3px}
 .icon-rail .rail-action svg{width:35px;height:35px;padding:9px}
 .icon-rail .rail-action small{font-size:9px;white-space:nowrap}
 .history-dialog{padding:20px 15px;border-radius:20px}
 .history-row{gap:0;padding:4px}
 .history-list-icon{width:30px;height:30px}
 .history-open{gap:7px;padding:8px 4px}
 .history-list-copy strong{font-size:11px}
 .history-list-copy small{font-size:9px}
 .history-row .icon-action{width:29px;height:31px;padding:5px}
 .history-dialog .modal-actions{gap:8px}
 .history-dialog .modal-actions button{font-size:10px;padding:9px}
 .action-dialog form{padding:23px 20px}
 .action-dialog-head{gap:12px}
 .action-dialog-icon{width:47px;height:47px;min-width:47px;border-radius:14px}
 .action-dialog-head h2{font-size:18px}
 .action-dialog-actions button{font-size:11px;padding:10px 12px}
}

/* v25: ikki tugmali, oynaning o'rtasida joylashadigan ixcham suhbat menyusi */
.conversation-heading #conversationMeta,.memory-pill,.verified-badge,.sources-row{display:none!important}
@media(min-width:721px){
 .icon-rail{
  align-self:center;position:relative;flex:none;width:124px;height:max-content;
  min-height:0;max-height:max-content;padding:18px 12px;margin:0 0 0 7px;
  gap:15px;border-radius:25px;background:#f5faff;
  box-shadow:0 12px 36px rgba(27,78,135,.075)
 }
 .icon-rail .rail-action{width:100%;min-width:0;min-height:83px;justify-content:center;gap:8px;padding:5px}
 .icon-rail .rail-action small{font-size:11px;line-height:1.35;text-align:center;white-space:normal;max-width:105px}
}
@media(max-width:720px){
 .icon-rail{
  position:fixed;z-index:25;left:50%;right:auto;bottom:max(9px,env(safe-area-inset-bottom));
  transform:translateX(-50%);display:flex;flex-direction:row;align-items:center;
  justify-content:space-between;width:min(calc(100vw - 20px),370px);
  height:77px;min-height:77px;padding:8px 11px;gap:9px;
  background:rgba(248,252,255,.97);border:1px solid #dcebf9;border-radius:22px;
  box-shadow:0 13px 34px rgba(20,70,130,.20);backdrop-filter:blur(16px)
 }
 .icon-rail .rail-action,.icon-rail .rail-action:last-child{
  display:flex;flex:1;min-width:0;width:auto;min-height:56px;
  flex-direction:row;align-items:center;justify-content:center;gap:9px;padding:4px;
  border-radius:15px
 }
 .icon-rail .rail-action svg,.icon-rail .rail-action.new svg{
  flex:none;width:35px;height:35px;padding:9px;border-radius:12px
 }
 .icon-rail .rail-action.new svg{border-radius:50%}
 .icon-rail .rail-action small{
  font-size:10.5px;line-height:1.35;font-weight:750;letter-spacing:0;
  white-space:normal;text-align:left;overflow-wrap:normal;max-width:100px
 }
 .icon-rail .rail-action.active{background:#e6f2ff}
 .civic-main{padding-bottom:89px}
 .civic-header .script-switch{max-width:none;overflow:visible}
 .civic-header .script-switch button,.civic-header .script-switch button:last-child{
  display:block;flex:none;font-size:10px;padding:7px 6px
 }
 .civic-header{gap:9px;padding:0 10px}
 .civic-header .civic-brand{gap:7px;min-width:0}
 .civic-header .civic-brand strong{font-size:17px;letter-spacing:-.7px}
 .civic-header .civic-logo{width:38px;height:38px}
 .civic-header .civic-logo img{width:38px;height:38px}
}
@media(max-width:370px){
 .civic-header{gap:5px;padding:0 7px}
 .civic-header .civic-brand strong{font-size:15px}
 .civic-header .civic-logo,.civic-header .civic-logo img{width:33px;height:33px}
 .civic-header .script-switch{padding:2px}
 .civic-header .script-switch button{font-size:9px;padding:7px 4px}
 .icon-rail .rail-action{gap:5px}
 .icon-rail .rail-action small{font-size:10px}
}

/* Har bir chat modali yangi sahifadek ekran bo'ylab ochiladi. */
.civic-dialog,.civic-dialog.history-dialog,.civic-dialog.action-dialog{
 position:fixed!important;inset:0!important;margin:0!important;
 width:100vw!important;max-width:none!important;
 height:100vh!important;height:100dvh!important;max-height:none!important;
 box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 padding:clamp(22px,4.5vw,56px)!important;background:#fff!important;
}
.civic-dialog::backdrop{background:#071c35b0;backdrop-filter:blur(4px)}
.civic-dialog>*{width:100%;max-width:1000px;margin-left:auto;margin-right:auto}
.civic-dialog .modal-top{position:sticky;top:-1px;z-index:3;background:#fff;padding-bottom:15px;border-bottom:1px solid #e8f0f8}
.civic-dialog .modal-top>button{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:13px}
.civic-dialog .history-results{max-height:none!important;overflow:visible!important}
.civic-dialog .history-search{max-width:1000px}
.civic-dialog.action-dialog{display:none}
.civic-dialog.action-dialog[open]{display:flex;align-items:center;justify-content:center}
.civic-dialog.action-dialog form{
 width:100%;max-width:650px;margin:auto;display:flex;flex-direction:column;
 padding:clamp(16px,3vw,40px)!important;border:1px solid #e1ebf7;
 border-radius:24px;background:linear-gradient(155deg,#fff,#f8fbff);
 box-shadow:0 20px 75px rgba(26,76,125,.10)
}
.civic-dialog.action-dialog .action-dialog-actions{flex-wrap:wrap}
@media(max-width:720px){
 .civic-dialog,.civic-dialog.history-dialog,.civic-dialog.action-dialog{
  padding:20px 15px max(26px,env(safe-area-inset-bottom))!important
 }
 .civic-dialog.action-dialog form{border:0;box-shadow:none;padding:16px 6px!important}
 .civic-dialog .modal-top h2{font-size:23px}
 .civic-dialog .history-row{gap:3px}
 .civic-dialog .history-results{padding-bottom:25px}
}

/* Nusxalash belgisi ustiga olib borilganda izoh ko'rinadi. */
.copy-action{position:relative}
.copy-action::after{
 content:attr(data-tooltip);pointer-events:none;position:absolute;
 left:50%;bottom:calc(100% + 10px);transform:translate(-50%,5px);
 background:#173c69;color:#fff;padding:9px 12px;border-radius:9px;
 white-space:nowrap;font-size:11px;font-weight:650;letter-spacing:0;
 opacity:0;visibility:hidden;transition:opacity .16s,transform .16s;
 box-shadow:0 8px 22px #122f5730;z-index:7
}
.copy-action:hover::after,.copy-action:focus-visible::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
.civic-toast{z-index:150}

/* ==========================================================
   v26 — Boyovut tumani hokimligi AI yordamchisi
   Yangi header, ikki elementli navigatsiya va chat interfeysi
   ========================================================== */
:root{
 --civic-ink:#152c51;
 --civic-mid:#526987;
 --civic-border:#e1e9f4;
 --civic-accent:#176cdf;
 --civic-blue:#0b53b8;
 --civic-surface:#ffffff;
}
body.citizen-body{
 min-height:0;height:100dvh;overflow:hidden;
 background:#f2f6fc;color:var(--civic-ink)
}
.civic-app{
 height:100dvh;min-height:0;
 background:linear-gradient(155deg,#f6faff 0%,#f1f6fd 56%,#f8faff 100%)
}

/* 1. Minimalist, davlat muassasasiga mos brend headeri */
.civic-header{
 position:relative;z-index:30;flex:none;display:block;
 height:94px;min-height:94px;padding:0 25px;
 background:rgba(255,255,255,.96);
 border:0;border-bottom:1px solid #e0eaf5;box-shadow:0 4px 22px #173c6a09
}
.civic-header:before{
 content:"";position:absolute;inset:0 auto 0 0;width:5px;
 background:linear-gradient(180deg,#0087ff 0%,#1565ce 52%,#08ae7f 100%)
}
.civic-header-inner{
 width:100%;max-width:1530px;height:100%;margin:auto;
 display:flex;align-items:center;justify-content:space-between;gap:20px
}
.civic-header .civic-brand{
 flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:17px;
 text-decoration:none;color:var(--civic-ink)
}
.civic-header .civic-brand>.brand-copy{display:flex!important;margin-top:0}
.civic-header .civic-logo{
 position:relative;flex:none;display:grid;place-items:center;
 width:59px;height:59px;min-width:59px;overflow:hidden;
 border-radius:19px;border:1px solid #a8caff;
 background:linear-gradient(143deg,#177ff5 0%,#0c53bb 54%,#113b84 100%);
 box-shadow:0 10px 24px #0c65ca26,inset 0 0 0 1px #ffffff30
}
.civic-header .civic-brand>.civic-logo{display:grid!important;margin-top:0}
.civic-header .civic-logo:after{display:none}
.civic-header .civic-logo svg{
 width:38px;height:38px;padding:0;stroke:#fff;fill:none;
 stroke-width:2.2;filter:drop-shadow(0 2px 5px #021e5644)
}
.civic-header .civic-logo circle{fill:#fff;stroke:#fff}
.civic-header .brand-copy{display:flex;flex-direction:column;min-width:0}
.civic-header .civic-brand strong{
 display:block;font-size:22px;font-weight:800;
 letter-spacing:-.7px;line-height:1.3;color:#142c51;
 margin:0
}
.civic-header .civic-brand .brand-copy>span{
 display:block;margin-top:4px;color:#4f779f;
 font-size:13px;font-weight:600;letter-spacing:.05px;white-space:normal
}
.civic-header .civic-top-actions{flex:none;display:flex;align-items:center;margin:0}
.civic-header .script-switch{
 display:flex;align-items:center;gap:5px;
 border:1px solid #d9e5f3;border-radius:15px;
 background:#f3f7fc;padding:5px;overflow:visible;
 box-shadow:inset 0 1px 2px #244b7909
}
.civic-header .script-switch button{
 min-height:40px;padding:10px 17px;border-radius:11px;
 color:#56708f;background:transparent;font-size:12px;font-weight:700;
 transition:background .17s,color .17s,box-shadow .17s
}
.civic-header .script-switch button:hover{background:#e8f1fd;color:#0b57b8}
.civic-header .script-switch button.active{
 color:#0754b7;background:#fff;
 box-shadow:0 2px 11px rgba(29,89,151,.13)
}

/* 2. Vertikal markazdagi kompakt yangi menyu */
.civic-workspace{
 width:100%;max-width:1600px;margin:0 auto;
 min-height:0;flex:1;display:flex;align-items:stretch;
 gap:24px;padding:24px 24px 25px
}
.icon-rail{
 flex:none;position:relative;align-self:center;
 width:220px;height:auto;min-height:0;max-height:none;
 display:flex;flex-direction:column;align-items:stretch;
 gap:11px;margin:0;padding:15px;border-radius:24px;
 border:1px solid #e1eaf4;background:#fff;
 box-shadow:0 17px 40px #143d7710
}
.icon-rail .rail-action{
 flex:none;width:100%;min-width:0;min-height:70px;
 display:flex;flex-direction:row;align-items:center;justify-content:flex-start;
 gap:13px;padding:11px 12px;border:1px solid transparent;border-radius:17px;
 color:#4e6381;background:#f5f8fc;text-align:left;
 transition:transform .17s,background .17s,border-color .17s,box-shadow .17s
}
.icon-rail .rail-action:hover{
 background:#ebf3fd;border-color:#cfe0f3;transform:translateY(-1px)
}
.icon-rail .rail-action .rail-icon{
 flex:none;width:45px;height:45px;display:grid;place-items:center;
 border-radius:14px;background:#e4effd;color:#1562bf
}
.icon-rail .rail-action .rail-icon svg{
 width:23px;height:23px;padding:0;border-radius:0;
 background:transparent;box-shadow:none;stroke-width:2.2
}
.icon-rail .rail-action small{
 flex:1;max-width:none;min-width:0;
 white-space:normal;text-align:left;color:inherit;
 font-size:13px;font-weight:750;line-height:1.45;letter-spacing:-.1px
}
.icon-rail .rail-action.new{
 color:#fff;border-color:#0c67da;
 background:linear-gradient(135deg,#1c83f2 0%,#0d5dce 64%,#0b4eac 100%);
 box-shadow:0 9px 20px #075cc52c
}
.icon-rail .rail-action.new:hover{
 background:linear-gradient(135deg,#0f75e9,#084eaf);
 border-color:#0c5cba;box-shadow:0 12px 23px #075cc542
}
.icon-rail .rail-action.new .rail-icon{
 background:#ffffff2b;color:#fff
}
.icon-rail .rail-action.new .rail-icon svg{
 background:transparent!important;color:#fff;box-shadow:none!important
}

/* 3. Keng, saranjom suhbat yuzasi */
.civic-main{
 flex:1 1 auto;display:flex;min-width:0;min-height:0;
 padding:0;overflow:hidden;background:none
}
.conversation-panel{
 flex:1 1 auto;display:flex;flex-direction:column;
 width:100%;max-width:none;min-width:0;min-height:0;
 margin:0;padding:0;overflow:hidden;
 border:1px solid #dfe8f4;border-radius:29px;
 background:#fff;box-shadow:0 18px 58px #143c7510
}
.conversation-heading{
 position:relative;z-index:2;flex:none;
 min-height:79px;margin:0;padding:20px 30px;
 display:flex;align-items:center;gap:16px;
 border-bottom:1px solid #edf1f7;background:#fff
}
.conversation-heading:before{
 content:"";position:absolute;left:30px;bottom:-1px;
 width:74px;height:2px;background:#136edb;border-radius:3px
}
.conversation-heading h1{
 margin:0;color:#173259;line-height:1.3;
 font-size:19px;font-weight:800;letter-spacing:-.45px
}
.conversation-heading .heading-buttons{gap:9px;margin-left:auto}
.conversation-heading .heading-buttons button{
 display:grid;place-items:center;width:39px;height:39px;
 padding:0;border:1px solid #e0e8f3;border-radius:12px;
 color:#526e91;background:#f7faff
}
.conversation-heading .heading-buttons button:hover{
 color:#1267c8;border-color:#bdd6f4;background:#edf5ff
}
.conversation-log{
 flex:1 1 auto;min-height:0;max-height:none;
 padding:32px clamp(21px,4vw,65px) 40px;
 overflow-x:hidden;overflow-y:auto;
 scrollbar-width:thin;scrollbar-color:#d3e0ef transparent;
 background:linear-gradient(180deg,#fff 0%,#fff 65%,#fcfdff 100%)
}
.conversation-log.is-welcome{
 display:flex;align-items:center;justify-content:center
}
.chat-welcome{
 width:100%;max-width:710px;margin:auto;
 padding:28px 15px 36px;text-align:center
}
.welcome-ai-mark{
 width:91px;height:91px;display:grid;place-items:center;
 margin:0 auto 30px;border-radius:28px;
 background:linear-gradient(150deg,#168bfb 0%,#0b62d4 55%,#11458d 100%);
 color:#fff;box-shadow:0 17px 31px #1259b42a;
 border:1px solid #98c9ff
}
.welcome-ai-mark svg{
 width:59px;height:59px;fill:none;stroke:#fff;stroke-width:2;
 filter:drop-shadow(0 3px 6px #001f5560)
}
.welcome-ai-mark circle{fill:#fff;stroke:#fff}
.chat-welcome h2{
 margin:0 0 20px;color:#182f52;
 font-size:clamp(23px,2.45vw,33px);font-weight:800;
 letter-spacing:-.8px;line-height:1.4
}
.chat-welcome p{
 max-width:620px;margin:0 auto;color:#657b96;
 font-size:clamp(13px,1.1vw,15px);line-height:1.9
}

/* 4. Ikki tomonlama ixcham xabar ko'rinishi */
.c-message{margin:0 0 23px;display:flex;flex-direction:column;max-width:100%}
.c-message.user{align-items:flex-end}
.c-message.user .user-bubble{
 max-width:min(84%,760px);padding:15px 20px;
 border:1px solid #0d64d2;border-radius:21px 21px 6px 21px;
 background:linear-gradient(135deg,#197aec,#105fcf 65%,#0e55b7);
 box-shadow:0 8px 23px #0a59ba18;
 color:#fff;font-size:14px;line-height:1.75
}
.c-message.user .message-time{margin-top:8px;margin-right:4px}
.c-message.assistant{
 width:fit-content;max-width:min(96%,1020px);
 padding:19px 23px 15px;border:1px solid #e5edf6;
 border-radius:21px;background:#f8fbff;
 box-shadow:0 5px 19px #235b9707
}
.assistant-header{display:flex;gap:12px;align-items:center;margin:0 0 13px}
.assistant-avatar{
 width:41px;height:41px;min-width:41px;display:grid;place-items:center;
 border-radius:13px;background:#e2f0ff;color:#086aca;
 box-shadow:none
}
.assistant-avatar:after{display:none}
.assistant-avatar svg{width:28px;height:28px;stroke-width:2.1}
.assistant-avatar circle{fill:#086aca;stroke:#086aca}
.assistant-header strong{
 color:#294a75;font-size:12px;font-weight:750;line-height:1.5
}
.assistant-response{
 margin:0;max-width:none;font-size:14px;
 line-height:1.85;color:#233d60
}
.ai-formatted p{margin:0 0 12px}
.ai-formatted p:last-child{margin-bottom:0}
.ai-formatted ul,.ai-formatted ol{margin:8px 0 15px}
.ai-formatted li{padding:5px 4px}
.answer-actions{margin:14px 0 0;display:flex;gap:8px}
.answer-actions .copy-action{
 width:34px;height:34px;display:grid;place-items:center;
 padding:0;border:1px solid #d9e6f4;border-radius:10px;
 background:#fff;color:#42749f
}
.answer-actions .copy-action:hover{color:#0e65d1;border-color:#a9d0fa;background:#eaf4ff}
.answer-actions .copy-action svg{width:17px;height:17px}
.c-message.assistant>.message-time{margin:8px 0 0;color:#91a0b2}
.typing-indicator{
 width:max-content;max-width:95%;
 display:flex;align-items:center;gap:12px;
 margin:10px 0 22px;padding:14px 18px;
 border:1px solid #e4edf7;border-radius:16px;background:#f7faff
}
.typing-progress{
 width:18px;height:18px;display:inline-block;flex:none;
 border:2px solid #b9d8fb;border-top-color:#1474df;
 border-radius:50%;animation:civic-spin .75s linear infinite
}
@keyframes civic-spin{to{transform:rotate(360deg)}}
.reply-error{margin:8px 0 22px}

/* 5. Xabar yozish maydoni */
.composer-zone{
 position:relative;flex:none;padding:19px clamp(17px,3vw,34px) 15px;
 border-top:1px solid #ebf1f8;
 background:#fff
}
.chat-composer{
 padding:16px 18px 12px;border:1px solid #cadcf2;
 border-radius:19px;background:#fbfdff;
 box-shadow:0 4px 16px #174b870a;
 transition:border-color .18s,box-shadow .18s
}
.chat-composer:focus-within{
 border-color:#68a8ed;box-shadow:0 0 0 4px #e9f3ff
}
.chat-composer textarea{
 min-height:45px;max-height:155px;resize:none;
 border:0;outline:none;background:transparent!important;
 padding:1px 4px 10px;font-size:14px;color:#1b3b62;line-height:1.65
}
.chat-composer textarea::placeholder{color:#8ca0b8}
.composer-bottom{justify-content:space-between;align-items:center;gap:10px}
.composer-tools{display:flex;align-items:center;gap:10px}
.tool-icon{
 display:grid;place-items:center;width:38px;height:38px;padding:8px;
 border:1px solid transparent;border-radius:12px;
 color:#5e7899
}
.tool-icon:hover{border-color:#d6e7fb;background:#eaf4ff}
.voice-btn{
 min-height:38px;padding:9px 14px;border:0;border-radius:12px;
 color:#275b98;background:#e9f3ff;font-size:12px
}
.voice-btn:hover{background:#dcecff}
.voice-btn svg{width:17px;height:17px}
.send-btn{
 flex:none;width:43px;height:43px;border:0;border-radius:13px;
 color:#fff;background:linear-gradient(145deg,#197eec,#0956bd);
 box-shadow:0 7px 17px #0f66cc28
}
.send-btn:hover:not(:disabled){background:linear-gradient(145deg,#0c6fe0,#08499e)}
.send-btn svg{width:22px;height:22px}
.composer-disclaimer{margin:10px 0 0;color:#96a5b8;font-size:10px}

/* 6. Planshet */
@media(max-width:1030px) and (min-width:721px){
 .civic-workspace{gap:13px;padding:17px}
 .icon-rail{width:168px;padding:11px}
 .icon-rail .rail-action{gap:8px;padding:10px;min-height:65px}
 .icon-rail .rail-action .rail-icon{width:39px;height:39px}
 .icon-rail .rail-action small{font-size:11px}
 .civic-header .civic-brand strong{font-size:18px}
 .civic-header .civic-brand .brand-copy>span{font-size:11px}
 .civic-header .script-switch button{padding:9px 12px}
 .conversation-log{padding:24px}
}

/* 7. Mobil: sarlavha aniq o'qiladi, menyu quyida o'rtada. */
@media(max-width:720px){
 .civic-header{
  flex:none;display:block;height:85px;min-height:85px;
  padding:0 11px;border-bottom:1px solid #e2ebf5
 }
 .civic-header-inner{width:100%;gap:9px}
 .civic-header .civic-brand{gap:8px;min-width:0;flex:1 1 auto}
 .civic-header .civic-logo{
  width:40px;height:40px;min-width:40px;border-radius:13px
 }
 .civic-header .civic-logo svg{width:28px;height:28px}
 .civic-header .brand-copy{flex:1;min-width:0;overflow:hidden}
 .civic-header .civic-brand strong{
  font-size:13px;line-height:1.18;letter-spacing:-.25px;
  white-space:normal;overflow-wrap:normal
 }
 .civic-header .civic-brand .brand-copy>span{
  display:block;margin-top:4px;font-size:9.5px;
  line-height:1.24;color:#537599;white-space:normal
 }
 .civic-header .civic-top-actions{margin:0}
 .civic-header .script-switch{gap:1px;padding:3px;border-radius:10px}
 .civic-header .script-switch button,.civic-header .script-switch button:last-child{
  min-height:33px;display:block;flex:none;padding:7px 5px;
  font-size:9px;border-radius:7px
 }
 .civic-workspace{gap:0;padding:9px 10px 0;min-height:0;flex:1}
 .icon-rail{
  z-index:35;position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));
  transform:translateX(-50%);width:min(calc(100vw - 20px),390px);
  height:73px;min-height:73px;max-height:none;
  display:flex;flex-direction:row;align-items:center;
  justify-content:space-between;gap:9px;margin:0;padding:8px 10px;
  border-radius:19px;border:1px solid #cfdef0;
  background:#fff;box-shadow:0 10px 33px #164b8834
 }
 .icon-rail .rail-action,.icon-rail .rail-action:last-child{
  display:flex;flex:1 1 0;width:0;min-width:0;min-height:54px;
  flex-direction:row;align-items:center;justify-content:center;
  gap:8px;margin:0;padding:6px 8px;border-radius:13px
 }
 .icon-rail .rail-action .rail-icon{width:36px;height:36px;border-radius:11px}
 .icon-rail .rail-action .rail-icon svg{width:19px;height:19px;padding:0}
 .icon-rail .rail-action small{
  flex:0 1 auto;max-width:110px;min-width:0;
  font-size:10.5px;line-height:1.28;text-align:left;white-space:normal
 }
 .civic-main{
  flex:1 1 auto;min-height:0;min-width:0;overflow:hidden;
  padding:0!important;margin:0 0 calc(88px + env(safe-area-inset-bottom))
 }
 .conversation-panel{
  flex:1 1 auto;min-height:0;margin:0;padding:0;
  border-radius:20px;box-shadow:0 7px 25px #153e760c
 }
 .conversation-heading{min-height:62px;padding:12px 15px}
 .conversation-heading:before{left:15px;width:50px}
 .conversation-heading h1{font-size:16px}
 .conversation-heading .heading-buttons{gap:6px}
 .conversation-heading .heading-buttons button{width:35px;height:35px}
 .conversation-log{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  padding:20px 16px 25px
 }
 .chat-welcome{padding:16px 4px 25px}
 .welcome-ai-mark{width:68px;height:68px;margin-bottom:22px;border-radius:21px}
 .welcome-ai-mark svg{width:44px;height:44px}
 .chat-welcome h2{font-size:23px;margin-bottom:13px;line-height:1.36}
 .chat-welcome p{font-size:12px;line-height:1.7}
 .c-message{margin-bottom:19px}
 .c-message.user .user-bubble{
  max-width:95%;padding:11px 14px;font-size:12px;
  border-radius:16px 16px 5px 16px
 }
 .c-message.assistant{
  max-width:100%;padding:15px 14px 11px;border-radius:16px
 }
 .assistant-header{gap:9px;margin-bottom:9px}
 .assistant-avatar{width:32px;height:32px;min-width:32px;border-radius:10px}
 .assistant-avatar svg{width:22px;height:22px}
 .assistant-header strong{font-size:10px;line-height:1.35}
 .assistant-response{margin:0;font-size:12.4px;line-height:1.75}
 .answer-actions{margin:9px 0 0}
 .c-message.assistant>.message-time{margin:7px 0 0}
 .composer-zone{padding:10px 11px 9px;border-top:1px solid #edf2f9}
 .chat-composer{padding:10px 12px 7px;border-radius:15px}
 .chat-composer textarea{min-height:32px;max-height:108px;font-size:12px;padding:2px 0 6px}
 .voice-btn{min-height:34px;padding:8px 10px}
 .voice-btn span{display:none}
 .tool-icon{width:33px;height:33px}
 .send-btn{width:38px;height:38px;border-radius:12px}
 .send-btn svg{width:20px;height:20px}
 .composer-disclaimer{font-size:9px;margin:6px 0 0}
}
@media(max-width:365px){
 .civic-header{height:89px;min-height:89px;padding:0 8px}
 .civic-header .civic-logo{width:33px;height:33px;min-width:33px}
 .civic-header .civic-logo svg{width:23px;height:23px}
 .civic-header .civic-brand{gap:6px}
 .civic-header .civic-brand strong{font-size:11.8px}
 .civic-header .civic-brand .brand-copy>span{font-size:8.5px}
 .civic-header .script-switch{padding:2px}
 .civic-header .script-switch button{font-size:8.6px;padding:6px 3px}
 .icon-rail .rail-action{gap:5px;padding:5px}
 .icon-rail .rail-action small{font-size:9.5px}
 .conversation-log{padding:17px 12px}
}

/* =========================================================
   v27 — headerdagi navigatsiya, yagona aylanuvchi chat,
   moslashuvchan yuqori/pastki o'tish va axborot footeri
   ========================================================= */
.desktop-chat-nav{
 display:flex;flex:none;align-items:center;gap:8px;margin-left:auto
}
.desktop-nav-action,.scroll-jump-desktop{
 flex:none;display:inline-flex;align-items:center;justify-content:center;
 gap:9px;min-height:43px;padding:10px 14px;
 border:1px solid #dfebf7;border-radius:12px;
 background:#f7faff;color:#315c8d;
 font-size:12px;font-weight:750;white-space:nowrap;
 transition:background .18s,border-color .18s,transform .18s
}
.desktop-nav-action:hover,.scroll-jump-desktop:hover:not(:disabled){
 background:#e8f3ff;border-color:#b4d6fb;color:#0b63cf;transform:translateY(-1px)
}
.desktop-nav-action svg,.scroll-jump-desktop svg{width:18px;height:18px}
.desktop-nav-action.new{
 background:linear-gradient(135deg,#1b7eef,#0d5fc9);
 border-color:#0b63d1;color:#fff;box-shadow:0 6px 16px #1168cf23
}
.desktop-nav-action.new:hover{background:linear-gradient(135deg,#116cda,#074ca8);color:#fff}
.scroll-jump-desktop{width:43px;padding:0;background:#fff}
.scroll-jump-desktop:disabled{opacity:.4;cursor:default;box-shadow:none}
.scroll-jump-mobile{display:none}
.civic-header .civic-brand{flex:1 1 auto}
.civic-header .civic-brand strong{font-size:19px}
.civic-header .civic-brand .brand-copy>span{font-size:11.5px}
.civic-header .civic-logo{width:51px;height:51px;min-width:51px;border-radius:16px}
.civic-header .civic-logo svg{width:32px;height:32px}
.civic-header .script-switch button{min-height:37px;padding:8px 12px;font-size:11px}

/* Headerdan tashqari butun joy chatga ajratiladi. Yon panel desktopda yo'q. */
.civic-workspace{
 width:100%;max-width:none;min-height:0;flex:1;
 display:flex;gap:0;padding:0
}
@media(min-width:901px){.icon-rail{display:none!important}}
.civic-main{
 display:block;flex:1 1 auto;width:100%;height:100%;
 min-width:0;min-height:0;max-width:none;
 margin:0;padding:0;overflow-x:hidden;overflow-y:auto;
 overscroll-behavior-y:contain;scrollbar-width:thin;
 scrollbar-color:#c9dbf0 transparent;background:#fff
}
.conversation-panel{
 width:100%;max-width:none;min-width:0;
 height:auto;min-height:100%;margin:0;padding:0;
 display:flex;flex-direction:column;flex:0 0 auto;
 overflow:visible;border:0;border-radius:0;
 box-shadow:none;background:#fff
}
.conversation-heading{
 position:relative;flex:none;z-index:auto;
 width:100%;min-height:74px;margin:0;padding:17px clamp(23px,4vw,66px);
 border-bottom:1px solid #edf2f8;background:#fff
}
.conversation-heading:before{left:clamp(23px,4vw,66px)}
.conversation-log{
 width:100%;max-width:none;min-height:290px;
 flex:1 0 auto;overflow:visible;
 padding:26px clamp(22px,5vw,78px) 38px
}
.conversation-log.is-welcome{display:flex;align-items:center;justify-content:center}
.composer-zone{
 flex:0 0 auto;position:static;
 width:100%;margin:0;padding:17px clamp(22px,5vw,78px) 23px;
 border-top:1px solid #edf2f8;background:#fff
}
.chat-composer{max-width:1600px;margin:0 auto}
.composer-disclaimer{display:none!important}
.c-message.assistant{max-width:min(94%,1140px)}
.c-message.user .user-bubble{max-width:min(90%,970px)}

/* Pastki xabarnoma va muallif ma'lumotlari */
.civic-footer{
 flex:none;display:flex;align-items:center;justify-content:space-between;
 gap:25px;min-height:104px;width:100%;
 padding:18px clamp(22px,5vw,78px);
 border-top:1px solid #dbe9f7;
 background:linear-gradient(110deg,#edf6ff 0%,#f5faff 56%,#f8fbff 100%)
}
.footer-safety{display:flex;align-items:center;gap:14px;min-width:0}
.footer-shield{
 flex:none;width:47px;height:47px;display:grid;place-items:center;
 border-radius:16px;background:#dcecff;color:#1265ca;
 border:1px solid #c4dffa
}
.footer-shield svg{width:25px;height:25px;stroke-width:1.9}
.footer-safety p{display:flex;flex-direction:column;gap:6px;margin:0;line-height:1.55}
.footer-safety strong{color:#19426d;font-size:12.5px;font-weight:800}
.footer-safety p>span{font-size:12px;color:#577390}
.footer-credit{
 display:flex;flex-direction:column;gap:7px;align-items:flex-end;
 min-width:0;text-align:right;color:#5c7692;font-size:12px;line-height:1.45
}
.footer-credit a{
 display:inline-flex;align-items:center;color:#0967d0;
 text-decoration:none;border-bottom:1px dashed #8bb6e8;
 transition:color .16s,border-color .16s
}
.footer-credit a:hover,.footer-credit a:focus-visible{
 color:#034a9b;border-bottom-color:#034a9b
}
.footer-credit a strong{font-weight:850}
.footer-credit small{font-size:11px;color:#7d93ab}

@media(min-width:901px) and (max-width:1170px){
 .civic-header{padding:0 16px}
 .civic-header-inner{gap:10px}
 .civic-header .civic-brand{gap:9px}
 .civic-header .civic-brand strong{font-size:16px}
 .civic-header .civic-brand .brand-copy>span{font-size:10px}
 .civic-header .civic-logo{width:42px;height:42px;min-width:42px}
 .civic-header .civic-logo svg{width:28px;height:28px}
 .desktop-chat-nav{gap:5px}
 .desktop-nav-action{padding:9px 10px;font-size:11px}
 .civic-header .script-switch button{padding:8px 8px;font-size:10px}
}

/* Tablet ham mobil navigatsiya uslubiga o'tadi */
@media(max-width:900px){
 .desktop-chat-nav{display:none!important}
 .civic-header .civic-brand strong{font-size:17px}
 .civic-header .civic-brand .brand-copy>span{font-size:11px}
 .icon-rail{
  position:fixed;z-index:35;left:50%;right:auto;align-self:auto;
  bottom:max(10px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  width:min(calc(100vw - 20px),390px);height:73px;min-height:73px;
  max-height:none;gap:9px;margin:0;padding:8px 10px;
  border:1px solid #cfdef0;border-radius:19px;
  background:#fff;box-shadow:0 10px 33px #164b8834
 }
 .icon-rail .rail-action,.icon-rail .rail-action:last-child{
  display:flex;flex:1 1 0;width:0;min-width:0;min-height:54px;
  flex-direction:row;align-items:center;justify-content:center;
  gap:8px;margin:0;padding:6px 8px;border-radius:13px
 }
 .icon-rail .rail-action .rail-icon{width:36px;height:36px;border-radius:11px}
 .icon-rail .rail-action .rail-icon svg{width:19px;height:19px;padding:0}
 .icon-rail .rail-action small{
  flex:0 1 auto;max-width:110px;min-width:0;
  font-size:10.5px;line-height:1.28;text-align:left;white-space:normal
 }
 .scroll-jump-mobile{
  position:absolute;right:10px;bottom:calc(100% + 12px);
  display:grid;place-items:center;width:47px;height:47px;
  padding:0;border:1px solid #bbd8f7;border-radius:15px;
  background:#fff;color:#1168d3;
  box-shadow:0 7px 22px #16487b2c;transition:background .18s,transform .18s
 }
 .scroll-jump-mobile:hover:not(:disabled){background:#eaf4ff;transform:translateY(-2px)}
 .scroll-jump-mobile svg{width:23px;height:23px;padding:0}
 .scroll-jump-mobile:disabled{opacity:.4;cursor:default}
 .civic-main{
  height:100%;overflow-y:auto;margin-bottom:0;
  padding-bottom:calc(95px + env(safe-area-inset-bottom))!important
 }
 .conversation-panel{min-height:100%;height:auto;overflow:visible;border:0;border-radius:0}
 .conversation-heading{min-height:64px}
 .conversation-log{min-height:260px;overflow:visible}
 .composer-zone{position:static}
}

@media(max-width:720px){
 .civic-header .civic-logo{width:40px;height:40px;min-width:40px}
 .civic-header .civic-brand strong{font-size:13px}
 .civic-header .civic-brand .brand-copy>span{font-size:9.5px}
 .civic-header .script-switch button,.civic-header .script-switch button:last-child{
  min-height:33px;padding:7px 5px;font-size:9px
 }
 .civic-workspace{padding:0;gap:0}
 .civic-main{margin-bottom:0;padding:0 0 calc(98px + env(safe-area-inset-bottom))!important}
 .conversation-panel{padding:0;min-height:100%}
 .conversation-heading{min-height:60px;padding:12px 16px}
 .conversation-heading:before{left:16px}
 .conversation-log{min-height:235px;padding:20px 16px 28px}
 .composer-zone{padding:11px 13px 15px}
 .civic-footer{
  flex-direction:column;align-items:stretch;
  gap:18px;min-height:0;padding:18px 17px 23px
 }
 .footer-safety{align-items:flex-start;gap:11px}
 .footer-shield{width:39px;height:39px;border-radius:13px}
 .footer-shield svg{width:22px;height:22px}
 .footer-safety strong{font-size:11.5px}
 .footer-safety p>span{font-size:11px}
 .footer-credit{
  align-items:flex-start;text-align:left;padding-left:50px;
  gap:5px;font-size:11px
 }
 .footer-credit small{font-size:10px}
}

/* v28 — Fuqarolarga mo‘ljallangan yangi rasmiy AI logotipi. */
.civic-header .civic-logo{
 overflow:hidden;background:#fff;
 border:1px solid #e0eaf4;border-radius:16px;
 box-shadow:0 6px 19px #1d529a14;
 padding:0
}
.civic-header .civic-logo img{
 display:block;width:100%;height:100%;padding:3px;
 object-fit:contain;border-radius:inherit
}
.assistant-avatar{
 overflow:hidden;background:#fff;
 border:1px solid #dae9f5;box-shadow:0 4px 11px #1056a617
}
.assistant-avatar img{
 display:block;width:100%;height:100%;object-fit:contain;
 padding:2px;border-radius:inherit
}
.chat-welcome{
 max-width:850px;padding:48px 16px 64px
}
.chat-welcome h2{margin-top:0}
@media(max-width:720px){
 .civic-header .civic-logo{border-radius:12px}
 .civic-header .civic-logo img{padding:2px}
 .assistant-avatar img{padding:1px}
 .chat-welcome{padding:38px 9px 54px}
}

/* v29 — suhbatlar oynasi to‘liq sahifa bo‘ylab erkin aylanadi. */
.civic-dialog .modal-top{
 position:relative!important;top:auto!important;z-index:auto;
 background:#fff
}
.history-dialog .history-search{
 display:flex;align-items:center;gap:14px;width:100%;
 min-height:58px;padding:12px 18px;
 border:1.5px solid #cfdfef;border-radius:17px;
 background:linear-gradient(135deg,#fbfdff,#f4f9ff);
 box-shadow:0 7px 20px #1e67ab08;
 transition:border-color .18s,box-shadow .18s,background .18s
}
.history-dialog .history-search:focus-within{
 border-color:#2184ee;background:#fff;
 box-shadow:0 0 0 4px #cbe4ff78,0 9px 25px #1b6fc510
}
.history-dialog .history-search svg{
 width:22px;height:22px;flex:none;color:#1877d9;stroke-width:2
}
.history-dialog .history-search input{
 display:block;flex:1 1 auto;min-width:0;width:100%;height:30px;
 border:0!important;border-radius:0!important;
 box-shadow:none!important;outline:none!important;
 -webkit-appearance:none;appearance:none;
 background:transparent!important;color:#153960!important;
 font-size:14px!important;font-weight:550!important;
 line-height:1.5;padding:0!important;margin:0!important
}
.history-dialog .history-search input::placeholder{
 color:#839cb7;font-size:13px;font-weight:500
}
.history-dialog .history-search input::-webkit-search-cancel-button,
.history-dialog .history-search input::-webkit-search-decoration{display:none!important}
.history-dialog .history-search input:-webkit-autofill{
 -webkit-box-shadow:0 0 0 1000px #fff inset!important
}
.history-dialog .history-results{padding-top:4px}
.history-row .icon-action{border:1px solid transparent}
.history-row .icon-action:hover{border-color:#c9ddf3}
.history-dialog .modal-actions{gap:14px;flex-wrap:wrap}
.history-dialog .history-delete-all{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:43px;padding:11px 17px;
 border:1px solid #dc354b;border-radius:12px;
 background:linear-gradient(135deg,#ef5462,#d92c48);
 color:#fff;font-size:12px;font-weight:750;
 box-shadow:0 6px 18px #d83b5028;
 transition:background .17s,transform .17s,box-shadow .17s
}
.history-dialog .history-delete-all:hover{
 color:#fff;background:linear-gradient(135deg,#e64255,#bc1b38);
 transform:translateY(-1px);box-shadow:0 9px 20px #d83b5036
}
.history-dialog .history-delete-all svg{width:17px;height:17px;color:#fff}
@media(max-width:720px){
 .history-dialog .history-search{
  min-height:55px;padding:11px 13px;border-radius:13px
 }
 .history-dialog .history-search input{font-size:13px!important}
 .history-dialog .modal-actions{align-items:stretch;gap:10px}
 .history-dialog .history-delete-all,
 .history-dialog #newChatModal{flex:1 1 auto;min-height:45px}
}
