@import "https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap";:root{color:#1d2a25;background:#f8f6f1;font-family:Vazirmatn,Tahoma,sans-serif}:root[data-theme=dark]{color:#edf2eb;background:#111715}*{box-sizing:border-box}body{background:inherit;min-width:320px;margin:0}button,textarea{font:inherit}button{cursor:pointer}.app-shell{color:#1d2a25;background:radial-gradient(circle at 50% 44%,#e7eee5 0,#0000 32rem),#f8f6f1;min-height:100vh;transition:background .25s,color .25s}[data-theme=dark] .app-shell{color:#edf2eb;background:radial-gradient(circle at 50% 44%,#1d302a 0,#0000 35rem),#111715}.topbar{z-index:5;pointer-events:none;direction:ltr;justify-content:space-between;align-items:center;height:100px;padding:18px 28px;display:flex;position:fixed;inset:0 0 auto}.topbar>*{pointer-events:auto}.topbar-actions{direction:rtl;align-items:center;gap:12px;display:flex;position:relative}.icon-button,.theme-button,.settings-button{color:inherit;background:0 0;border:0;place-items:center;display:grid}.icon-button{border-radius:50%;width:48px;height:48px}.icon-button:hover,.theme-button:hover{background:#dfe7df}[data-theme=dark] .icon-button:hover,[data-theme=dark] .theme-button:hover{background:#26362f}.theme-button{border:1px solid #cdd7cf;border-radius:50%;width:46px;height:46px}.theme-floating-button{z-index:70;background:#ffffffe6;transition:background .25s,border-color .25s,color .25s,box-shadow .25s,transform .2s;position:fixed;bottom:22px;right:22px;box-shadow:0 12px 28px #18261f1f}.theme-floating-button:hover{transform:translateY(-2px)}[data-theme=dark] .theme-button{border-color:#42544a}[data-theme=dark] .theme-floating-button{color:#edf2eb;background:#19221df0;box-shadow:0 12px 28px #0000004d}.settings-button{color:#fff;background:#1d5c45;border-radius:50%;width:64px;height:64px;box-shadow:0 8px 20px #1d5c4533}.settings-button:hover{background:#164936}.settings-menu{direction:rtl;background:#fffcf7;border:1px solid #d8e0d8;border-radius:14px;gap:5px;min-width:145px;padding:12px;display:grid;position:absolute;top:72px;left:0;box-shadow:0 16px 36px #18261d1c}.settings-menu span{color:#6a756e;font-size:12px}.settings-menu button{color:inherit;text-align:right;background:0 0;border:0;border-radius:8px;padding:7px 9px}.settings-menu button.selected,.settings-menu button:hover{background:#e8f0e8}[data-theme=dark] .settings-menu{background:#19221d;border-color:#405148;box-shadow:0 16px 36px #0006}[data-theme=dark] .settings-menu button.selected,[data-theme=dark] .settings-menu button:hover{background:#293b32}.docs-toggle{z-index:60;cursor:pointer;background:linear-gradient(#1d5c45e6,#123027e6);border:0;border-radius:0 16px 16px 0;width:22px;height:min(42vh,330px);padding:0;position:fixed;top:50%;left:0;transform:translateY(-50%);box-shadow:8px 0 22px #1a2a222e}.docs-panel .close-panel{z-index:20;color:#2c3a34;background:linear-gradient(#fff 0%,#f3f8f4 100%);border:1px solid #dfe8df;border-radius:50%;width:36px;height:36px;position:absolute;top:14px;right:14px;box-shadow:0 8px 18px #18261f14}.search-input,.page-jump{color:inherit;background:linear-gradient(#fff 0%,#f6faf7 100%);border:1px solid #dfe8df;border-radius:12px;outline:none;transition:background .25s,color .25s,border-color .15s,box-shadow .15s,transform .15s;box-shadow:inset 0 1px 2px #131f1b0a,0 4px 12px #18261f08}.search-input:focus,.page-jump:focus{border-color:#4f8a73;box-shadow:inset 0 1px 2px #131f1b0a,0 0 0 4px #4f8a731f}.search-input{width:100%;padding:11px 14px;font-size:.92rem}.page-jump{text-align:center;width:62px;padding:8px 10px}.chat-view{flex-direction:column;justify-content:center;width:min(720px,100% - 40px);min-height:100vh;margin:auto;padding:112px 0 88px;display:flex}.chat-view.has-messages{justify-content:flex-end}.question-area{text-align:center;width:100%}.question-area h1{letter-spacing:-.7px;margin:0 0 25px;font-size:clamp(27px,4vw,40px);font-weight:600}.input-wrap{background:#fffefa;border:1px solid #cfd9d0;border-radius:18px;align-items:flex-end;gap:10px;padding:8px 9px 8px 14px;transition:border .2s,box-shadow .2s;display:flex;box-shadow:0 12px 34px #29413312}.input-wrap:focus-within{border-color:#438369;box-shadow:0 12px 34px #29413320}.input-wrap textarea{resize:none;min-height:40px;max-height:160px;color:inherit;background:0 0;border:0;outline:0;flex:1;padding:5px 8px;line-height:1.8}.input-wrap textarea::placeholder{color:#8d9990}.input-wrap button{color:#fff;background:#1d5c45;border:0;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.input-wrap button:disabled{cursor:default;background:#b7c4b9}.question-area small{color:#829087;margin-top:11px;font-size:11px;display:block}.chat-view.has-messages .question-area{z-index:6;-webkit-backdrop-filter:none;background:#f8f6f1f5;border-radius:18px;width:min(720px,100% - 40px);padding:10px 12px 12px;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 10px 24px #1a2b2314}.chat-view.has-messages .question-area h1,.chat-view.has-messages .question-area small{display:none}.chat-view.has-messages .input-wrap{box-shadow:none;background:#ffffffe0}.chat-view.has-messages .messages{padding-bottom:128px}.messages{flex-direction:column;flex:1;gap:14px;padding:8px 1px 28px;display:flex;overflow-y:auto}.message{text-align:right;border-radius:17px;max-width:86%;padding:13px 17px;line-height:1.95}.message p{white-space:pre-wrap;margin:0}.message.user{color:#fff;background:#1d5c45;border-bottom-left-radius:4px;align-self:flex-start}.message.assistant{background:#fffefa;border:1px solid #d8e0d8;border-bottom-right-radius:4px;align-self:flex-end}.message.error{color:#9b3131}.citations{border-top:1px solid #dbe3dc;flex-wrap:wrap;gap:6px;margin-top:11px;padding-top:10px;display:flex}.citations span{color:#456353;background:#e8f0e8;border-radius:7px;padding:3px 8px;font-size:11px}.typing{direction:ltr;background:#fffefa;border:1px solid #d8e0d8;border-radius:15px;align-self:flex-end;gap:5px;padding:14px 17px;display:flex}.typing i{background:#688075;border-radius:50%;width:6px;height:6px;animation:1s infinite alternate bounce}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes bounce{to{opacity:.35;transform:translateY(-4px)}}.history-panel{z-index:10;background:#fffcf7;border-right:1px solid #d8e0d8;width:min(340px,88vw);padding:23px 17px;animation:.2s ease-out slide-in;position:fixed;inset:0 auto 0 0;box-shadow:12px 0 38px #15251b20}.history-heading{direction:rtl;justify-content:space-between;align-items:center;display:flex}.history-heading h2{margin:0;font-size:18px}.new-chat{color:#fff;background:#1d5c45;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;width:100%;margin:25px 0 15px;padding:11px;display:flex}.conversation-list{gap:5px;display:grid}.conversation-row{align-items:center;gap:8px;display:flex}.conversation{color:inherit;text-align:right;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:9px;flex:1;padding:11px;overflow:hidden}.conversation:hover,.conversation.active{background:#e8f0e8}.conversation-delete{color:#5f6e67;background:#f7faf6;border:1px solid #d8e0d8;border-radius:8px;flex:none;min-width:46px;padding:7px 8px}.conversation-delete:hover{background:#ebf1ec}@keyframes slide-in{0%{transform:translate(-100%)}to{transform:translate(0)}}[REMOVED] regulations page styles [data-theme=dark] .input-wrap,[data-theme=dark] .message.assistant,[data-theme=dark] .typing,[data-theme=dark] .history-panel{background:#19221d;border-color:#405148}[data-theme=dark] .conversation:hover,[data-theme=dark] .conversation.active,[data-theme=dark] .settings-menu button.selected,[data-theme=dark] .settings-menu button:hover,[data-theme=dark] .text-button{background:#293b32}[data-theme=dark] .citations{border-color:#405148}[data-theme=dark] .citations span{color:#b7d8c0;background:#293b32}[data-theme=dark] .question-area small{color:#a2b0a6}[data-theme=dark] .chat-view.has-messages .question-area{background:#19221df5;box-shadow:0 10px 24px #0003}[data-theme=dark] .chat-view.has-messages .input-wrap{background:#19221de6}[data-theme=dark] .input-wrap,[data-theme=dark] .chat-view:not(.has-messages) .input-wrap{background:#19221d}[data-theme=dark] .input-wrap textarea{color:#edf2eb}[data-theme=dark] .input-wrap textarea::placeholder{color:#a2b0a6}@media (width<=560px){.topbar{padding:14px}.settings-button{width:56px;height:56px}.chat-view{width:min(100% - 28px,720px);padding-top:94px}.question-area h1{margin-bottom:20px}.message{max-width:92%}}.chat-view:not(.has-messages) .input-wrap textarea{min-height:32px;max-height:80px}.chat-view:not(.has-messages) .question-area small{display:none}.docs-panel{z-index:30;direction:rtl;background:#fffefa;border-inline-start:1px solid #d9e2d9;flex-direction:column;width:100vw;height:100vh;transition:background .25s,color .25s,border-color .25s,box-shadow .25s;display:flex;position:fixed;inset:0;box-shadow:-16px 0 36px #14211c14}.docs-panel.open{animation:.15s ease-out forwards docs-panel-open}.docs-panel.closing{animation:.15s ease-in forwards docs-panel-close}.docs-panel.hidden{display:none}@keyframes docs-panel-open{0%{opacity:0;transform:translate(-24px)}to{opacity:1;transform:translate(0)}}@keyframes docs-panel-close{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-24px)}}.docs-header{border-bottom:1px solid #e3e9e2;justify-content:center;align-items:center;gap:12px;min-height:64px;padding:16px 52px 16px 16px;display:flex;position:relative}.docs-list-item{cursor:pointer;background:#fff;border:1px solid #e6ece5;border-radius:11px;padding:12px 10px;transition:border-color .25s,background .25s,color .25s,transform .15s}.docs-list-item:hover{background:#f3f8f4;border-color:#bfd1c5}.docs-list-item.loading{opacity:.75;pointer-events:none}.placeholder{color:#5f6e67;text-align:center;place-items:center;min-height:180px;display:grid}.placeholder.loading{font-weight:600}.docs-header h3{text-align:center;margin:0;font-size:1.05rem}.docs-body{flex:1;gap:12px;min-height:0;padding:12px;display:flex}.docs-list{flex-direction:column;flex:0 0 20%;gap:8px;min-width:220px;max-width:20%;min-height:0;display:flex;overflow-y:auto}.docs-view{flex:1;min-width:0;max-width:80%;padding:6px 2px 12px;overflow-y:auto}.doc-view-root{flex-direction:column;gap:12px;display:flex}.doc-title{margin:0;font-size:1.05rem}.struct-groups{flex-direction:column;gap:14px;display:flex}.struct-group{flex-direction:column;gap:8px;display:flex}.group-title{color:#4f6159;margin:0;font-size:.95rem}.group-items{flex-direction:column;gap:10px;display:flex}.provision{background:#fffefa;border:1px solid #dfe8df;border-radius:12px;flex-direction:column;gap:10px;padding:12px 12px 10px;transition:background .25s,border-color .25s,color .25s,box-shadow .25s;display:flex;position:relative;box-shadow:0 6px 18px #1c2d230a}.provision-head{justify-content:space-between;align-items:center;gap:10px;padding-top:18px;display:flex}.provision-title{color:#7b867f;text-align:center;max-width:50%;font-size:.85rem;font-weight:500;position:absolute;top:8px;left:50%;transform:translate(-50%)}.provision-number{font-size:.95rem;font-weight:700}.provision-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.rel-button{min-height:26px;color:inherit;background:#f3f7f1;border:1px solid #d0d9d1;border-radius:8px;padding:5px 8px;font-size:11px}.rel-button:hover{background:#e8efe8}.provision-text{flex-direction:column;gap:6px;display:flex}.provision-text p{color:#2d3c36;margin:0;font-size:.92rem;line-height:1.8}.rel-modal{z-index:30;place-items:center;display:grid;position:fixed;inset:0}.rel-modal-backdrop{background:#0a121059;position:absolute;inset:0}.rel-modal-body{background:#fffefa;border:1px solid #dfe8df;border-radius:16px;width:min(440px,100vw - 32px);max-height:75vh;position:relative;overflow:auto;box-shadow:0 18px 42px #0b120f1f}.rel-modal-header{border-bottom:1px solid #e6ece5;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.rel-modal-header h3{margin:0;font-size:1rem}.rel-modal-content{flex-direction:column;gap:10px;padding:12px 14px 14px;display:flex}.relationship-row{background:#f8faf8;border:1px solid #e6ece5;border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;font-size:.9rem;display:flex}.rel-context{color:#5b6a62;font-size:.8rem;line-height:1.6}.docs-pagination{color:#5f6e67;justify-content:space-between;align-items:center;gap:8px;padding:8px 4px 4px;font-size:12px;display:flex}.docs-pagination button{background:#f6f9f4;border:1px solid #d8e0d8;border-radius:8px;padding:6px 9px;font-size:12px}[data-theme=dark] .docs-panel,[data-theme=dark] .docs-header,[data-theme=dark] .docs-body,[data-theme=dark] .docs-list,[data-theme=dark] .docs-view,[data-theme=dark] .doc-view-root,[data-theme=dark] .provision,[data-theme=dark] .rel-modal-body,[data-theme=dark] .relationship-row,[data-theme=dark] .docs-pagination button,[data-theme=dark] .docs-list-item,[data-theme=dark] .search-input,[data-theme=dark] .page-jump{color:#edf2eb;background:#161f1b}[data-theme=dark] .docs-panel .close-panel{color:#edf2eb;background:linear-gradient(#25342d 0%,#1b2822 100%);border-color:#405148;box-shadow:0 8px 18px #0000003d}[data-theme=dark] .docs-body,[data-theme=dark] .docs-view,[data-theme=dark] .docs-list{background:#161f1b}[data-theme=dark] .docs-loading,[data-theme=dark] .empty,[data-theme=dark] .placeholder{color:#b7c5bc}[data-theme=dark] .docs-list-item{background:#19221d;border-color:#405148}[data-theme=dark] .docs-list-item:hover{background:#22332d}[data-theme=dark] .docs-header,[data-theme=dark] .rel-modal-header,[data-theme=dark] .relationship-row,[data-theme=dark] .docs-pagination button,[data-theme=dark] .search-input,[data-theme=dark] .page-jump,[data-theme=dark] .provision,[data-theme=dark] .rel-modal-body{border-color:#405148}[data-theme=dark] .provision-text p,[data-theme=dark] .group-title,[data-theme=dark] .rel-context,[data-theme=dark] .docs-list-desc,[data-theme=dark] .docs-list-title,[data-theme=dark] .docs-pagination,[data-theme=dark] .docs-header h3,[data-theme=dark] .doc-title,[data-theme=dark] .provision-number{color:#edf2eb}[data-theme=dark] .provision-title{color:#8f9d96;background:#161f1b}[data-theme=dark] .rel-button{color:#edf2eb;background:#1f2b27;border-color:#405148}[data-theme=dark] .rel-button:hover{background:#293b32}@media (width<=900px){.docs-panel{width:min(100vw,680px)}.docs-body{flex-direction:column}.docs-list,.docs-view{flex:1;min-width:0;max-width:none}}
