@font-face {
    font-family: Vazirmatn;
    src: local("Vazirmatn")
}

* {
    box-sizing: border-box
}
i {
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
html {
    font-family: Vazirmatn,"Segoe UI",Tahoma,sans-serif;
    background: #f5f7f8;
    color: #18212b;
    font-synthesis: none
}

body {
    margin: 0;
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none
}

button,input,textarea,select {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: not-allowed;
    opacity: .5
}

:root {
    --bg: #f4f6f7;
    --surface: #fff;
    --surface-2: #f7f9fa;
    --ink: #18212b;
    --muted: #77828c;
    --line: #e5eaed;
    --brand: #146b58;
    --on-brand: #fff;
    --brand-deep: #0b342e;
    --brand-soft: #e5f3ef;
    --amber: #ac7526;
    --amber-soft: #fbf3e5;
    --danger: #ab4345;
    --danger-soft: #fff0f0;
    --shadow: 0 18px 55px #19352d0d
}

html[data-theme=dark] {
    --bg: #15191d;
    --surface: #1d2328;
    --surface-2: #232a30;
    --ink: #f0f3f3;
    --muted: #9ba6aa;
    --line: #343d42;
    --brand: #61c1a0;
    --on-brand: #102019;
    --brand-deep: #b0ecd7;
    --brand-soft: #203831;
    --amber: #e5bb70;
    --amber-soft: #3a3021;
    --danger: #ed9898;
    --danger-soft: #3b2528;
    --shadow: 0 18px 55px #0003
}

html[data-theme=dark] .button-primary:hover {
    color: #fff;
}

body {
    background: var(--bg);
    color: var(--ink);
    transition: background .2s,color .2s
}

.landing {
    max-width: 1320px;
    padding: 0 0px;
    margin: auto
}

.landing-nav,.topbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--brand-deep);
    color: #fff;
    font-size: 22px
}

.brand-en {
    display: block;
    direction: ltr;
    text-align: right;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-top: 5px
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.button,.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 11px 17px;
    font-weight: 700;
    transition: .18s
}

.button:hover {
    transform: translateY(-1px)
}

.button-primary {
    background: var(--brand);
    color: var(--on-brand)
}

.button-primary:hover {
    background: #0f5949
}

.button-dark {
    background: #17211f;
    color: #fff
}

.button-outline {
    border-color: var(--line);
    color: var(--ink);
    background: var(--surface)
}

.button-quiet {
    color: var(--muted)
}

.button-large {
    padding: 15px 20px
}

.icon-button {
    width: 42px;
    height: 42px;
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
    font-size: 20px
}

.hero {
    min-height: 550px;
    display: grid;
    grid-template-columns: 1fr .95fr;
    align-items: center;
    gap: 50px;
    padding: 28px 0 68px
}

.hero-copy {
    max-width: 590px
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .1px
}

.live-dot,.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #32a97b;
    margin-left: 5px
}

.hero h1 {
    font-size: clamp(38px,5vw,62px);
    line-height: 1.35;
    letter-spacing: -1.6px;
    margin: 19px 0 17px
}

.hero h1 em {
    font-style: normal;
    color: var(--brand)
}

.hero-copy>p,.service-strip p {
    font-size: 16px;
    line-height: 2;
    color: var(--muted);
    max-width: 515px;
    margin: 0
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 29px
}

.text-link {
    color: var(--brand);
    font-weight: 700
}

.trust-row {
    margin-top: 34px;
    font-size: 12px;
    color: var(--muted)
}

.trust-row span {
    color: var(--brand);
    font-weight: bold;
    margin-left: 5px
}

.hero-visual {
    height: 430px;
    display: grid;
    place-items: center;
    position: relative
}

.orbit {
    position: absolute;
    border: 1px solid color-mix(in srgb,var(--brand) 18%,transparent);
    border-radius: 50%;
    transform: rotate(-16deg)
}

.orbit-one {
    width: 520px;
    height: 310px
}

.orbit-two {
    width: 440px;
    height: 390px;
    transform: rotate(22deg)
}

.service-preview {
    position: relative;
    z-index: 1;
    background: var(--surface);
    width: min(420px,88%);
    border: 1px solid var(--line);
    border-radius: 23px;
    box-shadow: var(--shadow);
    padding: 25px
}

.preview-top,.preview-number,.preview-foot {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.preview-top h3 {
    margin: 7px 0 0;
    font-size: 21px
}

.preview-top small,.preview-number small,.float-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px
}

.avatar {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #f2e8d9;
    color: #8e653e;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 19px
}

.preview-number {
    margin: 28px 0 16px
}

.preview-number strong {
    display: block;
    font-size: 16px;
    margin-top: 7px
}

.preview-progress {
    height: 7px;
    border-radius: 10px;
    background: var(--line);
    overflow: hidden
}

.preview-progress span {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: var(--brand)
}

.preview-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px
}

.preview-steps>span:not(.step-line) {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px
}

.step-done {
    background: var(--brand-soft);
    color: var(--brand)
}

.step-current {
    background: var(--brand);
    color: var(--on-brand)
}

.step-wait {
    background: var(--surface-2);
    color: var(--muted)
}

