:root { color-scheme:light; font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif; color:#21372d; background:#f6f5f1; font-synthesis:none; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:26px; }
body { margin:0; }
[hidden] { display:none !important; }
button,input,select,textarea { font:inherit; }
button,summary { cursor:pointer; }
button:disabled { opacity:.55; cursor:wait; }
a { color:inherit; }
.topbar { height:76px; max-width:1280px; margin:auto; padding:0 40px; display:flex; align-items:center; gap:24px; border-bottom:1px solid #dfe3d9; }
.brand { font-size:32px; font-weight:800; letter-spacing:-.065em; text-decoration:none; }
.brand span { color:#578f67; }
.topbar-label { font-size:13px; color:#687568; border-left:1px solid #d5dbd1; padding-left:24px; }
.workspace { max-width:1280px; padding:44px 40px 34px; margin:auto; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-bottom:28px; }
.eyebrow { color:#697567; font-size:10px; font-weight:700; letter-spacing:.14em; margin:0 0 10px; }
h1 { font-size:clamp(27px,3vw,36px); letter-spacing:-.04em; line-height:1.2; font-weight:600; margin:0 0 12px; }
.intro { font-size:14px; color:#697467; line-height:1.65; margin:0; max-width:570px; }
.button { border:1px solid transparent; border-radius:9px; padding:12px 20px; font-size:13px; font-weight:600; line-height:1.4; white-space:nowrap; }
.primary { background:#285b40; color:white; }
.primary:hover:not(:disabled) { background:#1f4c34; }
.secondary { border-color:#cdd7c8; color:#285b40; background:#fff; margin-bottom:20px; }
:focus-visible { outline:3px solid #89b899; outline-offset:3px; }
.notice { padding:13px 16px; background:#e9eee3; border:1px solid #d5dfcc; border-radius:9px; font-size:13px; line-height:1.6; margin:0 0 22px; overflow-wrap:anywhere; }
.notice.error { background:#f9ede6; border-color:#edd3c4; color:#8c4327; }
.notice.success { background:#e8f0e8; color:#2c603c; }
.layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:36px; align-items:start; }
.sidebar { position:sticky; top:28px; }
nav { display:flex; flex-direction:column; gap:7px; margin:3px 0 28px; }
nav a { display:flex; gap:15px; padding:11px 10px; border-radius:7px; font-size:11px; color:#8b9385; text-decoration:none; }
nav a span { color:#42553f; font-size:13px; }
nav a:hover { background:#e9ece3; }
.readiness { border:1px solid #dce1d3; background:#edf0e6; padding:20px; border-radius:12px; }
.status-dot { display:inline-block; height:8px; width:8px; background:#b79a5b; border-radius:100%; margin-bottom:10px; }
.readiness.ready .status-dot { background:#4f8c61; }
.readiness h2 { font-size:14px; line-height:1.5; margin:0 0 8px; font-weight:600; }
.readiness p,details,.sidebar-note { font-size:12px; color:#6b7761; line-height:1.65; margin:0; }
details { margin-top:14px; }
summary { color:#425a3b; font-weight:500; }
details ul { padding-left:17px; margin-bottom:0; }
details li + li { margin-top:5px; }
.sidebar-note { padding:18px 8px 0; color:#808a79; }
form,fieldset { min-width:0; }
fieldset { border:0; padding:0; margin:0; }
.card { background:#fff; border:1px solid #e1e5db; border-radius:12px; padding:28px 30px 30px; margin-bottom:20px; }
.section-heading { display:flex; align-items:flex-start; gap:15px; margin-bottom:24px; }
.section-number { color:#8b987e; font-size:10px; line-height:20px; padding-top:1px; }
.section-heading h2 { font-size:18px; font-weight:600; letter-spacing:-.02em; margin:0 0 5px; }
.section-heading p { color:#84907d; font-size:12px; line-height:1.6; margin:0; }
.fields-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
.field { min-width:0; }
.full { grid-column:1 / -1; }
label { display:block; font-size:12px; font-weight:500; color:#41513c; line-height:1.6; margin-bottom:8px; }
.optional { color:#929b88; font-weight:400; padding-left:5px; font-size:11px; }
input:not([type=file]),select,textarea { display:block; width:100%; min-width:0; border:1px solid #dbe0d5; border-radius:7px; background:#fff; color:#283c2b; padding:11px 12px; font-size:13px; line-height:1.6; }
input:not([type=file]):focus,select:focus,textarea:focus { outline:none; border-color:#679776; box-shadow:0 0 0 3px #67977616; }
input::placeholder,textarea::placeholder { color:#a1a99b; opacity:1; }
input#currency { text-transform:uppercase; }
textarea { resize:vertical; min-height:72px; }
.field-help { font-size:11px; color:#87917e; line-height:1.6; margin:7px 0 0; }
.assets-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
.asset-card { border:1px solid #e0e5d8; border-radius:9px; padding:17px; min-width:0; }
.asset-card h3 { font-size:13px; font-weight:500; margin:0 0 14px; }
.asset-preview { height:100px; display:flex; align-items:center; justify-content:center; overflow:hidden; border:1px dashed #d9dfcf; border-radius:6px; background:#f8f9f4; color:#9ca58f; font-size:12px; margin-bottom:16px; }
.asset-preview img { display:block; max-height:92px; max-width:100%; object-fit:contain; }
.asset-label { display:inline-block; margin:0; background:#eef2e8; border:1px solid #d6dfcb; border-radius:5px; color:#4a6343; font-size:11px; padding:7px 10px; cursor:pointer; }
input[type=file] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.asset-card:has(input[type=file]:focus-visible) .asset-label { outline:3px solid #89b899; outline-offset:3px; }
.asset-card:has(input[type=file]:disabled) .asset-label { opacity:.55; cursor:wait; }
.asset-card .text-button { display:block; }
.text-button { border:0; background:none; color:#8e5a43; padding:0; font-size:11px; margin-top:12px; text-decoration:underline; text-underline-offset:3px; }
.rules-counter { display:flex; justify-content:space-between; gap:12px; }
.rules-counter span:last-child { white-space:nowrap; }
.save-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:5px 0 16px; }
.save-bar p { margin:0 0 5px; color:#4a5f40; font-size:13px; }
.save-bar span { color:#8b957e; font-size:11px; line-height:1.5; }
.page-footer { border-top:1px solid #e0e3d9; margin:20px auto 0; padding:24px 40px 30px; max-width:1280px; color:#7c886e; font-size:18px; font-weight:700; }
.page-footer span { margin-left:20px; font-size:11px; font-weight:400; color:#8c9583; }
@media(max-width:900px) { .topbar{padding:0 24px}.workspace{padding:32px 24px}.layout{grid-template-columns:180px minmax(0,1fr);gap:24px}.card{padding:24px}.page-heading{align-items:flex-start}.page-heading .button{margin-top:24px}.readiness{padding:16px}.page-footer{padding-left:24px;padding-right:24px} }
@media(max-width:700px) { .topbar{height:64px}.workspace{padding:28px 18px 22px}.page-heading{display:block;margin-bottom:24px}.page-heading .button{margin-top:20px}.intro{max-width:480px}.layout{grid-template-columns:minmax(0,1fr);gap:20px}.sidebar{position:static}.sidebar nav,.sidebar-note{display:none}.readiness{padding:16px 18px}.readiness .status-dot{float:left;margin:6px 10px 0 0}.readiness h2{margin-bottom:4px}.readiness p{padding-left:18px}.readiness details{margin-top:10px;margin-left:18px}.card{padding:23px 20px;border-radius:10px}.section-heading{margin-bottom:22px}.fields-grid{gap:18px}.optional{display:inline-block}.save-bar{align-items:stretch;flex-direction:column;gap:14px}.save-bar .button{width:100%}.page-footer{margin-top:0;padding:20px 18px 24px}.page-footer span{display:block;margin:8px 0 0;line-height:1.6} }
@media(max-width:420px) { .topbar{padding:0 18px;gap:16px}.topbar-label{padding-left:16px;font-size:12px}.fields-grid,.assets-grid{grid-template-columns:minmax(0,1fr)}.card{padding:22px 18px}.full{grid-column:auto}.section-heading p{font-size:11px} }
.settings-content { min-width:0; }
.bots-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.bots-toolbar h3,#bot-form h3 { font-size:14px; font-weight:600; margin:0; }
.bots-toolbar .button { margin:0; padding:8px 12px; }
.bots-list { display:grid; gap:12px; margin-bottom:26px; }
.bot-card { border:1px solid #dde4d7; border-radius:9px; padding:17px; min-width:0; }
.bot-card-header { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:12px; }
.bot-card h4 { margin:0 0 5px; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.bot-status { font-size:11px; line-height:1.5; border-radius:5px; padding:4px 8px; background:#edf0e6; color:#657658; }
.bot-status.connected { background:#e8f0e8; color:#2c603c; }
.bot-status.error { background:#f9ede6; color:#8c4327; }
.bot-card p { margin:8px 0 0; font-size:12px; line-height:1.6; color:#718067; overflow-wrap:anywhere; }
.bot-actions { display:flex; flex-wrap:wrap; gap:9px 17px; margin-top:12px; }
.bot-actions button { margin:0; color:#456b4c; }
.bot-actions .danger { color:#8e5a43; }
#bot-form { border-top:1px solid #e1e5db; padding-top:24px; }
#bot-form h3 { margin-bottom:19px; }
#bot-fields { display:grid; gap:18px; }
.bot-identity { margin:0; font-size:13px; line-height:1.6; color:#285b40; overflow-wrap:anywhere; }
.bot-form-actions { display:flex; flex-wrap:wrap; gap:10px; }
.bot-form-actions .button { margin:0; }
@media(max-width:700px) { .bots-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.bot-form-actions{flex-direction:column}.bot-form-actions .button{white-space:normal}.bot-card{padding:15px} }
.logout-button { margin-left:auto; display:inline-flex; align-items:center; gap:8px; border:1px solid #d6ded1; background:transparent; border-radius:8px; padding:9px 13px; font-size:12px; color:#52634b; }
.logout-button:hover:not(:disabled) { background:#ebefe5; color:#285b40; }
.exit-dialog { width:calc(100% - 32px); max-width:470px; max-height:calc(100svh - 32px); margin:auto; border:1px solid #e0e5d8; border-radius:18px; padding:32px; background:#fff; color:#21372d; box-shadow:0 24px 90px #1b302b26; }
.exit-dialog::backdrop { background:#1b302b66; backdrop-filter:blur(4px); }
body:has(.exit-dialog[open]) { overflow:hidden; }
.dialog-close { position:absolute; top:16px; right:16px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:0; border-radius:7px; background:transparent; color:#899281; }
.dialog-close:hover:not(:disabled) { background:#f0f3eb; color:#285b40; }
.dialog-close svg,.exit-dialog-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.exit-dialog-icon { display:flex; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid #e1e6d7; border-radius:13px; color:#577548; background:#f1f5e9; margin-bottom:24px; }
.exit-dialog-icon svg { width:24px; height:24px; }
.exit-dialog .eyebrow { font-size:8px; color:#89967d; letter-spacing:.12em; margin-bottom:10px; }
.exit-dialog h2 { font-size:27px; font-weight:600; letter-spacing:-.035em; line-height:1.2; margin:0 0 13px; }
.exit-dialog > p:not(.eyebrow) { margin:0; color:#7c8870; font-size:13px; line-height:1.8; }
.exit-dialog-actions { display:flex; gap:10px; margin-top:28px; }
.exit-dialog-actions .button { flex:1; padding:12px 14px; font-size:12px; }
.exit-discard { background:#fff; color:#8b5a43; border-color:#e4d9cd; }
.exit-discard:hover:not(:disabled) { background:#fbf4ee; border-color:#d8c5b4; }
@media(max-width:420px) { .exit-dialog{padding:28px 23px;border-radius:14px}.exit-dialog-actions{flex-direction:column;margin-top:24px}.exit-dialog-actions .button{width:100%;min-height:44px}.exit-dialog h2{font-size:26px} }
.logout-button svg,.login-card-icon svg,.password-toggle svg,.login-submit svg,.login-card-footnote svg,.message-preview svg,.document-check svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.login-page { min-height:100svh; display:flex; flex-direction:column; background:radial-gradient(ellipse at 15% 55%,#e9eee0aa,transparent 48%),#f6f5f1; }
.login-topbar { width:100%; border-bottom:0; }
.login-topbar-note { margin-left:auto; color:#87917f; font-size:11px; }
.login-layout { width:100%; max-width:1120px; margin:auto; padding:55px 40px 65px; display:grid; grid-template-columns:minmax(0,1fr) 410px; align-items:center; gap:90px; }
.login-story .eyebrow { font-size:9px; letter-spacing:.15em; color:#718069; }
.login-story h2 { font-family:Georgia,"Times New Roman",serif; font-size:clamp(38px,4.4vw,54px); font-weight:400; line-height:1.12; letter-spacing:-.045em; margin:22px 0 20px; }
.login-story h2 em { color:#477852; font-weight:400; }
.login-story-copy { color:#7b8672; font-size:13px; line-height:1.85; margin:0; }
.login-illustration { position:relative; height:260px; margin:26px 12px 14px 0; max-width:380px; }
.document-shadow { position:absolute; left:82px; top:20px; width:242px; height:216px; border:1px solid #d5dfcb; border-radius:11px; background:#e8eddf; transform:rotate(6deg); }
.login-document { position:absolute; left:70px; top:16px; width:242px; height:216px; border:1px solid #dae1d1; border-radius:11px; background:#fff; padding:21px 24px; transform:rotate(-3deg); box-shadow:0 12px 25px #4056320a; }
.document-brand { font-size:19px; font-weight:800; letter-spacing:-.065em; }
.document-brand span { color:#578f67; }
.document-filetype { float:right; font-size:8px; color:#77876b; background:#eff3e8; border-radius:4px; padding:4px 6px; margin-top:3px; }
.login-document p { font-family:Georgia,serif; font-size:16px; margin:18px 0 12px; color:#30452f; }
.document-lines { display:grid; gap:5px; margin-bottom:13px; }
.document-lines i { height:3px; width:76%; background:#e9ede4; border-radius:2px; }
.document-lines i:last-child { width:55%; }
.document-table { display:grid; grid-template-columns:1fr 36px 36px; gap:0; border:1px solid #e2e8da; border-radius:3px; overflow:hidden; }
.document-table i { height:14px; border-right:1px solid #e2e8da; border-bottom:1px solid #e2e8da; background:#f6f8f2; }
.document-table i:nth-child(n+4) { border-bottom:0; background:#fff; }
.document-table i:nth-child(3n) { border-right:0; }
.document-total { width:55px; height:4px; margin:10px 0 0 auto; border-radius:3px; background:#d4dfc9; }
.document-check { position:absolute; right:-26px; bottom:15px; background:#315f40; color:#fff; border-radius:7px; padding:9px 12px; font-size:9px; display:flex; align-items:center; gap:6px; transform:rotate(3deg); box-shadow:0 5px 12px #304c2c12; }
.document-check svg { width:14px; height:14px; stroke-width:2; }
.message-preview { position:absolute; left:0; bottom:5px; width:238px; padding:13px 15px; border:1px solid #d6dfcb; border-radius:10px 10px 10px 2px; background:#edf2e6; display:flex; align-items:center; gap:11px; color:#65785a; font-size:10px; line-height:1.55; }
.message-preview svg { width:22px; height:22px; color:#63865a; }
.login-steps { display:flex; align-items:center; gap:12px; font-size:9px; color:#75836a; max-width:380px; }
.login-steps span:not(.step-line) { white-space:nowrap; }
.login-steps b { font-size:8px; font-weight:500; color:#a1ad97; margin-right:5px; }
.step-line { height:1px; background:#d5deca; flex:1; }
.login-card { background:#fff; border:1px solid #e0e5d8; border-radius:18px; padding:34px; box-shadow:0 15px 45px #3c4e2f05; min-width:0; }
.login-card-icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:27px; border:1px solid #dce5d4; border-radius:11px; background:#f2f6ec; color:#527545; }
.login-card-icon svg { width:22px; height:22px; }
.login-card .eyebrow { font-size:8px; color:#8b9781; letter-spacing:.13em; margin-bottom:10px; }
.login-card h1 { font-size:27px; font-weight:600; letter-spacing:-.035em; margin-bottom:10px; }
.login-card-copy { color:#8b9581; font-size:11px; line-height:1.7; margin:0 0 27px; }
#login-form { display:grid; gap:18px; }
#login-form label { font-size:11px; margin-bottom:7px; }
#login-form input { font-size:13px; padding:12px 13px; }
.password-wrap { position:relative; }
#login-form .password-wrap input { padding-right:48px; }
.password-toggle { position:absolute; right:2px; top:2px; bottom:2px; width:43px; display:flex; align-items:center; justify-content:center; border:0; border-radius:5px; background:transparent; color:#8c9980; }
.password-toggle:hover { color:#285b40; background:#f4f6ef; }
.password-toggle svg { width:18px; height:18px; }
.login-submit { display:flex; justify-content:center; align-items:center; gap:15px; width:100%; margin-top:5px; padding:13px 15px; }
.login-submit svg { width:17px; height:17px; }
.login-card-footnote { display:flex; align-items:center; justify-content:center; gap:7px; color:#9aa58f; font-size:9px; line-height:1.6; margin:23px 0 0; }
.login-card-footnote svg { width:12px; height:12px; }
.login-notice { background:#edf3e8; color:#527448; border:1px solid #d9e5d0; border-radius:7px; padding:11px 12px; font-size:11px; line-height:1.6; margin-bottom:20px; }
.login-notice.error { color:#934b33; background:#fbf0e9; border-color:#efd9cd; }
.login-retry { border:0; background:transparent; color:#456e42; font-size:11px; text-decoration:underline; text-underline-offset:3px; justify-self:center; padding:4px; }
.login-footer { max-width:1120px; width:100%; margin:0 auto; padding:0 40px 26px; display:flex; align-items:center; gap:15px; color:#9aa48e; }
.login-footer > span { font-size:17px; letter-spacing:-.05em; font-weight:700; }
.login-footer p { font-size:10px; line-height:1.6; margin:0; }
@media(max-width:1000px) { .login-layout{gap:45px;grid-template-columns:minmax(0,1fr) 380px;padding-left:32px;padding-right:32px}.login-story h2{font-size:44px}.login-card{padding:30px}.login-steps{gap:8px}.login-steps b{display:none} }
@media(max-width:760px) { .login-topbar-note{display:none}.login-layout{grid-template-columns:minmax(0,410px);justify-content:center;padding:32px 20px 44px;gap:0}.login-story{display:none}.login-card{padding:30px}.login-card-icon{margin-bottom:23px}.login-footer{justify-content:center;padding:0 20px 24px}.login-footer p{font-size:9px} }
@media(max-width:420px) { .topbar-label{border-left:0;padding-left:0;font-size:10px}.topbar{gap:13px}.logout-button{padding:8px 10px;font-size:11px;gap:5px}.logout-button svg{width:17px;height:17px}.login-layout{padding:20px 15px 32px}.login-card{padding:27px 23px;border-radius:14px}.login-card h1{font-size:26px}.login-card .eyebrow{font-size:7px}.login-footer{padding-left:15px;padding-right:15px} }
