@font-face{font-family:Vazir;src:url('/web/vazirmatn.ttf')}*{box-sizing:border-box}body{margin:0;background:#f5f7fc;color:#202c45;font:15px Vazir,Tahoma,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #dce2ee;border-radius:12px;padding:10px 18px;background:white;color:#23477e}button.primary{background:#4264de;color:white;border-color:#4264de}button:disabled{opacity:.5;cursor:wait}input,textarea,select{padding:12px;border:1px solid #dce2ee;border-radius:12px;width:100%;background:white;color:#202c45}textarea{min-height:110px;resize:vertical}label{display:block;margin:12px 0 6px}h1,h2,h3,p{margin:0 0 12px}h1{font-size:25px}h2{font-size:20px}h3{font-size:17px}small,.muted{color:#73819b}aside{position:fixed;right:0;top:0;bottom:0;width:240px;background:#11294b;color:white;padding:26px 18px;overflow:auto}aside button{display:block;width:100%;text-align:right;margin:6px 0;color:#c4d1e8;border:0;background:transparent}aside button.active{background:#4264de;color:white}aside small{color:#a8bddb}.brand{padding:10px 5px 26px;border-bottom:1px solid #ffffff20;margin-bottom:18px}.shell{margin-right:240px}header{background:white;border-bottom:1px solid #e7ebf3;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;gap:16px;position:sticky;top:0;z-index:2}main{max-width:1450px;margin:auto;padding:30px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.hero{background:linear-gradient(120deg,#143d91,#4264de);padding:30px;border-radius:24px;color:white;margin-bottom:24px}.hero p{color:#dce7ff}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.card{background:white;border:1px solid #e4e9f3;padding:22px;border-radius:20px;margin-bottom:16px;min-width:0;overflow-wrap:anywhere}.metric{font-size:32px;color:#4264de}.tag{display:inline-block;background:#eef2ff;color:#4264de;padding:4px 10px;border-radius:8px;font-size:12px;margin:4px 0}.done{color:#24734a;background:#e9f7ef}.warn{color:#975e13;background:#fff3dd}.field{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #f1f3f8}.field span:first-child{color:#73819b}.field span:last-child{text-align:left}.search{max-width:420px;margin-bottom:20px}.empty{text-align:center;padding:55px;color:#73819b}.body{white-space:pre-wrap;line-height:2}.login{max-width:440px;margin:7vh auto;padding:32px}.login img{width:60px;display:block;margin:0 auto 20px}.login button{width:100%;margin-top:22px}.error{color:#b52a3b;margin-top:14px}.banner{background:#fff2d9;border:1px solid #f4d699;border-radius:12px;padding:12px;margin-bottom:18px}dialog{border:1px solid #dce2ee;border-radius:24px;padding:28px;width:min(650px,92vw);max-height:85vh;color:#202c45}dialog::backdrop{background:#10203c80}.actions{margin-top:22px}.link{color:#4264de}#notice{position:fixed;bottom:22px;left:25px;max-width:430px;background:#18345a;color:white;border-radius:12px;padding:0;z-index:10}#notice:not(:empty){padding:14px 22px}.version{padding-top:24px;color:#9db0d0;font-size:12px}a{color:#4264de}@media(max-width:800px){aside{position:static;width:100%;padding:12px}aside nav{display:flex;overflow:auto}aside button{white-space:nowrap;width:auto}.brand{padding:5px;margin:0;border:0}.shell{margin:0}header{padding:14px;position:static}main{padding:16px}.hero{padding:22px}.row{gap:8px}}
.workspace-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;margin-bottom:14px;background:#eaf4ff;border:1px solid #d8e8fb;border-radius:16px;color:#23477e}
.workspace-summary strong{display:block;margin-bottom:4px}.progress-ring{position:relative;width:66px;height:66px;flex:0 0 66px;display:grid;place-items:center}.progress-ring strong{margin:0}.progress-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke:#c6dcfa;stroke-width:5}.progress-ring .ring-value{stroke:#4264de;stroke-linecap:round}
.accordion{background:#fff;border:1px solid #dce2ee;border-radius:14px;margin-bottom:10px;overflow:hidden}.accordion summary{cursor:pointer;display:flex;align-items:center;min-height:56px;padding:10px 16px;gap:10px;font-weight:bold;list-style:none}.accordion summary::-webkit-details-marker{display:none}.accordion summary .tag{margin-inline-start:auto}.accordion summary::after{content:'⌄';color:#4264de}.accordion[open] summary::after{content:'⌃'}
.entry{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;text-align:start;gap:12px;border:0;border-top:1px solid #edf0f6;border-radius:0;color:#202c45}.entry:hover,.entry:focus-visible{background:#f2f7ff}.entry small{display:block}.entry-date{color:#596988}.compact{padding:14px}.workspace-tools{margin-bottom:12px}.workspace-tools .search{margin:0;flex:1;min-width:150px}.danger{color:#a32538;margin:6px}input[type=checkbox]{width:auto}
.hesabyar {
    --hy-blue:#3a526e;
    --hy-paper:#f4f5f9;
    --hy-border:#d9d9d9;
    height:100dvh;
    background:white;
    display:grid;
    grid-template-rows:50px minmax(0,1fr) 40px;
    color:#292929;
    font-size:13px;
}
.hy-top,.hy-footer {
    background:var(--hy-blue);
    color:white;
    display:grid;
    grid-template-columns:229px 1fr auto;
    align-items:center;
    gap:12px;
    padding:0 10px;
}
.hy-top>strong:nth-child(2){text-align:center;font-size:19px;font-weight:500}
.hy-brand{font-size:24px;color:#ffbf47;background:#304967;height:100%;display:flex;align-items:center;gap:14px;padding-inline:12px}
.hy-brand span{font-size:13px;color:white}
.hy-top>button{padding:4px 10px;background:#fff;color:#354c66;border-radius:3px;font-size:12px}
.hy-footer{background:#304967;grid-template-columns:1fr 1fr 1fr 1fr}
.hy-footer>span:nth-child(2){text-align:center}
.hy-user{text-align:center}
.hy-footer>span:last-child{margin-inline-start:auto;background:white;color:#273449;border-radius:3px;padding:4px 9px}
.hy-layout{display:grid;grid-template-columns:229px minmax(0,1fr);min-height:0}
.hy-nav{background:var(--hy-paper);border-inline-end:4px solid #ddd;overflow:auto}
.hy-nav button{display:flex;align-items:center;gap:7px;width:100%;text-align:start;border:0;border-radius:0;background:transparent;color:#454545;padding:10px;min-height:48px;font-size:13px}
.hy-nav button img{width:24px;height:24px;object-fit:contain}
.hy-nav .hy-nav-collapse{min-height:54px;justify-content:space-between;padding-inline:13px}
.hy-nav button:hover,.hy-nav button[aria-expanded=true]{background:#e8e9eb;color:#222}
.hy-nav [data-hy]{min-height:54px}
.hy-nav button[aria-expanded=true]{border-inline-start:4px solid #edaa60;font-weight:700}
.hy-submenu{background:#e8e9eb;margin-inline-start:16px}
.hy-submenu[hidden]{display:none}
.hy-nav [data-hy]::after{content:'⌄';margin-inline-start:auto;color:#596774}
.hy-nav [data-hy][aria-expanded=true]::after{content:'⌃'}
.hy-nav .hy-sub{border-bottom:1px solid #f3f3f3;padding-inline-start:11px}
.hy-sub::before{content:'›';border-radius:50%;width:11px;height:11px;line-height:10px;text-align:center;color:white;background:#8da3b2}
.hy-nav .hy-sub[aria-current=page]{background:#c5c6c8;border-inline-start:4px solid #239f85;color:#161616;font-weight:700}
.hy-content{min-width:0;overflow:auto;display:grid;grid-template-rows:auto 1fr;container-type:inline-size;scrollbar-width:thin;scrollbar-color:#a1a1a1 transparent}
.hy-content #content{min-width:0}
.hy-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:65px;padding:8px 22px;background:var(--hy-paper);border-bottom:1px solid #e9e8ed;flex-wrap:wrap}
.hy-heading h1{font-size:23px;font-weight:400;margin:0;display:flex;align-items:center;gap:16px}
.hy-heading h1 span{color:#346e90;font-size:20px}
#hyActions{display:flex;align-items:center;gap:4px}
#hyActions[hidden]{display:none}
.hy-heading button{border:0;background:transparent;border-radius:3px;padding:6px 9px;min-height:33px}
.hy-heading img{width:18px;height:18px;object-fit:contain;display:block}
.hy-heading button:hover:not(:disabled){background:#e3e8f0}
.hy-heading .hy-save{color:#387e44}
.hy-tabs{display:flex;overflow:auto;background:#f6f6f6;border-block:1px solid var(--hy-border)}
.hy-tabs button{flex:1 0 auto;border:1px solid transparent;border-radius:0;background:transparent;color:#2d3438;padding:10px 12px;font-size:13px;min-height:42px}
.hy-tabs button[aria-pressed=true]{background:white;border-color:#4f83a9;font-weight:700}
.hy-tabs img{width:26px;height:26px;object-fit:contain;display:block;margin:0 auto 3px}
.hy-search{display:block;border-radius:3px;border-color:#c9c9c9;padding:7px 12px;color:#333;font-size:13px}
.hy-grid-wrap{overflow:auto;background:white}
.hy-grid{border-collapse:collapse;width:100%;font-size:12px}
.hy-grid th,.hy-grid td{padding:6px 8px;height:34px;border-inline-end:1px solid #dedede;text-align:start;white-space:nowrap}
.hy-grid th{background:#fff;color:#606060;font-weight:400}
.hy-grid thead tr{border-bottom:1px solid #d9d9d9}
.hy-grid tbody tr:nth-child(even){background:#f3f3f3}
.hy-reference-grid th{min-width:100px}
.hy-reference-grid th:first-child,.hy-reference-grid th:nth-child(2){min-width:45px;width:45px}
.hy-reference-grid th:nth-child(4),.hy-reference-grid th:nth-child(5){min-width:150px}
.hy-filter-row{color:#676767}
.hy-name{color:#24769d;font-weight:700}
.hy-grid .hy-table-empty{height:65px;text-align:center;color:#666}
.hy-grid-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid #ddd;padding:13px 12px;font-size:12px}
.hy-grid-footer b{background:#eee;padding:4px 7px;border-radius:2px}
.hy-people-grid .hy-filter-row td{padding:3px 6px}
.hy-receipt-list-grid .hy-filter-row td{padding:3px 6px}
.hy-receipt-list-grid .hy-receipt-number{color:#24769d;font-weight:700}
.hy-receipt-list-grid .hy-receipt-money{direction:rtl;text-align:end;font-variant-numeric:tabular-nums}
.hy-receipt-list-grid .hy-grid th{min-width:80px}
.hy-receipt-list-grid .hy-grid th:first-child{min-width:42px}
.hy-filter-row input{border:0;background:transparent;padding:5px 3px;border-radius:2px;font-size:12px;min-width:74px;width:100%}
.hy-filter-row input::placeholder{color:#65737c;text-align:end}
.hy-person-link{display:block;border:0;padding:0;background:transparent;color:#21749b;border-radius:0;font-weight:700;text-align:start}
.hy-person-link:hover{text-decoration:underline}
.hy-grid-footer label,.hy-page-controls{display:flex;align-items:center;gap:8px;margin:0}
.hy-grid-footer select,.hy-page-controls button{width:auto;border:1px solid #d9d9d9;border-radius:3px;padding:4px 7px;text-align:center}
.hy-person-profile{padding:16px}
.hy-profile-header{display:flex;align-items:center;gap:12px;border-bottom:2px dashed #6aa5cf;padding-bottom:9px}
.hy-profile-header img{width:58px;height:58px}
.hy-profile-header h2{margin:0 0 4px}
.hy-profile-header button{margin-inline-start:auto;border-radius:4px;padding:7px 9px}
.hy-profile-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin:12px 0;gap:10px;border:1px solid #d9d9d9;border-inline-start:4px solid #6aa5cf;padding:12px}
.hy-profile-fields:empty{display:none}
.hy-profile-fields dt{color:#535f68}
.hy-profile-fields dd{margin:3px 0 0;overflow-wrap:anywhere}
.hy-module-note{padding:14px;color:#595959}
.hy-bank{border-bottom:1px solid #ddd}
.hy-bank summary{list-style:none;cursor:pointer;display:flex;gap:12px;align-items:center;min-height:122px;padding:15px 20px;font-size:14px}
.hy-bank summary::-webkit-details-marker{display:none}
.hy-bank-icon{display:grid;place-items:center;flex:0 0 96px;height:96px;background:#fcfcfd;border:1px solid #eee;color:#354c66;font-size:32px;border-radius:4px}
.hy-bank-icon img{width:44px;height:44px;object-fit:contain}
.hy-bank small,.hy-bank b{display:block;margin-top:5px}
.hy-bank b{color:#137761}
.hy-bank-link{margin-inline-start:auto;color:#256986}
.hy-bank-actions{display:flex;gap:7px;padding:0 18px 10px}
.hy-bank-actions button{border-radius:4px;padding:5px 10px;font-size:12px}
.hy-form-header{display:grid;grid-template-columns:240px minmax(0,1fr);gap:38px;align-items:start;padding:16px 16px 24px}
.hy-form-picture{text-align:center;font-size:70px;color:#354c66}
.hy-form-picture>img,.hy-product-picture{max-width:100%;width:200px;height:auto;display:block;margin:32px auto 0}
.hy-product-picture{height:200px;border-radius:48px;background:#304955;position:relative;overflow:hidden;border:2px solid #98a3a8}
.hy-product-picture::before{content:'';position:absolute;inset:0;background:#263c46;clip-path:polygon(30% 67%,60% 23%,100% 61%,100% 100%,61% 100%)}
.hy-box{position:absolute;width:var(--size);height:calc(var(--size) * .88);background:var(--left);clip-path:polygon(50% 0,100% 24%,100% 75%,50% 100%,0 75%,0 24%)}
.hy-box::before,.hy-box::after{content:'';position:absolute;inset:0}
.hy-box::before{background:var(--top);clip-path:polygon(50% 0,100% 24%,50% 49%,0 24%)}
.hy-box::after{background:var(--right);clip-path:polygon(50% 49%,100% 24%,100% 75%,50% 100%)}
.hy-box-red{--size:92px;--top:#e0927b;--left:#bc5a46;--right:#a23f36;left:57px;top:34px}
.hy-box-yellow{--size:53px;--top:#ffe3a1;--left:#e6be62;--right:#d7ac48;left:117px;top:86px}
.hy-box-paper{--size:91px;--top:#f5d9bd;--left:#ebc4a6;--right:#ca9c7d;left:25px;top:82px}
.hy-box-blue{--size:49px;--top:#91d5eb;--left:#68c0df;--right:#4a9bb9;left:59px;top:65px}
.hy-picture-actions{display:flex;justify-content:center;gap:7px;margin-top:18px}
.hy-picture-actions button{font-size:12px;padding:8px 16px;border:0;border-radius:3px;color:#38627d;opacity:1}
.hy-picture-actions button:last-child{color:#a24343}
.hy-identity{display:grid;gap:15px}
.hy-identity label{display:block;margin:0;color:#626262;font-size:14px}
.hy-identity input:not([type=checkbox]),.hy-identity select{background:#fafafa;border:1px solid #d5d5d5;border-radius:4px;padding:7px;min-height:37px;margin-top:5px;color:#333}
.hy-identity .hy-code input{border-style:dashed}
.hy-code-line{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.hy-code{flex:0 1 36%;min-width:112px}
.hy-identity .hy-toggle,.hy-identity .hy-active{display:flex;gap:4px;align-items:center;min-height:37px;font-size:11px;color:#2f3438}
.hy-field-caption{display:block;color:#626262}
.hy-required{color:#cd3e52}
.hy-party-error{color:#a32538;background:#fff2f3;padding:8px 16px;margin:0}
.hy-party-error:empty{display:none}
.hy-field-trio,.hy-field-pair{display:grid;gap:28px;grid-template-columns:repeat(3,minmax(0,1fr))}
.hy-field-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.hy-form-tabs button{min-height:66px}
.hy-address .hy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.hy-address label:first-child{grid-column:1/-1}
.hy-bank .hy-bank-code{display:inline;margin:0 0 0 5px}
.hy-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px 24px}
.hy-fields label{margin:0;color:#575757;font-size:13px}
.hy-fields input{margin-top:5px;border-radius:4px;padding:7px;border-color:#d7d7d7;background:#fafafa}
.hy-checks{display:flex;flex-wrap:wrap;gap:12px}
.hy-checks label{margin:7px 0}
.hy-tab-body,.hy-document{padding:20px 24px}
.hy-bank-add{display:block;width:min(200px,100%);margin:0 auto;border-radius:4px;border-color:#58ad59;background:#58ad59;color:white;padding:8px}
.hy-account-preview{position:relative;padding:12px 0 20px;margin-bottom:14px;border-bottom:1px solid var(--hy-border)}
.hy-bank-remove{display:block;margin-inline-start:auto;border:0;padding:4px 6px;border-radius:3px}
.hy-bank-remove img{display:block;width:16px;height:16px;object-fit:contain}
.hy-document{max-width:900px;margin:auto}
.hy-document-item{padding:16px;margin:16px 0;background:#f3f3f3;border:1px solid #ddd;border-radius:8px}
.hy-document-add{display:block;margin:0 auto;border-color:#72a77c;border-radius:4px;color:#357647;padding:7px 15px}
.hy-document-total{margin-top:16px;border:1px solid #6db2a4;background:#e5f4f2;padding:8px 12px;display:grid;gap:5px}
.hy-document-total span+span{border-top:1px solid #6db2a4;color:#a63e45}
.hy-receipt{width:min(100%, 864px)}
.hy-receipt-head{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 16px}
.hy-receipt-head label,.hy-receipt-person label{color:#646464;margin:0}
.hy-receipt-head input:not([type=checkbox]),.hy-receipt-head select,.hy-receipt .hy-fields select,
.hy-receipt .hy-document-total select,.hy-receipt-person input{border-radius:4px;border-color:#d7d7d7;padding:7px;margin-top:5px;min-height:37px}
.hy-receipt-note{grid-column:span 2}
.hy-receipt-number-field,.hy-receipt-date-field{display:flex;align-items:end;gap:7px}
.hy-receipt-number-field label:first-child,.hy-receipt-date-field label{flex:1;min-width:0}
.hy-receipt-number-field input:disabled{border-style:dashed;background:#fafafa}
.hy-receipt-date-field button{border-radius:4px;padding:6px 9px;min-height:37px}
.hy-receipt .hy-receipt-auto{display:flex;align-items:center;gap:5px;font-size:11px;min-height:37px;white-space:nowrap}
.hy-receipt .hy-receipt-auto input{margin:0}
.hy-receipt .hy-document-total label{margin:0}
.hy-receipt .hy-document-total{grid-template-columns:minmax(180px, 1fr) minmax(140px, 1fr);gap:14px;align-items:center}
.hy-receipt-summary{display:grid;gap:5px}
.hy-receipt-summary span{display:block;padding-block:3px;text-align:end}
.hy-receipt-method{position:relative}
.hy-receipt-method summary{cursor:pointer;color:#357647;padding:8px}
.hy-receipt-method button{position:absolute;z-index:2;display:flex;align-items:center;gap:9px;min-width:130px;padding:8px 12px;border-radius:4px;box-shadow:0 3px 14px #263c462b}
.hy-receipt-method button img{width:24px;height:24px;object-fit:contain}
.hy-receipt-bank select{border-radius:4px;border-color:#d7d7d7;padding:7px;margin-top:5px}
.hy-receipt .hy-document-item{position:relative;padding:16px;margin-top:24px}
.hy-receipt .hy-bank-remove{position:absolute;left:8px;top:4px;background:transparent}
.hy-receipt-row-number{position:absolute;right:9px;top:3px;color:#68727a;font-size:11px}
.hy-receipt-person{display:grid;align-items:start;grid-template-columns:64px minmax(0,1fr);gap:10px}
.hy-receipt-person>img{width:64px;height:64px;border-radius:50%}
.hy-receipt-person .hy-fields{grid-template-columns:2fr 1fr;gap:16px;margin-bottom:15px}
@container (max-width:620px){
    .hy-receipt-head{grid-template-columns:1fr}
    .hy-receipt-note{grid-column:auto}
    .hy-receipt-person{grid-template-columns:1fr}
    .hy-receipt-person>img{margin:0 auto}
    .hy-receipt-person .hy-fields{grid-template-columns:1fr}
    .hy-receipt .hy-document-total{grid-template-columns:1fr}
}
@container (max-width:520px){
    .hy-form-header{grid-template-columns:minmax(0,1fr);gap:16px}
    .hy-form-picture>img,.hy-product-picture{margin-top:0}
    .hy-field-trio,.hy-field-pair{gap:12px}
}
@container (min-width:521px){
    .hy-form-header{grid-template-columns:252px minmax(0,1fr);gap:30px;padding-inline-end:8px}
    #financePartyForm .hy-form-picture>img{margin-top:54px}
    #financePartyForm .hy-code{flex-basis:98px;min-width:98px}
}
@container (max-width:360px){
    .hy-field-pair{grid-template-columns:minmax(0,1fr)}
    .hy-heading{padding-inline:16px}
    .hy-form-header{gap:22px}
}
@media(min-width:491px) and (max-width:700px){
    .hy-top{grid-template-columns:1fr auto}
    .hy-brand{display:none}
    .hy-top>strong:nth-child(2){grid-column:1;text-align:start}
    .hy-top>button{grid-column:2}
}
@media(max-width:490px){
    .hy-top{grid-template-columns:auto 1fr auto}
    .hy-brand,.hy-top>strong:nth-child(2){font-size:13px}
    .hy-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
    .hy-nav{border:0;border-bottom:1px solid #ddd}
    .hy-nav .hy-nav-collapse{display:none}
    .hy-nav>div{display:inline-block;vertical-align:top}
    .hy-nav button{min-height:37px}
    .hy-submenu{display:flex;max-width:100vw;overflow-x:auto;margin:0}
    .hy-submenu .hy-sub{width:auto;white-space:nowrap}
    .hy-form-header{padding:16px}
    .hy-heading{padding-inline:10px}
}