.step-line {
    height: 1px;
    background: var(--line);
    flex: 1
}

.preview-foot {
    font-size: 11px;
    color: var(--muted);
    margin-top: 11px
}

.preview-foot strong {
    color: var(--ink)
}

.status-pill {
    display: inline-flex;
    border-radius: 30px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.status-progress {
    background: var(--brand-soft);
    color: var(--brand)
}

.status-draft {
    background: var(--amber-soft);
    color: var(--amber)
}

.float-card {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    right: 2%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
    font-size: 12px
}

.float-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand)
}

.service-strip {
    display: grid;
    gap: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    padding: 28px 32px;
    box-shadow: var(--shadow)
}

.service-strip h2 {
    margin: 6px 0;
    font-size: 21px
}

.service-strip header p { margin: 0; }

.service-strip p {
    font-size: 14px
}

.home-service-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.home-service-option {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-2) 58%, var(--surface))
}

.home-service-option h3 {
    margin: 5px 0 7px;
    font-size: 17px
}

.home-service-option p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    line-height: 1.9
}

.home-service-option .status-pill {
    flex: none;
    margin-top: 2px;
    font-size: 11px
}

.service-meta {
    font-size: 13px;
    color: var(--muted);
    white-space: normal
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    padding: 26px 2px
}

.auth-shell {
    max-width: 1050px;
    margin: auto;
    padding: 34px 24px
}

.auth-shell-centered {
    max-width: 530px;
    padding-top: 7vh
}

.auth-brand {
    margin-bottom: 25px
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow)
}

.auth-card-wide {
    padding: 38px
}

.auth-heading h1 {
    font-size: 26px;
    margin: 7px 0
}

.auth-heading p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 23px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px
}

.form-section-title {
    grid-column: 1/-1;
    font-size: 14px;
    margin: 7px 0 0;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line)
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 700
}
.field span{display: flex;}
.field span i{color: red;}
.field.field-invalid>span:first-child{color:var(--danger,#c33b49)}
.field.field-invalid input,.field.field-invalid textarea,.field.field-invalid select,.field.field-invalid .custom-select-trigger{border-color:var(--danger,#c33b49)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger,#c33b49) 14%,transparent)!important}
.field.field-invalid .custom-select-trigger{color:var(--danger,#c33b49)}
.field input,.field textarea,.required-select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 10px;
    padding: 11px 12px;
    outline: none
}

.field input:focus,.field textarea:focus,.required-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent)
}

.field input,.field textarea {
    font-size: 13px
}

.password-input-wrap { position: relative; display: block; width: 100%; }
.field .password-input-wrap input { padding-inline-end: 46px; }
.password-visibility-toggle {
    position: absolute;
    inset-inline-end: 7px;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transform: translateY(-50%);
}
.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible { background: var(--surface-muted,#f0f3f5); color: var(--brand); }
.password-visibility-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.password-visibility-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-visibility-toggle .password-eye-slash { opacity: 0; transition: opacity .15s ease; }
.password-visibility-toggle:not(.is-visible) .password-eye-slash { opacity: 1; }

.field small,.form-note {
    font-size: 10px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 400
}

.field-full {
    grid-column: 1/-1
}

.upload-field {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px dashed #becbc8;
    border-radius: 13px;
    color: var(--ink);
    font-size: 12px;
    cursor: pointer
}

.upload-field input {
    max-width: 80%;
    font-size: 10px;
    color: var(--muted);
    margin-top: 7px
}

.upload-field small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400
}

.upload-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center
}

.form-note {
    margin: 0
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
    color: var(--muted)
}

.stack-form {
    display: grid;
    gap: 17px
}

.auth-switch,.auth-foot {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin: 20px 0 0
}

.auth-foot {
    margin-top: 20px
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.8
}

.alert-error {
    background: var(--danger-soft);
    color: var(--danger)
}

.alert-success {
    background: var(--brand-soft);
    color: var(--brand);
    margin: 15px 0
}

.otp-symbol {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    border-radius: 16px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 17px
}

.otp-input {
    text-align: center;
    direction: ltr;
    letter-spacing: 12px;
    font-size: 22px!important;
    font-weight: 800
}

.field .otp-slots{display:grid;gap:8px;direction:ltr;max-width:440px;margin-inline:auto}.otp-slot{width:100%;min-width:0;height:54px;padding:0!important;text-align:center;direction:ltr;font-size:22px!important;font-weight:800;letter-spacing:0!important}.otp-slot:focus{border-color:var(--brand)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 15%,transparent)}

.resend-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    margin-top: 20px
}

.resend-form button {
    background: none;
    border: 0;
    padding: 0
}

.resend-form span {
    color: var(--muted)
}

.app-shell {
    min-height: 100vh
}

.sidebar {
    width: 250px;
    position: fixed;
    inset: 0 0 0 auto;
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 25px 17px;
    display: flex;
    flex-direction: column;
    z-index: 4
}

.side-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 36px 3px 25px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-size: 12px
}

.side-user small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.side-nav {
    display: grid;
    gap: 6px;
    padding-top: 20px;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 12px 13px;
    border-radius: 10px;
    text-align: right;
    font-size: 12px
}

