@font-face{font-family:Vazirmatn;src:url('/assets/Vazirmatn.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--ink:#203a37;--muted:#75827c;--green:#1d5650;--deep:#153c38;--mint:#dcece4;--paper:#f6f5ef;--white:#fff;--line:#e6e9e0;--accent:#d9a35e;--red:#b7493e;--shadow:0 12px 40px #163e3510;--font:Vazirmatn,Tahoma,Arial,sans-serif}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.9 var(--font)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6a660;outline-offset:3px}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;vertical-align:middle;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:750;letter-spacing:-.8px}h2{font-size:17px;font-weight:700}h3{font-size:15px}small{font-size:11px}strong{font-weight:700}.muted{color:var(--muted)}.small{font-size:12px}.ltr{direction:ltr;text-align:left;unicode-bidi:plaintext}.skip-link{position:fixed;top:-90px;right:15px;background:var(--deep);color:white;padding:10px;z-index:100}.skip-link:focus{top:10px}.initial-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--accent);color:var(--deep);font-size:31px;font-weight:800;border-radius:15px 15px 4px 15px}
.layout{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--deep);color:#e4ede7;padding:25px 18px;position:fixed;top:0;right:0;bottom:0;width:242px;display:flex;flex-direction:column;z-index:20;overflow:auto}.brand{display:flex;gap:11px;align-items:center;padding:1px 8px 24px}.brand strong{font-size:23px;line-height:1.3}.brand small{display:block;color:#9db4a8;font-size:10px;letter-spacing:1px;direction:ltr}.nav-group{font-size:10px;color:#a5bab0;margin:21px 15px 8px;letter-spacing:.2px}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 13px;border-radius:10px;color:#c6d7cd;font-size:12px;margin:3px 0;transition:background .15s}.nav-item:hover{background:#ffffff0b}.nav-item.active{background:#f4f5ec;color:var(--deep);font-weight:700;box-shadow:0 5px 16px #0001}.nav-item.active:after{content:'';margin-right:auto;width:5px;height:5px;border-radius:50%;background:var(--green)}.nav-item svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:27px}.bot-pill{background:#ffffff08;border:1px solid #ffffff12;border-radius:12px;padding:13px;font-size:11px;line-height:1.8}.status-dot{width:7px;height:7px;display:inline-block;background:#d0a962;border-radius:50%;margin-left:6px}.status-dot.online{background:#8ac9a1}.sidebar-foot{display:flex;justify-content:space-between;font-size:10px;color:#9bb2a4;margin:14px 4px}.workspace{grid-column:2;min-width:0}.topbar{height:82px;background:#ffffffa8;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 10px;color:#b7c1b9}.topbar-actions{display:flex;align-items:center;gap:17px}.today-date{font-size:11px;color:var(--muted)}.avatar{display:grid;place-items:center;background:var(--mint);color:var(--green);width:36px;height:36px;border-radius:12px;font-weight:800}.user-label{font-size:11px;line-height:1.5}.user-label small{display:block;color:var(--muted);font-size:9px}.user-box{display:flex;align-items:center;gap:9px}.icon-btn{display:inline-grid;place-items:center;min-width:35px;min-height:35px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--muted)}.menu-toggle{display:none}.content{padding:31px 36px 45px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.page-head .eyebrow{font-size:11px;color:var(--green);margin-bottom:4px}.page-head p{color:var(--muted);font-size:12px;margin-top:5px}.head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border:1px solid var(--line);border-radius:9px;background:white;font-size:12px;font-weight:600;min-height:39px}.btn svg{width:16px;height:16px}.btn:hover{border-color:#a6bcb0;background:#f8fbf8}.btn.primary{color:white;background:var(--green);border-color:var(--green)}.btn.primary:hover{background:#17453f}.btn.danger{color:var(--red);border-color:#ebcfc9;background:#fff8f6}.btn.ghost{border-color:transparent;background:transparent;color:var(--green)}.btn.compact{padding:5px 10px;min-height:30px;font-size:11px}.notice{display:flex;align-items:flex-start;gap:13px;padding:17px 19px;border:1px solid #e4dec8;border-radius:12px;background:#fcf9ed;color:#766032;margin-bottom:22px;font-size:12px}.notice svg{margin-top:2px}.notice p{font-size:11px;margin-top:3px;opacity:.9}.notice .btn{margin-right:auto;white-space:nowrap}.notice.info{background:#edf4ef;border-color:#d3e4d7;color:var(--green)}.notice.error{background:#fff4f0;border-color:#eed3ca;color:var(--red)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);padding:20px;border-radius:13px;box-shadow:0 3px 7px #173c3303}.stat-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.stat-icon{display:grid;place-items:center;width:36px;height:36px;background:#eef4ef;border-radius:11px;color:var(--green)}.stat-icon.amber{color:#b17c34;background:#fbf2e1}.stat-icon.red{color:#ba6b50;background:#fbf0ea}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:29px;line-height:1.5;font-weight:750;letter-spacing:-.8px}.stat-foot{color:var(--muted);font-size:10px;margin-top:6px}.stat-foot a{color:var(--green)}.section-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:21px;margin-bottom:21px}.card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 2px 6px #143c3303}.card-head{padding:17px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0e9;gap:10px}.card-head h2{font-size:14px}.card-body{padding:21px}.card-head .subtitle{font-size:10px;color:var(--muted);margin-top:2px}.section-link{font-size:11px;color:var(--green);display:flex;align-items:center;gap:6px}.section-link svg{width:15px;height:15px}.agenda-row{display:flex;gap:13px;align-items:center;padding:14px 21px;border-bottom:1px solid #f0f1ec}.agenda-row:last-child{border:0}.agenda-time{font-size:11px;color:var(--muted);width:45px;flex-shrink:0;direction:ltr}.agenda-symbol{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;color:var(--green)}.agenda-row .row-info{flex:1;min-width:0}.row-title{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis}.row-subtitle{font-size:10px;color:var(--muted);margin-top:3px}.badge{display:inline-block;font-size:10px;border-radius:6px;padding:2px 8px;white-space:nowrap;color:#5f7066;background:#f0f2ed}.badge.success{color:#3e7857;background:#eaf4e9}.badge.warning{color:#a0792f;background:#faf1dc}.badge.danger{color:#b05944;background:#fceee7}.badge.info{color:#4d7279;background:#edf3f5}.empty{padding:40px 25px;text-align:center;color:var(--muted);font-size:12px}.empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#f2f5ef;margin:0 auto 13px;color:#90a393}.empty h3{font-size:13px;color:var(--ink);margin-bottom:5px}.empty p{max-width:340px;margin:0 auto;font-size:11px}.empty .btn{margin-top:17px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-item{display:flex;align-items:center;gap:13px;padding:16px;background:white;border:1px solid var(--line);border-radius:11px;text-align:right}.quick-item:hover{border-color:#b3c7b7}.quick-item>span:first-child{width:34px;height:34px;border-radius:9px;background:var(--mint);color:var(--green);display:grid;place-items:center}.quick-item strong{font-size:11px;display:block}.quick-item small{display:block;color:var(--muted);font-size:9px}.section-title{font-size:14px;margin:24px 0 13px}.footer-note{font-size:10px;color:#8b968c;text-align:center;margin-top:28px}
.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 20px;border-bottom:1px solid var(--line)}.searchbox{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fcfcf9;border-radius:8px;padding:6px 10px;min-width:240px}.searchbox input{border:0;outline:none;background:transparent;min-width:0;width:100%;font-size:11px}.searchbox svg{width:16px;height:16px;color:var(--muted)}.filter-select{border:1px solid var(--line);background:white;border-radius:8px;padding:6px 10px;font-size:11px;max-width:180px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap}thead{font-size:10px;color:var(--muted);background:#fafbf7}th{font-weight:500;padding:13px 20px}td{font-size:11px;padding:15px 20px;border-top:1px solid #edf0e9}tbody tr:hover{background:#fcfdf9}.cell-title{font-weight:650;color:var(--ink)}.cell-sub{font-size:9px;color:var(--muted);margin-top:2px}.row-actions{display:flex;gap:5px}.row-actions button{border:1px solid var(--line);padding:4px 9px;border-radius:7px;font-size:10px;min-height:30px}.row-actions button:hover{background:var(--mint)}.table-foot{padding:12px 20px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.table-foot button{color:var(--green)}.count-label{margin-right:auto;font-size:10px;color:var(--muted)}.inline-code{font-family:monospace;direction:ltr;display:inline-block;background:#f2f4ef;padding:1px 6px;border-radius:4px;font-size:11px}.report-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.report-card{padding:24px}.report-card>svg{width:26px;height:26px;color:var(--green);margin-bottom:12px}.report-card h2{margin-bottom:7px;font-size:15px}.report-card p{color:var(--muted);font-size:11px;margin-bottom:19px}.export-options{display:flex;gap:5px;flex-wrap:wrap}.export-options a{font-size:10px;padding:4px 10px;border:1px solid var(--line);border-radius:6px}.export-options a:hover{background:var(--mint)}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.health-item{padding:20px;border:1px solid var(--line);border-radius:11px}.health-item .row{display:flex;justify-content:space-between;margin-bottom:7px}.health-item p{font-size:11px;color:var(--muted)}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.settings-side{padding:20px}.settings-side h3{margin-bottom:8px}.settings-side p{font-size:11px;color:var(--muted);margin-bottom:15px}.settings-side .btn{width:100%;margin-top:7px}
dialog{color:var(--ink);background:white;border:1px solid var(--line);border-radius:17px;padding:0;width:min(720px,calc(100% - 30px));max-height:calc(100vh - 50px);box-shadow:0 25px 100px #102e3445}dialog::backdrop{background:#102b2880;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:17px}.modal-body{padding:23px 25px}.modal-footer{padding:16px 25px;border-top:1px solid var(--line);display:flex;gap:8px;justify-content:flex-start;position:sticky;bottom:0;background:#fff;z-index:2}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field.full{grid-column:1/-1}.form-field label{font-size:11px;font-weight:650}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dce3d8;border-radius:8px;padding:9px 11px;background:#fdfefb;color:var(--ink);font-size:12px;min-height:42px}.form-field textarea{min-height:90px;resize:vertical}.form-field .hint{font-size:9px;color:var(--muted)}.form-field input[readonly]{background:#f2f4ef;color:var(--muted)}.check-field{display:flex;align-items:center;gap:9px;min-height:40px}.check-field input{width:17px;min-height:17px;accent-color:var(--green)}.check-field label{font-size:11px}.form-error{background:#fff1ed;color:var(--red);font-size:12px;padding:12px 15px;border-radius:8px;margin-bottom:15px;display:none}.form-error.show{display:block}.required{color:var(--red);font-size:10px;margin-right:3px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.detail-item{border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.detail-item dt{font-size:10px;color:var(--muted)}.detail-item dd{margin:4px 0 0;font-size:12px;white-space:pre-wrap}.detail-item.full{grid-column:1/-1}.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.preview-box{padding:17px;background:#f4f7f0;border-radius:10px;font-size:12px;white-space:pre-wrap;border:1px solid var(--line);margin:13px 0}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.permission-group{padding:12px;border:1px solid var(--line);border-radius:9px;margin:8px 0}.permission-group h3{font-size:11px;margin-bottom:6px}.permission-group label{font-size:10px;display:flex;gap:5px;align-items:center}.permission-group input{accent-color:var(--green)}.progress-steps{display:flex;align-items:center;gap:10px;margin:0 0 20px;color:var(--muted);font-size:10px}.progress-steps span{display:flex;align-items:center;gap:5px}.progress-steps b{font-size:10px;background:#e8eee3;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.progress-steps .active{color:var(--green)}.progress-steps .active b{background:var(--green);color:white}.file-zone{border:1.5px dashed #afc2b2;border-radius:12px;text-align:center;padding:28px;background:#f8faf5}.file-zone label{font-size:12px;font-weight:600;display:block;margin:8px 0}.file-zone p{font-size:10px;color:var(--muted)}.file-zone input{max-width:100%;font-size:11px;margin-top:15px}.import-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:17px 0}.import-stat{padding:12px;text-align:center;border:1px solid var(--line);border-radius:8px;font-size:10px}.import-stat strong{display:block;font-size:22px}.import-rows{max-height:280px;overflow:auto}.import-rows td,.import-rows th{padding:10px;font-size:10px}.instructions{font-size:12px;line-height:2.2;padding-right:21px;margin-top:0}.instructions li{padding-bottom:10px}.instructions a{color:var(--green);text-decoration:underline}.toast-region{position:fixed;bottom:25px;left:25px;display:flex;flex-direction:column;gap:10px;z-index:90;max-width:calc(100vw - 50px)}.toast{background:var(--deep);color:#fff;border:1px solid #ffffff25;border-radius:10px;padding:12px 19px;box-shadow:var(--shadow);font-size:12px;animation:toast-in .2s ease}.toast.error{background:#903e35}.toast a{text-decoration:underline}.loading{padding:60px 20px;text-align:center;font-size:12px;color:var(--muted)}.spinner{display:inline-block;width:19px;height:19px;border:2px solid #d4e0d3;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:9px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(350px,1fr) minmax(350px,1fr)}.auth-aside{background:var(--deep);padding:64px 12%;color:white;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff12;border-radius:50%;left:-170px;bottom:30px;box-shadow:0 0 0 60px #ffffff04,0 0 0 120px #ffffff03}.auth-aside .brand{padding:0}.auth-aside h1{font-size:37px;line-height:1.8;font-weight:600;letter-spacing:-1.4px;margin-bottom:18px}.auth-aside h1 span{color:#e3b77b}.auth-aside p{font-size:13px;color:#b8cfc0;max-width:330px}.auth-aside .auth-foot{font-size:10px;color:#94ae9d;position:relative;z-index:1}.auth-main{padding:45px;display:flex;align-items:center;justify-content:center}.auth-card{width:min(410px,100%)}.auth-card .eyebrow{font-size:11px;color:var(--green);margin-bottom:8px}.auth-card h2{font-size:26px;margin-bottom:10px;font-weight:750}.auth-card>p{font-size:12px;color:var(--muted);margin-bottom:26px}.auth-card .form-grid{grid-template-columns:1fr;gap:17px}.auth-card .btn{width:100%;margin-top:23px}.auth-card .auth-note{font-size:10px;line-height:2;color:var(--muted);margin-top:17px}.auth-card .brand{display:none}.setup-badge{display:inline-block;background:var(--mint);color:var(--green);font-size:10px;border-radius:6px;padding:3px 10px;margin-bottom:14px}.checkbox-note{margin-top:20px;font-size:10px;color:var(--muted)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1500px){.content{padding-top:40px}.stat{padding:23px}.section-grid{gap:25px}}
@media(max-width:1150px){.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding:23px 13px}.topbar{padding:0 24px}.content{padding:25px 24px}.stats{gap:10px}.stat{padding:16px}.quick-grid{grid-template-columns:repeat(2,1fr)}.section-grid{grid-template-columns:1.25fr 1fr}.report-cards{grid-template-columns:repeat(2,1fr)}.settings-layout{grid-template-columns:1fr}.settings-side{display:flex;flex-wrap:wrap;gap:7px}.settings-side h3,.settings-side p{width:100%}.settings-side .btn{width:auto}}
@media(max-width:850px){.layout{display:block}.sidebar{transform:translateX(100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:-20px 0 50px #173c3333}.topbar{height:70px;padding:0 18px}.menu-toggle{display:grid}.breadcrumb{display:none}.today-date{display:none}.topbar-actions{gap:10px}.content{padding:24px 18px}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.page-head p{font-size:10px}.section-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.notice{flex-wrap:wrap}.notice .btn{margin-right:32px}.auth-screen{grid-template-columns:1fr}.auth-aside{display:none}.auth-main{padding:35px 22px}.auth-card .brand{display:flex;margin-bottom:40px}.permission-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.page-head{flex-wrap:wrap}.head-actions{width:100%}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:25px}.quick-grid{grid-template-columns:1fr 1fr;gap:8px}.quick-item{padding:12px 9px;gap:8px}.quick-item small{font-size:8px}.quick-item>span:first-child{width:29px;height:29px}.report-cards,.health-grid{grid-template-columns:1fr}.form-grid,.detail-grid{grid-template-columns:1fr}.form-field.full,.detail-item.full{grid-column:auto}.modal-head{padding:16px 18px}.modal-body{padding:18px}.modal-footer{padding:13px 18px}.searchbox{min-width:100%;width:100%}.toolbar{gap:8px;padding:13px}.count-label{margin-right:0}.card-head{padding:15px}.agenda-row{padding:13px}.agenda-time{width:35px}.agenda-symbol{display:none}.user-label{display:none}.import-stats{grid-template-columns:repeat(2,1fr)}.permission-grid{grid-template-columns:1fr 1fr}td,th{padding:12px}.notice{padding:14px}.notice .btn{margin-right:0}.toast-region{bottom:15px;left:15px}.btn{font-size:11px;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.pwa-navigation{display:flex;gap:7px;margin-bottom:14px}.pwa-navigation .btn{font-size:10px;min-height:30px}.jalali-input{display:flex;gap:5px;align-items:stretch;direction:ltr}.jalali-input input{min-width:0;flex:1}.jalali-input>button{width:42px;border:1px solid var(--line);background:var(--mint);border-radius:8px;color:var(--green);font-size:22px}.jalali-calendar{width:min(360px,calc(100vw - 24px));padding:18px;max-height:90vh}.calendar-head{display:flex;gap:7px;align-items:center;margin-bottom:15px}.calendar-head>button{background:var(--mint);border-radius:7px;min-height:36px;min-width:30px;font-size:23px}.calendar-head select,.calendar-head input{min-width:0;border:1px solid var(--line);border-radius:7px;padding:5px;width:100px;font-size:12px}.calendar-head input{width:80px;direction:ltr}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.calendar-grid>span{font-size:11px;color:var(--muted);padding:4px}.calendar-grid>button{min-height:36px;border-radius:7px;background:#f5f8f2;font-size:12px}.calendar-grid>button:hover,.calendar-grid>button[aria-current=date]{background:var(--green);color:#fff}.calendar-time{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:12px}.calendar-time input{border:1px solid var(--line);border-radius:6px;padding:6px;direction:ltr}.calendar-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:12px}.notification-item{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}.notification-item p{font-size:12px;color:var(--muted);margin:5px 0}.notification-item small{color:var(--muted)}.notification-item.unread{border-right:4px solid var(--accent);background:#fffcf2}.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:17px}.match-card{padding:20px;box-shadow:none}.match-card h3{margin-top:10px}.match-card p{font-size:11px;margin:9px 0;color:var(--muted)}.match-card dl{display:grid;grid-template-columns:90px 1fr;font-size:11px;gap:4px}.match-card dd{margin:0;white-space:pre-wrap}.match-card dt{color:var(--muted)}.match-card .btn{margin:5px 0 0 4px}.private-contact{padding:10px;border:1px solid var(--line);background:#f5f8f2;border-radius:8px}.share-products{display:grid;gap:7px;max-height:370px;overflow:auto;margin-top:15px}.share-product{display:flex;gap:12px;padding:12px;border:1px solid var(--line);border-radius:9px;font-size:12px}.share-product input{width:17px;accent-color:var(--green)}.share-product small{display:block;color:var(--muted);font-size:10px}.change-card{padding:23px;border-bottom:1px solid var(--line)}.change-card>p{font-size:11px;color:var(--muted);margin:8px 0}.change-diff{padding:12px;background:#fafbf6;border-radius:8px;margin:8px 0}.change-diff dt{font-size:11px;color:var(--muted)}.change-diff dd{margin:4px 0 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.change-old{text-decoration:line-through;text-decoration-color:#b7493e;color:#96675c}.change-new{font-weight:700;color:var(--green)}.bank-method-row{background:#f8faf4;border:1px solid var(--line);border-radius:11px;padding:15px;margin:12px 0}.bank-method-row>.btn{margin-top:12px}.pwa-full-text{width:100%;font:12px/2 var(--font);border:1px solid var(--line);border-radius:8px;padding:12px}.pwa-offline-banner{position:sticky;top:0;z-index:45;background:#8e5b22;color:#fff;text-align:center;padding:7px;font-size:12px}.pwa-install-card{border:1px solid var(--line);padding:15px;border-radius:10px;background:#edf4ef}.pwa-navigation~.eyebrow{margin-top:5px}@media(max-width:760px){.match-grid{grid-template-columns:1fr;padding:10px}.notification-item{align-items:flex-start;flex-direction:column;gap:10px}.change-card{padding:16px}.match-card{padding:16px}.topbar-actions #pwa-top-actions .btn{font-size:9px;padding:5px 8px}.pwa-navigation{width:100%}}
/* Requested visual adjustments: sidebar/avatar apply across responsive layouts;
   the two reminder actions retain their individually requested colors. */
#sidebar.sidebar { background-color:#151c3d; color:#fff; font-family:system-ui,sans-serif; }
#sidebar.sidebar .nav-item:not(.active) { color:#fff; }
.topbar .avatar { background-color:#141C3D; color:#FFFFFF; }
body:has(.nav-item[href="#reminders"].active) .page-head .btn.primary { background-color:#251d57; }
body:has(.nav-item[href="#reminders"].active) #table-content .empty { color:#757782; }
body:has(.nav-item[href="#reminders"].active) #table-content .empty .btn.primary { background-color:#141c3d; }
.sim-number{direction:ltr;unicode-bidi:isolate;white-space:nowrap;display:inline-block}body .inline-code{direction:ltr;unicode-bidi:isolate}.contact-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.contact-tools [data-contact-result]{width:100%;font-size:12px}.contact-tools label{display:block}.contact-tools select{width:100%}
.product-summary{direction:ltr;unicode-bidi:isolate;display:block;text-align:left;line-height:2;overflow-wrap:anywhere}.product-summary bdi{display:inline-block;unicode-bidi:isolate}.catalog-filters{padding:18px;border-bottom:1px solid var(--line)}.catalog-filters select{min-width:0;width:100%}
.request-summary .request-line{display:flex;flex-wrap:wrap;gap:10px 20px;padding:16px 0;border-bottom:1px solid var(--line)}.request-summary .request-line:last-child{border-bottom:0}.request-summary .request-notes{display:block;white-space:pre-wrap}.request-summary .product-summary{width:100%}.feedback-details{padding:10px;border:1px solid var(--line);border-radius:10px;margin-top:10px}.feedback-details ul{padding:0;list-style:none;margin:8px 0}.feedback-details li{padding:8px 0;border-bottom:1px solid var(--line)}.feedback-details li:last-child{border-bottom:0}.feedback-details small{display:block;margin-top:4px}

/* Desktop collapse uses the existing 850px mobile drawer boundary. */
.menu-toggle{display:inline-grid}
@media(min-width:851px){.layout.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.layout.sidebar-collapsed .sidebar{transform:translateX(100%)}}
.leave-balances{margin-bottom:24px}.leave-balances h2,.leave-balances>p{padding:12px 20px}.leave-balances td{white-space:nowrap}

.stats{margin-top:22px}.quick-grid{margin-bottom:24px}

.notification-item[data-notification-id]{cursor:pointer}.notification-item[data-notification-id]:focus-visible{outline:2px solid #251d57;outline-offset:-3px}

.failure-dialog{width:min(620px,calc(100% - 24px));border:2px solid #a23d35}.failure-dialog .modal-head h2{font-size:26px;color:#a23d35}.failure-dialog .modal-body p{font-size:19px;line-height:2;white-space:pre-wrap}.product-photo{object-fit:contain;background:#f5f5f5;border-radius:9px}.product-photo.thumbnail{width:76px;height:76px}.product-photo.detail{display:block;width:100%;max-height:320px;margin:12px auto}.catalog-filters{padding:18px}.agenda-row>.product-photo{flex-shrink:0}

.notification-toast{cursor:pointer;text-align:right;font:inherit}

.share-contact-form{display:grid;gap:12px;max-width:550px}.share-contact-form input{width:100%;padding:12px;border:1px solid #ddd;border-radius:9px}.share-success,.share-success-dialog p{font-size:25px;line-height:2;color:#155b3c}.share-success-dialog{padding:24px}

.mobile-settings{display:none}@media(max-width:850px){[data-home-section][data-mobile-hidden="true"]{display:none!important}.mobile-settings:not([data-mobile-hidden="true"]){display:flex;margin-bottom:16px}.quick-grid:not(:has(.quick-item:not([data-mobile-hidden="true"]))){display:none}.section-grid{gap:16px}}

/* 16px editable text prevents iOS focus zoom while retaining pinch zoom. */
#mobile-dashboard,.personal-page-nav{display:none}
@media(max-width:850px){
input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px}
.pwa-navigation .btn.compact{font-size:20px;min-height:60px;padding:10px 20px}
.content{width:100%;max-width:none;padding:12px}.page-head{margin-bottom:14px}
body.mobile-home-mode,body.personal-settings-mode{height:100dvh;overflow:hidden}
#main.mobile-dashboard-main{height:calc(100dvh - 70px);padding:10px;overflow:hidden}
#main.mobile-dashboard-main>:not(#mobile-dashboard){display:none!important}
#mobile-dashboard{height:100%;display:flex;flex-direction:column;gap:10px}
.mobile-launcher-header{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-shrink:0}
.mobile-launcher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(var(--launcher-rows),minmax(0,1fr));gap:8px;flex:1;min-height:0}
.mobile-launcher-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:0;padding:8px 4px;background:white;border:1px solid var(--line);border-radius:14px;text-align:center;font-size:13px;color:var(--ink)}
.launcher-icon svg{width:28px;height:28px}.launcher-count{font-size:22px;line-height:1.1;color:var(--green)}.launcher-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mobile-launcher-grid.dense .launcher-icon{display:none}.mobile-launcher-grid.dense .mobile-launcher-tile{gap:3px;font-size:11px;padding:4px}.mobile-launcher-grid.dense .launcher-count{font-size:14px}
#main.personal-settings-main{height:calc(100dvh - 70px);display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:8px}
.personal-settings-main>.page-head{display:block;margin:0;flex-shrink:0}.personal-settings-main .page-head .eyebrow,.personal-settings-main .page-head p{display:none}.personal-settings-main .page-head h1{font-size:19px;margin:4px 0}
.personal-settings-main .pwa-navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px}.personal-settings-main>section.card{flex:1;min-height:0;padding:10px;overflow:hidden}
#personal-form{height:100%;display:flex;flex-direction:column;gap:8px}#personal-form h2{font-size:15px;margin:0}#personal-form .permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:1;min-height:0}#personal-form .permission-grid label{font-size:12px;display:flex;align-items:center;gap:5px;min-height:0;padding:5px}
#personal-form label[data-pref-hidden="true"]{display:none}#personal-form .personal-page-nav{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}#personal-form .personal-page-nav .btn{min-height:32px;font-size:13px;padding:4px 12px}#personal-form .head-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex-shrink:0}#personal-form .form-field{gap:3px}#personal-form .btn{font-size:12px;padding:6px}
}
@media(max-width:850px) and (max-height:650px){#personal-form h2{display:none}#personal-form{gap:5px}.mobile-launcher-tile{gap:5px;font-size:12px}.launcher-icon svg{width:22px;height:22px}}

.mobile-launcher-tile{overflow:hidden}.launcher-label{line-height:1.4}.mobile-launcher-grid.dense .launcher-label{line-height:1.15}
/* Compact catalog selectors stay in one desktop row; narrow screens can swipe the row. */
.catalog-filters.form-grid{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:12px;overflow-x:auto;scrollbar-width:thin}
.catalog-filters.form-grid .form-field{flex:1 0 90px;min-width:90px;max-width:180px;margin:0}
.catalog-filters select{font-size:14px;padding:8px;min-height:40px;cursor:pointer}
.catalog-filters .btn,.catalog-filters #catalog-sort-label{flex-shrink:0;white-space:nowrap}
.product-detail-grid{grid-template-columns:1fr!important}
.product-detail-grid .detail-item{grid-column:1/-1}
.sim-number{direction:ltr;unicode-bidi:isolate;white-space:pre-wrap}
@media(max-width:700px){.catalog-filters select{font-size:16px}.catalog-filters.form-grid .form-field{flex-basis:120px}}
.product-summary-two-lines .product-line-primary{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:baseline}
.product-summary-two-lines .product-line-secondary{display:block;line-height:1.9;text-align:left}
html[data-personal-typography=true] body,html[data-personal-typography=true] body :is(input,button,select,textarea,a,span,p,small,label,td,th,dt,dd,h1,h2,h3,h4,bdi,strong){font-family:var(--personal-font)!important}
html[data-personal-typography=true] body :is(p,small,label,td,th,dt,dd,input,select,textarea,button,.row-title,.row-subtitle,.product-summary,.product-summary bdi,.catalog-filters select){font-size:var(--personal-size,16px)!important}
html[data-personal-bold=true] body :is(p,span,small,label,td,th,dt,dd,input,select,textarea,button,a,bdi,strong){font-weight:700!important}
@media(max-width:700px){html[data-personal-typography=true] body :is(input,select,textarea){font-size:max(16px,var(--personal-size))!important}}
/* Product text takes the full card width; images never reserve a mobile column. */
.catalog-product{display:block;padding:14px 18px;border-bottom:1px solid var(--line)}
.catalog-product:last-child{border-bottom:0}.catalog-product-text{width:100%;min-width:0}
.catalog-product .product-line-primary{display:block;line-height:1.8;word-spacing:2px}
.catalog-product .product-line-primary bdi{white-space:nowrap}
.catalog-product .product-line-secondary{line-height:1.8}
.catalog-product-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:3px 0 0;text-align:left}
.catalog-product-price>span{white-space:nowrap}
.catalog-product-actions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:9px}
.product-images-toggle{display:block;max-width:100%}.product-images-toggle>summary{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:6px 10px;width:fit-content;font-size:14px;list-style:none}
.product-images-toggle>summary::-webkit-details-marker{display:none}
.product-images-toggle[open]{flex-basis:100%}.product-images-toggle[open]>summary{margin-bottom:8px}
.product-images-toggle:not([open])>.product-images-content{display:none}
.product-images-content .product-photo{width:auto;max-width:100%;height:auto;max-height:360px;display:block;margin:8px 0}
@media(max-width:700px){.catalog-product{padding:12px}.catalog-product .product-summary{text-align:left}.catalog-product-actions .btn{min-height:36px;padding:5px 10px}.catalog-product-price{gap:4px}}
html[data-personal-typography=true] body :is(.small,.cell-sub,summary){font-size:var(--personal-size,16px)!important}
/* The same compact sale row is used in Products and Available Products. */
.catalog-product{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:8px;row-gap:0;padding:6px 12px;margin:0;min-width:0}
.catalog-product-text{min-width:0;overflow-wrap:anywhere}
.catalog-product-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;min-width:0}
.catalog-product-actions .btn{min-height:30px;padding:4px 7px;display:flex;align-items:center;justify-content:center;gap:4px;line-height:1.2;white-space:nowrap}
.catalog-product-actions svg{width:16px;height:16px;flex-shrink:0}
.catalog-product .product-summary,.catalog-product .product-line-primary,.catalog-product .product-line-secondary{line-height:1.35;margin:0}
.catalog-product .catalog-product-price{line-height:1.35;margin:0;gap:4px}
.sim-sale-summary{display:block;text-align:left;direction:ltr;line-height:1.35}
.sim-sale-desktop-head{display:block;line-height:1.25;overflow-wrap:normal}
.sim-sale-notes,.sim-sale-code{display:block;margin:0}
.sim-sale-mobile-number,.sim-sale-mobile-price{display:none}
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-desktop-head,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-desktop-head bdi{font-size:calc(var(--personal-size,16px)*2)!important}
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-notes,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-notes bdi,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-code{font-size:var(--personal-size,16px)!important}
@media(max-width:700px){
 .catalog-product{padding:6px 8px;column-gap:6px}
 .catalog-product-actions .btn{padding:4px 6px;min-height:30px}
 .catalog-product-sim .catalog-action-label{display:none}
 .catalog-product-sim .catalog-product-actions .btn{width:32px;height:30px}
 .sim-sale-desktop-head,.sim-sale-summary .sim-sale-desktop{display:none}
 .sim-sale-mobile-number,.sim-sale-mobile-price{display:block;line-height:1.3}
 .sim-sale-mobile-number{white-space:pre!important}
 html[data-personal-typography=true] body .sim-sale-summary .sim-sale-mobile-number{font-size:calc(var(--personal-size,16px)*1.25)!important}
}
@media(max-width:700px){.catalog-product .product-line-primary bdi{max-width:100%;white-space:normal;overflow-wrap:anywhere}}
/* Desktop gains a second column; the mobile list keeps its existing single column. */
.catalog-product-text,.catalog-product .product-summary,.catalog-product .product-line-secondary,.sim-sale-summary{text-align:center}
.catalog-product .catalog-product-price{justify-content:center}
@media(min-width:901px){#available-list,.catalog-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.catalog-product{height:100%;border-bottom:1px solid var(--line)}.catalog-product:nth-child(odd){border-left:1px solid var(--line)}}
#customer-suggestions{display:grid;gap:4px;max-height:220px;overflow-y:auto}
.customer-suggestion{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:right;border:1px solid var(--line);background:var(--surface,#fff);padding:9px;border-radius:8px;cursor:pointer}
@media(max-width:700px){.catalog-product .product-summary{text-align:center}}
html[data-personal-typography=true] body .catalog-product .product-line-primary,
html[data-personal-typography=true] body .catalog-product .product-line-primary bdi,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-desktop-head,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-desktop-head bdi,
html[data-personal-typography=true] body .sim-sale-summary .sim-sale-mobile-number,
html[data-personal-typography=true] body #sim-list .sim-card h2{font-size:var(--product-name-size,24px)!important}
.filter-layout-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(130px,1fr);align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.filter-layout-row select{min-width:0;width:100%}
.last-edit-info{margin:10px 0;color:var(--muted);font-size:14px}

.leave-days-calendar{max-width:440px;margin:10px auto;padding:12px;border:1px solid #ddd;border-radius:12px}.leave-days-calendar .selected{background:#251d57;color:white;border-color:#251d57}.leave-day-chips{display:flex;flex-wrap:wrap;gap:6px}.leave-day-chips button{font:inherit;padding:6px;border:1px solid #ddd;border-radius:8px}.leave-days-total{font-weight:bold;font-size:20px;padding:12px 0}.leave-days-calendar .calendar-head{display:flex;justify-content:space-between;align-items:center}
.leave-days-calendar .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center;margin:12px 0}.leave-days-calendar .calendar-grid button{min-height:42px;min-width:0;border:1px solid #ddd;border-radius:8px;font:inherit}.leave-days-calendar .calendar-grid button[aria-pressed=false]{background:white;color:#153c38}.leave-days-calendar .calendar-head button{min-height:42px;min-width:42px;border:1px solid #ddd;border-radius:8px;font-size:24px}

#pwa-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;flex-shrink:0;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);overflow:visible}#pwa-notification-bell svg{width:24px;height:24px}#pwa-unread-top:not([hidden]){position:absolute;top:-5px;right:-5px;border-radius:20px;min-width:18px;padding:2px 4px;background:#b53535;color:white;font:12px/1.2 system-ui;text-align:center}@media(max-width:760px){.topbar #pwa-top-actions{display:none!important}.topbar #pwa-notification-bell{display:inline-flex!important}.topbar>.topbar-actions{flex-wrap:nowrap;gap:8px}}

.price-message{padding:14px;margin:10px 0;border:1px solid #ddd;border-radius:12px;white-space:pre-wrap}.price-message small{display:block;color:#757782}.price-admin-message{background:#f0f1ff;border-color:#b8b7de}.price-message-value{font-size:22px;font-weight:bold}.review-images{display:flex;flex-wrap:wrap;gap:12px}.review-images img{max-width:100%;max-height:300px;object-fit:contain}#price-thread-messages{max-height:42vh;overflow:auto}

/* Mobile home only: white canvas and original iOS-inspired section symbols. */
@media(max-width:850px){
 body.mobile-home-mode,body.mobile-home-mode .workspace,body.mobile-home-mode .topbar{background:#fff}
 #mobile-dashboard .mobile-launcher-tile{background:#fff;border-color:#e9eaee;box-shadow:0 2px 8px #18264005;color:#28313e}
 #mobile-dashboard .launcher-icon{--icon-top:#72a6ff;--icon-bottom:#3676e8;display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:13px;background:linear-gradient(165deg,var(--icon-top),var(--icon-bottom));color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 3px 7px #253a5b17}
 #mobile-dashboard .launcher-icon svg{width:28px;height:28px;stroke-width:1.8}
 #mobile-dashboard [data-launcher-icon="create-product"]{--icon-top:#64b7ff;--icon-bottom:#2875eb}
 #mobile-dashboard [data-launcher-icon="money"]{--icon-top:#57d98a;--icon-bottom:#23a95c}
 #mobile-dashboard [data-launcher-icon="available-products"],#mobile-dashboard [data-launcher-icon="products"]{--icon-top:#ba91f6;--icon-bottom:#8860d8}
 #mobile-dashboard [data-launcher-icon="active-requests"]{--icon-top:#69cbe9;--icon-bottom:#2497c0}
 #mobile-dashboard [data-launcher-icon="overdue"]{--icon-top:#ff8775;--icon-bottom:#e95050}
 #mobile-dashboard [data-launcher-icon="pending"]{--icon-top:#ffc55b;--icon-bottom:#ed9826}
 #mobile-dashboard [data-launcher-icon="attention"],#mobile-dashboard [data-launcher-icon="notifications"]{--icon-top:#fa849c;--icon-bottom:#de5076}
 #mobile-dashboard [data-launcher-icon="today"]{--icon-top:#6ecfc4;--icon-bottom:#2da79c}
 #mobile-dashboard [data-launcher-icon="settings"]{--icon-top:#a0a9b8;--icon-bottom:#707d91}
 #mobile-dashboard .dense .launcher-icon{display:none}
}
@media(max-width:850px) and (max-height:650px){#mobile-dashboard .launcher-icon{width:36px;height:36px;border-radius:10px}#mobile-dashboard .launcher-icon svg{width:23px;height:23px}}
.request-batch-summary,.request-batch-preview{padding:12px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;background:#fff}.request-batch-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.request-batch-line:last-child{border-bottom:0}.request-batch-line .btn{flex-shrink:0}

/* Pricing shortcuts share the existing 850px mobile breakpoint. */
@media(max-width:850px){.desktop-pricing-shortcut{display:none!important}#mobile-dashboard [data-launcher-icon="price-notes"],#mobile-dashboard [data-launcher-icon="price-inquiries"]{--icon-top:#ba91f6;--icon-bottom:#8860d8}}
/* Price histories use one summary line and one price/action line. */
.price-note-row{padding:8px 12px;border-bottom:1px solid var(--line);min-width:0;background:#fff}.price-note-row:last-child{border-bottom:0}
.price-note-description{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;line-height:1.6;font-size:15px}.price-note-description bdi{unicode-bidi:isolate}
.price-note-bottom{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px}.price-note-bottom strong{font-size:15px}.price-note-action{width:40px;height:40px;min-width:40px;min-height:40px}.price-note-action svg{width:18px;height:18px}
@media(min-width:851px){.pwa-navigation .desktop-pricing-shortcut{font-size:32px;min-height:96px;padding:18px 28px}.desktop-pricing-shortcut svg{width:40px;height:40px}.page-head .pwa-navigation{flex-wrap:wrap;align-items:center}}
@media(max-width:850px){#mobile-dashboard [data-launcher-icon="phone-prices"]{--icon-top:#ba91f6;--icon-bottom:#8860d8}#mobile-dashboard [data-launcher-icon="sim-prices"]{--icon-top:#78afff;--icon-bottom:#427bdf}}
/* SIM products: compact mobile cards, list rows on desktop. */
@media(min-width:901px){#available-list .catalog-product-sim,.catalog-product-list .catalog-product-sim,#position-results .catalog-product-sim{grid-column:1/-1;border-left:0;height:auto}}
@media(max-width:700px){#available-list,.catalog-product-list,#position-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#available-list .catalog-product:not(.catalog-product-sim),.catalog-product-list .catalog-product:not(.catalog-product-sim){grid-column:1/-1}#available-list .catalog-product-sim,.catalog-product-list .catalog-product-sim,#position-results .catalog-product-sim{aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:10px;padding:8px;min-width:0;height:auto}.catalog-product-sim .catalog-product-actions{flex-direction:row;margin-top:6px}.catalog-product-sim .catalog-product-actions .btn{width:44px;height:44px;min-width:44px;min-height:44px}.catalog-product-sim .sim-number{white-space:nowrap;overflow-wrap:normal;font-size:clamp(14px,4vw,22px)}}
@media(max-width:350px){#available-list,.catalog-product-list,#position-results{grid-template-columns:minmax(0,1fr)}#available-list .catalog-product-sim,.catalog-product-list .catalog-product-sim,#position-results .catalog-product-sim{aspect-ratio:auto;min-height:140px}}
/* Make the SIM number stand out from its price in the staff catalogue. */
.catalog-product-sim .sim-sale-mobile-number,.catalog-product-sim .sim-sale-desktop-head .sim-number{font-size:1.15em;font-weight:700}
html[data-personal-typography=true] body .catalog-product-sim .sim-sale-mobile-number,html[data-personal-typography=true] body .catalog-product-sim .sim-sale-desktop-head .sim-number{font-size:calc(var(--personal-size,16px)*1.15)!important;font-weight:700}

html[data-personal-typography=true] body .catalog-product-sim .sim-sale-desktop-head,html[data-personal-typography=true] body .catalog-product-sim .sim-sale-desktop-head bdi:not(.sim-number),html[data-personal-typography=true] body .catalog-product-sim .sim-sale-mobile-price{font-size:var(--personal-size,16px)!important}

.notification-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 12px}.notification-lines{min-width:0;display:grid;gap:2px}.notification-lines strong,.notification-lines span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.notification-compact .btn{min-height:44px}.request-buy .request-arrow{color:#16803d}.request-sell .request-arrow{color:#c62828}

/* فهرست فشردهٔ درخواست‌های مشتری */
.request-list-row.request-list-buy,.request-list-row.request-list-sell,.request-list-row.request-list-neutral{margin:8px 12px;padding:12px;border:1px solid;border-radius:12px;gap:12px}
.request-list-row.request-list-buy{background:#e8f7ed;border-color:#a9dfbb}
.request-list-row.request-list-sell{background:#fff0f0;border-color:#efb4b4}
.request-list-row.request-list-neutral{background:#f4f5f6;border-color:#ddd}
.request-list-row .row-info{min-width:0}.request-list-row .row-info strong,.request-list-row .row-info p{display:block;margin:0;overflow-wrap:anywhere}.request-list-row .row-info p{margin-top:4px}
@media(max-width:700px){.request-step{grid-column:1/-1;border:1px solid #dce2df;border-radius:10px;padding:9px 12px;margin-bottom:6px}.request-step>summary{cursor:pointer;font-weight:600}.request-step>.form-field{margin-top:8px}.request-step>.form-field>label:first-child{display:none}}

@media(max-width:700px){.request-step select.request-visible-options{width:100%;height:auto;min-height:5em;max-height:15em;padding:4px;overflow:auto}.request-step .request-multi-next{margin-top:8px}}

@media (min-width:851px){body:has(.nav-item[href="#dashboard"].active){background:#fff}body:has(.nav-item[href="#dashboard"].active) .layout{--green:#000080;--mint:#e9edff;--paper:#fff}body:has(.nav-item[href="#dashboard"].active) .workspace,body:has(.nav-item[href="#dashboard"].active) .content{background:#fff}body:has(.nav-item[href="#dashboard"].active) .stat-icon:not(.amber):not(.red){color:#000080;background:#e9edff}}

@media(max-width:700px){.mobile-launcher-grid.dense{grid-template-rows:repeat(var(--launcher-rows),minmax(94px,auto));overflow-y:auto;align-content:start}}

 .new-product-badge{position:relative;display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:80px;height:50px;color:#ef1111;background:transparent;border:0;font-size:0;line-height:1;flex:none;pointer-events:none}
.new-product-badge::after{content:"NEW";font:900 26px/1 Arial,sans-serif;color:#ef1111;transform:rotate(-8deg);position:relative}
.new-product-badge::before{content:"";position:absolute;inset:0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 62'%3E%3Cg fill='none' stroke='%23ef1111' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M7 30l6 1M12 13l5 5M29 3l3 7M51 2l-1 7M73 4l-4 7M92 15l-6 4M97 31l-7 1M90 49l-6-4M72 58l-4-7M49 60l1-7M27 57l4-7M8 47l7-4'/%3E%3C/g%3E%3C/svg%3E");animation:sami-new-rays 1s steps(2,end) infinite}
@keyframes sami-new-rays{50%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.new-product-badge::before{animation:none}}
.shop-price-row{position:relative;display:flex;align-items:center;justify-content:center;min-height:50px}.shop-price-row .new-product-badge{position:absolute;left:0;top:50%;transform:translateY(-50%)}
.shop-product-sim{position:relative}.shop-product-sim>.new-product-badge{position:absolute;left:4px;bottom:1px;width:65px;height:39px}.shop-product-sim>.new-product-badge::after{font-size:21px}


.sami-brand-logo{display:block;width:100%;max-width:160px;height:70px;object-fit:contain;background:#fff;border-radius:10px}.shop-brand-logo{display:block;max-width:115px;width:auto;max-height:48px;object-fit:contain;background:#fff;border-radius:6px}

.shortcut-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.desktop-pricing-shortcut .shortcut-image{width:40px;height:40px;border-radius:9px;flex:none}

/* Keep the supplied high-resolution shortcut artwork legible on each screen. */
.shortcut-image{object-fit:cover;object-position:center;image-rendering:auto}
#mobile-dashboard .launcher-icon:has(.shortcut-image){width:64px;height:64px;overflow:hidden;border-radius:14px}
#mobile-dashboard .launcher-icon .shortcut-image{transform:scale(1.35)}
@media(min-width:851px){.quick-item>span:first-child:has(.shortcut-image),.stat-icon:has(.shortcut-image){width:48px;height:48px;overflow:hidden;flex-shrink:0}.quick-item .shortcut-image,.stat-icon .shortcut-image{transform:scale(1.3)}}
.nav-item .shortcut-image{width:28px;height:28px;border-radius:6px;flex:none;object-fit:cover}
@media(max-width:850px) and (max-height:650px){#mobile-dashboard .launcher-icon:has(.shortcut-image){width:48px;height:48px}}

/* The supplied reference icons are transparent 512px PNGs. */
.shortcut-image{object-fit:contain;background:transparent;border-radius:0}
#mobile-dashboard .launcher-icon:has(.shortcut-image){width:min(100%,110px);height:auto;aspect-ratio:1;background:none;box-shadow:none;border:0;border-radius:0;overflow:visible}
#mobile-dashboard .launcher-icon .shortcut-image{transform:scale(2)}
.quick-item>span:first-child:has(.shortcut-image),.stat-icon:has(.shortcut-image){background:transparent;box-shadow:none;border-radius:0;overflow:visible}
@media(min-width:851px){.quick-item .shortcut-image,.stat-icon .shortcut-image{transform:scale(1.7)}}
@media(max-width:850px){#main.mobile-dashboard-main{overflow-y:auto}#mobile-dashboard .mobile-launcher-grid{flex:0 0 auto;grid-template-rows:repeat(var(--launcher-rows),minmax(190px,auto));align-content:start}#mobile-dashboard .mobile-launcher-tile{gap:5px}#mobile-dashboard .mobile-launcher-grid.dense .launcher-icon:has(.shortcut-image){display:grid}}

.stat-icon:has(.shortcut-image){background:transparent!important}

@media(min-width:851px){
 #mobile-dashboard{display:block;height:auto;margin:16px 0} #mobile-dashboard .mobile-launcher-header{display:none}
 #mobile-dashboard .mobile-launcher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-template-rows:none;gap:12px}
 #mobile-dashboard .mobile-launcher-tile{min-height:150px} #mobile-dashboard .launcher-icon{display:grid;place-items:center;width:64px;height:64px}
 #mobile-dashboard .launcher-icon svg{width:48px;height:48px} #mobile-dashboard .launcher-icon .shortcut-image{width:96px;height:96px;object-fit:contain}
 #main.mobile-dashboard-main>.quick-grid,#main.mobile-dashboard-main>[data-home-section="quick-heading"]{display:none}
}

.price-note-bottom>span{min-width:0;overflow:hidden;text-overflow:ellipsis}

.request-step{grid-column:1/-1;border:1px solid #e0e3ea;border-radius:9px;margin:0;padding:0;min-width:0}.request-step>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;padding:9px 12px;font-weight:600;list-style:none}.request-step>summary:before{content:'▾';color:#000080}.request-step-value{color:#000080;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92em}.request-step>.form-field{padding:4px 12px 10px;margin:0!important}.request-step>.form-field>label:first-child{display:none}.request-options{display:flex;flex-wrap:wrap;gap:6px}.request-option{border:1px solid #cdd2df;background:#fff;border-radius:8px;padding:9px 13px;color:#000080;cursor:pointer}.request-option[aria-pressed=true]{background:#000080;color:white}.request-native-select{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;pointer-events:none}.form-grid:has(>.request-step){gap:5px}.request-step[hidden]{display:none!important}

.catalog-share-check{display:flex;align-items:center;gap:4px;font-size:13px;white-space:nowrap;cursor:pointer}.catalog-share-check input{width:20px;height:20px;accent-color:#000080}

/* Approved Sami palette. Artwork and shortcut images remain unchanged. */
:root{--ink:#000080;--muted:#000080;--green:#000080;--deep:#000080;--mint:#E5E7EB;--paper:#FFFFFF;--white:#FFFFFF;--line:#E5E7EB;--accent:#3B82F6;--red:#000080}
body,.workspace,.content{background-color:#FFFFFF;color:#000080}
.sidebar{background:#000080;color:#FFFFFF}
.topbar,.card,.auth-card,.mobile-launcher-tile{background-color:#FFFFFF;border-color:#E5E7EB;color:#000080}
.btn,.request-option{background:#FFFFFF;color:#000080;border-color:#E5E7EB}
.btn.primary,.request-option[aria-pressed=true]{background:#000080;color:#FFFFFF;border-color:#000080}
.btn.danger{background:#FFFFFF;color:#000080;border:2px solid #000080}
.btn:focus-visible,.request-option:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #3B82F6;outline-offset:2px}
.badge,.notice,.notice.info,.notice.error{background:#E5E7EB;color:#000080;border-color:#3B82F6}
.request-list-row.request-list-buy{background:#FFFFFF;border-color:#3B82F6}
.request-list-row.request-list-sell{background:#E5E7EB;border-color:#000080}
.request-buy .request-arrow,.request-sell .request-arrow,.catalog-product-price{color:#000080}
.notification-item.unread{background:#FFFFFF;border-color:#3B82F6}

.hamta-inventory-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.hamta-inventory-controls label{display:grid;gap:5px}.hamta-inventory-rows{display:grid;gap:8px;max-height:55vh;overflow:auto}.hamta-inventory-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #E5E7EB;border-radius:10px}.hamta-inventory-row p{margin:4px 0 0;font-size:13px}.hamta-inventory-row button{flex:none}

/* Compact operational lists; preserve touch target size and existing artwork. */
.notification-compact{padding:7px 10px;gap:7px}.notification-lines{gap:1px}.notification-lines strong,.notification-lines span{font-size:14px;line-height:1.35}.compact-work-row{padding:7px 10px;gap:8px;min-height:54px}.compact-work-row .row-info{min-width:0}.compact-work-row .row-info strong,.compact-work-row .row-info p{display:block;margin:0;font-size:14px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-state{flex:none;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.work-state-waiting{background:#fff0d7;color:#945000}.work-state-active{background:#e4efff;color:#0647a6}.work-state-done{background:#e0f4e8;color:#146b39}.compact-group-title{margin:0;padding:8px 10px;background:#E5E7EB;color:#000080;font-size:15px;font-weight:700}.compact-work-row .btn,.notification-compact .btn{min-height:44px}

.compact-change-heading{font-weight:700;margin:0 0 10px}.compact-change-diff{display:grid;gap:6px}.compact-change-diff>div{display:grid;grid-template-columns:minmax(70px,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;padding:8px;background:#F8FAFC;border-radius:8px}.compact-change-diff del{color:#5d6470}.compact-change-diff strong{color:#000080;font-weight:800;overflow-wrap:anywhere}

.pricing-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:12px 14px 0}.pricing-tabs .btn{min-height:44px}
/* Combined pricing for the manager */
.combined-pricing-icons{display:flex;align-items:center;justify-content:center;width:100%;height:100%;gap:2px}.combined-pricing-icons .shortcut-image{width:48%!important;height:100%!important;object-fit:contain}
.manager-pricing{max-width:980px;margin:0 auto;padding:12px}.manager-price-filters{display:flex;gap:10px;margin:8px 0 14px}.manager-price-filters button{flex:1;border:1px solid #d8dce7;border-radius:999px;padding:10px;background:#f1f3f7;color:#151b34;font:inherit;font-weight:700;cursor:pointer}.manager-price-filters button.selected{background:#2563eb;color:#fff;border-color:#2563eb}#manager-price-search{width:100%;padding:10px 14px;border:1px solid #d8dce7;border-radius:12px;margin-bottom:14px;font:inherit}.manager-price-list{display:grid;gap:12px}.manager-price-card{background:#fff;border:1px solid #dbe1eb;border-radius:20px;padding:16px 18px;color:#101a37}.manager-price-card.is-waiting{background:#fff0f1;border-color:#ffc5ca}.manager-price-top,.manager-price-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.manager-price-top strong{font-size:1.05rem}.manager-price-badge{padding:5px 11px;border-radius:10px;font-weight:700;font-size:.88rem;white-space:nowrap}.manager-price-badge.waiting{background:#ffd9dc;color:#bd101b}.manager-price-badge.answered{background:#dcf5e7;color:#087839}.manager-price-badge.manual{background:#e5efff;color:#1351d9}.manager-price-content{display:flex;align-items:center;gap:12px;margin:10px 0}.manager-price-content img{width:54px;height:54px;object-fit:contain}.manager-price-content p{margin:4px 0;color:#515968}.manager-price-content p b{color:#1454db}.is-waiting .manager-price-content p b{color:#c51a22}.manager-price-product{font-size:1.17rem;font-weight:800}.manager-price-message{font-size:.86rem}.manager-price-bottom time{font-size:.86rem;color:#6b7280}.manager-price-bottom .btn{border-radius:9px}.manager-price-bottom .btn.primary{background:#164de2;border-color:#164de2;color:#fff}@media(min-width:800px){.manager-price-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact manager price cards while keeping controls easy to tap. */
.manager-price-list{gap:10px}.manager-price-card{padding:9px 16px}.manager-price-content{margin:4px 0;gap:10px}.manager-price-content img{width:48px;height:48px;flex:none}.manager-price-content>div{min-width:0}.manager-price-content p{margin:2px 0;line-height:1.35}.manager-price-product{line-height:1.3;overflow-wrap:anywhere}.manager-price-badge{padding:3px 9px}.manager-price-bottom .btn{min-height:44px}
/* Compact pricing and customer request controls */
.compact-page-nav{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:0 0 8px}.compact-page-nav .btn{white-space:nowrap;min-height:42px}.compact-page-nav .compact-nav-action{margin-inline-start:auto}.manager-pricing{padding-top:0}.manager-price-filters{margin-top:0;gap:5px}.manager-price-filters button{min-width:0;padding:8px 4px;font-size:.85rem}.manager-price-filters #manager-response-filter{flex:1.6;border-radius:12px;font-size:.78rem}.compact-requests{padding:10px}.request-filters{display:flex;gap:8px}.request-filters select{flex:1;min-width:0;min-height:44px;border:1px solid #d8dce7;border-radius:10px;background:#fff;padding:6px;font:inherit}.request-search{display:block;margin-top:8px}.request-search input{width:100%}.request-list-row .request-detail-sell{color:#087d3c;border-color:#179750}.request-list-row .request-detail-buy{color:#b51d2a;border-color:#d2414c}@media(max-width:420px){.compact-page-nav .btn{font-size:.76rem;padding-inline:7px}.manager-price-filters button{font-size:.73rem}.manager-price-filters #manager-response-filter{font-size:.68rem}}
.request-list-row.request-list-sell [data-action="detail"]{color:#087d3c;border-color:#179750}.request-list-row.request-list-buy [data-action="detail"]{color:#b51d2a;border-color:#d2414c}
/* Enlarge the artwork within its existing layout slot. */
.manager-price-content img{transform:scale(3);transform-origin:center;pointer-events:none}.manager-price-product{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:851px){#main.mobile-dashboard-main>:not(#mobile-dashboard){display:none!important}#mobile-dashboard{display:flex;flex-direction:column;gap:14px}#mobile-dashboard .mobile-launcher-header{display:none}#mobile-dashboard .mobile-launcher-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}#mobile-dashboard .mobile-launcher-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;padding:12px;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:14px;color:#000080;gap:8px;cursor:grab}#mobile-dashboard .mobile-launcher-tile:active{cursor:grabbing}#mobile-dashboard .launcher-icon{display:grid;place-items:center;width:78px;height:78px}#mobile-dashboard .launcher-icon .shortcut-image{width:100%;height:100%;object-fit:contain;transform:scale(1.6)}#mobile-dashboard .launcher-icon svg{width:50px;height:50px}#mobile-dashboard .launcher-label{font-weight:700}#mobile-dashboard .launcher-count{font-size:18px}#personal-form .permission-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
.request-toggle-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.request-toggle-filters button{min-width:0;min-height:44px;padding:6px 3px;border:1px solid #cbd2dd;border-radius:10px;background:#fff;color:#000080;font:inherit;font-weight:700;cursor:pointer}.request-toggle-filters button.selected{background:#000080;border-color:#000080;color:#fff}.catalog-share-wide{display:block;width:100%;min-height:52px;margin:0 0 10px;text-align:center}.page-head:has(.sr-only){margin-bottom:10px}@media(max-width:420px){.request-toggle-filters button{font-size:.78rem}}
/* Four compact product filters */
.catalog-four-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px;border-bottom:1px solid #e5e7eb}.catalog-four-filters button,.catalog-four-filters select{width:100%;min-width:0;min-height:44px;padding:5px 3px;border:1px solid #cbd2dd;border-radius:9px;background:#fff;color:#000080;font:inherit;font-size:13px;font-weight:700}.catalog-four-filters button.selected{background:#000080;color:#fff;border-color:#000080}.catalog-four-filters button:disabled{opacity:.45}.catalog-four-filters select{cursor:pointer}html[data-personal-typography=true] .catalog-four-filters :is(button,select){font-size:min(var(--personal-size,16px),13px)!important}@media(max-width:380px){.catalog-four-filters{gap:3px;padding:6px 3px}.catalog-four-filters button,.catalog-four-filters select{font-size:11px!important;letter-spacing:-.3px}}
/* The new-product sticker is reserved for customer storefronts. */
#app .new-product-badge,#sim-list .new-product-badge{display:none!important}
