/* Hamyar brand layer: keeps the product skin separate from module styles. */
.login-view{
  direction:ltr;
  grid-template-columns:1.06fr .94fr;
  grid-template-areas:"visual form";
}
.login-art{
  grid-area:visual;
  direction:rtl;
  background:linear-gradient(145deg,#203b82 0%,#294b9f 58%,#18306f 100%);
}
.login-panel{
  grid-area:form;
  direction:rtl;
  position:relative;
  background:radial-gradient(circle at 100% 0,#edf1fc 0,transparent 36%),#fff;
}
.login-panel:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:34%;
  height:5px;
  background:var(--coral);
}
.login-logo-wrap{
  width:min(430px,100%);
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:58px;
}
.login-logo-wrap img{
  width:76px;
  height:76px;
  object-fit:contain;
  border-radius:16px;
  background:white;
  box-shadow:0 8px 28px rgba(29,53,116,.12);
}
.login-logo-wrap strong,.login-logo-wrap small{display:block}
.login-logo-wrap strong{font-size:calc(29px + var(--ui-font-add, 3px));color:#284494}
.login-logo-wrap small{color:var(--muted);margin-top:3px}
.hamyar-brand{display:flex;align-items:baseline;gap:14px;margin-bottom:14vh}
.hamyar-brand span{font-size:calc(35px + var(--ui-font-add, 3px));font-weight:900;color:white}
.hamyar-brand small{color:#b9c9ef}
.art-content h1{max-width:520px}
.login-card h2{color:#1d3476}
.login-card input:focus{border-color:#284494;box-shadow:0 0 0 3px rgba(40,68,148,.1)}
.login-view .btn--primary{background:#284494}
.login-view .eyebrow.ink,.login-view .password-field button,.login-view .demo-help summary{color:#284494}
.login-view .demo-help{background:#f1f4fb}
.route-preview i{background:white;color:#284494}
.sidebar-logo{display:flex;align-items:center;gap:10px}
.sidebar-logo img{width:42px;height:42px;object-fit:contain;background:white;border-radius:10px}
.sidebar-logo strong{font-size:calc(20px + var(--ui-font-add, 3px));color:white}
.brand-row{padding-right:4px}
.erp-signal b{font-family:Vazirmatn,Tahoma,sans-serif;font-size:calc(22px + var(--ui-font-add, 3px));letter-spacing:0}

/* Keep the ERP shell identical for management, purchasing, and accounting. */
.app-shell{grid-template-columns:1fr 250px}
.sidebar{left:auto;right:0}
.workspace{grid-column:1}
.module-page-hero{position:relative;overflow:hidden;min-height:170px;border-radius:22px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;color:white;background:linear-gradient(125deg,#284494,#3d64bc)}
.module-page-hero:after{content:"";position:absolute;left:-40px;top:-90px;width:270px;height:270px;border:1px solid #ffffff27;border-radius:50%}
.module-page-hero>div,.module-page-hero>button{position:relative;z-index:1}.module-page-hero h1{margin:4px 0 7px;font-size:calc(26px + var(--ui-font-add, 3px))}.module-page-hero p:last-child{margin:0;color:#cbd7f4}.purchase-toolbar{margin-top:22px}.purchase-request-list{display:grid;gap:10px}.purchase-row{background:white;border:1px solid var(--line);border-radius:16px;padding:15px 17px;display:grid;grid-template-columns:48px minmax(180px,1.4fr) minmax(130px,.8fr) minmax(120px,.8fr) 155px 24px;gap:12px;align-items:center;cursor:pointer;transition:.2s}.purchase-row:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:var(--green)}.purchase-row .item-preview strong,.purchase-row .requester-cell strong{display:block}.purchase-row small{display:block;color:var(--muted);margin-top:4px}.purchase-status{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:20px;width:max-content;font-size:calc(10px + var(--ui-font-add, 3px));font-weight:800;background:var(--mint);color:var(--green)}.purchase-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.purchase-status--manager{background:#fff3dc;color:#94620a}.purchase-status--warehouse{background:#e9effe;color:#284494}.purchase-status--purchase{background:#fff0ec;color:#a94d35}.purchase-status--ready{background:#e3f5eb;color:#14704b}.purchase-status--completed{background:#edf0f2;color:#52616a}.purchase-status--rejected{background:#fff0ec;color:#a94228}.purchase-form-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px}.purchase-items-editor{display:grid;gap:8px}.purchase-item-input{display:grid;grid-template-columns:38px 1.3fr 90px 110px 1fr 38px;gap:8px;align-items:center}.purchase-item-input input,.purchase-item-input select{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:white;min-width:0}.purchase-item-input>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:var(--green);font-weight:800}.purchase-item-input button{border:0;background:#fff0ec;color:#a94228;border-radius:9px;height:38px}.request-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:18px}.request-summary>div{background:white;border:1px solid var(--line);border-radius:11px;padding:12px}.request-summary small{display:block;color:var(--muted);margin-bottom:4px}.workflow-items{display:grid;gap:8px}.workflow-item{border:1px solid var(--line);background:white;border-radius:13px;padding:13px}.workflow-item-head{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center}.workflow-item-head>i{font-style:normal;width:30px;height:30px;border-radius:10px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:900}.workflow-item-head h4{margin:0}.workflow-item-head small{color:var(--muted)}.item-decision{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}.item-decision label{font-size:calc(10px + var(--ui-font-add, 3px));font-weight:800}.item-decision input,.item-decision select,.item-decision textarea{width:100%;margin-top:5px;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.item-decision textarea{min-height:38px;resize:vertical}.stock-decision{grid-template-columns:1fr 1fr}.stock-balance{padding:9px 10px;background:var(--cream);border-radius:8px;margin-top:10px;font-size:calc(11px + var(--ui-font-add, 3px))}.item-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.item-flag{padding:5px 8px;border-radius:12px;background:var(--cream);color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px));font-weight:800}.item-flag.ready{background:#e3f5eb;color:#14704b}.item-flag.buy{background:#fff0ec;color:#a94d35}.procurement-fields{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px;margin-top:10px}.procurement-fields input,.procurement-fields select{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.purchase-detail-actions{margin-top:18px;background:var(--mint);border:1px solid #ccd8f4;border-radius:14px;padding:15px}.purchase-detail-actions h4{margin:0 0 9px}.purchase-detail-actions>textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;resize:vertical}.receipt-checks{display:grid;gap:7px}.receipt-check{display:flex;align-items:center;gap:9px;padding:10px;background:white;border:1px solid var(--line);border-radius:10px}.receipt-check input{width:18px;height:18px}.empty-modules{text-align:center;padding:45px;background:white;border:1px dashed var(--line);border-radius:16px}

@media(max-width:1000px){
  .login-view{display:block}
  .login-art{display:none}
  .login-panel{min-height:100vh}
  .login-logo-wrap{margin-bottom:42px}
}

@media(max-width:760px){
  .app-shell{display:block}
  .sidebar,.role-manager .sidebar{left:auto;right:0;transform:translateX(105%)}
  .sidebar.open,.role-manager .sidebar.open{transform:none}
}

@media(max-width:700px){
  .module-page-hero{display:block;padding:24px}.module-page-hero .btn{width:100%;margin-top:18px}.purchase-row{grid-template-columns:42px 1fr auto}.purchase-row .requester-cell,.purchase-row .purchase-date{display:none}.purchase-row .purchase-status{grid-column:2}.purchase-row>span:last-child{grid-column:3;grid-row:1/3}.purchase-item-input{grid-template-columns:34px 1fr 36px}.purchase-item-input input,.purchase-item-input select{grid-column:2}.purchase-item-input button{grid-column:3;grid-row:1}.request-summary{grid-template-columns:1fr}.item-decision,.stock-decision,.procurement-fields{grid-template-columns:1fr}.workflow-item-head{grid-template-columns:30px 1fr}.workflow-item-head>.purchase-status{grid-column:2}.purchase-toolbar{flex-wrap:wrap}.purchase-toolbar .search-box{flex-basis:100%}}

@media(max-width:560px){
  .login-logo-wrap{margin-bottom:34px}
  .login-logo-wrap img{width:62px;height:62px}
  .login-logo-wrap strong{font-size:calc(25px + var(--ui-font-add, 3px))}
}

.purchase-item-input .pi-specs{grid-column:2/5}
.purchase-item-input .pi-usage{grid-column:5/7}

@media(max-width:700px){
  .purchase-item-input .pi-specs,.purchase-item-input .pi-usage{grid-column:2}
}

.jalali-date-display{width:100%;margin-top:7px;padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:white;color:var(--ink);text-align:right;position:relative}.jalali-date-display:after{content:"تقویم شمسی";float:left;color:var(--green);font-size:calc(9px + var(--ui-font-add, 3px))}.jalali-picker{display:none;position:fixed;width:300px;padding:13px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 60px rgba(19,35,80,.22);z-index:300;direction:rtl}.jalali-picker.open{display:block;animation:modalIn .18s ease}.jalali-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;text-align:center;margin-bottom:11px}.jalali-head button{width:32px;height:32px;border:0;border-radius:9px;background:var(--mint);color:var(--green);font-size:calc(20px + var(--ui-font-add, 3px))}.jalali-week,.jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.jalali-week{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px));margin-bottom:4px}.jalali-days button{height:34px;border:0;border-radius:9px;background:transparent;color:var(--ink)}.jalali-days button:hover{background:var(--mint);color:var(--green)}.jalali-days button.selected{background:var(--green);color:white;font-weight:900}.jalali-days i{height:34px}.jalali-today{width:100%;margin-top:8px;padding:8px;border:0;border-radius:9px;background:var(--cream);color:var(--green);font-weight:800}.money-display{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}.money-display:focus{border-color:var(--green)!important;box-shadow:0 0 0 3px var(--mint)}.beneficiaries-list{display:grid;gap:8px}.beneficiary-row{display:grid;grid-template-columns:100px 1.3fr 120px 1.4fr 38px;gap:10px;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.beneficiary-row small{direction:ltr;color:var(--muted)}.beneficiary-row button{border:0;background:#fff0ec;color:#a94228;border-radius:8px;width:32px;height:32px}.beneficiary-form{display:grid;grid-template-columns:120px 1.3fr 130px 1.4fr auto;gap:8px;margin-top:14px}.beneficiary-form input,.beneficiary-form select{min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px;background:white}

@media(max-width:700px){.jalali-picker{width:calc(100vw - 20px);left:10px!important}.beneficiary-row{grid-template-columns:80px 1fr 34px}.beneficiary-row span:nth-child(3),.beneficiary-row small{display:none}.beneficiary-form{grid-template-columns:1fr}}
.cartable-section{display:grid;gap:10px;margin-bottom:24px}.cartable-section>.section-head{margin:4px 0}.cartable-section>.purchase-row{width:100%}

/* Refined PYACO identity and Hamyar home */
.login-brand-watermark{position:absolute;width:510px;height:510px;object-fit:contain;left:-150px;bottom:-120px;opacity:.075;filter:grayscale(1) brightness(4);transform:rotate(-8deg)}
.login-logo-wrap{align-items:center;margin-bottom:42px}
.login-logo-wrap img{width:126px;height:120px;padding:0;object-fit:contain;border-radius:0;background:transparent;box-shadow:none}
.sidebar-logo-mark{position:relative;display:block;width:47px;height:47px;overflow:hidden;border-radius:11px;background:#fff}
.sidebar-logo-mark img{position:absolute;width:59px!important;height:59px!important;max-width:none;object-fit:contain!important;left:-6px;top:-2px;transform:scale(1.35);transform-origin:top center}
.sidebar-logo>img{display:none}
.brand-row{padding-top:2px;padding-bottom:25px}
.hamyar-home-hero{position:relative;min-height:320px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);overflow:hidden;border-radius:28px;color:#fff;background:linear-gradient(125deg,#172e70 0%,#284a9c 58%,#3159b4 100%);box-shadow:0 25px 65px rgba(25,48,112,.19)}
.hamyar-home-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,#000,transparent 72%)}
.hamyar-home-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:#f31f27;filter:blur(100px);opacity:.16;right:38%;bottom:-190px}
.home-hero-copy{position:relative;z-index:2;align-self:center;padding:42px 46px}.home-hero-copy h1{margin:7px 0 10px;font-size:clamp(27px,3vw,40px);line-height:1.45}.home-hero-copy>p:last-of-type{max-width:590px;margin:0;color:#d5def3;font-size:calc(14px + var(--ui-font-add, 3px));line-height:2}.home-badge{display:inline-flex;padding:6px 10px;margin-bottom:28px;border:1px solid #ffffff2b;border-radius:20px;background:#ffffff10;color:#dce5fa;font-size:calc(10px + var(--ui-font-add, 3px))}.home-hero-points{display:flex;gap:17px;margin-top:25px;color:#bfcdee;font-size:calc(10px + var(--ui-font-add, 3px))}.home-hero-points span::first-letter{color:#f31f27}.home-logo-stage{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #ffffff19;background:linear-gradient(140deg,#ffffff0c,#ffffff03)}.logo-glass{position:relative;width:174px;height:174px;display:grid;place-items:center;border:1px solid #ffffff29;border-radius:42px;background:#ffffff0d;backdrop-filter:blur(9px);box-shadow:inset 0 1px #ffffff25,0 20px 45px #10265c55;transform:rotate(4deg)}.logo-glass img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 9px 18px #0b1d4d55);transform:rotate(-4deg)}.home-logo-stage>b{margin-top:15px;font-size:calc(25px + var(--ui-font-add, 3px))}.home-logo-stage>small{margin-top:3px;color:#aebfe8;font-size:calc(8px + var(--ui-font-add, 3px));letter-spacing:.14em}.logo-orbit{position:absolute;border:1px solid #ffffff18;border-radius:50%}.orbit-one{width:270px;height:270px}.orbit-two{width:340px;height:340px;border-style:dashed;animation:orbitSpin 28s linear infinite}@keyframes orbitSpin{to{transform:rotate(360deg)}}.home-info-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 12px 35px rgba(31,50,100,.07)}.home-info-strip>div{display:flex;align-items:center;gap:11px;padding:16px 19px;border-left:1px solid var(--line)}.home-info-strip>div:last-child{border-left:0}.home-info-strip i{font-style:normal;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:var(--mint);color:var(--green);font-size:calc(17px + var(--ui-font-add, 3px))}.home-info-strip small,.home-info-strip strong{display:block}.home-info-strip small{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.home-info-strip strong{margin-top:3px;font-size:calc(12px + var(--ui-font-add, 3px))}.home-modules-head{margin-top:35px}.home-modules-head h3{font-size:calc(23px + var(--ui-font-add, 3px))}.home-modules-head .eyebrow{margin-bottom:4px}.module-grid{gap:17px}.module-card{min-height:215px;padding:22px;border-radius:20px;border:1px solid var(--line);box-shadow:0 8px 24px rgba(31,50,100,.055)}.module-card:before{content:"";position:absolute;right:0;top:25px;width:3px;height:44px;border-radius:4px 0 0 4px;background:var(--green);transition:.2s}.module-card:after{content:"";position:absolute;width:100px;height:100px;left:-48px;bottom:-54px;border-radius:50%;background:var(--mint);opacity:.65}.module-card.available:hover:before{height:75px;background:var(--coral)}.module-icon{width:53px;height:53px;border-radius:16px;font-size:calc(23px + var(--ui-font-add, 3px));box-shadow:inset 0 0 0 1px #fff}.module-card h3{font-size:calc(17px + var(--ui-font-add, 3px));margin-top:24px}.module-card p{max-width:82%;font-size:calc(10px + var(--ui-font-add, 3px))}.module-arrow{z-index:2;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--green);color:#fff;font-size:calc(16px + var(--ui-font-add, 3px))}.module-state{background:var(--paper);border:1px solid var(--line)}

@media(max-width:900px){.hamyar-home-hero{grid-template-columns:1fr minmax(230px,.55fr)}.home-hero-copy{padding:34px}.logo-glass{width:145px;height:145px}.logo-glass img{width:125px;height:125px}.orbit-one{width:220px;height:220px}.orbit-two{width:270px;height:270px}}
@media(max-width:700px){.hamyar-home-hero{display:block;min-height:430px}.home-hero-copy{padding:27px 24px}.home-badge{margin-bottom:17px}.home-hero-points{flex-wrap:wrap;gap:8px 14px}.home-logo-stage{position:absolute;left:0;right:0;bottom:0;height:165px;border-right:0;border-top:1px solid #ffffff18}.logo-glass{width:105px;height:105px;border-radius:28px}.logo-glass img{width:90px;height:90px}.home-logo-stage>b{position:absolute;right:calc(50% + 65px);margin:0}.home-logo-stage>small{position:absolute;right:calc(50% + 65px);margin-top:39px}.orbit-one{width:145px;height:145px}.orbit-two{width:180px;height:180px}.home-info-strip{grid-template-columns:1fr}.home-info-strip>div{border-left:0;border-bottom:1px solid var(--line)}.home-info-strip>div:last-child{border-bottom:0}.login-logo-wrap img{width:100px;height:96px}.login-brand-watermark{display:none}}

.sidebar-logo-mark{display:grid;place-items:center;width:55px;height:55px;border-radius:13px;background:#fff;box-shadow:0 7px 18px #10276455}
.sidebar-logo-mark img{position:static;width:51px!important;height:51px!important;max-width:100%;object-fit:contain!important;transform:none}
.logo-glass{border-color:#fff;background:rgba(255,255,255,.95);box-shadow:inset 0 1px #fff,0 20px 45px #10265c66}
.logo-glass img{filter:drop-shadow(0 7px 11px rgba(25,45,100,.12))}

/* Reversible glass-style test for Hamyar home only. */
html,body{overflow-x:hidden}
.glass-home{position:relative;isolation:isolate;padding:2px;border-radius:30px}
.glass-home:before,.glass-home:after{content:"";position:absolute;z-index:-2;border-radius:50%;pointer-events:none;filter:blur(2px)}
.glass-home:before{width:330px;height:330px;right:-90px;top:245px;background:radial-gradient(circle,#315fc033 0%,#315fc008 55%,transparent 72%)}
.glass-home:after{width:290px;height:290px;left:-75px;bottom:30px;background:radial-gradient(circle,#ef3d4630 0%,#ef3d4608 56%,transparent 72%)}
.glass-home .hamyar-home-hero{border:1px solid #ffffff38;background:linear-gradient(125deg,rgba(18,43,105,.96),rgba(42,77,161,.9) 58%,rgba(50,91,184,.88));box-shadow:inset 0 1px 0 #ffffff31,inset 0 -1px 0 #10286266,0 28px 65px rgba(22,46,110,.24),0 6px 14px rgba(22,46,110,.14)}
.glass-home .hamyar-home-hero:before{background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px);mask-image:linear-gradient(90deg,#000,transparent 82%)}
.glass-home .home-hero-copy{filter:drop-shadow(0 2px 6px rgba(8,25,65,.25))}
.glass-home .home-logo-stage{background:linear-gradient(145deg,#ffffff16,#ffffff05);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.glass-home .logo-glass{border:1px solid #ffffffb8;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(236,242,255,.86));box-shadow:inset 3px 3px 8px #ffffff,inset -4px -4px 10px #aebfe755,0 25px 45px #0c235b75,0 5px 10px #0d22564f;transform:perspective(700px) rotateY(-5deg) rotateZ(4deg) translateY(-3px)}
.glass-home .home-info-strip{border-color:#ffffffc9;background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(244,248,255,.62));backdrop-filter:blur(14px) saturate(130%);-webkit-backdrop-filter:blur(14px) saturate(130%);box-shadow:inset 0 1px #fff,0 18px 40px rgba(31,50,100,.12),0 4px 10px rgba(31,50,100,.06)}
.glass-home .home-info-strip>div{border-color:#ffffffb8}
.glass-home .home-info-strip i{background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(216,228,251,.72));border:1px solid #fff;box-shadow:inset 1px 1px 2px #fff,0 7px 14px rgba(33,64,135,.12)}
.glass-home .module-card{border:1px solid rgba(255,255,255,.88);background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(239,245,255,.6));backdrop-filter:blur(13px) saturate(125%);-webkit-backdrop-filter:blur(13px) saturate(125%);box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 rgba(112,138,190,.15),0 18px 38px rgba(31,50,100,.12),0 5px 10px rgba(31,50,100,.07);transform:perspective(900px) translateZ(0);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.glass-home .module-card.available:hover{transform:perspective(900px) translateY(-7px) rotateX(1.5deg);border-color:#fff;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 rgba(112,138,190,.12),0 27px 52px rgba(31,50,100,.18),0 8px 15px rgba(31,50,100,.09)}
.glass-home .module-card:after{background:linear-gradient(145deg,rgba(74,117,208,.15),rgba(255,255,255,.3));border:1px solid rgba(255,255,255,.55)}
.glass-home .module-icon{border:1px solid rgba(255,255,255,.9);background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(215,228,249,.72));box-shadow:inset 2px 2px 4px #fff,inset -2px -2px 5px rgba(63,94,159,.14),0 9px 18px rgba(31,50,100,.12)}
.glass-home .module-state{border-color:#ffffffde;background:rgba(255,255,255,.58);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:inset 0 1px #fff,0 5px 12px rgba(31,50,100,.08)}
.glass-home .module-arrow{box-shadow:inset 0 1px #ffffff36,0 9px 18px rgba(23,55,126,.25)}
.glass-home .erp-footnote{border:1px solid rgba(255,255,255,.88);background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(239,245,255,.52));backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);box-shadow:inset 0 1px #fff,0 14px 32px rgba(31,50,100,.09)}
@media(max-width:700px){.glass-home:before{width:230px;height:230px;right:-80px;top:380px}.glass-home:after{width:210px;height:210px}.glass-home .home-logo-stage,.glass-home .home-info-strip,.glass-home .module-card,.glass-home .erp-footnote{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.glass-home .module-card.available:hover{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.glass-home .module-card,.glass-home .orbit-two{transition:none;animation:none}.glass-home .module-card.available:hover{transform:none}}

/* Hamyar home dashboard: work, notices and identity in one view. */
.hamyar-dashboard-home{--home-blue:#193f8f;--home-blue-2:#2c5cc4;--home-red:#ef2d35;position:relative;isolation:isolate;padding-bottom:18px}
.hamyar-dashboard-home:before,.hamyar-dashboard-home:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.hamyar-dashboard-home:before{width:430px;height:430px;right:-230px;top:160px;background:radial-gradient(circle,rgba(43,91,192,.13),transparent 69%)}
.hamyar-dashboard-home:after{width:330px;height:330px;left:-190px;bottom:130px;background:radial-gradient(circle,rgba(239,45,53,.1),transparent 70%)}
.home-dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:18px;padding:7px 4px 18px;border-bottom:1px solid var(--line)}
.home-dashboard-kicker{display:inline-block;margin-bottom:10px;color:var(--home-blue);font:800 calc(8px + var(--ui-font-add, 3px))/1 Georgia;letter-spacing:.2em}
.home-dashboard-intro .eyebrow{margin:0 0 3px;color:var(--home-red)}
.home-dashboard-intro h1{margin:0;font-size:clamp(28px,3.2vw,43px);letter-spacing:-.035em;color:#142d62}
.home-dashboard-intro>div:first-child>p:last-child{margin:8px 0 0;color:var(--muted);font-size:calc(12px + var(--ui-font-add, 3px))}
.home-dashboard-live{min-width:250px;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d7e1ef;border-radius:15px;background:rgba(255,255,255,.78);box-shadow:0 10px 30px rgba(31,50,100,.07);backdrop-filter:blur(12px)}
.home-dashboard-live>i{width:8px;height:8px;border-radius:50%;background:#32b47b;box-shadow:0 0 0 6px rgba(50,180,123,.11)}
.home-dashboard-live small,.home-dashboard-live strong{display:block}.home-dashboard-live small{color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}.home-dashboard-live strong{margin-top:3px;font-size:calc(11px + var(--ui-font-add, 3px))}.home-dashboard-live>b{padding:6px 9px;border-radius:10px;background:#eef3fb;color:var(--home-blue);font-size:calc(9px + var(--ui-font-add, 3px))}
.home-quick-section,.home-modules-compact{margin:20px 0 24px}
.home-section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.home-section-title small{color:var(--home-red);font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.home-section-title h2{margin:3px 0 0;font-size:calc(18px + var(--ui-font-add, 3px))}.home-section-title>span{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}
.home-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.home-quick-actions>button{position:relative;overflow:hidden;min-height:82px;display:grid;grid-template-columns:43px 1fr 26px;align-items:center;gap:10px;padding:12px 13px;text-align:right;border:1px solid #d9e3ef;border-radius:17px;background:linear-gradient(145deg,#fff,#f5f8fc);color:var(--ink);box-shadow:0 9px 25px rgba(31,50,100,.055);animation:homeRise .45s both;animation-delay:calc(var(--action-index) * 70ms);transition:.2s}
.home-quick-actions>button:after{content:"";position:absolute;width:70px;height:70px;left:-40px;bottom:-45px;border-radius:50%;background:rgba(43,91,192,.09)}
.home-quick-actions>button:hover{transform:translateY(-3px);border-color:#a9bde2;box-shadow:0 15px 30px rgba(31,50,100,.11)}
.home-quick-actions i{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e9effb;color:var(--home-blue);font-style:normal;font-size:calc(20px + var(--ui-font-add, 3px))}.home-quick-actions>button:nth-child(2) i{background:#fff0ec;color:var(--home-red)}
.home-quick-actions strong,.home-quick-actions small{display:block}.home-quick-actions strong{font-size:calc(12px + var(--ui-font-add, 3px))}.home-quick-actions small{margin-top:4px;color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}.home-quick-actions b{position:relative;z-index:1;color:var(--home-blue);font-size:calc(17px + var(--ui-font-add, 3px))}
@keyframes homeRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.home-dashboard-core{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,.9fr) minmax(280px,1fr);gap:18px;align-items:stretch;margin-top:12px}
.home-work-panel{min-width:0;min-height:510px;display:flex;flex-direction:column;padding:19px;border:1px solid #dbe4ef;border-radius:24px;background:rgba(255,255,255,.88);box-shadow:inset 0 1px #fff,0 18px 48px rgba(31,50,100,.09);backdrop-filter:blur(14px)}
.home-work-panel>header{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 15px;border-bottom:1px solid #e6ebf2}.home-work-panel>header small{color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}.home-work-panel>header h2{margin:3px 0 0;font-size:calc(21px + var(--ui-font-add, 3px));color:#18346f}.home-work-panel>header>b{min-width:34px;height:34px;padding:0 8px;display:grid;place-items:center;border-radius:12px;background:#edf2fb;color:var(--home-blue);font-size:calc(12px + var(--ui-font-add, 3px))}.home-notification-panel>header>b{background:#fff0ec;color:var(--home-red)}
.home-feed-list{display:grid;align-content:start;gap:8px;padding:13px 0;flex:1}
.home-feed-item{width:100%;min-width:0;display:grid;grid-template-columns:37px minmax(0,1fr) auto 12px;align-items:center;gap:9px;padding:10px 8px;text-align:right;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--ink);transition:.18s}.home-feed-item:hover{border-color:#d9e3f0;background:#f5f8fc;transform:translateX(-2px)}
.home-feed-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#edf2fb;color:var(--home-blue);font-size:calc(16px + var(--ui-font-add, 3px))}.notification-feed-item .home-feed-icon{background:#fff1ee;color:var(--home-red)}.notification-feed-item.unread .home-feed-icon{box-shadow:0 0 0 3px rgba(239,45,53,.08)}
.home-feed-item>span:nth-child(2){min-width:0}.home-feed-item strong,.home-feed-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-feed-item strong{font-size:calc(10px + var(--ui-font-add, 3px))}.home-feed-item small{margin-top:4px;color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}.home-feed-item>i{font-style:normal;color:#8a9bb4}.home-feed-status{max-width:95px;padding:5px 7px;border-radius:10px;font-style:normal;font-size:calc(7px + var(--ui-font-add, 3px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff5df;color:#8a6415}.home-feed-status.status-paid,.home-feed-status.status-completed,.home-feed-status.status-ready{background:#e7f5ed;color:#176b4b}.home-feed-status.status-rejected{background:#fff0ec;color:#a94330}.home-feed-status.status-accounting,.home-feed-status.status-received,.home-feed-status.status-warehouse{background:#eaf1fb;color:#28558f}
.notification-feed-item>time{max-width:78px;color:var(--muted);font-size:calc(7px + var(--ui-font-add, 3px));white-space:nowrap}.notification-feed-item.unread strong:after{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--home-red)}
.home-feed-empty{min-height:190px;display:flex;align-items:center;justify-content:center;gap:12px;text-align:right;color:var(--muted)}.home-feed-empty>i{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#edf2fb;color:var(--home-blue);font-style:normal;font-size:calc(20px + var(--ui-font-add, 3px))}.home-feed-empty strong,.home-feed-empty small{display:block}.home-feed-empty strong{color:var(--ink);font-size:calc(11px + var(--ui-font-add, 3px))}.home-feed-empty small{margin-top:5px;font-size:calc(8px + var(--ui-font-add, 3px))}
.home-panel-link{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border:0;border-radius:12px;background:#f0f4fa;color:var(--home-blue);font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.home-panel-link span{font-size:calc(17px + var(--ui-font-add, 3px))}
.home-identity-stage{position:relative;min-height:510px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:28px;background:linear-gradient(155deg,#f8faff,#edf2fb);border:1px solid #fff;box-shadow:inset 0 0 0 1px #dce5f3,0 22px 55px rgba(31,50,100,.1)}
.home-identity-stage:before{content:"";position:absolute;inset:20px;border-radius:22px;background-image:radial-gradient(#315bad22 1px,transparent 1px);background-size:18px 18px;mask-image:linear-gradient(#000,transparent 83%)}
.identity-orbit{position:absolute;border:1px solid rgba(37,78,164,.15);border-radius:50%}.identity-orbit-one{width:270px;height:270px}.identity-orbit-two{width:350px;height:350px;border-style:dashed;animation:orbitSpin 35s linear infinite}
.home-portrait-shape{position:relative;z-index:2;width:218px;height:238px;display:grid;place-items:center;border-radius:46% 46% 34% 34%/36% 36% 22% 22%;background:linear-gradient(145deg,#315fc3,#123679);box-shadow:inset 0 1px #ffffff55,0 28px 45px rgba(18,52,121,.27)}
.home-portrait-shape:after{content:"";position:absolute;inset:14px;border:1px solid #ffffff27;border-radius:inherit}.home-portrait-shape img{position:relative;z-index:1;width:174px;height:174px;object-fit:contain;border-radius:37px;background:#fff;filter:drop-shadow(0 12px 19px rgba(7,27,74,.2))}
.home-user-plate{position:relative;z-index:4;display:flex;align-items:center;gap:9px;min-width:215px;margin-top:-18px;padding:10px 13px;border:1px solid #fff;border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 14px 30px rgba(31,50,100,.15);backdrop-filter:blur(10px)}
.home-user-plate>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f6dfad;color:#173a7d;font-weight:900}.home-user-plate strong,.home-user-plate small{display:block}.home-user-plate strong{font-size:calc(10px + var(--ui-font-add, 3px))}.home-user-plate small{margin-top:3px;color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}
.home-identity-caption{position:relative;z-index:2;margin-top:20px;text-align:center}.home-identity-caption b,.home-identity-caption small{display:block}.home-identity-caption b{font-size:calc(25px + var(--ui-font-add, 3px));color:#173a7d}.home-identity-caption small{margin-top:4px;color:var(--muted);font-size:calc(8px + var(--ui-font-add, 3px))}
.identity-float{position:absolute;z-index:3;width:34px;height:34px;display:grid;place-items:center;border:1px solid #fff;border-radius:12px;background:#fff;color:var(--home-blue);box-shadow:0 10px 24px rgba(31,50,100,.13);font-size:calc(14px + var(--ui-font-add, 3px))}.float-one{top:77px;right:32px;transform:rotate(8deg)}.float-two{top:118px;left:29px;transform:rotate(-7deg);color:var(--home-red)}.float-three{bottom:92px;right:38px;transform:rotate(-5deg)}
.home-modules-compact{margin-top:28px}.home-module-links{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.home-module-links>button{min-width:0;display:grid;grid-template-columns:37px 1fr 22px;align-items:center;gap:9px;padding:11px;text-align:right;border:1px solid #dce5ef;border-radius:15px;background:#fff;color:var(--ink);transition:.18s}.home-module-links>button:hover{border-color:#aebfe0;transform:translateY(-2px);box-shadow:0 10px 25px rgba(31,50,100,.08)}.home-module-links i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#eef3fb;color:var(--home-blue);font-style:normal}.home-module-links span{min-width:0}.home-module-links strong,.home-module-links small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-module-links strong{font-size:calc(10px + var(--ui-font-add, 3px))}.home-module-links small{margin-top:3px;color:var(--muted);font-size:calc(7px + var(--ui-font-add, 3px))}.home-module-links b{color:var(--home-blue)}
@media(max-width:1120px){.home-dashboard-core{grid-template-columns:1fr 270px 1fr;gap:11px}.home-work-panel{padding:14px}.home-portrait-shape{width:190px;height:215px}.home-portrait-shape img{width:150px;height:150px}.home-feed-status{display:none}.home-quick-actions{grid-template-columns:1fr 1fr}}
@media(max-width:760px){html,body{max-width:100%;overflow-x:clip}.sidebar,.role-manager .sidebar{visibility:hidden}.sidebar.open,.role-manager .sidebar.open{visibility:visible}.workspace,.main-content,.hamyar-dashboard-home{width:100%;max-width:100%;min-width:0}.home-dashboard-intro{align-items:flex-start;display:block}.home-dashboard-intro h1{font-size:calc(29px + var(--ui-font-add, 3px))}.home-dashboard-intro>div:first-child>p:last-child{line-height:1.9}.home-dashboard-live{min-width:0;margin-top:16px}.home-section-title>span{display:none}.home-quick-actions{grid-template-columns:1fr 1fr;gap:8px}.home-quick-actions>button{min-width:0;min-height:74px;grid-template-columns:38px 1fr;padding:10px}.home-quick-actions i{width:38px;height:38px}.home-quick-actions b{display:none}.home-dashboard-core{display:flex;flex-direction:column}.home-cartable-panel{order:1}.home-notification-panel{order:2}.home-identity-stage{order:3}.home-work-panel{min-height:0;padding:15px;border-radius:20px}.home-feed-list{padding:9px 0}.home-feed-item{padding:9px 6px}.home-feed-item:nth-child(n+4){display:none}.home-identity-stage{min-height:235px;margin-top:4px;border-radius:22px;justify-content:center}.home-portrait-shape{width:112px;height:125px;border-radius:34px}.home-portrait-shape img{width:88px;height:88px;border-radius:23px}.home-user-plate{position:absolute;right:calc(50% + 45px);bottom:48px;min-width:170px;margin:0;padding:8px}.home-user-plate>span{width:32px;height:32px}.home-identity-caption{position:absolute;left:calc(50% + 43px);bottom:59px;margin:0;text-align:right}.home-identity-caption b{font-size:calc(19px + var(--ui-font-add, 3px))}.identity-orbit-one{width:155px;height:155px}.identity-orbit-two{width:195px;height:195px}.identity-float{display:none}.home-module-links{grid-template-columns:1fr 1fr}.home-modules-compact{margin-top:24px}}
@media(max-width:480px){.home-quick-actions{grid-template-columns:1fr}.home-module-links{grid-template-columns:1fr}.notification-feed-item>time{display:none}.home-user-plate{right:18px;bottom:34px;min-width:155px}.home-identity-caption{left:23px;bottom:48px}.home-identity-caption small{max-width:90px;line-height:1.6}.home-portrait-shape{transform:translateY(-24px)}}
@media(prefers-reduced-motion:reduce){.home-quick-actions>button,.identity-orbit-two{animation:none}.home-quick-actions>button,.home-feed-item,.home-module-links>button{transition:none}}

/* Dashboard chrome, profile photo and right-side context refinements. */
.app-shell.home-mode .workspace>.topbar{display:none}
.app-shell.home-mode .main-content{padding-top:26px}
.home-menu-fab{display:none}
.side-nav{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
.side-nav .financial-side-panel{margin:2px 8px 5px;padding:11px;border-radius:12px;background:#ffffff0d;animation:financialMenuOpen .2s ease}
@keyframes financialMenuOpen{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.nav-expand{margin-right:auto;font-size:calc(15px + var(--ui-font-add, 3px));transition:.2s}.side-nav>button.active .nav-expand{transform:rotate(180deg)}
.home-side-context{margin-top:14px;padding:14px;border:1px solid #ffffff1f;border-radius:15px;background:linear-gradient(145deg,#ffffff12,#ffffff07);color:#fff}
.home-side-context>.home-side-label{display:block;color:#9bb6ed;font-size:calc(8px + var(--ui-font-add, 3px))}.home-side-context>strong{display:block;margin-top:5px;font-size:calc(12px + var(--ui-font-add, 3px))}.home-side-context>p{margin:7px 0 13px;color:#c5d2ed;font-size:calc(8px + var(--ui-font-add, 3px));line-height:1.8}
.home-side-context>div{display:flex;align-items:center;gap:9px;margin-top:7px;padding:9px;border:1px solid #ffffff18;border-radius:11px;background:#ffffff09}.home-side-context>div>i{width:8px;height:8px;border-radius:50%;background:#55d89e;box-shadow:0 0 0 5px #55d89e1b}.side-context-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#ffffff13;color:#cbd8f1}.home-side-context small,.home-side-context b{display:block}.home-side-context small{color:#9fb3dc;font-size:calc(7px + var(--ui-font-add, 3px))}.home-side-context b{margin-top:3px;font-size:calc(9px + var(--ui-font-add, 3px))}
.home-side-install{width:100%;margin-top:10px;padding:9px;border:1px solid #ffffff30;border-radius:10px;background:#fff;color:#23458e;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}
.sidebar-install-top{max-width:82px;padding:7px 9px;border:1px solid #ffffff32;border-radius:9px;background:#ffffff12;color:#fff;font-size:calc(8px + var(--ui-font-add, 3px));font-weight:900;line-height:1.45}.sidebar-install-top:hover{background:#fff;color:#23458e}.home-side-context{padding:12px 14px}.home-side-context>.home-side-label{font-size:calc(7px + var(--ui-font-add, 3px))}.home-side-context>strong{margin-top:3px}.home-side-context .side-module-count{display:grid;grid-template-columns:27px 1fr;align-items:center;margin-top:10px;padding:7px 9px}.side-module-count>b{margin:0!important;font-size:calc(19px + var(--ui-font-add, 3px))!important;color:#fff}.side-module-count .side-context-icon{width:27px;height:27px}
.home-photo-upload{position:absolute;z-index:6;top:13px;left:13px;width:34px;height:34px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:var(--home-red);color:#fff;box-shadow:0 8px 18px rgba(13,38,91,.25);font:900 calc(20px + var(--ui-font-add, 3px))/1 sans-serif;cursor:pointer;transition:.18s}.home-photo-upload:hover{transform:scale(1.08)}.home-photo-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.home-portrait-shape.has-profile{overflow:hidden;background:linear-gradient(145deg,#315fc3,#123679)}
.home-portrait-shape.has-profile>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:inherit;background:transparent;filter:none;mask-image:linear-gradient(to bottom,#000 0%,#000 82%,rgba(0,0,0,.82) 91%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 82%,rgba(0,0,0,.82) 91%,transparent 100%)}
.home-photo-fade{display:none}.home-portrait-shape.has-profile .home-photo-fade{display:block;position:absolute;z-index:3;inset:auto 0 0;height:21%;background:linear-gradient(to bottom,transparent,rgba(31,76,164,.24));pointer-events:none}
@media(min-width:761px){.side-nav button{font-size:calc(13px + var(--ui-font-add, 3px))}.sidebar-foot strong{font-size:calc(12px + var(--ui-font-add, 3px))}.sidebar-foot small{font-size:calc(9px + var(--ui-font-add, 3px))}.home-section-title small{font-size:calc(11px + var(--ui-font-add, 3px))}.home-section-title h2{font-size:calc(22px + var(--ui-font-add, 3px))}.home-section-title>span{font-size:calc(11px + var(--ui-font-add, 3px))}.home-quick-actions strong{font-size:calc(14px + var(--ui-font-add, 3px))}.home-quick-actions small{font-size:calc(10px + var(--ui-font-add, 3px))}.home-work-panel>header small{font-size:calc(10px + var(--ui-font-add, 3px))}.home-work-panel>header h2{font-size:calc(25px + var(--ui-font-add, 3px))}.home-feed-item strong{font-size:calc(12px + var(--ui-font-add, 3px))}.home-feed-item small{font-size:calc(9px + var(--ui-font-add, 3px))}.home-feed-status{font-size:calc(8px + var(--ui-font-add, 3px))}.home-panel-link{font-size:calc(11px + var(--ui-font-add, 3px))}.home-user-plate strong{font-size:calc(12px + var(--ui-font-add, 3px))}.home-user-plate small{font-size:calc(9px + var(--ui-font-add, 3px))}.home-identity-caption small{font-size:calc(10px + var(--ui-font-add, 3px))}.home-module-links strong{font-size:calc(12px + var(--ui-font-add, 3px))}.home-module-links small{font-size:calc(9px + var(--ui-font-add, 3px))}.home-modules-compact{margin-top:34px}}
@media(max-width:760px){.app-shell.home-mode .main-content{padding-top:18px}.home-menu-fab{position:relative;z-index:8;width:42px;height:42px;display:grid;place-items:center;margin:0 0 14px auto;border:1px solid #d7e1ee;border-radius:13px;background:#fff;color:#173a7d;box-shadow:0 8px 20px rgba(31,50,100,.09);font-size:calc(18px + var(--ui-font-add, 3px))}.home-side-context{margin:12px 6px}.home-photo-upload{top:8px;left:8px;width:29px;height:29px;border-width:2px;font-size:calc(17px + var(--ui-font-add, 3px))}}

/* Larger desktop typography and photo-only identity treatment. */
.avatar{overflow:hidden}.avatar.has-photo{background:transparent}.avatar.has-photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.sidebar-foot{grid-template-columns:48px 1fr 30px}.sidebar-foot .avatar{width:48px;height:48px;border-radius:15px}
.home-identity-stage{min-height:510px;overflow:visible;border:0;background:transparent;box-shadow:none}
.home-identity-stage:before,.home-identity-stage:after{display:none}
.home-portrait-shape{width:340px;height:470px;border-radius:44px;box-shadow:none}
.home-portrait-shape.default-profile{background:linear-gradient(145deg,#315fc3,#123679);box-shadow:0 25px 50px rgba(18,52,121,.2)}
.home-portrait-shape.default-profile img{width:245px;height:245px}
.home-portrait-shape.has-profile{background:transparent;box-shadow:none}
.home-portrait-shape.has-profile:after{display:none}
.home-portrait-shape.has-profile>img{border-radius:44px}
.home-photo-upload{top:18px;left:18px;width:42px;height:42px;font-size:calc(25px + var(--ui-font-add, 3px))}
@media(min-width:761px){.hamyar-dashboard-home{font-size:calc(18px + var(--ui-font-add, 3px))}.home-section-title small{font-size:calc(13px + var(--ui-font-add, 3px))}.home-section-title h2{font-size:calc(28px + var(--ui-font-add, 3px))}.home-section-title>span{font-size:calc(13px + var(--ui-font-add, 3px))}.home-quick-actions>button{min-height:98px;padding:15px 16px}.home-quick-actions i{width:50px;height:50px;font-size:calc(24px + var(--ui-font-add, 3px))}.home-quick-actions strong{font-size:calc(17px + var(--ui-font-add, 3px))}.home-quick-actions small{margin-top:6px;font-size:calc(12px + var(--ui-font-add, 3px))}.home-work-panel{padding:23px}.home-work-panel>header small{font-size:calc(12px + var(--ui-font-add, 3px))}.home-work-panel>header h2{font-size:calc(31px + var(--ui-font-add, 3px))}.home-work-panel>header>b{min-width:42px;height:42px;font-size:calc(15px + var(--ui-font-add, 3px))}.home-feed-item{grid-template-columns:45px minmax(0,1fr) auto 14px;padding:13px 9px}.home-feed-icon{width:45px;height:45px;font-size:calc(19px + var(--ui-font-add, 3px))}.home-feed-item strong{font-size:calc(15px + var(--ui-font-add, 3px))}.home-feed-item small{margin-top:6px;font-size:calc(11px + var(--ui-font-add, 3px))}.home-feed-status{max-width:120px;padding:7px 9px;font-size:calc(10px + var(--ui-font-add, 3px))}.notification-feed-item>time{max-width:96px;font-size:calc(9px + var(--ui-font-add, 3px))}.home-panel-link{padding:14px;font-size:calc(14px + var(--ui-font-add, 3px))}.home-module-links>button{grid-template-columns:45px 1fr 25px;min-height:78px;padding:14px}.home-module-links i{width:45px;height:45px;font-size:calc(19px + var(--ui-font-add, 3px))}.home-module-links strong{font-size:calc(15px + var(--ui-font-add, 3px))}.home-module-links small{font-size:calc(11px + var(--ui-font-add, 3px))}.home-side-context>.home-side-label{font-size:calc(10px + var(--ui-font-add, 3px))}.home-side-context>strong{font-size:calc(15px + var(--ui-font-add, 3px))}.home-side-context>p{font-size:calc(10px + var(--ui-font-add, 3px))}.home-side-context small{font-size:calc(9px + var(--ui-font-add, 3px))}.home-side-context b{font-size:calc(11px + var(--ui-font-add, 3px))}}
@media(max-width:1120px) and (min-width:761px){.home-portrait-shape{width:270px;height:410px}.home-portrait-shape.default-profile img{width:205px;height:205px}}
@media(max-width:760px){.home-identity-stage{min-height:315px}.home-portrait-shape{width:220px;height:285px;border-radius:32px;transform:none}.home-portrait-shape.has-profile>img{border-radius:32px}.home-portrait-shape.default-profile img{width:150px;height:150px}.home-photo-upload{top:10px;left:10px;width:34px;height:34px;font-size:calc(20px + var(--ui-font-add, 3px))}}

/* Warehouse module: finished products in Tehran and Yazd. */
.warehouse-module-page{--warehouse-blue:#193d83;--warehouse-cyan:#1f8b9d}.warehouse-hero{position:relative;overflow:hidden;min-height:190px;padding:31px 35px;border-radius:25px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(125deg,#122f6c,#1d4d91 58%,#207c91);box-shadow:0 22px 50px rgba(24,58,126,.17)}.warehouse-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0c 1px,transparent 1px),linear-gradient(90deg,#ffffff0c 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,transparent,#000)}.warehouse-hero:after{content:"";position:absolute;width:260px;height:260px;left:-70px;bottom:-175px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 45px #ffffff08,0 0 0 90px #ffffff05}.warehouse-hero>div{position:relative;z-index:1}.warehouse-hero h1{margin:5px 0 8px;font-size:calc(29px + var(--ui-font-add, 3px))}.warehouse-hero p:last-child{margin:0;color:#c8d9ee}.warehouse-live{min-width:255px;padding:14px 15px;display:grid;grid-template-columns:12px 1fr 38px;align-items:center;gap:10px;border:1px solid #ffffff2b;border-radius:16px;background:#ffffff12;backdrop-filter:blur(10px)}.warehouse-live>i{width:9px;height:9px;border-radius:50%;background:#64e6b0;box-shadow:0 0 0 6px #64e6b01a}.warehouse-live small,.warehouse-live strong{display:block}.warehouse-live small{color:#bcd3e8;font-size:calc(9px + var(--ui-font-add, 3px))}.warehouse-live strong{margin-top:3px;font-size:calc(10px + var(--ui-font-add, 3px))}.warehouse-live button{width:36px;height:36px;border:1px solid #ffffff2c;border-radius:11px;background:#ffffff12;color:#fff;font-size:calc(20px + var(--ui-font-add, 3px))}.inventory-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:18px 0 26px}.inventory-stats article{position:relative;padding:18px 19px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 9px 25px rgba(31,50,100,.055)}.inventory-stats article:before{content:"";position:absolute;right:0;top:17px;width:3px;height:39px;border-radius:4px 0 0 4px;background:var(--warehouse-cyan)}.inventory-stats small,.inventory-stats strong,.inventory-stats span{display:block}.inventory-stats small{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.inventory-stats strong{margin:8px 0 3px;font-size:calc(24px + var(--ui-font-add, 3px));color:#173a79}.inventory-stats span{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.inventory-loading,.inventory-error{grid-column:1/-1;min-height:105px;display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid var(--line);border-radius:17px;background:#fff}.inventory-loading i{width:23px;height:23px;border:3px solid #dce7f2;border-top-color:var(--warehouse-cyan);border-radius:50%;animation:inventorySpin .8s linear infinite}@keyframes inventorySpin{to{transform:rotate(360deg)}}.inventory-error{flex-direction:column}.inventory-error span{color:var(--muted)}.essential-products-panel,.inventory-catalog-panel{margin-top:20px}.essential-products-panel>.section-head{margin-bottom:12px}.essential-counter{padding:7px 12px;border-radius:18px;background:#e9f5f7;color:#176879;font-size:calc(10px + var(--ui-font-add, 3px));font-weight:900}.essential-products{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.essential-product{position:relative;display:grid;grid-template-columns:30px minmax(150px,1fr) minmax(215px,1.2fr) auto;align-items:center;gap:11px;padding:14px 15px;border:1px solid #d8e3ed;border-radius:16px;background:linear-gradient(135deg,#fff,#f4f8fc);box-shadow:0 8px 22px rgba(31,50,100,.055)}.essential-product h4{margin:4px 0 0;font-size:calc(12px + var(--ui-font-add, 3px));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.essential-product>div>small{color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.essential-split{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.essential-split span{padding:7px 8px;border-radius:10px;background:#edf3f8;text-align:center}.essential-split small,.essential-split strong{display:block}.essential-split small{font-size:calc(8px + var(--ui-font-add, 3px));color:var(--muted)}.essential-split strong{margin-top:3px;color:#183f82}.essential-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:13px;min-height:110px;border:1px dashed #b7c9d9;border-radius:17px;color:var(--muted)}.essential-empty>span{font-size:calc(32px + var(--ui-font-add, 3px));color:#d5a02d}.essential-empty strong,.essential-empty small{display:block}.essential-empty small{margin-top:5px}.inventory-catalog-panel{padding:20px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:0 12px 34px rgba(31,50,100,.055)}.inventory-catalog-panel>.section-head{margin:0 0 15px}.inventory-toolbar{display:grid;grid-template-columns:1fr 185px 165px;gap:9px;margin-bottom:13px}.inventory-toolbar select{border:1px solid var(--line);border-radius:12px;padding:0 11px;background:#f8fafc;color:var(--ink)}.inventory-table-head,.inventory-product-row{display:grid;grid-template-columns:minmax(270px,1.5fr) 110px 110px 125px 100px;gap:10px;align-items:center}.inventory-table-head{padding:9px 14px;color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.inventory-product-list{display:grid;gap:7px}.inventory-product-row{padding:11px 14px;border:1px solid #e0e8ef;border-radius:12px;background:#fbfcfd;transition:.18s}.inventory-product-row:hover{border-color:#b6cad9;background:#f5f9fc;transform:translateY(-1px)}.inventory-product-row>strong{font-size:calc(12px + var(--ui-font-add, 3px));color:#244373}.inventory-product-name{display:flex;align-items:center;gap:10px;min-width:0}.inventory-product-name span{min-width:0}.inventory-product-name strong,.inventory-product-name small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-product-name small{margin-top:4px;color:var(--muted);font-size:calc(9px + var(--ui-font-add, 3px))}.inventory-star{width:30px;height:30px;flex:0 0 30px;border:1px solid #dbe4ec;border-radius:9px;background:#fff;color:#9daab6;font-size:calc(18px + var(--ui-font-add, 3px))}.inventory-star.selected{border-color:#f0d791;background:#fff8df;color:#d59a16}.stock-state{display:inline-flex;width:max-content;padding:6px 9px;border-radius:14px;font-style:normal;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.stock-state.available{background:#e7f5ed;color:#176b4b}.stock-state.zero{background:#f0f2f4;color:#687681}.stock-state.negative{background:#fff0ec;color:#ac422c}.inventory-load-more{display:block;margin:15px auto 0}.warehouse-next-step{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:19px;padding:15px 17px;border:1px dashed #9fb7cb;border-radius:15px;background:#eef5f8}.warehouse-next-step>span{padding:5px 8px;border-radius:12px;background:#dceaf0;color:#246879;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.warehouse-next-step small{color:var(--muted)}
@media(max-width:1050px){.inventory-stats{grid-template-columns:1fr 1fr}.essential-products{grid-template-columns:1fr}.inventory-table-head,.inventory-product-row{grid-template-columns:minmax(220px,1.5fr) 90px 90px 110px}.inventory-table-head span:nth-child(4),.inventory-product-row>strong:nth-of-type(3){display:none}}
@media(max-width:700px){.warehouse-hero{min-height:270px;padding:25px;display:block}.warehouse-hero h1{font-size:calc(24px + var(--ui-font-add, 3px))}.warehouse-live{position:absolute;right:20px;left:20px;bottom:20px;min-width:0}.inventory-stats{gap:8px}.inventory-stats article{padding:14px}.inventory-stats strong{font-size:calc(19px + var(--ui-font-add, 3px))}.essential-product{grid-template-columns:30px 1fr auto}.essential-split{grid-column:2/-1}.inventory-catalog-panel{padding:14px}.inventory-toolbar{grid-template-columns:1fr 1fr}.inventory-toolbar .search-box{grid-column:1/-1}.inventory-table-head{display:none}.inventory-product-row{grid-template-columns:1fr auto;padding:12px}.inventory-product-row>strong{display:none}.inventory-product-row .stock-state{grid-column:2;grid-row:1}.warehouse-next-step{grid-template-columns:1fr}.warehouse-next-step small{line-height:1.8}}

/* Warehouse visual refinement. */
.warehouse-module-page{position:relative;isolation:isolate;padding-bottom:10px}.warehouse-module-page:before,.warehouse-module-page:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}.warehouse-module-page:before{width:420px;height:420px;right:-180px;top:250px;background:radial-gradient(circle,rgba(39,113,174,.12),transparent 68%)}.warehouse-module-page:after{width:330px;height:330px;left:-145px;bottom:140px;background:radial-gradient(circle,rgba(31,139,157,.11),transparent 68%)}.warehouse-module-page .warehouse-hero{min-height:230px;padding:38px 42px;border:1px solid rgba(255,255,255,.28);background:linear-gradient(118deg,#102b67 0%,#1d4a94 55%,#176f86 100%);box-shadow:inset 0 1px rgba(255,255,255,.2),0 28px 65px rgba(18,48,111,.23)}.warehouse-module-page .warehouse-hero h1{font-size:calc(34px + var(--ui-font-add, 3px))}.warehouse-module-page .warehouse-hero>div:first-child>p:last-of-type{font-size:calc(13px + var(--ui-font-add, 3px))}.warehouse-scope{display:flex;gap:8px;margin-top:22px}.warehouse-scope span{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(255,255,255,.09);color:#dce9f5;font-size:calc(9px + var(--ui-font-add, 3px))}.warehouse-scope i{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:#fff;color:#1d4a94;font-style:normal;font:900 calc(9px + var(--ui-font-add, 3px)) Georgia}.warehouse-module-page .warehouse-live{min-width:285px;padding:16px 17px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.07));box-shadow:inset 0 1px rgba(255,255,255,.17),0 15px 35px rgba(6,26,70,.18)}.warehouse-module-page .inventory-stats{gap:16px;margin-top:-18px;position:relative;z-index:3;padding:0 24px}.warehouse-module-page .inventory-stats article{min-height:112px;display:flex;align-items:center;gap:14px;padding:18px;border-color:rgba(255,255,255,.9);background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(237,244,251,.88));box-shadow:inset 0 1px #fff,0 18px 38px rgba(26,53,105,.12)}.warehouse-module-page .inventory-stats article:before{display:none}.warehouse-module-page .inventory-stats article>i{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border:1px solid #fff;border-radius:15px;background:linear-gradient(145deg,#f9fcff,#dce9f5);color:#1d4a94;box-shadow:inset 1px 1px #fff,0 9px 18px rgba(28,70,141,.12);font-style:normal;font-weight:900}.warehouse-module-page .inventory-stats strong{font-size:calc(22px + var(--ui-font-add, 3px));margin:5px 0 2px}.warehouse-module-page .essential-products-panel{padding:23px;border:1px solid #ffffff24;border-radius:23px;color:#fff;background:linear-gradient(125deg,#142f6d,#234e98);box-shadow:inset 0 1px #ffffff20,0 20px 48px rgba(20,49,109,.16);overflow:hidden}.warehouse-module-page .essential-products-panel>.section-head{position:relative;z-index:1;margin:0 0 17px}.warehouse-module-page .essential-products-panel .eyebrow{color:#7fd4da}.warehouse-module-page .essential-products-panel h3{font-size:calc(20px + var(--ui-font-add, 3px))}.warehouse-module-page .essential-products-panel .section-head p:last-child{color:#bdcdea}.warehouse-module-page .essential-counter{background:#f6d88d;color:#5b4715;box-shadow:0 6px 15px rgba(5,20,55,.18)}.warehouse-module-page .essential-product{border-color:#ffffffd9;background:linear-gradient(145deg,#fff,#edf4fb);color:var(--ink);box-shadow:inset 0 1px #fff,0 12px 25px rgba(5,21,58,.18)}.warehouse-module-page .essential-empty{border-color:#ffffff35;background:rgba(255,255,255,.08);color:#c8d6ed}.warehouse-module-page .essential-empty>span{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:#ffffff12}.warehouse-module-page .inventory-catalog-panel{padding:24px;border-color:#fff;border-radius:23px;background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(244,248,252,.93));box-shadow:inset 0 1px #fff,0 22px 55px rgba(26,53,105,.11)}.inventory-result-count{padding:7px 11px;border:1px solid #d6e3ec;border-radius:15px;background:#eef5f8;color:#1c6475;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.warehouse-module-page .inventory-toolbar{padding:11px;border:1px solid #d9e5ed;border-radius:16px;background:#edf4f8}.warehouse-module-page .inventory-toolbar .search-box,.warehouse-module-page .inventory-toolbar select{height:46px;background:#fff;box-shadow:0 5px 13px rgba(30,59,109,.05)}.warehouse-module-page .inventory-search-box:focus-within{border-color:#267b91;box-shadow:0 0 0 3px rgba(38,123,145,.1)}.warehouse-module-page .inventory-table-head{margin:14px 0 7px;padding:11px 15px;border-radius:11px;background:#183d7d;color:#d8e5f5}.warehouse-module-page .inventory-product-list{gap:8px}.warehouse-module-page .inventory-product-row{position:relative;min-height:58px;border-color:#dce6ed;background:#fff;box-shadow:0 5px 14px rgba(31,50,100,.035)}.warehouse-module-page .inventory-product-row:before{content:"";position:absolute;right:0;top:13px;bottom:13px;width:3px;border-radius:3px 0 0 3px;background:#2b8294}.warehouse-module-page .inventory-product-row:nth-child(even){background:#f7fafc}.warehouse-module-page .inventory-product-row:hover{border-color:#9bbdca;background:#f0f7f9;box-shadow:0 9px 22px rgba(31,78,117,.09);transform:translateY(-2px)}.warehouse-module-page .inventory-star{border-color:#d3e0e8;background:#f8fbfd}.warehouse-module-page .inventory-star:hover{color:#d59a16;border-color:#e7c66c;background:#fff8df}.warehouse-module-page .inventory-load-more{min-width:250px;border-color:#b9cfda;background:#edf5f8;color:#1c6170}.warehouse-module-page .warehouse-next-step{border-style:solid;border-color:#c7dae3;background:linear-gradient(135deg,#eef6f8,#e5f0f4);box-shadow:0 12px 30px rgba(31,77,101,.07)}
@media(max-width:1050px){.warehouse-module-page .inventory-stats{padding:0 12px}.warehouse-module-page .inventory-stats article{min-height:95px}}
@media(max-width:700px){.warehouse-module-page .warehouse-hero{min-height:330px;padding:27px 24px}.warehouse-module-page .warehouse-hero h1{font-size:calc(27px + var(--ui-font-add, 3px))}.warehouse-scope{flex-wrap:wrap;margin-top:15px}.warehouse-module-page .warehouse-live{min-width:0}.warehouse-module-page .inventory-stats{margin-top:-13px;padding:0 8px}.warehouse-module-page .inventory-stats article{min-height:92px;gap:8px;padding:12px}.warehouse-module-page .inventory-stats article>i{width:35px;height:35px;flex-basis:35px;border-radius:11px}.warehouse-module-page .inventory-stats strong{font-size:calc(17px + var(--ui-font-add, 3px))}.warehouse-module-page .essential-products-panel,.warehouse-module-page .inventory-catalog-panel{padding:16px;border-radius:19px}.warehouse-module-page .essential-products-panel>.section-head{align-items:flex-start;gap:10px}.warehouse-module-page .inventory-table-head{display:none}.warehouse-module-page .inventory-product-row{min-height:66px}.inventory-result-count{white-space:nowrap}}
.warehouse-module-page .essential-products{grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr))}

/* Warehouse correction: readable typography and complete essential-product table. */
.warehouse-module-page,.warehouse-module-page button,.warehouse-module-page input,.warehouse-module-page select{font-family:Vazirmatn,Tahoma,sans-serif!important}.warehouse-module-page{font-size:calc(14px + var(--ui-font-add, 3px))}.warehouse-module-page .warehouse-hero h1{font-size:calc(32px + var(--ui-font-add, 3px));font-weight:850;letter-spacing:-.02em}.warehouse-module-page .warehouse-hero p{font-size:calc(13px + var(--ui-font-add, 3px));line-height:1.9}.warehouse-module-page .inventory-stats small{font-size:calc(11px + var(--ui-font-add, 3px))}.warehouse-module-page .inventory-stats strong{font-size:calc(25px + var(--ui-font-add, 3px));font-weight:850}.warehouse-module-page .inventory-stats span{font-size:calc(10px + var(--ui-font-add, 3px))}.warehouse-module-page .essential-products-panel{padding:24px;border:1px solid #d9e3ef;color:var(--ink);background:#fff;box-shadow:0 14px 38px rgba(26,53,105,.09);overflow:visible}.warehouse-module-page .essential-products-panel .eyebrow{color:#2a559e}.warehouse-module-page .essential-products-panel h3{font-size:calc(21px + var(--ui-font-add, 3px));color:#152d62}.warehouse-module-page .essential-products-panel .section-head p:last-child{font-size:calc(12px + var(--ui-font-add, 3px));color:#6e7890}.warehouse-module-page .essential-counter{background:#edf2fb;color:#284b91;box-shadow:none}.warehouse-module-page .essential-products{display:block}.essential-table{width:100%;overflow:hidden;border:1px solid #dce5ef;border-radius:15px;background:#fff}.essential-table-head,.essential-table-row{display:grid;grid-template-columns:42px minmax(240px,2fr) 105px 85px 90px 90px 90px 105px 82px;gap:8px;align-items:center}.essential-table-head{min-height:45px;padding:0 13px;background:#173b7c;color:#fff;font-size:calc(11px + var(--ui-font-add, 3px));font-weight:750}.essential-table-row{position:relative;min-height:66px;padding:9px 13px;border-bottom:1px solid #e4eaf1}.essential-table-row:last-child{border-bottom:0}.essential-table-row:nth-child(even){background:#f8fafc}.essential-table-row>strong{font-size:calc(13px + var(--ui-font-add, 3px));line-height:1.75;color:#18284b;white-space:normal;overflow:visible}.essential-table-row>span{font-size:calc(11px + var(--ui-font-add, 3px));color:#59657a}.essential-table-row>b{font-size:calc(12px + var(--ui-font-add, 3px));color:#21447f}.essential-table-row .inventory-star{margin:auto}.essential-table-row .stock-state{justify-content:center}.warehouse-module-page .essential-empty{min-height:100px;border-color:#cad6e3;background:#f8fafc;color:#6f7c90}.warehouse-module-page .essential-empty>span{background:#fff;border:1px solid #dbe4ed}.warehouse-module-page .inventory-catalog-panel h3{font-size:calc(21px + var(--ui-font-add, 3px));color:#172f65}.warehouse-module-page .inventory-catalog-panel .section-head p{font-size:calc(11px + var(--ui-font-add, 3px))}.warehouse-module-page .inventory-toolbar input,.warehouse-module-page .inventory-toolbar select{font-size:calc(12px + var(--ui-font-add, 3px))}.warehouse-module-page .inventory-table-head{font-size:calc(11px + var(--ui-font-add, 3px));font-weight:700}.warehouse-module-page .inventory-product-name strong{font-size:calc(13px + var(--ui-font-add, 3px));line-height:1.7;white-space:normal}.warehouse-module-page .inventory-product-name small{font-size:calc(10px + var(--ui-font-add, 3px))}.warehouse-module-page .inventory-product-row>strong{font-size:calc(13px + var(--ui-font-add, 3px))}.warehouse-module-page .stock-state{font-size:calc(10px + var(--ui-font-add, 3px))}.warehouse-module-page .warehouse-next-step strong{font-size:calc(13px + var(--ui-font-add, 3px))}.warehouse-module-page .warehouse-next-step small{font-size:calc(11px + var(--ui-font-add, 3px))}
@media(max-width:1150px){.essential-table{overflow-x:auto}.essential-table-head,.essential-table-row{min-width:940px}}
@media(max-width:700px){.warehouse-module-page{font-size:calc(13px + var(--ui-font-add, 3px))}.warehouse-module-page .warehouse-hero h1{font-size:calc(25px + var(--ui-font-add, 3px))}.warehouse-module-page .inventory-stats strong{font-size:calc(18px + var(--ui-font-add, 3px))}.warehouse-module-page .essential-products-panel{padding:15px}.essential-table{border:0;overflow:visible;background:transparent}.essential-table-head{display:none}.essential-table-row{min-width:0;display:grid;grid-template-columns:38px 1fr 1fr;gap:9px;margin-bottom:10px;padding:13px;border:1px solid #dbe4ed;border-radius:14px;background:#fff!important}.essential-table-row>strong{grid-column:2/-1;font-size:calc(13px + var(--ui-font-add, 3px))}.essential-table-row>span,.essential-table-row>b{position:relative;display:flex;justify-content:space-between;gap:8px;padding:8px;border-radius:9px;background:#f3f6fa;font-size:calc(11px + var(--ui-font-add, 3px))}.essential-table-row>span:before,.essential-table-row>b:before{content:attr(data-label);color:#7a8497;font-weight:500}.essential-table-row .inventory-star{grid-row:1;margin:0}.essential-table-row .stock-state{grid-column:2/-1;width:100%;justify-content:center}.warehouse-module-page .inventory-product-name strong{font-size:calc(12px + var(--ui-font-add, 3px))}}

/* Inventory shortage controls and warehouse-transfer workflow. */
.transfer-draft-bar{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-17px 24px 0;padding:14px 16px;border:1px solid #d9e4ee;border-radius:16px;background:#fff;box-shadow:0 15px 35px rgba(25,52,103,.12)}.transfer-draft-bar>div{display:flex;align-items:center;gap:11px}.transfer-draft-bar>div>i{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#edf2fb;color:#244c95;font-style:normal;font-size:calc(21px + var(--ui-font-add, 3px))}.transfer-draft-bar small,.transfer-draft-bar strong{display:block}.transfer-draft-bar small{color:#778296;font-size:calc(10px + var(--ui-font-add, 3px))}.transfer-draft-bar strong{margin-top:3px;font-size:calc(12px + var(--ui-font-add, 3px))}.transfer-draft-bar.has-items{border-color:#9dc9bd;background:#f8fffc}.transfer-draft-bar.has-items>div>i{background:#e1f3ec;color:#1a7258}.transfer-draft-bar button:disabled{opacity:.45;cursor:not-allowed}.warehouse-module-page .inventory-toolbar{grid-template-columns:minmax(270px,1fr) 170px 155px 145px}.shortage-filter-btn{height:46px;border:1px solid #d3dfe8;border-radius:12px;background:#fff;color:#59677b;font-weight:750}.shortage-filter-btn b{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-right:5px;border-radius:11px;background:#edf1f5;color:#677487}.shortage-filter-btn.active{border-color:#e3b44f;background:#fff8e6;color:#8a6112}.shortage-filter-btn.active b{background:#d99c1a;color:#fff}.warehouse-module-page .inventory-table-head,.warehouse-module-page .inventory-product-row{grid-template-columns:minmax(260px,1.5fr) 80px 80px 100px 210px 82px}.shortage-control{display:grid;grid-template-columns:18px 58px 1fr;align-items:center;gap:5px;padding:6px 8px;border:1px solid #dce5ec;border-radius:10px;background:#f8fafc}.shortage-control>span{font-size:calc(9px + var(--ui-font-add, 3px));color:#6c7789}.shortage-control input[type=checkbox]{accent-color:#d39a1d}.shortage-control input[type=number]{width:100%;min-width:0;padding:6px;border:1px solid #d7e0e8;border-radius:7px;background:#fff;font-size:calc(10px + var(--ui-font-add, 3px))}.shortage-control input:disabled{background:#eef1f4;color:#a0a7b1}.important-shortage{border-color:#e8bd65!important;background:#fffaf0!important}.important-shortage:before{background:#d99c1a!important}.transfer-add-btn{border:1px solid #b9ccd9;border-radius:9px;padding:8px 7px;background:#eef5f8;color:#1d6272;font-weight:800;font-size:calc(10px + var(--ui-font-add, 3px))}.transfer-add-btn:hover{border-color:#2b7e90;background:#2b7e90;color:#fff}.essential-table-head,.essential-table-row{grid-template-columns:38px minmax(210px,2fr) 90px 70px 72px 72px 72px 85px 75px 75px}.essential-table-row .transfer-add-btn{padding:7px 5px}.warehouse-transfer-panel{margin-top:22px;padding:23px;border:1px solid #d9e3ed;border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(26,53,105,.08)}.warehouse-transfer-panel>.section-head{margin:0 0 15px}.warehouse-transfer-list{display:grid;gap:9px}.warehouse-transfer-row{display:grid;grid-template-columns:48px minmax(250px,1.5fr) 130px 135px 170px 18px;gap:12px;align-items:center;padding:13px 14px;border:1px solid #dfe7ef;border-radius:13px;background:#fafcfd;cursor:pointer;transition:.18s}.warehouse-transfer-row:hover{border-color:#9ebdca;background:#f3f8fa;transform:translateY(-1px);box-shadow:0 8px 20px rgba(31,70,105,.08)}.transfer-number{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#e9effa;color:#244a91;font-weight:900}.warehouse-transfer-row strong,.warehouse-transfer-row small{display:block}.warehouse-transfer-row strong{font-size:calc(12px + var(--ui-font-add, 3px))}.warehouse-transfer-row small{margin-top:4px;color:#778295;font-size:calc(9px + var(--ui-font-add, 3px))}.warehouse-permission-list{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}.warehouse-permission-list>small{width:100%;color:var(--muted)}.transfer-route-summary{display:grid;grid-template-columns:1fr 45px 1fr;align-items:center;gap:10px;margin-bottom:18px}.transfer-route-summary>span{padding:15px;border:1px solid #dce5ed;border-radius:13px;background:#f7fafc}.transfer-route-summary small,.transfer-route-summary strong{display:block}.transfer-route-summary small{color:var(--muted);margin-bottom:5px}.transfer-route-summary>i{text-align:center;color:#245096;font-size:calc(25px + var(--ui-font-add, 3px));font-style:normal}.transfer-draft-items,.transfer-items-table{overflow:hidden;border:1px solid #dce5ed;border-radius:13px;background:#fff}.transfer-draft-head,.transfer-draft-item{display:grid;grid-template-columns:minmax(240px,1.5fr) 100px 100px 130px 35px;gap:9px;align-items:center;padding:10px 12px}.transfer-draft-head,.transfer-items-head{background:#183d7d;color:#fff;font-size:calc(10px + var(--ui-font-add, 3px))}.transfer-draft-item{border-bottom:1px solid #e5ebf1}.transfer-draft-item:last-child{border-bottom:0}.transfer-draft-item strong,.transfer-draft-item small{display:block}.transfer-draft-item small{color:var(--muted);margin-top:3px}.transfer-draft-item input{width:100%;padding:9px;border:1px solid #d5dfe8;border-radius:8px}.transfer-draft-item button{border:0;border-radius:8px;background:#fff0ec;color:#a94228;width:31px;height:31px}.transfer-form-meta{margin-top:18px}.transfer-flow{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:18px}.transfer-flow-step{display:flex;align-items:center;gap:7px;padding:9px 8px;border:1px solid #dde5ec;border-radius:11px;background:#f7f9fb;color:#8b95a5}.transfer-flow-step i{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:50%;background:#e7ebef;font-style:normal;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.transfer-flow-step span{font-size:calc(9px + var(--ui-font-add, 3px));font-weight:750}.transfer-flow-step.done{border-color:#b9d9cc;background:#edf8f3;color:#24705a}.transfer-flow-step.done i{background:#2b8468;color:#fff}.transfer-flow-step.current{border-color:#dfbc68;background:#fff8e8;color:#8d6414}.transfer-flow-step.current i{background:#d69c22;color:#fff}.transfer-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.transfer-detail-summary>div,.transfer-dispatch-info>span{padding:12px;border:1px solid #dfe6ed;border-radius:11px;background:#f8fafc}.transfer-detail-summary small,.transfer-detail-summary strong,.transfer-dispatch-info small,.transfer-dispatch-info strong{display:block}.transfer-detail-summary small,.transfer-dispatch-info small{color:var(--muted);margin-bottom:5px}.transfer-reason{padding:13px;border-right:3px solid #2b7e90;background:#f2f8fa;border-radius:10px;margin-bottom:14px}.transfer-reason small{color:var(--muted)}.transfer-reason p{margin:5px 0 0}.transfer-items-head,.transfer-items-row{display:grid;grid-template-columns:minmax(250px,1.5fr) 90px 105px 105px 80px;gap:9px;align-items:center;padding:10px 12px}.transfer-items-row{border-bottom:1px solid #e4eaf0}.transfer-items-row:last-child{border-bottom:0}.transfer-items-row strong,.transfer-items-row small{display:block}.transfer-items-row small{color:var(--muted);margin-top:3px}.transfer-items-row input{width:100%;padding:8px;border:1px solid #d4dfe8;border-radius:8px}.transfer-items-row em{font-style:normal}.transfer-items-row .has-difference{color:#b4432e;font-weight:900}.transfer-dispatch-meta{margin-top:15px}.transfer-dispatch-info{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
@media(max-width:1050px){.warehouse-module-page .inventory-toolbar{grid-template-columns:1fr 1fr}.warehouse-module-page .inventory-search-box{grid-column:1/-1}.warehouse-module-page .inventory-table-head,.warehouse-module-page .inventory-product-row{grid-template-columns:minmax(220px,1.4fr) 75px 75px 190px 75px}.warehouse-module-page .inventory-table-head>span:nth-child(4),.warehouse-module-page .inventory-product-row>strong:nth-of-type(3){display:none}.warehouse-transfer-row{grid-template-columns:45px 1fr 120px 160px 18px}.warehouse-transfer-row>div:nth-child(4){display:none}}
@media(max-width:700px){.transfer-draft-bar{margin:-12px 8px 0;padding:12px;align-items:stretch;flex-direction:column}.transfer-draft-bar button{width:100%}.warehouse-module-page .inventory-toolbar{grid-template-columns:1fr}.warehouse-module-page .inventory-search-box{grid-column:auto}.warehouse-module-page .inventory-product-row{grid-template-columns:1fr auto}.warehouse-module-page .inventory-product-row>.shortage-control{grid-column:1/-1}.warehouse-module-page .inventory-product-row>.transfer-add-btn{grid-column:1/-1}.essential-table-row .transfer-add-btn{grid-column:2/-1}.warehouse-transfer-panel{padding:15px}.warehouse-transfer-row{grid-template-columns:42px 1fr auto;padding:11px}.warehouse-transfer-row>div:nth-child(3),.warehouse-transfer-row>div:nth-child(4),.warehouse-transfer-row>b{display:none}.warehouse-transfer-row .purchase-status{grid-column:2}.transfer-flow{grid-template-columns:1fr 1fr}.transfer-detail-summary{grid-template-columns:1fr 1fr}.transfer-route-summary{grid-template-columns:1fr}.transfer-route-summary>i{transform:rotate(-90deg)}.transfer-draft-items,.transfer-items-table{overflow-x:auto}.transfer-draft-head,.transfer-draft-item{min-width:700px}.transfer-items-head,.transfer-items-row{min-width:680px}.transfer-dispatch-info{grid-template-columns:1fr}}

/* Kinetic login: Pyaco's angular blue/red identity with calm linear motion. */
.app-icon{display:block;width:1em;height:1em;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-icon .icon-fill{fill:currentColor;fill-opacity:.16}
.login-view{grid-template-columns:minmax(520px,1.18fr) minmax(430px,.82fr);grid-template-areas:"visual form";min-height:100svh;background:#eef1f3}
.login-art{isolation:isolate;overflow:hidden;min-height:100svh;color:#183b83;background:linear-gradient(145deg,#fbfdff 0%,#edf3fb 58%,#e3ebf8 100%)}
.login-art:before{z-index:-1;width:610px;height:420px;left:-225px;bottom:-135px;border:0;border-radius:0;background:linear-gradient(135deg,rgba(40,68,148,.08),rgba(67,111,199,.02));clip-path:polygon(0 42%,52% 0,100% 25%,48% 67%,100% 100%,44% 100%);box-shadow:none}
.login-art:after{z-index:-1;width:145px;height:145px;left:8%;bottom:7%;border:0;background:radial-gradient(circle,#436fc7 0 2px,transparent 3px);background-size:13px 13px;opacity:.2}
.login-art .art-grid{background-image:linear-gradient(rgba(40,68,148,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(40,68,148,.045) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(135deg,#284494,transparent 78%);opacity:.72}
.login-kinetic-art{position:absolute;z-index:0;inset:-4% -2% -3% -7%;width:109%;height:107%;pointer-events:none;filter:drop-shadow(0 24px 30px rgba(40,68,148,.12))}
.login-ink{fill:none;stroke-linecap:round;stroke-linejoin:round}
.login-ink-wide{stroke:#284494;stroke-width:92;opacity:.92;stroke-dasharray:1700;animation:loginBrush 1.35s cubic-bezier(.2,.75,.2,1) both}
.login-ink-sweep{stroke:#436fc7;stroke-width:58;opacity:.9;stroke-dasharray:1150;animation:loginBrush 1.2s .18s cubic-bezier(.2,.75,.2,1) both}
.login-ink-red{stroke:#ef2d35;stroke-width:16;opacity:.96;stroke-dasharray:980;animation:loginBrush 1.05s .4s cubic-bezier(.2,.75,.2,1) both}
.login-ink-thread{stroke:#b9caec;stroke-width:3;stroke-dasharray:3 13;opacity:.82;animation:loginDash 30s linear infinite}
.login-ink-particles{fill:#284494;opacity:.78;animation:loginParticles .9s .55s both}
@keyframes loginBrush{from{stroke-dashoffset:1800;opacity:0}to{stroke-dashoffset:0}}
@keyframes loginDash{to{stroke-dashoffset:-900}}
@keyframes loginParticles{from{opacity:0;transform:scale(.3);transform-origin:center}to{opacity:.83;transform:none}}
.login-brand-watermark{position:absolute;z-index:1;left:8%;top:9%;width:min(28vw,330px);height:min(28vw,330px);object-fit:contain;opacity:.09;filter:saturate(.82);mix-blend-mode:multiply}
.login-particle-mark{position:absolute;z-index:2;left:9%;top:34%;width:min(25vw,285px);aspect-ratio:1;display:grid;place-items:center;filter:drop-shadow(0 22px 24px rgba(32,54,105,.14));pointer-events:none;animation:particleMarkIn 1s .55s cubic-bezier(.2,.8,.2,1) both}
.login-particle-mark:before{content:"";position:absolute;inset:-8%;border:1px solid rgba(40,68,148,.2);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(40,68,148,.025));clip-path:polygon(50% 0,100% 25%,83% 100%,17% 100%,0 25%);box-shadow:0 18px 48px rgba(40,68,148,.06)}
.login-particle-mark img{position:absolute;inset:12%;width:76%;height:76%;object-fit:contain;opacity:.13;filter:saturate(.9)}
.login-particle-mark span{position:absolute;inset:8%;background:radial-gradient(circle,#284494 0 1.6px,transparent 1.9px) 0 0/7px 7px;mask:url("library/pyaco-logo-transparent.png") center/contain no-repeat;-webkit-mask:url("library/pyaco-logo-transparent.png") center/contain no-repeat;animation:particleShimmer 3.6s ease-in-out infinite}
.login-particle-mark span:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 18%,rgba(255,255,255,.9) 43%,#ef2d35 53%,transparent 66%);transform:translateX(-120%);animation:particleScan 4.2s 1.2s ease-in-out infinite}
@keyframes particleMarkIn{from{opacity:0;transform:translateY(24px) scale(.82);filter:blur(8px)}to{opacity:1;transform:none;filter:drop-shadow(0 22px 24px rgba(32,54,105,.14))}}
@keyframes particleShimmer{0%,100%{opacity:.72;transform:scale(.985)}50%{opacity:1;transform:scale(1.015)}}
@keyframes particleScan{0%,25%{transform:translateX(-130%)}55%,100%{transform:translateX(130%)}}
.login-art .art-content{position:relative;z-index:3;max-width:720px;margin:0;padding:7vh clamp(46px,6vw,94px);height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.login-art .hamyar-brand{position:absolute;top:6.5vh;right:clamp(46px,6vw,94px);left:clamp(46px,6vw,94px);display:flex;align-items:center;justify-content:space-between;margin:0;padding-bottom:16px;border-bottom:1px solid rgba(40,68,148,.16)}
.login-art .hamyar-brand span{padding:7px 13px;border:1px solid rgba(255,255,255,.72);border-radius:13px;background:rgba(255,255,255,.7);color:#183b83;box-shadow:inset 0 1px #fff,0 8px 22px rgba(40,68,148,.08);backdrop-filter:blur(12px);font-size:calc(28px + var(--ui-font-add, 3px));letter-spacing:-.04em}
.login-art .hamyar-brand small{color:#61749c;font:700 calc(9px + var(--ui-font-add, 3px))/1.2 Georgia,sans-serif;letter-spacing:.18em;direction:ltr}
.login-art .eyebrow{margin:12vh 0 15px;padding:8px 12px;border-radius:99px;background:rgba(255,255,255,.7);color:#ef2d35;box-shadow:inset 0 1px #fff,0 8px 25px rgba(17,22,30,.08);backdrop-filter:blur(10px);font-size:calc(11px + var(--ui-font-add, 3px));font-weight:900}
.login-art .art-content h1{max-width:640px;margin:0;color:#183b83;font-size:clamp(49px,6vw,82px);line-height:1.17;letter-spacing:-.06em;text-shadow:0 2px #fff}
.login-art .art-content h1 em{position:relative;color:#436fc7;font-style:normal;text-shadow:0 6px 20px rgba(40,68,148,.18)}
.login-art .art-content h1 em:after{content:"";position:absolute;right:0;left:0;bottom:-8px;height:5px;border-radius:5px;background:#ef2d35;transform:rotate(-1.5deg)}
.login-art .art-content>p:not(.eyebrow){max-width:510px;margin:26px 0 0;padding:8px 14px;border:1px solid rgba(255,255,255,.68);border-radius:14px;background:rgba(255,255,255,.67);color:#53698f;box-shadow:inset 0 1px #fff,0 9px 24px rgba(40,68,148,.08);backdrop-filter:blur(12px);font-size:calc(14px + var(--ui-font-add, 3px));line-height:2;font-weight:650}
.login-art .route-preview{display:flex;flex-wrap:wrap;gap:9px;margin-top:42px}
.login-art .route-preview div{min-height:52px;padding:8px 11px 8px 16px;border:1px solid rgba(255,255,255,.75);border-radius:17px;background:rgba(255,255,255,.58);color:#284b8d;box-shadow:inset 0 1px #fff,0 13px 32px rgba(40,68,148,.1);backdrop-filter:blur(15px)}
.login-art .route-preview i{width:35px;height:35px;border:1px solid rgba(255,255,255,.8);border-radius:12px;background:linear-gradient(145deg,#fff,#dfe7f4);color:#284494;box-shadow:inset 0 1px #fff,0 8px 16px rgba(40,68,148,.15);font-size:calc(19px + var(--ui-font-add, 3px))}
.login-art .route-preview div:nth-child(2) i{background:linear-gradient(145deg,#fff8f4,#ffd7c9);color:#f05c35}.login-art .route-preview div:nth-child(3) i{background:linear-gradient(145deg,#f7fff9,#ccefd8);color:#1f9b5d}
.login-art .route-preview span{font-size:calc(11px + var(--ui-font-add, 3px));font-weight:850}
.login-float-icon{position:absolute;z-index:4;width:66px;height:66px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.82);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(214,224,241,.62));color:#2779dc;box-shadow:inset 0 1px #fff,0 20px 34px rgba(25,43,74,.16);backdrop-filter:blur(14px);font-size:calc(32px + var(--ui-font-add, 3px));animation:loginFloat 5s ease-in-out infinite}
.login-float-icon:after{content:"";position:absolute;inset:8px;border-top:1px solid rgba(255,255,255,.9);border-radius:15px;pointer-events:none}
.login-float-purchase{left:8%;top:22%;transform:rotate(-8deg);color:#f05a38;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,198,178,.67))}
.login-float-finance{left:14%;bottom:11%;animation-delay:-1.7s;color:#6c52df;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(210,199,255,.65))}
.login-float-warehouse{right:7%;top:18%;animation-delay:-3.1s;color:#199c5d;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(183,239,205,.65))}
@keyframes loginFloat{0%,100%{translate:0 0}50%{translate:0 -11px}}
.login-view.login-leaving{pointer-events:none}.login-view.login-leaving .login-panel{animation:loginPanelExit .42s cubic-bezier(.4,0,.2,1) both}.login-view.login-leaving .login-kinetic-art{animation:loginPortalExit .42s cubic-bezier(.4,0,.2,1) both}.login-view.login-leaving .login-particle-mark{animation:loginMarkExit .42s cubic-bezier(.4,0,.2,1) both}.login-view.login-leaving .login-float-icon,.login-view.login-leaving .art-content{animation:loginContentExit .32s ease both}
@keyframes loginPanelExit{to{opacity:0;transform:translateX(45px)}}@keyframes loginPortalExit{to{opacity:0;transform:translateX(-42px) scale(1.08)}}@keyframes loginMarkExit{to{opacity:0;transform:translateY(28px) scale(.35);filter:blur(10px)}}@keyframes loginContentExit{to{opacity:0;transform:translateY(-12px)}}
.login-panel{isolation:isolate;overflow:hidden;min-height:100svh;padding:clamp(34px,5vw,68px);background:radial-gradient(circle at 95% 4%,rgba(40,68,148,.14),transparent 31%),radial-gradient(circle at 0 100%,rgba(239,45,53,.09),transparent 28%),#f4f6f8}
.login-panel:before{z-index:-1;top:-135px;right:-125px;width:290px;height:290px;border:42px solid rgba(40,68,148,.08);border-radius:50%;background:transparent}
.login-panel:after{content:"";position:absolute;z-index:-1;left:-55px;bottom:5%;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#ef2d35 0 2px,transparent 3px);background-size:15px 15px;opacity:.12}
.login-panel-index{position:absolute;top:26px;left:30px;color:#858f9e;font:700 calc(8px + var(--ui-font-add, 3px))/1 Georgia,sans-serif;letter-spacing:.16em;direction:ltr}
.login-logo-wrap{width:min(470px,100%);margin-bottom:25px;gap:15px}
.login-logo-wrap img{width:86px;height:72px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 8px 12px rgba(40,68,148,.13))}
.login-logo-wrap strong{font-size:calc(32px + var(--ui-font-add, 3px));color:#172f6b;letter-spacing:-.04em}.login-logo-wrap small{font-size:calc(11px + var(--ui-font-add, 3px));color:#6e7785}
.login-card{position:relative;width:min(470px,100%);padding:34px;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,255,255,.68));box-shadow:inset 0 1px #fff,0 28px 70px rgba(28,46,82,.14);backdrop-filter:blur(24px)}
.login-card:before{content:"";position:absolute;top:32px;left:34px;width:42px;height:5px;border-radius:6px;background:linear-gradient(90deg,#ef2d35 0 42%,#284494 42%)}
.login-card .eyebrow.ink{margin:0 0 8px;color:#ef2d35;font-size:calc(10px + var(--ui-font-add, 3px));letter-spacing:.04em}.login-card h2{margin:0 0 9px;color:#162b5d;font-size:calc(35px + var(--ui-font-add, 3px));letter-spacing:-.045em}.login-card>p.muted{margin:0 0 28px;color:#707987;font-size:calc(12px + var(--ui-font-add, 3px));line-height:1.9}
.login-card label{margin:17px 0 7px;color:#2d3748;font-size:calc(12px + var(--ui-font-add, 3px))}
.login-card input{height:54px;margin-top:8px;padding:0 15px;border:1px solid #d8dee7;border-radius:15px;background:rgba(248,250,252,.88);font-size:calc(14px + var(--ui-font-add, 3px));box-shadow:inset 0 1px 2px rgba(17,29,52,.025)}
.login-card input:focus{border-color:#284494;background:#fff;box-shadow:0 0 0 4px rgba(40,68,148,.09),0 8px 25px rgba(40,68,148,.08)}
.login-card .password-field button{bottom:9px;left:9px;padding:9px 11px;border-radius:10px;background:#edf1f9;font-size:calc(10px + var(--ui-font-add, 3px));font-weight:900}
.login-view .btn--primary{min-height:55px;margin-top:23px;border-radius:15px;background:linear-gradient(120deg,#1d377e,#315cb9);box-shadow:0 14px 28px rgba(40,68,148,.25);font-size:calc(13px + var(--ui-font-add, 3px))}.login-view .btn--primary:hover{box-shadow:0 18px 34px rgba(40,68,148,.31)}
.login-view .demo-help{margin-top:18px;padding:11px 14px;border:1px solid #e2e7ef;border-radius:13px;background:rgba(239,243,249,.8);font-size:calc(10px + var(--ui-font-add, 3px))}.login-view .demo-help p{line-height:1.8}
.login-foot{margin-top:20px;color:#8b94a0;font-size:calc(9px + var(--ui-font-add, 3px));letter-spacing:.03em}

/* Purpose-built icon surfaces across Hamyar. */
.nav-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:rgba(255,255,255,.08);font-size:calc(18px + var(--ui-font-add, 3px));transition:.2s}.side-nav button:hover .nav-icon,.side-nav button.active .nav-icon{border-color:rgba(255,255,255,.32);background:linear-gradient(145deg,rgba(255,255,255,.25),rgba(255,255,255,.08));box-shadow:inset 0 1px rgba(255,255,255,.25),0 8px 18px rgba(8,24,66,.16)}
.side-context-icon{font-size:calc(19px + var(--ui-font-add, 3px))}.home-quick-actions .app-icon,.home-module-links .app-icon,.home-feed-icon .app-icon,.home-feed-empty .app-icon{font-size:1em}
.home-quick-actions i,.home-module-links i,.home-feed-icon,.home-feed-empty>i{border:1px solid rgba(255,255,255,.85);background:linear-gradient(145deg,#fff,#dce7fa);box-shadow:inset 0 1px #fff,0 9px 18px rgba(31,69,145,.13)}
.home-quick-actions>button:nth-child(2) i,.home-module-links>[data-module-link="purchase_requests"] i{background:linear-gradient(145deg,#fff8f4,#ffd5c7);color:#ef5937}.home-quick-actions>button:nth-child(3) i,.home-module-links>[data-module-link="warehouse"] i{background:linear-gradient(145deg,#f6fff9,#c8ecd7);color:#178c54}.home-quick-actions>button:nth-child(4) i,.home-module-links>[data-module-link="financial_reports"] i{background:linear-gradient(145deg,#faf8ff,#d8d0ff);color:#6651d5}
.home-quick-actions>button[data-home-action="hr-leave"] i{background:linear-gradient(145deg,#f7fbff,#cfe4ff);color:#2864ae}.home-quick-actions>button[data-home-action="hr-mission"] i{background:linear-gradient(145deg,#f2fff9,#c9f0dc);color:#16805a}.home-quick-actions>button[data-home-action="hr-advance"] i{background:linear-gradient(145deg,#fffaf0,#ffe1a8);color:#a66a0b}.home-quick-actions>button[data-home-action^="hr-"]{border-color:#cfdaea;background:linear-gradient(145deg,#fff,#f3f7fc)}
.home-quick-actions>button[data-home-action="hr-track"]{border-color:#afc2e3;background:linear-gradient(145deg,#f8fbff,#e8effb)}.home-quick-actions>button[data-home-action="hr-track"] i{background:linear-gradient(145deg,#315eb8,#183b83);color:#fff}
.home-quick-actions>button[data-home-action="hr-approved"]{border-color:#b8ddcd;background:linear-gradient(145deg,#fff,#eef9f4)}.home-quick-actions>button[data-home-action="hr-approved"] i{background:linear-gradient(145deg,#43a47d,#1f7258);color:#fff}
.home-quick-actions i .app-icon,.home-module-links i .app-icon{width:25px;height:25px}.home-feed-icon .app-icon,.home-feed-empty .app-icon{width:21px;height:21px}

@media(max-width:1100px){
  .login-view{display:grid;grid-template-columns:minmax(430px,1fr) minmax(390px,.9fr)}
  .login-art{display:block}.login-art .art-content{padding-right:40px;padding-left:40px}.login-art .hamyar-brand{right:40px;left:40px}.login-art .art-content h1{font-size:calc(49px + var(--ui-font-add, 3px))}.login-art .art-content>p:not(.eyebrow){font-size:calc(13px + var(--ui-font-add, 3px))}.login-art .route-preview div:nth-child(2){display:none}.login-particle-mark{left:5%;width:220px}.login-float-icon{width:54px;height:54px;border-radius:18px;font-size:calc(26px + var(--ui-font-add, 3px))}.login-panel{padding:34px}.login-card{padding:28px}
}
@media(max-width:820px){
  .login-view{display:block;min-height:100svh;background:#eef1f4}.login-art{display:block;min-height:310px;height:310px}.login-art .art-content{height:310px;padding:28px 24px;justify-content:flex-end}.login-art .hamyar-brand{top:25px;right:24px;left:24px;padding-bottom:10px}.login-art .hamyar-brand span{font-size:calc(24px + var(--ui-font-add, 3px))}.login-art .art-content .eyebrow,.login-art .art-content>p:not(.eyebrow),.login-art .route-preview{display:none}.login-art .art-content h1{position:relative;z-index:3;margin-bottom:29px;font-size:calc(38px + var(--ui-font-add, 3px));line-height:1.18}.login-brand-watermark{display:none}.login-particle-mark{z-index:1;left:6%;top:30%;width:145px;opacity:.78}.login-float-icon{width:46px;height:46px;border-radius:15px;font-size:calc(22px + var(--ui-font-add, 3px))}.login-float-purchase{left:7%;top:58%}.login-float-finance{display:none}.login-float-warehouse{right:7%;top:31%}.login-kinetic-art{inset:-35% -3% -4% -18%;width:125%;height:145%}.login-panel{overflow:visible;min-height:calc(100svh - 270px);padding:0 18px 28px}.login-panel-index{display:none}.login-logo-wrap{position:relative;z-index:3;width:calc(100% - 32px);margin:-22px auto 12px;padding:10px 17px;border:1px solid rgba(255,255,255,.9);border-radius:19px;background:rgba(255,255,255,.83);box-shadow:0 12px 30px rgba(25,43,74,.12);backdrop-filter:blur(18px)}.login-logo-wrap img{width:64px;height:51px}.login-logo-wrap strong{font-size:calc(25px + var(--ui-font-add, 3px))}.login-card{padding:25px 22px;border-radius:25px}.login-card h2{font-size:calc(30px + var(--ui-font-add, 3px))}.login-card:before{top:27px;left:23px}.login-foot{margin:16px 0 0}
}
@media(max-width:460px){.login-art{height:270px;min-height:270px}.login-art .art-content{height:270px}.login-art .art-content h1{font-size:calc(32px + var(--ui-font-add, 3px));margin-bottom:25px}.login-art .hamyar-brand small{font-size:calc(7px + var(--ui-font-add, 3px))}.login-particle-mark{width:122px;top:31%}.login-float-warehouse{display:none}.login-panel{min-height:calc(100svh - 238px)}.login-logo-wrap{margin-top:-18px}.login-card{padding:23px 18px}.login-card h2{font-size:calc(27px + var(--ui-font-add, 3px))}.login-card input{height:51px}.login-view .btn--primary{min-height:52px}}
@media(prefers-reduced-motion:reduce){.login-ink,.login-ink-particles,.login-float-icon,.login-particle-mark,.login-particle-mark:before,.login-particle-mark span,.login-particle-mark span:after{animation:none!important}}

/* Login v57: restrained Pyaco composition without the oversized kinetic stroke. */
.login-art{background:linear-gradient(145deg,#f7f9fd 0%,#e9eff9 55%,#dce7f7 100%)}
.login-art:before,.login-art:after{display:none!important}
.login-panel:before{display:none!important}
.login-kinetic-art{display:none!important}
.login-art .art-content h1 em:after{display:none!important}
.login-art .art-grid{opacity:.46;mask-image:linear-gradient(135deg,#000 0%,rgba(0,0,0,.7) 48%,transparent 86%)}
.login-art .art-content{z-index:3}
.login-art .art-content h1{color:#172e70;text-shadow:none}
.login-art .art-content h1 em{color:#284494}
.login-art .art-content>p:not(.eyebrow){color:#5d6f91}
.login-art .art-content>.eyebrow{color:#ef2d35}
.login-art .hamyar-brand{color:#284494;border-color:rgba(40,68,148,.16)}
.login-art .hamyar-brand small{color:#6f83ac}
.login-art .route-preview div{border-color:rgba(40,68,148,.12);background:rgba(255,255,255,.58);color:#284494;box-shadow:0 10px 28px rgba(34,64,125,.07)}
.login-brand-watermark{opacity:.045;filter:none;transform:none}
.login-particle-mark{left:8%;top:28%;filter:drop-shadow(0 22px 30px rgba(40,68,148,.12))}
.login-float-icon{box-shadow:inset 0 1px #fff,0 15px 32px rgba(40,68,148,.12)}
@media(max-width:820px){.login-art{background:linear-gradient(155deg,#f7f9fd,#dfe9f8)}.login-particle-mark{top:27%}}

/* Organizational hierarchy and confidential HR workflows. */
.hr-permission-list{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:11px;padding:11px;border:1px dashed #c9d7e8;border-radius:12px;background:#f7f9fd}.hr-permission-list>small{width:100%;color:#284494;font-weight:850}.permission-toggle.sensitive span{border-color:#d5def0;background:#fff;color:#455d87}.permission-toggle.sensitive input:checked+span{border-color:#efb7ba;background:#fff1f1;color:#b92630}.org-settings-card{padding:24px;border:1px solid #d8e2ef;border-radius:22px;background:linear-gradient(145deg,#fff,#f3f7fd);box-shadow:0 16px 40px rgba(40,68,148,.08)}.org-settings-card>header{display:flex;justify-content:space-between;gap:20px;align-items:start}.org-settings-card h2{margin:4px 0 5px;color:#183b83}.org-settings-card p{margin:0;color:#70809a}.org-settings-card>header>span{padding:7px 10px;border-radius:10px;background:#e8eefc;color:#284494;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:850}.org-workflow-form{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:10px;align-items:end;margin-top:20px}.org-workflow-form label{display:grid;gap:7px;color:#53627b;font-size:calc(10px + var(--ui-font-add, 3px));font-weight:800}.org-workflow-form select{height:44px;padding:0 10px;border:1px solid #d6e0ec;border-radius:11px;background:#fff}.org-chart-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}.org-chart-list>button{display:grid;grid-template-columns:48px 1fr auto 18px;align-items:center;gap:11px;padding:13px;border:1px solid #dce5ef;border-radius:15px;background:#fff;text-align:right;color:#18345f}.org-chart-list strong,.org-chart-list small{display:block}.org-chart-list small{margin-top:4px;color:#7b879b;font-size:calc(9px + var(--ui-font-add, 3px))}.org-chart-list em{padding:6px 8px;border-radius:9px;background:#edf2fb;color:#284494;font-size:calc(8px + var(--ui-font-add, 3px));font-style:normal}.employee-head-actions{display:flex;gap:7px;margin-right:auto}.org-line-summary{display:grid;grid-template-columns:1fr 36px 1fr;align-items:center;gap:8px;margin:15px 0;padding:13px;border:1px solid #dce5ef;border-radius:14px;background:#f7f9fc}.org-line-summary span{padding:9px;border-radius:10px;background:#fff}.org-line-summary small,.org-line-summary strong{display:block}.org-line-summary small{margin-bottom:5px;color:#7b8799}.org-line-summary i{color:#ef2d35;text-align:center;font-style:normal}.employee-hr-request{width:100%;display:grid;grid-template-columns:1fr auto 18px;align-items:center;gap:10px;padding:11px 0;border:0;border-bottom:1px solid #e4eaf1;background:transparent;text-align:right}.employee-hr-request:last-child{border-bottom:0}.employee-hr-request strong,.employee-hr-request small{display:block}.employee-hr-request small{margin-top:4px;color:#7a8798}.approval-preview{margin-bottom:16px;padding:15px;border:1px solid #d9e3ef;border-radius:15px;background:#f7f9fd}.approval-preview>small{color:#596d91;font-weight:850}.approval-preview>div{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:10px}.approval-preview span{position:relative;min-width:145px;padding:9px 39px 9px 10px;border-radius:11px;background:#fff;color:#264779;font-weight:850}.approval-preview span b{position:absolute;right:9px;top:9px;width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:#284494;color:#fff}.approval-preview span small{display:block;margin-top:4px;color:#7a879a;font-size:calc(8px + var(--ui-font-add, 3px))}.hr-request-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hr-request-summary span{padding:13px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafc}.hr-request-summary small,.hr-request-summary strong{display:block}.hr-request-summary small{margin-bottom:6px;color:#7b879a}.hr-approval-flow{display:flex;align-items:stretch;gap:8px;overflow-x:auto;margin:16px 0;padding-bottom:5px}.hr-flow-step{min-width:180px;display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #dce4ed;border-radius:13px;background:#f7f9fb;color:#8893a4}.hr-flow-step i{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:#e6ebf1;font-style:normal;font-weight:900}.hr-flow-step strong,.hr-flow-step small{display:block}.hr-flow-step small{margin-top:4px;font-size:calc(8px + var(--ui-font-add, 3px))}.hr-flow-step.pending{border-color:#e8c66f;background:#fff9e9;color:#896315}.hr-flow-step.pending i{background:#d9a12a;color:#fff}.hr-flow-step.approved{border-color:#acd6c6;background:#eef9f4;color:#1f7258}.hr-flow-step.approved i{background:#2b8468;color:#fff}.hr-flow-step.rejected{border-color:#efb7b7;background:#fff1f1;color:#a83636}.hr-request-note{padding:14px;border-right:3px solid #284494;border-radius:10px;background:#f1f5fb}.hr-request-note small{color:#71809a}.hr-request-note p{margin:6px 0 0}.hr-cartable-row .request-num svg{width:23px;height:23px}.hr-cartable-row .status{justify-self:start}
@media(max-width:850px){.org-workflow-form{grid-template-columns:1fr 1fr}.org-workflow-form button{grid-column:1/-1}.org-chart-list{grid-template-columns:1fr}.hr-request-summary{grid-template-columns:1fr}.employee-dashboard-head{align-items:flex-start}.employee-head-actions{width:100%;margin:10px 0 0;flex-wrap:wrap}}
@media(max-width:560px){.org-settings-card{padding:17px}.org-settings-card>header{display:block}.org-settings-card>header>span{display:inline-block;margin-top:10px}.org-workflow-form{grid-template-columns:1fr}.org-workflow-form button{grid-column:auto}.org-chart-list>button{grid-template-columns:43px 1fr 16px}.org-chart-list em{grid-column:2}.approval-preview>div{display:grid}.approval-preview span{min-width:0}.org-line-summary{grid-template-columns:1fr}.org-line-summary i{transform:rotate(-90deg)}.employee-head-actions .btn{flex:1}.hr-cartable-row{grid-template-columns:44px 1fr auto}.hr-cartable-row>.request-meta,.hr-cartable-row>.status{grid-column:2}.hr-cartable-row>span:last-child{display:none}}

/* Human resources time selection and manager tracking */
.friendly-time-field{display:grid;gap:8px}.friendly-time-field>span{font-weight:850;color:#425678}.friendly-time-picker{display:grid;grid-template-columns:minmax(95px,1fr) 14px minmax(95px,1fr);align-items:end;gap:8px;padding:12px;border:1px solid #d7e1ee;border-radius:16px;background:linear-gradient(145deg,#fff,#f4f7fc);box-shadow:inset 0 1px #fff}.friendly-time-picker>b{align-self:center;margin-top:19px;text-align:center;color:#284494;font-size:calc(22px + var(--ui-font-add,3px))}.friendly-time-select{display:grid;gap:5px}.friendly-time-select small{color:#71809a;font-weight:800}.friendly-time-select select{width:100%;height:52px;padding:0 14px;border:1px solid #cbd8e8;border-radius:13px;background:#fff;color:#18345f;font-size:calc(16px + var(--ui-font-add,3px));font-weight:900;text-align:center}.friendly-time-presets{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:3px}.friendly-time-presets button{height:34px;border:1px solid #d5e0ed;border-radius:10px;background:#fff;color:#355382;font-weight:850}.friendly-time-presets button:hover,.friendly-time-presets button.active{border-color:#284494;background:#284494;color:#fff}.hourly-leave-fields{padding:16px;border:1px solid #bad0eb;border-radius:18px;background:#f4f8fd}.hourly-leave-fields>header{display:flex;align-items:center;gap:10px;margin-bottom:13px}.hourly-leave-fields>header>i{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e1ebfa;color:#284494}.hourly-leave-fields>header strong,.hourly-leave-fields>header small{display:block}.hourly-leave-fields>header small{margin-top:3px;color:#6f8098}.hourly-leave-fields>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hourly-leave-fields>output{display:block;margin-top:12px;padding:10px 12px;border-radius:11px;background:#e8f5ee;color:#1f7258;font-weight:850}.hourly-leave-fields>output.has-error{background:#fff0ec;color:#a94330}.mission-petty-cash{padding:15px;border:1px solid #dbe4ee;border-radius:18px;background:#f8fafc}.mission-petty-cash.is-active{border-color:#e4bd67;background:#fffaf0}.mission-cash-toggle{display:flex!important;align-items:center;gap:11px}.mission-cash-toggle input{width:22px;height:22px;accent-color:#284494}.mission-cash-toggle span,.mission-cash-toggle b,.mission-cash-toggle small{display:block}.mission-cash-toggle small{margin-top:4px;color:#71809a}.mission-petty-cash-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-top:14px;padding-top:14px;border-top:1px dashed #d8c38e}.mission-request-detail{margin:15px 0;padding:16px;border:1px solid #d9e3ef;border-radius:17px;background:#f8fafc}.mission-request-detail>header small,.mission-request-detail>header strong{display:block}.mission-request-detail>header small{color:#74839a}.mission-request-detail>header strong{margin-top:5px;color:#183b83;font-size:calc(16px + var(--ui-font-add,3px))}.mission-detail-grid{display:grid;grid-template-columns:1fr 1fr 2fr;gap:9px;margin-top:13px}.mission-detail-grid>span,.mission-cash-summary>span{padding:12px;border:1px solid #dce5ef;border-radius:12px;background:#fff}.mission-detail-grid small,.mission-detail-grid strong,.mission-cash-summary small,.mission-cash-summary strong,.mission-cash-summary b{display:block}.mission-detail-grid small,.mission-cash-summary small{margin-bottom:5px;color:#78879b}.mission-detail-grid>span:last-child strong{line-height:1.9}.mission-cash-summary{display:grid;grid-template-columns:1fr 2fr;gap:9px;margin-top:9px}.mission-cash-summary.requested>span{border-color:#e5c77e;background:#fffaf0}.mission-cash-summary b{margin-top:5px;color:#53627a}.approved-tracking-list{display:grid;gap:10px}.approved-tracking-list>button{width:100%;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid #d9e3ef;border-radius:15px;background:linear-gradient(145deg,#fff,#f5f8fc);color:#18345f;text-align:right}.approved-tracking-list>button:hover{border-color:#9eb6dc;transform:translateY(-1px)}.approved-tracking-list>button>i{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#e8f5ee;color:#1f7258}.approved-tracking-list strong,.approved-tracking-list small{display:block}.approved-tracking-list small{margin-top:5px;color:#708099}.approved-tracking-list b{padding:7px 10px;border-radius:10px;background:#e9effb;color:#284494;font-size:calc(9px + var(--ui-font-add,3px))}
@media(max-width:680px){.friendly-time-picker{grid-template-columns:1fr 12px 1fr;padding:10px}.friendly-time-select select{height:55px}.friendly-time-presets{grid-template-columns:1fr 1fr}.hourly-leave-fields>div,.mission-petty-cash-fields,.mission-detail-grid,.mission-cash-summary{grid-template-columns:1fr}.approved-tracking-list>button{grid-template-columns:42px 1fr}.approved-tracking-list>button>i{width:42px;height:42px}.approved-tracking-list>button>b{grid-column:2;justify-self:start}.hr-request-summary strong{line-height:1.9}}

/* Visual process designer and organizational tree. */
.workflow-designer-page{--flow-blue:#284494;--flow-red:#ef2d35}.workflow-designer-hero{position:relative;overflow:hidden;min-height:175px;display:flex;align-items:center;justify-content:space-between;padding:28px 34px;border-radius:25px;background:linear-gradient(125deg,#183b83,#315fc2);color:#fff}.workflow-designer-hero:after{content:"";position:absolute;left:-55px;bottom:-120px;width:280px;height:280px;border:1px solid #ffffff27;border-radius:46px;transform:rotate(35deg);box-shadow:0 0 0 34px #ffffff08}.workflow-designer-hero>*{position:relative;z-index:1}.workflow-designer-hero h1{margin:5px 0 7px;font-size:calc(30px + var(--ui-font-add, 3px))}.workflow-designer-hero p:last-child{margin:0;color:#cad8f1}.workflow-designer-shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:14px;margin-top:16px}.workflow-catalog,.workflow-canvas-panel{border:1px solid #dce5ef;border-radius:21px;background:#fff;box-shadow:0 13px 34px rgba(29,57,108,.07)}.workflow-catalog{padding:15px}.workflow-catalog>header{display:block;padding:5px 5px 13px;border-bottom:1px solid #e6ebf1}.workflow-catalog>header small,.workflow-catalog>header strong{display:block}.workflow-catalog>header small{color:#71809a;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-catalog>header strong{margin-top:4px;color:#183b83}.workflow-catalog>div{display:grid;gap:7px;margin-top:11px}.workflow-catalog button{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:10px;border:1px solid transparent;border-radius:13px;background:#f7f9fc;text-align:right;color:#29446f}.workflow-catalog button.active{border-color:#9bb3df;background:#eaf0fc;box-shadow:inset 3px 0 #284494}.workflow-catalog button>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff;color:#284494}.workflow-catalog strong,.workflow-catalog small{display:block}.workflow-catalog small{margin-top:4px;color:#78869b;font-size:calc(8px + var(--ui-font-add, 3px))}.workflow-catalog em{font-size:calc(7px + var(--ui-font-add, 3px));font-style:normal;color:#23805e}.workflow-canvas-panel{min-width:0;padding:20px}.workflow-canvas-panel>header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #e5ebf2}.workflow-canvas-panel>header small{color:#ef2d35;font-weight:850}.workflow-canvas-panel h2{margin:4px 0;font-size:calc(24px + var(--ui-font-add, 3px));color:#183b83}.workflow-canvas-panel>header p{margin:0;color:#778499}.workflow-legend{display:flex;flex-wrap:wrap;gap:7px;padding:13px 0}.workflow-legend span{padding:5px 8px;border-radius:8px;font-size:calc(8px + var(--ui-font-add, 3px));font-weight:850}.workflow-legend .start{background:#e9eef8;color:#284494}.workflow-legend .approval{background:#fff3dc;color:#8a6114}.workflow-legend .action{background:#e8f3ff;color:#22659b}.workflow-legend .notification{background:#fff0ec;color:#b44a32}.workflow-legend .end{background:#e7f5ed;color:#1d7253}.workflow-canvas{min-height:390px;padding:15px;border:1px dashed #cbd8e7;border-radius:18px;background-color:#f7f9fc;background-image:radial-gradient(#b7c5da 1px,transparent 1px);background-size:18px 18px}.workflow-start-access{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;padding:11px 13px;border:1px solid #d9e3ef;border-radius:13px;background:#fff}.workflow-start-access>span{display:flex;align-items:center;gap:10px}.workflow-start-access>span>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf2fb;color:#284494}.workflow-start-access small,.workflow-start-access strong{display:block}.workflow-start-access small{color:#75839a;font-size:calc(8px + var(--ui-font-add, 3px))}.workflow-start-access select{height:39px;padding:0 10px;border:1px solid #d5dfeb;border-radius:10px;background:#fff}.workflow-flowchart{display:flex;align-items:center;min-width:max-content;padding:23px 8px 32px}.workflow-node{width:180px;min-height:225px;display:flex;flex-direction:column;align-items:center;padding:12px;border:2px solid #d9e2ed;border-radius:20px;background:#fff;text-align:center;box-shadow:0 14px 30px rgba(29,54,99,.09)}.workflow-node>header{width:100%;display:flex;align-items:center;justify-content:space-between}.workflow-node>header i{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#edf1f6;color:#5f6d82;font-style:normal;font-weight:900}.workflow-node>header em{padding:4px 7px;border-radius:8px;background:#f1f3f6;color:#6f7b8d;font-size:calc(7px + var(--ui-font-add, 3px));font-style:normal}.workflow-node-icon{width:52px;height:52px;display:grid;place-items:center;margin:13px 0 7px;border-radius:17px;background:#edf2fb;color:#284494}.workflow-node-icon svg{width:27px;height:27px}.workflow-node h3{margin:5px 0;color:#183b83;font-size:calc(15px + var(--ui-font-add, 3px))}.workflow-node p{min-height:30px;margin:0;color:#748198;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-node>small{margin-top:7px;color:#8390a3;font-size:calc(8px + var(--ui-font-add, 3px))}.workflow-node>footer{width:100%;display:grid;grid-template-columns:34px 1fr 34px;gap:5px;margin-top:auto;padding-top:11px}.workflow-node>footer button{height:31px;border:1px solid #dce4ee;border-radius:9px;background:#f8fafc;color:#284494;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-node>footer button:disabled{opacity:.3}.workflow-node.type-approval{border-color:#e7c77a}.workflow-node.type-approval .workflow-node-icon{background:#fff4dc;color:#9a6a13}.workflow-node.type-action{border-color:#9ec6e5}.workflow-node.type-action .workflow-node-icon{background:#e8f4ff;color:#246a9e}.workflow-node.type-notification{border-color:#efb8aa}.workflow-node.type-notification .workflow-node-icon{background:#fff0ec;color:#bd4d31}.workflow-node.type-end{border-color:#a8d4c2}.workflow-node.type-end .workflow-node-icon{background:#e7f6ef;color:#217557}.workflow-connector{position:relative;width:65px;height:36px;display:grid;place-items:center;color:#284494}.workflow-connector i{position:absolute;right:5px;left:5px;height:2px;background:#9eb2d4}.workflow-connector b{position:relative;margin-right:auto;background:#f7f9fc;font-size:calc(20px + var(--ui-font-add, 3px))}.workflow-canvas-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:13px;padding-top:14px;color:#718097;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-stage-preview{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding:14px;border:1px solid #d9e3ef;border-radius:14px;background:#f6f9fd}.workflow-stage-preview>i{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#e9effa;color:#284494}.workflow-stage-preview small,.workflow-stage-preview strong{display:block}.workflow-stage-preview small{color:#78869a}.workflow-notification-picker{margin-top:16px;padding:15px;border:1px solid #dce5ef;border-radius:15px}.workflow-notification-picker h4{margin:0}.workflow-notification-picker p{margin:4px 0 11px;color:#7c899b;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-notification-picker>div{display:flex;flex-wrap:wrap;gap:7px}.workflow-notification-picker label{position:relative}.workflow-notification-picker input{position:absolute;opacity:0}.workflow-notification-picker span{display:block;padding:7px 9px;border:1px solid #dbe3ed;border-radius:9px;background:#f8fafc;color:#647188;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-notification-picker input:checked+span{border-color:#91adda;background:#eaf0fb;color:#284494;font-weight:850}.org-position-library,.org-visual-chart{margin-top:15px;padding:20px;border:1px solid #dce5ef;border-radius:20px;background:#fff}.org-position-library>header,.org-visual-chart>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.org-position-library h3,.org-visual-chart h2{margin:4px 0;color:#183b83}.org-position-library>header small,.org-visual-chart>header small{color:#ef2d35;font-weight:850}.org-position-library form{display:flex;gap:7px}.org-position-library form input{height:42px;padding:0 11px;border:1px solid #d7e1ec;border-radius:10px}.org-position-library>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.org-position-library>div>span{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:10px;background:#edf2fb;color:#284494;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:800}.org-position-library span button{border:0;background:transparent;color:#ef2d35}.org-visual-chart>header>span{color:#78869a;font-size:calc(9px + var(--ui-font-add, 3px))}.org-tree{overflow:auto;padding:30px 10px 15px;text-align:center}.org-tree ul{position:relative;display:flex;justify-content:center;gap:18px;margin:0;padding:32px 0 0;list-style:none}.org-tree>ul{padding-top:0}.org-tree li{position:relative;min-width:190px;padding:32px 5px 0}.org-tree>ul>li{padding-top:0}.org-tree li:before{content:"";position:absolute;top:0;right:50%;width:1px;height:32px;background:#aebed5}.org-tree>ul>li:before{display:none}.org-tree li>button{width:190px;display:grid;grid-template-columns:43px 1fr;align-items:center;gap:9px;margin:auto;padding:11px;border:1px solid #d8e2ee;border-radius:15px;background:#fff;text-align:right;color:#183b83;box-shadow:0 10px 25px rgba(31,58,105,.08)}.org-tree-avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#e8eefb;color:#284494;font-weight:900}.org-tree strong,.org-tree small,.org-tree em{display:block}.org-tree small{margin-top:3px;color:#687894;font-size:calc(8px + var(--ui-font-add, 3px))}.org-tree em{margin-top:4px;color:#ef2d35;font-size:calc(7px + var(--ui-font-add, 3px));font-style:normal}.org-tree button>i{grid-column:1/-1;padding-top:6px;border-top:1px solid #e7ecf2;color:#7182a0;font-size:calc(7px + var(--ui-font-add, 3px));font-style:normal;text-align:center}.org-tree li>ul:before{content:"";position:absolute;top:16px;right:calc(10% + 10px);left:calc(10% + 10px);height:1px;background:#aebed5}
@media(max-width:900px){.workflow-designer-shell{grid-template-columns:1fr}.workflow-catalog>div{display:flex;overflow-x:auto}.workflow-catalog button{min-width:220px}.org-tree{direction:rtl}.org-tree ul{display:grid;justify-content:stretch;gap:10px;padding:14px 20px 0 0}.org-tree li{min-width:0;padding:10px 20px 0 0;border-right:1px solid #b7c5d8}.org-tree li:before,.org-tree li>ul:before{display:none}.org-tree li>button{width:100%;max-width:360px;margin:0}}
.workflow-catalog em.connected{color:#23805e}.workflow-catalog em.draft{color:#a76612}.workflow-draft-warning{display:flex;align-items:center;gap:11px;margin-bottom:12px;padding:12px 14px;border:1px solid #edcf91;border-radius:13px;background:#fff8e9;color:#76500f}.workflow-draft-warning>i{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#ffe8b7}.workflow-draft-warning strong,.workflow-draft-warning small{display:block}.workflow-draft-warning small{margin-top:3px;color:#896d39;font-size:calc(8px + var(--ui-font-add, 3px))}
.hr-owner-controls{margin-top:14px;padding:15px;border:1px solid #d9e3ef;border-radius:15px;background:linear-gradient(145deg,#fff,#f5f8fc)}.hr-owner-controls>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hr-owner-controls>header small,.hr-owner-controls>header strong{display:block}.hr-owner-controls>header small{color:#ef2d35;font-size:calc(8px + var(--ui-font-add, 3px))}.hr-owner-controls>header strong{margin-top:4px;color:#183b83}.hr-owner-controls>div{display:grid;grid-template-columns:1fr auto;align-items:stretch;gap:8px;margin-top:12px}.hr-owner-controls textarea{min-height:44px;padding:10px 12px;border:1px solid #d9e1eb;border-radius:11px;resize:vertical}.hr-owner-controls>p{margin:8px 0 0;color:#77859a;font-size:calc(8px + var(--ui-font-add, 3px));line-height:1.8}.edit-restart-note{margin-bottom:15px;padding:13px 15px;border-right:3px solid #d39723;border-radius:11px;background:#fff8e8;color:#725113}.edit-restart-note p{margin:5px 0 0;font-size:calc(9px + var(--ui-font-add, 3px));line-height:1.8}@media(max-width:600px){.hr-owner-controls>header{align-items:stretch;flex-direction:column}.hr-owner-controls>div{grid-template-columns:1fr}.hr-owner-controls .btn{min-height:44px}}
.employee-access-center{padding:22px;border:1px solid #dce4ed;border-radius:20px;background:#fff}.employee-unified-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:9px;margin-bottom:20px;padding:17px;border:1px solid #d9e3ef;border-radius:16px;background:#f6f9fd}.employee-unified-form h4{grid-column:1/-1;margin:0 0 3px;color:#183b83}.employee-unified-form input,.employee-unified-form select{min-width:0;height:43px;padding:0 10px;border:1px solid #d6e0eb;border-radius:10px;background:#fff}.employee-unified-form .btn{min-height:43px}.employee-access-center .users-access-list{padding-top:4px}@media(max-width:1000px){.employee-unified-form{grid-template-columns:1fr 1fr}}@media(max-width:600px){.employee-unified-form{grid-template-columns:1fr}.employee-access-center{padding:12px}.sidebar-install-top{max-width:75px;padding:6px;font-size:calc(7px + var(--ui-font-add, 3px))}}

/* Responsive process map: stages wrap instead of extending beyond the canvas. */
.workflow-canvas{overflow:visible}.workflow-flowchart{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:stretch;gap:17px;min-width:0;padding:18px 0 8px}.workflow-node{position:relative;width:auto;min-width:0;min-height:255px;align-items:stretch;padding:15px;text-align:right}.workflow-node>header i{width:32px;height:32px;font-size:calc(11px + var(--ui-font-add, 3px))}.workflow-node>header em{font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-node-icon{align-self:center;width:58px;height:58px;margin:15px 0 9px}.workflow-node h3{text-align:center;font-size:calc(17px + var(--ui-font-add, 3px));line-height:1.65}.workflow-node p{min-height:34px;text-align:center;font-size:calc(11px + var(--ui-font-add, 3px));line-height:1.7}.workflow-node>small{text-align:center;font-size:calc(9px + var(--ui-font-add, 3px))}.workflow-route-label{margin:11px 0 0;padding:7px 9px;border-radius:9px;background:#f0f4fa;color:#526c99;text-align:center;font-size:calc(9px + var(--ui-font-add, 3px));font-weight:900}.workflow-node:last-child .workflow-route-label{background:#e7f6ef;color:#217557}.workflow-node>footer{padding-top:9px}.workflow-node>footer button{height:35px;font-size:calc(10px + var(--ui-font-add, 3px))}.workflow-connector{display:none}

/* Organization chart is grouped by level so every employee remains in view. */
.org-level-chart{display:grid;gap:20px;margin-top:22px}.org-level{position:relative;padding:16px;border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(145deg,#fbfdff,#f3f7fc)}.org-level:not(:last-child):after{content:"↓";position:absolute;z-index:2;left:50%;bottom:-27px;width:29px;height:29px;display:grid;place-items:center;border:1px solid #cbd8e9;border-radius:10px;background:#fff;color:#284494;font-weight:900;transform:translateX(-50%)}.org-level>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.org-level>header>span{display:flex;align-items:center;gap:9px}.org-level>header b{padding:7px 10px;border-radius:10px;background:#284494;color:#fff;font-size:calc(12px + var(--ui-font-add, 3px))}.org-level>header small{color:#6f7f97;font-size:calc(10px + var(--ui-font-add, 3px))}.org-level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px}.org-level-card{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:11px;padding:14px;border:1px solid #d5e0ed;border-radius:16px;background:#fff;text-align:right;color:#183b83;box-shadow:0 8px 22px rgba(31,58,105,.07);transition:.18s}.org-level-card:hover{transform:translateY(-2px);border-color:#9fb5d7;box-shadow:0 13px 28px rgba(31,58,105,.12)}.org-level-card .org-tree-avatar{width:54px;height:54px;border-radius:16px;font-size:calc(14px + var(--ui-font-add, 3px))}.org-level-identity{min-width:0}.org-level-identity strong{display:block;overflow:hidden;font-size:calc(15px + var(--ui-font-add, 3px));line-height:1.7;text-overflow:ellipsis;white-space:nowrap}.org-level-identity small{display:block;margin-top:3px;color:#37598b;font-size:calc(12px + var(--ui-font-add, 3px));font-weight:850;line-height:1.7}.org-level-identity em{display:block;margin-top:2px;color:#ef2d35;font-size:calc(10px + var(--ui-font-add, 3px));font-style:normal}.org-level-manager{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:10px;background:#f3f6fb}.org-level-manager small{color:#77869c;font-size:calc(9px + var(--ui-font-add, 3px))}.org-level-manager b{color:#253f70;font-size:calc(11px + var(--ui-font-add, 3px))}.org-level-card>i{grid-column:1/-1;padding-top:9px;border-top:1px solid #e5ebf2;color:#60779d;font-size:calc(9px + var(--ui-font-add, 3px));font-style:normal;text-align:center}
@media(max-width:700px){.workflow-flowchart{grid-template-columns:1fr;gap:11px}.workflow-node{min-height:225px}.workflow-route-label{margin-top:8px}.org-visual-chart{padding:14px}.org-level{padding:11px}.org-level-grid{grid-template-columns:1fr}.org-level-card{padding:12px}.org-level-identity strong{font-size:calc(14px + var(--ui-font-add, 3px))}.org-level-identity small{font-size:calc(11px + var(--ui-font-add, 3px))}}
@media(max-width:600px){.workflow-designer-hero{display:block;padding:24px}.workflow-designer-hero h1{font-size:calc(25px + var(--ui-font-add, 3px))}.workflow-designer-hero .btn{width:100%;margin-top:15px}.workflow-canvas-panel{padding:13px}.workflow-canvas-panel>header{display:block}.workflow-canvas-panel>header .btn{width:100%;margin-top:12px}.workflow-start-access{align-items:stretch;flex-direction:column}.workflow-start-access select{width:100%}.workflow-canvas{overflow:auto;padding:10px}.workflow-flowchart{align-items:stretch;flex-direction:column;min-width:0}.workflow-node{width:100%;min-height:190px}.workflow-connector{width:100%;height:48px;transform:rotate(-90deg)}.workflow-canvas-panel>footer{align-items:stretch;flex-direction:column}.workflow-canvas-panel>footer .btn{width:100%}.org-position-library>header,.org-visual-chart>header{display:block}.org-position-library form{margin-top:10px}.org-position-library form input{min-width:0;width:100%}}

/* Public recruitment and human-resources workspace. */
.recruitment-entry{width:min(470px,100%);min-height:66px;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:11px;margin-top:13px;padding:10px 14px;text-align:right;border:1px solid #d8e0eb;border-radius:18px;background:rgba(255,255,255,.72);color:#1a3472;box-shadow:0 10px 25px rgba(28,46,82,.07);backdrop-filter:blur(15px);transition:.2s}.recruitment-entry:hover{transform:translateY(-2px);border-color:#a8b8da;box-shadow:0 15px 30px rgba(28,46,82,.12)}.recruitment-entry>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border:1px solid #fff;border-radius:14px;background:linear-gradient(145deg,#fff,#d6e2f8);color:#284494;box-shadow:inset 0 1px #fff,0 8px 18px #28449422;font-size:calc(22px + var(--ui-font-add, 3px))}.recruitment-entry b{font-size:calc(12px + var(--ui-font-add, 3px))}.recruitment-entry small{grid-column:2;color:#778296;font-size:calc(9px + var(--ui-font-add, 3px))}.recruitment-entry>i{grid-column:3;grid-row:1/3;font-style:normal;font-size:calc(18px + var(--ui-font-add, 3px))}
.recruitment-view{min-height:100svh;direction:rtl;color:#15284f;background:radial-gradient(circle at 92% 7%,rgba(40,68,148,.15),transparent 26%),radial-gradient(circle at 3% 90%,rgba(239,45,53,.09),transparent 24%),#eef2f5}.recruitment-header{height:82px;display:flex;align-items:center;gap:12px;padding:0 clamp(20px,5vw,70px);border-bottom:1px solid #d9e1ea;background:rgba(255,255,255,.74);backdrop-filter:blur(20px)}.recruitment-header>button{margin-left:auto;border:0;background:transparent;color:#284494;font-weight:850}.recruitment-header img{width:62px;height:55px;object-fit:contain}.recruitment-header strong,.recruitment-header small{display:block}.recruitment-header strong{font-size:calc(18px + var(--ui-font-add, 3px))}.recruitment-header small{margin-top:3px;color:#758092;font-size:calc(9px + var(--ui-font-add, 3px))}.recruitment-shell{width:min(1280px,calc(100% - 36px));margin:34px auto 60px;display:grid;grid-template-columns:minmax(300px,.7fr) minmax(520px,1.3fr);gap:24px;align-items:start}.recruitment-intro{position:sticky;top:112px;overflow:hidden;min-height:420px;padding:42px;border-radius:30px;color:#fff;background:linear-gradient(135deg,#111923 0%,#1b2b4e 68%,#284494 100%);box-shadow:0 25px 60px rgba(24,43,82,.21)}.recruitment-intro:before{content:"";position:absolute;width:390px;height:390px;left:-190px;bottom:-160px;border:48px solid #ffffff0d;border-radius:50%;box-shadow:0 0 0 3px #ef2d35}.recruitment-intro:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:19px 19px;mask-image:linear-gradient(135deg,transparent 40%,#000);opacity:.13}.recruitment-intro>*{position:relative;z-index:1}.recruitment-kicker{font:750 calc(9px + var(--ui-font-add, 3px))/1 Georgia;letter-spacing:.18em;color:#8fa8eb}.recruitment-intro h1{margin:40px 0 17px;font-size:calc(42px + var(--ui-font-add, 3px));line-height:1.35;letter-spacing:-.045em}.recruitment-intro>p{max-width:420px;color:#c8d3e6;font-size:calc(13px + var(--ui-font-add, 3px));line-height:2}.recruitment-trust{display:flex;flex-wrap:wrap;gap:7px;margin-top:34px}.recruitment-trust span{padding:8px 10px;border:1px solid #ffffff25;border-radius:11px;background:#ffffff0e;color:#e9eef8;font-size:calc(9px + var(--ui-font-add, 3px))}.recruitment-card{min-height:610px;padding:30px;border:1px solid #fff;border-radius:30px;background:rgba(255,255,255,.87);box-shadow:inset 0 1px #fff,0 25px 65px rgba(28,48,85,.13);backdrop-filter:blur(20px)}.recruitment-progress{display:grid;grid-template-columns:1fr 230px;align-items:center;gap:20px;margin-bottom:27px;padding-bottom:19px;border-bottom:1px solid #e3e8ef}.recruitment-progress b,.recruitment-progress small{display:block}.recruitment-progress b{font-size:calc(17px + var(--ui-font-add, 3px));color:#284494}.recruitment-progress small{margin-top:4px;color:#6e7889}.recruitment-progress progress{width:100%;height:8px;border:0;border-radius:8px;overflow:hidden}.recruitment-progress progress::-webkit-progress-bar{background:#e7ebf1}.recruitment-progress progress::-webkit-progress-value{border-radius:8px;background:linear-gradient(90deg,#284494,#ef2d35)}.recruitment-step{display:none;animation:recruitmentStep .28s ease}.recruitment-step.active{display:block}@keyframes recruitmentStep{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}.recruitment-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.recruitment-grid label{display:block;color:#334158;font-size:calc(11px + var(--ui-font-add, 3px));font-weight:800}.recruitment-grid input,.recruitment-grid select,.recruitment-grid textarea{width:100%;min-height:50px;margin-top:7px;padding:11px 13px;border:1px solid #d9e1ea;border-radius:13px;outline:0;background:#f9fbfc;color:#17294e;font:inherit;transition:.18s}.recruitment-grid textarea{resize:vertical;line-height:1.9}.recruitment-grid input:focus,.recruitment-grid select:focus,.recruitment-grid textarea:focus{border-color:#284494;background:#fff;box-shadow:0 0 0 4px #28449412}.candidate-photo{min-height:105px;display:grid!important;grid-template-columns:62px 1fr;align-items:center;gap:4px 13px;margin-bottom:20px;padding:14px;border:1.5px dashed #b8c5d8;border-radius:18px;background:#f4f7fb;cursor:pointer}.candidate-photo input,.recruitment-file input{position:absolute;width:1px;height:1px;opacity:0}.candidate-photo>span{grid-row:1/3;width:62px;height:62px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#fff,#d9e5f7);color:#284494;font-size:calc(30px + var(--ui-font-add, 3px))}.candidate-photo b{align-self:end}.candidate-photo small{align-self:start;color:#7b8595}.recruitment-file{position:relative;min-height:90px;display:grid!important;grid-template-columns:52px 1fr;align-items:center;gap:4px 12px;padding:15px;border:1.5px dashed #b7c5d7;border-radius:17px;background:#f5f8fb;cursor:pointer}.recruitment-file>span{grid-row:1/3;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#e8eef9;color:#284494;font-size:calc(25px + var(--ui-font-add, 3px))}.recruitment-file small{color:#778295}.consent-check{display:flex!important;align-items:flex-start;gap:9px;padding:12px 14px;border-radius:13px;background:#eef3fa;line-height:1.9}.consent-check input{width:18px;min-height:18px;margin:3px 0 0;accent-color:#284494}.recruitment-actions{display:flex;justify-content:space-between;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid #e4e9ef}.recruitment-actions .btn{min-width:135px}.recruitment-success{min-height:470px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.recruitment-success>span{width:86px;height:86px;display:grid;place-items:center;border-radius:28px;background:linear-gradient(145deg,#eaf8f1,#bde5ce);color:#188150;box-shadow:0 18px 35px #18815022;font-size:calc(44px + var(--ui-font-add, 3px))}.recruitment-success h2{margin:22px 0 8px;font-size:calc(30px + var(--ui-font-add, 3px))}.recruitment-success p{font-size:calc(15px + var(--ui-font-add, 3px))}.recruitment-success p b{color:#284494;direction:ltr}.recruitment-success small{color:#798396}.recruitment-success .btn{margin-top:25px}
.sidebar-foot{grid-template-columns:1fr 30px}.sidebar-profile-link{min-width:0;display:grid;grid-template-columns:48px 1fr;align-items:center;gap:9px;padding:0;text-align:right;border:0;background:transparent;color:#fff}.sidebar-profile-link>span{min-width:0}.sidebar-profile-link strong,.sidebar-profile-link small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-link:hover strong{color:#b9d8ff}
.hr-profile-page,.employees-page{--hr-blue:#284494;--hr-red:#ef2d35}.profile-mobile-actions{display:none}.profile-hero{position:relative;overflow:hidden;min-height:230px;display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:27px;padding:30px 38px;border-radius:27px;color:#fff;background:linear-gradient(125deg,#183b83,#284494 58%,#3c65be);box-shadow:0 25px 60px #1a356f2b}.profile-hero:after{content:"";position:absolute;left:-80px;bottom:-180px;width:320px;height:320px;border:1px solid #ffffff27;border-radius:50%;box-shadow:0 0 0 40px #ffffff08,0 0 0 80px #ffffff05}.profile-hero>*{position:relative;z-index:1}.profile-photo{width:145px;height:170px;position:relative;overflow:hidden;border:1px solid #ffffff45;border-radius:36px;background:#fff}.profile-photo>img{width:100%;height:100%;object-fit:cover}.profile-photo>label{position:absolute;left:10px;top:10px;width:34px;height:34px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#ef2d35;color:#fff;font-size:calc(20px + var(--ui-font-add, 3px));cursor:pointer}.profile-photo input{position:absolute;width:1px;height:1px;opacity:0}.profile-hero h1{margin:6px 0 7px;font-size:calc(36px + var(--ui-font-add, 3px))}.profile-hero p:last-of-type{color:#c6d5ed}.profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.profile-tags span{padding:7px 10px;border:1px solid #ffffff27;border-radius:10px;background:#ffffff0d;font-size:calc(9px + var(--ui-font-add, 3px))}.profile-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.profile-stat-grid article{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #dde4ee;border-radius:17px;background:#fff;box-shadow:0 9px 25px #1c345b0d}.profile-stat-grid i{width:47px;height:47px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#fff,#dbe7fa);color:#284494;font-style:normal;font-size:calc(23px + var(--ui-font-add, 3px))}.profile-stat-grid small,.profile-stat-grid strong{display:block}.profile-stat-grid small{color:#778294;font-size:calc(9px + var(--ui-font-add, 3px))}.profile-stat-grid strong{margin-top:5px;font-size:calc(14px + var(--ui-font-add, 3px))}.profile-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:15px}.profile-main-card,.profile-services,.profile-record-grid>section{padding:21px;border:1px solid #dce4ed;border-radius:21px;background:#fff;box-shadow:0 12px 32px #1c345b0c}.profile-main-card>header,.profile-record-grid>section>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #e5eaf0}.profile-main-card h2{margin:4px 0 0;font-size:calc(20px + var(--ui-font-add, 3px))}.profile-main-card>header small{color:#788294}.profile-main-card>header>span,.profile-record-grid>section>header>span{padding:6px 9px;border-radius:12px;background:#edf2fa;color:#284494;font-size:calc(9px + var(--ui-font-add, 3px))}.profile-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:15px}.profile-detail-grid>div{min-width:0;padding:11px 12px;border-radius:12px;background:#f4f7fa}.profile-detail-grid small,.profile-detail-grid strong{display:block}.profile-detail-grid small{margin-bottom:5px;color:#788294;font-size:calc(9px + var(--ui-font-add, 3px))}.profile-detail-grid strong{font-size:calc(11px + var(--ui-font-add, 3px));line-height:1.8;word-break:break-word}.profile-services{display:grid;gap:9px}.profile-services>button,.nanowatch-card{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:12px;text-align:right;border:1px solid #e0e7ef;border-radius:14px;background:#f8fafc;color:#17294e}.profile-services>button:hover{border-color:#aebdd4;background:#f1f5fb}.profile-services i,.nanowatch-card>i{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#e7eef9;color:#284494;font-style:normal;font-size:calc(22px + var(--ui-font-add, 3px))}.profile-services strong,.profile-services small,.nanowatch-card strong,.nanowatch-card small{display:block}.profile-services small,.nanowatch-card small{margin-top:4px;color:#7a8494;font-size:calc(8px + var(--ui-font-add, 3px));line-height:1.7}.profile-services b{font-size:calc(17px + var(--ui-font-add, 3px))}.nanowatch-card{grid-template-columns:44px 1fr;background:#17294e;color:#fff}.nanowatch-card>i{background:#ffffff16;color:#fff}.nanowatch-card small{color:#b9c8df}.profile-record-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.profile-record-grid h3{margin:0}.profile-record-list{display:grid;gap:7px;margin-top:12px}.profile-record-list>button,.profile-record-list>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:10px;text-align:right;border:1px solid #e3e8ee;border-radius:12px;background:#fafbfd;color:#17294e}.profile-record-list i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e9eff9;color:#284494;font-style:normal;font-size:calc(18px + var(--ui-font-add, 3px))}.profile-record-list strong,.profile-record-list small{display:block}.profile-record-list small{margin-top:4px;color:#7c8695;font-size:calc(8px + var(--ui-font-add, 3px))}.profile-record-list b{font-size:calc(9px + var(--ui-font-add, 3px));color:#284494}.hr-empty{margin:0;padding:25px;text-align:center;border:1px dashed #cad4df;border-radius:13px;color:#7d8796;font-size:calc(10px + var(--ui-font-add, 3px))}.hr-state{padding:6px 8px;border-radius:11px;font-style:normal;font-size:calc(8px + var(--ui-font-add, 3px));white-space:nowrap;background:#fff3dc;color:#91620d}.hr-state.approved,.hr-state.hired{background:#e4f4eb;color:#176d4c}.hr-state.rejected{background:#fff0ec;color:#a94228}.hr-state.new{background:#e8eefb;color:#284494}.hr-state.reviewing{background:#f0ebff;color:#6751a4}
.employees-hero{position:relative;overflow:hidden;min-height:190px;display:flex;align-items:center;justify-content:space-between;padding:30px 36px;border-radius:25px;color:#fff;background:linear-gradient(120deg,#18213a,#284494 64%,#345eb5);box-shadow:0 22px 50px #1d397527}.employees-hero:after{content:"";position:absolute;left:-80px;top:-150px;width:300px;height:300px;border:1px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 45px #ffffff07}.employees-hero>*{position:relative;z-index:1}.employees-hero h1{margin:5px 0 8px;font-size:calc(31px + var(--ui-font-add, 3px))}.employees-hero p:last-child{color:#c9d6ed}.hr-overview-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.hr-overview-stats article{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid #dce4ed;border-radius:17px;background:#fff}.hr-overview-stats i{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e9effa;color:#284494;font-style:normal;font-size:calc(21px + var(--ui-font-add, 3px))}.hr-overview-stats small,.hr-overview-stats strong{display:block}.hr-overview-stats small{color:#788294;font-size:calc(8px + var(--ui-font-add, 3px))}.hr-overview-stats strong{margin-top:4px;font-size:calc(15px + var(--ui-font-add, 3px))}.hr-tabs{display:flex;gap:7px;margin:22px 0 12px;padding:6px;border:1px solid #dce4ed;border-radius:15px;background:#fff}.hr-tabs button{flex:1;padding:11px;border:0;border-radius:11px;background:transparent;color:#687588;font-weight:850}.hr-tabs button.active{background:#284494;color:#fff;box-shadow:0 9px 20px #28449426}.hr-tabs b{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-right:5px;border-radius:10px;background:#ef2d35;color:#fff;font-size:calc(9px + var(--ui-font-add, 3px))}.hr-tab-panel{display:none}.hr-tab-panel.active{display:block;animation:reveal .25s ease}.hr-toolbar{margin-bottom:11px}.employee-directory,.applicant-list{display:grid;gap:8px}.employee-card,.applicant-row{width:100%;min-width:0;display:grid;align-items:center;gap:12px;padding:13px 15px;text-align:right;border:1px solid #dfe6ee;border-radius:15px;background:#fff;color:#17294e;transition:.18s}.employee-card{grid-template-columns:50px minmax(200px,1fr) auto 18px}.applicant-row{grid-template-columns:48px minmax(200px,1.3fr) minmax(130px,.7fr) auto 18px}.employee-card:hover,.applicant-row:hover{transform:translateY(-2px);border-color:#aebdd3;box-shadow:0 10px 25px #1d365e12}.employee-avatar,.applicant-code{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#f7f9fd,#dce7f9);color:#284494;font-weight:900}.employee-card strong,.employee-card small,.applicant-row strong,.applicant-row small,.applicant-row b{display:block}.employee-card small,.applicant-row small{margin-top:4px;color:#7a8494;font-size:calc(9px + var(--ui-font-add, 3px))}.employee-card em{padding:6px 9px;border-radius:11px;background:#edf3fa;color:#284494;font-style:normal;font-size:calc(8px + var(--ui-font-add, 3px))}.jobs-manager{padding:22px;border:1px solid #dce4ed;border-radius:20px;background:#fff}.jobs-manager>div:first-child h3{margin:0}.jobs-manager>div:first-child p{color:#778294;font-size:calc(10px + var(--ui-font-add, 3px))}.jobs-manager form{display:flex;gap:8px;margin:17px 0}.jobs-manager form input{flex:1;padding:12px;border:1px solid #d8e1ea;border-radius:11px}.jobs-manager>div:last-child{display:flex;flex-wrap:wrap;gap:7px}.jobs-manager>div:last-child>span{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:11px;background:#edf2fa;color:#284494;font-size:calc(10px + var(--ui-font-add, 3px));font-weight:800}.jobs-manager>div:last-child button{border:0;background:transparent;color:#a94228;font-size:calc(17px + var(--ui-font-add, 3px))}.hire-note{margin-bottom:16px;padding:12px;border-right:3px solid #284494;border-radius:11px;background:#edf2fa;color:#536078;font-size:calc(10px + var(--ui-font-add, 3px))}.applicant-summary,.employee-dashboard-head{display:flex;align-items:center;gap:12px;padding:15px;border-radius:16px;background:#18294e;color:#fff}.applicant-summary>span,.employee-dashboard-head>span{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#ffffff14;color:#fff;font-size:calc(27px + var(--ui-font-add, 3px))}.applicant-summary strong,.applicant-summary small,.employee-dashboard-head strong,.employee-dashboard-head small{display:block}.applicant-summary small,.employee-dashboard-head small{margin-top:4px;color:#bdcae0}.applicant-detail>section{margin-top:14px;padding:13px;border:1px solid #e0e6ed;border-radius:13px;background:#fff}.applicant-detail>section h4,.applicant-detail>section p{margin:0}.applicant-detail>section p{margin-top:8px;color:#5f6a7b;line-height:1.9}.employee-dashboard-head>div{flex:1}.employee-request-admin{margin-top:15px}.employee-request-admin>div{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;margin-top:7px;padding:10px;border:1px solid #dfe6ed;border-radius:12px}.employee-request-admin strong,.employee-request-admin small{display:block}.employee-request-admin small{margin-top:4px;color:#788294}.employee-request-admin button{border:0;border-radius:9px;padding:7px 9px;background:#e4f4eb;color:#176d4c;font-weight:800}.employee-request-admin button.reject{background:#fff0ec;color:#a94228}.nanowatch-admin{margin-top:15px;padding:16px;border-radius:15px;background:#17294e;color:#fff}.nanowatch-admin h3{margin:0}.nanowatch-admin p{margin:7px 0 0;color:#bdcae0;line-height:1.9}

@media(max-width:900px){.recruitment-shell{grid-template-columns:1fr}.recruitment-intro{position:relative;top:0;min-height:250px}.recruitment-intro h1{margin-top:20px;font-size:calc(32px + var(--ui-font-add, 3px))}.recruitment-card{min-height:0}.profile-layout{grid-template-columns:1fr}.hr-overview-stats{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.recruitment-entry{width:100%}.recruitment-header{height:68px;padding:0 14px}.recruitment-header img{width:49px;height:43px}.recruitment-header>button{font-size:calc(10px + var(--ui-font-add, 3px))}.recruitment-shell{width:100%;margin:0;gap:0}.recruitment-intro{min-height:210px;padding:27px 22px;border-radius:0 0 28px 28px}.recruitment-intro h1{max-width:290px;margin:19px 0 8px;font-size:calc(28px + var(--ui-font-add, 3px))}.recruitment-intro>p{font-size:calc(10px + var(--ui-font-add, 3px));line-height:1.8}.recruitment-trust{margin-top:14px}.recruitment-card{margin:-18px 10px 30px;padding:20px 15px;border-radius:24px}.recruitment-progress{grid-template-columns:1fr 110px;gap:10px}.recruitment-grid{grid-template-columns:1fr;gap:13px}.recruitment-grid .span-2{grid-column:auto}.recruitment-grid input,.recruitment-grid select,.recruitment-grid textarea{min-height:53px;font-size:calc(14px + var(--ui-font-add, 3px))}.candidate-photo{min-height:88px}.recruitment-actions{position:sticky;z-index:5;bottom:8px;margin-right:-7px;margin-left:-7px;padding:12px 7px 0;background:linear-gradient(transparent,#fff 25%)}.recruitment-actions .btn{flex:1;min-width:0;min-height:49px}.profile-mobile-actions{display:block;margin-bottom:13px;padding:16px;border:1px solid #dce5f0;border-radius:22px;background:linear-gradient(145deg,#fff,#f3f7fd);box-shadow:0 12px 30px rgba(40,68,148,.08)}.profile-mobile-actions header{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.profile-mobile-actions header small{color:#ef2d35;font-weight:850}.profile-mobile-actions header strong{color:#183b83;font-size:calc(17px + var(--ui-font-add, 3px))}.profile-mobile-actions>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-mobile-actions button{min-height:88px;display:grid;place-items:center;gap:7px;padding:10px 5px;border:1px solid #dce5f0;border-radius:17px;background:#fff;color:#284494;font-weight:900}.profile-mobile-actions button:nth-child(2){color:#d44b33;background:#fff7f4}.profile-mobile-actions button:nth-child(3){color:#1c8060;background:#f2fbf7}.profile-mobile-actions i{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#edf2fb;font-style:normal}.profile-mobile-actions svg{width:23px;height:23px}.profile-hero{min-height:0;display:flex;flex-direction:column;align-items:center;padding:24px 20px 21px;text-align:center;border-radius:25px}.profile-hero:after{left:50%;bottom:-235px;transform:translateX(-50%);width:390px;height:390px}.profile-photo{width:190px;height:220px;margin:0 auto 18px;border:3px solid rgba(255,255,255,.8);border-radius:52px;box-shadow:0 20px 45px rgba(15,35,84,.34)}.profile-photo>label{left:13px;top:13px;width:42px;height:42px;font-size:calc(25px + var(--ui-font-add, 3px))}.profile-hero-identity .eyebrow,.profile-hero-identity>p:last-of-type,.profile-tags{display:none}.profile-hero h1{margin:0;font-size:calc(29px + var(--ui-font-add, 3px))}.profile-hero>.btn{width:100%;margin-top:17px;min-height:49px}.profile-stat-grid{grid-template-columns:1fr;margin-top:13px}.profile-layout,.profile-record-grid{grid-template-columns:1fr}.profile-layout{display:flex;flex-direction:column}.profile-main-card{order:2}.profile-services{display:none}.profile-detail-grid{grid-template-columns:1fr}.employees-hero{display:block;padding:25px}.employees-hero h1{font-size:calc(25px + var(--ui-font-add, 3px))}.employees-hero .btn{width:100%;margin-top:15px}.hr-overview-stats{grid-template-columns:1fr 1fr;gap:7px}.hr-overview-stats article{padding:11px}.hr-overview-stats i{width:37px;height:37px}.hr-tabs{overflow-x:auto}.hr-tabs button{min-width:105px}.employee-card{grid-template-columns:46px 1fr 16px}.employee-card>em{grid-column:2}.applicant-row{grid-template-columns:44px 1fr auto}.applicant-row>span:nth-child(3){display:none}.applicant-row>.hr-state{grid-column:2}.jobs-manager form{display:grid}.employee-dashboard-head{align-items:flex-start;flex-wrap:wrap}.employee-dashboard-head>.btn{width:100%}.employee-request-admin>div{grid-template-columns:1fr auto}.employee-request-admin button{grid-row:2}.applicant-detail .profile-detail-grid{grid-template-columns:1fr 1fr}}