.side-link>span {
    width: 20px;
    text-align: center
}

.side-link:hover,.side-link.active {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700
}

.sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 4px
}

.sidebar-bottom form {
    margin: 0
}

.dashboard-main {
    margin-right: 250px;
    max-width: 1450px;
    padding: 0 42px 45px
}

.topbar {
    height: auto;
    min-height: 96px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 26px
}

.topbar h1 {
    font-size: 22px;
    margin: 5px 0 16px
}

.welcome-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    background: var(--brand-deep);
    color: #fff;
    border-radius: 20px;
    padding: 29px 32px;
    min-height: 205px
}

.welcome-card .eyebrow {
    color: #9fdcc7
}

.welcome-card h2 {
    font-size: 23px;
    margin: 7px 0
}

.welcome-card p {
    font-size: 12px;
    color: #c3d3ce;
    max-width: 470px;
    line-height: 1.9;
    margin: 0 0 18px
}

.welcome-art {
    position: absolute;
    left: 9%;
    top: -50px;
    width: 260px;
    height: 260px;
    border: 1px solid #ffffff1d;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff12;
    font-size: 150px
}

.welcome-art:before,.welcome-art:after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid #ffffff16;
    border-radius: 50%
}

.welcome-art:after {
    inset: 42px
}

.section-block {
    margin-top: 34px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px
}

.section-heading h2 {
    font-size: 19px;
    margin: 4px 0
}

.service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 19px
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 25px
}

.service-card-copy {
    flex: 1
}

.service-card h3 {
    font-size: 15px;
    margin: 8px 0 4px
}

.service-card p {
    font-size: 11px;
    color: var(--muted);
    margin: 0
}

.empty-state {
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: 16px;
    text-align: center;
    padding: 35px 20px
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 11px;
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--muted)
}

.empty-state b {
    font-size: 13px
}

.empty-state p {
    color: var(--muted);
    font-size: 11px;
    margin: 7px 0 12px
}

.dashboard-footer {
    margin-top: 32px;
    color: var(--muted);
    font-size: 10px
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
    margin: 16px 0 2px
}

.editor-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 23px 25px
}

.editor-intro h2 {
    font-size: 20px;
    margin: 7px 0
}

.editor-intro p {
    font-size: 11px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 720px;
    margin: 0
}

.editor-symbol {
    font-size: 28px;
    color: var(--brand);
    background: var(--brand-soft);
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center
}

.editor-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 13px;
    margin: 15px 0
}

.editor-stats>div {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 14px 16px;
    font-size: 10px;
    color: var(--muted)
}

.stat-number {
    font-size: 20px;
    color: var(--ink);
    font-weight: 800
}

.stat-warning {
    color: var(--amber)
}

.notice-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid color-mix(in srgb,var(--brand) 22%,var(--line));
    background: var(--brand-soft);
    border-radius: 13px;
    padding: 14px 16px;
    margin: 16px 0;
    color: var(--brand-deep)
}

.notice-box p {
    margin: 0;
    font-size: 11px;
    line-height: 1.8
}

.notice-icon {
    flex: 0 0 23px;
    height: 23px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px
}

.editor-stage {
    margin-top: 24px
}

.stage-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px
}

.stage-index {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: var(--brand);
    color: var(--on-brand);
    display: grid;
    place-items: center;
    font-weight: 700
}

.stage-heading h3 {
    font-size: 14px;
    margin: 0
}

.stage-heading small {
    font-size: 10px;
    color: var(--muted)
}

.field-table-wrap {
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px
}

.field-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 10px;
    min-width: 850px
}

.field-table th {
    background: var(--surface-2);
    font-size: 10px;
    color: var(--muted);
    font-weight: 700;
    padding: 12px 14px
}

.field-table td {
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    vertical-align: middle
}

.field-table td:first-child {
    min-width: 200px
}

.field-table td:nth-child(3) {
    min-width: 130px
}

.field-table td:nth-child(4) {
    min-width: 190px;
    color: var(--muted)
}

.field-table td b {
    font-size: 11px
}

.field-key {
    display: block;
    font: 9px Consolas,monospace;
    color: var(--muted);
    margin-top: 4px;
    direction: ltr;
    text-align: right
}

.row-undecided {
    background: color-mix(in srgb,var(--amber-soft) 33%,var(--surface))
}

.type-chip {
    display: inline-flex;
    padding: 4px 7px;
    background: var(--surface-2);
    border-radius: 7px;
    color: var(--muted);
    direction: ltr
}

.required-select {
    width: 120px;
    padding: 8px 9px;
    font-size: 10px
}

.state-required {
    border-color: #8fc6b3;
    color: var(--brand);
    background: var(--brand-soft)
}

.state-optional {
    color: var(--muted)
}

.state-undecided {
    border-color: #d8bb82;
    color: var(--amber);
    background: var(--amber-soft)
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 17px;
    margin-top: 17px;
    background: color-mix(in srgb,var(--surface) 93%,transparent);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 13px;
    z-index: 2
}

.save-hint {
    font-size: 10px;
    color: var(--muted)
}

.publish-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 13px 0
}

