.orcrm-shell{--orcrm-primary:#8B24CF;--orcrm-ink:#152238;--orcrm-muted:#697386;direction:rtl;color:var(--orcrm-ink);font-family:inherit;max-width:1180px;margin:28px auto;padding:0 16px;line-height:1.8;box-sizing:border-box}.orcrm-shell *{box-sizing:border-box}.orcrm-shell h1,.orcrm-shell h2,.orcrm-shell h3{line-height:1.45;margin:0 0 12px;color:var(--orcrm-ink)}.orcrm-shell h1{font-size:clamp(25px,3vw,34px);font-weight:800}.orcrm-shell h2{font-size:21px;font-weight:750}.orcrm-shell h3{font-size:17px}.orcrm-shell p{margin:8px 0 14px}.orcrm-eyebrow{display:block;color:var(--orcrm-primary);font-size:11px;font-weight:800;letter-spacing:.06em;margin-bottom:8px}.orcrm-card{background:#fff;border:1px solid #e7eaf0;border-radius:18px;padding:22px;margin:0 0 18px;box-shadow:0 6px 24px rgba(20,30,50,.035);min-width:0}.orcrm-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.orcrm-form{display:flex;flex-direction:column;gap:13px}.orcrm-form label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:14px}.orcrm-form input:not([type=checkbox]):not([type=hidden]):not([type=color]),.orcrm-form textarea,.orcrm-form select,.orcrm-env-box select{font:inherit;width:100%;min-width:0;border:1px solid #d8dce5;border-radius:10px;background:#fff;padding:10px 12px;color:#182235;outline:none}.orcrm-form input:focus,.orcrm-form textarea:focus,.orcrm-form select:focus{border-color:var(--orcrm-primary);box-shadow:0 0 0 3px rgba(139,36,207,.12)}.orcrm-form input[type=color]{width:100%;height:44px;border:1px solid #ddd;border-radius:10px;background:white;padding:4px}.orcrm-check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-weight:500!important}.orcrm-check input{width:17px;height:17px;accent-color:var(--orcrm-primary)}.orcrm-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 17px;border:1px solid var(--orcrm-primary);border-radius:10px;background:var(--orcrm-primary);color:#fff!important;text-decoration:none!important;font:inherit;font-size:14px;font-weight:750;cursor:pointer;transition:transform .15s ease,opacity .15s ease;white-space:nowrap}.orcrm-btn:hover{opacity:.92;transform:translateY(-1px)}.orcrm-btn:focus-visible,.orcrm-tabs a:focus-visible{outline:3px solid rgba(139,36,207,.35);outline-offset:2px}.orcrm-btn.is-secondary{background:#fff;color:var(--orcrm-primary)!important}.orcrm-btn.is-danger{background:#fff;border-color:#d92d20;color:#b42318!important}.orcrm-btn-small{min-height:32px;padding:5px 10px;font-size:12px}.orcrm-inline-form{display:inline-flex;margin-inline-start:8px}.orcrm-form p a,.orcrm-shell a:not(.orcrm-btn){color:var(--orcrm-primary)}.orcrm-hint{font-size:12px;color:var(--orcrm-muted)}.orcrm-forgot{max-width:620px;margin-top:18px}.orcrm-notice{border:1px solid;border-radius:12px;padding:12px 15px;margin:0 0 16px;font-size:14px}.orcrm-notice.is-success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.orcrm-notice.is-warning{background:#fff8eb;border-color:#fed7aa;color:#92400e}.orcrm-button-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.orcrm-portal-head,.orcrm-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.orcrm-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.orcrm-stat{border:1px solid #e7eaf0;border-radius:15px;padding:17px;background:linear-gradient(135deg,#fff,#faf8fd);min-width:0}.orcrm-stat span{display:block;color:var(--orcrm-muted);font-size:13px}.orcrm-stat strong{display:block;font-size:27px;font-weight:850;line-height:1.5;overflow-wrap:anywhere}.orcrm-table-wrap{width:100%;overflow:auto}.orcrm-table{border-collapse:collapse;width:100%;min-width:640px;font-size:13px}.orcrm-table th,.orcrm-table td{padding:12px 10px;text-align:right;border-bottom:1px solid #edf0f4;vertical-align:middle}.orcrm-table th{font-weight:800;background:#fafbfc;color:#465267;white-space:nowrap}.orcrm-table tr:last-child td{border-bottom:0}.orcrm-empty{padding:18px;border:1px dashed #d9deea;border-radius:12px;color:var(--orcrm-muted);text-align:center}.orcrm-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.orcrm-project{border:1px solid #e7eaf0;border-radius:14px;padding:16px;min-width:0}.orcrm-progress{height:8px;border-radius:99px;background:#edf0f5;overflow:hidden;margin:12px 0}.orcrm-progress span{display:block;height:100%;background:var(--orcrm-primary);border-radius:99px}.orcrm-message{border-bottom:1px solid #edf0f4;padding:14px 0}.orcrm-message:last-child{border-bottom:0}.orcrm-message>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.orcrm-message span{color:var(--orcrm-muted);font-size:12px}.orcrm-message p{white-space:normal;overflow-wrap:anywhere}.orcrm-env-box{border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:12px;min-width:180px;display:grid;gap:8px}.orcrm-env-box>span{font-size:12px;color:var(--orcrm-muted)}.orcrm-env-box strong{font-size:15px}.orcrm-live{color:#b42318}.orcrm-sandbox{color:#027a48}.orcrm-env-box form{display:flex;gap:7px;align-items:center}.orcrm-env-box select{padding:5px;min-width:0}.orcrm-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:6px;background:#f4f5f8;border-radius:13px;margin:18px 0}.orcrm-tabs a{padding:8px 13px;border-radius:9px;text-decoration:none!important;color:#4b5565!important;font-size:13px;font-weight:700}.orcrm-tabs a.is-active{background:#fff;color:var(--orcrm-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.07)}.orcrm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.orcrm-span-2{grid-column:span 2}.orcrm-form-actions{display:flex;align-items:flex-end}.orcrm-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.orcrm-quick-grid a{padding:13px;border:1px solid #e5e7eb;border-radius:12px;text-decoration:none!important;font-weight:700;background:#fbfbfd}.orcrm-admin-foot{padding:15px;text-align:center;color:var(--orcrm-muted);font-size:12px}.orcrm-shell code{direction:ltr;unicode-bidi:embed;overflow-wrap:anywhere;font-size:12px}.orcrm-shell button{font-family:inherit}@media(max-width:760px){.orcrm-auth-grid,.orcrm-project-grid{grid-template-columns:1fr}.orcrm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-admin-head,.orcrm-portal-head{flex-direction:column}.orcrm-env-box{width:100%}.orcrm-form-grid{grid-template-columns:1fr}.orcrm-span-2{grid-column:auto}.orcrm-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-card{padding:16px;border-radius:14px}.orcrm-shell{padding:0 10px}.orcrm-tabs{flex-wrap:nowrap;overflow:auto}.orcrm-tabs a{white-space:nowrap}}@media(max-width:420px){.orcrm-stat strong{font-size:23px}.orcrm-quick-grid{grid-template-columns:1fr}.orcrm-btn{white-space:normal}}
@media(prefers-reduced-motion:reduce){.orcrm-btn{transition:none}.orcrm-btn:hover{transform:none}}

.orcrm-questionnaire{border-top:1px solid #edf0f4;padding:16px 0}.orcrm-questionnaire:first-of-type{border-top:0}.orcrm-question{border:1px solid #e7eaf0;border-radius:12px;padding:13px 15px;margin:0}.orcrm-question legend{font-weight:750;padding:0 5px}.orcrm-question .orcrm-check{margin:7px 0}.orcrm-answer{border-bottom:1px solid #edf0f4;padding:12px 0}.orcrm-answer pre{white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left;background:#f7f8fa;padding:12px;border-radius:10px}

.orcrm-decision-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}

.orcrm-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.orcrm-palette{border:1px solid #e7eaf0;border-radius:14px;padding:15px;min-width:0}.orcrm-swatches{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.orcrm-swatches span{width:32px;height:32px;border-radius:9px;border:1px solid rgba(0,0,0,.1);display:inline-block}.orcrm-palette small{color:#697386}@media(max-width:760px){.orcrm-palette-grid{grid-template-columns:1fr}}

.orcrm-upload-form input[type=file]{max-width:100%;padding:10px;border:1px dashed #cfd5df;border-radius:10px;background:#fafbfc}.orcrm-contract-body{max-width:780px;white-space:normal;overflow-wrap:anywhere;padding:12px 0}

/* Dedicated wp-admin CRM workspace and support ticket center */
.toplevel_page_optiraya-crm #wpcontent{background:#f5f6fa}
.orcrm-ticket-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);gap:18px;align-items:start}
.orcrm-ticket-list,.orcrm-ticket-detail{min-width:0;border:1px solid #e7eaf0;border-radius:14px;padding:16px;background:#fff}
.orcrm-ticket-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;border-radius:12px;background:#f8f3fc;border:1px solid #eadcf8;margin-bottom:14px}
.orcrm-ticket-heading h3{margin:3px 0 6px}.orcrm-ticket-heading p{margin:0;color:#68758b;font-size:12px;overflow-wrap:anywhere}
.orcrm-ticket-status{flex-shrink:0;display:inline-flex;padding:5px 10px;border-radius:99px;background:#edf5ff;color:#0b3168;font-size:12px;font-weight:750}
.orcrm-ticket-status-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0 18px;padding:12px;border:1px solid #e7eaf0;border-radius:12px;background:#fbfcfe}
.orcrm-ticket-status-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.orcrm-ticket-status-form select{min-width:130px;max-width:100%;padding:7px 9px;border:1px solid #d8dce5;border-radius:9px;background:#fff}
.orcrm-ticket-thread{display:grid;gap:10px;margin:16px 0;max-height:48vh;overflow:auto;padding-inline:3px}
.orcrm-ticket-reply{padding:12px 14px;border:1px solid #e5eaf2;border-radius:13px;background:#f5f7fb;overflow-wrap:anywhere}
.orcrm-ticket-reply.is-admin{background:#f8f0ff;border-color:#e7d5f8}.orcrm-ticket-reply strong{display:block}.orcrm-ticket-reply small{display:block;margin-top:3px;color:#748096;font-size:11px}.orcrm-ticket-reply p{margin:8px 0 0;white-space:pre-wrap}
.orcrm-ticket-reply-form textarea{width:100%;max-width:100%;box-sizing:border-box}.orcrm-ticket-reply-form .orcrm-btn{margin-top:5px}
.orcrm-notification-item{border:1px solid #e6eaf1;border-radius:12px;padding:13px;margin:8px 0;background:#fff}.orcrm-notification-item.is-unread{border-color:#d9b9f2;background:#fcf8ff}
.orcrm-section-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.orcrm-customer-ticket-area .orcrm-ticket-heading{margin-top:8px}
.orcrm-customer-ticket-area .orcrm-ticket-thread{max-height:none}
.orcrm-customer-ticket-area .orcrm-ticket-reply.is-customer{margin-inline-start:auto;max-width:94%}
.orcrm-customer-ticket-area .orcrm-ticket-reply.is-admin{margin-inline-end:auto;max-width:94%}
.orcrm-password-rules{display:grid;gap:5px;margin:0;padding:0;list-style:none;font-size:12px;color:#697386}.orcrm-password-rules li{display:flex;align-items:center;gap:7px}.orcrm-password-rules li::before{content:'○';font-weight:800}.orcrm-password-rules li.is-valid{color:#167647}.orcrm-password-rules li.is-valid::before{content:'✓'}
.orcrm-password-match{font-size:12px}.orcrm-password-match.is-valid{color:#167647}.orcrm-password-match.is-invalid{color:#b42318}
@media(max-width:900px){.orcrm-ticket-layout{grid-template-columns:1fr}.orcrm-ticket-thread{max-height:none}}
.orcrm-roadmap-card{border-color:#e7d6f8;background:linear-gradient(135deg,#fff 0%,#fcf8ff 100%)}
.orcrm-roadmap-card .orcrm-roadmap-phone{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 14px;background:#f0f6ff;border-radius:12px;color:#0b3168}
.orcrm-roadmap-card .orcrm-roadmap-phone a{font-weight:800;text-decoration:none;direction:ltr;unicode-bidi:embed}
.orcrm-consultation-details{border:1px solid #e7eaf0;border-radius:13px;padding:14px;margin-top:14px;background:#fff}
.orcrm-consultation-details summary{cursor:pointer;font-weight:800;color:#8b24cf}
.orcrm-consultation-details[open] summary{margin-bottom:14px}
.orcrm-ticket-list .orcrm-table{min-width:760px}
.orcrm-app-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:18px;align-items:start;direction:rtl}
.orcrm-sidebar{position:sticky;top:64px;align-self:start;max-height:calc(100vh - 82px);overflow:auto;border:1px solid #e5e8f0;border-radius:16px;background:#fff;padding:12px;box-shadow:0 6px 24px rgba(15,35,75,.04)}
.orcrm-sidebar-brand{display:flex;align-items:center;gap:10px;padding:10px 8px 16px;border-bottom:1px solid #edf0f5;margin-bottom:10px}
.orcrm-sidebar-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#8b24cf,#0b3168);color:#fff;font-weight:900;font-size:13px}
.orcrm-sidebar-brand strong,.orcrm-sidebar-brand small{display:block}.orcrm-sidebar-brand strong{font-size:12px;letter-spacing:.08em;color:#0b3168}.orcrm-sidebar-brand small{font-size:10px;color:#7a8598;margin-top:3px}
.orcrm-sidebar-nav{display:grid;gap:10px}.orcrm-nav-group{display:grid;gap:3px}.orcrm-nav-group-title{padding:7px 10px 4px;color:#8a93a4;font-size:10px;font-weight:800}
.orcrm-sidebar-nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:9px;text-decoration:none!important;color:#455168!important;font-size:12px;font-weight:700;transition:background .15s ease,color .15s ease}
.orcrm-sidebar-nav a:hover{background:#f6f0fc;color:#8b24cf!important}.orcrm-sidebar-nav a.is-active{background:#f3e8fc;color:#7b1cb9!important;box-shadow:inset -3px 0 #8b24cf}.orcrm-sidebar-nav a small{min-width:20px;text-align:center;border-radius:99px;padding:2px 5px;background:#e8effb;color:#0b3168;font-size:10px}
.orcrm-app-main{min-width:0}.orcrm-app-main>.orcrm-card:first-child{margin-top:0}.orcrm-admin-shell .orcrm-admin-head{margin-bottom:18px}.orcrm-admin-shell .orcrm-admin-foot{margin-top:12px}
@media(max-width:1100px){.orcrm-app-layout{grid-template-columns:190px minmax(0,1fr);gap:12px}.orcrm-sidebar{padding:8px}}
@media(max-width:782px){.orcrm-app-layout{grid-template-columns:1fr}.orcrm-sidebar{position:static;max-height:none}.orcrm-sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.orcrm-nav-group{align-content:start}.orcrm-sidebar-brand{padding-bottom:10px}.orcrm-admin-shell .orcrm-admin-head{gap:12px}}
.orcrm-portal-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px;padding:10px;border:1px solid #e6eaf2;border-radius:13px;background:#fff;position:sticky;top:8px;z-index:5}
.orcrm-portal-shortcuts a{padding:8px 12px;border-radius:9px;background:#f7f3fc;color:#60219b!important;text-decoration:none!important;font-size:12px;font-weight:800}
.orcrm-portal-shortcuts a:hover{background:#ead8fa}
.orcrm-jalali-picker{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid #e4e8f1;border-radius:13px;background:#fff}
.orcrm-jalali-window-controls{display:flex;gap:8px;flex-wrap:wrap}
.orcrm-jalali-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0}
.orcrm-jalali-day{display:grid;gap:3px;justify-items:center;align-content:center;min-height:70px;padding:7px 3px;border:1px solid #e4e8f1;border-radius:10px;background:#fff;color:#26344c;font:inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.orcrm-jalali-day:hover{border-color:#b256ee;background:#fbf7ff}.orcrm-jalali-day.is-selected{border-color:#8b24cf;background:#f4e9fc;color:#7020a8;box-shadow:0 0 0 2px rgba(139,36,207,.08)}
.orcrm-jalali-weekday{font-size:10px;color:#7b879a}.orcrm-jalali-day-number{font-size:18px;line-height:1.2}.orcrm-jalali-month{font-size:10px;color:#66748a}
.orcrm-jalali-picker [data-orcrm-date-selected]{margin:0;font-size:12px;color:#66748a}
.orcrm-date-fallback-label{display:grid;gap:6px;font-size:12px;color:#66748a}
.orcrm-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.orcrm-message.is-unread{border:1px solid #dfc4f3;background:#fcf8ff;border-radius:12px;padding:14px}
@media(max-width:760px){.orcrm-portal-shortcuts{position:static}.orcrm-jalali-day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.orcrm-jalali-day{min-height:62px}}
.orcrm-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.orcrm-report-funnel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.orcrm-report-funnel>div{display:grid;gap:7px;padding:13px;border:1px solid #e8ebf2;border-radius:12px;background:#fbfcfe}.orcrm-report-funnel span{font-size:12px;color:#65728a}.orcrm-report-funnel strong{font-size:22px;color:#0b3168}.orcrm-monthly-bars{display:grid;gap:12px}.orcrm-monthly-row{display:grid;grid-template-columns:82px minmax(80px,1fr) minmax(120px,auto) 78px;gap:10px;align-items:center;font-size:12px}.orcrm-monthly-track{height:10px;background:#eef1f7;border-radius:999px;overflow:hidden}.orcrm-monthly-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0b3168,#8b24cf)}.orcrm-monthly-row strong{color:#0b3168}.orcrm-monthly-row small{color:#778399}.orcrm-report-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.orcrm-report-export-grid form{margin:0}.orcrm-report-export-grid .orcrm-btn{width:100%;justify-content:center;min-height:42px}@media(max-width:900px){.orcrm-report-grid{grid-template-columns:1fr}.orcrm-report-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-monthly-row{grid-template-columns:70px minmax(50px,1fr) minmax(90px,auto)}.orcrm-monthly-row small{display:none}}@media(max-width:520px){.orcrm-report-export-grid{grid-template-columns:1fr}.orcrm-monthly-row{grid-template-columns:65px minmax(40px,1fr)}.orcrm-monthly-row strong{grid-column:2}}
.orcrm-sidebar-logo,.orcrm-portal-logo{display:block;width:42px;height:42px;object-fit:contain;border-radius:10px;background:#fff}
.orcrm-portal-brandline{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.orcrm-portal-head{align-items:flex-start}
.orcrm-questionnaire-builder{display:grid;gap:14px;border:1px solid #e3e7ef;border-radius:14px;padding:14px;background:#fbfcff}
.orcrm-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.orcrm-builder-heading strong{font-size:15px}.orcrm-builder-heading p{margin:5px 0 0}
.orcrm-question-builder-list{display:grid;gap:12px}.orcrm-question-builder-card{border:1px solid #e0e5ee;border-radius:13px;background:#fff;padding:14px;min-width:0}.orcrm-question-builder-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.orcrm-question-builder-head strong{color:#0b3168}.orcrm-builder-actions{display:flex;gap:6px;flex-wrap:wrap}.orcrm-builder-actions button,.orcrm-option-remove{border:1px solid #e0e5ee;border-radius:8px;background:#fff;padding:6px 9px;color:#46536a;cursor:pointer;font:inherit;font-size:11px}.orcrm-builder-actions button:hover,.orcrm-option-remove:hover{border-color:#8b24cf;color:#8b24cf}.orcrm-question-builder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.orcrm-question-builder-fields label,.orcrm-builder-option label{display:grid;gap:5px;font-size:12px;font-weight:700}.orcrm-question-builder-fields input,.orcrm-question-builder-fields select,.orcrm-question-builder-fields textarea,.orcrm-builder-option input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #dce2ed;border-radius:9px;padding:9px 10px;font:inherit;font-weight:400}.orcrm-builder-required{display:flex!important;align-items:center;gap:8px}.orcrm-builder-required input{width:auto!important}.orcrm-builder-options{display:grid;gap:9px;margin-top:12px}.orcrm-builder-option{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:end;padding:10px;border:1px dashed #dce2ed;border-radius:10px;background:#fcfdff}.orcrm-builder-option-media{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.orcrm-builder-option-media img{width:44px;height:44px;object-fit:cover;border-radius:8px;border:1px solid #e4e8f0}.orcrm-advanced-json{margin-top:4px;border-top:1px solid #e5e9f1;padding-top:12px}.orcrm-advanced-json summary{cursor:pointer;font-weight:700;color:#536079}.orcrm-advanced-json textarea{width:100%;box-sizing:border-box;direction:ltr;text-align:left;font-family:ui-monospace,monospace;font-size:12px}.orcrm-media-field img[data-orcrm-media-preview]:not([hidden]){display:block;max-width:180px;max-height:120px;object-fit:contain;border:1px solid #e5e9f1;border-radius:10px;margin-top:8px;background:#fff}.orcrm-palette-image{display:block;width:100%;max-height:170px;object-fit:cover;border-radius:10px;margin-bottom:10px}.orcrm-question-option-image{display:block;width:min(100%,240px);max-height:150px;object-fit:contain;border-radius:10px;margin:7px 0;border:1px solid #e5e9f1;background:#fff}.orcrm-question .orcrm-check{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.orcrm-question-builder-fields{grid-template-columns:1fr}.orcrm-builder-option{grid-template-columns:1fr}.orcrm-builder-option-media{justify-content:flex-start}}
.orcrm-btn.is-danger{background:#fff0f0;color:#b42318;border-color:#f3c4c4}.orcrm-btn.is-danger:hover{background:#b42318;color:#fff;border-color:#b42318}
.orcrm-settings-test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;border-top:1px solid #e6eaf2;background:#fbfcff}.orcrm-settings-test-grid form{margin:0}.orcrm-settings-test-grid .orcrm-form-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.orcrm-settings-test-grid label{display:grid;gap:6px;font-size:12px;font-weight:700}.orcrm-settings-test-grid input{width:100%;box-sizing:border-box;border:1px solid #dce2ed;border-radius:9px;padding:10px}@media(max-width:700px){.orcrm-settings-test-grid{grid-template-columns:1fr}.orcrm-settings-test-grid .orcrm-form-grid{grid-template-columns:1fr}}
.orcrm-list-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.orcrm-list-filter input[type=search]{flex:1;min-width:200px;border:1px solid #dce2ed;border-radius:9px;padding:10px 12px;font:inherit}.orcrm-list-filter select{min-width:160px;border:1px solid #dce2ed;border-radius:9px;padding:10px;background:#fff;font:inherit}.orcrm-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.orcrm-pagination a{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid #e0e5ee;border-radius:9px;color:#536079;text-decoration:none;background:#fff}.orcrm-pagination a:hover,.orcrm-pagination a.is-active{background:#8b24cf;border-color:#8b24cf;color:#fff}.orcrm-client-picker{display:grid;gap:8px;min-width:0}.orcrm-client-picker>label{display:grid;gap:6px;font-size:12px;font-weight:700}.orcrm-client-picker input[type=search]{width:100%;box-sizing:border-box;border:1px solid #dce2ed;border-radius:9px;padding:10px 12px;font:inherit}.orcrm-client-results{display:grid;gap:5px;max-height:220px;overflow:auto}.orcrm-client-result{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px;border:1px solid #e4e8f0;border-radius:9px;background:#fff;text-align:right;cursor:pointer;font:inherit}.orcrm-client-result:hover{border-color:#8b24cf;background:#faf6ff}.orcrm-client-result small{display:block;color:#7b879a;font-size:11px}.orcrm-client-selected{margin:0;padding:8px 10px;border-radius:8px;background:#f4e9fc;color:#6322a0;font-size:12px}.orcrm-client-picker.is-invalid input[type=search]{border-color:#c33}
.orcrm-project-picker{display:grid;gap:8px;min-width:0}.orcrm-project-picker>label{display:grid;gap:6px;font-size:12px;font-weight:700}.orcrm-project-picker input[type=search]{width:100%;box-sizing:border-box;border:1px solid #dce2ed;border-radius:9px;padding:10px 12px;font:inherit}.orcrm-project-results{display:grid;gap:5px;max-height:220px;overflow:auto}.orcrm-project-picker.is-invalid input[type=search]{border-color:#c33}
.orcrm-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;margin-top:18px}.orcrm-profile-grid>div{min-width:0;padding:14px;border:1px solid #e3e7ef;border-radius:12px;background:#fff}.orcrm-profile-grid h3{margin:0 0 12px;color:#0b3168}.orcrm-client-timeline{display:grid;gap:0;max-height:440px;overflow:auto}.orcrm-client-timeline article{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;padding:0 0 14px;position:relative}.orcrm-timeline-dot{width:8px;height:8px;border-radius:50%;background:#8b24cf;margin-top:6px}.orcrm-client-timeline strong{font-size:12px}.orcrm-client-timeline p{margin:4px 0;color:#69758b;font-size:11px}.orcrm-client-timeline time{font-size:10px;color:#8a94a6}@media(max-width:760px){.orcrm-profile-grid{grid-template-columns:1fr}}
.orcrm-client-quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}.orcrm-client-profile .orcrm-report-funnel{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:700px){.orcrm-client-profile .orcrm-report-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Dedicated customer authentication screens: isolated from the CRM admin and portal styles. */
.orcrm-auth-shell{max-width:100%;width:100%;margin:0 auto;padding:34px 18px;min-height:65vh;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 50% 0%,rgba(139,36,207,.07),transparent 58%)}
.orcrm-auth-shell>.orcrm-notice{width:min(100%,520px);margin:0 auto 14px}
.orcrm-auth-stage{width:100%;display:flex;justify-content:center;align-items:center;padding:10px 0}
.orcrm-auth-card{width:min(100%,520px);margin:0 auto;padding:clamp(22px,4vw,38px);border:1px solid #e8e3f0;border-radius:24px;box-shadow:0 18px 55px rgba(24,18,48,.09);background:rgba(255,255,255,.98)}
.orcrm-auth-brand{display:flex;align-items:center;gap:11px;margin:0 0 25px;padding-bottom:20px;border-bottom:1px solid #f0edf5}
.orcrm-auth-brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#8B24CF,#0B3168);color:#fff;font-weight:900;letter-spacing:-.04em;box-shadow:0 7px 18px rgba(139,36,207,.22)}
.orcrm-auth-brand>span:last-child{display:grid;line-height:1.5}.orcrm-auth-brand strong{font-size:16px;color:#0B3168}.orcrm-auth-brand small{font-size:11px;color:#788196}
.orcrm-auth-step{display:inline-flex;padding:5px 10px;margin-bottom:8px;border-radius:99px;background:#f5eaff;color:#7c1db7;font-size:12px;font-weight:800}
.orcrm-auth-card h1{font-size:clamp(23px,3vw,29px);line-height:1.5;margin:0 0 8px;color:#0B3168}
.orcrm-auth-intro,.orcrm-auth-card>p{font-size:14px;color:#667085;margin:0 0 22px;line-height:1.9}
.orcrm-auth-form{gap:14px}.orcrm-auth-form label{gap:7px;font-size:13px;color:#273348}.orcrm-auth-form input:not([type=checkbox]):not([type=hidden]){min-height:48px;border-radius:12px;border-color:#dfe2eb;background:#fcfcfe;padding:11px 13px;transition:border-color .18s,box-shadow .18s,background .18s}.orcrm-auth-form input:focus{background:#fff;border-color:#8B24CF;box-shadow:0 0 0 4px rgba(139,36,207,.10)}
.orcrm-btn-block{width:100%;min-height:48px;border-radius:12px;white-space:normal}.orcrm-auth-form .orcrm-btn{margin-top:3px}.orcrm-auth-form .orcrm-hint{margin:0;font-size:12px;line-height:1.8}.orcrm-auth-links{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #f0edf5;font-size:12px;color:#697386}.orcrm-auth-links a{font-weight:750;text-decoration:none}.orcrm-auth-links a:hover{text-decoration:underline}
.orcrm-auth-optional{display:inline-block;font-size:11px;color:#7b8495;font-weight:500}.orcrm-auth-terms{align-items:flex-start!important;padding:12px;border:1px solid #e7e0f0;background:#fcfaff;border-radius:12px;line-height:1.9}.orcrm-auth-terms input{flex:0 0 auto;margin-top:5px}.orcrm-auth-terms span{font-size:12px;font-weight:500}.orcrm-auth-terms a{font-weight:800;text-decoration:underline}.orcrm-sandbox-note{padding:11px 13px!important;border:1px dashed #a7d8c1;border-radius:12px;background:#f2fbf6;color:#176545!important;font-size:12px!important;margin:18px 0 0!important}.orcrm-auth-choice{display:grid;gap:10px;margin-top:22px}.orcrm-auth-success{text-align:center}.orcrm-auth-success .orcrm-auth-brand{justify-content:center;text-align:right}.orcrm-auth-success .orcrm-inline-form{margin:12px 0 0;display:flex;justify-content:center}
.orcrm-project-answers{margin-top:22px;padding-top:20px;border-top:1px solid #e9eaf0}.orcrm-project-answers h3{margin-bottom:5px}.orcrm-saved-answer{border:1px solid #e6e1ef;border-radius:12px;padding:12px 14px;margin:10px 0;background:#fdfcff}.orcrm-saved-answer summary{cursor:pointer;font-weight:750;color:#273348}.orcrm-saved-answer dl{margin:14px 0 0;display:grid;gap:10px}.orcrm-saved-answer dl>div{padding:10px 12px;border-radius:9px;background:#fff;border:1px solid #f0edf5}.orcrm-saved-answer dt{font-size:12px;font-weight:800;color:#0B3168;margin-bottom:4px}.orcrm-saved-answer dd{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.orcrm-auth-shell{padding:18px 10px;min-height:unset}.orcrm-auth-card{border-radius:18px;padding:22px 18px}.orcrm-auth-brand{margin-bottom:20px}.orcrm-auth-links{align-items:flex-start;flex-direction:column}.orcrm-auth-form input:not([type=checkbox]):not([type=hidden]){min-height:46px}}


/* Opti Raya 0.4: branded customer auth and portal polish. */
.orcrm-auth-shell,.orcrm-portal{font-family:"Vazirmatn","Vazir","Tahoma",sans-serif!important;color:#26334a}
.orcrm-auth-shell h1,.orcrm-auth-shell h2,.orcrm-auth-shell h3,.orcrm-portal h1,.orcrm-portal h2,.orcrm-portal h3{font-family:"Parastoo","Vazirmatn","Tahoma",sans-serif!important}
.orcrm-auth-logo{display:block;width:48px;height:48px;object-fit:contain;border-radius:10px;background:#fff}
.orcrm-auth-shell .orcrm-btn,.orcrm-portal .orcrm-btn{background:#0b3168!important;border:1px solid #0b3168!important;color:#fff!important;box-shadow:0 5px 14px rgba(11,49,104,.12);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.orcrm-auth-shell .orcrm-btn:hover,.orcrm-portal .orcrm-btn:hover{background:#8b24cf!important;border-color:#8b24cf!important;color:#fff!important;box-shadow:0 7px 18px rgba(139,36,207,.18);transform:translateY(-1px)}
.orcrm-auth-shell .orcrm-btn.is-secondary,.orcrm-portal .orcrm-btn.is-secondary{background:#fff!important;border-color:#d9dfea!important;color:#0b3168!important;box-shadow:none}
.orcrm-auth-shell .orcrm-btn.is-secondary:hover,.orcrm-portal .orcrm-btn.is-secondary:hover{background:#f4eafd!important;border-color:#c9a0e7!important;color:#6e1aa7!important}
.orcrm-auth-shell .orcrm-btn.is-danger,.orcrm-portal .orcrm-btn.is-danger{background:#fff!important;color:#b42318!important;border-color:#f0b6b6!important}
.orcrm-auth-shell .orcrm-btn.is-danger:hover,.orcrm-portal .orcrm-btn.is-danger:hover{background:#b42318!important;color:#fff!important;border-color:#b42318!important}
.orcrm-portal .orcrm-portal-tabs a{font-family:"Vazirmatn","Tahoma",sans-serif}
.orcrm-discount-code{display:flex;gap:8px;align-items:end;flex-wrap:wrap;min-width:220px}.orcrm-discount-code label{flex:1;min-width:150px}.orcrm-discount-code input{width:100%;box-sizing:border-box;border:1px solid #dce2ed;border-radius:9px;padding:9px 10px;font:inherit}
@media(max-width:600px){.orcrm-auth-logo{width:42px;height:42px}.orcrm-auth-shell .orcrm-btn,.orcrm-portal .orcrm-btn{min-height:42px}}

.toplevel_page_optiraya-crm .orcrm-shell h1,.toplevel_page_optiraya-crm .orcrm-shell h2,.toplevel_page_optiraya-crm .orcrm-shell h3{font-family:"Parastoo","Vazirmatn","Tahoma",sans-serif}
.orcrm-portal-wordmark{font-size:18px;font-weight:800;color:#0b3168}

/* 0.5.0-beta: isolated portal and mobile UX refinements */
.orcrm-standalone-page{background:#f5f6fb!important}.orcrm-standalone-page .orcrm-shell{max-width:1500px;margin-inline:auto}.orcrm-portal-shortcuts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#fff;border:1px solid #e5e8f0;border-radius:15px;padding:9px;box-shadow:0 4px 18px rgba(16,24,40,.04)}.orcrm-portal-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:10px;background:#f5f2fb;color:#0b3168!important;font-size:13px;font-weight:700;text-decoration:none!important}.orcrm-portal-shortcuts a:hover,.orcrm-portal-shortcuts a:focus-visible{background:#0b3168;color:#fff!important}.orcrm-portal .orcrm-ticket-status,.orcrm-portal .orcrm-badge{font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.orcrm-portal .orcrm-card,.orcrm-portal .orcrm-stat,.orcrm-portal .orcrm-project{min-width:0;overflow-wrap:anywhere}.orcrm-portal .orcrm-stat strong{font-size:clamp(18px,2vw,27px)}.orcrm-portal .orcrm-notice{max-width:100%;overflow-wrap:anywhere}.orcrm-portal .orcrm-portal-shortcuts{position:sticky;top:8px;z-index:20}@media(max-width:760px){.orcrm-portal-shortcuts{position:sticky;top:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:34vh;overflow:auto}.orcrm-portal-shortcuts a{font-size:12px;padding:8px 6px;min-width:0}.orcrm-portal .orcrm-stat-grid{gap:8px}.orcrm-portal .orcrm-stat{padding:12px}.orcrm-portal .orcrm-stat span{font-size:12px}.orcrm-portal .orcrm-table{min-width:560px}.orcrm-portal .orcrm-ticket-layout{grid-template-columns:minmax(0,1fr)}.orcrm-standalone-page .orcrm-portal-head{gap:10px}.orcrm-standalone-page .orcrm-card h2{font-size:20px}}

.orcrm-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #e2e6ef;border-radius:13px;background:#fff;color:#0b3168!important;text-decoration:none!important;font-size:19px}.orcrm-notification-bell b{position:absolute;top:-6px;inset-inline-end:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:#8b24cf;color:#fff;font-size:10px;line-height:19px;text-align:center;box-sizing:border-box}.orcrm-portal-head{align-items:center}.orcrm-portal-head>div:nth-child(2){flex:1;min-width:0}.orcrm-portal-head h1{font-size:clamp(21px,2.5vw,30px);overflow-wrap:anywhere}

/* UX refinements inspired by structured fintech dashboards */
.orcrm-portal .orcrm-portal-tabs{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;padding:8px;background:#fff;border:1px solid #e6e9f1;border-radius:16px;box-shadow:0 4px 18px rgba(15,23,42,.04);margin:0 0 18px;position:sticky;top:6px;z-index:25}
.orcrm-portal .orcrm-portal-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:11px;background:#f6f7fb;color:#475467!important;text-decoration:none!important;font-size:13px;font-weight:750;line-height:1.5;white-space:normal;min-width:0;flex:0 1 auto}
.orcrm-portal .orcrm-portal-tabs a.is-active{background:#ede8fb;color:#5623b8!important;box-shadow:inset 0 0 0 1px #d9cdf8}
.orcrm-portal .orcrm-portal-tabs a b{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:99px;background:#d92d20;color:#fff;font-size:11px}
.orcrm-portal .orcrm-stat strong{font-size:clamp(15px,1.6vw,23px);line-height:1.45}
.orcrm-ticket-layout{grid-template-columns:minmax(0,1fr);}
.orcrm-ticket-list,.orcrm-ticket-detail{width:100%;min-width:0}
.orcrm-ticket-list{order:1}.orcrm-ticket-detail{order:2}
.orcrm-per-page{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.orcrm-per-page select{min-width:70px}
@media(max-width:760px){.orcrm-portal .orcrm-portal-tabs{position:sticky;top:3px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px;max-height:none;overflow:visible}.orcrm-portal .orcrm-portal-tabs a{font-size:12px;padding:9px 6px;min-height:42px;text-align:center}.orcrm-portal .orcrm-stat strong{font-size:16px}.orcrm-ticket-layout{grid-template-columns:minmax(0,1fr);gap:12px}.orcrm-ticket-list .orcrm-table{min-width:650px}.orcrm-list-filter{align-items:stretch;flex-wrap:wrap}.orcrm-list-filter>*{max-width:100%;min-width:0}}

.orcrm-portal-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;border:2px solid #e8defa;box-shadow:0 2px 10px rgba(11,49,104,.08)}

.orcrm-invoice-details>summary{cursor:pointer;color:#0B3168;font-weight:700;padding:8px 0}.orcrm-invoice-print{background:#fff;color:#172033;border:1px solid #e5eaf2;border-radius:14px;padding:22px;margin-top:12px;min-width:280px}.orcrm-invoice-head{display:flex;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:2px solid #8B24CF}.orcrm-invoice-head>div{display:flex;flex-direction:column;gap:5px}.orcrm-invoice-head>div:last-child{text-align:left}.orcrm-invoice-head strong{font-size:18px;color:#0B3168}.orcrm-invoice-head span,.orcrm-invoice-values span,.orcrm-muted-line{font-size:12px;color:#64748b}.orcrm-invoice-print h3{margin:18px 0 10px;color:#0B3168}.orcrm-invoice-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.orcrm-invoice-values>div{border:1px solid #e5eaf2;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}.orcrm-invoice-values strong{overflow-wrap:anywhere}.orcrm-invoice-footnote{font-size:12px;color:#64748b;border-top:1px solid #e5eaf2;padding-top:12px}.orcrm-invoice-actions{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}.orcrm-muted-line{display:block;margin-top:4px}@media(max-width:600px){.orcrm-invoice-values{grid-template-columns:1fr}.orcrm-invoice-print{padding:14px}.orcrm-invoice-head strong{font-size:15px}}@media print{body.orcrm-printing *{visibility:hidden!important}body.orcrm-printing .orcrm-invoice-print.orcrm-print-active,body.orcrm-printing .orcrm-invoice-print.orcrm-print-active *{visibility:visible!important}body.orcrm-printing .orcrm-invoice-print.orcrm-print-active{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}body.orcrm-printing .orcrm-shell{padding:0!important;margin:0!important;max-width:none!important}}

.orcrm-referral-box{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;border:1px dashed #8B24CF;border-radius:14px;background:rgba(139,36,207,.035);margin:0 0 18px}.orcrm-referral-box strong{font-size:22px;letter-spacing:1.5px;color:#0B3168}.orcrm-referral-box p{margin:0;color:#64748b;font-size:13px}

.orcrm-connection-status{background:#f8fafc;border:1px solid #e2e8f0}.orcrm-connection-status h3{margin-top:0;color:#0B3168}.orcrm-connection-status ul{padding-right:20px;margin:0}.orcrm-connection-status li{margin:8px 0;line-height:1.8}

.orcrm-invoice-transactions{margin:18px 0}.orcrm-invoice-transactions h4{color:#0B3168;margin-bottom:8px}.orcrm-invoice-transactions .orcrm-table{font-size:12px}
/* v0.7.1 dossier and document review improvements */
.orcrm-dossier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.orcrm-dossier-section{border:1px solid #e5eaf2;border-radius:13px;padding:14px;min-width:0;background:#fff}.orcrm-dossier-section h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;color:#0B3168}.orcrm-dossier-section h4 span{font-size:12px;border-radius:20px;background:#f1e8fb;padding:3px 8px}.orcrm-dossier-section ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.orcrm-dossier-section li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding-bottom:9px;border-bottom:1px solid #eef1f6;min-width:0}.orcrm-dossier-section li:last-child{border-bottom:0;padding-bottom:0}.orcrm-dossier-section li strong{overflow-wrap:anywhere}.orcrm-dossier-section li small{display:block;color:#64748b;font-size:12px}.orcrm-dossier-section li a{grid-column:1/-1;justify-self:start;font-size:12px;font-weight:700;color:#8B24CF;text-decoration:none}.orcrm-document-view{max-width:1120px;margin-inline:auto;padding:clamp(16px,3vw,34px);background:#fff}.orcrm-document-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:2px solid #8B24CF;padding-bottom:20px}.orcrm-document-toolbar h2{margin:5px 0;color:#0B3168}.orcrm-document-toolbar p{margin:4px 0;color:#64748b}.orcrm-document-actions{display:flex;flex-wrap:wrap;gap:8px}.orcrm-document-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.orcrm-document-meta>div,.orcrm-invoice-totals>div{display:flex;flex-direction:column;gap:6px;border:1px solid #e5eaf2;background:#fafbfe;border-radius:11px;padding:12px;min-width:0}.orcrm-document-meta span,.orcrm-invoice-totals span{font-size:12px;color:#64748b}.orcrm-document-meta strong,.orcrm-invoice-totals strong{overflow-wrap:anywhere;color:#0B3168}.orcrm-contract-body{font-size:15px;line-height:2.1;overflow-wrap:anywhere;padding:20px 0;min-height:180px}.orcrm-contract-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding-top:18px;border-top:1px solid #e5eaf2}.orcrm-contract-signatures>div{display:flex;flex-direction:column;gap:8px;min-width:0}.orcrm-contract-signatures span{font-size:12px;color:#64748b}.orcrm-signature-line{height:52px;border-bottom:1px dashed #9aa5b8}.orcrm-invoice-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.orcrm-invoice-parties>div{border:1px solid #e5eaf2;border-radius:12px;padding:14px;min-width:0}.orcrm-invoice-parties h3{margin:0 0 8px;color:#0B3168}.orcrm-invoice-parties p{margin:5px 0;overflow-wrap:anywhere}.orcrm-invoice-lines td small{display:block;color:#64748b;margin-top:4px}.orcrm-invoice-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 24px}.orcrm-invoice-edit{margin-top:22px;padding-top:14px;border-top:1px solid #e5eaf2}.orcrm-invoice-edit summary{cursor:pointer;font-weight:700;color:#0B3168}.orcrm-invoice-edit form{margin-top:14px}.orcrm-document-view .orcrm-table-wrap{max-height:none}.orcrm-document-view .orcrm-table{min-width:0}
@media(max-width:782px){.orcrm-dossier-grid{grid-template-columns:1fr}.orcrm-document-toolbar{flex-direction:column}.orcrm-document-actions{width:100%}.orcrm-document-actions .orcrm-btn{flex:1}.orcrm-document-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-invoice-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-contract-signatures,.orcrm-invoice-parties{grid-template-columns:1fr}}
@media(max-width:420px){.orcrm-document-meta,.orcrm-invoice-totals{grid-template-columns:1fr}.orcrm-document-view{padding:12px}.orcrm-dossier-section{padding:11px}}
@media print{body.toplevel_page_optiraya-crm #adminmenumain,body.toplevel_page_optiraya-crm #wpadminbar,body.toplevel_page_optiraya-crm #adminmenuback,body.toplevel_page_optiraya-crm #adminmenuwrap,body.toplevel_page_optiraya-crm .orcrm-sidebar,body.toplevel_page_optiraya-crm .orcrm-tabs,body.toplevel_page_optiraya-crm .orcrm-document-actions,body.toplevel_page_optiraya-crm .orcrm-invoice-edit,body.toplevel_page_optiraya-crm .orcrm-app-layout>main>.orcrm-card:not(.orcrm-document-view){display:none!important}body.toplevel_page_optiraya-crm #wpcontent{margin:0!important;padding:0!important}body.toplevel_page_optiraya-crm .orcrm-shell,body.toplevel_page_optiraya-crm .orcrm-app-layout,body.toplevel_page_optiraya-crm .orcrm-app-main,body.toplevel_page_optiraya-crm .orcrm-document-view{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}body.toplevel_page_optiraya-crm .orcrm-document-view{color:#111!important;break-inside:avoid}body.toplevel_page_optiraya-crm .orcrm-document-view *{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.orcrm-admin-head{display:flex;justify-content:space-between;gap:16px}.orcrm-admin-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}@media(max-width:600px){.orcrm-admin-head{align-items:flex-start;flex-direction:column}.orcrm-admin-head-actions{width:100%}.orcrm-admin-head-actions .orcrm-btn{width:100%;justify-content:center}}
.orcrm-client-identity{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.orcrm-client-identity span{display:inline-flex;gap:5px;align-items:center;border:1px solid #e5eaf2;border-radius:8px;background:#fafbfe;padding:7px 9px;font-size:12px;color:#64748b;max-width:100%;overflow-wrap:anywhere}.orcrm-client-identity strong{color:#0B3168}.orcrm-dossier-detail{grid-column:1/-1;font-size:12px}.orcrm-dossier-detail summary{cursor:pointer;color:#0B3168;font-weight:700;margin-top:5px}.orcrm-dossier-detail p{line-height:1.8;color:#475569;margin:8px 0}
.orcrm-portal-refresh{white-space:nowrap;align-self:center}.orcrm-portal-head{flex-wrap:wrap}.orcrm-portal-logo{width:58px!important;height:58px!important;object-fit:contain;background:transparent!important}
@media(max-width:600px){.orcrm-portal-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important}.orcrm-portal-head>div:nth-child(2){grid-column:1/-1;min-width:0}.orcrm-portal-head .orcrm-portal-brandline{min-width:0;flex-wrap:wrap}.orcrm-portal-head .orcrm-notification-bell{justify-self:end}.orcrm-portal-refresh{grid-column:1;justify-self:start}.orcrm-portal-head>form{grid-column:2;grid-row:3;justify-self:end}.orcrm-portal-head h1,.orcrm-portal-head p{overflow-wrap:anywhere}.orcrm-portal-tabs{overflow-x:auto;max-width:100%;scrollbar-width:thin}.orcrm-portal-tabs a{flex:0 0 auto}}

/* برنامه اقساط سفارشی پیشنهاد */
.orcrm-proposal-payment-schedule{margin-top:8px;font-size:12px;color:#334155}
.orcrm-proposal-payment-schedule summary{cursor:pointer;color:#0b3168;font-weight:700;padding:5px 0}
.orcrm-proposal-payment-schedule ol{margin:6px 0 0;padding-inline-start:22px;line-height:1.9}
.orcrm-proposal-payment-schedule small{color:#64748b}
[hidden]{display:none!important}

/* Digital contract acceptance receipt; no decorative or implied signature fields. */
.orcrm-contract-acceptance-receipt{margin-top:24px;padding:18px;border:1px solid #dfe5ef;border-radius:14px;background:#f8fafc;break-inside:avoid}.orcrm-contract-acceptance-receipt h3{margin:0 0 12px;color:#0B3168}.orcrm-contract-acceptance-receipt p{margin:7px 0;overflow-wrap:anywhere}.orcrm-contract-acceptance-receipt code{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere;background:#eef2f7;padding:3px 6px;border-radius:5px}@media(max-width:600px){.orcrm-contract-acceptance-receipt{padding:13px}}

.orcrm-contract-detail-page{max-width:1080px}.orcrm-contract-detail{padding:clamp(18px,3vw,36px)}.orcrm-contract-full-text h2,.orcrm-contract-acceptance h2{color:#0B3168;margin:20px 0 10px}.orcrm-contract-acceptance{margin-top:24px;padding:18px;border:1px solid #dfe5ef;border-radius:14px;background:#fbfcff}.orcrm-contract-acceptance form{display:grid;gap:12px}.orcrm-contract-acceptance form>label:not(.orcrm-check){display:grid;gap:6px}.orcrm-contract-acceptance input[type=text]{max-width:320px;min-height:44px;border:1px solid #d6dce7;border-radius:10px;padding:10px}.orcrm-contract-detail .orcrm-document-toolbar h1{margin:5px 0;color:#0B3168;font-size:clamp(22px,3vw,30px)}@media print{body.orcrm-printing-contract *{visibility:hidden!important}body.orcrm-printing-contract .orcrm-contract-detail,body.orcrm-printing-contract .orcrm-contract-detail *{visibility:visible!important}body.orcrm-printing-contract .orcrm-contract-detail{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}body.orcrm-printing-contract .orcrm-contract-detail .orcrm-document-actions,body.orcrm-printing-contract .orcrm-contract-acceptance form button,body.orcrm-printing-contract .orcrm-contract-acceptance .orcrm-hint{display:none!important}body.orcrm-printing-contract .orcrm-contract-detail-page{max-width:none!important;margin:0!important;padding:0!important}}

/* Client portal UX rebuild: Zibal-inspired, low-clutter, responsive navigation */
.orcrm-portal{--orcrm-purple:#8B24CF;--orcrm-navy:#0B3168;--orcrm-soft:#f6f8fc;max-width:1500px!important}
.orcrm-portal .orcrm-portal-tabs{float:right;width:236px;display:block;position:sticky;top:14px;max-height:calc(100vh - 28px);overflow-y:auto;padding:10px;margin:0 0 18px;border:1px solid #e5eaf2;border-radius:16px;background:#fff;box-shadow:0 5px 22px rgba(11,49,104,.045)}
.orcrm-portal .orcrm-portal-nav-list{display:flex;flex-direction:column;gap:4px}
.orcrm-portal .orcrm-portal-tabs a{width:100%;justify-content:flex-start;text-align:right;flex:0 0 auto;padding:11px 12px;border-radius:10px;background:transparent;color:#344054!important;font-weight:650}
.orcrm-portal .orcrm-portal-tabs a:hover{background:#f7f3fc;color:var(--orcrm-purple)!important}
.orcrm-portal .orcrm-portal-tabs a.is-active{background:#f0e8fa;color:#6f22b3!important;box-shadow:inset -3px 0 0 var(--orcrm-purple)}
.orcrm-portal .orcrm-portal-tabs a b.orcrm-nav-count{margin-inline-start:auto;background:#8B24CF;color:#fff}
.orcrm-portal .orcrm-mobile-menu-toggle{display:none}
.orcrm-portal>section.orcrm-card{margin-right:254px;min-width:0}
.orcrm-portal .orcrm-stat-grid{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:18px 0}
.orcrm-portal .orcrm-stat{border:1px solid #e7ebf3;box-shadow:none;border-radius:13px}
.orcrm-portal .orcrm-portal-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:14px;padding:18px 20px;background:#fff;border:1px solid #e6eaf2;border-radius:17px}
.orcrm-portal .orcrm-portal-head>div:nth-child(2){min-width:0}
.orcrm-portal .orcrm-portal-head h1{font-size:clamp(20px,2.2vw,28px);color:#0B3168;margin:3px 0 6px}
.orcrm-portal .orcrm-portal-head p{margin:0;color:#64748b;line-height:1.8}
.orcrm-notification-center{position:relative;align-self:start;z-index:40}
.orcrm-notification-center>.orcrm-notification-bell{display:flex;align-items:center;justify-content:center;gap:3px;min-width:44px;height:44px;padding:0 8px;border:1px solid #e5eaf2;border-radius:12px;background:#fff;color:#0B3168;cursor:pointer;list-style:none;box-shadow:0 2px 7px rgba(15,23,42,.035)}
.orcrm-notification-center>.orcrm-notification-bell::-webkit-details-marker{display:none}
.orcrm-bell-glyph{font-size:21px;line-height:1;filter:grayscale(.1)}
.orcrm-notification-center>.orcrm-notification-bell b{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#d92d20;color:white;font-size:10px;line-height:1}
.orcrm-notification-popover{position:absolute;top:calc(100% + 8px);left:0;width:min(340px,calc(100vw - 32px));padding:12px;background:#fff;border:1px solid #e5eaf2;border-radius:14px;box-shadow:0 18px 50px rgba(15,23,42,.15);z-index:100}
.orcrm-notification-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 10px;border-bottom:1px solid #edf0f5;color:#0B3168}
.orcrm-notification-popover-head a{font-size:12px;color:#8B24CF;text-decoration:none;font-weight:700;white-space:nowrap}
.orcrm-notification-preview{display:grid;gap:4px;padding:11px 8px;border-bottom:1px solid #f0f2f6;text-decoration:none!important;color:#344054!important;border-radius:8px}
.orcrm-notification-preview:last-child{border-bottom:0}
.orcrm-notification-preview.is-unread{background:#f8f3fd}
.orcrm-notification-preview strong{font-size:13px;color:#0B3168}
.orcrm-notification-preview span,.orcrm-notification-preview small{font-size:11px;color:#64748b;line-height:1.7}
.orcrm-portal[data-view="proposals"] #orcrm-customer-contracts,.orcrm-portal[data-view="proposals"] #orcrm-customer-invoices,.orcrm-portal[data-view="contracts"] #orcrm-customer-proposals,.orcrm-portal[data-view="contracts"] #orcrm-customer-invoices,.orcrm-portal[data-view="invoices"] #orcrm-customer-proposals,.orcrm-portal[data-view="invoices"] #orcrm-customer-contracts{display:none!important}
.orcrm-portal[data-view="projects"] #orcrm-customer-seo,.orcrm-portal[data-view="projects"] #orcrm-customer-tasks,.orcrm-portal[data-view="projects"] #orcrm-customer-files,.orcrm-portal[data-view="projects"] #orcrm-customer-palette,.orcrm-portal[data-view="projects"] .orcrm-customer-questionnaires{display:none!important}
.orcrm-portal[data-view="seo"] #orcrm-customer-projects,.orcrm-portal[data-view="seo"] #orcrm-customer-tasks,.orcrm-portal[data-view="seo"] #orcrm-customer-files,.orcrm-portal[data-view="seo"] #orcrm-customer-palette,.orcrm-portal[data-view="seo"] .orcrm-customer-questionnaires{display:none!important}
.orcrm-portal[data-view="files"] #orcrm-customer-projects,.orcrm-portal[data-view="files"] #orcrm-customer-tasks,.orcrm-portal[data-view="files"] #orcrm-customer-seo,.orcrm-portal[data-view="files"] #orcrm-customer-palette,.orcrm-portal[data-view="files"] .orcrm-customer-questionnaires{display:none!important}
.orcrm-portal[data-view="questionnaires"] #orcrm-customer-projects,.orcrm-portal[data-view="questionnaires"] #orcrm-customer-tasks,.orcrm-portal[data-view="questionnaires"] #orcrm-customer-seo,.orcrm-portal[data-view="questionnaires"] #orcrm-customer-files,.orcrm-portal[data-view="questionnaires"] #orcrm-customer-palette{display:none!important}
.orcrm-portal[data-view="tickets"] #orcrm-customer-notifications,.orcrm-portal[data-view="notifications"] #orcrm-customer-tickets{display:none!important}
.orcrm-portal[data-view="sites"] #orcrm-customer-feedback,.orcrm-portal[data-view="account"] #orcrm-customer-palette{display:none!important}
.orcrm-portal[data-view="overview"] .orcrm-customer-ticket-area{display:none!important}
.orcrm-admin-entry{max-width:760px!important;margin-inline:auto!important}
.orcrm-admin-entry .orcrm-card{padding:clamp(20px,4vw,36px)}
.orcrm-admin-entry #orcrm-admin-login{display:grid;gap:14px;max-width:460px}
.orcrm-admin-entry #orcrm-admin-login label{display:grid;gap:6px;font-weight:650;color:#344054}
.orcrm-admin-entry #orcrm-admin-login input[type=text],.orcrm-admin-entry #orcrm-admin-login input[type=password]{width:100%;min-height:46px;border:1px solid #d8deea;border-radius:10px;padding:10px;box-sizing:border-box}
@media(max-width:900px){.orcrm-portal .orcrm-portal-tabs{width:210px}.orcrm-portal>section.orcrm-card{margin-right:226px}}
@media(max-width:700px){.orcrm-portal .orcrm-portal-tabs{float:none;width:100%;max-height:none;position:relative;top:auto;margin:0 0 14px;padding:8px}.orcrm-portal .orcrm-mobile-menu-toggle{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:9px;border:0;background:#f7f4fc;color:#0B3168;padding:12px;border-radius:10px;font:inherit;font-weight:750;cursor:pointer}.orcrm-portal .orcrm-portal-nav-list{display:none;padding-top:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.orcrm-portal .orcrm-portal-tabs.is-open .orcrm-portal-nav-list{display:grid}.orcrm-portal .orcrm-portal-tabs a{font-size:12px;padding:10px 8px;min-height:42px;box-sizing:border-box}.orcrm-portal>section.orcrm-card{margin-right:0!important}.orcrm-portal .orcrm-portal-head{grid-template-columns:minmax(0,1fr) auto;padding:14px;gap:10px}.orcrm-portal .orcrm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-notification-popover{left:auto;right:0}.orcrm-portal .orcrm-portal-head>form{grid-column:2;grid-row:3}.orcrm-portal .orcrm-portal-head .orcrm-portal-refresh{grid-column:1;grid-row:3}}
@media(max-width:390px){.orcrm-portal .orcrm-portal-head{grid-template-columns:minmax(0,1fr) auto}.orcrm-portal .orcrm-portal-head h1{font-size:19px}.orcrm-portal .orcrm-portal-head p{font-size:12px}.orcrm-portal .orcrm-stat{padding:11px}.orcrm-portal .orcrm-stat strong{font-size:15px}.orcrm-portal .orcrm-portal-nav-list{grid-template-columns:1fr}}
@media(max-width:700px){.orcrm-portal .orcrm-portal-head .orcrm-notification-center{grid-column:2;grid-row:1;justify-self:end}}
.orcrm-seo-report-detail{margin:5px 0 8px}.orcrm-seo-report-detail summary{cursor:pointer;color:#0B3168;font-weight:700;font-size:12px}.orcrm-seo-report-detail p{max-width:520px;line-height:1.9;white-space:normal;overflow-wrap:anywhere;color:#475467}
.orcrm-portal #orcrm-customer-invoices tr[id^="orcrm-invoice-"]{scroll-margin-top:20px}
.orcrm-portal[data-view="proposals"] .orcrm-customer-questionnaires,.orcrm-portal[data-view="contracts"] .orcrm-customer-questionnaires,.orcrm-portal[data-view="invoices"] .orcrm-customer-questionnaires{display:none!important}

/* Identity form and optional OTP login refinements */
.orcrm-identity-type{border:0;margin:0;padding:0;min-width:0}
.orcrm-identity-type legend{font-weight:700;color:#0B3168;margin-bottom:10px}
.orcrm-segmented{display:flex;gap:8px;flex-wrap:wrap}
.orcrm-segmented label{position:relative;display:inline-flex;cursor:pointer;margin:0}
.orcrm-segmented input{position:absolute;opacity:0;pointer-events:none}
.orcrm-segmented span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 18px;border:1px solid #d9dfeb;border-radius:12px;background:#fff;color:#344054;font-weight:600;transition:border-color .15s,background .15s,color .15s}
.orcrm-segmented input:checked+span{background:#f5edfc;border-color:#8B24CF;color:#6f1ba7;box-shadow:inset 0 0 0 1px #8B24CF}
.orcrm-segmented input:focus-visible+span{outline:2px solid #0B3168;outline-offset:2px}
.orcrm-identity-panel{border:1px solid #e4e8f0;border-radius:16px;background:#fff;padding:18px;margin-block:4px 14px}
.orcrm-identity-panel h3{margin:0 0 14px;color:#0B3168;font-size:16px}
.orcrm-identity-panel[hidden]{display:none!important}
.orcrm-otp-login{margin-top:14px;border:1px solid #e4e8f0;border-radius:14px;padding:12px 14px;background:#fbfcfe}
.orcrm-otp-login>summary{cursor:pointer;color:#0B3168;font-weight:700;padding:5px}
.orcrm-otp-login[open]>summary{margin-bottom:12px}
.orcrm-contract-captcha{margin:16px 0}
.orcrm-consultation-captcha[hidden]{display:none!important}
@media(max-width:600px){.orcrm-segmented{display:grid;grid-template-columns:1fr 1fr}.orcrm-segmented span{width:100%;padding:9px 10px}.orcrm-identity-panel{padding:13px}}
.orcrm-project-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.orcrm-project-detail-summary>div{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #e5e9f1;border-radius:13px;background:#fbfcfe;min-width:0}
.orcrm-project-detail-summary span{font-size:12px;color:#667085}
.orcrm-project-detail-summary strong{font-size:15px;color:#0B3168;overflow-wrap:anywhere}
.orcrm-project-stage-list{list-style:none;margin:18px 0;padding:0;display:grid;gap:0}
.orcrm-project-stage-list li{position:relative;display:flex;gap:12px;padding:0 0 22px;min-width:0}
.orcrm-project-stage-list li:not(:last-child):after{content:"";position:absolute;right:7px;top:18px;bottom:0;width:2px;background:#e3e8f1}
.orcrm-stage-marker{z-index:1;flex:0 0 16px;width:16px;height:16px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;margin-top:3px}
.orcrm-project-stage-list li.is-complete .orcrm-stage-marker{border-color:#16845b;background:#16845b;box-shadow:inset 0 0 0 3px #fff}
.orcrm-project-stage-list li.is-current .orcrm-stage-marker{border-color:#8B24CF;background:#f4e9fc;box-shadow:0 0 0 4px #f4e9fc}
.orcrm-project-stage-list li>div{min-width:0;flex:1}
.orcrm-project-stage-list p{margin:5px 0;color:#475467;white-space:pre-wrap}
.orcrm-project-stage-list small{color:#667085}
.orcrm-project-file-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.orcrm-project-file-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e9f1;border-radius:12px;padding:12px}
.orcrm-project-file-list li span{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.orcrm-project-file-list small{color:#667085}
.orcrm-project-description{line-height:1.9;color:#344054}
.orcrm-project a:not(.orcrm-btn){color:#0B3168;text-decoration:none}
.orcrm-project a:not(.orcrm-btn):hover{text-decoration:underline}
@media(max-width:760px){.orcrm-project-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-project-file-list li{align-items:flex-start;flex-direction:column}}

/* Targeted 0.9.3 refinements */
.orcrm-ticket-reply.is-admin{margin-inline-start:0;margin-inline-end:auto;max-width:min(88%,760px);background:#f5f7fb;border:1px solid #e4e8f0;border-radius:14px 14px 14px 4px;padding:12px 14px}
.orcrm-ticket-reply.is-customer{margin-inline-start:auto;margin-inline-end:0;max-width:min(88%,760px);background:#f7f0ff;border:1px solid #e4cff8;border-radius:14px 14px 4px 14px;padding:12px 14px}
.orcrm-ticket-thread{display:flex;flex-direction:column;gap:10px;min-width:0}
.orcrm-notification-popover{max-height:min(65vh,460px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.orcrm-notification-bell .orcrm-bell-glyph{font-size:0;display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center}
.orcrm-notification-bell .orcrm-bell-glyph:before{content:"";width:18px;height:18px;display:block;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") center/contain no-repeat;color:#8B24CF}
.orcrm-notification-bell{color:#8B24CF!important}
.orcrm-jalali-day-grid button:hover,.orcrm-jalali-day-grid button:focus-visible{background:#f0e7fa!important;color:#512080!important;border-color:#8B24CF!important}
.orcrm-jalali-day-grid button[aria-pressed="true"]{background:#8B24CF!important;color:#fff!important;border-color:#8B24CF!important}
@media(max-width:700px){.orcrm-notification-center{min-width:0;max-width:100%}.orcrm-notification-popover{left:auto;right:0;width:min(320px,calc(100vw - 28px));max-width:calc(100vw - 28px)}.orcrm-ticket-reply.is-admin,.orcrm-ticket-reply.is-customer{max-width:94%}}
@media print{
  body.orcrm-printing *{visibility:hidden!important}
  body.orcrm-printing .orcrm-invoice-print.orcrm-print-active,body.orcrm-printing .orcrm-invoice-print.orcrm-print-active *{visibility:visible!important}
  body.orcrm-printing .orcrm-invoice-print.orcrm-print-active{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}
  body.orcrm-printing .orcrm-invoice-print.orcrm-print-active .orcrm-document-actions,body.orcrm-printing .orcrm-invoice-print.orcrm-print-active .orcrm-invoice-edit{display:none!important}
  body.orcrm-printing-contract *{visibility:hidden!important}
  body.orcrm-printing-contract .orcrm-contract-detail,body.orcrm-printing-contract .orcrm-contract-detail *{visibility:visible!important}
  body.orcrm-printing-contract .orcrm-contract-detail{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}
  body.orcrm-printing-contract .orcrm-contract-detail .orcrm-document-actions,body.orcrm-printing-contract .orcrm-contract-acceptance form,body.orcrm-printing-contract .orcrm-contract-acceptance .orcrm-hint{display:none!important}
}

.orcrm-portal .orcrm-ticket-reply.is-customer{margin-inline-start:0;margin-inline-end:auto;background:#f5f7fb;border-color:#e4e8f0;border-radius:14px 14px 14px 4px}.orcrm-portal .orcrm-ticket-reply.is-admin{margin-inline-start:auto;margin-inline-end:0;background:#f7f0ff;border-color:#e4cff8;border-radius:14px 14px 4px 14px}
@media print{body.toplevel_page_optiraya-crm.orcrm-printing-contract *{visibility:hidden!important}body.toplevel_page_optiraya-crm.orcrm-printing-contract .orcrm-document-view,body.toplevel_page_optiraya-crm.orcrm-printing-contract .orcrm-document-view *{visibility:visible!important}body.toplevel_page_optiraya-crm.orcrm-printing-contract .orcrm-document-view{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}body.toplevel_page_optiraya-crm.orcrm-printing-contract .orcrm-document-actions,body.toplevel_page_optiraya-crm.orcrm-printing-contract .orcrm-invoice-edit{display:none!important}body.toplevel_page_optiraya-crm.orcrm-printing-invoice *{visibility:hidden!important}body.toplevel_page_optiraya-crm.orcrm-printing-invoice .orcrm-document-view,body.toplevel_page_optiraya-crm.orcrm-printing-invoice .orcrm-document-view *{visibility:visible!important}body.toplevel_page_optiraya-crm.orcrm-printing-invoice .orcrm-document-view{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}body.toplevel_page_optiraya-crm.orcrm-printing-invoice .orcrm-document-actions,body.toplevel_page_optiraya-crm.orcrm-printing-invoice .orcrm-invoice-edit{display:none!important}}

.orcrm-consult-now-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #e4d4f4;background:#fbf7ff;border-radius:14px;margin:12px 0}.orcrm-consult-now-form p{margin:0}

.orcrm-stage-status-form{display:flex;align-items:end;gap:8px;margin-top:8px}.orcrm-stage-status-form label{max-width:220px}.orcrm-stage-status-form button{align-self:end}

.orcrm-notification-list{max-height:min(72vh,720px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.orcrm-notification-center{max-width:100%;min-width:0}.orcrm-notification-popover{max-height:min(65vh,460px);overflow-y:auto;overflow-x:hidden}

.orcrm-jalali-jump-controls{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.orcrm-jalali-jump-controls select{font:inherit;min-width:130px;max-width:100%;border:1px solid #d8dce5;border-radius:9px;padding:7px 9px;background:#fff;color:#25324a}.orcrm-jalali-jump-controls select:focus{outline:2px solid rgba(139,36,207,.3);border-color:#8B24CF}

.orcrm-roadmap-steps{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.orcrm-roadmap-steps li,.orcrm-roadmap-project-stage{display:flex;align-items:center;gap:10px;border:1px solid #e6eaf1;border-radius:12px;padding:12px;min-width:0}.orcrm-roadmap-steps li.is-complete,.orcrm-roadmap-project-stage.is-complete{background:#f5fbf7;border-color:#cce8d6}.orcrm-roadmap-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;border:1px solid #cfd5e0;color:#7b8495;font-weight:900}.is-complete>.orcrm-roadmap-check,.orcrm-roadmap-project-stage.is-complete .orcrm-roadmap-check{background:#16834a;color:#fff;border-color:#16834a}.orcrm-roadmap-steps li>span:nth-child(2){font-weight:750;flex:1}.orcrm-roadmap-steps small,.orcrm-roadmap-project-stage small{color:#6b7280;font-size:11px}.orcrm-roadmap-project-stages{display:grid;gap:8px}.orcrm-roadmap-project-stage>div{display:grid;gap:2px;min-width:0}.orcrm-roadmap-project-stage strong{overflow-wrap:anywhere}@media(max-width:600px){.orcrm-roadmap-steps{grid-template-columns:1fr}}

/* 0.9.6 targeted control normalization: isolated to CRM, keeps theme styles out. */
.orcrm-shell,.orcrm-shell *{box-sizing:border-box}
.orcrm-shell .orcrm-btn,.orcrm-shell button.orcrm-btn,.orcrm-shell a.orcrm-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;height:auto;padding:7px 12px;border:1px solid #8b24cf;border-radius:8px;background:#8b24cf;color:#fff!important;font:inherit;font-size:13px;font-weight:650;line-height:1.45;text-decoration:none!important;white-space:normal;vertical-align:middle;box-shadow:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.orcrm-shell .orcrm-btn:hover,.orcrm-shell button.orcrm-btn:hover,.orcrm-shell a.orcrm-btn:hover{background:#6f19ad;border-color:#6f19ad;color:#fff!important;transform:none;box-shadow:0 2px 7px rgba(139,36,207,.16)}
.orcrm-shell .orcrm-btn.is-secondary{background:#fff;color:#6f19ad!important;border-color:#d9b7f0}
.orcrm-shell .orcrm-btn.is-secondary:hover{background:#f8f0ff;color:#5f1697!important;border-color:#b985e0}
.orcrm-shell .orcrm-btn.is-danger{background:#fff;color:#b42318!important;border-color:#f0b4ae}
.orcrm-shell .orcrm-btn.is-danger:hover{background:#fff1f0;color:#8f1c13!important;border-color:#dc8b82}
.orcrm-shell .orcrm-btn-small{min-height:30px;padding:5px 9px;font-size:12px;border-radius:7px}
.orcrm-shell .orcrm-button-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.orcrm-shell .orcrm-button-group form{display:inline-flex;margin:0}
.orcrm-shell .orcrm-jalali-day{min-height:48px;height:auto;padding:5px 3px;border:1px solid #d9ddec;border-radius:7px;background:#fff;color:#24324a;font:inherit;line-height:1.25}
.orcrm-shell .orcrm-jalali-day:hover{background:#f7efff;border-color:#c99ae8;color:#6f19ad}
.orcrm-shell .orcrm-jalali-day.is-selected{background:#8b24cf;border-color:#8b24cf;color:#fff}
.orcrm-shell .orcrm-jalali-day-number{font-size:14px;line-height:1.2}
.orcrm-shell .orcrm-jalali-weekday,.orcrm-shell .orcrm-jalali-month{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.orcrm-shell .orcrm-jalali-picker{min-width:0;max-width:100%;padding:12px;border:1px solid #e1e5ef;border-radius:10px;background:#fff}
.orcrm-shell .orcrm-jalali-day-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.orcrm-shell .orcrm-jalali-jump-controls{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}
.orcrm-shell .orcrm-jalali-jump-controls select{min-width:0;max-width:100%;height:36px;font:inherit;font-size:13px}
.orcrm-shell .orcrm-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.orcrm-shell .orcrm-table{width:100%;border-collapse:separate;border-spacing:0;min-width:680px}
.orcrm-shell .orcrm-table th,.orcrm-shell .orcrm-table td{padding:10px 9px;vertical-align:middle;overflow-wrap:anywhere}
.orcrm-shell .orcrm-discount-details{min-width:72px;margin-bottom:6px}
.orcrm-shell .orcrm-discount-details summary{cursor:pointer;list-style:none}
.orcrm-shell .orcrm-discount-details summary::-webkit-details-marker{display:none}
.orcrm-shell .orcrm-discount-details>div{position:absolute;z-index:20;max-width:min(320px,80vw);padding:12px;background:#fff;border:1px solid #e0d6ec;border-radius:10px;box-shadow:0 8px 26px rgba(15,23,42,.12);line-height:1.9;white-space:normal}
.orcrm-shell .orcrm-project-filter{grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) auto auto;align-items:end;margin:12px 0}
.orcrm-shell .orcrm-delete-client-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;border:1px solid #f0d0cd;border-radius:10px}
.orcrm-shell .orcrm-delete-client-form label{min-width:220px;flex:1}
.orcrm-shell .orcrm-confirm-permanent[hidden]{display:none!important}
@media(max-width:782px){
 .orcrm-shell .orcrm-btn,.orcrm-shell button.orcrm-btn,.orcrm-shell a.orcrm-btn{min-height:32px;padding:6px 9px;font-size:12px}
 .orcrm-shell .orcrm-button-group{gap:5px}
 .orcrm-shell .orcrm-project-filter{grid-template-columns:minmax(0,1fr)}
 .orcrm-shell .orcrm-jalali-picker{padding:8px}
 .orcrm-shell .orcrm-jalali-day-grid{gap:3px}
 .orcrm-shell .orcrm-jalali-day{min-height:44px}
 .orcrm-shell .orcrm-table{min-width:620px}
 .orcrm-shell .orcrm-delete-client-form label{min-width:100%;width:100%}
}
.orcrm-shell .orcrm-answer-readable{display:grid;gap:8px;margin:12px 0}
.orcrm-shell .orcrm-answer-readable>div{padding:10px 12px;border:1px solid #e2e6ef;border-radius:8px;background:#fafbfe}
.orcrm-shell .orcrm-answer-readable dt{font-size:12px;color:#667085;margin-bottom:5px}
.orcrm-shell .orcrm-answer-readable dd{margin:0;color:#172033;overflow-wrap:anywhere}
.orcrm-shell .orcrm-message-select{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;font-size:12px;color:#667085}
.orcrm-shell .orcrm-message-select input,.orcrm-shell input[type=checkbox][data-orcrm-select-all],.orcrm-shell input[type=checkbox][name$="[]"]{width:16px;height:16px;accent-color:#8b24cf}
.orcrm-shell .orcrm-palette-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border:1px solid #e1e5ef;border-radius:9px;background:#fff}
.orcrm-shell .orcrm-palette-swatches{display:inline-flex;gap:4px;flex-wrap:wrap}
.orcrm-shell .orcrm-palette-swatches i{display:inline-block;width:20px;height:20px;border:1px solid rgba(15,23,42,.18);border-radius:5px}
.orcrm-shell .orcrm-palette-custom-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;padding:12px;border:1px solid #e1e5ef;border-radius:9px}
.orcrm-shell .orcrm-palette-custom-colors[hidden]{display:none!important}
.orcrm-shell .orcrm-palette-custom-colors label{display:flex;align-items:center;gap:8px;font-size:12px}
.orcrm-shell .orcrm-palette-custom-colors input[type=color]{width:38px;height:32px;padding:2px;border:1px solid #d0d5dd;border-radius:6px}
.orcrm-portal .orcrm-notification-bell{color:#8b24cf}
.orcrm-portal .orcrm-bell-glyph{display:inline-flex;align-items:center;justify-content:center;color:#8b24cf;line-height:1}
.orcrm-portal .orcrm-bell-icon{display:block;width:22px;height:22px;max-width:100%}
.orcrm-portal .orcrm-notification-bell .orcrm-bell-glyph:before{content:none!important}

.orcrm-login-methods{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.orcrm-login-methods .orcrm-btn{flex:1 1 130px;min-height:38px;padding:8px 12px}.orcrm-login-methods .orcrm-btn.is-active{background:#0B3168!important;color:#fff!important;border-color:#0B3168!important}.orcrm-auth-form[hidden]{display:none!important}.orcrm-auth-card [hidden]{display:none!important}

/* Auth CAPTCHA appears only after the user submits the authentication form. */
.orcrm-auth-captcha[hidden]{display:none!important}.orcrm-auth-captcha:not([hidden]){display:block;margin:14px 0}.orcrm-captcha-hint{margin-top:8px}


/* OTP input: clean segmented-code appearance without extra JavaScript inputs. */
.orcrm-auth-card input[autocomplete="one-time-code"],.orcrm-auth-card input[name="verification_code"],.orcrm-portal input[name="contract_otp"],.orcrm-form input[name="verification_code"]{direction:ltr;text-align:center;letter-spacing:.72em;font-variant-numeric:tabular-nums;font-size:20px;font-weight:700;min-height:54px;border:1px solid #d7dce5;border-radius:12px;background:repeating-linear-gradient(to right,#fff 0, #fff calc(16.666667% - 1px),#d7dce5 calc(16.666667% - 1px),#d7dce5 16.666667%);box-shadow:0 1px 2px rgba(16,24,40,.04);padding:10px 14px 10px calc(14px + .45em);max-width:100%;transition:border-color .18s ease,box-shadow .18s ease}
.orcrm-auth-card input[autocomplete="one-time-code"]:focus,.orcrm-auth-card input[name="verification_code"]:focus,.orcrm-portal input[name="contract_otp"]:focus,.orcrm-form input[name="verification_code"]:focus{border-color:#8b24cf;box-shadow:0 0 0 3px rgba(139,36,207,.12);outline:none}
.orcrm-auth-card [data-orcrm-send-code][disabled]{opacity:.72;cursor:wait}
@media(max-width:480px){.orcrm-auth-card input[autocomplete="one-time-code"],.orcrm-auth-card input[name="verification_code"],.orcrm-portal input[name="contract_otp"],.orcrm-form input[name="verification_code"]{letter-spacing:.45em;font-size:18px;min-height:50px;padding-inline-start:calc(12px + .3em)}}


/* 0.9.15: project presentation cards and customer task workflow */
.orcrm-task-status-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px;min-width:190px}
.orcrm-task-status-form select{max-width:100%;min-width:0;border:1px solid #dbe3ef;border-radius:10px;background:#fff;padding:8px 10px;color:#172033;font:inherit}
.orcrm-presentation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px;align-items:start}
.orcrm-presentation-card{min-width:0;overflow:hidden;border:1px solid #e3e8f2;border-radius:18px;background:#fff;padding:clamp(16px,2.5vw,24px);box-shadow:0 8px 28px rgba(11,49,104,.055)}
.orcrm-presentation-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#64748b;font-size:12px;flex-wrap:wrap}
.orcrm-presentation-card h3{margin:12px 0;color:#0b3168;font-size:20px;line-height:1.6;overflow-wrap:anywhere}
.orcrm-presentation-body{color:#334155;line-height:1.9;overflow-wrap:anywhere}
.orcrm-presentation-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin:18px 0}
.orcrm-presentation-media{min-width:0;min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;border:1px solid #e5eaf3;border-radius:14px;overflow:hidden;background:#f8fafc;padding:8px;text-align:center}
.orcrm-presentation-media img,.orcrm-presentation-media video{display:block;width:100%;max-height:320px;aspect-ratio:16/10;object-fit:cover;border-radius:10px;background:#0f172a}
.orcrm-presentation-media a{max-width:100%;overflow-wrap:anywhere;color:#0b3168;text-decoration:none;font-weight:700}
.orcrm-presentation-media a:hover{color:#8b24cf;text-decoration:underline}
.orcrm-presentation-file-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ede9fe;color:#6d28d9;font-size:22px}
.orcrm-presentation-response{border-top:1px solid #e8edf5;padding-top:18px;margin-top:18px}
.orcrm-presentation-response .orcrm-check{display:flex;gap:10px;align-items:flex-start;line-height:1.8}
@media(max-width:600px){.orcrm-presentation-card{border-radius:14px;padding:14px}.orcrm-presentation-media-grid{grid-template-columns:1fr}.orcrm-task-status-form{min-width:0}.orcrm-task-status-form select{width:100%}}
@media print{.orcrm-presentation-response,.orcrm-task-status-form,.orcrm-presentation-card-head small{display:none!important}.orcrm-presentation-card{box-shadow:none;break-inside:avoid}}

/* Full Jalali month calendar: fixed Saturday-Friday header and numeric day cells. */
.orcrm-jalali-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:8px 0 2px;text-align:center;color:#65728a;font-size:11px;font-weight:800}
.orcrm-jalali-weekdays span{padding:7px 2px;border-radius:8px;background:#f5f7fb;overflow-wrap:anywhere}
.orcrm-jalali-day-empty{display:block;min-height:42px}
.orcrm-jalali-day{min-height:42px!important;height:auto!important;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.orcrm-jalali-day.is-out-of-range{opacity:.28;cursor:not-allowed;background:#f8fafc!important;color:#94a3b8!important;border-color:#e5e7eb!important}
.orcrm-jalali-jump-controls select{border:1px solid #d9e1ed;border-radius:10px;background:#fff;color:#172033;padding:8px 12px;min-height:40px}
@media(max-width:520px){.orcrm-jalali-weekdays{gap:2px;font-size:10px}.orcrm-jalali-weekdays span{padding:6px 0}.orcrm-jalali-day-empty{min-height:36px}.orcrm-jalali-day{min-height:36px!important;padding:3px 0!important}}


/* 0.9.16 refinements: accessible audience picker and direct project presentation uploads */
.orcrm-audience-picker{min-width:0;margin:0;padding:14px;border:1px solid var(--orcrm-border,#e1e7f0);border-radius:16px;background:var(--orcrm-surface,#fff)}
.orcrm-audience-picker legend{padding:0 8px;font-weight:750;color:var(--orcrm-navy,#0b3168)}
.orcrm-audience-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;max-height:300px;overflow:auto;padding:4px}
.orcrm-audience-check{display:flex!important;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid #e5eaf2;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.orcrm-audience-check:hover{border-color:#8b24cf;background:#faf7ff;box-shadow:0 3px 12px rgba(66,35,100,.06)}
.orcrm-audience-check input{flex:0 0 auto;accent-color:#8b24cf}
.orcrm-audience-check span{display:flex;flex-direction:column;gap:2px;min-width:0}
.orcrm-audience-check strong,.orcrm-audience-check small{overflow-wrap:anywhere}
.orcrm-audience-check small{color:#64748b;font-size:11px}
.orcrm-presentation-media-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.orcrm-presentation-media video,.orcrm-presentation-media img{display:block;width:100%;max-height:360px;object-fit:contain;background:#f4f6fa;border-radius:14px}
.orcrm-presentation-image-preview{display:block;overflow:hidden;border-radius:14px;background:#f4f6fa}
.orcrm-presentation-download{display:inline-flex;margin-top:8px;font-weight:650}
.orcrm-presentation-card{overflow:hidden;border:1px solid #e4e9f2;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:0 12px 35px rgba(15,35,75,.06)}
.orcrm-presentation-card h3{font-size:clamp(18px,2vw,22px);line-height:1.7;color:#0b3168}
.orcrm-presentation-body{line-height:2;color:#475569}
@media(max-width:600px){.orcrm-audience-picker{padding:10px}.orcrm-audience-check-grid{grid-template-columns:1fr;max-height:260px}.orcrm-presentation-card{border-radius:16px}.orcrm-presentation-media video,.orcrm-presentation-media img{max-height:260px}}
@media print{.orcrm-audience-picker,.orcrm-presentation-response,.orcrm-presentation-download{display:none!important}.orcrm-presentation-card{background:#fff!important;border:0!important;padding:0!important}}

.orcrm-portal-welcome{display:flex;align-items:center;gap:14px;min-width:0}
.orcrm-profile-avatar{width:58px;height:58px;flex:0 0 58px;border:2px solid #e5d5f6;border-radius:50%;padding:2px;background:#fff;overflow:hidden;cursor:zoom-in;box-shadow:0 4px 18px rgba(50,30,90,.10)}
.orcrm-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.orcrm-avatar-dialog{position:fixed;max-width:min(88vw,520px);max-height:88vh;padding:18px;border:1px solid #e5eaf2;border-radius:24px;box-shadow:0 24px 80px rgba(10,25,50,.28);background:#fff}
.orcrm-avatar-dialog::backdrop{background:rgba(8,20,45,.66);backdrop-filter:blur(4px)}
.orcrm-avatar-dialog>img{display:block;max-width:100%;max-height:78vh;object-fit:contain;border-radius:16px}
.orcrm-avatar-dialog-close{position:absolute;top:8px;inset-inline-end:8px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f3f8;color:#172033;font-size:24px;cursor:pointer}
.orcrm-profile-avatar-settings{border:1px solid #e3e8f1;border-radius:16px;padding:14px;margin:0}
.orcrm-profile-avatar-settings legend{padding:0 8px;font-weight:750;color:#0b3168}
.orcrm-profile-avatar-options{display:flex;flex-wrap:wrap;gap:14px;margin:8px 0 16px}
.orcrm-profile-avatar-options label{display:flex!important;align-items:center;gap:8px;border:1px solid #e3e8f1;border-radius:14px;padding:10px;cursor:pointer}
.orcrm-profile-avatar-options img{width:56px;height:56px;object-fit:cover;border-radius:50%}
.orcrm-profile-avatar-options input{accent-color:#8b24cf}
@media(max-width:600px){.orcrm-portal-welcome{align-items:flex-start;gap:9px}.orcrm-profile-avatar{width:46px;height:46px;flex-basis:46px}}

.orcrm-portal-welcome{flex:1}
.orcrm-welcome-typewriter{display:flex;align-items:flex-start;gap:7px;min-height:2em;margin:5px 0 0;color:#5f6b80;line-height:1.9}
.orcrm-welcome-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;min-height:24px;animation:orcrm-welcome-icon-float 2.4s ease-in-out infinite}
@keyframes orcrm-welcome-icon-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(4deg)}}
.orcrm-help-center{position:relative;align-self:start;z-index:41}
.orcrm-help-lamp{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e7e3f0;border-radius:12px;background:#fff;cursor:pointer;list-style:none;font-size:21px;box-shadow:0 2px 7px rgba(15,23,42,.035)}
.orcrm-help-lamp::-webkit-details-marker{display:none}
.orcrm-help-lamp.is-attention{animation:orcrm-lamp-attention 1.6s ease-in-out infinite;border-color:#8b24cf;box-shadow:0 0 0 0 rgba(139,36,207,.28)}
@keyframes orcrm-lamp-attention{0%,100%{transform:translateY(0);box-shadow:0 0 0 0 rgba(139,36,207,.22)}50%{transform:translateY(-2px);box-shadow:0 0 0 7px rgba(139,36,207,0)}}
.orcrm-help-popover{position:absolute;top:calc(100% + 8px);inset-inline-end:0;width:min(380px,calc(100vw - 28px));padding:14px;background:#fff;border:1px solid #e5eaf2;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.16);z-index:110}
.orcrm-help-popover-head{display:flex;flex-direction:column;gap:3px;padding-bottom:10px;border-bottom:1px solid #edf0f5;color:#0b3168}
.orcrm-help-popover-head span{font-size:12px;color:#64748b}
.orcrm-help-popover-body{max-height:min(48vh,360px);overflow:auto;padding:8px 0;color:#475569;line-height:1.95}
.orcrm-help-popover-body p{margin:0 0 8px}
.orcrm-notification-mark-all{padding:10px 0 2px}
.orcrm-notification-mark-all .orcrm-btn{width:100%}
@media(prefers-reduced-motion:reduce){.orcrm-welcome-icon,.orcrm-help-lamp.is-attention{animation:none!important}}
@media(max-width:700px){.orcrm-help-popover{inset-inline-end:0;width:min(340px,calc(100vw - 24px))}.orcrm-portal-head .orcrm-help-center{grid-column:2;grid-row:2;justify-self:end}.orcrm-portal-head .orcrm-notification-center{grid-column:2;grid-row:1;justify-self:end}}

/* Questionnaire wizard */
.orcrm-questionnaire-progress{display:grid;gap:8px;margin:16px 0 14px;padding:12px;border:1px solid #e7eaf2;border-radius:12px;background:#fbfcff}.orcrm-questionnaire-progress-track{height:6px;overflow:hidden;background:#e9edf5;border-radius:999px}.orcrm-questionnaire-progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#0b3168,#8b24cf);border-radius:999px;transition:width .2s ease}.orcrm-questionnaire-progress-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#596579;font-size:12px}.orcrm-questionnaire-wizard-actions{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;margin:14px 0}.orcrm-question[hidden]{display:none!important}.orcrm-questionnaire-wizard-actions [hidden]{display:none!important}@media(max-width:520px){.orcrm-questionnaire-wizard-actions>*{flex:1 1 100%;width:100%}.orcrm-questionnaire-progress-meta{font-size:11px}}

/* CRM manager login and responsive record cards */
.orcrm-manager-login{max-width:560px;margin:clamp(24px,6vh,70px) auto;padding:clamp(20px,4vw,36px)}
.orcrm-manager-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.orcrm-manager-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e6eaf1;border-radius:14px;background:#fff;min-width:0}
.orcrm-manager-avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#f1e8fb;color:#8b24cf;font-weight:800;font-size:19px}
.orcrm-manager-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.orcrm-manager-info strong,.orcrm-manager-info span,.orcrm-manager-info small{overflow-wrap:anywhere}.orcrm-manager-info span,.orcrm-manager-info small{font-size:12px;color:#667085}
.orcrm-cards-table{overflow:visible!important;max-height:none!important}.orcrm-cards-table .orcrm-table{min-width:0;border-collapse:separate;border-spacing:0 10px;table-layout:fixed}.orcrm-cards-table .orcrm-table thead{display:none}.orcrm-cards-table .orcrm-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.orcrm-cards-table .orcrm-table tbody tr{display:flex;flex-direction:column;min-width:0;border:1px solid #e5eaf2;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(11,49,104,.035);padding:10px 14px}.orcrm-cards-table .orcrm-table tbody td{display:grid;grid-template-columns:minmax(95px,.55fr) minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #f0f2f6;overflow-wrap:anywhere;min-width:0}.orcrm-cards-table .orcrm-table tbody td:last-child{border-bottom:0}.orcrm-cards-table .orcrm-table tbody td:before{content:attr(data-label);font-size:11px;font-weight:800;color:#667085}.orcrm-cards-table .orcrm-table tbody td a.orcrm-btn{justify-self:start;white-space:normal}.orcrm-cards-table .orcrm-table tbody tr td[colspan]{display:block}.orcrm-cards-table .orcrm-table tbody tr td[colspan]:before{content:none}
@media(max-width:760px){.orcrm-manager-grid{grid-template-columns:1fr}.orcrm-cards-table .orcrm-table tbody{grid-template-columns:1fr}.orcrm-cards-table .orcrm-table tbody tr{padding:10px 12px}.orcrm-cards-table .orcrm-table tbody td{grid-template-columns:minmax(82px,.42fr) minmax(0,1fr);gap:8px}.orcrm-cards-table .orcrm-table tbody td .orcrm-inline-form{margin:3px 0}.orcrm-manager-card{align-items:flex-start;flex-wrap:wrap}.orcrm-manager-card form{width:100%}.orcrm-manager-card form button{width:100%}}

.orcrm-cards-table .orcrm-clickable-record{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.orcrm-cards-table .orcrm-clickable-record:hover,.orcrm-cards-table .orcrm-clickable-record:focus-visible{border-color:#8b24cf;box-shadow:0 7px 22px rgba(11,49,104,.09);outline:none;transform:translateY(-1px)}

.orcrm-cards-table .orcrm-table tbody td.orcrm-card-primary-cell{display:block;font-size:14px;font-weight:850;color:#0b3168;padding:4px 0 11px;border-bottom:1px solid #e5eaf2}.orcrm-cards-table .orcrm-table tbody td.orcrm-card-primary-cell:before{display:none}

/* Opti Raya CRM 0.9.19 refinements */
.orcrm-profile-avatar{width:58px;height:58px;flex:0 0 58px;border:1px solid #dbe3ef;border-radius:14px;padding:3px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(11,49,104,.08)}
.orcrm-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.orcrm-profile-avatar:focus-visible{outline:3px solid rgba(11,49,104,.3);outline-offset:3px}
.orcrm-profile-avatar-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.orcrm-profile-avatar-options label{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center;gap:8px;min-width:0;border:1px solid #e0e6ef;background:#fff;border-radius:13px;padding:12px 8px;transition:border-color .15s,background .15s}
.orcrm-profile-avatar-options label:has(input:checked){border-color:#0b3168;background:#f2f6fb;box-shadow:0 0 0 2px rgba(11,49,104,.07)}
.orcrm-profile-avatar-options input{accent-color:#0b3168}
.orcrm-profile-avatar-options img{width:64px;height:64px;object-fit:cover;border-radius:14px}
.orcrm-portal .orcrm-portal-tabs a.is-active,.orcrm-portal .orcrm-portal-tabs a[aria-current=page]{background:#eaf0f8!important;color:#0b3168!important;box-shadow:inset 0 -2px #0b3168!important}
.orcrm-portal .orcrm-portal-tabs a:hover{background:#f2f5fa!important;color:#0b3168!important}
.orcrm-questionnaire-progress-track span{background:#16a34a!important}
.orcrm-notification-center,.orcrm-help-lamp-wrap{position:relative;min-width:0}
.orcrm-notification-popover,.orcrm-help-popover{max-width:min(360px,calc(100vw - 24px));overflow-wrap:anywhere;z-index:1000}
.orcrm-portal .orcrm-portal-head{min-width:0}
.orcrm-portal .orcrm-portal-head>*{min-width:0}
.orcrm-presentation-media video{display:block;width:100%;max-height:70vh;aspect-ratio:16/9;object-fit:contain;background:#0b1220;border-radius:12px}
.orcrm-presentation-image-preview{display:block;overflow:hidden;border-radius:12px;background:#f4f6fa}
.orcrm-presentation-image-preview img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;cursor:zoom-in}
.orcrm-presentation-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.orcrm-presentation-media{min-width:0}
.orcrm-presentation-download{display:inline-flex;margin-top:7px;overflow-wrap:anywhere}
.orcrm-task-status-form{max-width:100%}
.orcrm-task-status-form select{max-width:100%}
@media(max-width:700px){.orcrm-profile-avatar-options{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-profile-avatar{width:48px;height:48px;flex-basis:48px}.orcrm-presentation-media-grid{grid-template-columns:minmax(0,1fr)}.orcrm-notification-popover,.orcrm-help-popover{position:fixed!important;inset-inline:12px!important;top:90px!important;width:auto!important;max-width:none!important;max-height:70vh;overflow:auto}}
@media print{.orcrm-document-actions,.orcrm-btn,.orcrm-portal-shortcuts,.orcrm-portal-tabs,.orcrm-notification-center,.orcrm-help-lamp-wrap,.orcrm-profile-avatar,.orcrm-task-status-form,.orcrm-presentation-download{display:none!important}.orcrm-contract-detail,.orcrm-invoice-detail{box-shadow:none!important;border:0!important;padding:0!important}.orcrm-shell{max-width:none!important;margin:0!important;padding:0!important}.orcrm-presentation-media video{max-height:none}}

.orcrm-presentation-lightbox{position:fixed;inset:0;width:min(1100px,96vw);max-width:96vw;max-height:94vh;height:94vh;border:1px solid #dce3ee;border-radius:18px;padding:58px 64px 54px;background:#fff;box-shadow:0 24px 90px rgba(8,20,45,.35);overflow:hidden}
.orcrm-presentation-lightbox::backdrop{background:rgba(8,20,45,.82);backdrop-filter:blur(5px)}
.orcrm-presentation-lightbox figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0}
.orcrm-presentation-lightbox figure img{max-width:100%;max-height:calc(100% - 32px);object-fit:contain;border-radius:8px}
.orcrm-presentation-lightbox figcaption{font-size:12px;color:#64748b}
.orcrm-lightbox-close,.orcrm-lightbox-prev,.orcrm-lightbox-next{position:absolute;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dce3ee;border-radius:12px;background:#fff;color:#0b3168;font-size:26px;cursor:pointer}
.orcrm-lightbox-close{top:10px;inset-inline-end:10px}.orcrm-lightbox-prev{left:10px;top:50%;transform:translateY(-50%)}.orcrm-lightbox-next{right:10px;top:50%;transform:translateY(-50%)}
.orcrm-lightbox-download{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:inline-flex;padding:7px 14px;border-radius:9px;background:#0b3168;color:#fff!important;text-decoration:none!important;font-size:13px}
.orcrm-notice.is-fading{opacity:0;transition:opacity .35s ease}
@media(max-width:600px){.orcrm-presentation-lightbox{width:100vw;max-width:100vw;height:92vh;max-height:92vh;border-radius:14px;padding:52px 42px}.orcrm-lightbox-close,.orcrm-lightbox-prev,.orcrm-lightbox-next{width:34px;height:34px;font-size:22px}}
@media(prefers-reduced-motion:reduce){.orcrm-notice.is-fading{transition:none}}

/* 0.9.20 regression-focused refinements */
.orcrm-portal-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:16px;row-gap:10px;min-width:0}
.orcrm-portal-brandline{grid-column:2;grid-row:1;justify-self:end;direction:rtl;margin:0;align-self:center}
.orcrm-portal-welcome{grid-column:1;grid-row:1;justify-self:stretch;direction:rtl;min-width:0}
.orcrm-portal-welcome h1,.orcrm-portal-welcome p{overflow-wrap:anywhere}
.orcrm-portal-welcome .orcrm-profile-avatar{order:0;width:58px;height:58px;flex:0 0 58px;border-radius:14px;padding:2px;border-color:#dbe3ef;box-shadow:0 3px 12px rgba(11,49,104,.08)}
.orcrm-portal-welcome .orcrm-profile-avatar img{border-radius:10px}
.orcrm-portal-head>.orcrm-notification-center{grid-column:2;grid-row:2;justify-self:end}
.orcrm-portal-head>.orcrm-help-center{grid-column:2;grid-row:3;justify-self:end}
.orcrm-portal-head>.orcrm-portal-refresh{grid-column:1;grid-row:2;justify-self:start}
.orcrm-portal-head>form{grid-column:1;grid-row:3;justify-self:start}
.orcrm-help-lamp .orcrm-lamp-glyph{display:block;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M8 14c-1.4-1.1-2-2.8-2-4.5a6 6 0 1 1 12 0c0 1.7-.6 3.4-2 4.5-.7.6-1 1.3-1 2h-6c0-.7-.3-1.4-1-2Z'/%3E%3C/svg%3E") center/contain no-repeat}
.orcrm-help-lamp{color:#0b3168}
.orcrm-welcome-typewriter{gap:8px}
.orcrm-welcome-icon{font-family:Arial,sans-serif;font-size:17px;line-height:1.7}
.orcrm-questionnaire-progress-track span{background:#16834a!important}
.orcrm-custom-palette-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:8px 0}
.orcrm-custom-color-chip{display:grid!important;grid-template-columns:1fr 44px auto;align-items:center!important;gap:7px!important;border:1px solid #e4e9f1;border-radius:11px;padding:8px;background:#fff}
.orcrm-custom-color-chip input[type=color]{width:44px!important;height:38px!important;padding:3px!important}
.orcrm-custom-color-chip button{border:1px solid #e0e6ef;background:#fff;border-radius:8px;padding:6px 8px;color:#475569;cursor:pointer;font:inherit;font-size:11px}
.orcrm-custom-color-chip button:disabled{opacity:.35;cursor:not-allowed}
.orcrm-publication-consent{border:1px solid #e2e8f0;border-radius:12px;padding:12px;display:grid;gap:10px}
.orcrm-publication-consent legend{font-weight:800;color:#0b3168;padding:0 6px}
.orcrm-image-dialog{position:fixed;max-width:min(92vw,900px);max-height:90vh;padding:18px;border:1px solid #e5eaf2;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(10,25,50,.3)}
.orcrm-image-dialog::backdrop{background:rgba(8,20,45,.72)}
.orcrm-image-dialog img{display:block;max-width:86vw;max-height:82vh;object-fit:contain}
.orcrm-image-dialog-close{position:absolute;top:5px;inset-inline-end:5px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f3f8;color:#172033;font-size:23px;cursor:pointer}
.orcrm-question-option-image{cursor:zoom-in;transition:box-shadow .15s,border-color .15s}
.orcrm-question-option-image:hover,.orcrm-question-option-image:focus-visible{border-color:#0b3168;box-shadow:0 0 0 3px rgba(11,49,104,.12);outline:none}
@media(max-width:700px){.orcrm-portal-head{grid-template-columns:minmax(0,1fr) auto;gap:8px}.orcrm-portal-brandline{grid-column:2;grid-row:1}.orcrm-portal-welcome{grid-column:1 / -1;grid-row:2}.orcrm-portal-head>.orcrm-notification-center{grid-column:2;grid-row:3}.orcrm-portal-head>.orcrm-help-center{grid-column:2;grid-row:4}.orcrm-portal-head>.orcrm-portal-refresh{grid-column:1;grid-row:3}.orcrm-portal-head>form{grid-column:1;grid-row:4}.orcrm-custom-palette-chips{grid-template-columns:1fr}.orcrm-portal-welcome .orcrm-profile-avatar{width:48px;height:48px;flex-basis:48px}}
@media(max-width:380px){.orcrm-portal-brandline .orcrm-eyebrow{font-size:10px}.orcrm-portal-logo{width:34px;height:34px}.orcrm-portal-welcome h1{font-size:18px}}
@media print{.orcrm-image-dialog,.orcrm-avatar-dialog{display:none!important}}

.orcrm-presentation-edit{min-width:220px}.orcrm-presentation-edit>summary{cursor:pointer;font-weight:750;color:#0b3168;padding:8px}.orcrm-presentation-edit[open]{min-width:min(320px,80vw);padding:8px;border:1px solid #e3e8f1;border-radius:12px;background:#fff}.orcrm-presentation-edit .orcrm-form{min-width:0}.orcrm-presentation-edit input,.orcrm-presentation-edit textarea,.orcrm-presentation-edit select{max-width:100%;box-sizing:border-box}

/* 0.9.22: questionnaire list/detail views and existing presentation media editor. */
.orcrm-questionnaire-list-item{padding:16px 0;border-bottom:1px solid #e7ebf2}.orcrm-questionnaire-list-item:last-child{border-bottom:0}.orcrm-questionnaire-list-item h3 a{color:#0b3168;text-decoration:none}.orcrm-questionnaire-list-item h3 a:hover{text-decoration:underline}.orcrm-questionnaire-detail{padding-top:12px}.orcrm-questionnaire-back{margin-bottom:12px}.orcrm-presentation-media-editor{border:1px solid #e1e7f0;border-radius:12px;padding:12px;margin:12px 0}.orcrm-presentation-media-editor ol{padding-inline-start:24px;display:grid;gap:8px}.orcrm-presentation-media-editor li{overflow-wrap:anywhere}.orcrm-presentation-media-editor label:not(.orcrm-check){display:grid;gap:6px;margin-top:12px}

/* Public project-feedback widget: requires explicit consent plus admin publication. */
.orcrm-public-reviews{display:grid;grid-template-columns:repeat(var(--orcrm-review-columns,3),minmax(0,1fr));gap:18px}.orcrm-public-review-card{min-width:0;padding:20px;border:1px solid #e4e9f2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,35,75,.045)}.orcrm-public-review-card header{display:flex;align-items:center;gap:12px}.orcrm-public-review-card header>div{display:grid;gap:4px}.orcrm-public-review-card header span,.orcrm-public-review-card small{color:#64748b;font-size:12px}.orcrm-public-review-avatar{width:48px;height:48px;object-fit:cover;border-radius:12px}.orcrm-public-review-card blockquote{margin:18px 0;padding:0;border:0;color:#253047;overflow-wrap:anywhere}.orcrm-public-review-card blockquote p:last-child{margin-bottom:0}.orcrm-public-reviews-empty{padding:16px;border:1px solid #e5eaf2;border-radius:12px;color:#64748b}@media(max-width:850px){.orcrm-public-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.orcrm-public-reviews{grid-template-columns:1fr}}

.orcrm-saved-answer-image{display:inline-flex;margin:8px 8px 0 0}.orcrm-saved-answer-image img{width:110px;height:76px;object-fit:cover;border-radius:10px;border:1px solid #e3e8f0;cursor:zoom-in}

.orcrm-audience-search-label{display:grid;gap:6px;margin:10px 0}.orcrm-audience-check[hidden]{display:none!important}.orcrm-audience-search-label input{width:100%;min-height:40px}

/* 0.9.23 — Zibal-inspired document and ticket cards, without changing upload controls. */
#orcrm-customer-contracts .orcrm-table-wrap,
#orcrm-customer-invoices .orcrm-table-wrap,
#orcrm-customer-tickets .orcrm-table-wrap{overflow:visible}
#orcrm-customer-contracts .orcrm-table,
#orcrm-customer-invoices .orcrm-table,
#orcrm-customer-tickets .orcrm-table{display:block;border:0;background:transparent}
#orcrm-customer-contracts .orcrm-table thead,
#orcrm-customer-invoices .orcrm-table thead,
#orcrm-customer-tickets .orcrm-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#orcrm-customer-contracts .orcrm-table tbody,
#orcrm-customer-invoices .orcrm-table tbody,
#orcrm-customer-tickets .orcrm-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#orcrm-customer-contracts .orcrm-table tr,
#orcrm-customer-invoices .orcrm-table tr,
#orcrm-customer-tickets .orcrm-table tr{display:flex;flex-direction:column;gap:0;min-width:0;padding:14px 16px;background:#fff;border:1px solid #e5eaf2;border-radius:16px;box-shadow:0 5px 18px rgba(11,49,104,.045);}
#orcrm-customer-contracts .orcrm-table td,
#orcrm-customer-invoices .orcrm-table td,
#orcrm-customer-tickets .orcrm-table td{display:grid;grid-template-columns:minmax(86px,.55fr) minmax(0,1fr);gap:12px;align-items:start;padding:9px 0;border:0;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere;min-width:0}
#orcrm-customer-contracts .orcrm-table td:last-child,
#orcrm-customer-invoices .orcrm-table td:last-child,
#orcrm-customer-tickets .orcrm-table td:last-child{border-bottom:0;padding-bottom:0}
#orcrm-customer-contracts .orcrm-table td::before,
#orcrm-customer-invoices .orcrm-table td::before,
#orcrm-customer-tickets .orcrm-table td::before{font-size:12px;color:#64748b;font-weight:600}
#orcrm-customer-contracts .orcrm-table td:nth-child(1)::before{content:'شماره قرارداد'}
#orcrm-customer-contracts .orcrm-table td:nth-child(2)::before{content:'عنوان'}
#orcrm-customer-contracts .orcrm-table td:nth-child(3)::before{content:'مبلغ'}
#orcrm-customer-contracts .orcrm-table td:nth-child(4)::before{content:'وضعیت'}
#orcrm-customer-contracts .orcrm-table td:nth-child(5)::before{content:'سند قرارداد'}
#orcrm-customer-invoices .orcrm-table td:nth-child(1)::before{content:'شماره فاکتور'}
#orcrm-customer-invoices .orcrm-table td:nth-child(2)::before{content:'عنوان فاکتور'}
#orcrm-customer-invoices .orcrm-table td:nth-child(3)::before{content:'مبلغ کل'}
#orcrm-customer-invoices .orcrm-table td:nth-child(4)::before{content:'پرداخت شده'}
#orcrm-customer-invoices .orcrm-table td:nth-child(5)::before{content:'مانده'}
#orcrm-customer-invoices .orcrm-table td:nth-child(6)::before{content:'وضعیت'}
#orcrm-customer-invoices .orcrm-table td:nth-child(7)::before{content:'روش پرداخت'}
#orcrm-customer-invoices .orcrm-table td:nth-child(8)::before{content:'جزئیات و پرداخت'}
#orcrm-customer-tickets .orcrm-table td:nth-child(1)::before{content:'شماره تیکت'}
#orcrm-customer-tickets .orcrm-table td:nth-child(2)::before{content:'موضوع'}
#orcrm-customer-tickets .orcrm-table td:nth-child(3)::before{content:'وضعیت'}
#orcrm-customer-tickets .orcrm-table td:nth-child(4)::before{content:'اولویت'}
#orcrm-customer-tickets .orcrm-table td:nth-child(5)::before{content:'آخرین تغییر'}
#orcrm-customer-tickets .orcrm-table td:nth-child(6)::before{content:'گفتگو'}
#orcrm-customer-contracts .orcrm-table td:last-child a,
#orcrm-customer-tickets .orcrm-table td:last-child a{justify-self:start}
#orcrm-customer-invoices .orcrm-table td:last-child{display:block}
#orcrm-customer-invoices .orcrm-table td:last-child::before{display:block;margin-bottom:8px}
#orcrm-customer-invoices .orcrm-invoice-details{min-width:0}
#orcrm-customer-invoices .orcrm-invoice-details>summary{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #dce5f2;border-radius:10px;background:#f8faff}
@media(max-width:760px){#orcrm-customer-contracts .orcrm-table tbody,#orcrm-customer-invoices .orcrm-table tbody,#orcrm-customer-tickets .orcrm-table tbody{grid-template-columns:minmax(0,1fr)}#orcrm-customer-contracts .orcrm-table tr,#orcrm-customer-invoices .orcrm-table tr,#orcrm-customer-tickets .orcrm-table tr{padding:12px}#orcrm-customer-contracts .orcrm-table td,#orcrm-customer-invoices .orcrm-table td,#orcrm-customer-tickets .orcrm-table td{grid-template-columns:minmax(78px,.42fr) minmax(0,1fr);gap:8px}}
@media print{#orcrm-customer-contracts .orcrm-table thead,#orcrm-customer-invoices .orcrm-table thead,#orcrm-customer-tickets .orcrm-table thead{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}#orcrm-customer-contracts .orcrm-table tbody,#orcrm-customer-invoices .orcrm-table tbody,#orcrm-customer-tickets .orcrm-table tbody{display:block}#orcrm-customer-contracts .orcrm-table tr,#orcrm-customer-invoices .orcrm-table tr,#orcrm-customer-tickets .orcrm-table tr{box-shadow:none;break-inside:avoid}}

/* Dedicated invoice detail page: keep the document focused and responsive. */
.orcrm-invoice-detail-page{max-width:1080px;margin-inline:auto}.orcrm-invoice-detail{padding:clamp(18px,3vw,36px)}.orcrm-invoice-detail .orcrm-document-toolbar h1{margin:5px 0;color:#0B3168;font-size:clamp(22px,3vw,30px)}.orcrm-invoice-detail .orcrm-invoice-print{display:block;max-width:100%;overflow-wrap:anywhere}.orcrm-invoice-detail .orcrm-invoice-values{margin-block:22px}.orcrm-invoice-detail .orcrm-invoice-transactions{margin-top:24px}.orcrm-invoice-detail .orcrm-invoice-transactions h2{font-size:1.1rem;color:#0B3168}.orcrm-invoice-detail .orcrm-document-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.orcrm-invoice-detail .orcrm-invoice-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.orcrm-invoice-detail .orcrm-invoice-actions form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.orcrm-invoice-detail .orcrm-invoice-actions label{display:grid;gap:5px}.orcrm-invoice-detail .orcrm-invoice-actions input{max-width:240px;min-height:42px}
@media(max-width:640px){.orcrm-invoice-detail .orcrm-document-toolbar{display:grid;gap:12px}.orcrm-invoice-detail .orcrm-document-actions,.orcrm-invoice-detail .orcrm-invoice-actions{width:100%}.orcrm-invoice-detail .orcrm-document-actions>*{flex:1 1 auto}.orcrm-invoice-detail .orcrm-invoice-actions form{width:100%}.orcrm-invoice-detail .orcrm-invoice-actions form label{flex:1 1 100%}.orcrm-invoice-detail .orcrm-invoice-actions input{max-width:none;width:100%}}
@media print{body.orcrm-printing .orcrm-invoice-detail-page,body.orcrm-printing .orcrm-invoice-detail-page *{visibility:visible!important}body.orcrm-printing .orcrm-invoice-detail-page .orcrm-document-toolbar,body.orcrm-printing .orcrm-invoice-detail-page .orcrm-invoice-actions,body.orcrm-printing .orcrm-invoice-detail-page .orcrm-btn,body.orcrm-printing .orcrm-invoice-detail-page form,body.orcrm-printing .orcrm-invoice-detail-page a{display:none!important}body.orcrm-printing .orcrm-invoice-detail-page{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}body.orcrm-printing .orcrm-invoice-detail-page .orcrm-invoice-print{position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}}

/* 0.9.25: make task state and its freshness obvious in the customer portal. */
.orcrm-task-updated{display:block;margin-top:5px;color:#64748b;font-size:12px;line-height:1.6}
.orcrm-project-detail-page .orcrm-task-status-form{margin-top:10px}
.orcrm-project-detail-page .orcrm-task-status-form button{white-space:nowrap}
@media(max-width:600px){.orcrm-project-detail-page .orcrm-task-status-form{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.orcrm-project-detail-page .orcrm-task-status-form button{width:100%}}

/* 0.9.26 UI stabilization: calm accents, responsive records and project roadmap. */
.orcrm-shell{--orcrm-primary:#6f42a6;--orcrm-ink:#17243a;--orcrm-muted:#68758a;max-width:1240px;overflow-wrap:anywhere}
.orcrm-shell img,.orcrm-shell video{max-width:100%;height:auto}
.orcrm-shell .orcrm-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.orcrm-shell .orcrm-card,.orcrm-shell .orcrm-presentation-card,.orcrm-shell .orcrm-ticket-detail{min-width:0;max-width:100%}
.orcrm-shell .orcrm-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.orcrm-shell .orcrm-tabs,.orcrm-shell .orcrm-admin-tabs,.orcrm-shell .orcrm-sidebar-nav{min-width:0;max-width:100%}
.orcrm-shell .orcrm-sidebar-nav a.is-active{background:#eee8f7!important;border-color:#d7c8eb!important;color:#4e347b!important;box-shadow:none!important}
.orcrm-shell .orcrm-sidebar-nav a.is-active:before{background:#8060ae!important}
.orcrm-shell .orcrm-profile-avatar{border-color:#d9d1e8;box-shadow:0 3px 12px rgba(50,40,75,.08)}
.orcrm-roadmap-project-stages{max-height:420px;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 2px 0}
.orcrm-roadmap-project-stage{background:#fff;border-color:#e2e7f0;box-shadow:0 2px 8px rgba(25,40,70,.025)}
.orcrm-roadmap-project-stage.is-complete{background:#f4faf6;border-color:#cfe6d7}
.orcrm-question-builder-option-media img{width:84px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #e2e7ef}
@media(max-width:680px){.orcrm-shell{padding-inline:10px;margin:14px auto}.orcrm-shell .orcrm-card{padding:14px;border-radius:14px}.orcrm-shell .orcrm-form-grid,.orcrm-shell .orcrm-auth-grid{grid-template-columns:minmax(0,1fr)}.orcrm-shell .orcrm-table{min-width:0}.orcrm-shell .orcrm-cards-table table,.orcrm-shell .orcrm-cards-table thead,.orcrm-shell .orcrm-cards-table tbody,.orcrm-shell .orcrm-cards-table tr,.orcrm-shell .orcrm-cards-table td{display:block;width:100%;min-width:0}.orcrm-shell .orcrm-cards-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.orcrm-shell .orcrm-cards-table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.orcrm-shell .orcrm-cards-table tbody tr{border:1px solid #e2e7f0;border-radius:14px;background:#fff;padding:10px 12px;box-shadow:0 4px 14px rgba(20,35,65,.04)}.orcrm-shell .orcrm-cards-table tbody td{display:grid;grid-template-columns:minmax(82px,35%) minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #eef0f5;text-align:right;overflow-wrap:anywhere}.orcrm-shell .orcrm-cards-table tbody td:last-child{border-bottom:0}.orcrm-shell .orcrm-cards-table tbody td:before{content:attr(data-label);font-size:11px;font-weight:750;color:#6b7280}.orcrm-shell .orcrm-cards-table tbody td.orcrm-card-primary-cell{display:block;font-weight:800;font-size:14px}.orcrm-shell .orcrm-cards-table tbody td.orcrm-card-primary-cell:before{display:none}.orcrm-roadmap-project-stages{max-height:360px}.orcrm-profile-avatar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* 0.9.26 settings navigation and clean document views. */
.orcrm-settings-tabs{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:8px;z-index:10;padding:10px;margin:0 0 16px;border:1px solid #e2e7ef;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
.orcrm-settings-tabs a{display:inline-flex;padding:8px 13px;border-radius:9px;background:#f4f1f8;color:#4e347b!important;text-decoration:none;font-weight:700;font-size:13px}
.orcrm-settings-tabs a:hover{background:#e9e1f3}
.orcrm-settings-tabs a:focus-visible{outline:2px solid #8060ae;outline-offset:2px}
.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-admin-head,.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-sidebar{display:none!important}
.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-app-layout{display:block!important;max-width:980px;margin:20px auto}
.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-app-main>*:not(:has(.orcrm-document-view)){display:none!important}
.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-app-main{padding:0!important;max-width:100%}
.orcrm-admin-shell:has(.orcrm-document-view) .orcrm-document-view{margin:0 auto 20px;box-shadow:none;border-color:#dfe4ed}
@media(max-width:600px){.orcrm-settings-tabs{position:static;overflow-x:auto;flex-wrap:nowrap}.orcrm-settings-tabs a{white-space:nowrap}}

.orcrm-presentation-media-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.orcrm-presentation-media-grid>.orcrm-presentation-media{min-width:0;max-width:100%}
.orcrm-presentation-media-grid>.orcrm-presentation-media img{width:100%;max-height:520px;object-fit:contain;background:#f5f7fb}
.orcrm-presentation-download-all{margin:10px 0}
.orcrm-admin-shell .orcrm-card{border-color:#e3e7ef;box-shadow:0 5px 18px rgba(20,35,65,.035)}
.orcrm-admin-shell .orcrm-sidebar-nav a{border-radius:10px;margin-block:2px}
.orcrm-admin-shell .orcrm-sidebar-nav a.is-active{background:#f0ebf7!important;color:#513777!important}

.orcrm-settings-permissions{display:grid;gap:10px;margin:0;padding:14px;border:1px solid #e0e6ef;border-radius:14px;background:#fbfcfe}.orcrm-settings-permissions legend{padding:0 6px;font-weight:800;color:#26364f}

.orcrm-admin-shell:has(.orcrm-standalone-record) .orcrm-admin-head,.orcrm-admin-shell:has(.orcrm-standalone-record) .orcrm-sidebar{display:none!important}
.orcrm-admin-shell:has(.orcrm-standalone-record) .orcrm-app-layout{display:block!important;max-width:980px;margin:20px auto}
.orcrm-admin-shell:has(.orcrm-standalone-record) .orcrm-app-main>*:not(:has(.orcrm-standalone-record)){display:none!important}
.orcrm-admin-shell:has(.orcrm-standalone-record) .orcrm-app-main{padding:0!important}
.orcrm-answer-detail-list{display:grid;gap:12px;margin:20px 0}.orcrm-answer-detail-list>div{padding:14px;border:1px solid #e4e8f0;border-radius:12px;background:#fbfcfe}.orcrm-answer-detail-list dt{font-weight:800;color:#34445e;margin-bottom:6px}.orcrm-answer-detail-list dd{margin:0;line-height:2;overflow-wrap:anywhere}.orcrm-dossier-record-link{display:inline-flex;margin-top:8px;font-weight:700;font-size:12px}

.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-admin-head,.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-sidebar{display:none!important}
.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-app-layout{display:block!important;max-width:980px;margin:20px auto}
.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-app-main>*:not(:has(.orcrm-ticket-detail .orcrm-ticket-heading)){display:none!important}
.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-ticket-list{display:none!important}
.orcrm-admin-shell:has(.orcrm-ticket-detail .orcrm-ticket-heading) .orcrm-ticket-layout{display:block!important}

.orcrm-portal-brandline{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.orcrm-portal-brandline .orcrm-portal-logo{display:block;margin-inline:auto}.orcrm-portal-brandline .orcrm-eyebrow{margin:0;font-size:12px;letter-spacing:0}
.orcrm-settings-tabs button{display:inline-flex;padding:8px 13px;border:1px solid transparent;border-radius:9px;background:#f4f1f8;color:#4e347b;font:inherit;font-weight:700;font-size:13px;cursor:pointer}.orcrm-settings-tabs button.is-active{background:#6f42a6;color:#fff;border-color:#6f42a6}.orcrm-settings-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.orcrm-settings-panel[hidden]{display:none!important}@media(max-width:680px){.orcrm-settings-panel{grid-template-columns:minmax(0,1fr)}}

/* 0.9.28: restrained technology-forward visual system and resilient RTL layouts. */
.orcrm-shell{--orcrm-ink:#101d35;--orcrm-navy:#0b3168;--orcrm-purple:#7c3aed;--orcrm-cyan:#b9e5e8;--orcrm-line:#dce5f0;--orcrm-surface:#fff;--orcrm-muted:#64748b;color:var(--orcrm-ink);font-feature-settings:"ss01" on}
.orcrm-shell .orcrm-card,.orcrm-shell .orcrm-presentation-card,.orcrm-shell .orcrm-ticket-detail{min-width:0;max-width:100%;overflow-wrap:anywhere}
.orcrm-admin-shell{background:linear-gradient(145deg,#f6f8fc 0%,#f2f5fb 60%,#eef4f9 100%);border-radius:22px}
.orcrm-admin-head{padding:clamp(18px,2.5vw,30px);border:1px solid rgba(185,229,232,.6);border-radius:20px;background:radial-gradient(circle at 8% 12%,rgba(185,229,232,.32),transparent 34%),linear-gradient(120deg,#fff 0%,#f8faff 100%);box-shadow:0 12px 32px rgba(11,49,104,.06)}
.orcrm-admin-head h1,.orcrm-admin-shell h1,.orcrm-admin-shell h2{letter-spacing:-.025em}
.orcrm-sidebar{background:linear-gradient(180deg,#0c1b35 0%,#102c52 100%);border:1px solid rgba(185,229,232,.14);box-shadow:0 20px 50px rgba(9,25,53,.13)}
.orcrm-sidebar-brand{border-bottom-color:rgba(226,239,255,.12)}
.orcrm-sidebar-brand strong{color:#fff;letter-spacing:.09em}.orcrm-sidebar-brand small{color:#b8c8dd}
.orcrm-sidebar-mark{background:linear-gradient(145deg,#b9e5e8,#8b24cf);color:#0b1d3b;box-shadow:0 0 0 5px rgba(185,229,232,.09)}
.orcrm-nav-group-title{color:#8fa6c4;letter-spacing:.07em}
.orcrm-sidebar-nav a{color:#d6e1f0;border:1px solid transparent;border-radius:10px;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.orcrm-sidebar-nav a:hover{background:rgba(185,229,232,.09);border-color:rgba(185,229,232,.16);transform:translateX(-2px)}
.orcrm-sidebar-nav a.is-active{background:linear-gradient(100deg,rgba(139,36,207,.24),rgba(185,229,232,.12));border-color:rgba(185,229,232,.3);box-shadow:inset -3px 0 #b9e5e8;color:#fff}
.orcrm-sidebar-nav a small{background:#b9e5e8;color:#0b3168}
.orcrm-shell .orcrm-card{border:1px solid var(--orcrm-line);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(11,49,104,.045);padding:clamp(16px,2vw,24px)}
.orcrm-shell .orcrm-card h2,.orcrm-shell .orcrm-card h3{color:var(--orcrm-navy);line-height:1.6}
.orcrm-shell .orcrm-btn{border-radius:9px;background:linear-gradient(115deg,#0b3168,#184c83);box-shadow:0 5px 12px rgba(11,49,104,.12);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.orcrm-shell .orcrm-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(11,49,104,.16);filter:brightness(1.04)}
.orcrm-shell .orcrm-btn.is-secondary{background:#fff;color:#173b67;border:1px solid #cad8e8;box-shadow:none}
.orcrm-shell .orcrm-btn.is-danger{background:#9f3348;color:#fff}
.orcrm-shell .orcrm-tabs a,.orcrm-shell .orcrm-portal-tabs a{border-radius:9px;white-space:normal;min-width:0}
.orcrm-shell .orcrm-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-radius:12px}
.orcrm-shell .orcrm-table{width:100%;min-width:0;border-collapse:separate;border-spacing:0}
.orcrm-shell .orcrm-table th,.orcrm-shell .orcrm-table td{overflow-wrap:anywhere;word-break:normal}
.orcrm-shell .orcrm-form-grid,.orcrm-shell .orcrm-form,.orcrm-shell .orcrm-button-group,.orcrm-shell .orcrm-form-actions{min-width:0;max-width:100%}
.orcrm-shell input,.orcrm-shell textarea,.orcrm-shell select{max-width:100%;min-width:0;box-sizing:border-box}
.orcrm-portal-head{background:radial-gradient(circle at 85% 10%,rgba(185,229,232,.3),transparent 30%),linear-gradient(125deg,#fff,#f7faff);border:1px solid #dbe6f0;border-radius:22px;box-shadow:0 12px 32px rgba(11,49,104,.055);padding:clamp(14px,2vw,24px)}
.orcrm-portal-brandline{flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;min-width:0}
.orcrm-portal-brandline .orcrm-eyebrow{display:block;margin-top:2px;color:#48617f;font-size:12px;letter-spacing:0}
.orcrm-portal-logo{object-fit:contain;filter:drop-shadow(0 5px 10px rgba(11,49,104,.12))}
.orcrm-portal-welcome h1{color:#0b3168;letter-spacing:-.025em}
.orcrm-profile-avatar{border:1px solid #d2deec!important;box-shadow:0 0 0 4px #edf3fa!important;background:linear-gradient(135deg,#f8fbff,#e6f1f5)!important}
.orcrm-profile-avatar-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:12px}
.orcrm-profile-avatar-options>label{min-width:0;border:1px solid #dce5f0;border-radius:14px;background:linear-gradient(145deg,#fff,#f7faff);padding:12px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.orcrm-profile-avatar-options>label.is-selected{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.1);background:#fff}
.orcrm-profile-avatar-options>label:hover{transform:translateY(-2px);border-color:#b9cde2}
.orcrm-profile-avatar-options img{width:62px;height:62px;object-fit:contain;border-radius:16px}
.orcrm-profile-avatar-options span{font-size:12px;line-height:1.7;color:#173b67;font-weight:750}
.orcrm-questionnaire-detail,.orcrm-questionnaire-list-item{min-width:0;overflow-wrap:anywhere}
.orcrm-questionnaire-detail .orcrm-saved-answer{border:1px solid #dbe5f0;border-radius:12px;padding:12px;background:#f8fbff}
.orcrm-questionnaire-detail .orcrm-saved-answer summary{font-weight:800;color:#0b3168;cursor:pointer}
.orcrm-project-stage-list{max-height:560px;overflow-y:auto;overflow-x:hidden;padding-inline-start:24px;overscroll-behavior:contain;scrollbar-width:thin}
.orcrm-project-stage-list>li{min-width:0;overflow-wrap:anywhere}
.orcrm-project-stage-list>li:first-child{margin-top:4px}
.orcrm-presentation-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start}
.orcrm-presentation-card{background:linear-gradient(155deg,#fff 0%,#f9fbff 100%);border:1px solid #dce5f0;border-radius:18px;box-shadow:0 12px 30px rgba(11,49,104,.06);min-width:0}
.orcrm-presentation-media-grid{grid-template-columns:minmax(0,1fr);min-width:0}
.orcrm-presentation-media[hidden]{display:none!important}
.orcrm-presentation-media img{cursor:zoom-in}
.orcrm-presentation-download-all{margin:8px 0 12px}
.orcrm-document-view{max-width:1040px;margin:clamp(10px,3vw,36px) auto}
.orcrm-standalone-record-page{min-height:100vh;padding:clamp(10px,3vw,36px);background:linear-gradient(145deg,#f4f7fb,#edf3f8)}
.orcrm-standalone-record-page .orcrm-document-view{max-width:1000px;margin:0 auto;box-shadow:0 20px 60px rgba(11,49,104,.09)}
.orcrm-standalone-record-page .orcrm-document-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap;border-bottom:1px solid #e3eaf3;padding-bottom:18px;margin-bottom:20px}
.orcrm-standalone-record-page .orcrm-document-toolbar h1{font-size:clamp(22px,3vw,30px);margin:6px 0;color:#0b3168}
.orcrm-standalone-record-page .orcrm-document-actions{display:flex;flex-wrap:wrap;gap:8px}
.orcrm-answer-detail-list{display:grid;gap:0}
.orcrm-answer-detail-list>div{padding:14px 0;border-bottom:1px solid #e7edf5;min-width:0}
.orcrm-answer-detail-list>div:last-child{border-bottom:0}
.orcrm-answer-detail-list dt{font-size:12px;color:#64748b;font-weight:750;margin-bottom:7px}
.orcrm-answer-detail-list dd{margin:0;color:#152641;line-height:1.95;overflow-wrap:anywhere}
.orcrm-standalone-record-page .orcrm-contract-body{line-height:2;overflow-wrap:anywhere}
@media(max-width:782px){.orcrm-admin-shell{border-radius:14px}.orcrm-sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-shell .orcrm-card{border-radius:14px}.orcrm-portal-head{border-radius:16px}.orcrm-project-stage-list{max-height:420px}}
@media(max-width:480px){.orcrm-sidebar-nav{grid-template-columns:minmax(0,1fr)}.orcrm-profile-avatar-options{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-profile-avatar-options>label{padding:9px}.orcrm-profile-avatar-options img{width:52px;height:52px}.orcrm-standalone-record-page{padding:8px}.orcrm-standalone-record-page .orcrm-document-actions{width:100%}.orcrm-standalone-record-page .orcrm-document-actions .orcrm-btn{flex:1;justify-content:center}}
@media print{.orcrm-standalone-record-page{padding:0!important;background:#fff!important}.orcrm-standalone-record-page .orcrm-card{box-shadow:none!important;border:0!important;padding:0!important}.orcrm-standalone-record-page .orcrm-document-actions{display:none!important}}
.orcrm-profile-field-builder{display:grid;gap:10px;margin-top:10px;min-width:0}.orcrm-profile-field-rows{display:grid;gap:8px}.orcrm-profile-field-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,1.3fr) minmax(120px,.8fr) auto;gap:8px;align-items:center;padding:10px;border:1px solid #dce5f0;border-radius:12px;background:#f9fbff;min-width:0}.orcrm-profile-field-row input,.orcrm-profile-field-row select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.orcrm-profile-field-row .orcrm-btn{white-space:nowrap}@media(max-width:650px){.orcrm-profile-field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.orcrm-profile-field-row select{grid-column:1}.orcrm-profile-field-row .orcrm-btn{grid-column:2;justify-self:end}}

.orcrm-auth-brand{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}.orcrm-auth-brand>span:last-child{justify-items:center}.orcrm-auth-brand .orcrm-auth-logo{margin-inline:auto}.orcrm-auth-brand small{font-size:12px;color:#526985}
.orcrm-admin-shell.orcrm-record-focus{background:#f4f7fb;border-radius:0;min-height:100vh;padding:clamp(10px,3vw,32px)}.orcrm-admin-shell.orcrm-record-focus>.orcrm-admin-head{display:none}.orcrm-admin-shell.orcrm-record-focus .orcrm-app-layout{display:block;max-width:1100px;margin:0 auto}.orcrm-admin-shell.orcrm-record-focus .orcrm-sidebar{display:none!important}.orcrm-admin-shell.orcrm-record-focus .orcrm-app-main{width:100%;max-width:100%;padding:0;margin:0}.orcrm-admin-shell.orcrm-record-focus .orcrm-app-main>.orcrm-card:not(.orcrm-document-view){display:none!important}.orcrm-admin-shell.orcrm-record-focus .orcrm-document-view{max-width:1000px;margin:0 auto 20px}.orcrm-admin-shell.orcrm-record-focus .orcrm-app-main>.orcrm-document-view{display:block!important}


/* 0.9.29 — resilient responsive layouts for long CRM records and document views. */
.orcrm-shell,.orcrm-admin-shell,.orcrm-app-layout,.orcrm-app-main,.orcrm-card,.orcrm-document-view{min-width:0;max-width:100%;}
.orcrm-shell :is(p,span,strong,small,td,th,dd,dt,summary,a,code),.orcrm-admin-shell :is(p,span,strong,small,td,th,dd,dt,summary,a,code){overflow-wrap:anywhere;word-break:normal;}
.orcrm-shell .orcrm-table-wrap,.orcrm-admin-shell .orcrm-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;}
.orcrm-shell .orcrm-table,.orcrm-admin-shell .orcrm-table{max-width:100%;}
.orcrm-shell .orcrm-table td,.orcrm-shell .orcrm-table th,.orcrm-admin-shell .orcrm-table td,.orcrm-admin-shell .orcrm-table th{vertical-align:top;overflow-wrap:anywhere;}
.orcrm-shell .orcrm-document-toolbar,.orcrm-admin-shell .orcrm-document-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;}
.orcrm-shell .orcrm-document-actions,.orcrm-admin-shell .orcrm-document-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0;}
.orcrm-shell .orcrm-btn,.orcrm-admin-shell .orcrm-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.orcrm-shell .orcrm-contract-body,.orcrm-shell .orcrm-invoice-print,.orcrm-admin-shell .orcrm-contract-body{min-width:0;overflow-wrap:anywhere;word-break:normal;}
.orcrm-shell .orcrm-project-stage-list{max-height:460px;overflow-y:auto;overflow-x:hidden;padding-inline-end:8px;overscroll-behavior:contain;}
.orcrm-shell .orcrm-saved-answer{min-width:0;}
.orcrm-shell .orcrm-saved-answer>dl{display:grid;gap:0;min-width:0;}
.orcrm-shell .orcrm-saved-answer>dl>div{min-width:0;display:grid;grid-template-columns:minmax(110px,.38fr) minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #e8edf4;}
.orcrm-shell .orcrm-saved-answer dd{min-width:0;overflow-wrap:anywhere;}
.orcrm-shell .orcrm-profile-avatar-options label{min-width:0;overflow-wrap:anywhere;text-align:center;}
.orcrm-shell .orcrm-profile-avatar-options label span{max-width:100%;line-height:1.6;}
@media(max-width:760px){
 .orcrm-shell .orcrm-table-wrap,.orcrm-admin-shell .orcrm-table-wrap{margin-inline:0;}
 .orcrm-shell .orcrm-document-toolbar,.orcrm-admin-shell .orcrm-document-toolbar{display:flex;flex-direction:column;align-items:stretch;}
 .orcrm-shell .orcrm-document-actions,.orcrm-admin-shell .orcrm-document-actions{width:100%;}
 .orcrm-shell .orcrm-document-actions>*{flex:1 1 auto;}
 .orcrm-shell .orcrm-saved-answer>dl>div{grid-template-columns:minmax(0,1fr);gap:5px;}
 .orcrm-shell .orcrm-project-stage-list{max-height:360px;}
}
@media(max-width:420px){
 .orcrm-shell{padding-inline:10px;}
 .orcrm-shell .orcrm-document-actions .orcrm-btn{width:100%;justify-content:center;}
 .orcrm-shell .orcrm-profile-avatar-options{gap:8px;}
}
@media print{.orcrm-shell .orcrm-project-stage-list{max-height:none!important;overflow:visible!important}}


/* Opti Raya CRM 0.9.30 — targeted portal layout and document usability fixes. */
.orcrm-portal .orcrm-portal-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  grid-template-areas:"brand brand brand brand" "welcome welcome welcome welcome" "refresh logout bell help";
  align-items:center;
  column-gap:10px;
  row-gap:14px;
  min-width:0;
}
.orcrm-portal .orcrm-portal-head>.orcrm-portal-brandline{grid-area:brand;justify-self:start;flex-direction:row;align-items:center;justify-content:flex-start;text-align:right;gap:12px;}
.orcrm-portal .orcrm-portal-head>.orcrm-portal-welcome{grid-area:welcome;display:flex;align-items:center;gap:14px;min-width:0;}
.orcrm-portal .orcrm-portal-head>.orcrm-notification-center{grid-area:bell;justify-self:end;align-self:center;}
.orcrm-portal .orcrm-portal-head>.orcrm-help-center{grid-area:help;justify-self:end;align-self:center;}
.orcrm-portal .orcrm-portal-head>.orcrm-portal-refresh{grid-area:refresh;justify-self:start;align-self:center;}
.orcrm-portal .orcrm-portal-head>form{grid-area:logout;justify-self:start;margin:0;}
.orcrm-portal .orcrm-portal-head>.orcrm-portal-refresh,.orcrm-portal .orcrm-portal-head>form .orcrm-btn{min-width:88px;}
.orcrm-portal .orcrm-portal-head .orcrm-profile-avatar{flex:0 0 58px;width:58px;height:58px;}
.orcrm-portal .orcrm-portal-head .orcrm-welcome-typewriter{min-width:0;overflow-wrap:anywhere;}
.orcrm-portal .orcrm-portal-head .orcrm-welcome-typewriter>[data-orcrm-typewriter]{min-width:0;overflow-wrap:anywhere;}
.orcrm-portal .orcrm-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;}
.orcrm-portal .orcrm-stat{padding:14px;min-height:0;}
.orcrm-portal .orcrm-stat strong{line-height:1.4;font-variant-numeric:tabular-nums;}
.orcrm-project-detail-summary+.orcrm-progress span{background:#16a34a!important;}
.orcrm-presentation-lightbox{box-sizing:border-box;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;}
.orcrm-presentation-lightbox figure img{width:auto;height:auto;max-width:100%;max-height:calc(94vh - 150px);object-fit:contain;}
.orcrm-notice{position:relative;}
.orcrm-notice .orcrm-notice-dismiss{position:absolute;inset-inline-end:6px;top:6px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;}
.orcrm-notice .orcrm-notice-dismiss:hover,.orcrm-notice .orcrm-notice-dismiss:focus-visible{background:rgba(100,116,139,.12);outline-offset:2px;}
.orcrm-notice.has-dismiss{padding-inline-end:42px;}
@media(max-width:760px){
 .orcrm-portal .orcrm-portal-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;grid-template-areas:"brand brand brand brand" "welcome welcome welcome welcome" "refresh logout bell help";column-gap:7px;row-gap:11px;padding:14px;}
 .orcrm-portal .orcrm-portal-head>.orcrm-portal-brandline{grid-column:1/-1;flex-direction:row;justify-self:start;}
 .orcrm-portal .orcrm-portal-head>.orcrm-portal-welcome{align-items:flex-start;gap:10px;}
 .orcrm-portal .orcrm-portal-head .orcrm-profile-avatar{width:46px;height:46px;flex-basis:46px;}
 .orcrm-portal .orcrm-portal-head>.orcrm-portal-refresh{min-width:0;width:100%;padding-inline:9px;}
 .orcrm-portal .orcrm-portal-head>form{width:100%;}
 .orcrm-portal .orcrm-portal-head>form .orcrm-btn{width:100%;min-width:0;padding-inline:9px;}
 .orcrm-portal .orcrm-notification-center>.orcrm-notification-bell,.orcrm-portal .orcrm-help-lamp{width:42px;height:42px;min-width:42px;}
 .orcrm-portal .orcrm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .orcrm-portal .orcrm-stat{padding:11px;border-radius:13px;}
 .orcrm-portal .orcrm-stat strong{font-size:clamp(15px,4vw,20px);}
 .orcrm-presentation-lightbox{width:100vw;max-width:100vw;height:92vh;max-height:92vh;inset:50% auto auto 50%;padding:50px 44px;}
 .orcrm-presentation-lightbox figure img{max-height:calc(92vh - 145px);}
}
@media(max-width:390px){
 .orcrm-portal .orcrm-portal-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;column-gap:5px;padding:11px;}
 .orcrm-portal .orcrm-portal-head>.orcrm-portal-refresh,.orcrm-portal .orcrm-portal-head>form .orcrm-btn{font-size:12px;}
 .orcrm-portal .orcrm-portal-head .orcrm-welcome-typewriter{font-size:13px;}
 .orcrm-portal .orcrm-portal-head .orcrm-profile-avatar{width:42px;height:42px;flex-basis:42px;}
 .orcrm-portal .orcrm-stat span{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.orcrm-portal .orcrm-profile-avatar,.orcrm-portal .orcrm-notification-bell{transition:none!important;}}
@media print{.orcrm-notice .orcrm-notice-dismiss{display:none!important;}}

.orcrm-presentation-video-intro{display:grid;gap:10px;margin:14px 0 18px;padding:14px;border:1px solid #dce7f1;border-radius:14px;background:#f8fbff}
.orcrm-presentation-video-intro h4{margin:0;color:#0b3168;font-size:14px}
.orcrm-presentation-video-intro .orcrm-presentation-media{width:100%;max-width:850px;margin-inline:auto}
.orcrm-presentation-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:10px;border:1px solid #e4eaf2;border-radius:12px;background:#fff}
.orcrm-presentation-gallery-controls .orcrm-btn{min-height:38px;padding:7px 12px;white-space:normal}
.orcrm-presentation-gallery-count{font-size:12px;font-weight:800;color:#0b3168;white-space:nowrap;font-variant-numeric:tabular-nums}
.orcrm-presentation-gallery-controls button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:480px){.orcrm-presentation-gallery-controls{gap:6px;padding:7px}.orcrm-presentation-gallery-controls .orcrm-btn{font-size:12px;padding:6px 8px}.orcrm-presentation-video-intro{padding:10px}}

/* v0.9.31: Zibal-inspired compact cards for customer workspaces. */
.orcrm-portal #orcrm-customer-proposals .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-contracts .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-invoices .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-seo .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-tasks .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-files .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-tickets .orcrm-table-wrap{overflow:visible}
.orcrm-portal #orcrm-customer-proposals .orcrm-table,
.orcrm-portal #orcrm-customer-contracts .orcrm-table,
.orcrm-portal #orcrm-customer-invoices .orcrm-table,
.orcrm-portal #orcrm-customer-seo .orcrm-table,
.orcrm-portal #orcrm-customer-tasks .orcrm-table,
.orcrm-portal #orcrm-customer-files .orcrm-table,
.orcrm-portal #orcrm-customer-tickets .orcrm-table{display:block;width:100%;min-width:0;border:0;border-collapse:separate}
.orcrm-portal #orcrm-customer-proposals .orcrm-table thead,
.orcrm-portal #orcrm-customer-contracts .orcrm-table thead,
.orcrm-portal #orcrm-customer-invoices .orcrm-table thead,
.orcrm-portal #orcrm-customer-seo .orcrm-table thead,
.orcrm-portal #orcrm-customer-tasks .orcrm-table thead,
.orcrm-portal #orcrm-customer-files .orcrm-table thead,
.orcrm-portal #orcrm-customer-tickets .orcrm-table thead{display:none}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:12px}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr{display:flex;flex-direction:column;gap:0;min-width:0;margin:0;padding:13px 15px;background:linear-gradient(145deg,#fff 0%,#fcfbff 100%);border:1px solid #e4e8f0;border-radius:15px;box-shadow:0 3px 12px rgba(11,49,104,.045);transition:border-color .18s ease,box-shadow .18s ease}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr:hover{border-color:#d6c2eb;box-shadow:0 6px 18px rgba(11,49,104,.075)}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td,
.orcrm-portal #orcrm-customer-invoices .orcrm-table td,
.orcrm-portal #orcrm-customer-seo .orcrm-table td,
.orcrm-portal #orcrm-customer-tasks .orcrm-table td,
.orcrm-portal #orcrm-customer-files .orcrm-table td,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 0;border:0;border-bottom:1px solid #edf0f5;text-align:right;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.7}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-seo .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-files .orcrm-table td:last-child,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:last-child{border-bottom:0;padding-bottom:2px}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:first-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(2),
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(2),
.orcrm-portal #orcrm-customer-seo .orcrm-table td:first-child,
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:first-child,
.orcrm-portal #orcrm-customer-files .orcrm-table td:first-child,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(2){font-size:15px;font-weight:800;color:#0b3168;padding-top:0}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:first-child:before{content:'عنوان پیشنهاد'}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:nth-child(2):before{content:'مبلغ'}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:nth-child(3):before{content:'وضعیت'}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:nth-child(4):before{content:'تاریخ'}
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(1):before{content:'شماره قرارداد'}
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(2):before{content:'عنوان قرارداد'}
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(3):before{content:'مبلغ قرارداد'}
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(4):before{content:'وضعیت'}
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(5):before{content:'مشاهده و تایید'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(1):before{content:'شماره فاکتور'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(2):before{content:'عنوان فاکتور'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(3):before{content:'مبلغ کل'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(4):before{content:'پرداخت شده'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(5):before{content:'مانده قابل پرداخت'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(6):before{content:'وضعیت فاکتور'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(7):before{content:'روش پرداخت'}
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(8):before{content:'عملیات'}
.orcrm-portal #orcrm-customer-seo .orcrm-table td:nth-child(1):before{content:'بازه گزارش'}
.orcrm-portal #orcrm-customer-seo .orcrm-table td:nth-child(2):before{content:'رزروهای مشمول'}
.orcrm-portal #orcrm-customer-seo .orcrm-table td:nth-child(3):before{content:'نرخ هر رزرو'}
.orcrm-portal #orcrm-customer-seo .orcrm-table td:nth-child(4):before{content:'هزینه دوره'}
.orcrm-portal #orcrm-customer-seo .orcrm-table td:nth-child(5):before{content:'گزارش و فاکتور'}
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:nth-child(1):before{content:'عنوان وظیفه'}
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:nth-child(2):before{content:'پروژه مرتبط'}
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:nth-child(3):before{content:'توضیحات'}
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:nth-child(4):before{content:'وضعیت اقدام'}
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:nth-child(5):before{content:'سررسید'}
.orcrm-portal #orcrm-customer-files .orcrm-table td:nth-child(1):before{content:'نام فایل'}
.orcrm-portal #orcrm-customer-files .orcrm-table td:nth-child(2):before{content:'حجم فایل'}
.orcrm-portal #orcrm-customer-files .orcrm-table td:nth-child(3):before{content:'تاریخ بارگذاری'}
.orcrm-portal #orcrm-customer-files .orcrm-table td:nth-child(4):before{content:'دریافت فایل'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(1):before{content:'شماره تیکت'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(2):before{content:'موضوع تیکت'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(3):before{content:'وضعیت'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(4):before{content:'اولویت'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(5):before{content:'آخرین تغییر'}
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(6):before{content:'پیگیری'}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:before,
.orcrm-portal #orcrm-customer-seo .orcrm-table td:before,
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:before,
.orcrm-portal #orcrm-customer-files .orcrm-table td:before,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:before{display:block;color:#7b8494;font-size:11px;font-weight:650;line-height:1.5}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td:first-child:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td:nth-child(2):before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table td:nth-child(2):before,
.orcrm-portal #orcrm-customer-seo .orcrm-table td:first-child:before,
.orcrm-portal #orcrm-customer-tasks .orcrm-table td:first-child:before,
.orcrm-portal #orcrm-customer-files .orcrm-table td:first-child:before,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td:nth-child(2):before{font-size:10px;color:#8b24cf}
.orcrm-portal #orcrm-customer-proposals .orcrm-table td a.orcrm-btn,
.orcrm-portal #orcrm-customer-contracts .orcrm-table td a.orcrm-btn,
.orcrm-portal #orcrm-customer-invoices .orcrm-table td a.orcrm-btn,
.orcrm-portal #orcrm-customer-seo .orcrm-table td a.orcrm-btn,
.orcrm-portal #orcrm-customer-files .orcrm-table td a.orcrm-btn,
.orcrm-portal #orcrm-customer-tickets .orcrm-table td a.orcrm-btn{margin-top:5px;max-width:100%;white-space:normal}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr td[colspan],
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr td[colspan]{border:0;text-align:center;align-items:center}
@media(max-width:600px){.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody,.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,.orcrm-portal #orcrm-customer-files .orcrm-table tbody,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{grid-template-columns:minmax(0,1fr);gap:9px}.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr{padding:12px 13px;border-radius:13px}}

/* 0.9.32 — customer record cards: compact, editorial and inspired by Zibal's clean hierarchy. */
.orcrm-portal #orcrm-customer-proposals .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-contracts .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-invoices .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-seo .orcrm-table-wrap{overflow:visible;border:0;background:transparent}
.orcrm-portal #orcrm-customer-proposals .orcrm-table,
.orcrm-portal #orcrm-customer-contracts .orcrm-table,
.orcrm-portal #orcrm-customer-invoices .orcrm-table,
.orcrm-portal #orcrm-customer-seo .orcrm-table{width:100%;min-width:0;border:0;border-collapse:separate;border-spacing:0}
.orcrm-portal #orcrm-customer-proposals .orcrm-table thead,
.orcrm-portal #orcrm-customer-contracts .orcrm-table thead,
.orcrm-portal #orcrm-customer-invoices .orcrm-table thead,
.orcrm-portal #orcrm-customer-seo .orcrm-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr{position:relative;display:flex;flex-direction:column;min-width:0;padding:18px 19px 15px;border:1px solid #e2e8f1;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(11,49,104,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;cursor:pointer}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr:hover{border-color:#c7a1e7;box-shadow:0 9px 24px rgba(11,49,104,.075);transform:translateY(-2px)}
.orcrm-portal .orcrm-table tbody tr.orcrm-portal-record-row:focus-visible{outline:3px solid rgba(139,36,207,.25);outline-offset:3px}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td{display:grid;grid-template-columns:minmax(82px,.6fr) minmax(0,1fr);align-items:start;gap:10px;padding:9px 0;border:0;border-bottom:1px solid #eef1f6;min-width:0;text-align:right;overflow-wrap:anywhere;font-size:13px;color:#334155}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#778397}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:nth-child(2),
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:nth-child(2),
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:first-child{display:block;padding:0 0 12px;margin-bottom:2px;border-bottom:1px solid #e7ebf3;font-size:16px;font-weight:800;color:#0b3168;line-height:1.65}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:nth-child(2):before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:nth-child(2):before,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:first-child:before{display:none}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:last-child{border-bottom:0;padding-bottom:0}
.orcrm-portal .orcrm-portal-record-row .orcrm-btn{position:relative;z-index:2;white-space:normal;min-height:36px}
.orcrm-portal .orcrm-portal-record-row .orcrm-decision-actions{cursor:default}
.orcrm-portal .orcrm-portal-record-row .orcrm-proposal-payment-schedule,
.orcrm-portal .orcrm-portal-record-row .orcrm-invoice-details{cursor:default}
.orcrm-proposal-detail-page .orcrm-portal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin-bottom:18px;border:1px solid #e2e8f1;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#f8faff 100%)}
.orcrm-proposal-detail-page .orcrm-document-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.orcrm-proposal-detail-page .orcrm-document-meta>div{min-width:0;padding:14px;border:1px solid #e6ebf3;border-radius:12px;background:#fbfcfe}
.orcrm-proposal-detail-page .orcrm-document-meta span{display:block;color:#758196;font-size:12px;margin-bottom:5px}
.orcrm-proposal-detail-page .orcrm-document-meta strong{display:block;color:#0b3168;font-size:15px;overflow-wrap:anywhere}
.orcrm-proposal-detail-page .orcrm-proposal-discount-note{padding:12px 14px;border-radius:10px;background:#faf5ff;color:#6b21a8}
.orcrm-proposal-detail-page .orcrm-contract-full-text{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5}
.orcrm-proposal-detail-page .orcrm-contract-body{line-height:2;overflow-wrap:anywhere}
.orcrm-proposal-detail-page .orcrm-decision-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.orcrm-proposal-detail-page .orcrm-decision-actions form{padding:15px;border:1px solid #e7ebf2;border-radius:12px;background:#fbfcfe}
.orcrm-record-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.orcrm-record-mini-card{display:grid;gap:6px;padding:14px;border:1px solid #e6ebf3;border-radius:12px;background:#fff}
.orcrm-record-mini-card span,.orcrm-record-mini-card small{font-size:12px;color:#758196}
.orcrm-record-mini-card strong{color:#0b3168}
.orcrm-record-mini-card b{color:#8b24cf;font-size:18px}
@media(max-width:760px){.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody{grid-template-columns:minmax(0,1fr);gap:11px}.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr{padding:15px;border-radius:14px}.orcrm-proposal-detail-page .orcrm-portal-head{align-items:flex-start;flex-direction:column;padding:17px}.orcrm-proposal-detail-page .orcrm-document-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.orcrm-proposal-detail-page .orcrm-decision-actions,.orcrm-record-card-grid{grid-template-columns:1fr}}
/* Keep every customer list visually consistent, including support, files and requested tasks. */
.orcrm-portal #orcrm-customer-tasks .orcrm-table-wrap,.orcrm-portal #orcrm-customer-files .orcrm-table-wrap,.orcrm-portal #orcrm-customer-tickets .orcrm-table-wrap{overflow:visible;border:0;background:transparent}
.orcrm-portal #orcrm-customer-tasks .orcrm-table,.orcrm-portal #orcrm-customer-files .orcrm-table,.orcrm-portal #orcrm-customer-tickets .orcrm-table{width:100%;min-width:0;border:0;border-collapse:separate;border-spacing:0}
.orcrm-portal #orcrm-customer-tasks .orcrm-table thead,.orcrm-portal #orcrm-customer-files .orcrm-table thead,.orcrm-portal #orcrm-customer-tickets .orcrm-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,.orcrm-portal #orcrm-customer-files .orcrm-table tbody,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr{display:flex;flex-direction:column;min-width:0;padding:16px 18px;border:1px solid #e2e8f1;border-radius:15px;background:#fff;box-shadow:0 3px 12px rgba(11,49,104,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr:hover,.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr:hover,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr:hover{border-color:#c7a1e7;box-shadow:0 8px 22px rgba(11,49,104,.065)}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td,.orcrm-portal #orcrm-customer-files .orcrm-table tbody td,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td{display:grid;grid-template-columns:minmax(80px,.55fr) minmax(0,1fr);gap:10px;padding:8px 0;border:0;border-bottom:1px solid #eef1f6;overflow-wrap:anywhere;text-align:right;font-size:13px}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:before,.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:before,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:before{content:attr(data-label);font-size:11px;color:#778397;font-weight:700}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:first-child,.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:first-child,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:nth-child(2){display:block;padding:0 0 11px;margin-bottom:2px;border-bottom:1px solid #e7ebf3;font-size:15px;font-weight:800;color:#0b3168}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:first-child:before,.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:first-child:before,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:nth-child(2):before{display:none}
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:last-child,.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:last-child,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:last-child{border-bottom:0}
@media(max-width:760px){.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,.orcrm-portal #orcrm-customer-files .orcrm-table tbody,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{grid-template-columns:minmax(0,1fr)}}


/* Opti Raya 0.9.34 — premium customer record cards and profile avatar system */
.orcrm-portal #orcrm-customer-proposals .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-contracts .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-invoices .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-seo .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-tasks .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-files .orcrm-table-wrap,
.orcrm-portal #orcrm-customer-tickets .orcrm-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;padding:0!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table,
.orcrm-portal #orcrm-customer-contracts .orcrm-table,
.orcrm-portal #orcrm-customer-invoices .orcrm-table,
.orcrm-portal #orcrm-customer-seo .orcrm-table,
.orcrm-portal #orcrm-customer-tasks .orcrm-table,
.orcrm-portal #orcrm-customer-files .orcrm-table,
.orcrm-portal #orcrm-customer-tickets .orcrm-table{width:100%!important;min-width:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:transparent!important;table-layout:fixed}
.orcrm-portal #orcrm-customer-proposals .orcrm-table thead,
.orcrm-portal #orcrm-customer-contracts .orcrm-table thead,
.orcrm-portal #orcrm-customer-invoices .orcrm-table thead,
.orcrm-portal #orcrm-customer-seo .orcrm-table thead,
.orcrm-portal #orcrm-customer-tasks .orcrm-table thead,
.orcrm-portal #orcrm-customer-files .orcrm-table thead,
.orcrm-portal #orcrm-customer-tickets .orcrm-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr{position:relative;display:flex!important;flex-direction:column!important;align-items:stretch;min-width:0!important;margin:0!important;padding:18px 20px 16px!important;border:1px solid #e4e8f1!important;border-radius:18px!important;background:linear-gradient(180deg,#fff 0%,#fff 72%,#fcfbff 100%)!important;box-shadow:0 4px 16px rgba(11,49,104,.045)!important;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;cursor:pointer}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr:before,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#8b24cf 0%,#b9e5e8 100%)}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr:hover,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr:hover{border-color:#c9a8e6!important;box-shadow:0 12px 28px rgba(11,49,104,.085)!important;transform:translateY(-2px)}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td{display:grid!important;grid-template-columns:minmax(90px,.72fr) minmax(0,1.28fr)!important;align-items:start;gap:10px!important;width:100%!important;min-width:0!important;padding:10px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #f0f2f7!important;background:transparent!important;color:#263449!important;text-align:start!important;font-size:13px!important;line-height:1.8!important;overflow-wrap:anywhere}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:before,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:before{content:attr(data-label);display:block!important;color:#778397!important;font-size:11px!important;font-weight:750!important;line-height:1.8!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:nth-child(2),
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:nth-child(2),
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:nth-child(2){display:block!important;padding:0 0 13px!important;margin:0 0 4px!important;border-bottom:1px solid #e9edf4!important;color:#0b3168!important;font-size:16px!important;font-weight:850!important;line-height:1.8!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:nth-child(2):before,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:nth-child(2):before,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:nth-child(2):before{display:none!important}
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:first-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:first-child{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:0 0 10px!important;color:#69768a!important;font-size:12px!important;border-bottom:0!important}
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:first-child:before,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:first-child:before{content:attr(data-label);font-size:11px!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td:last-child,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td:last-child{border-bottom:0!important;padding-bottom:0!important}
.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-seo .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-files .orcrm-table tbody td .orcrm-btn,
.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody td .orcrm-btn{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:38px;padding:8px 13px;border-radius:10px;white-space:normal}
.orcrm-portal #orcrm-customer-proposals .orcrm-decision-actions{position:relative;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.orcrm-portal #orcrm-customer-proposals .orcrm-decision-actions form{min-width:0;padding:10px;border:1px solid #edf0f6;border-radius:12px;background:#fbfcff}
.orcrm-portal #orcrm-customer-proposals .orcrm-decision-actions button{width:100%}
.orcrm-portal .orcrm-profile-avatar{width:64px!important;height:64px!important;flex:0 0 64px!important;padding:3px!important;border:1px solid #e3d5f1!important;border-radius:18px!important;background:linear-gradient(135deg,#fff,#f8f2fd)!important;box-shadow:0 5px 16px rgba(11,49,104,.10)!important;cursor:zoom-in!important;transition:transform .18s ease,box-shadow .18s ease!important}
.orcrm-portal .orcrm-profile-avatar:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(11,49,104,.15)!important}
.orcrm-portal .orcrm-profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:14px!important}
.orcrm-avatar-dialog{width:min(460px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important;margin:auto!important;padding:20px!important;border:1px solid #e3d5f1!important;border-radius:24px!important;background:linear-gradient(145deg,#fff,#fbf8ff)!important;box-shadow:0 28px 90px rgba(8,25,55,.35)!important;overflow:visible!important}
.orcrm-avatar-dialog::backdrop{background:rgba(8,20,45,.72)!important;backdrop-filter:blur(7px)}
.orcrm-avatar-dialog>img{width:100%!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 100px)!important;object-fit:contain!important;border-radius:18px!important;background:#fff}
.orcrm-avatar-dialog-close{z-index:2;box-shadow:0 3px 12px rgba(11,49,104,.12)}
.orcrm-profile-avatar-options label{border-radius:16px!important;background:linear-gradient(180deg,#fff,#fcfbff)!important;border-color:#e6eaf2!important}
.orcrm-profile-avatar-options label.is-selected{border-color:#8b24cf!important;background:#faf5ff!important;box-shadow:0 0 0 2px rgba(139,36,207,.10)!important}
.orcrm-profile-avatar-options img{width:72px!important;height:72px!important;object-fit:cover!important;border-radius:18px!important;background:#f7f3fc}
@media(max-width:760px){.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody,.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody,.orcrm-portal #orcrm-customer-files .orcrm-table tbody,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}.orcrm-portal #orcrm-customer-proposals .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-contracts .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-invoices .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-seo .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-tasks .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-files .orcrm-table tbody tr,.orcrm-portal #orcrm-customer-tickets .orcrm-table tbody tr{padding:17px 16px 15px!important;border-radius:16px!important}.orcrm-portal #orcrm-customer-proposals .orcrm-decision-actions{grid-template-columns:1fr}.orcrm-avatar-dialog{padding:14px!important}}

/* 0.9.34 interface components */
:root{--orcrm-accent:hsl(250 65% 55%);--orcrm-neutral-50:hsl(220 20% 98%);--orcrm-neutral-200:hsl(220 15% 88%);--orcrm-neutral-800:hsl(225 25% 20%)}
.orcrm-admin-nav,.orcrm-sidebar{background:var(--orcrm-neutral-50)!important;color:var(--orcrm-neutral-800)!important;border-color:var(--orcrm-neutral-200)!important}
.orcrm-admin-nav a:hover,.orcrm-admin-nav a:active,.orcrm-shell button:hover,.orcrm-shell button:active{background:var(--orcrm-accent);color:#fff}
.orcrm-stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:0 0 20px}.orcrm-stats-bar>*{padding:16px;border:1px solid var(--orcrm-neutral-200);border-radius:14px;background:#fff}
.orcrm-avatar-picker{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.orcrm-avatar-picker img{width:68px;height:68px;object-fit:cover;border-radius:50%;cursor:pointer}.orcrm-avatar-picker [aria-pressed=true]{outline:3px solid var(--orcrm-accent)}
.orcrm-reviews-carousel{position:relative;overflow:hidden;direction:rtl}.orcrm-reviews-carousel [data-review-track]{display:flex;transition:transform .35s ease}.orcrm-reviews-carousel [data-review-slide]{flex:0 0 100%;padding:18px}.orcrm-project-tabs{display:flex;gap:8px;flex-wrap:wrap}.orcrm-financial-report{display:grid;gap:12px}.orcrm-multiselect{display:grid;gap:8px}.orcrm-multiselect [data-options]{max-height:220px;overflow:auto}.orcrm-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.orcrm-table-wrap{max-width:100%;overflow-x:auto}html,body{overflow-x:hidden}
@media(max-width:800px){.orcrm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.orcrm-form-grid{grid-template-columns:1fr}}
