.chat-page{margin:0!important;background:#fff!important;color:#202a33;font:16px/1.5 Inter,Arial,sans-serif;overflow-x:hidden}.chat-page *{box-sizing:border-box}.chat-page [hidden]{display:none!important}.chat-layout{display:flex;min-height:100dvh}.chat-page button,.chat-page select,.chat-page textarea{font:inherit}.chat-page button,.chat-page a,.chat-page select{touch-action:manipulation}.chat-page button{cursor:pointer}.chat-page button:disabled{opacity:.5;cursor:default}.chat-page a{color:#163a5f}.chat-page :focus-visible{outline:3px solid #69b9d0;outline-offset:3px}.chat-skip{position:fixed;left:1rem;top:-5rem;z-index:20;padding:.75rem;background:white}.chat-skip:focus{top:1rem}.chat-sidebar{width:260px;flex-shrink:0;background:#f4f7f8;border-right:1px solid #e4eaee;padding:24px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;margin:0 10px 24px}.sidebar-brand a{font-size:1.55rem;font-weight:750;letter-spacing:-.04em;text-decoration:none}.sidebar-brand span{display:inline-block;font-size:.7rem;letter-spacing:.13em;color:#2f7d5a;margin-left:10px;vertical-align:middle}.new-chat{width:100%;border:1px solid #d5e1e7;border-radius:12px;padding:12px;text-align:left;background:#fff;color:#163a5f;font-weight:600!important}.sidebar-caption{font-size:.875rem!important;font-weight:500!important;color:#61717c;margin:28px 10px 8px!important}.thread-list{flex:1;overflow-y:auto;min-height:80px;padding:0 2px}.thread-list p{font-size:.875rem;margin:10px}.thread-row{display:flex;gap:4px;align-items:center;border-radius:10px;margin-bottom:4px}.thread-row.active{background:#e2edef}.thread-open{min-width:0;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;border-radius:9px;padding:10px;color:#273d4c;font-size:.875rem!important}.thread-remove{flex-shrink:0;border:0;background:transparent;color:#6b7981;padding:8px;font-size:1.1rem!important}.sidebar-bottom{border-top:1px solid #dce5e9;padding:16px 10px 0;display:grid;gap:10px;font-size:.875rem}.sidebar-bottom a{text-decoration:none}.sidebar-account{margin:6px 0 0;font-size:.875rem;color:#596b76;overflow-wrap:anywhere}.text-button{border:0;background:transparent;padding:0;text-align:left;color:#163a5f}.chat-main{min-width:0;flex:1;display:flex;flex-direction:column;min-height:100dvh}.chat-topbar{position:sticky;top:0;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px 30px;background:rgba(255,255,255,.97);border-bottom:1px solid #eef2f4;min-height:78px}.chat-heading{font-size:1.125rem;font-weight:650;line-height:1.3}.chat-heading span{display:block;color:#74818a;font-size:.75rem;font-weight:400;margin-top:3px}.chat-balance{font-size:.875rem;color:#2f7d5a;text-align:right}.conversation{width:100%;max-width:880px;flex:1;margin:0 auto;padding:24px 32px 32px;overflow-wrap:anywhere}.chat-welcome{text-align:center;max-width:620px;margin:9vh auto 44px}.welcome-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;margin:0 auto 20px;background:#163a5f;color:white;font-size:1.6rem;font-weight:700;box-shadow:0 6px 24px #163a5f1a}.chat-welcome h1{font-size:clamp(1.7rem,3vw,2.4rem)!important;letter-spacing:-.04em;margin:0 0 12px!important;font-weight:600!important;line-height:1.2}.chat-welcome>p{margin:0;color:#61717c}.suggestions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:26px 0 20px}.suggestions button{font-size:.875rem!important;background:#fff;border:1px solid #dce5e9;padding:12px 14px;border-radius:13px;color:#344d5c}.suggestions button:hover{background:#f4f7f8}.chat-welcome .welcome-note{font-size:.875rem;color:#87939a}.messages{display:grid;gap:28px}.message{min-width:0}.message.user{max-width:85%;justify-self:end;padding:14px 18px;background:#edf3f5;border-radius:18px 18px 4px 18px}.message.assistant{width:100%;padding:0 0 0 8px}.message-label{font-size:.8125rem;color:#61717c;margin-bottom:7px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.message-image{display:block;width:auto;max-width:100%;max-height:420px;object-fit:contain;margin:0 0 12px;border-radius:10px}.message-copy{font-size:.8125rem!important;color:#61717c;margin-top:10px;padding:3px 0}.composer-area{width:100%;max-width:880px;margin:0 auto;padding:0 32px 12px}.chat-composer{border:1px solid #d5e1e7;border-radius:20px;box-shadow:0 4px 24px #163a5f08;padding:14px 16px;background:white}.chat-composer textarea{width:100%;min-height:62px;max-height:180px;resize:vertical;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:3px 0!important;line-height:1.5;color:#202a33}.composer-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:8px}.composer-tools{display:flex;gap:8px;align-items:center;min-width:0}.icon-button{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:10px;color:#163a5f;background:transparent;font-size:1.5rem!important;padding:0!important}.icon-button:hover{background:#eaf1f3}.mode-label{min-width:0}.mode-label select{width:100%;max-width:240px;background:#f4f7f8;border:0!important;border-radius:9px!important;padding:8px 26px 8px 10px!important;font-size:.875rem!important;color:#344d5c;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23163A5F'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}.chat-send,.chat-primary{display:inline-block;background:#2f7d5a;color:white!important;border:0;border-radius:10px;padding:10px 16px;text-decoration:none;font-weight:600}.chat-send{font-size:.875rem!important;white-space:nowrap}.composer-note{font-size:.75rem;line-height:1.55;text-align:center;color:#74818a;margin:12px 0}.chat-footer [data-natigora-mission]{font-size:.75rem!important;border:0!important;background:transparent!important;margin:0!important;padding:4px 0!important;line-height:1.5!important;color:#87939a!important;text-align:center!important}.chat-error{padding:12px 14px;border:1px solid #e4a8a8;background:#fff6f5;color:#922e2e;border-radius:12px;font-size:.875rem;overflow-wrap:anywhere}.chat-status{font-size:.875rem;color:#61717c;min-height:22px;margin:4px 0 8px}.auth-notice{margin:20px auto 0;padding:16px 20px;border:1px solid #dce5e9;border-radius:14px;width:calc(100% - 64px);max-width:816px;background:#f4f7f8}.auth-notice p{margin:0 0 12px}.attachment-preview{display:flex;align-items:center;gap:14px;padding:0 0 12px}.attachment-preview img{max-width:180px;max-height:140px;object-fit:contain;border-radius:8px}.attachment-preview button{font-size:.875rem!important}.packages-dialog{width:min(600px,calc(100vw - 32px));max-height:85dvh;border:1px solid #d5e1e7;border-radius:20px;padding:24px;color:#202a33;overflow-y:auto}.packages-dialog::backdrop{background:#163a5f66}.dialog-top{display:flex;gap:16px;align-items:center;justify-content:space-between}.dialog-top h2{margin:0!important;font-size:1.4rem!important}.packages-dialog p{font-size:.875rem}.packages-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.packages-list>div{border:1px solid #d5e1e7;padding:16px 12px;border-radius:12px;display:grid;gap:6px}.packages-list strong{font-size:1.3rem;color:#163a5f}.packages-list span{font-size:.875rem}.packages-state{color:#2f7d5a}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:#74818a}.mobile-only{display:none}.sidebar-shade{position:fixed;inset:0;z-index:8;background:#163a5f66;border:0}
@media(max-width:768px){.chat-sidebar{position:fixed;left:0;top:0;z-index:9;width:min(290px,calc(100vw - 32px));transform:translateX(-105%);transition:transform .18s ease}.chat-sidebar.is-open{transform:translateX(0)}.mobile-only{display:grid}.chat-topbar{padding:12px 16px;min-height:70px}.chat-heading{margin-right:auto}.chat-heading span{font-size:.7rem}.chat-balance{max-width:114px;font-size:.8125rem}.conversation{padding:24px 20px}.composer-area{padding:0 16px 10px}.auth-notice{width:calc(100% - 32px)}.chat-welcome{margin:8vh auto 36px}.message.user{max-width:92%}.chat-footer [data-natigora-mission]{font-size:.7rem!important}.composer-note{font-size:.7rem}.suggestions button{padding:11px 12px}.chat-composer{padding:12px;border-radius:17px}.mode-label select{max-width:190px;font-size:.8125rem!important;padding-left:8px!important}.composer-tools{gap:2px}.composer-controls{gap:4px}.chat-send{padding:10px 12px}.attachment-preview img{max-width:140px}}
@media(max-width:359px){.chat-topbar{padding:10px}.chat-heading{font-size:1rem}.chat-balance{max-width:84px;font-size:.75rem}.composer-area{padding-left:10px;padding-right:10px}.chat-composer{padding:10px}.mode-label select{max-width:158px;font-size:.75rem!important}.chat-send{font-size:.8125rem!important;padding:10px}.composer-tools .icon-button{width:28px}.packages-list{grid-template-columns:1fr}.packages-list>div{display:flex;align-items:center;justify-content:space-between}.packages-dialog{padding:18px}}
@media(prefers-reduced-motion:reduce){.chat-sidebar{transition:none}}
.image-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 16px}.image-action{font-size:.875rem!important;border:1px solid #c7d7e0;border-radius:10px;background:#fff;color:#163a5f;padding:9px 13px}.image-notice{font-size:.875rem;color:#61717c}.chat-page .message-image{width:auto;height:auto;max-width:100%;max-height:70vh;object-fit:contain;object-position:center}.attachment-preview p{font-size:.8125rem;color:#61717c;margin:0 0 7px}.composer-restoration{display:block;font-size:.8125rem!important;margin-top:12px;padding:3px 0!important}.chat-restoration.restoration-page{background:#fff;margin-top:20px;padding:16px;border:1px solid #d5e1e7;border-radius:14px;min-width:0;max-width:100%;color:#202a33;font-size:1rem}.chat-restoration .restore-flow-form{margin:0}.chat-restoration .restore-scan-frame img{display:block;max-width:100%;height:auto;max-height:70vh;object-fit:contain}.chat-restoration .restore-packages{grid-template-columns:repeat(3,minmax(0,1fr))}.chat-restoration :is(img,canvas,video){max-width:100%;object-fit:contain}.chat-restoration .restore-flow-options label:not(.restore-choice){font-size:.875rem}.chat-restoration .net-btn{font-size:.875rem;white-space:normal;max-width:100%;padding:11px 15px}.chat-restoration .restore-inline-payment h2{font-size:1.35rem!important}.chat-restoration .restore-preview-grid{max-width:100%}.chat-restoration .restore-choice>span{padding:10px 6px;font-size:.8125rem}.chat-restoration .restore-choice input:checked+span{padding:9px 5px}
@media(max-width:600px){.chat-page .composer-controls{flex-wrap:wrap;gap:9px}.chat-page .composer-tools{flex:1;min-width:150px}.chat-page .chat-send{max-width:100%;white-space:normal}.chat-restoration.restoration-page{padding:12px}.chat-restoration .restore-packages{gap:6px}.chat-restoration .restore-choice>span{padding:9px 4px;font-size:.75rem}.chat-restoration .restore-choice input:checked+span{padding:8px 3px}.chat-restoration .restore-consent{font-size:.8125rem!important}.chat-restoration .restore-flow-form :is(input:not([type=checkbox],[type=radio],[type=file]),textarea){padding:9px}}
.message-text-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.chat-page .chat-record{font-size:1.2rem!important}.chat-page .mode-label{flex:1;min-width:0}.chat-page .sidebar-bottom>.text-button{font-size:.875rem}
.chat-heading{min-width:0}.chat-heading span{max-width:32vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.realtime-control{margin:8px 0 14px}.chat-page .chat-realtime-button{display:block;width:100%;max-width:100%;font-size:.875rem!important;border:1px solid #a9cdb9;border-radius:12px;background:#edf6f1;color:#215b42;padding:12px 16px;white-space:normal;line-height:1.4}.live-conversation{border:1px solid #a9cdb9;background:#f4faf6;border-radius:14px;padding:14px 16px;margin:12px 0}.live-conversation>strong{font-size:.875rem;color:#2f7d5a}.live-transcript{max-height:240px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.9375rem}.live-transcript p{margin:10px 0}.wallet-email{font-weight:600;overflow-wrap:anywhere;color:#163a5f}.wallet-summary{padding:12px;background:#f4f7f8;border-radius:10px;overflow-wrap:anywhere}.wallet-message{min-height:20px;overflow-wrap:anywhere;color:#163a5f}.chat-page .package-buy{font-size:.8125rem!important;padding:10px 7px;line-height:1.35;white-space:normal;width:100%;margin-top:5px}.pending-checkout{padding:14px;border:1px solid #b5cdd9;border-radius:12px;margin:15px 0}.pending-checkout p{margin:0 0 12px}.checkout-actions{display:flex;flex-wrap:wrap;gap:10px}.checkout-actions button{max-width:100%;font-size:.875rem!important;white-space:normal}.chat-page #owner-self-grant{max-width:100%;white-space:normal;font-size:.875rem!important}.chat-page .packages-list>div{min-width:0}.chat-page .packages-state{font-size:.875rem}
@media(max-width:768px){.chat-heading span{max-width:calc(100vw - 200px)}.chat-page .chat-realtime-button{padding:11px 12px}.chat-page .packages-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.chat-page .packages-list>div{padding:12px 7px}.chat-page .packages-list span{font-size:.8125rem}.chat-page .packages-list strong{font-size:1.15rem}}
@media(max-width:359px){.chat-page .packages-list{grid-template-columns:1fr}.chat-page .packages-list>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center}.chat-page .package-buy{grid-column:1/-1}.chat-heading span{max-width:calc(100vw - 160px)}}

/* Universal task starters: selection only prepares an editable draft. */
.chat-welcome{max-width:760px;margin-top:3vh;margin-bottom:24px}.chat-welcome>p{max-width:620px;margin-inline:auto}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 16px}.chat-page .task-card{min-width:0;min-height:88px;padding:15px 17px;border:1px solid #dce5e9;border-radius:14px;background:#fff;color:#163a5f;text-align:left;white-space:normal;overflow-wrap:anywhere;transition:background .15s,border-color .15s}.task-card strong{display:block;font-size:1rem;font-weight:600;line-height:1.35}.task-card span{display:block;font-size:.875rem;line-height:1.45;color:#61717c;margin-top:5px}.task-card:hover{background:#f4f7f8;border-color:#69b9d0}.chat-page .task-business{background:#edf5f1;border-color:#b9d6c8}.task-business:hover{background:#e2f0e9}.other-tasks{margin:8px 0 18px;text-align:left}.other-tasks summary{display:list-item;cursor:pointer;color:#163a5f;padding:10px 0;font-size:.875rem;min-height:44px}.other-tasks .suggestions{justify-content:flex-start;margin:8px 0}.business-tasks{text-align:left}.business-tasks h2{font-size:1.25rem!important;line-height:1.35!important;margin:12px 0 6px!important}.business-tasks>p{font-size:.875rem;color:#61717c;margin:0}.tasks-back{min-height:44px;padding:8px 0;text-decoration:underline;text-underline-offset:3px}.service-shortcuts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;border-top:1px solid #e4eaee;padding-top:16px;margin:8px 0 16px}.service-shortcuts button{font-size:.875rem!important;border:1px solid #dce5e9;border-radius:10px;background:#fff;color:#344d5c;padding:10px 12px;min-height:44px}.service-shortcuts button:hover{background:#f4f7f8}.chat-welcome .welcome-note{color:#61717c;font-size:.875rem;line-height:1.5}.chat-page .chat-heading span{font-size:.875rem}.chat-page .chat-send{white-space:normal;min-height:44px}.chat-page .mode-label select{font-size:.875rem;max-width:100%}
@media(max-width:600px){.chat-welcome{margin-top:16px}.task-grid{gap:8px}.chat-page .task-card{padding:12px;min-height:96px}.task-card strong{font-size:.9375rem}.task-card span{font-size:.875rem}.service-shortcuts{justify-content:flex-start}.chat-welcome>p{text-align:left}.composer-controls{flex-wrap:wrap;gap:10px}.composer-tools{min-width:0;flex-wrap:wrap}.chat-send{margin-left:auto}}
@media(max-width:360px){.task-grid{grid-template-columns:1fr}.chat-page .task-card{min-height:76px}.chat-welcome h1{text-align:left}.welcome-mark{margin-left:0}}

@media(max-width:768px){.chat-page .chat-topbar{display:grid;grid-template-columns:36px minmax(0,1fr)90px;gap:8px}.chat-page .chat-heading{min-width:0;margin:0;font-size:1rem}.chat-page .chat-heading span{max-width:100%}.chat-page .chat-balance{min-width:0;max-width:90px;font-size:.875rem;overflow-wrap:anywhere;line-height:1.35}}

.business-map-entry{display:block;width:100%;margin:18px 0 8px;padding:14px 16px;border:1px solid #a9cdb9;border-radius:12px;background:#edf5f1;color:#163a5f;text-align:left}.business-map-entry strong,.business-map-entry span{display:block}.business-map-entry span{font-size:.875rem;color:#61717c;margin-top:4px}.business-more{border-top:1px solid #e4eaee;padding-top:6px}.business-map h3{font-size:1.25rem!important;line-height:1.4;margin:8px 0!important}.business-map>p{font-size:.9375rem;color:#61717c}.business-map .business-map-storage{font-size:.875rem;background:#f4f7f8;border-radius:10px;padding:12px}.business-map fieldset{border:0;padding:0;margin:0;min-width:0}.business-map fieldset:disabled{opacity:.6}.business-map label{display:block;font-size:.9375rem;font-weight:600;margin:12px 0 6px}.chat-page .business-map :is(input:not([type=checkbox]),textarea){display:block;width:100%;min-width:0;max-width:100%;border:1px solid #c7d7e0;border-radius:9px;padding:10px 12px;background:#fff;color:#202a33;font:inherit}.business-map textarea{resize:vertical}.business-map-actions{display:grid;gap:12px;margin:18px 0}.business-action{padding:4px 14px 14px;border:1px solid #dce5e9;border-radius:12px}.business-action-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}.business-action-meta>div{min-width:0}.business-map .business-done{display:flex;align-items:center;gap:8px;font-weight:400;min-height:44px;margin-bottom:0}.business-done input{width:20px;height:20px;accent-color:#2f7d5a}.business-map-buttons{display:flex;flex-wrap:wrap;gap:10px}.business-map-buttons button{font-size:.9375rem!important;min-height:44px;white-space:normal}.business-map-status{font-size:.875rem;color:#2f7d5a;overflow-wrap:anywhere;min-height:24px}.business-map :focus-visible{scroll-margin:90px 0 24px}.business-map-entry:focus-visible{outline:3px solid #69b9d0;outline-offset:3px}@media(max-width:420px){.business-action-meta{grid-template-columns:1fr}.business-map-buttons{display:grid}.business-map-buttons button{width:100%}.business-action{padding:4px 10px 10px}}

.business-map-dialog{width:min(780px,calc(100vw - 24px));max-height:88dvh}.business-map-dialog .business-map{max-width:100%;text-align:left}.business-map-dialog h3{margin-top:0!important}.business-map-dialog .business-map-storage{font-size:.875rem}.chat-page .composer-map{display:block;width:fit-content;margin:0 0 8px;padding:8px 0;min-height:44px;font-size:.875rem;text-decoration:underline;text-underline-offset:3px}.message-text-actions .reply-refine{font-size:.875rem;min-height:44px;padding:8px 0}.message-text-actions{gap:8px 18px}.business-map-dialog::backdrop{background:#163a5f66}@media(max-width:420px){.business-map-dialog{padding:16px;max-height:90dvh}.business-map-dialog .business-map-buttons{grid-template-columns:1fr}}