.publish-row small {
    font-size: 10px;
    color: var(--muted)
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.service-detail-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 29px
}

.service-icon-large {
    margin-bottom: 18px;
    width: 55px;
    height: 55px
}

.service-detail-hero h2 {
    font-size: 25px;
    margin: 7px 0
}

.service-detail-hero p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    max-width: 700px
}

.service-detail-meta {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 20px
}

.service-detail-meta span {
    font-size: 10px;
    background: var(--surface-2);
    padding: 7px 10px;
    border-radius: 30px;
    color: var(--muted)
}

.service-timeline {
    display: grid;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 8px 20px
}

.service-timeline article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.service-timeline article:last-child {
    border-bottom: 0
}

.timeline-index {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 11px
}

.service-timeline h3 {
    font-size: 12px;
    margin: 1px 0 5px
}

.service-timeline p {
    font-size: 10px;
    color: var(--muted);
    margin: 0;
    line-height: 1.8
}

.service-start-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 8px
}

.service-detail-hero+.section-block .notice-box {
    margin-top: 19px
}

.editor-main {
    padding-bottom: 80px
}

@media(max-width: 1050px) {
    .landing {
        padding:0 28px
    }

    .hero {
        gap: 22px
    }

    .sidebar {
        width: 215px
    }

    .dashboard-main {
        margin-right: 215px;
        padding: 0 25px 40px
    }

    .field-table {
        min-width: 760px
    }
}

