@font-face{font-family:IRANSansX;src:url('../fonts/IRANSansXV.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--blue:#0a66dc;--blue2:#064cae;--orange:#ff7a18;--ink:#10223f;--muted:#73839a;--line:#e2eaf4;--soft:#f5f8fc;--bg:#f2f6fb;--green:#0b9c68;--red:#d54850;--amber:#d98b15;--shadow:0 18px 50px rgba(17,47,88,.10)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:IRANSansX,Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.75}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}.portal-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.portal-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#071a35,#0b315f 62%,#0a2344);padding:24px 18px;color:#cad7e8;display:flex;flex-direction:column;gap:20px;z-index:40}.portal-brand,.portal-login-brand{display:flex;align-items:center;gap:11px;direction:ltr;width:max-content}.portal-brand{padding:2px 8px 20px;border-bottom:1px solid rgba(255,255,255,.08);width:100%}.portal-brand img,.portal-login-brand img{width:43px;height:43px;border-radius:13px}.portal-brand span{display:grid;grid-template-columns:auto auto;column-gap:2px}.portal-brand b,.portal-login-brand b{color:#6ba8ff;font-size:20px}.portal-brand em,.portal-login-brand em{color:#ff9b51;font-style:normal;font-size:20px;font-weight:850}.portal-brand small{grid-column:1/-1;color:#8ea6c5;font-size:9px;direction:rtl;text-align:left}.portal-sidebar nav{display:flex;flex-direction:column;gap:6px}.portal-sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;font-size:12px;font-weight:700;transition:.18s}.portal-sidebar nav a span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.06)}.portal-sidebar nav a:hover,.portal-sidebar nav a.active{background:rgba(54,139,250,.18);color:#fff}.portal-sidebar nav a.active span{background:#1870df}.portal-help-card{margin-top:auto;border:1px solid rgba(255,255,255,.10);background:linear-gradient(145deg,rgba(21,112,229,.18),rgba(255,122,24,.10));border-radius:16px;padding:15px}.portal-help-card strong{display:block;color:#fff;font-size:12px}.portal-help-card p{margin:7px 0 0;color:#aabbd1;font-size:10px;line-height:1.9}.portal-sidebar-footer{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:10px}.portal-sidebar-footer button{border:0;background:transparent;color:#ffb3b7;cursor:pointer}.portal-main{min-width:0}.portal-topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.portal-topbar-title{display:flex;align-items:center;gap:12px}.portal-topbar small{color:#8a98ab;font-size:9px}.portal-topbar h1{margin:0;font-size:20px}.portal-menu-toggle{display:none;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer}.portal-user-pill{background:#f6f9fd;border:1px solid #e5ebf3;border-radius:12px;padding:7px 12px;text-align:left}.portal-user-pill span{display:block;font-size:10px;color:#748398}.portal-user-pill b{display:block;font-size:11px;direction:ltr}.portal-content{padding:28px 32px 56px}.portal-flash{padding:12px 14px;border-radius:12px;margin-bottom:16px;font-size:11px;border:1px solid transparent}.portal-flash.success{background:#ebf9f3;color:#08734c;border-color:#ccebdd}.portal-flash.error{background:#fff1f1;color:#9e343a;border-color:#f1d0d2}.portal-flash ul{margin:4px 0 0}.portal-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.portal-stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px;box-shadow:0 8px 24px rgba(20,50,90,.04)}.portal-stat-card span,.portal-stat-card small{display:block;color:var(--muted);font-size:10px}.portal-stat-card strong{display:block;font-size:29px;color:#0a61cb;margin:7px 0}.portal-stat-card.accent{background:linear-gradient(145deg,#fff,#fff9f3);border-color:#ffe2c8}.portal-stat-card.accent strong{color:#ed7417}.portal-grid{display:grid;gap:19px}.portal-grid.two{grid-template-columns:minmax(0,1.4fr) minmax(320px,.7fr)}.portal-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(20,50,90,.05)}.portal-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px 16px}.portal-card-head small{color:#8996a7;font-size:9px}.portal-card-head h2{margin:2px 0 0;font-size:17px}.portal-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:9px 14px;font-size:10px;font-weight:800;cursor:pointer;transition:.18s}.portal-btn.primary{background:linear-gradient(135deg,var(--blue),#0753b8);color:#fff;box-shadow:0 8px 20px rgba(10,102,220,.16)}.portal-btn.soft{background:#edf5ff;color:#0a63cf;border:1px solid #dbe9fa}.portal-btn.ghost{background:#fff;color:#52677f;border:1px solid #dbe4ef}.portal-btn.wide{width:100%;margin-top:8px}.portal-ticket-list{padding:0 22px 10px}.portal-ticket-list>a{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;padding:13px 0;border-top:1px solid #edf1f6}.portal-ticket-list>a:first-child{border-top:0}.portal-ticket-icon{width:34px;height:34px;border-radius:10px;background:#edf5ff;color:#0a66dc;display:grid;place-items:center;font-weight:900}.portal-ticket-main strong{display:block;font-size:11px}.portal-ticket-main small{display:block;color:#8c98a8;font-size:9px;margin-top:2px}.portal-card-foot{border-top:1px solid #edf1f6;padding:12px 22px;text-align:left;font-size:10px;color:#0a64d2}.portal-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:800;white-space:nowrap;background:#edf2f7;color:#64748b}.portal-status.open,.portal-status.waiting_support{background:#fff6e7;color:#a76308}.portal-status.waiting_user{background:#ebf5ff;color:#0a64cf}.portal-status.resolved{background:#eaf9f2;color:#08704c}.portal-status.closed{background:#eef1f5;color:#687687}.portal-status.large{padding:7px 13px;font-size:10px}.portal-profile-card{padding-bottom:20px}.portal-profile-card form{padding:0 22px}.portal-field{margin-bottom:14px}.portal-field label{display:block;font-size:10px;font-weight:750;margin-bottom:5px}.portal-field label small{font-weight:500;color:#8b98a8}.portal-field input,.portal-field textarea,.portal-field select,.portal-form-card select,.portal-form-card input,.portal-form-card textarea{width:100%;border:1px solid #dbe5f0;background:#fff;border-radius:11px;padding:11px 12px;outline:none;color:var(--ink)}.portal-field textarea,.portal-form-card textarea{resize:vertical;min-height:110px}.portal-field input:focus,.portal-field textarea:focus,.portal-field select:focus,.portal-form-card input:focus,.portal-form-card textarea:focus,.portal-form-card select:focus{border-color:#72a9ef;box-shadow:0 0 0 3px #edf5ff}.portal-verified{font-size:9px;color:#08724d;background:#eaf9f2;padding:5px 8px;border-radius:999px}.portal-security-note{margin:15px 22px 0;background:#f6f9fd;border-radius:12px;padding:11px}.portal-security-note b,.portal-security-note span{display:block}.portal-security-note b{font-size:10px}.portal-security-note span{font-size:9px;color:#7b899c}.portal-empty{text-align:center;color:#7c899b;padding:28px 14px}.portal-empty b{font-size:12px}.portal-empty p{font-size:10px}.portal-empty .portal-btn{margin-top:6px}.portal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.portal-filter-pills{display:flex;flex-wrap:wrap;gap:6px}.portal-filter-pills a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 10px;font-size:9px;color:#607086}.portal-filter-pills a.active{background:#0a66dc;color:#fff;border-color:#0a66dc}.portal-table-card{overflow:hidden}.portal-responsive-table{overflow:auto}.portal-responsive-table table{width:100%;border-collapse:collapse;min-width:760px}.portal-responsive-table th{background:#f8fafd;color:#78879a;font-size:9px;text-align:right;padding:12px 14px;border-bottom:1px solid var(--line)}.portal-responsive-table td{padding:13px 14px;font-size:10px;border-bottom:1px solid #edf1f6}.portal-click-row{cursor:pointer}.portal-click-row:hover{background:#fbfdff}.portal-priority{border-radius:999px;padding:3px 8px;font-size:8px;font-weight:800;background:#f1f4f8;color:#66788d}.portal-priority.high,.portal-priority.urgent{background:#fff0f0;color:#b53b41}.portal-priority.low{background:#eef8f4;color:#0b7c57}.portal-priority.normal{background:#eef5ff;color:#1762bd}.portal-pagination{margin-top:14px}.portal-pagination nav>div:first-child{display:none}.portal-pagination nav>div:last-child{display:flex;justify-content:space-between;align-items:center}.portal-pagination svg{width:16px}.portal-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:19px}.portal-form-card{padding:0 22px 22px}.portal-form-card .portal-card-head{padding-left:0;padding-right:0}.portal-form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.portal-upload-box{border:1px dashed #cfd9e6;background:#f9fbfd;border-radius:13px;padding:14px;margin-top:5px}.portal-upload-box label{display:block;font-size:10px;font-weight:800}.portal-upload-box label small{color:#8996a7;font-weight:500}.portal-upload-box input{margin-top:8px;padding:0;border:0}.portal-upload-box p{font-size:9px;color:#8794a6;margin:7px 0 0}.portal-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.portal-guide-card{padding:22px;height:max-content;position:sticky;top:105px}.portal-guide-icon{font-size:31px}.portal-guide-card h3{margin:8px 0}.portal-guide-card ul{padding-right:18px;color:#64758b;font-size:10px;line-height:2.1}.portal-guide-note{background:#f5f8fc;border-radius:11px;padding:10px;font-size:9px;color:#6f7e91}.portal-ticket-header{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.portal-ticket-code{display:inline-flex;background:#edf5ff;color:#0a63ce;border-radius:8px;padding:4px 8px;font-size:9px;font-weight:800}.portal-ticket-header h2{margin:7px 0 5px;font-size:18px}.portal-ticket-meta{display:flex;flex-wrap:wrap;gap:8px}.portal-ticket-meta span{font-size:9px;color:#76869a}.portal-conversation{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}.portal-message{display:flex;gap:11px;max-width:880px}.portal-message.user{margin-right:auto;flex-direction:row-reverse}.portal-message-avatar{width:38px;height:38px;border-radius:12px;background:#eaf2fc;color:#0a63cf;display:grid;place-items:center;font-size:9px;font-weight:900;flex:0 0 auto}.portal-message.admin .portal-message-avatar{background:#0b63ce;color:#fff}.portal-message-bubble{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;box-shadow:0 7px 22px rgba(20,50,90,.04);min-width:240px}.portal-message.user .portal-message-bubble{background:#edf6ff;border-color:#d6e9fb}.portal-message-bubble header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px}.portal-message-bubble header strong{font-size:10px}.portal-message-bubble header time{font-size:8px;color:#8a98aa}.portal-message-text{font-size:11px;white-space:normal;word-break:break-word}.portal-attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.portal-attachments a{display:flex;align-items:center;gap:7px;border:1px solid #dfe7f0;background:#fff;border-radius:10px;padding:7px 9px}.portal-attachments b,.portal-attachments small{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-attachments b{font-size:8px}.portal-attachments small{font-size:7px;color:#8b97a8}.portal-reply-card{padding:0 21px 20px}.portal-reply-card .portal-card-head{padding-left:0;padding-right:0}.portal-reply-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.portal-file-button{position:relative;overflow:hidden;border:1px solid #dbe4ef;border-radius:10px;padding:8px 11px;font-size:9px;cursor:pointer;background:#fff}.portal-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.portal-closed-note{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;text-align:center;font-size:10px;color:#708095}.portal-closed-note a{color:#0a63cf;font-weight:800}.portal-login-body{min-height:100vh;background:#f5f8fc}.portal-login-grid{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.portal-login-showcase{background:radial-gradient(circle at 12% 15%,rgba(66,154,255,.29),transparent 32%),radial-gradient(circle at 92% 80%,rgba(255,122,24,.18),transparent 30%),linear-gradient(145deg,#06162d,#0b3e83);color:#fff;padding:52px 64px;display:flex;flex-direction:column;justify-content:space-between}.portal-login-showcase h1{font-size:36px;line-height:1.55;max-width:650px;margin:12px 0}.portal-login-showcase p{max-width:620px;color:#b9cbe4;font-size:13px}.portal-login-kicker{display:inline-flex;background:rgba(255,255,255,.09);padding:5px 10px;border-radius:999px;font-size:9px}.portal-login-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.portal-login-features span{border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);border-radius:10px;padding:7px 11px;font-size:9px}.portal-login-showcase>small{color:#91a9c6;font-size:9px}.portal-login-panel-wrap{display:grid;place-items:center;padding:30px}.portal-login-panel{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:34px}.portal-login-icon{width:61px;height:61px;background:#edf5ff;border-radius:18px;display:grid;place-items:center;margin-bottom:18px}.portal-login-icon img{width:42px;border-radius:12px}.portal-step-chip{display:inline-flex;background:#edf5ff;color:#0a63ce;border-radius:999px;padding:4px 9px;font-size:8px;font-weight:800}.portal-login-panel h2{font-size:23px;margin:10px 0 6px}.portal-login-panel>p{font-size:11px;color:var(--muted)}.portal-login-form{margin-top:21px}.portal-login-form label{font-size:10px;font-weight:750}.portal-login-form input{width:100%;border:1px solid #dbe5f0;border-radius:12px;padding:12px 13px;margin-top:6px;outline:none}.portal-login-form input:focus{border-color:#72a8ee;box-shadow:0 0 0 3px #edf5ff}.portal-otp-input{text-align:center;letter-spacing:8px;font-size:22px;font-weight:850;direction:ltr}.portal-login-secondary{display:flex;justify-content:space-between;margin-top:14px}.portal-login-secondary button{border:0;background:transparent;color:#0a63ce;font-size:9px;cursor:pointer}.portal-login-note{margin-top:17px;background:#f6f9fd;border-radius:12px;padding:11px;color:#79889b;font-size:8px}.portal-login-note a{color:#0a63ce;font-weight:800}
@media(max-width:1100px){.portal-stats-grid{grid-template-columns:repeat(2,1fr)}.portal-grid.two,.portal-form-layout{grid-template-columns:1fr}.portal-guide-card{position:static}.portal-login-grid{grid-template-columns:1fr}.portal-login-showcase{display:none}}
@media(max-width:820px){.portal-shell{grid-template-columns:1fr}.portal-sidebar{position:fixed;right:0;top:0;width:260px;transform:translateX(110%);transition:.22s;box-shadow:-20px 0 50px rgba(0,0,0,.18)}body.portal-menu-open .portal-sidebar{transform:translateX(0)}.portal-menu-toggle{display:grid;place-items:center}.portal-topbar{padding:0 17px}.portal-content{padding:20px 13px 45px}.portal-user-pill{display:none}.portal-message{max-width:96%}.portal-toolbar{align-items:stretch;flex-direction:column}.portal-filter-pills{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.portal-form-row{grid-template-columns:1fr}}
@media(max-width:560px){.portal-stats-grid{grid-template-columns:1fr 1fr;gap:9px}.portal-stat-card{padding:14px}.portal-stat-card strong{font-size:23px}.portal-grid.two{grid-template-columns:1fr}.portal-login-panel{padding:23px}.portal-login-panel-wrap{padding:14px}.portal-ticket-header{align-items:flex-start;flex-direction:column}.portal-message-bubble{min-width:0}.portal-reply-bottom{align-items:stretch;flex-direction:column}.portal-file-button{text-align:center}.portal-btn{min-height:38px}}

/* TargetVisit Site v0.3.2 - authoritative readonly identity */
.portal-profile-readonly{padding:0 22px}.portal-profile-readonly .portal-field input[readonly]{background:#f7f9fc;color:#344863;cursor:default;border-color:#e1e8f1;box-shadow:none}.portal-profile-readonly .portal-field input[readonly]:focus{border-color:#e1e8f1;box-shadow:none}.portal-profile-source{margin-top:4px;border:1px solid #dbe8f7;background:linear-gradient(135deg,#f5f9ff,#f9fbfd);border-radius:12px;padding:11px 12px}.portal-profile-source b,.portal-profile-source span{display:block}.portal-profile-source b{font-size:10px;color:#0a63cf}.portal-profile-source span{margin-top:3px;font-size:9px;color:#748398;line-height:1.9}
