@font-face{font-family:AYAI;src:url('./Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:AYAI;src:url('./Vazirmatn-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{font-family:AYAI,Tahoma,sans-serif;font-synthesis:none;color:#203c35;background:#f6f8f7;--green:#12584c;--ink:#203c35;--muted:#5c7169;--line:#e2e9e5;--soft:#eef5f1;--mint:#c9f3d8;--forest:#0d302b;--red:#a63c34;--shadow:0 5px 18px #153c3405}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button{border:0;cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #237b67;outline-offset:4px}::selection{background:#c9eddb;color:#103e31}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700}h1{font-size:30px;line-height:1.7;letter-spacing:-.7px}h2{font-size:20px;line-height:1.7}h3{font-size:16px;line-height:1.8}p{line-height:1.95}small,.muted{color:var(--muted)}[hidden]{display:none!important}.icon{flex-shrink:0;display:inline-block;vertical-align:middle}.btn.mobile-close,.mobile-backdrop,.mobile-toggle{display:none}.skip-link{position:fixed;right:20px;top:-80px;z-index:200;background:white;color:var(--green);padding:12px 20px;border-radius:9px}.skip-link:focus{top:16px}
/* Shared controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 20px;background:var(--green);color:#fff;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:700;line-height:1.55;transition:background .18s,box-shadow .18s,transform .18s;white-space:normal}.btn:hover:not(:disabled){background:#0b493e;box-shadow:0 4px 12px #11544618;transform:translateY(-1px)}.btn.secondary{background:white;color:var(--ink);border-color:#dce5df;box-shadow:0 2px 2px #13332703}.btn.secondary:hover:not(:disabled){background:#f0f6f2;border-color:#afc8ba}.btn.ghost{background:transparent;color:var(--green);box-shadow:none}.btn.ghost:hover:not(:disabled){background:var(--soft)}.btn.danger{background:#fff4f2;color:var(--red);border-color:#f3ded9}.btn.mint{background:var(--mint);color:#123e30}.btn.mint:hover:not(:disabled){background:#d9ffe5}.btn.small{font-size:12px;min-height:38px;padding:8px 13px}.btn .icon{width:18px;height:18px}.wide{width:100%}.field{display:flex;flex-direction:column;gap:9px;margin:22px 0;font-size:13px;font-weight:700}.field input,.field textarea,.field select{width:100%;min-width:0;border:1px solid #d8e2db;border-radius:10px;padding:13px 15px;background:#fdfefd;color:var(--ink);font-weight:400;font-size:14px;line-height:1.8;min-height:50px;transition:border-color .15s,box-shadow .15s}.field input:hover,.field textarea:hover{border-color:#aec9ba}.field input:focus,.field textarea:focus{border-color:#46927a;box-shadow:0 0 0 3px #e9f4ed}.field textarea{min-height:112px;resize:vertical}.field input[dir=ltr]{text-align:left;letter-spacing:1px}.field small{font-weight:400;font-size:11px;line-height:1.9}.field input[readonly]{background:#f4f6f5;color:var(--muted)}input::placeholder,textarea::placeholder{color:#7a8b84}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{justify-content:space-between}.divider{height:1px;background:var(--line);margin:25px 0}.eyebrow{display:block;font-size:11px;font-weight:700;color:#56816e;letter-spacing:.2px;margin-bottom:8px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.card>p{font-size:13px;color:var(--muted);margin:10px 0 20px}.card h2{margin-bottom:8px}.card-heading-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e0ece4;background:#f1f7f3;color:var(--green);border-radius:12px;margin-bottom:20px}.narrow{max-width:760px}.error{background:#fff4f0;border:1px solid #edc9bd;color:#963c29;padding:14px 17px;border-radius:10px;font-size:13px;line-height:1.9;margin:16px 0}.note{background:#f0f6f1;border:1px solid #dae9dd;padding:16px 18px;border-radius:11px;color:#4b6857;font-size:12px;line-height:1.95;margin:12px 0}.note strong{display:block;font-weight:700;color:#2f5840;margin-bottom:5px}.note a{color:var(--green);text-decoration:underline;text-underline-offset:4px}.inline-message{font-size:12px;line-height:2;color:var(--green);margin:12px 0}.inline-message:empty{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;line-height:1.8;padding:5px 9px;border-radius:7px;background:#f0f3f1;color:#5d7466;white-space:nowrap}.badge.ready{color:#22734b;background:#edf7ef}.badge.running{color:#85601b;background:#fff6df}.badge.failed{color:#a44131;background:#fdf0e9}.badge-dot{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor}.avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf4eb;color:var(--green);font-size:16px;font-weight:700;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;direction:ltr;width:max-content}.brand-mark{width:42px;height:42px;background:var(--green);color:white;border-radius:12px;display:grid;place-items:center;font:bold 29px/1 Arial,sans-serif;position:relative;flex-shrink:0}.brand-spark{position:absolute;right:5px;top:2px;font-size:11px}.brand-word{font:bold 25px/1.15 Arial,sans-serif;letter-spacing:1.6px}.brand-word>span{display:block;direction:rtl;font:400 8px/1.8 AYAI,Tahoma,sans-serif;letter-spacing:0;margin-top:5px}.brand-art{display:block;width:100%;height:auto}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);background:white;border-radius:9px;color:var(--muted)}
/* Application frame */
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);direction:rtl;min-height:100vh}.sidebar{position:fixed;right:0;top:0;bottom:0;width:250px;padding:32px 20px 20px;background:var(--forest);color:#d5e5dc;display:flex;flex-direction:column;z-index:20;border-left:1px solid #204039;overflow:auto}.sidebar .brand-link{align-self:flex-start;margin:0 8px 32px}.sidebar .brand-word{color:#f4fff8}.sidebar .brand-word>span{color:#b4c9bd}.sidebar .brand-mark{background:#d3f5dd;color:#184b3a}.sidebar a:focus-visible,.sidebar button:focus-visible{outline-color:#b6e9cd}.workspace-label{display:flex;align-items:center;gap:10px;padding:13px 10px;margin-bottom:28px;border:1px solid #315149;border-radius:10px;background:#173b33;font-size:11px}.workspace-icon{display:grid;place-items:center;width:32px;height:32px;background:#254b40;color:#d8eedf;border-radius:8px}.workspace-label b{display:block;color:#e7f4ec;font-size:11px}.workspace-label small{display:block;color:#b1c7b9;font-size:9px;margin-top:4px}.workspace-dot{width:6px;height:6px;border-radius:50%;background:#b5e1c5;margin-right:auto}.nav-label{margin:0 13px 12px;font-size:10px;color:#aac1b5}.nav a{display:flex;align-items:center;gap:11px;border-radius:9px;padding:13px 12px;margin-bottom:7px;font-size:12px;color:#c4d8ca;transition:background .15s,color .15s}.nav a:hover{background:#20463a;color:white}.nav a.active{background:#d8f2df;color:#194732;font-weight:700}.nav a .icon{width:18px;height:18px}.nav-indicator{width:5px;height:5px;background:#397556;margin-right:auto;border-radius:50%}.sidebar-create{display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed #587565;border-radius:9px;margin:18px 0 25px;padding:12px 8px;font-size:11px;color:#d0e5d6}.sidebar-create:hover{background:#214e3e;border-style:solid}.sidebar-bottom{margin-top:auto;padding-top:30px}.trial-card{position:relative;background:#173f33;border:1px solid #355d48;border-radius:13px;padding:18px 15px;margin-bottom:23px}.trial-symbol{display:flex;margin-bottom:14px;color:#d6edb7}.trial-card strong{font-size:12px;color:#e0efcb;display:block;margin-bottom:9px}.trial-card p{font-size:10px;line-height:1.9;color:#b6cbb7}.trial-card a{display:flex;align-items:center;justify-content:space-between;margin-top:16px;color:#e1f0d0;font-size:11px}.trial-card a .icon{width:15px}.profile-link{display:flex;align-items:center;gap:10px;border-top:1px solid #305045;padding-top:19px}.profile-link .avatar{background:#d8ebd7;color:#335738}.profile-copy{flex:1;min-width:0}.profile-copy b{display:block;color:#e4f0e8;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy small{display:block;direction:ltr;text-align:right;color:#b6caba;font-size:10px;margin-top:4px}.profile-link>.icon{width:16px;color:#aac4b2}.main{grid-column:2;min-width:0;display:flex;flex-direction:column;outline:none}.topbar{height:76px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);background:#fff;padding:0 38px;font-size:11px}.crumb{display:inline-flex;align-items:center;gap:14px;color:var(--muted)}.crumb>span{color:#b6c7bc}.crumb b{font-weight:400;color:#334e41}.topbar-actions{display:flex;align-items:center;gap:15px}.plan-pill{font-size:10px;border-radius:7px;padding:5px 10px;color:#527047;background:#f0f4e9}.content{width:100%;max-width:1450px;margin:0 auto;padding:31px 38px 38px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:27px}.page-heading h1{font-size:27px}.page-heading p{color:var(--muted);font-size:12px;margin-top:4px}.date-chip{display:flex;align-items:center;gap:7px;flex-shrink:0;color:var(--muted);font-size:10px}.date-chip .icon{width:15px;height:15px}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 38px;padding:22px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.app-footer a{display:flex;align-items:center;gap:8px}.app-footer .icon{width:13px;height:13px}.footer-dot{padding:0 7px;color:#93a899}
/* Dashboard */
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr;min-height:292px;overflow:hidden;border-radius:20px;background:#082e25;border:1px solid #164735;margin-bottom:24px;color:white}.hero-copy{position:relative;z-index:2;padding:34px 35px}.hero-kicker{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#c9e8d4;margin-bottom:17px}.hero-kicker .icon{width:15px;height:15px}.hero h2{font-size:27px;line-height:1.7;letter-spacing:-.5px}.hero h2>span{color:#cdf1d2}.hero p{font-size:11px;color:#c4d8c9;margin:12px 0 23px;max-width:435px}.hero-actions{gap:24px}.hero-help{display:flex;align-items:center;gap:8px;color:#e4eddb;font-size:11px}.hero-help .icon{width:15px}.hero-visual{position:relative;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#03251d}.hero-visual .brand-art{height:100%;width:100%;object-fit:cover;object-position:center}.hero-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,#082e25 0%,transparent 32%);pointer-events:none}.hero-art-label{position:absolute;bottom:21px;left:27px;font:9px Arial,sans-serif;letter-spacing:2.1px;color:#d0e6ce;z-index:1}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:32px}.stat{border:1px solid var(--line);border-radius:13px;background:white;display:flex;align-items:center;gap:16px;padding:21px 23px;box-shadow:var(--shadow)}.stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eef4ef;color:#436d57;flex-shrink:0}.stat-icon.ready{background:#eaf5ee;color:#2e7658}.stat-icon.violet{background:#f2effa;color:#807196}.stat>div{flex:1;min-width:0}.stat small{display:block;font-size:11px;margin-bottom:8px}.stat strong{font-weight:700;font-size:26px;display:flex;align-items:center;gap:13px;line-height:1.25}.stat strong>span{font-weight:400;font-size:9px;color:var(--muted);line-height:1.8}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{display:flex;align-items:center;gap:10px;font-size:18px}.section-heading p{font-size:11px;color:var(--muted);margin-top:5px}.count-label{display:inline-grid;place-items:center;min-width:24px;height:24px;background:#eaf0eb;color:#50705b;border-radius:6px;font-size:11px}.search-field{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:white;max-width:280px;width:100%;color:#7b9184}.search-field .icon{width:16px}.search-field input{width:100%;min-width:0;padding:11px 0;border:0;background:transparent;outline:none;font-size:11px;color:var(--ink)}.search-field:focus-within{outline:2px solid #237b67;outline-offset:3px}.filter-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;font-size:10px}.segmented{display:flex;gap:5px;background:#ecf0ed;border:1px solid #e5eae6;padding:4px;border-radius:9px}.segmented button{background:transparent;border:1px solid transparent;padding:7px 13px;border-radius:6px;color:var(--muted);font-size:10px}.segmented button.active{background:white;color:var(--green);font-weight:700;box-shadow:0 1px 4px #17442710;border-color:#e3e9e3}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.shop-card{position:relative;background:white;border:1px solid var(--line);border-radius:15px;padding:23px 22px 19px;box-shadow:var(--shadow);min-width:0;transition:border-color .2s,transform .2s,box-shadow .2s}.shop-card:hover{border-color:#aac9b5;transform:translateY(-3px);box-shadow:0 10px 26px #123e3509}.letter{width:43px;height:43px;border-radius:12px;background:#e7f0e8;color:#3f6c4b;display:grid;place-items:center;font-size:21px;font-weight:700}.shop-card:nth-child(2n) .letter{background:#f3ece3;color:#8a6a40}.shop-card:nth-child(3n) .letter{background:#eef0fa;color:#64749e}.shop-card h3{font-size:16px;margin:18px 0 7px;overflow-wrap:anywhere}.shop-card>p{font-size:11px;color:var(--muted);min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-card-meta{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:9px;margin:18px 0}.shop-card-meta .icon{width:13px;height:13px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:16px}.manage-link{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted)}.manage-link .icon{width:13px}.card-footer .btn{font-size:10px;padding:8px 10px}.card-footer .btn .icon{width:15px}.empty-card{min-height:282px;border:1px dashed #bcd0c2;border-radius:15px;background:#f0f5f0;padding:26px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);transition:background .2s,border-color .2s}.empty-card:hover{background:#e7f1e8;border-color:#669575}.add-circle{display:grid;place-items:center;width:45px;height:45px;background:#fff;border-radius:50%;color:var(--green);box-shadow:0 4px 10px #174a3010;border:1px solid #e3eae2}.empty-card h3{font-size:14px;margin:14px 0 7px}.empty-card p{font-size:11px;color:var(--muted);text-align:center}.empty-card-link{display:flex;align-items:center;gap:7px;margin-top:19px;color:var(--green);font-size:11px;font-weight:700}.empty-card-link .icon{width:15px}.search-empty{grid-column:1/-1;text-align:center;padding:45px;background:white;border:1px solid var(--line);border-radius:15px}.search-empty>.icon{width:30px;height:30px;color:#799c88;margin-bottom:15px}.search-empty p{font-size:12px;color:var(--muted);margin:8px 0 18px}.getting-started{display:grid;grid-template-columns:1fr 2.25fr;gap:22px;border-top:1px solid var(--line);margin-top:33px;padding-top:28px}.getting-started h2{font-size:16px}.getting-started a{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--green);margin-top:13px}.getting-started a .icon{width:14px}.getting-started ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:center}.getting-started li{display:flex;align-items:center;gap:10px}.getting-started li>span{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;background:#ecf1eb;color:#66816a}.getting-started li .icon{width:17px}.getting-started li b{font-size:11px;display:block}.getting-started li small{font-size:9px;display:block;margin-top:7px}
/* Shop workspace and sources */
.shop-logo{display:flex;align-items:center;gap:15px}.shop-logo .avatar{width:51px;height:51px;border:1px solid #d7e8dc;border-radius:14px;font-size:22px}.stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}.step{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px;color:var(--muted);font-size:11px;position:relative}.step:not(:last-child){border-left:1px solid var(--line)}.step>span{display:grid;place-items:center;width:26px;height:26px;background:#eff3ef;color:#6e8876;border-radius:8px;font-size:11px}.step.active{background:#eef6f0;color:var(--green);font-weight:700}.step.active>span{background:var(--green);color:white}.tabs{display:flex;gap:29px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow-x:auto;scrollbar-width:none}.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--muted);font-size:12px;padding:15px 1px;border-bottom:2px solid transparent;white-space:nowrap}.tabs button .icon{width:16px;height:16px}.tabs button.active{color:var(--green);font-weight:700;border-bottom-color:var(--green)}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.aside-help{background:#fbfcfa;padding:23px}.aside-help h3{font-size:14px}.aside-help p{font-size:12px;margin:12px 0;line-height:2}.aside-help .note{font-size:11px}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:19px 0 23px}.mode-option{display:flex;align-items:flex-start;gap:9px;padding:16px 13px;border:1px solid var(--line);border-radius:11px;cursor:pointer;background:#fff}.mode-option:has(input:checked){border-color:#408467;background:#f3f8f2;box-shadow:0 0 0 1px #40846715}.mode-option input{accent-color:var(--green);margin-top:4px}.mode-option b{display:block;font-size:12px;margin-bottom:6px}.mode-option small{font-size:10px;line-height:1.9;display:block}.url-list{direction:ltr;text-align:left;font-family:Arial,sans-serif!important;font-size:13px!important;line-height:2!important}.dropzone{border:1.5px dashed #bbcec1;border-radius:13px;background:#f8fbf8;padding:24px 20px;display:flex;align-items:center;flex-direction:column;text-align:center;cursor:pointer;transition:background .2s,border-color .2s}.dropzone:hover,.dropzone.drag-over{background:#eaf5ed;border-color:#387e59}.upload-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:white;box-shadow:0 2px 8px #143e300b;border:1px solid #e0eae1;color:var(--green);margin-bottom:14px}.dropzone b{font-size:12px;color:#395e46;margin-bottom:7px}.dropzone small{font-size:10px;line-height:1.9}.dropzone input{max-width:100%;margin-top:18px;direction:rtl;font-size:10px;color:#667b6d}.dropzone input::file-selector-button{font:inherit;border:1px solid #d5e4d7;border-radius:6px;background:white;padding:7px 12px;color:var(--green);margin-left:8px;cursor:pointer}.file-list{display:flex;flex-direction:column;gap:7px;margin:12px 0}.file-chip{display:flex;align-items:center;gap:9px;padding:9px 12px;background:#f4f7f4;border-radius:8px;border:1px solid var(--line);font-size:11px}.file-chip .icon{width:16px;color:var(--green)}.file-chip b{font-size:11px;font-weight:400;overflow-wrap:anywhere}.file-chip small{margin-right:auto;white-space:nowrap;font-size:10px}.source-list{max-height:380px;overflow:auto;padding-left:4px;margin:15px 0;scrollbar-color:#b5caba transparent;scrollbar-width:thin}.source-row{display:flex;gap:11px;align-items:flex-start;padding:15px 3px;border-bottom:1px solid #edf1ed;font-size:12px;overflow-wrap:anywhere}.source-row>span{min-width:0;flex:1}.source-row input{accent-color:var(--green);width:15px;height:15px;flex-shrink:0;margin-top:4px}.source-row b{display:block;font-size:12px;font-weight:400;margin-bottom:5px}.source-row small{display:block;font-size:10px;color:var(--muted)}.source-library h2{font-size:18px}.chat-note{font-size:11px;line-height:2;color:var(--muted);margin:12px 0}.build-steps{padding:0;list-style:none;margin:28px 0}.build-step{display:flex;align-items:center;gap:15px;position:relative;padding:17px 0;border-bottom:1px solid #edf1ed;font-size:12px}.build-step i{font-style:normal;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:10px;background:#f7f9f7;color:#627c6c;flex-shrink:0}.build-step.ready i{background:#e4f3e6;color:#237844;border-color:#cce5ce;font-weight:700}.build-step.running i{background:#fff4dd;color:#886728;border-color:#f3e1b6;animation:pulse 1.5s infinite}.build-step.failed i{background:#ffefe9;color:var(--red);border-color:#f2d4c8}.build-step small{margin-right:auto;font-size:10px;text-align:left}.build-step.ready small{color:#317248}
/* Chat playground */
.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:22px;align-items:start}.chat-box{display:flex;flex-direction:column;min-height:590px;border:1px solid #dce7df;border-radius:16px;background:white;overflow:hidden;box-shadow:0 7px 26px #16392a05}.chat-head{padding:18px 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:12px}.bot-avatar{background:var(--green);color:#d6f4db;position:relative}.bot-avatar:after{content:'';position:absolute;bottom:-2px;left:-2px;width:9px;height:9px;background:#85cb94;border:2px solid white;border-radius:50%}.chat-head small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}#reset-chat{margin-right:auto;font-weight:400;padding:8px}.messages{min-height:340px;max-height:530px;flex:1;padding:25px;overflow:auto;background:linear-gradient(#fcfdfb,white);scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#b8cfbe transparent}.chat-empty{padding:42px 15px 35px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center}.chat-orbit{display:grid;place-items:center;width:69px;height:69px;border-radius:22px;background:#edf6ed;color:#377a54;box-shadow:0 0 0 8px #f6faf3,0 0 0 9px #e8f0e3;margin-bottom:30px;transform:rotate(-6deg)}.chat-orbit .icon{width:29px;height:29px;transform:rotate(6deg)}.chat-empty .eyebrow{font-size:10px;margin-bottom:9px}.chat-empty h3{font-size:21px;color:#234d36;margin-bottom:12px}.chat-empty p{font-size:12px;line-height:2}.empty-hint{display:flex;align-items:center;gap:6px;font-size:9px;color:#607e67;margin-top:24px}.empty-hint .icon{width:14px;height:14px}.bubble{padding:14px 18px;border-radius:14px;font-size:13px;line-height:2;white-space:pre-wrap;max-width:88%;width:fit-content;overflow-wrap:anywhere;margin-bottom:20px}.bubble.user{background:var(--green);color:white;margin-right:auto;border-bottom-left-radius:4px}.bubble.assistant{background:#f0f5ed;border:1px solid #e5ecdf;color:#254333;border-bottom-right-radius:4px}.bubble.pending{font-size:12px;color:#53745e;animation:pulse 1.5s infinite}.chat-form{display:flex;align-items:flex-end;gap:10px;padding:18px 20px 12px;border-top:1px solid var(--line);background:white}.chat-form textarea{flex:1;min-width:0;resize:vertical;min-height:49px;max-height:150px;height:49px;padding:13px 14px;border:1px solid #dae6dc;border-radius:10px;background:#fbfdfa;font-size:12px;color:var(--ink)}.chat-form .btn{height:49px;font-size:12px;padding:11px 15px}.chat-foot{padding:0 18px 17px;text-align:center;color:var(--muted);font-size:9px;line-height:1.8}.chat-layout>aside{padding:22px;box-shadow:none;background:#fcfdfb}.chat-layout>aside .badge{margin-bottom:18px}.chat-layout>aside h3{font-size:14px}.suggestions{display:flex;flex-direction:column;gap:9px;margin-top:20px}.suggestions button{display:flex;align-items:center;justify-content:space-between;gap:8px;background:white;border:1px solid var(--line);border-radius:8px;padding:11px 12px;text-align:right;font-size:11px;color:#3f604a;transition:background .15s,border-color .15s}.suggestions button:after{content:'↗';color:#75967e}.suggestions button:hover{background:#f0f7ed;border-color:#c0d7be}.product{white-space:normal;background:white;border:1px solid #d7e6d7;border-radius:11px;padding:17px;margin:12px 0 2px;min-width:210px}.product strong{display:block;font-size:13px;margin-bottom:8px}.product .price{font-size:17px;font-weight:700;color:var(--green)}.product small{font-size:10px;display:block;margin:4px 0}.product a{font-size:11px;display:inline-block;color:var(--green);margin-top:10px;text-decoration:underline;text-underline-offset:4px}
/* Help and account */
.account-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:23px;max-width:1100px;align-items:start}.security-card{background:#f0f6ef}.security-card p{line-height:2.1}.security-card .row{flex-direction:column;align-items:stretch;margin-top:24px}.help-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:25px;align-items:start}.help-intro{padding:27px;background:#eef4eb;border:1px solid #dce7d7;border-radius:15px;position:sticky;top:25px}.help-intro h2{font-size:22px}.help-intro p{font-size:12px;color:#536e54;margin:14px 0 23px}.help-intro>.btn{width:100%;font-size:12px}.help-formats{display:flex;flex-wrap:wrap;gap:7px;margin-top:25px;direction:ltr}.help-formats span{font:10px Arial,sans-serif;border:1px solid #d1dfcd;background:#f9fbf5;border-radius:5px;color:#536b4b;padding:5px 8px}.faq h2{font-size:18px}.faq details{border-bottom:1px solid var(--line);padding:19px 0}.faq details:last-child{border-bottom:0;padding-bottom:0}.faq summary{list-style:none;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;line-height:1.8}.faq summary::-webkit-details-marker{display:none}.faq summary>span{color:#68876e;display:flex}.faq summary .icon{width:16px;height:16px;transition:transform .2s}.faq details[open] summary{font-weight:700;color:var(--green)}.faq details[open] summary .icon{transform:rotate(45deg)}.faq details p{font-size:12px;color:var(--muted);line-height:2.1;margin:12px 0 0}
/* Login */
.login-layout{display:grid;grid-template-columns:1.06fr 1fr;direction:ltr;min-height:100svh;padding:14px;background:#fcfdfb;gap:0}.login-side{background:#082c24;border:1px solid #184836;border-radius:20px;position:relative;isolation:isolate;overflow:hidden;color:#e5f4e8;display:flex;flex-direction:column;direction:rtl;padding:37px 42px 28px}.login-side-top{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:2}.eyebrow.light{color:#c0daba;font:9px Arial,sans-serif;letter-spacing:1.4px;margin:0;direction:ltr}.light-pill{font-size:9px;border:1px solid #52755d;border-radius:20px;color:#c5ddc6;padding:6px 10px}.login-story{position:relative;z-index:2;padding:47px 12px 0;max-width:520px}.login-story h2{font-size:clamp(33px,3.4vw,49px);line-height:1.55;letter-spacing:-1.4px}.login-story em{font-style:normal;color:#d5f3c0}.login-story p{font-size:13px;color:#bed4be;max-width:370px;line-height:2;margin-top:18px}.login-art{background:#082c24;position:relative;min-height:280px;flex:1;display:flex;align-items:center;justify-content:center;isolation:isolate}.login-art .brand-art{width:calc(100% + 84px);max-width:none;height:100%;object-fit:cover;max-height:475px;mix-blend-mode:lighten;mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 85%,transparent)}.art-caption{position:absolute;bottom:30px;left:0;right:0;display:flex;justify-content:center;gap:12px;z-index:2}.art-caption span{display:flex;align-items:center;gap:6px;padding:8px 11px;background:#0d352adc;border:1px solid #7da28575;backdrop-filter:blur(10px);border-radius:9px;font-size:10px;color:#def2d9}.art-caption .icon{width:14px;height:14px}.login-proof{display:flex;align-items:center;justify-content:center;gap:14px;border-top:1px solid #345841;padding-top:23px;font-size:11px;color:#a9cdad;position:relative;z-index:2}.login-proof b{font-size:10px;font-weight:400;color:#d9e9d5;margin-right:6px}.login-proof i{width:24px;height:1px;background:#4c7453}.login-main{direction:rtl;display:flex;flex-direction:column;padding:32px 42px 20px;min-width:0}.login-nav{display:flex;align-items:center;justify-content:space-between;gap:15px}.login-nav .brand-word>span{display:none}.back-home{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.back-home .icon{width:14px}.login-card{width:100%;max-width:360px;margin:auto;padding:52px 0 42px}.login-icon{width:48px;height:48px;background:#eff6ed;border:1px solid #dae8d7;display:grid;place-items:center;border-radius:14px;color:var(--green);margin-bottom:25px}.login-icon .icon{width:22px;height:22px}.login-card>.eyebrow{font-size:10px;margin-bottom:9px}.login-card h1{font-size:29px;letter-spacing:-.7px;margin-bottom:12px}.login-card>p{font-size:12px;color:var(--muted);line-height:2;margin-bottom:30px}.login-card .field{margin-bottom:23px;gap:10px}.login-card .field input{font-size:16px;min-height:55px;border-radius:10px;padding:13px 17px;background:white}.login-card .btn.wide{min-height:51px;justify-content:space-between;padding-left:17px}.login-security{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#587159;margin-top:22px}.login-security .icon{width:15px;height:15px}.login-bottom-note{border-top:1px solid var(--line);margin-top:32px;padding-top:23px;text-align:center;font-size:11px;color:var(--muted);line-height:2}.login-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#677d6a;font-size:9px}.login-footer>span:last-child{direction:ltr;font-family:Arial,sans-serif;letter-spacing:.4px}.otp-tools{margin-top:16px}.otp-tools small{font-size:10px}#code{letter-spacing:9px;text-align:center}
/* Feedback and responsive behavior */
.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(90vw,520px);border-radius:11px;background:#153e2e;color:#ecf5e8;box-shadow:0 8px 35px #15382830;padding:15px 23px;font-size:12px;line-height:1.9;z-index:100}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;font-size:12px;color:var(--muted)}.loading{padding:50px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:12px}.loading-ring{width:18px;height:18px;border:2px solid #d8e5d7;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}.checking{opacity:.7}.menu-open{overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.6}}
@media(min-width:1600px){.content{padding-top:38px}.hero{min-height:320px}.hero-copy{padding:38px 42px}.hero h2{font-size:32px}.hero p{font-size:13px}.shop-card{padding:26px}.login-story{padding-top:65px}.login-art .brand-art{max-height:580px}}
@media(max-width:1250px){.shell{grid-template-columns:228px minmax(0,1fr)}.sidebar{width:228px;padding:26px 16px 20px}.content{padding:28px}.topbar{padding:0 28px}.app-footer{margin:0 28px}.hero-copy{padding:28px}.hero h2{font-size:24px}.hero{grid-template-columns:1.15fr .85fr;min-height:285px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:18px 16px;gap:12px}.stat strong{gap:8px}.stat strong>span{font-size:8px}.getting-started{grid-template-columns:1fr}.getting-started ol{padding-top:6px}.two-col{grid-template-columns:minmax(0,1fr) 235px;gap:18px}.chat-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.card{padding:24px}.chat-layout>aside{padding:18px}.login-side{padding:32px}.login-main{padding:28px 32px 18px}.login-story{padding:50px 3px 0}.login-side-top .light-pill{display:none}.login-art .brand-art{width:calc(100% + 64px)}.login-proof{gap:10px}.login-proof i{width:15px}}
@media(max-width:1080px){.two-col,.chat-layout{grid-template-columns:1fr}.aside-help{display:block}.chat-layout>aside{display:none}.stats{gap:12px}.stat-icon{width:36px;height:36px;border-radius:10px}.stat strong{font-size:23px}.stat strong>span{display:none}.hero{grid-template-columns:1.25fr .75fr}.hero-copy{padding:27px 24px}.hero-actions{gap:16px}.hero-actions .btn{padding:10px 14px;font-size:12px}.hero-help{font-size:10px}.hero-visual .brand-art{object-position:45% center}.hero-art-label{display:none}.account-grid{grid-template-columns:1fr}.help-layout{grid-template-columns:230px minmax(0,1fr)}.help-intro{padding:22px}.login-layout{grid-template-columns:1fr 1fr;padding:10px}.login-nav .back-home{display:none}.login-proof{flex-wrap:wrap;font-size:10px}.login-proof b{font-size:9px}.login-story h2{font-size:36px}.art-caption{gap:6px}.art-caption span{padding:7px;font-size:9px}.login-side{padding:30px 24px}.login-art .brand-art{width:calc(100% + 48px)}}
@media(max-width:900px){.shell{display:block}.sidebar{width:264px;transform:translateX(100%);visibility:hidden;transition:transform .2s;z-index:30}.shell.nav-open .sidebar{transform:none;visibility:visible;box-shadow:-20px 0 70px #092b2740}.btn.mobile-close{display:inline-flex;align-self:flex-end;margin:-9px -5px 17px;padding:7px 9px;color:#d8eedf;font-weight:400}.btn.mobile-close:hover:not(:disabled){background:#244d3d}.sidebar .brand-link{margin-bottom:24px}.shell.nav-open .mobile-backdrop{display:block;position:fixed;inset:0;z-index:25;background:#102d285b;backdrop-filter:blur(3px)}.mobile-toggle{display:grid;place-items:center;background:transparent;color:var(--green);width:32px;height:32px;padding:0}.main{width:100%}.topbar{height:67px;padding:0 24px}.content{padding:27px 24px}.page-heading h1{font-size:26px}.hero{grid-template-columns:1.1fr .9fr}.hero h2{font-size:27px}.hero p{font-size:12px}.stat strong>span{display:inline;font-size:9px}.help-layout{grid-template-columns:240px minmax(0,1fr)}.login-layout{display:block;padding:0}.login-side{display:none}.login-main{min-height:100svh;padding:28px}.login-nav .back-home{display:flex}.login-card{max-width:380px;padding:50px 0}.login-card h1{font-size:29px}.login-footer{margin-top:20px}}
@media(max-width:600px){h1{font-size:25px}.content{padding:24px 17px}.topbar{height:63px;padding:0 16px}.topbar-actions{gap:10px}.crumb{gap:8px;font-size:10px}.topbar>.row{gap:8px}.plan-pill{font-size:9px;padding:4px 8px}.topbar .icon-button{display:none}.page-heading{align-items:flex-start;gap:12px;margin-bottom:23px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.page-heading>.btn{font-size:10px;padding:9px 10px}.date-chip{display:none}.hero{display:block;min-height:0;border-radius:16px}.hero-copy{padding:28px 24px}.hero-visual{display:none}.hero h2{font-size:26px;line-height:1.75}.hero p{font-size:11px;margin:12px 0 22px}.hero-kicker{font-size:10px;margin-bottom:13px}.hero-actions{gap:22px}.hero-actions .btn{padding:11px 15px}.stats{gap:8px;margin-bottom:28px}.stat{padding:14px 10px;display:block;text-align:right}.stat-icon{width:29px;height:29px;border-radius:8px;margin-bottom:12px}.stat-icon .icon{width:15px;height:15px}.stat small{font-size:9px;white-space:nowrap;margin-bottom:9px}.stat strong{font-size:24px}.stat strong>span{display:none}.section-heading{display:block;margin-bottom:15px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.search-field{margin-top:17px;max-width:none}.filter-row{gap:9px}.filter-row>.muted{font-size:9px}.segmented{gap:1px}.segmented button{font-size:9px;padding:7px 9px}.shop-grid{grid-template-columns:1fr;gap:15px}.shop-card{padding:22px}.shop-card>p{min-height:0}.empty-card{min-height:220px}.getting-started{margin-top:28px;padding-top:24px;gap:23px}.getting-started ol{grid-template-columns:1fr;gap:18px}.getting-started li>span{width:36px;height:36px}.getting-started li b{font-size:12px}.getting-started li small{font-size:10px;margin-top:3px}.app-footer{margin:0 18px;font-size:9px}.app-footer a{font-size:9px}.card{padding:22px 18px;border-radius:13px}.card h2{font-size:18px}.field{font-size:12px}.field input,.field textarea{font-size:13px}.card>p{font-size:12px}.mode-options{grid-template-columns:1fr}.dropzone{padding:23px 14px}.dropzone b{font-size:11px}.dropzone small{font-size:9px}.shop-heading{align-items:center}.shop-logo{gap:10px}.shop-logo .avatar{width:42px;height:42px;font-size:18px}.shop-heading h1{font-size:21px}.shop-heading p{font-size:10px}.stepper{margin-bottom:17px}.step{font-size:9px;padding:12px 5px;gap:6px}.step>span{width:21px;height:21px;border-radius:6px;font-size:9px;flex-shrink:0}.tabs{gap:0;justify-content:space-between;margin-bottom:20px}.tabs button{font-size:10px;padding:13px 5px;gap:5px}.tabs button .icon{width:14px;height:14px}.two-col{gap:0}.form-actions{gap:10px}.form-actions .btn{font-size:11px;flex:1}.build-step{gap:10px;font-size:11px;padding:16px 0}.build-step i{width:29px;height:29px;border-radius:9px}.build-step small{font-size:9px;max-width:95px}.chat-box{min-height:540px;border-radius:13px}.chat-head{padding:14px 13px;gap:9px;font-size:11px}.chat-head small{font-size:9px}#reset-chat{padding:7px;font-size:10px;gap:4px}#reset-chat .icon{width:14px;height:14px}.bot-avatar{width:34px;height:34px}.messages{padding:18px 15px;min-height:310px}.chat-empty{padding:35px 9px 28px}.chat-empty h3{font-size:18px}.chat-empty p{font-size:11px}.bubble{font-size:12px;max-width:94%;padding:12px 15px}.chat-form{padding:14px 12px 10px;gap:7px}.chat-form textarea{font-size:11px;padding:13px 11px}.chat-form .btn{padding:10px 13px}.chat-form #send-chat span{display:none}.chat-foot{font-size:8px;padding:0 12px 14px}.help-layout{grid-template-columns:1fr}.help-intro{position:static;padding:24px}.help-intro .card-heading-icon{margin-bottom:13px}.help-intro .btn{width:auto}.help-formats{margin-top:19px}.help-layout .faq{padding:24px 20px}.faq summary{font-size:12px}.account-grid{gap:0}.security-card .row{gap:12px}.source-row .btn{font-size:10px}.login-main{padding:25px 25px 20px}.login-card{padding:44px 0}.login-card h1{font-size:27px}.login-card .field input{font-size:16px}.login-nav .brand-mark{width:37px;height:37px;font-size:26px}.login-nav .brand-word{font-size:23px}.login-nav .back-home{font-size:9px}.login-footer{font-size:8px}.login-bottom-note{font-size:11px}.source-row>span[dir=ltr]{font-size:10px}.file-chip b{max-width:65%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Custom file picker retains the native keyboard and screen-reader control. */
.dropzone{position:relative}.dropzone:focus-within{outline:2px solid #237b67;outline-offset:3px}.dropzone input{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.file-picker{display:inline-flex;margin-top:18px;border:1px solid #d5e4d7;border-radius:7px;background:#fff;padding:8px 17px;color:var(--green);font-size:11px;font-weight:700}

.citation-list { margin: .8rem 0 0; padding-inline-start: 1.2rem; font-size: .82em; line-height: 1.8; overflow-wrap: anywhere; }
.citation-list a { color: inherit; text-underline-offset: .18em; }