@media(max-width: 760px) {
    .landing {
        padding:0 18px
    }

    .landing-nav {
        height: 76px
    }

    .nav-actions {
        gap: 5px
    }

    .nav-actions .button {
        padding: 9px 10px;
        font-size: 11px
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 25px 0 40px;
        gap: 10px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero-visual {
        height: 370px
    }

    .orbit-one {
        width: 96%;
        height: 270px
    }

    .orbit-two {
        width: 82%;
        height: 330px
    }

    .float-card {
        right: 0;
        bottom: 10px
    }

    .service-strip {
        padding: 23px
    }

    .home-service-options {
        grid-template-columns: 1fr
    }

    .home-service-option {
        padding: 18px
    }

    .service-meta {
        width: 100%
    }

    .landing-footer {
        font-size: 9px
    }

    .auth-shell {
        padding: 20px 13px
    }

    .auth-card,.auth-card-wide {
        padding: 22px 17px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .field-full,.form-section-title {
        grid-column: 1
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .sidebar {
        position: relative;
        width: auto;
        inset: auto;
        border-left: 0;
        border-bottom: 1px solid var(--line);
        padding: 13px 17px
    }

    .sidebar .brand {
        display: none
    }

    .side-user {
        margin: 0;
        padding: 0;
        border: 0
    }

    .side-nav {
        display: flex;
        overflow: auto;
        margin-top: 13px
    }

    .side-link {
        white-space: nowrap;
        padding: 9px 10px
    }

    .sidebar-bottom {
        display: flex;
        position: absolute;
        left: 10px;
        top: 12px
    }

    .sidebar-bottom form {
        display: none
    }

    .dashboard-main {
        margin: 0;
        padding: 0 15px 35px
    }

    .topbar {
        min-height: 81px
    }

    .topbar h1 {
        font-size: 18px;
        margin-bottom: 12px
    }

    .welcome-card {
        padding: 24px 21px
    }

    .welcome-art {
        left: -90px
    }

    .service-card {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .service-card .button {
        margin-right: 63px
    }

    .editor-main {
        padding-bottom: 110px
    }

    .editor-intro {
        padding: 18px
    }

    .editor-stats {
        gap: 6px
    }

    .editor-stats>div {
        padding: 10px 8px;
        gap: 6px;
        flex-direction: column;
        align-items: flex-start
    }

    .stat-number {
        font-size: 17px
    }

    .sticky-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .publish-row {
        align-items: flex-start;
        flex-direction: column
    }

    .service-detail-hero {
        padding: 21px
    }

    .service-detail-hero h2 {
        font-size: 21px
    }

    .service-start-row {
        align-items: flex-start;
        flex-direction: column
    }

    .resend-form {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }
}

.preview-progress span {
    width: 62%
}

/* Dashboard visual system aligned with the supplied light/dark banking references. */
:root {
    --bg: #f0eef1;
    --surface: #fff;
    --surface-2: #f8f7f9;
    --ink: #17151d;
    --muted: #85818d;
    --line: #e9e6eb;
    --brand: #6950a4;
    --brand-deep: #17131f;
    --brand-soft: #f0ebf8;
    --shadow: 0 18px 55px #2013310b
}

html[data-theme=dark] {
    --bg: #111019;
    --surface: #191722;
    --surface-2: #211f2b;
    --ink: #f8f7fa;
    --muted: #a6a2b0;
    --line: #35313e;
    --brand: #bd9be8;
    --brand-deep: #bd9be8;
    --brand-soft: #30283d;
    --shadow: 0 18px 55px #0004
}

.dashboard-shell {
    min-height: 100vh;
    background: var(--bg)
}

.dashboard-shell .sidebar {
    background: var(--surface);
    border-left: 0;
    box-shadow: 4px 0 30px #20133108;
    width: 240px;
    padding: 28px 18px
}

.dashboard-shell .brand-mark {
    background: #191622;
    color: #fff;
    border-radius: 12px
}

.dashboard-shell .side-user {
    margin: 40px 2px 26px;
    padding-bottom: 23px
}

.dashboard-shell .avatar {
    background: #f2e8f1;
    color: #8b6390
}

.dashboard-shell .side-nav {
    gap: 4px
}

.dashboard-shell .side-link {
    padding: 12px;
    border-radius: 11px
}

.dashboard-shell .side-link.active {
    background: var(--brand-soft);
    color: var(--brand)
}

.dashboard-main {
    margin-right: 240px;
    max-width: none;
    padding: 0 34px 26px
}

.dashboard-topbar {
    height: 87px;
    min-height: 87px;
    margin-bottom: 17px
}

.dashboard-topbar h1 {
    font-size: 21px;
    margin: 4px 0 15px
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.date-chip {
    font-size: 11px;
    color: var(--muted);
    background: var(--surface);
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 22px;
    align-items: start
}

.dashboard-content {
    min-width: 0
}

.balance-card {
    min-height: 210px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #181521;
    color: #fff;
    padding: 26px 29px;
    display: flex;
    align-items: center
}

.balance-copy {
    position: relative;
    z-index: 2;
    max-width: 480px
}

.balance-card .eyebrow {
    color: #c0a4eb
}

.balance-card h2 {
    font-size: 23px;
    line-height: 1.5;
    margin: 7px 0
}

.balance-card p {
    max-width: 390px;
    color: #cbc7d2;
    font-size: 11px;
    line-height: 1.9;
    margin: 0 0 15px
}

.button-light {
    background: #fff;
    color: #17151d
}

.balance-decoration {
    position: absolute;
    left: 12%;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid #b993e52b;
    display: grid;
    place-items: center;
    color: #ffffff0d;
    font-size: 140px
}

.balance-decoration i {
    position: absolute;
    inset: 23px;
    border-radius: 50%;
    border: 1px solid #b993e521
}

.balance-decoration i:last-child {
    inset: 50px
}

.balance-note {
    position: absolute;
    bottom: 20px;
    left: 25px;
    color: #c5c1cd;
    font-size: 9px
}

.section-block {
    margin-top: 27px
}

.section-heading {
    margin-bottom: 13px
}

.section-heading h2 {
    font-size: 17px
}

.service-card {
    border-radius: 17px;
    box-shadow: var(--shadow);
    padding: 19px
}

.service-icon {
    background: #f0ebf8;
    color: #6950a4;
    border-radius: 13px
}

.service-card h3 {
    font-size: 14px
}

.service-card p {
    font-size: 10px
}

.service-card .button {
    font-size: 10px;
    padding: 10px 12px
}

/* Admin service catalog */
.service-catalog-topbar {
    direction: ltr;
}

.service-catalog-title {
    direction: rtl;
    text-align: left;
}

.service-catalog-topbar > .button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 7px 18px #6344a51c;
}

.service-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.service-catalog-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.in-person-picker {
    max-width: 900px;
}

.in-person-picker-form {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px;
    margin-top: 20px;
}

.in-person-picker-form .button {
    justify-self: start;
    align-self: end;
}

.in-person-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    font-size: 11px;
    line-height: 1.8;
}

.in-person-confirm input {
    flex: none;
    margin-top: 4px;
    accent-color: var(--brand);
}

.service-catalog-list {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--surface), #faf9fc);
    box-shadow: var(--shadow);
}

.service-catalog-list .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 15px;
}

.service-catalog-list .section-heading h2 {
    margin: 4px 0 0;
}

.service-count {
    flex: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--muted);
    background: var(--surface);
    font-size: 10px;
    font-weight: 700;
}

.service-catalog-list .service-card {
    margin-top: 11px;
    padding: 17px;
    border-radius: 15px;
    box-shadow: 0 5px 18px #21182b09;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.service-catalog-list .service-card:hover {
    border-color: #d6cce8;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px #21182b12;
}

.service-catalog-list .service-card-copy {
    min-width: 0;
}

.service-catalog-list .service-card h3 {
    margin: 8px 0 6px;
    font-size: 14px;
}

.service-catalog-list .service-card p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 11px;
    line-height: 1.9;
}

.service-slug {
    color: var(--muted);
    font-size: 9px;
}

.service-card-actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 760px) {
    .service-catalog-list {
        padding: 16px;
    }

    .service-catalog-list .service-card {
        gap: 12px;
    }

    .service-card-actions {
        width: 100%;
        margin-right: 60px;
    }

    .service-card-actions .button {
        margin-right: 0;
    }

    .service-catalog-topbar {
        align-items: flex-start;
        gap: 12px;
        padding-block: 12px;
    }

    .service-catalog-actions {
        justify-content: flex-end;
    }

    .in-person-picker-form {
        grid-template-columns: 1fr;
    }
}

.empty-state {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    padding: 29px 20px;
    box-shadow: var(--shadow)
}

.empty-state p {
    font-size: 11px
}

