@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanXFaNum-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:IRANYekanX;src:url("fonts/IRANYekanXFaNum-Bold.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}
:root{--kdp-bg:#f4f5f7;--kdp-card:#fff;--kdp-text:#12213b;--kdp-muted:#76839b;--kdp-line:#e1e6ed;--kdp-primary:#293b96;--kdp-primary2:#375ab2;--kdp-navy:#102239;--kdp-success:#11975a;--kdp-danger:#b5141c;--kdp-warning:#e9a72c;--kdp-radius:20px;--kdp-shadow:0 18px 50px rgba(29,51,84,.10);font-family:IRANYekanX,Tahoma,"Segoe UI",Arial,sans-serif;color:var(--kdp-text)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--kdp-bg);color:var(--kdp-text)}body{direction:rtl}.kdp-app{min-height:100vh}.kdp-app button,.kdp-app input,.kdp-app textarea,.kdp-app select{font:inherit}.kdp-app button{cursor:pointer}.kdp-boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--kdp-muted)}.kdp-boot strong{font-size:24px;color:var(--kdp-text)}.kdp-logo-mark{width:62px;height:62px;position:relative;animation:kdpPulse 1.6s ease-in-out infinite}.kdp-logo-mark span{position:absolute;width:26px;height:26px;border-radius:9px;background:linear-gradient(145deg,var(--kdp-primary2),var(--kdp-primary));transform:rotate(45deg)}.kdp-logo-mark span:nth-child(1){top:0;left:18px}.kdp-logo-mark span:nth-child(2){top:18px;right:0}.kdp-logo-mark span:nth-child(3){bottom:0;left:18px}.kdp-logo-mark span:nth-child(4){top:18px;left:0}@keyframes kdpPulse{50%{transform:scale(.92);opacity:.75}}
.kdp-login{min-height:100vh;display:grid;grid-template-columns:minmax(340px,560px) 1fr;background:#e9f0f9}.kdp-login-visual{position:relative;overflow:hidden;min-height:100vh;background:linear-gradient(160deg,rgba(12,33,59,.1),rgba(10,27,48,.72)),radial-gradient(circle at 28% 24%,#cbdff5 0 14%,transparent 35%),linear-gradient(145deg,#9cb9d9 0%,#d6e2ef 52%,#7796bb 100%)}.kdp-login-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 45%,rgba(255,255,255,.16) 45% 48%,transparent 48%),repeating-linear-gradient(0deg,transparent 0 38px,rgba(255,255,255,.07) 39px 40px)}.kdp-skyline{position:absolute;inset:auto 0 0;height:46%;background:linear-gradient(to top,#344f69 0 9%,transparent 9%),linear-gradient(115deg,transparent 0 9%,#42617b 9% 17%,transparent 17% 24%,#54748d 24% 37%,transparent 37% 43%,#3f5f7b 43% 54%,transparent 54% 62%,#5c7b92 62% 76%,transparent 76%);opacity:.72}.kdp-tower{position:absolute;left:52%;bottom:11%;width:10px;height:52%;background:#243e59;border-radius:7px;box-shadow:0 -22px 0 -3px #243e59}.kdp-tower:before{content:"";position:absolute;width:58px;height:22px;border-radius:50%;background:#203952;left:50%;top:13%;transform:translateX(-50%);box-shadow:0 -10px 0 -8px #203952}.kdp-login-copy{position:absolute;z-index:2;top:9%;right:9%;left:9%;color:#fff}.kdp-login-copy h1{font-size:clamp(28px,3vw,48px);line-height:1.5;margin:0 0 10px;max-width:480px}.kdp-login-copy p{font-size:17px;opacity:.86;margin:0}.kdp-login-panel{display:flex;align-items:center;justify-content:center;padding:40px;background:linear-gradient(145deg,#f8fbff,#eef3fa)}.kdp-login-card{width:min(100%,460px);background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.85);box-shadow:0 28px 80px rgba(21,42,72,.16);border-radius:28px;padding:38px}.kdp-brand{display:flex;align-items:center;gap:12px;margin-bottom:36px}.kdp-brand .kdp-logo-mark{width:42px;height:42px;transform:scale(.68);transform-origin:center}.kdp-brand strong{font-size:20px}.kdp-login-icon{width:60px;height:60px;border-radius:20px;background:#eef0ff;color:var(--kdp-primary);display:grid;place-items:center;margin:auto}.kdp-login-card h2{text-align:center;margin:18px 0 8px;font-size:24px}.kdp-login-card .lead{text-align:center;color:var(--kdp-muted);margin:0 0 28px;line-height:1.9}.kdp-login-card label{display:block;font-weight:700;margin:0 0 9px}.kdp-input-wrap{position:relative}.kdp-input-wrap svg{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#8b98ad;width:20px}.kdp-input-wrap input{padding-right:48px!important;direction:ltr;text-align:left}.kdp-code{display:flex;gap:8px;direction:ltr;justify-content:center}.kdp-code input{width:52px;height:58px;text-align:center;padding:0!important;font-size:24px;font-weight:800}.kdp-helper{text-align:center;color:var(--kdp-muted);font-size:13px;margin-top:18px;line-height:1.8}.kdp-helper a{color:var(--kdp-primary);text-decoration:none}.kdp-back{border:0;background:none;color:var(--kdp-muted);margin:14px auto 0;display:block}.kdp-countdown{text-align:center;color:var(--kdp-muted);margin:14px 0 0;font-size:13px}
.kdp-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.kdp-sidebar{background:linear-gradient(180deg,#10253c,#0b1b2c);color:#fff;padding:28px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20}.kdp-sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 10px 30px}.kdp-sidebar-brand .kdp-logo-mark{width:34px;height:34px;transform:scale(.55);transform-origin:center}.kdp-sidebar-brand strong{font-size:17px}.kdp-nav{display:flex;flex-direction:column;gap:7px}.kdp-nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#c5d0de;border-radius:13px;padding:13px 14px;text-align:right;transition:.2s}.kdp-nav button:hover{background:rgba(255,255,255,.07);color:#fff}.kdp-nav button.active{background:linear-gradient(100deg,#244f96,#1c3f79);color:#fff;box-shadow:inset 3px 0 #6f83ff}.kdp-nav svg{width:21px;height:21px;flex:0 0 auto}.kdp-nav-bottom{margin-top:auto}.kdp-main{min-width:0;padding:26px clamp(18px,3vw,42px) 48px}.kdp-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.kdp-top-title h1{margin:0;font-size:26px}.kdp-top-title p{margin:7px 0 0;color:var(--kdp-muted)}.kdp-user-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--kdp-line);border-radius:16px;padding:8px 10px 8px 16px}.kdp-avatar{width:42px;height:42px;border-radius:14px;background:#e9eeff;color:var(--kdp-primary);display:grid;place-items:center;font-weight:800}.kdp-user-chip small{display:block;color:var(--kdp-muted);margin-top:3px}.kdp-mobile-head{display:none}.kdp-content{animation:kdpIn .25s ease}@keyframes kdpIn{from{opacity:.2;transform:translateY(7px)}}
.kdp-grid{display:grid;gap:18px}.kdp-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.kdp-card{background:var(--kdp-card);border:1px solid var(--kdp-line);border-radius:var(--kdp-radius);box-shadow:0 7px 25px rgba(25,48,78,.045)}.kdp-stat{padding:22px;display:flex;align-items:center;gap:15px;min-height:122px}.kdp-stat-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:#eaf0ff;color:#5b6ff6}.kdp-stat-icon.green{background:#e6f8ef;color:#10a566}.kdp-stat-icon.gold{background:#fff5dc;color:#e7a20f}.kdp-stat-icon.purple{background:#f0eaff;color:#8156ef}.kdp-stat-icon svg{width:26px;height:26px}.kdp-stat-label{font-size:13px;color:var(--kdp-muted);margin-bottom:9px}.kdp-stat-value{font-size:24px;font-weight:900}.kdp-stat-sub{font-size:12px;color:var(--kdp-muted);margin-top:5px}.kdp-overview{grid-template-columns:1.15fr .85fr}.kdp-section{padding:22px}.kdp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.kdp-section-head h2{font-size:18px;margin:0}.kdp-section-head p{color:var(--kdp-muted);margin:5px 0 0;font-size:13px}.kdp-link-btn{border:0;background:none;color:var(--kdp-primary);font-weight:700}.kdp-chart{display:flex;align-items:flex-end;gap:14px;height:235px;padding:35px 12px 22px;border-bottom:1px solid var(--kdp-line)}.kdp-bar{flex:1;min-width:18px;height:var(--h);max-width:48px;background:linear-gradient(180deg,#7b84ff,#4e49f5);border-radius:8px 8px 3px 3px;position:relative;transition:.3s}.kdp-bar:hover{filter:brightness(1.08)}.kdp-bar span{position:absolute;bottom:-26px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--kdp-muted);white-space:nowrap}.kdp-table-wrap{overflow:auto;border:1px solid var(--kdp-line);border-radius:15px}.kdp-table{width:100%;border-collapse:collapse;min-width:730px}.kdp-table th,.kdp-table td{padding:14px 13px;text-align:right;border-bottom:1px solid var(--kdp-line);font-size:13px;white-space:nowrap}.kdp-table th{background:#f7f9fd;color:#5f6d82;font-size:12px}.kdp-table tr:last-child td{border-bottom:0}.kdp-table td strong{font-size:13px}.kdp-edit{width:34px;height:34px;border:0;border-radius:10px;background:#eef2ff;color:var(--kdp-primary);display:inline-grid;place-items:center}.kdp-danger-btn{background:#fff0f2!important;color:var(--kdp-danger)!important}.kdp-badge{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700}.kdp-badge.on{background:#e6f8ee;color:#128651}.kdp-badge.off{background:#fff0f2;color:#bd3145}.kdp-badge.admin{background:#edeaff;color:#6548d9}.kdp-searchbar{display:flex;gap:10px;margin-bottom:16px}.kdp-searchbar .kdp-input-wrap{flex:1}.kdp-filter{border:1px solid var(--kdp-line);background:#fff;border-radius:12px;padding:0 16px;color:var(--kdp-text)}
.kdp-form-card{padding:25px;max-width:920px}.kdp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.kdp-field.full{grid-column:1/-1}.kdp-field label{display:block;font-size:13px;font-weight:800;margin:0 0 8px}.kdp-field label span{color:var(--kdp-danger)}.kdp-app input,.kdp-app textarea,.kdp-app select{width:100%;border:1px solid #d7e0ec;background:#fff;color:var(--kdp-text);border-radius:12px;padding:13px 14px;outline:none;transition:.2s}.kdp-app input:focus,.kdp-app textarea:focus,.kdp-app select:focus{border-color:#6974f6;box-shadow:0 0 0 4px rgba(81,73,246,.10)}.kdp-app textarea{min-height:98px;resize:vertical}.kdp-actions{display:flex;gap:10px;margin-top:22px}.kdp-btn{border:0;border-radius:12px;padding:13px 20px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.kdp-btn:disabled{opacity:.55;cursor:not-allowed}.kdp-btn-primary{background:linear-gradient(105deg,var(--kdp-primary2),var(--kdp-primary));color:#fff;box-shadow:0 8px 18px rgba(81,73,246,.20)}.kdp-btn-primary:hover{transform:translateY(-1px)}.kdp-btn-block{width:100%;margin-top:18px}.kdp-btn-light{background:#edf1f7;color:#314158}.kdp-btn-success{background:var(--kdp-success);color:#fff}.kdp-empty{padding:44px 20px;text-align:center;color:var(--kdp-muted)}.kdp-empty svg{width:52px;height:52px;margin-bottom:12px;color:#bbc5d4}.kdp-empty strong{display:block;color:var(--kdp-text);font-size:16px;margin-bottom:7px}.kdp-user-grid{grid-template-columns:1fr 1fr}.kdp-settings-note{padding:15px;background:#f2f5ff;border:1px solid #dce2ff;border-radius:13px;color:#536078;line-height:1.9;font-size:13px;margin-bottom:18px}.kdp-settings-note strong{color:var(--kdp-text)}.kdp-token-state{margin-top:7px;font-size:12px;color:var(--kdp-success)}
.kdp-toast{position:fixed;z-index:1000;left:24px;bottom:24px;max-width:min(420px,calc(100% - 48px));background:#14263c;color:#fff;border-radius:14px;padding:14px 18px;box-shadow:var(--kdp-shadow);transform:translateY(90px);opacity:0;pointer-events:none;transition:.28s}.kdp-toast.show{transform:translateY(0);opacity:1}.kdp-toast.error{background:#a72d42}.kdp-modal{position:fixed;inset:0;background:rgba(9,23,40,.45);z-index:200;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.kdp-modal-card{background:#fff;border-radius:22px;width:min(100%,520px);max-height:90vh;overflow:auto;padding:24px;box-shadow:0 30px 90px rgba(4,16,29,.28)}.kdp-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.kdp-modal-head h2{margin:0;font-size:20px}.kdp-close{width:36px;height:36px;border:0;border-radius:10px;background:#eff2f7;color:#536078}.kdp-hidden{display:none!important}.kdp-fab{display:none}.kdp-bottom-nav{display:none}
@media(max-width:1100px){.kdp-stats{grid-template-columns:repeat(2,1fr)}.kdp-overview{grid-template-columns:1fr}.kdp-shell{grid-template-columns:220px 1fr}.kdp-user-grid{grid-template-columns:1fr}}
@media(max-width:760px){.kdp-login{display:block;position:relative}.kdp-login-visual{min-height:100vh}.kdp-login-panel{position:absolute;inset:0;background:transparent;padding:18px;align-items:flex-end}.kdp-login-card{padding:26px 20px;border-radius:24px;margin-bottom:20px}.kdp-login-copy{top:7%;right:7%;left:7%}.kdp-login-copy h1{font-size:30px;max-width:280px}.kdp-login-copy p{font-size:14px}.kdp-brand{display:none}.kdp-shell{display:block;padding-bottom:76px}.kdp-sidebar{display:none}.kdp-main{padding:18px 14px 28px}.kdp-topbar{margin-bottom:18px}.kdp-top-title h1{font-size:21px}.kdp-top-title p{font-size:12px}.kdp-user-chip{background:transparent;border:0;padding:0}.kdp-user-chip>div:not(.kdp-avatar){display:none}.kdp-mobile-head{display:block}.kdp-stats{grid-template-columns:1fr 1fr;gap:10px}.kdp-stat{padding:15px;min-height:102px;display:block}.kdp-stat-icon{width:40px;height:40px;border-radius:13px;margin-bottom:10px}.kdp-stat-value{font-size:21px}.kdp-stat-sub{display:none}.kdp-section{padding:16px}.kdp-form-card{padding:17px}.kdp-form-grid{grid-template-columns:1fr;gap:14px}.kdp-field.full{grid-column:auto}.kdp-table{min-width:650px}.kdp-searchbar{display:grid;grid-template-columns:1fr auto}.kdp-bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;height:70px;background:rgba(255,255,255,.96);border-top:1px solid var(--kdp-line);z-index:30;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(14px);justify-content:space-around}.kdp-bottom-nav button{border:0;background:none;color:#77849a;font-size:10px;display:flex;flex-direction:column;gap:4px;align-items:center;min-width:60px}.kdp-bottom-nav button.active{color:var(--kdp-primary);font-weight:800}.kdp-bottom-nav svg{width:22px;height:22px}.kdp-fab{display:flex;position:fixed;left:18px;bottom:88px;width:54px;height:54px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--kdp-primary2),var(--kdp-primary));color:#fff;align-items:center;justify-content:center;z-index:29;box-shadow:0 12px 28px rgba(81,73,246,.35)}.kdp-fab svg{width:25px}.kdp-code input{width:46px;height:54px}.kdp-toast{left:14px;bottom:88px;max-width:calc(100% - 28px)}}
@media(max-width:380px){.kdp-stats{grid-template-columns:1fr}.kdp-stat{display:flex}.kdp-stat-icon{margin-bottom:0}.kdp-code input{width:42px}.kdp-login-card{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.kdp-check-field{display:flex;align-items:center;min-height:54px}.kdp-check-field label,.kdp-required-switch{display:flex!important;align-items:center;gap:10px;margin:0!important;cursor:pointer}.kdp-check-field input,.kdp-required-switch input{width:20px!important;height:20px;accent-color:var(--kdp-primary);flex:0 0 auto}.kdp-check-field label>span,.kdp-required-switch span{line-height:1.8}.kdp-field-builder-note{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px;border:1px solid #dae3f2;border-radius:14px;background:#f7f9fd;color:#6e7c90;font-size:12px;line-height:1.8}.kdp-field-builder-note strong{color:var(--kdp-text);white-space:nowrap}.kdp-table code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;background:#f1f4f8;color:#536174;padding:4px 7px;border-radius:7px}.kdp-modal-head small{display:block;color:var(--kdp-muted);font-size:10px;margin-top:5px}.kdp-dynamic-table{min-width:max(730px,100%)}

/* Login experience v2 */
.kdp-login{direction:ltr;grid-template-columns:minmax(420px,1.08fr) minmax(430px,.92fr);background:#f6f8fd}
.kdp-login-visual{grid-column:1;direction:rtl;background:#142d4a url("login-hero.webp") center 53%/cover no-repeat;isolation:isolate}
.kdp-login-visual:before{display:none}
.kdp-login-shade{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(7,23,43,.08) 0%,rgba(8,25,47,.18) 42%,rgba(5,19,36,.88) 100%),linear-gradient(90deg,rgba(8,24,43,.12),transparent 46%)}
.kdp-login-copy{top:auto;bottom:7.5%;right:8%;left:8%;z-index:2;max-width:620px}
.kdp-visual-tag{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.24);background:rgba(14,36,62,.32);backdrop-filter:blur(12px);border-radius:999px;padding:8px 13px;font-size:12px;margin-bottom:18px}
.kdp-visual-tag:before{content:"";width:7px;height:7px;border-radius:50%;background:#79e6b1;box-shadow:0 0 0 5px rgba(121,230,177,.14)}
.kdp-login-copy h1{font-size:clamp(34px,3.25vw,55px);line-height:1.48;letter-spacing:-.8px;margin:0 0 12px;max-width:620px}
.kdp-login-copy p{font-size:16px;line-height:2;opacity:.86;max-width:560px}
.kdp-visual-meta{display:flex;gap:22px;margin-top:24px;font-size:12px;color:rgba(255,255,255,.76)}
.kdp-visual-meta span{display:flex;align-items:center;gap:8px}.kdp-visual-meta span:before{content:"✓";color:#86e7b8;font-weight:900}
.kdp-login-panel{grid-column:2;direction:rtl;position:relative;align-items:center;padding:48px clamp(32px,6vw,86px);background:radial-gradient(circle at 100% 0,rgba(92,87,246,.09),transparent 32%),#f8faff}
.kdp-login-card{width:min(100%,480px);background:transparent;border:0;box-shadow:none;border-radius:0;padding:0}
.kdp-brand{margin:0 0 64px}.kdp-brand strong{font-size:21px}.kdp-brand small{display:block;color:#7a8799;margin-top:4px;font-size:11px}
.kdp-login-eyebrow{display:flex;align-items:center;gap:9px;color:#5c6b80;font-size:12px;font-weight:700;margin-bottom:18px}.kdp-login-eyebrow span{width:25px;height:2px;border-radius:4px;background:linear-gradient(90deg,var(--kdp-primary),#9ca5ff)}
.kdp-login-icon{margin:0 0 17px;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#eeefff,#e2e6ff);box-shadow:inset 0 0 0 1px rgba(80,73,246,.06)}
.kdp-login-card h2{text-align:right;margin:0 0 10px;font-size:30px;letter-spacing:-.45px}.kdp-login-card .lead{text-align:right;margin:0 0 28px;font-size:13px;line-height:2;color:#6e7c91}
.kdp-login-card label{font-size:13px}.kdp-login-card .kdp-input-wrap input{height:56px;border-radius:15px;background:#fff;border-color:#dce3ef;box-shadow:0 8px 28px rgba(35,59,90,.04);font-size:15px;letter-spacing:.7px}
.kdp-login-card .kdp-btn-block{height:54px;border-radius:15px;margin-top:18px;justify-content:space-between;padding-inline:22px}.kdp-login-card .kdp-btn-block b{font-size:20px;font-weight:400}
.kdp-field-hint{display:block;color:#8a96a7;font-size:10px;line-height:1.7;margin-top:7px}
.kdp-login-points{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:#8a96a7;font-size:10px}.kdp-login-points span{display:flex;align-items:center;gap:6px}.kdp-login-points span:before{content:"";width:5px;height:5px;border-radius:50%;background:#99a5b7}
.kdp-security-strip{display:flex;gap:12px;align-items:center;margin-top:50px;padding:14px 16px;border:1px solid #e1e6f0;border-radius:16px;background:rgba(255,255,255,.62)}.kdp-security-dot{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e8f7f0;flex:0 0 auto}.kdp-security-dot:after{content:"✓";color:#15915a;font-weight:900}.kdp-security-strip strong{display:block;font-size:11px;margin-bottom:3px}.kdp-security-strip small{display:block;color:#7d899b;font-size:9px;line-height:1.7}
.kdp-login-footer{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#9aa5b4;font-size:9px}
.kdp-attempts{text-align:center;color:#6d7a8d;font-size:11px;margin:14px 0 0}.kdp-countdown{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f1f3fa;border-radius:12px;padding:10px 12px;margin-top:14px}.kdp-countdown span{font-size:10px;color:#778499}.kdp-countdown strong{font-size:11px;color:#334158;direction:ltr;display:inline-block}.kdp-countdown .kdp-link-btn{font-size:10px;padding:0}.kdp-code{gap:10px}.kdp-code input{width:56px;height:61px;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 24px rgba(35,59,90,.05);direction:ltr}
.kdp-lock-icon{background:#fff0f2;color:var(--kdp-danger)}.kdp-lock-box{border:1px solid #eadfe2;border-radius:17px;background:#fffafb;padding:18px;text-align:center}.kdp-lock-box small{display:block;color:#8d7b80;font-size:10px}.kdp-lock-box strong{display:block;font-size:30px;direction:ltr;margin:7px 0 12px;color:#9f3145}.kdp-lock-box>div{height:5px;background:#f0e4e7;border-radius:99px;overflow:hidden;direction:ltr}.kdp-lock-box i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#e85b70,#b62e45);border-radius:99px;transition:width 1s linear}

@media(max-width:760px){.kdp-login{display:block;background:#f7f9fd}.kdp-login-visual{display:block;min-height:40vh;height:40vh;background-position:center 47%}.kdp-login-copy{bottom:52px}.kdp-login-copy h1{font-size:27px;line-height:1.5;max-width:320px}.kdp-login-copy p{font-size:12px;line-height:1.8}.kdp-visual-tag{font-size:10px;padding:6px 10px;margin-bottom:11px}.kdp-visual-meta{display:none}.kdp-login-panel{position:relative;inset:auto;display:block;margin-top:-34px;padding:0 15px calc(28px + env(safe-area-inset-bottom));background:transparent;z-index:5}.kdp-login-card{width:100%;padding:25px 20px 21px;border-radius:25px;margin:0;background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.9);box-shadow:0 22px 65px rgba(13,33,59,.18)}.kdp-brand{display:flex;margin-bottom:28px}.kdp-login-eyebrow{margin-bottom:13px}.kdp-login-card h2{font-size:24px}.kdp-login-icon{width:48px;height:48px;border-radius:15px}.kdp-security-strip{margin-top:24px}.kdp-login-footer{position:static;margin-top:18px}.kdp-login-points{flex-wrap:wrap}.kdp-code{gap:6px}.kdp-code input{width:48px;height:55px}}
@media(max-width:380px){.kdp-login-card{padding:22px 16px}.kdp-code input{width:43px}.kdp-login-copy h1{font-size:24px}}

/* Mobile login centered and distraction-free */
.kdp-login-shade{background:linear-gradient(90deg,rgba(8,24,43,.10),rgba(8,24,43,.02))}
@media(max-width:760px){.kdp-login{position:relative;min-height:100svh;overflow:auto;background:#10253c}.kdp-login-visual{position:fixed;inset:0;display:block;width:100%;height:100svh;min-height:100svh;background-position:center center}.kdp-login-shade{background:linear-gradient(180deg,rgba(7,20,38,.28),rgba(7,20,38,.42))}.kdp-login-panel{position:relative;inset:auto;display:flex;align-items:center;justify-content:center;min-height:100svh;margin:0;padding:20px 15px calc(20px + env(safe-area-inset-bottom));background:transparent}.kdp-login-card{width:min(100%,380px);max-height:calc(100svh - 40px);overflow:auto;margin:0;padding:24px 20px;border-radius:26px;background:rgba(255,255,255,.97);box-shadow:0 28px 80px rgba(3,14,28,.35);backdrop-filter:blur(16px)}.kdp-brand{margin-bottom:26px}.kdp-login-eyebrow{margin-bottom:14px}.kdp-login-card .lead{margin-bottom:22px}.kdp-login-icon{margin-bottom:13px}.kdp-login-points{margin-top:15px}}

/* Streamlined login header */
.kdp-login-card .kdp-login-eyebrow,.kdp-login-card .kdp-login-icon{display:none!important}

/* Centered, full-width OTP request action */
#mobile-form .kdp-btn-block{position:relative;width:100%;height:62px;justify-content:center;padding-inline:54px;font-size:16px}
#mobile-form .kdp-btn-block b{position:absolute;left:22px;top:50%;transform:translateY(-50%)}

/* Portal interface 2026 */
:root{
  --kdp-bg:#f5f7fb;
  --kdp-card:#fff;
  --kdp-text:#14213a;
  --kdp-muted:#708096;
  --kdp-line:#e4e9f1;
  --kdp-primary:#5956e9;
  --kdp-primary2:#7278f7;
  --kdp-navy:#0d2137;
  --kdp-success:#119762;
  --kdp-danger:#d8465b;
  --kdp-warning:#e9a525;
  --kdp-radius:18px;
  --kdp-shadow:0 12px 36px rgba(28,45,75,.07);
}
html{scroll-behavior:smooth}
body{background:radial-gradient(circle at 30% -10%,#eef1ff 0,transparent 30%),var(--kdp-bg)}
.kdp-app :focus-visible{outline:3px solid rgba(89,86,233,.28);outline-offset:3px}
.kdp-skip{position:fixed;z-index:2000;top:10px;right:12px;transform:translateY(-160%);padding:10px 14px;border-radius:10px;background:#fff;color:var(--kdp-text);box-shadow:var(--kdp-shadow);text-decoration:none}
.kdp-skip:focus{transform:none}
.kdp-shell{grid-template-columns:244px minmax(0,1fr);background:transparent}
.kdp-sidebar{padding:20px 14px;background:linear-gradient(180deg,#102a45 0%,#0b1d31 100%);border-left:1px solid rgba(255,255,255,.08);box-shadow:12px 0 40px rgba(8,24,42,.08)}
.kdp-sidebar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0 0,rgba(111,118,255,.18),transparent 28%);pointer-events:none}
.kdp-sidebar-brand{position:relative;padding:8px 8px 28px;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:20px}
.kdp-sidebar-brand .kdp-logo-mark{flex:0 0 auto}
.kdp-sidebar-brand strong{display:block;font-size:16px;letter-spacing:-.2px}
.kdp-sidebar-brand small{display:block;margin-top:4px;color:#8fa2b9;font-size:9px;font-weight:400}
.kdp-nav{position:relative;gap:5px}
.kdp-nav button{min-height:46px;border-radius:12px;padding:11px 13px;color:#aebdce;font-size:13px;font-weight:700}
.kdp-nav button:hover{background:rgba(255,255,255,.06)}
.kdp-nav button.active{background:linear-gradient(110deg,rgba(95,104,237,.36),rgba(60,82,167,.44));box-shadow:inset -3px 0 #8288ff,0 10px 24px rgba(4,17,31,.12)}
.kdp-nav svg{width:19px;height:19px}
.kdp-nav-bottom{padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
.kdp-main{padding:28px clamp(20px,3vw,46px) 54px}
.kdp-topbar,.kdp-content{width:100%;max-width:1440px;margin-inline:auto}
.kdp-topbar{margin-bottom:26px;padding:2px 2px 0}
.kdp-page-kicker,.kdp-section-kicker{display:block;margin-bottom:5px;color:var(--kdp-primary);font-size:10px;font-weight:800;letter-spacing:.1px}
.kdp-top-title h1{font-size:clamp(24px,2.2vw,32px);line-height:1.35;letter-spacing:-.65px}
.kdp-top-title p{margin-top:5px;font-size:13px}
.kdp-user-chip{min-width:190px;border-color:#e1e6ef;border-radius:15px;padding:7px 8px 7px 14px;box-shadow:0 6px 18px rgba(28,45,75,.04)}
.kdp-avatar{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#eef0ff,#e4e7ff)}
.kdp-user-chip strong{font-size:12px}.kdp-user-chip small{font-size:9px}
.kdp-card{border-color:#e5eaf2;border-radius:var(--kdp-radius);box-shadow:0 8px 28px rgba(32,49,78,.045)}
.kdp-card:hover{border-color:#dce2ec}
.kdp-grid{gap:16px}
.kdp-grid,.kdp-grid>*{min-width:0}
.kdp-stats{margin-bottom:16px}
.kdp-stat{position:relative;min-height:114px;padding:19px;gap:13px;overflow:hidden}
.kdp-stat:after{content:"";position:absolute;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,transparent,#6e75f5)}
.kdp-stat.is-green:after{background:linear-gradient(90deg,transparent,#22b879)}
.kdp-stat.is-gold:after{background:linear-gradient(90deg,transparent,#f0b43c)}
.kdp-stat.is-purple:after{background:linear-gradient(90deg,transparent,#956df0)}
.kdp-stat-icon{width:46px;height:46px;border-radius:14px;flex:0 0 auto}
.kdp-stat-icon svg{width:22px;height:22px}
.kdp-stat-copy{min-width:0}
.kdp-stat-label{margin-bottom:6px;font-size:11px}
.kdp-stat-value{font-size:22px;line-height:1.35;overflow:hidden;text-overflow:ellipsis}
.kdp-stat-sub{margin-top:3px;font-size:10px}
.kdp-overview{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.kdp-section{padding:20px}
.kdp-section-head{margin-bottom:16px}
.kdp-section-head h2,.kdp-form-intro h2,.kdp-export-card h2{font-size:17px;line-height:1.5;letter-spacing:-.25px;margin:0}
.kdp-section-head p,.kdp-form-intro p,.kdp-export-card p{font-size:11px;line-height:1.8;margin:3px 0 0;color:var(--kdp-muted)}
.kdp-link-btn{min-height:40px;padding:0 10px;border-radius:10px;font-size:11px}
.kdp-link-btn:hover{background:#f0f1ff}
.kdp-chart-card{overflow:hidden}
.kdp-chart{height:250px;gap:12px;padding:32px 8px 25px}
.kdp-bar{max-width:38px;border-radius:7px 7px 2px 2px;box-shadow:0 8px 18px rgba(81,73,246,.16)}
.kdp-btn{min-height:46px;border-radius:12px;padding:11px 17px;gap:8px;font-size:12px;text-decoration:none;white-space:nowrap}
.kdp-btn svg{width:19px!important;height:19px!important;flex:0 0 auto}
.kdp-btn-primary{box-shadow:0 9px 22px rgba(81,73,246,.20)}
.kdp-btn-primary:hover{box-shadow:0 12px 28px rgba(81,73,246,.26)}
.kdp-btn-success{background:linear-gradient(105deg,#0d8b58,#14a66b);box-shadow:0 10px 24px rgba(17,151,98,.2)}
.kdp-quick-action{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:16px;background:linear-gradient(115deg,#fff 20%,#f3f3ff 100%)}
.kdp-quick-icon,.kdp-form-intro-icon,.kdp-export-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#ebedff,#dfe3ff);color:var(--kdp-primary);flex:0 0 auto}
.kdp-quick-icon svg,.kdp-form-intro-icon svg,.kdp-export-icon svg{width:23px;height:23px}
.kdp-quick-action h2{font-size:17px;margin:0}.kdp-quick-action p{margin:4px 0 0;color:var(--kdp-muted);font-size:11px;line-height:1.8}
.kdp-user-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.kdp-recent-card,.kdp-quick-action{max-width:900px}
.kdp-form-card{width:100%;max-width:1080px;padding:24px}
.kdp-entry-card{margin-inline:auto}
.kdp-form-intro{display:flex;align-items:center;gap:14px;padding-bottom:19px;margin-bottom:22px;border-bottom:1px solid var(--kdp-line)}
.kdp-form-grid{gap:18px 16px}
.kdp-field label{font-size:11px;margin-bottom:7px}
.kdp-app input,.kdp-app textarea,.kdp-app select{min-height:48px;border-color:#dfe5ee;border-radius:11px;padding:11px 13px;font-size:12px}
.kdp-app input::placeholder,.kdp-app textarea::placeholder{color:#a1adbd}
.kdp-app input:hover,.kdp-app textarea:hover,.kdp-app select:hover{border-color:#cdd6e3}
.kdp-app textarea{min-height:110px;line-height:1.8}
.kdp-field-hint{font-size:9px;margin-top:6px}
.kdp-actions{justify-content:flex-start;padding-top:18px;margin-top:24px;border-top:1px solid var(--kdp-line)}
.kdp-data-panel{min-height:0}
.kdp-searchbar{align-items:center;padding:12px;border:1px solid #e6eaf1;border-radius:14px;background:#f8f9fc;margin-bottom:16px}
.kdp-searchbar .kdp-input-wrap input{background:#fff;height:46px}
.kdp-table-wrap{border-color:#e5e9f0;border-radius:13px;scrollbar-width:thin;scrollbar-color:#cbd3df transparent}
.kdp-table-wrap{width:100%;max-width:100%;min-width:0}
.kdp-table th,.kdp-table td{padding:13px 12px;font-size:11px}
.kdp-table th{position:sticky;top:0;z-index:1;background:#f7f8fb;color:#627188;font-size:10px;font-weight:800}
.kdp-table tbody tr{transition:background .16s}.kdp-table tbody tr:hover{background:#fafbfe}
.kdp-edit{width:36px;height:36px;border-radius:10px}.kdp-edit svg{width:17px;height:17px}
.kdp-badge{padding:5px 9px;font-size:9px}
.kdp-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 18px}
.kdp-empty svg{width:44px;height:44px}.kdp-empty strong{font-size:14px}.kdp-empty span{font-size:10px}
.kdp-field-builder-note{padding:13px 14px;margin-bottom:15px;border-radius:12px;background:#f6f7ff;font-size:10px}
.kdp-modal{background:rgba(7,20,36,.5);backdrop-filter:blur(7px)}
.kdp-modal-card{border:1px solid rgba(255,255,255,.8);border-radius:20px;padding:22px;box-shadow:0 30px 90px rgba(4,16,29,.3)}
.kdp-modal-head h2{font-size:18px}.kdp-close{min-width:40px;min-height:40px}
.kdp-settings-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:16px;align-items:start}
.kdp-settings-card{max-width:none;margin:0}
.kdp-settings-actions{grid-column:1/-1;position:sticky;bottom:16px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px 12px 18px;border:1px solid #dee3ec;border-radius:15px;background:rgba(255,255,255,.92);box-shadow:0 16px 44px rgba(25,43,70,.12);backdrop-filter:blur(14px)}
.kdp-settings-actions>span{color:var(--kdp-muted);font-size:10px}
.kdp-token-state{font-size:9px}
.kdp-export-card{width:100%;max-width:none;margin-inline:0;padding:26px;overflow:hidden}
.kdp-export-hero{display:flex;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--kdp-line)}
.kdp-export-icon{width:56px;height:56px;background:linear-gradient(145deg,#e5f8ef,#d9f2e7);color:var(--kdp-success)}
.kdp-export-features{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.kdp-export-features>div{padding:15px;border:1px solid #e5eaf1;border-radius:13px;background:#fafbfc}
.kdp-export-features strong{display:block;font-size:13px;color:var(--kdp-text)}
.kdp-export-features span{display:block;margin-top:4px;color:var(--kdp-muted);font-size:9px}
.kdp-export-action{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border-radius:14px;background:linear-gradient(110deg,#edf9f4,#f8fcfa);border:1px solid #dcefe6}
.kdp-export-action>div strong,.kdp-export-action>div span{display:block}.kdp-export-action>div strong{font-size:12px}.kdp-export-action>div span{margin-top:4px;color:var(--kdp-muted);font-size:9px}
.kdp-mobile-sheet{display:none}

@media(max-width:1180px){
  .kdp-shell{grid-template-columns:220px minmax(0,1fr)}
  .kdp-settings-layout{grid-template-columns:1fr}
  .kdp-settings-actions{grid-column:auto}
  .kdp-overview{grid-template-columns:1fr}
}
@media(max-width:760px){
  body{background:#f6f7fb}
  .kdp-main{padding:18px 13px calc(92px + env(safe-area-inset-bottom))}
  .kdp-topbar{align-items:flex-start;margin-bottom:20px}
  .kdp-page-kicker{font-size:9px}.kdp-top-title h1{font-size:22px}.kdp-top-title p{font-size:10px;line-height:1.7}
  .kdp-user-chip{min-width:0;border:0;background:transparent;box-shadow:none;padding:0}.kdp-avatar{width:38px;height:38px}
  .kdp-grid{gap:10px}.kdp-stats,.kdp-user-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .kdp-stat{min-height:112px;padding:14px;display:block}.kdp-stat-icon{width:40px;height:40px;margin-bottom:9px}.kdp-stat-value{font-size:19px}.kdp-stat-label{font-size:9px}
  .kdp-section{padding:15px}.kdp-section-head{align-items:flex-start}.kdp-section-head h2{font-size:15px}.kdp-section-head p{font-size:9px}
  .kdp-quick-action{grid-template-columns:1fr auto;padding:16px}.kdp-quick-icon{display:none}.kdp-quick-action p{font-size:9px}.kdp-quick-action .kdp-btn span{display:none}.kdp-quick-action .kdp-btn{width:46px;padding:0}
  .kdp-form-card{padding:16px}.kdp-form-intro{align-items:flex-start;padding-bottom:15px;margin-bottom:17px}.kdp-form-intro-icon{width:42px;height:42px}.kdp-form-intro h2{font-size:15px}.kdp-form-intro p{font-size:9px}
  .kdp-form-grid{gap:14px}.kdp-app input,.kdp-app textarea,.kdp-app select{min-height:48px;font-size:12px}
  .kdp-actions{position:sticky;bottom:78px;z-index:6;margin-inline:-16px;margin-bottom:-16px;padding:12px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}
  .kdp-actions .kdp-btn-primary{flex:1}
  .kdp-searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:8px}.kdp-searchbar .kdp-btn span{display:none}.kdp-searchbar .kdp-btn{width:46px;padding:0}
  .kdp-table{min-width:680px}.kdp-table th,.kdp-table td{padding:11px 10px}
  .kdp-empty{min-height:190px}
  .kdp-field-builder-note{align-items:flex-start;flex-direction:column;gap:3px}
  .kdp-settings-layout{gap:12px}.kdp-settings-actions{bottom:78px;padding:10px}.kdp-settings-actions>span{display:none}.kdp-settings-actions .kdp-btn{width:100%}
  .kdp-export-card{padding:17px}.kdp-export-hero{align-items:flex-start}.kdp-export-icon{width:46px;height:46px}.kdp-export-features{grid-template-columns:1fr;margin:15px 0}.kdp-export-action{align-items:stretch;flex-direction:column}.kdp-export-action .kdp-btn{width:100%}
  .kdp-bottom-nav{height:74px;border-top-color:#e4e7ee;box-shadow:0 -10px 30px rgba(20,37,62,.07)}
  .kdp-bottom-nav button{flex:1;min-width:0;padding-inline:4px}
  .kdp-bottom-nav .kdp-mobile-logout{color:#bd4356}
  .kdp-bottom-nav .kdp-mobile-logout svg{stroke-width:2.1}
  .kdp-mobile-sheet{position:fixed;inset:0;z-index:90;display:block;visibility:hidden;pointer-events:none}
  .kdp-mobile-sheet.open{visibility:visible;pointer-events:auto}
  .kdp-mobile-sheet-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(7,20,36,.48);opacity:0;transition:opacity .22s;backdrop-filter:blur(3px)}
  .kdp-mobile-sheet.open .kdp-mobile-sheet-backdrop{opacity:1}
  .kdp-mobile-sheet-panel{position:absolute;right:10px;left:10px;bottom:calc(82px + env(safe-area-inset-bottom));padding:16px;border:1px solid rgba(255,255,255,.8);border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 24px 70px rgba(8,24,42,.28);transform:translateY(24px);opacity:0;transition:transform .22s,opacity .22s;backdrop-filter:blur(16px)}
  .kdp-mobile-sheet.open .kdp-mobile-sheet-panel{transform:none;opacity:1}
  .kdp-mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid var(--kdp-line)}
  .kdp-mobile-sheet-head strong{display:block;font-size:13px}.kdp-mobile-sheet-head small{display:block;margin-top:3px;color:var(--kdp-muted);font-size:9px}
  .kdp-mobile-sheet-head button{width:38px;height:38px;border:0;border-radius:11px;background:#f0f2f7;color:#58667a;font-size:21px}
  .kdp-mobile-sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .kdp-mobile-sheet-grid button{min-height:78px;border:1px solid #e4e8f0;border-radius:14px;background:#f8f9fc;color:#47566b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:800}
  .kdp-mobile-sheet-grid button.active{border-color:#cfd3ff;background:#f0f1ff;color:var(--kdp-primary)}
  .kdp-mobile-sheet-grid svg{width:22px;height:22px}
}
/* Entry form text and placeholders follow Persian reading direction. */
.kdp-entry-card,.kdp-entry-card .kdp-form-intro,.kdp-entry-card .kdp-field,.kdp-entry-card .kdp-field label,.kdp-entry-card .kdp-field-hint{text-align:right}
.kdp-entry-card input,.kdp-entry-card textarea,.kdp-entry-card select{direction:rtl;text-align:right}
.kdp-entry-card input::placeholder,.kdp-entry-card textarea::placeholder{text-align:right}
@media(max-width:390px){
  .kdp-stats,.kdp-user-stats{grid-template-columns:1fr 1fr}
  .kdp-stat{min-width:0}.kdp-stat-sub{display:none}
}

/* Data operations, monitoring and accessibility */
.kdp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.kdp-modal-open{overflow:hidden}
.kdp-record-tabs{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid var(--kdp-line);border-radius:12px;background:#f7f8fb}
.kdp-record-tabs button{min-height:36px;border:0;border-radius:9px;background:transparent;color:#65758a;padding:7px 11px;font:inherit;font-size:10px;font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer}
.kdp-record-tabs button.active{background:#fff;color:var(--kdp-primary);box-shadow:0 4px 14px rgba(29,45,73,.08)}
.kdp-record-tabs svg{width:15px;height:15px}
.kdp-record-filters{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,.32fr) minmax(140px,.25fr) minmax(140px,.25fr) auto;align-items:end;gap:10px;padding:12px;margin-bottom:16px;border:1px solid #e6eaf1;border-radius:14px;background:#f8f9fc}
.kdp-record-filters .kdp-input-wrap input,.kdp-record-filters>select,.kdp-record-filters>label input{height:46px;background:#fff}
.kdp-record-filters>label{display:grid;gap:4px}.kdp-record-filters>label span{font-size:9px;color:var(--kdp-muted);font-weight:700}
.kdp-result-summary{margin:0 2px 9px;color:var(--kdp-muted);font-size:10px}
.kdp-loading{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--kdp-muted)}
.kdp-loading span{width:30px;height:30px;border:3px solid #e5e8ff;border-top-color:var(--kdp-primary);border-radius:50%;animation:kdp-spin .7s linear infinite}.kdp-loading strong{font-size:12px;line-height:1.9;text-align:center;max-width:34em;padding-inline:12px}.kdp-section-loading{min-width:0}
@keyframes kdp-spin{to{transform:rotate(360deg)}}
.kdp-inline-error{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.kdp-inline-error strong{color:var(--kdp-danger)}.kdp-inline-error span{font-size:10px;color:var(--kdp-muted)}
.kdp-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:15px}.kdp-pager button{min-width:74px;height:38px;border:1px solid var(--kdp-line);border-radius:10px;background:#fff;color:var(--kdp-primary);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.kdp-pager button:disabled{opacity:.4;cursor:not-allowed}.kdp-pager span{font-size:10px;color:var(--kdp-muted)}
.kdp-restore-btn{color:#0d8b58;background:#e9f8f1}
.kdp-severity-info{background:#eef1ff;color:#4d55ca}.kdp-severity-warning{background:#fff4d9;color:#8a5b00}.kdp-severity-error{background:#ffebee;color:#a42f43}
.kdp-health-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:13px 15px;border:1px solid #dfe5ed;border-radius:14px;background:#fff}.kdp-health-actions p{margin:0;color:var(--kdp-muted);font-size:10px}
.kdp-health-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.kdp-health-card{position:relative;min-height:170px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden}.kdp-health-card:before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:#e14d62}.kdp-health-card.is-ok:before{background:#15a66a}.kdp-health-card>div{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#eef1ff;color:var(--kdp-primary)}.kdp-health-card>div svg{width:21px;height:21px}.kdp-health-card>span{margin-top:6px;color:var(--kdp-muted);font-size:10px}.kdp-health-card>strong{font-size:15px}.kdp-health-card.is-ok>strong{color:#0d8b58}.kdp-health-card.is-error>strong{color:#b5344a}.kdp-health-card>small{color:var(--kdp-muted);font-size:9px;line-height:1.8;overflow-wrap:anywhere}
.kdp-health-list{display:grid;gap:8px}.kdp-health-list>div{display:grid;grid-template-columns:140px minmax(0,1fr) 150px;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--kdp-line);border-radius:11px;background:#fafbfc}.kdp-health-list strong{font-size:10px}.kdp-health-list span,.kdp-health-list time{font-size:9px;color:var(--kdp-muted)}.kdp-health-list time{direction:ltr;text-align:left}.kdp-health-note{margin:14px 0 0;padding:11px 13px;border-radius:11px;background:#fff8e6;color:#76520a;font-size:9px;line-height:1.8}
.kdp-export-filter-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:20px 0}
.kdp-export-columns{border:1px solid var(--kdp-line);border-radius:14px;padding:15px;margin:0}.kdp-export-columns legend{padding:0 8px;font-size:11px;font-weight:800}.kdp-export-columns>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:9px}.kdp-export-columns label{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #e8ebf1;border-radius:9px;background:#fafbfc;font-size:10px;cursor:pointer}.kdp-export-columns input{width:17px;height:17px;min-height:0;accent-color:var(--kdp-primary)}.kdp-export-buttons{display:flex;gap:8px}
.kdp-pwa-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1440px;margin:-10px auto 18px;padding:10px 12px;border:1px solid #dfe2ff;border-radius:14px;background:linear-gradient(100deg,#f0f1ff,#fff);box-shadow:0 8px 20px rgba(51,55,140,.06)}.kdp-pwa-banner[hidden]{display:none}.kdp-pwa-banner>div{display:flex;align-items:center;gap:10px}.kdp-pwa-banner svg{width:25px;height:25px;color:var(--kdp-primary)}.kdp-pwa-banner strong,.kdp-pwa-banner small{display:block}.kdp-pwa-banner strong{font-size:11px}.kdp-pwa-banner small{font-size:9px;color:var(--kdp-muted);margin-top:2px}.kdp-pwa-banner>button{min-height:38px;border:0;border-radius:10px;background:var(--kdp-primary);color:#fff;padding:7px 12px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.kdp-pwa-banner .kdp-pwa-close{min-width:34px;padding:0;background:transparent;color:#6b7789;font-size:18px}
.kdp-offline-banner{max-width:1440px;margin:-8px auto 16px;padding:10px 13px;border-radius:11px;background:#8c283b;color:#fff;text-align:center;font-size:10px;font-weight:700}.kdp-offline-banner[hidden]{display:none}
.kdp-chart .kdp-bar b{position:absolute;top:-21px;left:50%;transform:translateX(-50%);font-size:9px;color:#536176;font-weight:800}

@media(max-width:1100px){.kdp-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-record-filters{grid-template-columns:minmax(240px,1fr) 1fr 1fr}.kdp-record-filters .kdp-btn{grid-column:auto}.kdp-export-columns>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.kdp-section-head{flex-direction:column;gap:11px}.kdp-record-tabs{width:100%}.kdp-record-tabs button{flex:1;justify-content:center}.kdp-record-filters{grid-template-columns:1fr 1fr;padding:9px}.kdp-record-search,.kdp-record-filters>select{grid-column:1/-1}.kdp-record-filters .kdp-btn{width:100%;grid-column:1/-1}.kdp-record-filters .kdp-btn span{display:inline}.kdp-log-filters{grid-template-columns:1fr}.kdp-health-grid{grid-template-columns:1fr 1fr}.kdp-health-card{min-height:150px;padding:14px}.kdp-health-actions{align-items:stretch;flex-direction:column}.kdp-health-actions .kdp-btn{width:100%}.kdp-health-list>div{grid-template-columns:1fr}.kdp-health-list time{text-align:right}.kdp-export-filter-grid{grid-template-columns:1fr}.kdp-export-columns>div{grid-template-columns:1fr 1fr}.kdp-export-buttons{display:grid;grid-template-columns:1fr 1fr}.kdp-pwa-banner{margin:-6px 0 14px}.kdp-pwa-banner small{display:none}}
@media(max-width:420px){.kdp-health-grid{grid-template-columns:1fr}.kdp-export-columns>div{grid-template-columns:1fr}.kdp-export-buttons{grid-template-columns:1fr}.kdp-pager{gap:7px}.kdp-pager span{font-size:9px}}
@media(forced-colors:active){.kdp-btn,.kdp-card,.kdp-record-tabs,.kdp-pager button{border:1px solid ButtonText}.kdp-badge{border:1px solid currentColor}}

/* Khazar Tartan brand identity */
.kdp-brand-logo{display:block;width:46px;height:46px;object-fit:contain;flex:0 0 auto}.kdp-brand-logo-boot{width:76px;height:76px;animation:kdpPulse 1.6s ease-in-out infinite}.kdp-sidebar-brand .kdp-brand-logo{width:40px;height:40px}.kdp-brand .kdp-brand-logo{width:48px;height:48px}
.kdp-nav button.active{background:linear-gradient(100deg,var(--kdp-primary2),var(--kdp-primary));box-shadow:inset 3px 0 #8fafff}.kdp-avatar{background:#eef3ff;color:var(--kdp-primary)}.kdp-login-icon{background:#eef3ff}.kdp-stat-icon{background:#eef3ff;color:var(--kdp-primary)}.kdp-chart .kdp-bar{background:linear-gradient(180deg,var(--kdp-primary2),var(--kdp-primary))}.kdp-app input:focus,.kdp-app textarea:focus,.kdp-app select:focus{border-color:#4565bd;box-shadow:0 0 0 4px rgba(41,59,150,.1)}.kdp-btn-primary{box-shadow:0 8px 18px rgba(41,59,150,.2)}.kdp-fab{box-shadow:0 12px 28px rgba(41,59,150,.32)}

/* Portal base design. Existing workflows unchanged. */
:root{--kdp-bg:#f5f5f4;--kdp-card:#fff;--kdp-text:#172331;--kdp-muted:#637080;--kdp-line:#e4e6e8;--kdp-primary:#293b96;--kdp-primary2:#375ab2;--kdp-navy:#18242f;--kdp-radius:18px;--kdp-shadow:0 12px 35px rgba(22,33,45,.07)}
.kdp-record-filters>*,.kdp-form-grid>*,.kdp-export-filter-grid>*,.kdp-settings-layout>*{min-width:0}.kdp-record-filters input,.kdp-record-filters select{min-width:0}
html,body{background:var(--kdp-bg)}.kdp-app{overflow-x:clip}
.kdp-shell{grid-template-columns:232px minmax(0,1fr)}
.kdp-sidebar{background:linear-gradient(160deg,#24313b,#16212b);padding:26px 16px;height:100dvh}
.kdp-sidebar-brand{padding:0 8px 27px;gap:10px}.kdp-sidebar-brand strong{font-size:17px}.kdp-sidebar-brand small{color:#b3bcc6;line-height:1.7}
.kdp-nav button{border-radius:10px;min-height:46px;font-size:12px;color:#d1d7df;gap:11px}
.kdp-nav button.active{background:linear-gradient(110deg,var(--kdp-primary2),var(--kdp-primary));box-shadow:0 5px 16px rgba(0,0,0,.12);color:#fff}
.kdp-nav-bottom{padding-top:12px}.kdp-nav-bottom button{color:#e4e8ed}
.kdp-main{padding:30px clamp(20px,3vw,44px) 44px}.kdp-content,.kdp-topbar,.kdp-pwa-banner{max-width:1320px}
.kdp-topbar{margin-bottom:24px;align-items:center}.kdp-page-kicker{color:#637080;font-size:10px;margin-bottom:6px}
.kdp-top-title h1{font-size:clamp(23px,2vw,29px);font-weight:700;letter-spacing:-.5px}.kdp-top-title p{font-size:12px;line-height:1.8}
.kdp-user-chip{min-width:170px;border-radius:14px;box-shadow:none;background:#fff}.kdp-avatar{background:#f0f2f4;color:#344452;border-radius:12px}
.kdp-card{border:1px solid var(--kdp-line);border-radius:18px;box-shadow:0 4px 18px rgba(24,36,48,.035)}.kdp-card:hover{border-color:#dadde1}
.kdp-grid{gap:16px}.kdp-stat{min-height:120px;padding:21px;gap:14px}.kdp-stat:after{display:none}.kdp-stat-value{font-size:25px;font-weight:700;line-height:1.5}.kdp-stat-label{font-size:12px;color:#647080}.kdp-stat-sub{font-size:10px;line-height:1.8}
.kdp-stat-icon{background:#eef3ff;color:var(--kdp-primary)}.kdp-stat-icon.green{background:#e8f7ef;color:#137d4d}.kdp-stat-icon.gold{background:#fff6e6;color:#a66b00}.kdp-stat-icon.purple{background:#edf1f7;color:#546e91}
.kdp-section{padding:22px}.kdp-section-head h2,.kdp-form-intro h2,.kdp-export-card h2{font-size:18px;letter-spacing:-.3px}.kdp-section-head p,.kdp-form-intro p,.kdp-export-card p{font-size:12px;line-height:1.9}
.kdp-overview{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.kdp-chart{height:250px;border-color:#e7e9ec}.kdp-chart .kdp-bar{background:linear-gradient(var(--kdp-primary2),var(--kdp-primary));box-shadow:none;max-width:34px;border-radius:6px 6px 2px 2px}.kdp-bar span{font-size:10px;color:#637080}
.kdp-quick-action{background:#fff;gap:16px;max-width:none}.kdp-recent-card,.kdp-user-stats{max-width:none}.kdp-quick-icon,.kdp-form-intro-icon{background:#eef3ff;color:var(--kdp-primary)}.kdp-quick-action h2{font-size:18px}.kdp-quick-action p{font-size:12px}
.kdp-btn{min-height:46px;border-radius:10px;padding:11px 19px;font-size:12px;font-weight:700;box-shadow:none;line-height:1.5}.kdp-btn-primary{background:linear-gradient(160deg,var(--kdp-primary2),var(--kdp-primary));box-shadow:0 3px 9px rgba(41,59,150,.13)}.kdp-btn-primary:hover{box-shadow:0 5px 12px rgba(41,59,150,.18);transform:none}.kdp-btn-light{background:#f0f2f4;color:#3b4858}.kdp-btn-success{background:#128452;box-shadow:none}
.kdp-btn:focus-visible,.kdp-app button:focus-visible,.kdp-app a:focus-visible{outline:3px solid #4565bd;outline-offset:3px}.kdp-btn:disabled{opacity:.55}
.kdp-form-card{padding:26px;max-width:1040px}.kdp-form-intro{margin-bottom:24px;padding-bottom:22px}.kdp-form-grid{gap:22px 20px}.kdp-field label{font-size:12px;font-weight:700;margin-bottom:9px}
.kdp-app input,.kdp-app textarea,.kdp-app select{border:1px solid #dce0e4;border-radius:10px;font-size:13px;background:#fff;min-height:48px;padding:12px 14px}.kdp-app input::placeholder,.kdp-app textarea::placeholder{color:#76818d}.kdp-field-hint{color:#657384;font-size:10px;line-height:1.8}.kdp-app textarea{min-height:120px}
.kdp-actions{margin-top:28px;padding-top:20px}.kdp-settings-layout{gap:20px}.kdp-settings-card{max-width:none}.kdp-settings-actions{border-color:var(--kdp-line);box-shadow:0 8px 25px rgba(24,36,48,.08);border-radius:14px}.kdp-settings-actions>span{font-size:11px}
.kdp-searchbar,.kdp-record-filters{background:#f9f9fa;border-color:#e5e7ea;padding:12px;border-radius:12px}.kdp-record-filters{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(130px,.45fr)) auto}.kdp-record-filters>label span{font-size:10px;color:#5b6878}.kdp-record-tabs{background:#f2f3f5;border-color:#e4e6e8}.kdp-record-tabs button{font-size:11px}.kdp-result-summary{font-size:11px;margin-bottom:12px}
.kdp-table-wrap{border-radius:12px;border-color:#e3e6e9;overscroll-behavior-x:contain}.kdp-table th{background:#f7f8f9;font-size:11px;color:#546170;padding:15px 14px}.kdp-table td{font-size:12px;padding:15px 14px;border-color:#edf0f2}.kdp-table td strong{font-size:12px}.kdp-table tbody tr:hover{background:#fafafb}.kdp-edit{width:44px;height:44px;background:#f4f5f7;color:var(--kdp-primary);border-radius:10px}.kdp-edit svg{width:18px;height:18px}.kdp-badge{font-size:10px;padding:5px 10px}.kdp-badge.admin{background:#edf1f7;color:#526b8e}.kdp-severity-info{background:#edf2f7;color:#425d7b}.kdp-badge.on{color:#167047}.kdp-badge.off{color:#a31a2b}
.kdp-pager button{min-height:44px;font-size:11px}.kdp-pager span{font-size:11px}.kdp-field-builder-note,.kdp-settings-note{background:#f6f7f8;border-color:#e2e5e9;color:#5e6a79}.kdp-empty{min-height:230px}.kdp-empty strong{font-size:15px}.kdp-empty span{font-size:12px;line-height:1.9}
.kdp-export-card{padding:26px}.kdp-export-features>div{background:#fafafb;border-color:#e5e7ea}.kdp-export-features span{font-size:10px}.kdp-export-action{background:#f4faf6;border-color:#e1eee5}.kdp-export-columns label{font-size:12px;min-height:46px;background:#fafafb}.kdp-export-columns legend{font-size:12px}.kdp-export-columns input{min-height:0;padding:0}.kdp-export-buttons .kdp-btn{min-height:48px}
.kdp-health-card{min-height:180px;padding:21px;gap:9px}.kdp-health-card>div{background:#f1f3f5}.kdp-health-card>span{font-size:12px}.kdp-health-card>strong{font-size:17px}.kdp-health-card>small,.kdp-health-actions p{font-size:11px}.kdp-health-list strong{font-size:12px}.kdp-health-list span,.kdp-health-list time{font-size:11px}.kdp-health-note{font-size:11px}.kdp-token-state{font-size:11px}
.kdp-pwa-banner{background:#fff;border-color:#e4e6e9;box-shadow:none}.kdp-pwa-banner strong{font-size:12px}.kdp-pwa-banner small{font-size:10px}.kdp-pwa-banner>button{font-size:11px;min-height:44px}.kdp-modal-card{border-radius:20px;background:#fff}.kdp-close{width:44px;height:44px}.kdp-toast{background:#24313d;line-height:1.9;font-size:13px}.kdp-toast.error{background:#9f2433}
.kdp-login{direction:ltr;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);background:#f7f7f6}.kdp-login-visual{grid-column:1;min-height:100dvh;background:#1d2933;position:relative}.kdp-login-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 44%;z-index:-1}.kdp-login-shade{background:linear-gradient(180deg,rgba(15,25,35,.04) 40%,rgba(10,20,30,.78))}.kdp-photo-caption{position:absolute;bottom:36px;right:36px;left:36px;color:#fff;direction:rtl}.kdp-photo-caption strong{font-size:32px;display:block}.kdp-photo-caption span{display:block;font-size:15px;margin-top:4px}.kdp-photo-caption small{display:block;font-size:10px;margin-top:15px;line-height:1.8;color:#e1e6eb}.kdp-photo-caption a{color:inherit;text-underline-offset:3px}
.kdp-login-panel{grid-column:2;position:relative;display:flex;align-items:center;justify-content:center;padding:48px clamp(28px,5vw,72px);background:#f8f8f7;direction:rtl;min-width:0}.kdp-login-card{padding:36px;width:min(100%,430px);background:#fff;border:1px solid #e8e9eb;border-radius:22px;box-shadow:0 12px 40px rgba(23,34,46,.06)}.kdp-login-card .kdp-brand{display:flex;flex-direction:column;gap:13px;text-align:center;margin-bottom:30px}.kdp-brand .kdp-brand-logo{width:62px;height:62px}.kdp-brand strong{font-size:22px}.kdp-brand small{font-size:10px;color:#637080}.kdp-login-icon{display:none}.kdp-login-card h2{text-align:center;font-size:22px;line-height:1.6;margin-bottom:8px}.kdp-login-card .lead{text-align:center;font-size:12px;line-height:2;margin-bottom:24px}.kdp-login-card .kdp-btn-block{justify-content:center;position:relative;min-height:52px;border-radius:10px}.kdp-login-card .kdp-btn-block b{position:absolute;left:18px}.kdp-login-card .kdp-input-wrap input{font-size:16px;height:54px;border-radius:10px;box-shadow:none;border-color:#dce0e4}.kdp-login-points{font-size:10px;color:#657384;flex-wrap:wrap;justify-content:center;gap:8px 16px}.kdp-login-card label{font-size:12px}.kdp-countdown{font-size:11px;color:#5e6a79}.kdp-code{gap:8px}.kdp-code input{width:48px;min-width:0;min-height:54px;border-radius:9px;font-size:22px}.kdp-back{min-height:44px;font-size:12px}.kdp-attempts{font-size:11px}
.kdp-image-setting{display:grid;gap:10px}.kdp-image-setting img{width:100%;height:180px;object-fit:cover;object-position:center;border:1px solid #e4e6e8;border-radius:12px}.kdp-image-setting label{margin:0}.kdp-image-setting input[type=file]{font-size:12px;padding:10px;max-width:100%}.kdp-image-setting input[type=file]::file-selector-button{font:inherit;border:0;background:#edf0f3;border-radius:7px;padding:8px 12px;margin-inline-end:10px;cursor:pointer}.kdp-image-setting .kdp-btn{white-space:normal}.kdp-image-setting [role=status]{font-size:11px;line-height:1.9;color:#526171}
@media(max-width:1180px){.kdp-shell{grid-template-columns:210px minmax(0,1fr)}.kdp-overview,.kdp-settings-layout{grid-template-columns:1fr}.kdp-record-filters{grid-template-columns:minmax(180px,1fr) 1fr 1fr}.kdp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-login-panel{padding:28px}.kdp-login-card{padding:28px}}
@media(max-width:760px){html,body{background:#f5f5f4}.kdp-shell{display:block;padding-bottom:0}.kdp-sidebar{display:none}.kdp-main{padding:22px 16px calc(104px + env(safe-area-inset-bottom))}.kdp-topbar{gap:12px;margin-bottom:22px}.kdp-top-title{min-width:0}.kdp-top-title h1{font-size:22px;line-height:1.6}.kdp-top-title p{font-size:11px;line-height:1.9}.kdp-user-chip{min-width:0;background:transparent;border:0;padding:0;box-shadow:none}.kdp-user-chip>div:not(.kdp-avatar){display:none}.kdp-avatar{width:40px;height:40px}.kdp-grid{gap:12px}.kdp-stat{display:block;min-height:132px;padding:17px}.kdp-stat-icon{width:38px;height:38px;margin-bottom:10px}.kdp-stat-value{font-size:22px}.kdp-stat-label{font-size:11px}.kdp-stat-sub{display:block;font-size:9px}.kdp-section,.kdp-form-card,.kdp-export-card{padding:19px}.kdp-section-head{gap:12px}.kdp-section-head h2,.kdp-form-intro h2{font-size:17px}.kdp-section-head p,.kdp-form-intro p{font-size:11px}.kdp-quick-action{grid-template-columns:42px minmax(0,1fr);gap:12px}.kdp-quick-action .kdp-btn{grid-column:1/-1;width:100%;min-height:48px}.kdp-quick-action .kdp-btn span{display:inline}.kdp-quick-action p{font-size:11px}.kdp-form-grid{grid-template-columns:1fr;gap:20px}.kdp-field.full{grid-column:1/-1}.kdp-field label{font-size:12px}.kdp-app input,.kdp-app textarea,.kdp-app select{font-size:16px}.kdp-app input[type=checkbox]{font-size:12px;min-height:0}.kdp-form-intro{gap:12px}.kdp-form-intro-icon{width:42px;height:42px}.kdp-actions{flex-wrap:wrap}.kdp-actions .kdp-btn{flex:1;min-width:100px}.kdp-record-filters{grid-template-columns:1fr 1fr;gap:10px;padding:10px}.kdp-record-search,.kdp-record-filters>select,.kdp-record-filters .kdp-btn{grid-column:1/-1}.kdp-log-filters{grid-template-columns:1fr}.kdp-searchbar{grid-template-columns:1fr;gap:10px}.kdp-searchbar .kdp-btn{width:100%}.kdp-searchbar .kdp-btn span{display:inline}.kdp-table th,.kdp-table td{font-size:12px;padding:13px}.kdp-table{min-width:640px}.kdp-chart{height:220px;gap:10px}.kdp-chart .kdp-bar span{font-size:9px}.kdp-settings-actions{bottom:calc(86px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:10px;padding:12px}.kdp-settings-actions>span{text-align:center;font-size:10px}.kdp-health-grid{grid-template-columns:1fr 1fr}.kdp-health-card{padding:17px;min-height:180px}.kdp-health-card>strong{font-size:15px}.kdp-health-card>small{font-size:10px}.kdp-health-list>div{grid-template-columns:1fr}.kdp-export-features{grid-template-columns:1fr}.kdp-export-filter-grid{grid-template-columns:1fr}.kdp-export-action{align-items:stretch;flex-direction:column}.kdp-export-columns>div{grid-template-columns:1fr 1fr}.kdp-export-buttons{display:grid;grid-template-columns:1fr 1fr;width:100%}.kdp-pwa-banner{gap:9px;padding:12px}.kdp-pwa-banner>div{min-width:0}.kdp-pwa-banner strong{font-size:11px}.kdp-pwa-banner>button{flex:0 0 auto}.kdp-bottom-nav{height:calc(76px + env(safe-area-inset-bottom));padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-color:#dfe3e7;box-shadow:0 -3px 18px rgba(20,30,40,.04)}.kdp-bottom-nav button{min-width:0;min-height:48px;flex:1;gap:5px;font-size:10px;color:#5c6877;padding:3px 0}.kdp-bottom-nav button.active{color:var(--kdp-primary)}.kdp-bottom-nav .kdp-mobile-logout{color:#a82732;background:transparent;border-radius:9px}.kdp-bottom-nav svg{width:22px;height:22px}.kdp-fab{display:none}.kdp-mobile-sheet-panel{max-height:calc(100dvh - 140px);overflow:auto;bottom:calc(86px + env(safe-area-inset-bottom));background:#fff;border-radius:20px}.kdp-mobile-sheet-grid button{font-size:11px;background:#f7f8f9;min-height:82px}.kdp-mobile-sheet-grid button.active{background:#eef3ff;border-color:#cbd9f4}.kdp-toast{bottom:calc(90px + env(safe-area-inset-bottom));left:16px;max-width:calc(100% - 32px)}.kdp-login{display:flex;position:relative;align-items:center;justify-content:center;min-height:100dvh;padding:28px 16px}.kdp-login-visual{position:absolute;inset:0;min-height:100%;grid-column:auto}.kdp-login-photo{object-position:center 42%}.kdp-login-shade{background:rgba(14,24,34,.34)}.kdp-photo-caption{display:none}.kdp-login-panel{position:relative;inset:auto;min-height:0;width:100%;padding:0;background:transparent;grid-column:auto}.kdp-login-card{width:min(100%,420px);margin:0;border-radius:22px;padding:28px 24px;background:rgba(255,255,255,.98);box-shadow:0 14px 50px rgba(10,20,30,.22)}.kdp-login-card .kdp-brand{margin-bottom:26px}.kdp-brand .kdp-brand-logo{width:56px;height:56px}.kdp-login-card h2{font-size:23px}.kdp-login-card .kdp-btn-block{min-height:54px;width:100%;justify-content:center}.kdp-code input{width:46px;font-size:22px}.kdp-modal{padding:16px}.kdp-modal-card{max-height:calc(100dvh - 32px);padding:22px}.kdp-export-columns input{min-height:0}.kdp-image-setting img{height:170px}}
@media(max-width:380px){.kdp-main{padding-inline:12px}.kdp-stats,.kdp-user-stats{grid-template-columns:1fr 1fr}.kdp-stat{display:block;padding:14px}.kdp-stat-sub{display:none}.kdp-login-card{padding:26px 20px}.kdp-code{gap:6px}.kdp-code input{width:42px}.kdp-health-grid,.kdp-export-buttons,.kdp-export-columns>div{grid-template-columns:1fr}.kdp-top-title h1{font-size:20px}.kdp-mobile-sheet-grid{grid-template-columns:1fr 1fr}.kdp-pager{gap:7px}}
@media(max-width:760px){.kdp-record-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-export-columns>div{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-photo-caption{display:block;bottom:7px;right:16px;left:16px;text-align:center}.kdp-photo-caption strong,.kdp-photo-caption span{display:none}.kdp-photo-caption small{font-size:9px;margin:0}.kdp-login{padding-block:32px}}
[data-locality]{cursor:pointer;background:#fafafb!important;padding-inline-end:42px!important;background-image:linear-gradient(45deg,transparent 50%,#657080 50%),linear-gradient(135deg,#657080 50%,transparent 50%)!important;background-position:18px 50%,23px 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important}
.kdp-locality-dialog{width:min(100%,560px);display:flex;flex-direction:column;max-height:calc(100dvh - 40px);gap:12px;overflow:hidden}.kdp-locality-dialog .kdp-modal-head{margin:0}.kdp-locality-dialog small{color:var(--kdp-muted)}.kdp-locality-dialog #locality-status{font-size:12px;min-height:22px}.kdp-locality-results{overflow:auto;min-height:80px;max-height:44dvh;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px}.kdp-locality-option{width:100%;min-height:64px;flex-shrink:0;border:1px solid var(--kdp-line);background:#fafafb;padding:12px 14px;border-radius:12px;text-align:right;color:var(--kdp-text)}.kdp-locality-option:hover,.kdp-locality-option[aria-current=true]{background:#fff1f2;border-color:#b5c7f0}.kdp-locality-option strong,.kdp-locality-option span{display:block}.kdp-locality-option strong{font-size:14px}.kdp-locality-option span{font-size:11px;color:var(--kdp-muted);margin-top:4px}.kdp-locality-pager{display:flex;align-items:center;justify-content:space-between;gap:8px}.kdp-locality-pager button{min-height:44px;min-width:80px}.kdp-locality-pager span{font-size:12px}.kdp-locality-source{font-size:10px}
@media(max-width:760px){.kdp-locality-dialog{padding:20px;width:100%;max-height:calc(100dvh - 32px)}.kdp-locality-results{max-height:44dvh}.kdp-locality-dialog input{font-size:16px}.kdp-locality-option{min-height:64px}}
/* Keep the dashboard quick action stable in RTL mobile layouts. */
.kdp-field-error{display:block;color:#a41725;font-size:12px;line-height:1.9;margin-top:7px;text-align:right}
.kdp-name-migration-note{padding:14px 16px;margin-bottom:22px;background:#fff8e9;border:1px solid #ecd6a8;border-radius:12px;text-align:right;font-size:12px;line-height:1.9;color:#705321}
.kdp-name-migration-note p{margin:5px 0 0;white-space:normal}
.kdp-field-error[hidden]{display:none}
.kdp-app [aria-invalid=true]{border-color:#bf1827!important;box-shadow:0 0 0 1px #bf1827}
.kdp-edit:disabled{opacity:.35;cursor:not-allowed}
.kdp-entry-card input,.kdp-entry-card textarea,.kdp-entry-card select{direction:rtl;text-align:right}
.kdp-entry-card input::placeholder,.kdp-entry-card textarea::placeholder{text-align:right}
@media(max-width:760px){
  .kdp-quick-action{display:grid;grid-template-columns:minmax(0,1fr) 42px;grid-template-areas:"copy icon" "button button";align-items:center;width:100%;min-width:0;gap:14px 12px;padding:19px}
  .kdp-quick-action>.kdp-quick-icon{display:grid;grid-area:icon;width:42px;height:42px;margin:0}
  .kdp-quick-action>div:nth-child(2){grid-area:copy;min-width:0;width:100%}
  .kdp-quick-action>div:nth-child(2) h2,.kdp-quick-action>div:nth-child(2) p{width:100%;max-width:none;white-space:normal;overflow-wrap:normal;word-break:normal}
  .kdp-quick-action>div:nth-child(2) h2{font-size:18px;line-height:1.65}
  .kdp-quick-action>div:nth-child(2) p{font-size:11px;line-height:2}
  .kdp-quick-action>.kdp-btn{grid-area:button;width:100%;min-height:52px;padding-inline:16px}
  .kdp-quick-action>.kdp-btn span{display:inline}
}
.kdp-login-card .kdp-code-single{display:block;max-width:280px;margin:0 auto 18px;direction:ltr}
.kdp-login-card .kdp-code-single input{width:100%;height:62px;font-size:26px;letter-spacing:.6em;padding:0 8px 0 24px;text-align:center;direction:ltr;caret-color:var(--kdp-primary)}
.kdp-login-progress{font-size:11px;line-height:1.8;text-align:center;color:#637080;margin:8px 0 0;min-height:0}
.kdp-login-progress:empty{display:none}
.kdp-code-single .kdp-field-error{text-align:right;direction:rtl;letter-spacing:normal}
.kdp-users-panel .kdp-users-head{align-items:center;gap:20px;margin-bottom:20px}
.kdp-users-head>div{min-width:0}
.kdp-users-head>[data-add-user]{flex:0 0 auto;min-height:44px;padding:10px 18px;white-space:nowrap;gap:8px}
.kdp-users-head>[data-add-user] svg{width:20px;height:20px;flex:0 0 20px}
.kdp-users-panel .kdp-users-table{table-layout:fixed;min-width:840px}
.kdp-users-table .kdp-user-name-col{width:14%}
.kdp-users-table .kdp-user-mobile-col{width:20%}
.kdp-users-table .kdp-user-role-col{width:11%}
.kdp-users-table .kdp-user-count-col{width:8%}
.kdp-users-table .kdp-user-status-col{width:13%}
.kdp-users-table .kdp-user-actions-col{width:20%}
.kdp-users-table th:last-child,.kdp-users-table td:last-child{padding-inline:8px!important}
.kdp-users-panel .kdp-users-table th,.kdp-users-panel .kdp-users-table td{padding:14px 16px;vertical-align:middle;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.kdp-users-panel .kdp-users-table td{height:72px}
.kdp-users-table .kdp-user-center{text-align:center}
.kdp-users-table .kdp-badge{white-space:nowrap}
.kdp-user-mobile{white-space:nowrap;font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.kdp-user-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;direction:rtl;min-height:44px}
.kdp-user-actions .kdp-edit,.kdp-user-action-space{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;margin:0;vertical-align:middle;line-height:1;border-radius:10px}
.kdp-user-actions .kdp-edit svg{width:18px;height:18px;flex:none}
.kdp-user-actions .kdp-danger-btn{font-size:20px}
.kdp-user-delete-dialog{max-width:540px}
.kdp-user-delete-dialog .kdp-section p{line-height:1.9;margin:0 0 12px}
.kdp-user-delete-dialog .kdp-user-dialog-footer{display:flex;gap:12px;padding:20px 24px;border-top:1px solid var(--kdp-line)}
.kdp-user-delete-dialog .kdp-danger-btn{background:#b91c1c!important;color:#fff!important}
.kdp-user-delete-dialog .kdp-danger-btn:hover{background:#991b1b!important}
.kdp-user-status{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}
.kdp-user-protected{font-size:9px;line-height:1.5;color:#637080;white-space:nowrap}
.kdp-user-cards{display:none}
@media(max-width:760px){
 .kdp-users-panel .kdp-users-head{align-items:stretch;gap:14px;flex-direction:column}
 .kdp-users-head>[data-add-user]{width:100%;min-height:48px;justify-content:center}
 .kdp-users-table-wrap{display:none}
 .kdp-user-cards{display:grid;gap:12px}
 .kdp-user-card{background:#fff;border:1px solid #e3e6e9;border-radius:14px;padding:16px;min-width:0}
 .kdp-user-card-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:0}
 .kdp-user-card-details>div{min-width:0}
 .kdp-user-card-details dt{font-size:10px;color:#637080;line-height:1.8;margin-bottom:4px}
 .kdp-user-card-details dd{font-size:13px;line-height:1.8;margin:0;overflow-wrap:anywhere}
 .kdp-user-card-details .kdp-user-card-phone{grid-column:1/-1}
 .kdp-user-card-details bdi{font-variant-numeric:tabular-nums;white-space:nowrap}
 .kdp-user-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f2}
 .kdp-user-card-footer>.kdp-user-status{align-items:flex-start}
 .kdp-user-card-footer .kdp-user-actions{justify-content:flex-end}
}

/* Admin locality catalogue */
.kdp-localities-panel .kdp-section-head{align-items:center;margin-bottom:20px}
.kdp-locality-toolbar{display:grid;grid-template-columns:auto minmax(260px,1fr);align-items:center;gap:12px;padding:12px;margin-bottom:18px;border:1px solid #e5e7ea;border-radius:12px;background:#f9f9fa}
.kdp-locality-toolbar .kdp-record-tabs{width:max-content;min-width:330px}
.kdp-locality-toolbar .kdp-record-tabs button{flex:1;justify-content:center;white-space:nowrap}
.kdp-locality-search{height:48px;background:#fff}
.kdp-locality-search input{height:46px;min-width:0}
.kdp-localities-table{min-width:820px;table-layout:fixed}
.kdp-localities-table th:nth-child(1){width:19%}.kdp-localities-table th:nth-child(2){width:11%}.kdp-localities-table th:nth-child(3){width:19%}.kdp-localities-table th:nth-child(4){width:23%}.kdp-localities-table th:nth-child(5){width:15%}.kdp-localities-table th:nth-child(6){width:13%}
.kdp-localities-table th,.kdp-localities-table td{vertical-align:middle}
.kdp-locality-actions{display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl}
.kdp-locality-cards{display:none}
#locality-form .kdp-field label small{color:var(--kdp-muted);font-size:10px;font-weight:500}

@media(max-width:760px){
 .kdp-localities-panel .kdp-section-head{align-items:stretch}
 .kdp-localities-panel [data-add-locality]{width:100%;justify-content:center}
 .kdp-locality-toolbar{grid-template-columns:1fr;padding:10px}
 .kdp-locality-toolbar .kdp-record-tabs{width:100%;min-width:0;overflow-x:auto}
 .kdp-locality-toolbar .kdp-record-tabs button{padding-inline:8px;font-size:10px}
 .kdp-localities-table-wrap{display:none}
 .kdp-locality-cards{display:grid;gap:12px}
 .kdp-locality-card{padding:15px;border:1px solid #e3e6e9;border-radius:14px;background:#fff}
 .kdp-locality-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf0f2}
 .kdp-locality-card header strong{font-size:15px}
 .kdp-locality-card dl{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;margin:14px 0 0}
 .kdp-locality-card dl>div{min-width:0}.kdp-locality-card dt{margin-bottom:4px;color:var(--kdp-muted);font-size:10px}.kdp-locality-card dd{margin:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .kdp-locality-card footer{display:flex;justify-content:flex-end;margin-top:13px;padding-top:11px;border-top:1px solid #edf0f2}
 .kdp-locality-card .kdp-locality-actions{justify-content:flex-end}
}
/* Telecom workflow shares the portal controls; the reproduced paper has its own supplied fonts. */
@font-face{font-family:KDPBNazanin;src:url('fonts/B-NAZANIN.TTF') format('truetype');font-display:swap}
@font-face{font-family:KDPBTitr;src:url('fonts/B%20Titr%20Bold_0.ttf') format('truetype');font-weight:700;font-display:swap}
.kdp-applicant-modal{width:min(700px,calc(100vw - 32px));max-height:90dvh;overflow:auto}
.kdp-telecom-extra[hidden]{display:none!important}.kdp-checks{display:flex;gap:24px;align-items:center}.kdp-checks label{display:flex;align-items:center;gap:8px}.kdp-checks input,.kdp-tc-agreement input{width:22px;height:22px;accent-color:var(--kdp-primary)}
.kdp-tc-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end;margin-bottom:24px}.kdp-tc-stats{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.kdp-tc-stats>div{background:#f5f6f8;padding:16px 22px;border-radius:14px;display:grid;gap:6px}.kdp-tc-stats span{font-size:14px;color:#687582}.kdp-tc-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0}.kdp-tc-summary>div{display:flex;gap:8px}.kdp-tc-time{display:block;color:#687582;font-size:12px;margin-top:8px}.kdp-tc-cards{display:none}.kdp-tc-table .kdp-table{min-width:960px}.kdp-tc-table button svg{width:20px;height:20px}
.kdp-telecom-customer{max-width:1060px;margin:auto;padding:28px 24px 60px}.kdp-telecom-top,.kdp-telecom-top>div{display:flex;justify-content:space-between;align-items:center;gap:14px}.kdp-telecom-top .kdp-brand-logo{width:48px;height:48px}.kdp-tc-form-status{margin:28px 0 20px}.kdp-tc-form-status h1{font-size:24px}.kdp-tc-form-status p{color:#687582;margin:10px 0}.kdp-paper-scroll{overflow-x:auto;padding:4px 0 16px;overscroll-behavior-x:contain}.kdp-118-paper{width:100%;min-width:760px;max-width:960px;margin:auto;background:#fff;color:#111;padding:14px;border:5px double #151515;box-shadow:0 4px 24px #00000008;font-family:KDPBNazanin,serif;font-size:20px;line-height:1.7;direction:rtl}.kdp-118-paper *{font-family:inherit}.kdp-118-paper h2,.kdp-118-paper h3,.kdp-118-paper th{font-family:KDPBTitr,KDPBNazanin,serif;font-weight:700}.kdp-paper-head{display:grid;grid-template-columns:24% 46% 30%;border:1px solid #111;min-height:150px}.kdp-paper-head>div,.kdp-paper-head h2{padding:12px;margin:0;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.kdp-paper-head h2{font-size:21px;border-inline:1px solid #111;line-height:1.8}.kdp-paper-head p{margin:6px 0}.kdp-paper-logo img{width:105px;height:102px;object-fit:contain}.kdp-paper-logo strong{font-size:21px}.kdp-paper-body{padding:12px 4px}.kdp-paper-body p{margin:12px 0;text-align:justify}.kdp-paper-value{display:inline-block;min-width:75px;border-bottom:1px dotted #333;font-weight:700;text-align:center;padding:0 5px;line-height:1.3}.kdp-paper-check{width:17px;height:17px;border:1px solid #111;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;font-family:Arial,sans-serif;font-size:14px}.kdp-paper-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 14px;padding:14px 12px}.kdp-paper-numbers>div{display:flex;gap:10px}.kdp-paper-numbers .kdp-paper-value{flex:1}.kdp-paper-line{min-height:38px}.kdp-paper-note{font-size:19px;font-weight:700;line-height:1.5;margin-bottom:0!important}.kdp-118-paper table{width:100%;border-collapse:collapse;table-layout:fixed;color:#111;font-size:inherit}.kdp-118-paper td,.kdp-118-paper th{border:1px solid #111;padding:3px 6px;vertical-align:middle;line-height:1.45;background:transparent}.kdp-118-paper th{background:#eee;text-align:center;font-size:16px}.kdp-paper-signatures td:nth-child(2),.kdp-paper-signatures td:nth-child(4){width:15%}.kdp-paper-signatures td{height:155px;vertical-align:top;padding:15px 8px}.kdp-paper-signatures th:first-child,.kdp-paper-signatures th:nth-child(3){width:35%}.kdp-paper-signatures th:nth-child(2),.kdp-paper-signatures th:nth-child(4){width:15%}.kdp-paper-signatures .kdp-paper-value{font-size:16px;min-width:55px}.kdp-paper-officer{display:flex;justify-content:space-between;gap:15px;padding:22px 0}.kdp-118-paper hr{border:0;border-top:2px solid #111;margin:0}.kdp-paper-doc-title{font-size:18px;margin-bottom:0!important}.kdp-paper-documents{display:flex;flex-wrap:wrap;justify-content:center;column-gap:12px;font-size:18px;line-height:1.55}.kdp-118-paper h3{font-size:19px;margin:18px 0;text-align:right}.kdp-paper-tariffs td{text-align:center;font-size:20px}.kdp-paper-tariffs th{height:55px}.kdp-paper-footer{max-width:650px;margin:36px auto 8px}.kdp-paper-footer td{text-align:center;height:32px}.kdp-paper-modal{width:min(1060px,calc(100vw - 28px));max-height:94dvh;overflow:auto}.kdp-tc-confirm{padding:24px;margin-top:16px}.kdp-tc-agreement{display:flex;gap:12px;align-items:center;font-weight:700;margin-bottom:20px}.kdp-tc-confirm #tc-consent{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.kdp-tc-confirm .kdp-tc-agreement{margin:0}.kdp-tc-confirm #tc-code-form{margin-top:24px;border-top:1px solid #e1e5e9;padding-top:24px;display:flex;gap:12px;align-items:end;flex-wrap:wrap}.kdp-tc-confirm #tc-code-form .kdp-field{flex:1;min-width:180px}.kdp-tc-confirm input[name=code]{letter-spacing:10px;text-align:center;direction:ltr}.kdp-telecom-thanks{min-height:100dvh;display:grid;place-items:center;padding:24px}.kdp-telecom-thanks>div{text-align:center;background:#fff;border-radius:24px;padding:40px;max-width:550px}.kdp-telecom-thanks img{width:64px;height:64px;margin-bottom:20px}.kdp-telecom-thanks h1{font-size:26px}.kdp-telecom-thanks p{margin:16px 0 28px;color:#687582}
@media(max-width:760px){.kdp-tc-filters{grid-template-columns:1fr 1fr}.kdp-tc-filters .kdp-field:first-child{grid-column:1/-1}.kdp-tc-table{display:none}.kdp-tc-cards{display:grid;gap:14px}.kdp-tc-summary{align-items:flex-start;flex-direction:column}.kdp-tc-summary .kdp-btn{padding:10px 16px;font-size:14px}.kdp-telecom-customer{padding:18px 16px 40px}.kdp-telecom-top strong{font-size:15px}.kdp-telecom-top .kdp-btn{padding:10px}.kdp-tc-confirm{padding:20px}.kdp-tc-confirm button{width:100%}.kdp-telecom-customer .kdp-paper-scroll{border-radius:8px;border:1px solid #e0e3e7;background:#fff}.kdp-applicant-modal .kdp-form-grid{grid-template-columns:1fr}.kdp-tc-filters input{min-width:0;width:100%}}
@media print{body{background:#fff}.kdp-118-paper{box-shadow:none;min-width:0;max-width:none;width:100%;font-size:17px}.kdp-telecom-top,.kdp-tc-form-status,.kdp-tc-confirm,.kdp-sidebar,.kdp-bottom-nav{display:none!important}.kdp-telecom-customer{padding:0;max-width:none}.kdp-paper-scroll{overflow:visible;padding:0}.kdp-paper-head{min-height:125px}.kdp-paper-signatures td{height:120px}.kdp-paper-footer{margin-top:20px}}
.kdp-paper-viewer .kdp-118-paper{transform-origin:top right}.kdp-paper-zoom{margin-bottom:12px;font-size:14px}.kdp-paper-zoom[hidden],.kdp-paper-pan[hidden]{display:none}.kdp-paper-pan{display:block;color:#687582;padding:8px 0}.kdp-paper-logo img{width:170px;height:120px;max-width:100%;object-fit:contain}.kdp-paper-signatures th{width:auto!important}
.kdp-audit-details{margin-top:8px;max-width:380px}.kdp-audit-details summary{color:var(--kdp-primary);cursor:pointer}.kdp-audit-details pre{direction:ltr;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:#f5f6f8;border-radius:8px;font-size:12px}
.kdp-tc-filters .kdp-field{min-width:0}.kdp-tc-filters input,.kdp-tc-filters select{min-width:0;max-width:100%;width:100%}
.kdp-telecom-extra{grid-column:1/-1;min-width:0}.kdp-telecom-extra[hidden]{display:none}.kdp-applicant-modal .kdp-checks{flex-wrap:wrap;min-width:0}
@media(max-width:760px){.kdp-tc-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-tc-filters .kdp-btn{min-width:0;width:100%;padding-inline:10px;font-size:14px}}
@media print{.kdp-paper-zoom,.kdp-paper-pan{display:none!important}.kdp-paper-viewer .kdp-118-paper{transform:none!important;width:100%!important}.kdp-paper-viewer .kdp-paper-scroll{height:auto!important;overflow:visible!important}}
/* Applicant dialog: only the body scrolls; both actions stay in view. */
.kdp-modal:has(.kdp-applicant-modal){padding:24px}
.kdp-modal-card.kdp-applicant-modal{width:min(820px,100%);max-height:calc(100dvh - 48px);padding:0;display:flex;flex-direction:column;overflow:hidden;border-radius:24px;min-height:0;box-shadow:0 24px 90px #12202e30}
.kdp-applicant-modal .kdp-modal-head{flex-shrink:0;padding:22px 28px;margin:0;border-bottom:1px solid #e7e9ec;gap:16px}
.kdp-applicant-modal .kdp-modal-head h2{font-size:22px;line-height:1.6;margin:0}
.kdp-applicant-modal .kdp-close{flex-shrink:0;width:44px;height:44px;border-radius:12px}
.kdp-applicant-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px 28px;scroll-padding-block:20px;-webkit-overflow-scrolling:touch}
.kdp-applicant-section{margin:0;padding:0;border:0;min-width:0}
.kdp-applicant-section+.kdp-applicant-section{margin-top:24px;padding-top:22px;border-top:1px solid #edf0f2}
.kdp-applicant-section h3{margin:0 0 16px;font-size:14px;line-height:1.6;color:var(--kdp-primary)}
.kdp-applicant-modal .kdp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.kdp-applicant-modal .kdp-field{min-width:0;margin:0;text-align:right}
.kdp-applicant-modal .kdp-field label{font-size:13px;line-height:1.6;margin-bottom:8px}
.kdp-applicant-modal .kdp-field input:not([type=checkbox]),.kdp-applicant-modal .kdp-field select{min-height:48px;padding:11px 14px;font-size:16px;line-height:1.5;max-width:100%;text-align:right;border-radius:12px}
.kdp-applicant-modal .kdp-field input[inputmode=numeric]{direction:ltr;text-align:right}
.kdp-applicant-modal .kdp-checks{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;align-items:stretch}
.kdp-applicant-modal .kdp-checks legend{font-size:13px;font-weight:700;line-height:1.6;padding:0;margin-bottom:8px}
.kdp-applicant-modal .kdp-checks label{margin:0;border:1px solid #dce1e6;border-radius:12px;min-height:48px;padding:10px;gap:8px;font-size:13px;cursor:pointer;background:#fafbfc}
.kdp-applicant-modal .kdp-checks label:has(:checked){border-color:var(--kdp-primary);background:#eef3ff}
.kdp-applicant-modal .kdp-checks input{flex:none;margin:0;width:20px;height:20px;min-height:0;padding:0}
.kdp-applicant-footer{flex-shrink:0;padding:18px 28px;border-top:1px solid #e7e9ec;background:#fafbfc;display:flex;align-items:center;justify-content:space-between;gap:16px}
.kdp-applicant-footer>span{font-size:11px;color:#687582;line-height:1.8}
.kdp-applicant-actions{display:flex;gap:10px;align-items:center}
.kdp-applicant-actions .kdp-btn{min-height:48px;font-size:14px;padding:12px 24px;margin:0;border-radius:12px;white-space:nowrap}
.kdp-applicant-actions .kdp-btn-primary{min-width:158px}
@media(max-width:600px){
 .kdp-modal:has(.kdp-applicant-modal){padding:10px}
 .kdp-modal-card.kdp-applicant-modal{max-height:calc(100dvh - 20px);border-radius:20px}
 .kdp-applicant-modal .kdp-modal-head{padding:16px 18px}.kdp-applicant-modal .kdp-modal-head h2{font-size:18px}
 .kdp-applicant-body{padding:20px 18px}.kdp-applicant-modal .kdp-form-grid{grid-template-columns:1fr;gap:18px}
 .kdp-applicant-section+.kdp-applicant-section{margin-top:22px;padding-top:20px}
 .kdp-applicant-footer{padding:14px 18px max(14px,env(safe-area-inset-bottom));display:block}
 .kdp-applicant-footer>span{display:block;margin-bottom:8px}
 .kdp-applicant-actions{display:grid;grid-template-columns:1fr 2fr}.kdp-applicant-actions .kdp-btn{padding-inline:10px;min-width:0}
}
/* Readable mobile document, with the unchanged paper layout as an option. */
.kdp-paper-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.kdp-paper-table-scroll:focus-visible{outline:3px solid var(--kdp-primary);outline-offset:3px}
.kdp-paper-pan{font-size:12px;line-height:1.9;white-space:normal;overflow-wrap:anywhere}
@media screen{
.kdp-paper-compact:not(.kdp-paper-original) .kdp-118-paper{min-width:0;width:100%;padding:10px;border-width:3px;font-size:19px;line-height:1.9}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-scroll{overflow-x:visible;padding:0;border:0;border-radius:0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-head{grid-template-columns:100px minmax(0,1fr);min-height:0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-head>div,.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-head h2{padding:10px 8px;min-width:0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-head h2{font-size:16px;border-inline-start:0;border-inline-end:1px solid #111;line-height:1.9}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-logo img{width:90px;height:68px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-logo strong{font-size:16px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-head>div:last-child{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:12px;border-top:1px solid #111;font-size:18px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-body{padding:8px 0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-body p{text-align:right;overflow-wrap:anywhere}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-value{min-width:45px;max-width:100%;overflow-wrap:anywhere}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:12px 0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-numbers>div{min-width:0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-note{font-size:19px;line-height:1.8;margin-bottom:14px!important}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-signatures{min-width:620px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-tariffs{min-width:620px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-officer{flex-direction:column;gap:8px;padding:16px 0}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-documents{justify-content:flex-start;font-size:19px;gap:8px}
.kdp-paper-compact:not(.kdp-paper-original) .kdp-paper-footer{margin:24px auto 0}
.kdp-paper-original .kdp-118-paper{width:760px;min-width:760px}
}
@media(max-width:760px){.kdp-telecom-customer{padding-inline:12px}.kdp-tc-confirm #tc-consent{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:20px;width:100%}.kdp-tc-agreement{font-size:15px;line-height:1.8;align-items:flex-start}.kdp-tc-agreement input{flex:none;margin-top:3px}.kdp-tc-confirm .kdp-btn{font-size:15px;min-height:48px;white-space:normal}.kdp-tc-confirm #tc-code-form .kdp-field{min-width:0;width:100%;flex-basis:100%}}
@media print{.kdp-paper-compact:not(.kdp-paper-original) .kdp-118-paper{min-width:0}.kdp-paper-table-scroll{overflow:visible}.kdp-paper-compact .kdp-paper-signatures,.kdp-paper-compact .kdp-paper-tariffs{min-width:0!important}}
/* Applicant directory: scoped controls, aligned date range, and compact results. */
.kdp-tc-panel{padding:24px;min-width:0;container-type:inline-size;container-name:applicants}
.kdp-tc-panel .kdp-section-head{margin-bottom:22px;align-items:center;flex-direction:row;text-align:right}
.kdp-tc-panel .kdp-section-head h2{font-size:20px;line-height:1.6}
.kdp-tc-panel #add-applicant{min-height:48px;gap:8px;padding:12px 20px;font-size:13px;white-space:nowrap}
.kdp-tc-panel #add-applicant svg{width:20px;height:20px}
.kdp-tc-panel .kdp-tc-filters{display:block;padding:18px;background:#f8f9fa;border:1px solid #e6e9ec;border-radius:14px;margin:0 0 22px}
.kdp-tc-filter-main{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px}
.kdp-tc-filter-main.has-creator{grid-template-columns:minmax(0,2fr) repeat(2,minmax(150px,1fr))}
.kdp-tc-filter-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid #e5e8eb}
.kdp-tc-panel .kdp-tc-filter-bottom>.kdp-field{grid-column:auto}
.kdp-tc-panel .kdp-field{min-width:0;margin:0}
.kdp-tc-panel .kdp-field label{font-size:12px;line-height:1.7;margin-bottom:7px}
.kdp-tc-panel .kdp-field input,.kdp-tc-panel .kdp-field select{height:48px;min-height:48px;padding:10px 12px;font-size:14px;line-height:1.5;border-radius:10px;background:#fff;text-align:right}
.kdp-tc-panel input[type=date]{direction:ltr;text-align:left}
.kdp-tc-search{position:relative;min-width:0}
.kdp-tc-search>span{position:absolute;inset-inline-start:13px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#778493;pointer-events:none}
.kdp-tc-search svg{width:19px;height:19px}
.kdp-tc-panel .kdp-tc-search input{padding-inline-start:40px}
.kdp-tc-panel .kdp-tc-filter-submit{min-height:48px;padding:10px 22px;gap:8px;font-size:13px;border:1px solid #d6dce2;background:#fff;white-space:nowrap}
.kdp-tc-panel .kdp-tc-filter-submit svg{width:18px;height:18px}
.kdp-tc-panel .kdp-tc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 20px}
.kdp-tc-panel .kdp-tc-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #e7e9ec;border-radius:12px;background:#fff}
.kdp-tc-panel .kdp-tc-stats strong{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.kdp-tc-stat-values{display:flex;gap:14px;flex-shrink:0}
.kdp-tc-panel .kdp-tc-stat-values span{font-size:10px;white-space:nowrap}.kdp-tc-stat-values b{font-size:14px;color:#263542;margin-inline-end:3px}
.kdp-tc-panel .kdp-tc-summary{margin:0 0 16px;min-height:44px;align-items:center}
.kdp-tc-summary>span{font-size:12px;color:#65717f}.kdp-tc-summary>span strong{font-size:18px;color:#23313f;margin-inline-end:5px}
.kdp-tc-panel .kdp-tc-summary>div{gap:8px;flex-wrap:wrap}
.kdp-tc-panel .kdp-tc-summary .kdp-btn{min-height:44px;font-size:12px;padding:10px 14px;gap:6px;background:#f4f6f8;border:1px solid #e7e9ec}
.kdp-tc-summary .kdp-btn svg{width:17px;height:17px}
.kdp-tc-panel .kdp-tc-table{border-radius:12px;overscroll-behavior-x:contain}
.kdp-tc-panel .kdp-table{min-width:880px;table-layout:auto}
.kdp-tc-panel .kdp-table th,.kdp-tc-panel .kdp-table td{padding:15px 10px;font-size:12px;line-height:1.8;vertical-align:middle}
.kdp-tc-panel .kdp-table th{font-size:11px;background:#f5f7f8;color:#596775}
.kdp-tc-panel .kdp-table td strong{font-size:13px}
.kdp-tc-panel .kdp-table th:first-child,.kdp-tc-panel .kdp-table td:first-child{padding-inline-start:16px;min-width:125px;white-space:normal}
.kdp-tc-panel .kdp-table td:nth-child(3),.kdp-tc-panel .kdp-table td:nth-child(4){max-width:160px;white-space:normal;overflow-wrap:anywhere}
.kdp-tc-panel .kdp-table tbody tr:hover{background:#fafbfc}
.kdp-tc-panel .kdp-badge{font-size:10px;line-height:1.7;padding:5px 9px;white-space:nowrap;gap:6px}
.kdp-tc-panel .kdp-badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%;flex:none}
.kdp-tc-panel .kdp-tc-dates>span{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}
.kdp-tc-dates small{color:#74808c;font-size:10px;min-width:24px}.kdp-tc-panel .kdp-tc-time{margin-top:4px}
.kdp-tc-panel .kdp-table th:last-child,.kdp-tc-panel .kdp-table td:last-child{text-align:center;width:154px}
.kdp-tc-panel .kdp-tc-actions{gap:6px;justify-content:center}
.kdp-tc-panel .kdp-tc-action{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e5e9ed;border-radius:10px;background:#f6f8fa;color:#4b5e70;gap:6px}
.kdp-tc-panel .kdp-tc-action svg{width:18px;height:18px;flex:none}
.kdp-tc-panel .kdp-tc-action span{display:none}
.kdp-tc-panel .kdp-tc-action[data-tc-edit]{color:var(--kdp-primary);background:#eef3ff;border-color:#cbd9f4}
.kdp-tc-panel .kdp-tc-action:hover{background:#eaf0f5;border-color:#cfd8e1}
.kdp-tc-panel .kdp-tc-action:disabled{opacity:.5;cursor:wait}
.kdp-tc-panel .kdp-tc-card{padding:16px;border-radius:14px;background:#fff}
.kdp-tc-card header{gap:12px}.kdp-tc-card header strong{font-size:14px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.kdp-tc-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:16px 0 0}
.kdp-tc-card dl>div{min-width:0}.kdp-tc-card dt{font-size:11px;color:#74808c;margin-bottom:4px}.kdp-tc-card dd{margin:0;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.kdp-tc-card footer{border-top:1px solid #edf0f2;padding-top:14px;margin-top:16px}
@media(max-width:1100px){
 .kdp-tc-panel .kdp-tc-table{display:none}.kdp-tc-panel .kdp-tc-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .kdp-tc-panel .kdp-tc-action{width:auto;min-width:44px;padding:8px 10px;font-size:11px}.kdp-tc-panel .kdp-tc-action span{display:inline}
 .kdp-tc-filter-main.has-creator{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-tc-filter-main.has-creator>.kdp-field:first-child{grid-column:1/-1}
}
@media(max-width:760px){
 .kdp-tc-panel{padding:16px}.kdp-tc-panel .kdp-section-head{align-items:center;gap:12px;margin-bottom:20px}.kdp-tc-panel .kdp-section-head h2{font-size:17px}
 .kdp-tc-panel #add-applicant{font-size:12px;min-height:44px;padding:10px 12px;gap:5px}.kdp-tc-panel #add-applicant svg{width:18px;height:18px}
 .kdp-tc-panel .kdp-tc-filters{padding:14px;margin-bottom:18px}
 .kdp-tc-filter-main,.kdp-tc-filter-main.has-creator{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .kdp-tc-filter-main>.kdp-field:first-child{grid-column:1/-1}.kdp-tc-filter-main:not(.has-creator)>.kdp-field:nth-child(2){grid-column:1/-1}
 .kdp-tc-filter-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;padding-top:14px}
 .kdp-tc-panel .kdp-tc-filter-submit{grid-column:1/-1;width:100%;font-size:13px}
 .kdp-tc-panel .kdp-field input,.kdp-tc-panel .kdp-field select{font-size:16px;min-width:0;width:100%}
 .kdp-tc-panel input[type=date]{font-size:16px;max-width:100%;padding-inline:8px}
 .kdp-tc-panel .kdp-tc-summary{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:14px}
 .kdp-tc-panel .kdp-tc-summary .kdp-btn{font-size:11px;padding:10px;min-width:0}
 .kdp-tc-panel .kdp-tc-cards{grid-template-columns:1fr;gap:14px}
 .kdp-tc-card footer .kdp-tc-actions{justify-content:flex-start}.kdp-tc-panel .kdp-tc-card .kdp-tc-action{flex:1;padding-inline:6px;font-size:12px}
 .kdp-tc-panel .kdp-tc-stats{grid-template-columns:1fr}.kdp-tc-panel .kdp-tc-stats>div{padding:12px 14px}
}
@media(max-width:380px){.kdp-tc-panel .kdp-section-head{align-items:stretch;flex-direction:column}.kdp-tc-panel #add-applicant{width:100%}.kdp-tc-panel .kdp-tc-filter-main,.kdp-tc-panel .kdp-tc-filter-bottom{grid-template-columns:minmax(0,1fr)}.kdp-tc-panel .kdp-tc-summary>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.kdp-tc-panel .kdp-tc-card .kdp-tc-action{font-size:11px;gap:4px}}
/* Keep the menu independently scrollable, with a reachable logout at any height. */
@container applicants (min-width:800px){
 .kdp-tc-panel .kdp-tc-filters:not(.has-creator){display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(130px,1fr) repeat(2,minmax(140px,1fr)) auto;align-items:end;gap:12px}
 .kdp-tc-filters:not(.has-creator) .kdp-tc-filter-main,.kdp-tc-filters:not(.has-creator) .kdp-tc-filter-bottom{display:contents}
 .kdp-tc-filters:not(.has-creator) .kdp-field{grid-column:auto!important}
 .kdp-tc-filters:not(.has-creator) .kdp-tc-filter-submit{padding-inline:14px}
}
@container applicants (min-width:900px){
 .kdp-tc-panel .kdp-tc-filters.has-creator{display:grid;grid-template-columns:minmax(170px,1.5fr) repeat(2,minmax(115px,1fr)) repeat(2,minmax(140px,1fr)) auto;align-items:end;gap:12px}
 .kdp-tc-filters.has-creator .kdp-tc-filter-main,.kdp-tc-filters.has-creator .kdp-tc-filter-bottom{display:contents}
 .kdp-tc-filters.has-creator .kdp-field{grid-column:auto!important}
 .kdp-tc-filters.has-creator .kdp-tc-filter-submit{padding-inline:14px}
}
.kdp-sidebar{min-height:0;overflow:hidden;height:100vh;height:100dvh}
.kdp-sidebar-brand{flex:0 0 auto;margin-bottom:14px;padding-bottom:20px}
.kdp-sidebar>.kdp-nav:not(.kdp-nav-bottom){flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#64717d transparent;padding:3px 2px 12px;scroll-padding:8px}
.kdp-sidebar>.kdp-nav-bottom{flex:0 0 auto;margin-top:0;padding-top:10px}
.kdp-mobile-sheet-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.kdp-dataset-switch{display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid var(--kdp-line);background:#fff;border-radius:14px;margin-bottom:20px;width:fit-content;max-width:100%}
.kdp-dataset-switch button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;border-radius:9px;padding:10px 16px;min-height:44px;font-weight:700;color:var(--kdp-muted)}
.kdp-dataset-switch button[aria-pressed=true]{background:#eaf0fd;color:var(--kdp-primary)}.kdp-dataset-switch svg{width:19px;height:19px;flex-shrink:0}
.kdp-report-filter{padding:18px;background:#f8f9fa;border:1px solid var(--kdp-line);border-radius:14px;margin-bottom:24px}
.kdp-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kdp-report-grid>.kdp-field{min-width:0;grid-column:auto;margin:0}.kdp-report-grid .kdp-field label{font-size:12px;margin-bottom:8px;display:block}
.kdp-report-grid .kdp-report-search{grid-column:span 2}
.kdp-report-grid input,.kdp-report-grid select{width:100%;height:48px;min-height:48px;font-size:13px;padding:10px 12px;border-radius:10px;background:#fff}
.kdp-report-grid .kdp-input-wrap svg{width:18px;height:18px}.kdp-report-grid .kdp-input-wrap input{padding-inline-start:38px}
.kdp-report-date{border-top:1px solid var(--kdp-line);margin-top:18px;padding-top:15px}
.kdp-report-filter-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:18px}
.kdp-audit-panel{container-type:inline-size;container-name:audit}
@container audit (min-width:900px){
 .kdp-audit-panel .kdp-report-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 14px;align-items:end}
 .kdp-audit-panel .kdp-report-filter>.kdp-report-grid{grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:12px}
 .kdp-audit-panel .kdp-report-filter.has-actor>.kdp-report-grid{grid-template-columns:minmax(180px,1.5fr) repeat(5,minmax(110px,1fr))}
 .kdp-audit-panel .kdp-report-search{grid-column:auto}
 .kdp-audit-panel .kdp-report-date{border:0;margin:0;padding:0}
 .kdp-audit-panel .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(2,minmax(125px,1fr));gap:12px}
 .kdp-audit-panel .has-actor .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(4,minmax(125px,1fr))}
 .kdp-audit-panel .kdp-report-filter-actions{margin:0;flex-wrap:nowrap;gap:8px}
 .kdp-audit-panel .kdp-report-filter-actions .kdp-btn{min-height:48px;padding:10px 12px;font-size:12px;white-space:nowrap;gap:6px}
 .kdp-audit-panel .kdp-report-filter-actions svg{width:17px;height:17px}
}
/* User activity has only search and dates: one row when the panel has room. */
@container audit (min-width:800px){
 .kdp-audit-panel .kdp-report-filter:not(.has-actor){display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(312px,2fr) auto;align-items:end;gap:12px}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor)>.kdp-report-grid{grid-column:auto;grid-template-columns:minmax(0,1fr)}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-search{grid-column:auto}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-date{margin:0;padding:0;border:0}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-filter-actions{margin:0;flex-wrap:nowrap;gap:8px}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-filter-actions .kdp-btn{min-height:48px;padding:10px 12px;font-size:12px;white-space:nowrap;gap:6px}
 .kdp-audit-panel .kdp-report-filter:not(.has-actor) .kdp-report-filter-actions svg{width:17px;height:17px}
}
/* Export workspace: persistent hierarchy, equal-height controls, compact column choices. */
.kdp-export-studio{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,2fr);gap:24px;align-items:start;padding:24px;container-type:inline-size;container-name:exports}
.kdp-export-studio>.kdp-export-hero,.kdp-export-studio>.kdp-section-head{grid-column:1/-1;margin:0;padding:0 0 20px;border-bottom:1px solid var(--kdp-line)}
.kdp-export-studio .kdp-export-icon{width:48px;height:48px;border-radius:13px;flex:none}.kdp-export-studio .kdp-export-icon svg{width:24px;height:24px}
.kdp-export-studio .kdp-export-settings{padding:18px;background:#f7f8fa;border:1px solid var(--kdp-line);border-radius:14px;margin:0;min-width:0}
.kdp-export-settings h3{display:flex;align-items:center;gap:8px;font-size:14px;margin:0 0 18px}.kdp-export-settings h3>span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#eef3ff;color:var(--kdp-primary);font-size:12px}
.kdp-export-studio .kdp-export-filter-grid,.kdp-export-studio .kdp-report-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin:0;display:grid}
.kdp-export-studio .kdp-field{margin:0;min-width:0}.kdp-export-studio .kdp-field label{display:block;font-size:12px;margin-bottom:7px}
.kdp-export-studio .kdp-field input,.kdp-export-studio .kdp-field select{height:48px;min-height:48px;width:100%;padding:10px 12px;font-size:14px;border-radius:10px;background:#fff}
.kdp-export-studio .kdp-export-columns{margin:0;padding:18px;border-radius:14px;min-width:0}.kdp-export-studio .kdp-export-columns legend{font-size:14px;padding-inline:8px}
.kdp-export-studio .kdp-export-columns>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.kdp-export-studio .kdp-export-columns label{min-height:48px;padding:10px 12px;font-size:12px;line-height:1.7;gap:9px;background:#fff;transition:background .15s,border-color .15s}
.kdp-export-studio .kdp-export-columns label:has(input:checked){background:#f1f5ff;border-color:#cbd9f4}.kdp-export-studio .kdp-export-columns input{flex:none;width:18px;height:18px;margin:0;padding:0;min-height:0}
.kdp-export-studio .kdp-export-columns label:focus-within{outline:2px solid var(--kdp-primary);outline-offset:2px}
.kdp-export-studio .kdp-link-btn{font-size:12px;min-height:44px;padding:8px 12px;border-radius:8px;background:#f5f6f8}
.kdp-export-studio>.kdp-export-action,.kdp-export-studio>.kdp-export-review{grid-column:1/-1;margin:0;padding:18px;border:1px solid #dfe9e4;border-radius:14px;background:#f5faf7}
.kdp-export-studio .kdp-export-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:0;justify-content:flex-end;flex-direction:row;width:auto}
.kdp-export-studio .kdp-export-buttons .kdp-btn{width:auto;min-height:48px;font-size:13px;gap:8px;padding:12px 18px}.kdp-export-studio .kdp-export-buttons svg{width:18px;height:18px}
.kdp-export-studio .kdp-export-buttons .kdp-btn span{color:inherit;font-size:inherit;display:inline;margin:0}
.kdp-export-studio .kdp-export-review .kdp-report-results-head{margin:0 0 16px;gap:12px}.kdp-export-studio .kdp-export-review .kdp-btn-light{font-size:12px;min-height:44px}
.kdp-export-studio .kdp-report-note{font-size:11px;line-height:1.9;margin:14px 0 0}.kdp-export-studio .kdp-report-check{font-size:12px;line-height:1.9;margin-top:18px;align-items:flex-start}.kdp-export-studio .kdp-report-check input{margin-top:5px;flex:none}
.kdp-workflow-export.kdp-export-studio{grid-template-columns:minmax(350px,1.1fr) minmax(0,1.6fr)}
.kdp-workflow-export.kdp-export-studio .kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kdp-workflow-export.kdp-export-studio .kdp-report-grid>.kdp-field:first-child{grid-column:1/-1}
@container exports (max-width:800px){.kdp-workflow-export .kdp-export-columns>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.kdp-export-studio,.kdp-workflow-export.kdp-export-studio{grid-template-columns:minmax(0,1fr);gap:20px}.kdp-export-studio .kdp-export-filter-grid,.kdp-export-studio .kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.kdp-workflow-export.kdp-export-studio .kdp-report-grid{grid-template-columns:minmax(0,1fr)}.kdp-workflow-export.kdp-export-studio .kdp-export-columns>div{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.kdp-export-studio{padding:16px;gap:18px}.kdp-export-studio .kdp-export-filter-grid,.kdp-export-studio .kdp-report-grid,.kdp-export-studio .kdp-export-columns>div{grid-template-columns:minmax(0,1fr)}.kdp-export-studio .kdp-field input,.kdp-export-studio .kdp-field select{font-size:16px}.kdp-export-studio>.kdp-export-action{align-items:stretch;flex-direction:column}.kdp-export-studio .kdp-export-buttons{display:grid;grid-template-columns:1fr;width:100%}.kdp-export-studio .kdp-export-buttons .kdp-btn{width:100%}.kdp-export-studio .kdp-export-review .kdp-report-results-head{align-items:stretch;flex-direction:column}}
.kdp-report-results-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0;font-size:12px;color:var(--kdp-muted)}
.kdp-report-note{color:var(--kdp-muted);font-size:11px;line-height:2;margin:16px 0 0}
.kdp-report-check{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:12px;line-height:1.9}.kdp-report-check input{width:20px;height:20px;min-height:0;flex:0 0 auto;accent-color:var(--kdp-primary)}
.kdp-audit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.kdp-audit-stat{border:1px solid var(--kdp-line);border-radius:12px;padding:14px 16px;background:#fff;display:flex;justify-content:space-between;gap:10px;align-items:center}
.kdp-audit-stat span{font-size:12px;color:var(--kdp-muted)}.kdp-audit-stat strong{font-size:22px}.kdp-audit-stat.is-error strong{color:#b31925}.kdp-audit-stat.is-warning strong{color:#956500}
.kdp-audit-panel .kdp-table{min-width:850px}.kdp-audit-panel .kdp-table td{vertical-align:top;font-size:12px;padding:16px 12px}.kdp-audit-panel .kdp-table th{font-size:11px;padding:13px 12px}
.kdp-audit-panel .kdp-table td:nth-child(1){width:145px;font-variant-numeric:tabular-nums;white-space:nowrap}.kdp-audit-panel .kdp-table td:nth-child(2){width:185px}.kdp-audit-panel .kdp-table td:last-child{min-width:240px}
.kdp-audit-panel .kdp-table td>small,.kdp-audit-object{display:block;color:var(--kdp-muted);font-size:10px;margin-top:7px}
.kdp-audit-details summary{font-size:11px;color:var(--kdp-primary);cursor:pointer;min-height:32px;line-height:32px;margin-top:7px}.kdp-audit-values{margin:0;padding:9px;background:#f8f9fa;border-radius:8px;font-size:11px;overflow-wrap:anywhere}
.kdp-audit-values>div{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,2fr);gap:8px;padding:7px 0;border-bottom:1px solid var(--kdp-line)}.kdp-audit-values>div:last-child{border:0}.kdp-audit-values dt{color:var(--kdp-muted)}.kdp-audit-values dd{margin:0;min-width:0}.kdp-audit-values .kdp-audit-values{padding:0}
.kdp-audit-context-note{font-size:11px;color:var(--kdp-muted);line-height:1.9;max-width:42rem;white-space:normal}.kdp-audit-values dd{unicode-bidi:plaintext;white-space:normal;overflow-wrap:anywhere}
.kdp-audit-connection{margin-top:12px}.kdp-audit-connection h4{font-size:12px;margin:0 0 8px}
.kdp-audit-cards{display:none}.kdp-audit-cards>article{padding:16px;border:1px solid var(--kdp-line);border-radius:12px;background:#fff;font-size:12px;line-height:2}
.kdp-audit-cards header{display:flex;gap:10px;justify-content:space-between;align-items:center}.kdp-audit-card-meta{display:flex;gap:8px 14px;flex-wrap:wrap;color:var(--kdp-muted);font-size:10px;margin:8px 0 12px}.kdp-audit-card-meta time{flex-basis:100%}
.kdp-workflow-export .kdp-export-columns{margin-top:24px}.kdp-workflow-export .kdp-export-columns>div{grid-template-columns:repeat(3,minmax(0,1fr))}.kdp-workflow-export .kdp-export-buttons{justify-content:flex-end;display:flex;gap:10px;margin-top:24px}
.kdp-sms-tabs{display:flex;gap:6px;padding:5px;background:#f4f5f6;border-radius:12px;margin-bottom:24px;overflow-x:auto}
.kdp-sms-tabs button{flex:1;white-space:nowrap;border:0;padding:10px 14px;min-height:44px;background:transparent;border-radius:8px;font-size:12px;font-weight:700;color:var(--kdp-muted)}.kdp-sms-tabs button[aria-selected=true]{background:#fff;color:var(--kdp-primary);box-shadow:0 2px 6px #1723310b}
.kdp-sms-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}.kdp-sms-layout>div{min-width:0}.kdp-sms-layout textarea{width:100%;resize:vertical;font-size:14px;line-height:2;min-height:200px;text-align:right;direction:rtl;padding:15px;border-radius:12px}
.kdp-sms-variables,.kdp-sms-used{margin-top:18px}.kdp-sms-variables>strong,.kdp-sms-used>strong{display:block;font-size:12px;margin-bottom:10px}.kdp-sms-variables>div,.kdp-sms-used>div{display:flex;gap:8px;flex-wrap:wrap}
.kdp-sms-token{border:1px solid var(--kdp-line);background:#fff;border-radius:9px;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:11px;color:var(--kdp-text)}.kdp-sms-token bdi{font-size:10px;color:var(--kdp-primary)}.kdp-sms-token:disabled{opacity:1;background:#f4f5f6;color:var(--kdp-muted);cursor:default}.kdp-sms-token:disabled>span:last-child{font-size:9px}
.kdp-sms-preview{background:#f6f7f8;border:1px solid var(--kdp-line);padding:20px;border-radius:14px;min-width:0}.kdp-sms-preview h3{font-size:14px;margin:7px 0 20px}.kdp-sms-preview p,.kdp-sms-preview small{font-size:11px;color:var(--kdp-muted);line-height:2}.kdp-sms-bubble{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2.1;background:#fff;border:1px solid var(--kdp-line);border-radius:14px 14px 3px 14px;padding:18px;margin-bottom:12px}
#sms-save-feedback:not(:empty){border-top:1px solid var(--kdp-line);margin-top:20px;padding-top:16px;color:var(--kdp-success);font-size:12px}
@media(max-width:1100px){.kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-audit-table{display:none}.kdp-audit-cards{display:grid;gap:12px}.kdp-sms-layout{grid-template-columns:minmax(0,1fr)}.kdp-audit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.kdp-report-filter{padding:14px}.kdp-report-grid{grid-template-columns:minmax(0,1fr);gap:14px}.kdp-report-grid .kdp-report-search{grid-column:auto}.kdp-report-grid input,.kdp-report-grid select,.kdp-sms-layout textarea{font-size:16px}.kdp-report-filter-actions .kdp-btn{flex:1;min-width:120px}.kdp-report-results-head{flex-wrap:wrap}.kdp-audit-panel .kdp-section-head,.kdp-sms-panel .kdp-section-head{align-items:stretch;flex-direction:column;text-align:right}.kdp-audit-summary{gap:10px}.kdp-audit-stat{padding:12px;display:block}.kdp-audit-stat strong{display:block;margin-top:7px}.kdp-dataset-switch{width:100%}.kdp-dataset-switch button{flex:1;padding:8px;font-size:11px}.kdp-workflow-export .kdp-export-columns>div{grid-template-columns:1fr}.kdp-workflow-export .kdp-export-buttons{flex-direction:column}.kdp-sms-tabs{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:5px}.kdp-sms-tabs button{font-size:11px;padding:10px 5px}.kdp-sms-preview{padding:16px}.kdp-audit-values>div{grid-template-columns:minmax(65px,1fr) minmax(0,2fr)}}
/* TCI design language 3.1: shared blue tokens and responsive 4px rhythm.
   These presentation rules preserve roles, actions and report capabilities.
   The official 118 paper retains its original B Nazanin/B Titr layout. */
:root{--kdp-primary:#293b96;--kdp-primary2:#375ab2;--kdp-primary-soft:#eef3ff;--kdp-primary-line:#cbd9f4;--kdp-bg:#f5f7fb;--kdp-card:#fff;--kdp-text:#172b48;--kdp-muted:#56677f;--kdp-line:#dfe6f0;--kdp-navy:#152b50;--kdp-success:#128452;--kdp-danger:#b5141c;--kdp-radius:16px;--kdp-shadow:0 8px 28px rgba(21,43,80,.055)}
html,body{background:var(--kdp-bg)}
.kdp-shell{grid-template-columns:256px minmax(0,1fr)}
.kdp-main{padding:32px clamp(20px,3vw,48px) 48px;min-width:0}
.kdp-main>.kdp-topbar,.kdp-content,.kdp-pwa-banner{max-width:1440px;width:100%;margin-inline:auto}
.kdp-topbar{gap:20px;margin-bottom:28px}
.kdp-top-title h1{font-size:clamp(24px,2.1vw,32px);line-height:1.55;letter-spacing:0}
.kdp-top-title p{font-size:13px;line-height:1.9;max-width:72ch}
.kdp-page-kicker{font-size:11px;color:var(--kdp-muted);line-height:1.8}
.kdp-sidebar{background:linear-gradient(165deg,#1a345c,#101f3a);padding:24px 16px}
.kdp-sidebar-brand{gap:12px;padding:0 8px 24px}
.kdp-sidebar-brand strong{font-size:16px;line-height:1.7}
.kdp-sidebar-brand small{color:#c4d1e5;font-size:10px}
.kdp-sidebar-brand .kdp-brand-logo{width:56px;height:60px;background:#fff;border-radius:12px;padding:4px}
.kdp-nav button{font-size:13px;min-height:48px;line-height:1.6;padding:12px;gap:12px}
.kdp-nav button.active{background:linear-gradient(110deg,#375ab2,#293b96);box-shadow:none}
.kdp-nav button:hover:not(.active){background:#ffffff0d}
.kdp-nav svg{width:20px;height:20px}
.kdp-nav-bottom button{color:#e4ecf8}
.kdp-user-chip{border-color:var(--kdp-line);padding:10px 12px;border-radius:12px}
.kdp-avatar{background:var(--kdp-primary-soft);color:var(--kdp-primary)}
.kdp-card{border-color:var(--kdp-line);border-radius:var(--kdp-radius);box-shadow:var(--kdp-shadow)}
.kdp-card:hover{border-color:#cdd8e8}
.kdp-section,.kdp-form-card,.kdp-export-card{padding:24px}
.kdp-section-head{gap:16px;margin-bottom:24px;align-items:center}
.kdp-section-head h2,.kdp-form-intro h2,.kdp-export-card h2{font-size:20px;line-height:1.65;letter-spacing:0}
.kdp-section-head p,.kdp-form-intro p,.kdp-export-card p{font-size:13px;line-height:1.9}
.kdp-section-kicker{color:var(--kdp-primary);font-size:11px;font-weight:700;line-height:1.8}
.kdp-grid{gap:16px}
.kdp-stat{padding:24px;min-height:128px}
.kdp-stat-label{font-size:13px;color:var(--kdp-muted)}
.kdp-stat-value{font-size:28px;line-height:1.4}
.kdp-stat-sub{font-size:11px;line-height:1.8}
.kdp-stat-icon,.kdp-quick-icon,.kdp-form-intro-icon{background:var(--kdp-primary-soft);color:var(--kdp-primary)}
.kdp-stat-icon.green{background:#e8f7ef;color:#137d4d}
.kdp-stat-icon.gold{background:#fff6e6;color:#8a5b00}
.kdp-stat-icon.purple{background:#edf1fa;color:#48618c}
.kdp-app .kdp-btn{min-height:48px;font-size:13px;line-height:1.6;border-radius:10px;padding:12px 20px;gap:8px}
.kdp-app .kdp-btn-primary{background:var(--kdp-primary);color:#fff;box-shadow:0 3px 10px rgba(41,59,150,.12)}
.kdp-app .kdp-btn-primary:hover{background:#223380;box-shadow:0 5px 14px rgba(41,59,150,.15)}
.kdp-app .kdp-btn-light{background:#eef2f8;color:#354a68}
.kdp-app .kdp-btn-success{background:#128452;color:#fff}
.kdp-btn span{color:inherit}
.kdp-form-grid{gap:20px}
.kdp-form-grid>*{min-width:0}
.kdp-field label{font-size:13px;font-weight:700;line-height:1.7;margin-bottom:8px}
.kdp-app input,.kdp-app select,.kdp-app textarea{font-size:14px;min-height:48px;border:1px solid #ced8e7;border-radius:10px;padding:12px 14px;line-height:1.65}
.kdp-app input::placeholder,.kdp-app textarea::placeholder{color:#66768e;opacity:1}
.kdp-app input:focus,.kdp-app select:focus,.kdp-app textarea:focus{border-color:#4565bd;box-shadow:0 0 0 3px rgba(41,59,150,.13)}
.kdp-app input[type=checkbox],.kdp-app input[type=radio]{width:20px;height:20px;min-height:0;padding:0;accent-color:var(--kdp-primary)}
.kdp-app button:focus-visible,.kdp-app a:focus-visible{outline:3px solid #4565bd;outline-offset:3px}
.kdp-field-hint,.kdp-field-error{font-size:12px;line-height:1.9}
.kdp-app [data-mobile],.kdp-app [data-telephone],.kdp-app [data-national-id]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
.kdp-table-wrap{border-color:var(--kdp-line);border-radius:12px}
.kdp-table th{font-size:12px;line-height:1.7;padding:16px;background:#f2f5fa;color:#52647e}
.kdp-table td,.kdp-table td strong{font-size:13px;line-height:1.8}
.kdp-table td{padding:16px;border-color:#e8edf5}
.kdp-table tbody tr:hover{background:#f7f9fd}
.kdp-badge{font-size:11px;line-height:1.6;padding:5px 10px}
.kdp-badge.admin,.kdp-severity-info{background:#eaf0fd;color:#344d8a}
.kdp-pager{gap:8px;flex-wrap:wrap}
.kdp-pager button{min-height:44px;font-size:12px}
.kdp-report-filter,.kdp-tc-panel .kdp-tc-filters,.kdp-export-studio .kdp-export-settings{background:#f7f9fd;border-color:var(--kdp-line);padding:20px;border-radius:12px}
.kdp-report-grid,.kdp-tc-filter-main,.kdp-tc-filter-bottom{gap:16px}
.kdp-report-note,.kdp-result-summary,.kdp-tc-summary{font-size:12px;line-height:1.9}
.kdp-dataset-switch button[aria-pressed=true]{background:var(--kdp-primary-soft);color:var(--kdp-primary)}
.kdp-sms-tabs{background:#edf2fa}
.kdp-sms-tabs button[aria-selected=true]{color:var(--kdp-primary)}
.kdp-sms-token[hidden]{display:none!important}
.kdp-sms-token bdi{color:var(--kdp-primary)}
.kdp-sms-preview{background:#f4f7fc;border-color:var(--kdp-line)}
.kdp-sms-metrics{border:1px solid var(--kdp-primary-line);background:var(--kdp-primary-soft);color:var(--kdp-primary);font-size:13px;font-weight:700;border-radius:10px;padding:12px;line-height:1.9}
.kdp-applicant-modal .kdp-modal-head{padding:24px}
.kdp-applicant-body{padding:24px}
.kdp-applicant-section h3{font-size:14px;line-height:1.8;color:var(--kdp-primary);margin-bottom:20px}
.kdp-applicant-modal .kdp-form-grid{gap:20px}
.kdp-applicant-modal .kdp-account-landline{grid-column:auto}
.kdp-applicant-footer{padding:20px 24px;background:#f7f9fd}
.kdp-applicant-footer>span{font-size:12px}
.kdp-applicant-modal .kdp-checks label:has(:checked){background:var(--kdp-primary-soft);border-color:var(--kdp-primary-line)}
.kdp-tc-panel .kdp-tc-action[data-tc-edit]{background:var(--kdp-primary-soft);border-color:var(--kdp-primary-line);color:var(--kdp-primary)}
.kdp-tc-incomplete{margin-top:16px;line-height:1.9}
.kdp-brand .kdp-brand-logo{width:140px;height:124px}
.kdp-brand-logo-boot{width:112px;height:112px}
.kdp-import-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.kdp-modal-card.kdp-import-dialog{width:min(760px,100%);max-height:calc(100svh - 32px);display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--kdp-line);border-radius:20px;font:14px/1.8 IRANYekanX,Tahoma,sans-serif}
.kdp-import-dialog button,.kdp-import-dialog input,.kdp-import-dialog select{font:inherit}
.kdp-import-dialog>.kdp-modal-head h2{margin:0;font-size:21px;line-height:1.7}
.kdp-import-dialog>.kdp-modal-head small{color:var(--kdp-muted);font-size:11px}
.kdp-import-dialog .kdp-close{width:40px;height:40px;min-height:40px;border-radius:10px;flex-shrink:0}
.kdp-import-dialog>.kdp-modal-head{padding:16px 24px;margin:0;border-bottom:1px solid #dce3f0;flex-shrink:0}
.kdp-import-body{padding:24px;overflow:auto;min-height:0}
.kdp-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0 0 16px;color:#64748b;font-size:12px}
.kdp-import-steps li{padding:8px 4px;text-align:center;border-bottom:2px solid #e1e6ef}
.kdp-import-steps li[aria-current=step]{color:var(--kdp-primary);border-color:var(--kdp-primary);font-weight:700}
.kdp-import-steps li.is-complete{color:#16805b;border-color:#acd5c5}
.kdp-import-dialog #import-status{font-size:12px;color:#53647f;margin:0 0 16px;overflow-wrap:anywhere}
.kdp-import-body progress{display:block;width:100%;height:12px;accent-color:#293b96;margin:16px 0}
.kdp-import-dialog [hidden]{display:none!important}
.kdp-import-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;border:1px dashed #a8b6d7;border-radius:12px;background:#f7f9fd;text-align:center}
.kdp-import-drop strong{font-size:16px}
.kdp-import-file-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce3f0;border-radius:10px;background:#fff;color:var(--kdp-primary)}
.kdp-import-file-icon svg{width:20px;height:20px;transform:rotate(180deg)}
.kdp-import-dialog .kdp-import-file-input{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.kdp-import-file-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 24px;margin:8px 0 0;border:1px solid var(--kdp-primary-line,#c7d2f1);border-radius:8px;background:#fff;color:var(--kdp-primary);cursor:pointer;font-weight:700}
.kdp-import-file-input:focus-visible+.kdp-import-file-button{outline:3px solid #9baee6;outline-offset:3px}
.kdp-import-dialog #import-file-name{max-width:100%;font-size:12px;overflow-wrap:anywhere;unicode-bidi:plaintext}
.kdp-import-drop>span,.kdp-import-note{font-size:13px;line-height:1.9;color:#53647f}
.kdp-import-options{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:16px;margin:20px 0}
.kdp-import-header-option{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;min-height:44px}
.kdp-import-dialog .kdp-field{min-width:0;margin:0}
.kdp-import-dialog .kdp-field>label{display:block;font-size:12px;line-height:1.7;font-weight:700;margin:0 0 8px}
.kdp-import-dialog .kdp-field select{display:block;width:100%;height:44px;min-height:44px;padding:8px 12px;border:1px solid #cdd7e5;border-radius:8px;color:var(--kdp-text);background:#fff;font-size:13px}
.kdp-import-dialog .kdp-field select:focus-visible{outline:2px solid var(--kdp-primary);outline-offset:2px}
.kdp-import-dialog .kdp-btn{min-height:44px;padding:10px 18px;font-size:13px;line-height:1.8;border-radius:10px;cursor:pointer}
.kdp-import-dialog .kdp-btn:disabled{opacity:1;color:#74829a;background:#e9edf5;border-color:#e9edf5;box-shadow:none;cursor:not-allowed}
.kdp-import-upload-actions{display:flex;gap:16px;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid var(--kdp-line)}
.kdp-import-upload-actions .kdp-import-note{margin:0;flex:1;font-size:12px}
.kdp-import-upload-actions .kdp-btn{flex-shrink:0}
.kdp-import-dialog #import-recent:not(:empty){margin-top:24px;padding-top:20px;border-top:1px solid var(--kdp-line)}
.kdp-import-dialog h3{font-size:14px;line-height:1.8;margin:0 0 12px}
.kdp-import-options input[type=checkbox]{accent-color:#293b96;width:18px;height:18px;vertical-align:middle}
.kdp-import-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.kdp-import-preview{max-height:280px;margin:20px 0;border:1px solid #dce3f0;border-radius:12px}
.kdp-import-preview caption{padding:12px;text-align:right;color:#53647f;font-size:13px}
.kdp-import-preview th,.kdp-import-preview td{max-width:260px;min-width:120px;white-space:normal;overflow-wrap:anywhere}
.kdp-import-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-top:1px solid #dce3f0;background:#f7f9fc;flex-shrink:0}
.kdp-import-footer small{font-size:12px;color:#53647f;line-height:1.8}
.kdp-import-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.kdp-import-counts>div{padding:16px;border:1px solid #dce3f0;border-radius:12px;background:#f7f9fc}
.kdp-import-counts dt{font-size:13px;color:#53647f}.kdp-import-counts dd{margin:8px 0 0;font-size:24px;font-weight:700;color:#293b96}
.kdp-import-recent-item{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;width:100%;padding:12px;border:1px solid #dce3f0;border-radius:8px;background:#f7f9fc;margin:8px 0;color:#243752;cursor:pointer}
.kdp-import-recent-item>span{min-width:0;overflow-wrap:anywhere;unicode-bidi:plaintext;font-size:12px}
.kdp-import-recent-item>small{flex-shrink:0;font-size:11px;color:#53647f}
.kdp-import-dialog #import-error{display:block;min-height:0;text-align:right;margin:0 0 16px;padding:12px 16px;border:1px solid #efd2d7;border-radius:10px;background:#fff5f6;color:#9d2335;font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.kdp-import-resume{padding:16px;margin-bottom:16px;border:1px solid #dce3f0;border-radius:12px;background:#f7f9fd}
.kdp-import-resume strong{font-size:14px}.kdp-import-resume p{font-size:13px;line-height:1.9;margin:8px 0}
.kdp-import-resume-file{position:relative;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.kdp-import-resume-file>span{min-width:0;overflow-wrap:anywhere;unicode-bidi:plaintext;font-size:12px}
.kdp-import-lookup{display:block;min-height:22px;font-size:12px;line-height:1.8;color:#53647f}.kdp-import-lookup.is-registered{color:#8a5600;font-weight:700}
.kdp-listing-row .kdp-import-lookup:empty{display:none}
@media(max-width:600px){.kdp-modal:has(.kdp-import-dialog){padding:10px}.kdp-modal-card.kdp-import-dialog{max-height:calc(100svh - 20px);border-radius:16px}.kdp-import-dialog>.kdp-modal-head,.kdp-import-body{padding:16px}.kdp-import-dialog>.kdp-modal-head h2{font-size:17px}.kdp-import-map-grid,.kdp-import-options{grid-template-columns:minmax(0,1fr)}.kdp-import-dialog .kdp-field select{font-size:16px}.kdp-import-drop{padding:20px 12px}.kdp-import-drop strong{font-size:15px}.kdp-import-drop>span{font-size:12px}.kdp-import-upload-actions{align-items:stretch;flex-direction:column;gap:12px}.kdp-import-footer{padding:12px 16px;align-items:flex-start;flex-direction:column}.kdp-import-steps{gap:6px;font-size:11px}.kdp-import-counts{gap:6px}.kdp-import-counts>div{padding:10px}.kdp-import-recent-item{align-items:flex-start;flex-direction:column;gap:4px}}
.kdp-boot{width:100%;min-height:100svh;padding:24px;text-align:center;overflow-wrap:anywhere}
.kdp-boot .kdp-brand-logo-boot{max-width:100%;object-fit:contain}
.kdp-boot>small{max-width:100%;font-size:14px;line-height:1.8}
.kdp-telecom-top .kdp-brand-logo{width:64px;height:64px}
.kdp-telecom-thanks img{width:120px;height:120px}
.kdp-login-panel{background:#f5f7fb}
.kdp-login-card{border-color:var(--kdp-line)}
@media(max-width:1200px){.kdp-shell{grid-template-columns:232px minmax(0,1fr)}.kdp-main{padding:24px}.kdp-section,.kdp-form-card,.kdp-export-card{padding:20px}.kdp-sidebar-brand .kdp-brand-logo{width:48px;height:56px}.kdp-sidebar-brand strong{font-size:15px}}
@media(max-width:760px){html,body{background:var(--kdp-bg)}.kdp-shell{display:block}.kdp-main{padding:20px 16px calc(104px + env(safe-area-inset-bottom))}.kdp-topbar{margin-bottom:24px;gap:12px;align-items:flex-start}.kdp-top-title h1{font-size:24px}.kdp-top-title p{font-size:12px}.kdp-section,.kdp-form-card,.kdp-export-card{padding:20px}.kdp-section-head{align-items:flex-start;gap:12px}.kdp-section-head h2,.kdp-form-intro h2{font-size:18px}.kdp-section-head p,.kdp-form-intro p{font-size:12px}.kdp-form-grid{grid-template-columns:minmax(0,1fr);gap:20px}.kdp-app input,.kdp-app textarea,.kdp-app select{font-size:16px}.kdp-app .kdp-btn{font-size:14px}.kdp-stat{padding:16px;min-height:128px}.kdp-stat-label{font-size:12px}.kdp-stat-value{font-size:26px}.kdp-stat-sub{font-size:11px}.kdp-bottom-nav button.active{color:var(--kdp-primary)}.kdp-bottom-nav{border-color:var(--kdp-line)}.kdp-mobile-sheet-grid button.active{background:var(--kdp-primary-soft);border-color:var(--kdp-primary-line)}.kdp-brand .kdp-brand-logo{width:128px;height:112px}.kdp-applicant-modal .kdp-modal-head{padding:20px}.kdp-applicant-body{padding:20px}.kdp-applicant-footer{padding:16px 20px}.kdp-applicant-modal .kdp-form-grid{grid-template-columns:minmax(0,1fr)}.kdp-report-filter,.kdp-tc-panel .kdp-tc-filters,.kdp-export-studio .kdp-export-settings{padding:16px}.kdp-login-panel{background:transparent}.kdp-telecom-top .kdp-brand-logo{width:56px;height:56px}}
@media(max-width:380px){.kdp-main{padding-inline:12px}.kdp-section,.kdp-form-card,.kdp-export-card{padding:16px}.kdp-top-title h1{font-size:22px}.kdp-applicant-body,.kdp-applicant-modal .kdp-modal-head{padding:16px}.kdp-applicant-footer{padding:16px}.kdp-telecom-top strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.kdp-content,.kdp-brand-logo-boot{animation:none!important}.kdp-app *{scroll-behavior:auto!important;transition:none!important}}
@media print{html,body{background:#fff}.kdp-118-paper{box-shadow:none}}
.kdp-paper-export-host{position:fixed;left:-12000px;top:0;width:960px;pointer-events:none;z-index:-1;background:#fff}
.kdp-paper-export-host .kdp-118-paper{width:960px;min-width:960px;max-width:960px;box-shadow:none;transform:none}
.kdp-paper-download-progress{padding:24px;display:grid;gap:16px}
.kdp-paper-download-progress progress{width:100%;height:12px;accent-color:var(--kdp-primary)}
.kdp-paper-download-progress .kdp-btn{width:100%}
.kdp-tc-summary>div{display:flex;flex-wrap:wrap;gap:8px}

/* Keep the night map centered behind the portal identity. */
.kdp-login-photo{object-position:center center}
.kdp-night-lights{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.kdp-night-lights canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;opacity:0;animation:kdp-night-flicker var(--light-duration,34s) cubic-bezier(.45,0,.55,1) var(--light-delay,0s) infinite}
@keyframes kdp-night-flicker{0%,100%{opacity:.02}20%{opacity:.03}42%{opacity:.14}58%{opacity:.72}76%{opacity:.08}90%{opacity:.02}}
@media(prefers-reduced-motion:reduce){.kdp-night-lights{display:none}}

.kdp-login-shade{background:linear-gradient(180deg,rgba(5,12,24,.06),rgba(5,12,24,.22) 42%,rgba(5,12,24,.24) 58%,rgba(5,12,24,.3))}
.kdp-login-identity{direction:rtl;text-align:center}
.kdp-login-identity p{margin:0;font-size:clamp(20px,2vw,30px);line-height:1.8;font-weight:400}
.kdp-login-identity h1{margin:10px 0 0;font-size:clamp(28px,2.6vw,40px);line-height:1.7;font-weight:700}
.kdp-login-identity-photo{position:absolute;z-index:1;top:auto;bottom:8%;left:32px;right:32px;transform:none;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.65)}
.kdp-login-identity-mobile{display:none}
.kdp-login-methods{display:grid;gap:12px;margin:24px 0 8px}
.kdp-login-methods .kdp-btn{white-space:normal;min-height:54px;line-height:1.8}
.kdp-password-input{position:relative}
.kdp-password-input input{padding-left:76px!important;direction:ltr;text-align:left}
.kdp-password-input button{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:var(--kdp-primary);padding:8px;font-size:12px;border-radius:8px}
.kdp-password-input button:focus-visible{outline:2px solid var(--kdp-primary);outline-offset:2px}
.kdp-account-password{max-width:640px;margin-inline:auto}
.kdp-account-password .kdp-field{margin-top:18px}
.kdp-account-password>p{line-height:1.9;color:var(--kdp-muted)}
.kdp-login-card .lead{margin-bottom:16px}
.kdp-login-mobile-wrap label{position:absolute;z-index:1;right:16px;top:27px;transform:translateY(-50%);margin:0;font-size:12px;line-height:1.7;cursor:text}
.kdp-login-card .kdp-login-mobile-wrap input{direction:ltr;text-align:left;padding-left:16px!important;padding-right:116px!important;letter-spacing:0}
.kdp-captcha-field{margin-top:16px}
.kdp-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 55%;align-items:center;gap:8px;direction:ltr}
.kdp-login-card .kdp-captcha-row input{grid-column:1;grid-row:1;min-width:0;height:54px;min-height:54px;padding:8px;text-align:center;direction:ltr;font-size:16px}
.kdp-captcha-row input::placeholder{font-size:12px}
.kdp-captcha-image{grid-column:2;grid-row:1;position:relative;height:54px;display:grid;place-items:center;padding-left:44px;background:#f5f8fd;border:1px solid var(--kdp-line);border-radius:10px;overflow:hidden}
.kdp-captcha-image img{width:100%;height:auto;display:block}
.kdp-captcha-image img[hidden],.kdp-captcha-image [hidden]{display:none}
.kdp-captcha-image span{font-size:10px;direction:rtl;color:var(--kdp-muted);text-align:center}
.kdp-login-card .kdp-captcha-refresh{position:absolute;left:0;top:0;width:44px;height:100%;display:grid;place-items:center;border:0;background:transparent;min-height:44px;padding:0;font-size:24px;line-height:1;color:var(--kdp-primary)}
.kdp-captcha-refresh:disabled{opacity:.45;cursor:wait}
.kdp-login-mobile-wrap .kdp-field-error{position:static;display:block;margin-top:8px}
.kdp-login-mobile-wrap .kdp-field-error[hidden]{display:none}
.kdp-resend-captcha-form{margin:16px 0}
@media(max-width:760px){
  .kdp-login-shade{background:rgba(14,24,34,.34)}
  .kdp-login-identity-photo{display:none}
  .kdp-login-identity-mobile{display:block;margin:-18px 0 42px;color:var(--kdp-text)}
  .kdp-login-card .kdp-brand{margin-bottom:20px}
  .kdp-login-identity-mobile p{font-size:16px;margin:0}
  .kdp-login-identity-mobile h1{font-size:20px;margin:6px 0 0}
}

/* User editor: compact account fields and persistent actions. */
.kdp-modal-card.kdp-user-dialog{width:min(680px,100%);border:1px solid var(--kdp-line);border-radius:22px}
.kdp-user-dialog .kdp-modal-head{padding:20px 24px}
.kdp-user-dialog .kdp-modal-head h2{font-size:21px}
.kdp-user-dialog-kicker{display:block;color:var(--kdp-muted);font-size:11px;margin-bottom:4px}
.kdp-user-dialog .kdp-applicant-body{padding:24px}
.kdp-user-dialog .kdp-applicant-section h3{font-size:13px;margin-bottom:16px}
.kdp-user-dialog .kdp-form-grid{gap:18px 20px}
.kdp-user-dialog .kdp-field input[inputmode=numeric]{text-align:left}
.kdp-user-dialog .kdp-field select:disabled{opacity:1;color:var(--kdp-text);background:var(--kdp-bg)}
.kdp-user-dialog #user-form-error{margin-bottom:20px}
.kdp-user-dialog #user-form-error[hidden]{display:none}
.kdp-user-dialog .kdp-applicant-footer{padding:16px 24px}
@media(max-width:600px){
  .kdp-user-dialog .kdp-modal-head{padding:16px 18px}
  .kdp-user-dialog .kdp-modal-head h2{font-size:19px}
  .kdp-user-dialog .kdp-applicant-body{padding:20px 18px}
  .kdp-user-dialog .kdp-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .kdp-user-dialog .kdp-applicant-footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}
}

/* Shared eight-number allowance, split by telephone type. */
.kdp-listing-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.kdp-user-dialog .kdp-listing-head h3{margin:0}
.kdp-listing-head h3 span{color:#c82030}
.kdp-listing-head>span{font-size:12px;color:var(--kdp-muted);white-space:nowrap}
.kdp-listing-section>p{margin:6px 0 16px;color:var(--kdp-muted);font-size:12px}
.kdp-listing-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kdp-listing-group{min-width:0;margin:0;padding:14px;border:1px solid var(--kdp-line);border-radius:14px;background:var(--kdp-bg)}
.kdp-listing-group legend{font-weight:700;font-size:13px;padding:0 6px;color:var(--kdp-text)}
.kdp-listing-row+.kdp-listing-row{margin-top:12px}
.kdp-listing-control{display:flex;gap:8px;align-items:center;direction:ltr}
.kdp-listing-control input{min-width:0;flex:1;letter-spacing:.3px;background:#fff}
.kdp-app .kdp-listing-remove{flex:none;width:38px;height:44px;min-height:44px;padding:8px;border:1px solid var(--kdp-line);border-radius:10px;background:#fff;color:var(--kdp-muted);display:grid;place-items:center}
.kdp-listing-remove svg,.kdp-listing-add svg{width:18px;height:18px}
.kdp-listing-remove:hover{color:#b31e2e;border-color:#e2a3aa}
.kdp-app .kdp-listing-add{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin-top:12px;padding:8px;border:1px dashed var(--kdp-primary-line);border-radius:10px;color:var(--kdp-primary);background:#fff;font-size:12px}
.kdp-listing-add:disabled,.kdp-listing-remove:disabled{opacity:.45;cursor:default}
.kdp-listing-empty{font-size:12px;color:var(--kdp-muted);margin:8px 0}
.kdp-listing-section>.kdp-field-error{display:block;margin-top:12px}
.kdp-listing-section [hidden]{display:none!important}
@media(max-width:600px){.kdp-listing-groups{grid-template-columns:minmax(0,1fr)}.kdp-listing-group{padding:12px}}

.kdp-user-actions .kdp-user-toggle-btn.is-active{background:#fff6e5;color:#a66000}
.kdp-user-actions .kdp-user-toggle-btn.is-inactive{background:#e6f8ee;color:#128651}

/* Staff password management */
.kdp-modal-card.kdp-password-dialog{width:min(600px,100%)}.kdp-password-dialog [hidden]{display:none!important}.kdp-password-dialog .kdp-inline-error{min-height:0;padding:12px}.kdp-password-dialog .kdp-user-dialog-actions{display:flex;gap:10px;flex-wrap:wrap}.kdp-password-target{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}.kdp-password-dialog .kdp-field+.kdp-field{margin-top:20px}.kdp-managed-password-section .kdp-btn{margin-top:8px}

/* User editor: aligned fields, compact sections and persistent footer. */
#user-form.kdp-user-editor{width:min(720px,100%);border-radius:20px;direction:rtl}
#user-form [hidden]{display:none!important}
#user-form .kdp-modal-head{padding:18px 24px;gap:16px}
#user-form .kdp-modal-head h2{font-size:21px;line-height:1.6}
#user-form .kdp-applicant-body{display:grid;gap:16px;padding:20px 24px;background:#f8fafd}
#user-form .kdp-applicant-section{margin:0;padding:18px;border:1px solid var(--kdp-line);border-radius:14px;background:#fff}
#user-form .kdp-applicant-section h3{font-size:13px;margin:0 0 16px;line-height:1.7}
#user-form .kdp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:start}
#user-form .kdp-form-grid>.full{grid-column:1/-1}
#user-form .kdp-field{min-width:0;margin:0}
#user-form .kdp-field>label{display:block;margin:0 0 8px;font-size:13px;line-height:1.7}
#user-form .kdp-field input:not([type=checkbox]),#user-form .kdp-field select{display:block;box-sizing:border-box;width:100%;height:48px;min-height:48px;margin:0;border:1px solid #cdd7e5;border-radius:10px;padding:10px 14px;background-color:#fff;color:var(--kdp-text);font:inherit;font-size:15px;line-height:1.6;outline:none}
#user-form .kdp-field input[inputmode=numeric]{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}
#user-form .kdp-field select{-webkit-appearance:none;appearance:none;padding-left:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23536982' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center}
#user-form .kdp-field input:focus,#user-form .kdp-field select:focus{border-color:var(--kdp-primary);box-shadow:0 0 0 3px #293b9614}
#user-form .kdp-field select:disabled{opacity:1;background-color:#f3f6fa;color:var(--kdp-text)}
#user-form .kdp-managed-password-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px}
#user-form .kdp-user-password-label{display:flex;align-items:center;gap:10px;min-width:0;color:var(--kdp-primary)}
#user-form .kdp-user-password-label svg{width:20px;height:20px;flex:none}
#user-form .kdp-user-password-label h3{margin:0}
#user-form #user-password-open{margin:0;min-height:44px;padding:10px 16px;border:1px solid var(--kdp-primary-line);border-radius:10px;background:var(--kdp-primary-soft);color:var(--kdp-primary);font-size:13px}
#user-form .kdp-applicant-footer{padding:16px 24px;gap:16px;background:#fff}
#user-form #user-form-error{min-height:0;margin:0;padding:12px 14px}
#user-form .kdp-close:focus-visible,#user-form .kdp-btn:focus-visible{outline:2px solid var(--kdp-primary);outline-offset:3px}
@media(max-width:600px){
 #user-form .kdp-modal-head{padding:16px 18px}
 #user-form .kdp-applicant-body{padding:16px;gap:12px}
 #user-form .kdp-applicant-section{padding:16px}
 #user-form .kdp-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 #user-form .kdp-field input:not([type=checkbox]),#user-form .kdp-field select{font-size:16px}
 #user-form .kdp-managed-password-section{grid-template-columns:minmax(0,1fr)}
 #user-form #user-password-open{width:100%}
 #user-form .kdp-applicant-footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}
}

/* Spreadsheet-style lists share one action cell per record. */
.kdp-users-panel .kdp-users-table-wrap,.kdp-tc-panel .kdp-tc-table{display:block;max-height:62vh;overflow:auto;overscroll-behavior:contain;border:1px solid #d4dce7;border-radius:10px;isolation:isolate}
.kdp-users-panel .kdp-user-cards,.kdp-tc-panel .kdp-tc-cards{display:none}
.kdp-spreadsheet-table{border-collapse:separate;border-spacing:0;width:100%;background:#fff}
.kdp-users-panel .kdp-users-table.kdp-spreadsheet-table{min-width:880px}
.kdp-users-table .kdp-user-row-col{width:5%}
.kdp-users-table .kdp-user-name-col{width:9%}
.kdp-users-table .kdp-user-name-col:nth-child(3){width:12%}
.kdp-users-table .kdp-user-mobile-col{width:10%}
.kdp-users-table .kdp-user-role-col{width:8%}
.kdp-users-table .kdp-user-count-col{width:5%}
.kdp-users-table .kdp-user-status-col{width:8%}
.kdp-users-table .kdp-user-date-col{width:14%}
.kdp-users-table .kdp-user-actions-col{width:15%}
.kdp-account-date bdi{white-space:nowrap;font-variant-numeric:tabular-nums}
.kdp-spreadsheet-table th,.kdp-spreadsheet-table td{border:0;border-inline-end:1px solid #dce3ec;border-bottom:1px solid #dce3ec!important;padding:12px 14px;vertical-align:middle;line-height:1.7}
.kdp-spreadsheet-table th:last-child,.kdp-spreadsheet-table td:last-child{border-inline-end:0}
.kdp-spreadsheet-table thead th{position:sticky;top:0;z-index:2;background:#eaf0f8;color:#304761;font-size:12px;font-weight:700;white-space:nowrap}
.kdp-spreadsheet-table tbody tr{--kdp-row-bg:#fff}
.kdp-spreadsheet-table tbody tr:nth-child(even){--kdp-row-bg:#f8fafd}
.kdp-spreadsheet-table tbody td{background:var(--kdp-row-bg)}
.kdp-spreadsheet-table tbody tr:hover,.kdp-spreadsheet-table tbody tr:focus-within{--kdp-row-bg:#edf4ff}
.kdp-spreadsheet-table th:first-child,.kdp-spreadsheet-table td:first-child{position:sticky;right:0;z-index:1;box-shadow:-1px 0 #dce3ec}
.kdp-spreadsheet-table thead th:first-child{z-index:3}
.kdp-users-panel .kdp-users-table td{height:64px;padding:10px 14px}
.kdp-spreadsheet-table .kdp-operations-cell{text-align:center;white-space:nowrap;min-width:160px}
.kdp-spreadsheet-table .kdp-user-actions{display:flex;flex-wrap:nowrap;gap:6px;justify-content:center}
.kdp-spreadsheet-table .kdp-user-actions .kdp-edit,.kdp-spreadsheet-table .kdp-user-action-space{flex:0 0 38px;width:38px;height:38px;min-height:38px;border-radius:8px}
.kdp-spreadsheet-table .kdp-user-actions .kdp-edit{border:1px solid #e1e6ef}
.kdp-spreadsheet-table .kdp-table-empty{text-align:center;height:96px!important;color:var(--kdp-muted);font-size:13px}
.kdp-tc-panel .kdp-tc-table .kdp-table{min-width:880px;table-layout:fixed}
.kdp-tc-panel .kdp-tc-table .kdp-tc-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.kdp-tc-panel .kdp-tc-table .kdp-tc-action{width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border-radius:8px}
.kdp-tc-panel .kdp-tc-table .kdp-tc-action span{display:none}
.kdp-tc-panel .kdp-tc-table .kdp-tc-action[data-tc-add-number]{flex:0 1 auto;width:auto;max-width:100%;padding:6px;font-size:11px;gap:4px}
.kdp-tc-panel .kdp-tc-table .kdp-tc-action[data-tc-add-number] span{display:inline}
.kdp-list-result-count{margin:12px 0;color:var(--kdp-muted);font-size:12px}
.kdp-list-toolbar{padding:16px;border:1px solid var(--kdp-line);border-radius:12px;background:#f7f9fd;margin:0 0 16px}
.kdp-user-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(120px,1fr)) auto;gap:14px;align-items:end}
.kdp-list-toolbar .kdp-field{min-width:0;margin:0}
.kdp-list-toolbar .kdp-field label{font-size:12px;margin-bottom:8px;line-height:1.7}
.kdp-list-toolbar input,.kdp-list-toolbar select{height:44px;min-height:44px;margin:0;font-size:13px}
.kdp-list-toolbar .kdp-btn{min-height:44px;margin:0;padding:10px 14px;font-size:12px;white-space:nowrap}
.kdp-toolbar-search-input{position:relative}
.kdp-toolbar-search-input>svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--kdp-muted);pointer-events:none}
.kdp-toolbar-search-input>input{padding-right:40px}
.kdp-tc-panel #tc-filters{display:block;padding:16px;margin-bottom:16px}
.kdp-tc-panel #tc-filters .kdp-tc-filter-main{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr);gap:14px}
.kdp-tc-panel #tc-filters .kdp-tc-filter-main.has-creator{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(150px,1fr))}
.kdp-tc-panel #tc-filters .kdp-tc-filter-bottom{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) auto auto;gap:14px;align-items:end;margin-top:14px}
.kdp-tc-panel #tc-filters .kdp-field{grid-column:auto!important}
.kdp-tc-panel>.kdp-section-head{min-height:52px;margin-bottom:20px;gap:20px}
.kdp-tc-panel>.kdp-section-head h2{font-size:21px;margin:4px 0 0;line-height:1.7}
.kdp-tc-panel>.kdp-section-head .kdp-section-kicker{font-size:11px}
.kdp-tc-panel .kdp-import-head-actions{gap:8px;align-items:center}
.kdp-tc-panel .kdp-import-head-actions .kdp-btn,.kdp-tc-panel #add-applicant{min-height:44px;padding:10px 16px;font-size:13px;gap:8px;border-radius:10px;white-space:nowrap}
.kdp-tc-panel #tc-import-open{background:#fff;color:var(--kdp-primary);border:1px solid #cad5ec;box-shadow:none}
.kdp-tc-panel #tc-import-open svg{transform:rotate(180deg);width:18px;height:18px}
.kdp-tc-panel .kdp-tc-summary{min-height:44px;margin:0 0 16px;gap:12px}
.kdp-tc-panel .kdp-tc-summary>div{gap:8px;align-items:center}
.kdp-tc-panel .kdp-tc-summary .kdp-btn{height:44px;min-height:44px;padding:8px 12px;border:1px solid #d6dfec;border-radius:10px;background:#fff;color:#354b6a;box-shadow:none;font-size:12px;white-space:nowrap}
.kdp-tc-panel .kdp-tc-summary #tc-paper-zip{color:var(--kdp-primary);background:#f0f3fc;border-color:#cad5ec}
.kdp-tc-panel .kdp-tc-summary .kdp-btn:disabled{color:#718096;background:#edf1f6;border-color:#e0e6ef;opacity:1;box-shadow:none;cursor:not-allowed}
.kdp-tc-panel .kdp-tc-summary .kdp-btn:not(:disabled):hover,.kdp-tc-panel #tc-import-open:hover{background:#edf2fc;border-color:#9fafd4}
.kdp-tc-panel .kdp-tc-filter-submit{color:var(--kdp-primary);background:#edf2fc;border-color:#cbd7ed}
.kdp-tc-panel #tc-filter-clear{color:#53647f;background:transparent;border-color:transparent;box-shadow:none}
/* Flatten the two semantic groups into one aligned desktop filter row. */
@container applicants (min-width:800px){
 .kdp-tc-panel #tc-filters{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.2fr) repeat(2,minmax(0,1.1fr)) auto auto;gap:10px;align-items:end}
 .kdp-tc-panel #tc-filters.has-creator{grid-template-columns:minmax(0,1.7fr) minmax(0,1.3fr) minmax(0,1.2fr) repeat(2,minmax(0,1.4fr)) auto auto}
 .kdp-tc-panel #tc-filters .kdp-tc-filter-main,.kdp-tc-panel #tc-filters .kdp-tc-filter-bottom{display:contents}
 .kdp-tc-panel #tc-filters .kdp-field>label{font-size:11px;white-space:nowrap}
 .kdp-tc-panel #tc-filters input,.kdp-tc-panel #tc-filters select{height:44px;min-height:44px;padding-inline:8px;font-size:12px}
 .kdp-tc-panel #tc-filters .kdp-tc-search input{padding-inline-start:32px}
 .kdp-tc-panel #tc-filters .kdp-tc-search>span{inset-inline-start:9px;width:16px;height:16px}
 .kdp-tc-panel #tc-filters .kdp-btn{min-height:44px;padding:8px 10px;font-size:11px}
 .kdp-tc-panel #tc-filters .kdp-btn svg{width:16px;height:16px}
}
@container applicants (min-width:800px) and (max-width:1000px){
 .kdp-tc-panel #tc-filters #tc-filter-clear{font-size:0;padding-inline:8px}
 .kdp-tc-panel #tc-filters #tc-filter-clear:before{content:'پاک‌کردن';font-size:11px}
}
@media(max-width:1000px){.kdp-user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kdp-user-filters>.kdp-toolbar-search{grid-column:1/-1}}
@media(max-width:760px){
 .kdp-list-toolbar{padding:14px}
 .kdp-list-toolbar input,.kdp-list-toolbar select{font-size:16px}
 .kdp-user-filters{gap:12px}
 .kdp-user-filters>#user-filter-clear{grid-column:1/-1}
 .kdp-tc-panel #tc-filters .kdp-tc-filter-main,.kdp-tc-panel #tc-filters .kdp-tc-filter-main.has-creator{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kdp-tc-panel #tc-filters .kdp-tc-filter-main>.kdp-field:first-child{grid-column:1/-1!important}
 .kdp-tc-panel #tc-filters .kdp-tc-filter-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kdp-users-panel .kdp-users-table-wrap,.kdp-tc-panel .kdp-tc-table{max-height:60vh}
 .kdp-tc-panel>.kdp-section-head{align-items:stretch;flex-direction:column;gap:14px;margin-bottom:16px}
 .kdp-tc-panel>.kdp-section-head h2{font-size:18px}
 .kdp-tc-panel .kdp-import-head-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .kdp-tc-panel .kdp-import-head-actions .kdp-btn{width:100%;font-size:12px;padding-inline:8px}
 .kdp-tc-panel .kdp-tc-summary{align-items:stretch;flex-direction:column}
 .kdp-tc-panel .kdp-tc-summary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .kdp-tc-panel .kdp-tc-summary #tc-paper-zip{grid-column:1/-1}
 .kdp-tc-panel .kdp-tc-summary .kdp-btn{font-size:12px;padding-inline:8px}
}
@media(max-width:380px){.kdp-user-filters,.kdp-tc-panel #tc-filters .kdp-tc-filter-main,.kdp-tc-panel #tc-filters .kdp-tc-filter-main.has-creator,.kdp-tc-panel #tc-filters .kdp-tc-filter-bottom{grid-template-columns:minmax(0,1fr)}}

/* Activity reports use the same filter toolbar and spreadsheet grid. */
.kdp-audit-panel .kdp-audit-table{display:block;max-height:62vh;overflow:auto;overscroll-behavior:contain;border:1px solid #d4dce7;border-radius:10px;isolation:isolate}
.kdp-audit-panel .kdp-audit-cards{display:none}
.kdp-audit-panel .kdp-audit-table .kdp-table{min-width:1000px}
.kdp-audit-table .kdp-spreadsheet-table td:first-child{min-width:165px;white-space:nowrap;font-variant-numeric:tabular-nums}
.kdp-audit-table .kdp-spreadsheet-table td:nth-child(2){min-width:170px}
.kdp-audit-table .kdp-audit-message{min-width:250px;max-width:420px;white-space:normal;overflow-wrap:anywhere}
.kdp-audit-table .kdp-operations-cell{vertical-align:top;padding-top:14px}
.kdp-audit-table .kdp-audit-details{margin:0;max-width:360px;min-width:145px;text-align:right;white-space:normal}
.kdp-audit-table .kdp-audit-details summary{display:block;list-style:none;min-height:36px;margin:0;padding:7px 12px;line-height:1.7;text-align:center;border:1px solid var(--kdp-primary-line);border-radius:8px;background:var(--kdp-primary-soft);font-size:12px;white-space:nowrap}
.kdp-audit-table .kdp-audit-details summary::-webkit-details-marker{display:none}
.kdp-audit-table .kdp-audit-details[open] summary{margin-bottom:12px}
.kdp-audit-table .kdp-audit-details summary:focus-visible{outline:2px solid var(--kdp-primary);outline-offset:2px}
.kdp-audit-panel #audit-filter-form{display:block;padding:16px;margin-bottom:16px}
.kdp-audit-panel #audit-filter-form>.kdp-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kdp-audit-panel #audit-filter-form .kdp-field{grid-column:auto;min-width:0}
.kdp-audit-panel #audit-filter-form .kdp-report-date{padding:14px 0 0;margin-top:14px;border-top:1px solid var(--kdp-line);border-right:0}
.kdp-audit-panel #audit-filter-form .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kdp-audit-panel #audit-filter-form.has-actor .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.kdp-audit-panel #audit-filter-form .kdp-report-filter-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:14px;padding:0}
.kdp-audit-panel #audit-filter-form .kdp-report-filter-actions .kdp-btn{height:44px;min-height:44px}
@media(max-width:760px){
 .kdp-audit-panel #audit-filter-form{padding:14px}
 .kdp-audit-panel #audit-filter-form>.kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kdp-audit-panel #audit-filter-form>.kdp-report-grid>.kdp-report-search{grid-column:1/-1}
 .kdp-audit-panel #audit-filter-form.has-actor .kdp-report-date .kdp-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .kdp-audit-panel #audit-filter-form .kdp-report-filter-actions .kdp-btn{flex:1}
 .kdp-audit-panel .kdp-audit-table{max-height:60vh}
}
@media(max-width:380px){
 .kdp-audit-panel #audit-filter-form>.kdp-report-grid,.kdp-audit-panel #audit-filter-form.has-actor .kdp-report-date .kdp-report-grid,.kdp-audit-panel #audit-filter-form .kdp-report-date .kdp-report-grid{grid-template-columns:minmax(0,1fr)}
}
/* Keep each record's actions available while scrolling wide tables. */
.kdp-spreadsheet-table th:last-child,.kdp-spreadsheet-table td.kdp-operations-cell{position:sticky;left:0;z-index:1;box-shadow:1px 0 #dce3ec}
.kdp-spreadsheet-table thead th:last-child{z-index:3}
.kdp-tc-panel .kdp-tc-table .kdp-spreadsheet-table thead th{background:#eaf0f8;color:#304761}

.kdp-audit-panel .kdp-audit-table td.kdp-operations-cell,.kdp-audit-panel .kdp-audit-table th:last-child{width:165px;min-width:165px;vertical-align:middle}
.kdp-audit-panel .kdp-audit-table td.kdp-operations-cell{padding:12px}
@media(max-width:760px){
 .kdp-spreadsheet-table td:first-child,.kdp-spreadsheet-table td.kdp-operations-cell{position:static;box-shadow:none}
 .kdp-spreadsheet-table thead th:first-child,.kdp-spreadsheet-table thead th:last-child{left:auto;right:auto;z-index:2;box-shadow:none}
}
@media(max-width:760px){.kdp-tc-panel #tc-filters .kdp-tc-filter-submit{grid-column:auto;width:100%}}

/* Fit all account columns in a laptop content pane without hiding data. */
.kdp-users-panel .kdp-users-table th,.kdp-users-panel .kdp-users-table td,
.kdp-tc-panel .kdp-tc-table .kdp-table th,.kdp-tc-panel .kdp-tc-table .kdp-table td{padding:10px 6px;line-height:1.65;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.kdp-users-panel .kdp-users-table th,.kdp-tc-panel .kdp-tc-table .kdp-table th{font-size:11px}
.kdp-users-panel .kdp-users-table td{height:56px}
.kdp-users-panel .kdp-users-table td strong,.kdp-tc-panel .kdp-tc-table .kdp-table td strong{font-size:12px}
.kdp-users-panel .kdp-users-table th:first-child,.kdp-users-panel .kdp-users-table td:first-child,
.kdp-tc-panel .kdp-tc-table .kdp-table th:first-child,.kdp-tc-panel .kdp-tc-table .kdp-table td:first-child{white-space:nowrap;text-align:center}
.kdp-users-panel .kdp-users-table .kdp-operations-cell,.kdp-tc-panel .kdp-tc-table .kdp-operations-cell{min-width:0;padding-inline:6px!important}
.kdp-users-panel .kdp-users-table .kdp-user-actions,.kdp-tc-panel .kdp-tc-table .kdp-tc-actions{gap:4px;min-height:34px}
.kdp-users-panel .kdp-users-table .kdp-user-actions .kdp-edit,.kdp-users-panel .kdp-users-table .kdp-user-action-space,
.kdp-tc-panel .kdp-tc-table .kdp-tc-action{flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px;border-radius:8px}
.kdp-users-panel .kdp-users-table .kdp-badge,.kdp-tc-panel .kdp-tc-table .kdp-badge{font-size:10px;padding:4px 6px;white-space:normal}
.kdp-users-panel .kdp-users-table .kdp-user-mobile,.kdp-tc-panel .kdp-tc-table bdi[dir=ltr]{white-space:nowrap}
.kdp-tc-table .kdp-tc-row-col{width:4.5%}
.kdp-tc-table .kdp-tc-name-col{width:13.5%}
.kdp-tc-table .kdp-tc-mobile-col{width:12%}
.kdp-tc-table .kdp-tc-job-col,.kdp-tc-table .kdp-tc-expert-col,.kdp-tc-table .kdp-tc-status-col{width:11%}
.kdp-tc-table .kdp-tc-registered-col{width:10%}
.kdp-tc-table .kdp-tc-login-col{width:13%}
.kdp-tc-panel .kdp-tc-table .kdp-table .kdp-tc-actions-col{width:14%}
.kdp-tc-panel .kdp-tc-table .kdp-table th:last-child,.kdp-tc-panel .kdp-tc-table .kdp-table td:last-child{width:auto}
@media(max-width:760px) and (pointer:coarse){
 .kdp-users-panel .kdp-users-table.kdp-spreadsheet-table,.kdp-tc-panel .kdp-tc-table .kdp-table{min-width:1100px}
 .kdp-users-panel .kdp-users-table .kdp-user-actions .kdp-edit,.kdp-users-panel .kdp-users-table .kdp-user-action-space,
 .kdp-tc-panel .kdp-tc-table .kdp-tc-action{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}
}