.dashboard-rail {
    display: grid;
    gap: 15px
}

.rail-panel {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 19px;
    padding: 17px;
    box-shadow: var(--shadow)
}

.rail-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 3px
}

.rail-heading h2 {
    font-size: 15px;
    margin: 4px 0 0
}

.rail-heading>a {
    font-size: 10px;
    color: var(--muted)
}

.news-item {
    display: flex;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line)
}

.news-item:last-of-type {
    border-bottom: 0
}

.news-bullet {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800
}

.news-copy {
    min-width: 0
}

.news-copy b {
    font-size: 11px;
    display: block;
    line-height: 1.7
}

.news-copy small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 3px
}

.news-copy>span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.7;
    margin-top: 6px
}

.news-empty {
    padding: 35px 10px;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 7px;
    color: var(--muted)
}

.news-empty>span {
    font-size: 24px;
    color: var(--brand)
}

.news-empty b {
    font-size: 11px;
    color: var(--ink)
}

.news-empty small {
    font-size: 9px;
    line-height: 1.8
}

.rail-more {
    display: flex;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    font-size: 10px;
    color: var(--brand);
    font-weight: 700
}

.safety-panel {
    display: flex;
    gap: 11px;
    align-items: flex-start
}

.safety-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #e6f7ef;
    color: #26855f;
    flex: 0 0 30px
}

.safety-panel b {
    font-size: 10px
}

.safety-panel p {
    font-size: 9px;
    line-height: 1.8;
    color: var(--muted);
    margin: 5px 0 0
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
    padding: 23px 3px 0
}

.news-page,.news-admin {
    max-width: 1120px;
    min-height: 100vh
}

.news-page-heading {
    padding: 0px 0 22px;
}

.news-page-heading h1 {
    font-size: 23px;
    margin: 6px 0
}

.news-page-heading p {
    font-size: 12px;
    color: var(--muted)
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px
}

.news-card,.news-admin-create,.news-admin-list,.news-article {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    padding: 20px;
    box-shadow: var(--shadow)
}

.news-category {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 30px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 10px
}

.news-card h2 {
    font-size: 16px;
    line-height: 1.7
}

.news-card p,.news-article small {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.9
}

.news-card small {
    font-size: 10px;
    color: var(--muted)
}

.news-article {
    max-width: 820px;
    margin: 40px auto;
    padding: 38px
}

.news-article h1 {
    font-size: 27px;
    line-height: 1.7
}

.news-lead {
    border-right: 3px solid var(--brand);
    padding-right: 14px;
    font-size: 15px;
    line-height: 2;
    color: var(--muted)
}

.news-body {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 2.2;
    margin-top: 26px
}

.news-admin-create,.news-admin-list {
    margin: 20px 0
}

.news-admin h2 {
    font-size: 17px
}

.news-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 17px 0
}

.news-form select {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 10px;
    padding: 11px
}

.news-admin-item {
    border-top: 1px solid var(--line);
    padding: 14px 0
}

.news-admin-item summary {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 12px
}

.news-admin-item summary small {
    color: var(--muted)
}

.jalali-date {
    cursor: pointer;
    background-image: linear-gradient(transparent,transparent)!important
}

.pagination-wrap {
    margin: 20px 0
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 12px
}

.home-news {
    padding: 42px 0 15px
}

.home-news .section-heading h2 {
    font-size: 20px;
    margin: 5px 0
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px
}

.home-news-grid .news-card {
    display: block
}

.home-news-grid .news-card h3 {
    font-size: 15px;
    line-height: 1.7
}

.home-news-empty {
    padding: 26px;
    border: 1px dashed var(--line);
    border-radius: 15px;
    color: var(--muted);
    font-size: 12px;
    grid-column: 1/-1
}

@media(max-width: 1050px) {
    .dashboard-columns {
        grid-template-columns:minmax(0,1fr) 270px
    }

    .dashboard-main {
        padding-right: 24px;
        padding-left: 24px
    }
}

@media(max-width: 760px) {
    .dashboard-shell .sidebar {
        width:auto;
        padding: 13px 17px
    }

    .dashboard-main {
        margin: 0;
        padding: 0 15px 30px
    }

    .dashboard-columns {
        grid-template-columns: 1fr
    }

    .dashboard-rail {
        grid-row: 2
    }

    .dashboard-topbar {
        min-height: 76px
    }

    .date-chip {
        display: none
    }

    .balance-card {
        min-height: 200px
    }

    .news-grid,.home-news-grid {
        grid-template-columns: 1fr
    }

    .news-article {
        margin: 20px 0;
        padding: 23px
    }

    .news-form-grid {
        grid-template-columns: 1fr
    }

    .news-admin .landing-nav {
        height: 75px
    }

    .dashboard-shell .sidebar-bottom {
        left: 10px
    }
}

.manager-main {
    padding-bottom: 60px
}

.manager-subtitle {
    margin: -5px 0 0;
    color: var(--muted);
    font-size: 12px
}

.manager-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    margin: 18px 0;
    box-shadow: var(--shadow)
}

.request-filters {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2)
}

.request-filter-field { display:grid; gap:5px; min-width:210px; color:var(--muted); font-size:10px; font-weight:700 }
.request-filter-field input,.request-select-wrap select { box-sizing:border-box; width:100%; height:40px; padding:0 11px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font:inherit; font-size:11px }
.request-date-field { min-width:155px }
.request-select-wrap { position:relative; display:block }
.request-select-wrap select { appearance:none; padding-inline-end:32px; cursor:pointer }
.request-select-wrap i { position:absolute; inset-inline-end:10px; top:50%; transform:translateY(-50%); pointer-events:none; color:var(--muted); font-size:13px }
.request-filter-actions { display:flex; gap:7px; align-items:center }
.request-filter-actions .button { min-height:40px; padding:9px 13px; font-size:10px }

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--muted);
    font-size: 11px
}

.filter-chip.active {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
    font-weight: 700
}

.filter-chip small {
    font-size: 10px
}

@media(max-width:700px) {
    .request-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:10px }
    .request-filter-field { min-width:0 }
    .request-filter-field:first-child { grid-column:1/-1 }
    .request-filter-actions { grid-column:1/-1 }
    .request-filter-actions .button { flex:1; justify-content:center }
}

.request-table-wrap {
    overflow: auto
}

.request-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px
}

.request-table th,.request-table td {
    text-align: right;
    padding: 13px 11px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    white-space: nowrap
}

.request-table th {
    color: var(--muted);
    font-weight: 600
}

.request-table tbody tr:last-child td {
    border-bottom: 0
}

.request-open {
    padding: 8px 11px;
    font-size: 10px
}

.request-row-actions {
    display: flex;
    align-items: center;
    gap: 6px
}

.request-row-actions form {
    margin: 0
}

.request-void-form {
    display: flex;
    align-items: center;
    gap: 6px
}

.request-void-reason {
    width: 150px;
    min-width: 120px;
    height: 34px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 10px
}

.request-status {
    display: inline-flex;
    border-radius: 30px;
    padding: 6px 10px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.status-submitted,.status-under_review {
    background: var(--amber-soft);
    color: var(--amber)
}

.status-needs_correction,.status-rejected,.status-voided {
    background: var(--danger-soft);
    color: var(--danger)
}

.status-approved {
    background: var(--brand-soft);
    color: var(--brand)
}

.request-detail-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 2px 18px
}

.request-detail-grid>.manager-panel {
    min-width: 0
}

.request-overview {
    grid-column: 1/-1
}

.request-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.request-title-row h2,.manager-section-heading h2 {
    margin: 5px 0 0;
    font-size: 17px
}

.manager-section-heading p {
    font-size: 11px;
    line-height: 1.8;
    color: var(--muted);
    margin: 7px 0 0
}

.request-meta,.identity-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    margin: 22px 0 0
}

.request-meta>div,.identity-grid>div {
    min-width: 0
}

.request-meta dt,.identity-grid dt,.answer-list dt {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 6px
}

.request-meta dd,.identity-grid dd,.answer-list dd {
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
    overflow-wrap: anywhere
}

.identity-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.identity-address {
    grid-column: 1/-1
}

.document-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 17px
}

.document-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2)
}

.document-link>span:nth-child(2) {
    display: grid;
    gap: 5px;
    min-width: 0
}

.document-link b {
    font-size: 11px
}

.document-link small {
    font-size: 10px;
    color: var(--muted)
}

.document-icon,.download-mark {
    color: var(--brand);
    font-size: 19px
}

.download-mark {
    margin-right: auto
}

.empty-inline {
    padding: 17px 0;
    color: var(--muted);
    font-size: 11px
}

.answer-list {
    margin: 15px 0 0
}

.answer-list>div {
    display: grid;
    grid-template-columns: minmax(110px, .45fr) 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.answer-list>div:last-child {
    border-bottom: 0
}

.answer-list dt small {
    display: block;
    font-size: 9px;
    margin-top: 3px;
    direction: ltr;
    text-align: right
}

.answer-list dd {
    white-space: pre-wrap
}

.history-list {
    list-style: none;
    padding: 8px 0 0;
    margin: 0
}

.history-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0
}

.history-dot {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--brand);
    flex: none
}

.history-list li>div {
    display: grid;
    gap: 5px
}

.history-list b {
    font-size: 11px
}

.history-list small {
    font-size: 10px;
    color: var(--muted)
}

.history-list p {
    font-size: 11px;
    line-height: 1.8;
    margin: 2px 0 0;
    white-space: pre-wrap
}

.decision-panel {
    grid-column: 1/-1
}

.field-label {
    display: grid;
    gap: 7px;
    margin: 18px 0 8px;
    font-size: 11px;
    font-weight: 700
}

.field-label small {
    color: var(--muted);
    font-weight: 400
}

.decision-note {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px;
    background: var(--surface-2);
    color: var(--ink);
    outline: none
}

.decision-note:focus {
    border-color: var(--brand)
}

.decision-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px
}

.button-warning {
    background: var(--amber-soft);
    color: var(--amber);
    border-color: var(--line)
}

.button-danger {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: var(--line)
}

.manager-alert {
    margin-top: 0
}

@media(max-width: 760px) {
    .request-detail-grid {
        grid-template-columns:1fr
    }

    .request-overview,.decision-panel {
        grid-column: auto
    }

    .request-meta {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .document-list {
        grid-template-columns: 1fr
    }

    .identity-grid {
        grid-template-columns: 1fr 1fr
    }

    .manager-panel {
        padding: 16px
    }
}

.register-shell {
    max-width: 1000px
}

.register-card {
    padding: 34px
}

.registration-wizard {
    display: block
}

.wizard-progress {
    margin: 22px 0 25px;
    padding: 17px 18px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 15px
}

.wizard-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700
}

.wizard-current-step {
    color: var(--brand)
}

.wizard-step-name {
    color: var(--muted)
}

.wizard-progress-track,.strength-track {
    height: 6px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden
}

.wizard-progress-track span {
    display: block;
    width: var(--wizard-progress,25%);
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    transition: width .25s ease
}

.wizard-step-dots {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    list-style: none;
    padding: 15px 0 0;
    margin: 0
}

.wizard-step-dots li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px
}

.wizard-step-dots li:before {
    content: "";
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--line);
    border: 1px solid transparent
}

.wizard-step-dots li.is-current {
    color: var(--brand);
    font-weight: 700
}

.wizard-step-dots li.is-current:before {
    background: var(--brand);
    box-shadow: inset 0 0 0 7px var(--brand-soft)
}

.wizard-step-dots li.is-done:before {
    content: "Ã¢Å“â€œ";
    background: var(--brand-soft);
    color: var(--brand)
}

.registration-step {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px;
    margin: 0 0 18px
}

.registration-wizard.is-enhanced [data-step-panel][hidden] {
    display: none
}

.registration-wizard.is-enhanced [data-step-panel]:not([hidden]) {
    animation: register-step-in .2s ease-out
}

@keyframes register-step-in {
    from {
        opacity: .55;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.step-description {
    grid-column: 1/-1;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin: -6px 0 0
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px
}

.wizard-security-note {
    font-size: 10px;
    color: var(--muted)
}

.password-strength {
    display: grid;
    gap: 7px;
    margin-top: 8px
}

.strength-track {
    height: 5px
}

.strength-track span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--danger);
    border-radius: inherit;
    transition: width .2s,background .2s
}

.strength-track[data-strength="2"] span,.strength-track[data-strength="3"] span {
    background: var(--amber)
}

.strength-track[data-strength="4"] span {
    background: var(--brand)
}

.password-strength>b {
    font-size: 10px;
    color: var(--muted)
}

.password-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 1px 0 0
}

.password-rules li {
    font-size: 9px;
    color: var(--muted)
}

.password-rules li:before {
    content: "Ã¢â€”â€¹";
    margin-left: 5px;
    color: var(--danger)
}

.password-rules li.met {
    color: var(--brand)
}

.password-rules li.met:before {
    content: "Ã¢Å“â€œ";
    color: var(--brand)
}

@media(max-width: 650px) {
    .register-card {
        padding:22px 17px
    }

    .registration-step {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .registration-step .form-section-title,.registration-step .field-full,.wizard-actions {
        grid-column: 1
    }

    .wizard-actions {
        align-items: stretch;
        flex-direction: column
    }

    .wizard-actions .button {
        width: 100%
    }

    .wizard-security-note {
        text-align: center
    }

    .wizard-step-dots li span {
        display: none
    }

    .wizard-progress {
        padding: 14px
    }
}

@font-face {
    font-family: Vazirmatn;
    src: local("Vazirmatn"),url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap
}

html,body,button,input,textarea,select {
    font-family: IRANYekanXFaNum,'Segoe UI',Tahoma,sans-serif
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 13px;
    margin: 14px 0 18px
}

.admin-stat {
    padding: 19px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    display: grid;
    gap: 9px
}

.admin-stat>small {
    font-size: 11px;
    color: var(--muted)
}

.admin-stat>b {
    font-size: 23px;
    color: var(--brand)
}

.admin-stat p {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0
}

.admin-revenue {
    max-width: 550px
}

.admin-revenue>b {
    font-size: 26px
}

.admin-dashboard-shell .date-chip {
    white-space: nowrap
}

.cookie-notice{position:fixed;z-index:1300;inset:auto 22px 22px auto;display:flex;align-items:center;gap:14px;width:min(680px,calc(100vw - 32px));padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 18px 55px #1715222e;color:var(--ink);direction:rtl}.cookie-notice[hidden]{display:none}.cookie-notice-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;background:var(--brand-soft);font-size:20px}.cookie-notice-copy{flex:1;min-width:0}.cookie-notice-copy b{font-size:12px}.cookie-notice-copy p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.8}.cookie-notice .button{flex:none;padding:9px 13px;font-size:10px;white-space:nowrap}html[data-theme=dark] .cookie-notice{box-shadow:0 18px 55px #0008}@media(max-width:620px){.cookie-notice{inset:auto 10px 10px;width:calc(100vw - 20px);flex-wrap:wrap;padding:13px}.cookie-notice-copy{flex-basis:calc(100% - 56px)}.cookie-notice .button{width:100%;justify-content:center}}
