@font-face{font-family:LocalUI;src:local('Tahoma')}*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#1b2936;font-family:LocalUI,Tahoma,Arial,sans-serif;font-size:13px;line-height:1.9}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{transition:background .18s,transform .18s}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #51bca7;outline-offset:3px}.sidebar{width:245px;position:fixed;right:0;top:0;bottom:0;background:#102e30;color:#dcebe7;padding:35px 23px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:12px;align-items:center;font-size:29px;font-weight:bold;line-height:1.4}.brand small{display:block;font-size:10px;font-weight:normal;color:#a8c1b9;margin-top:5px}.brandmark{display:grid;place-items:center;border:1px solid #65857c;border-radius:14px;width:49px;height:49px;color:#cce9a5;font-size:35px}.workspace{display:flex;align-items:center;gap:10px;margin:38px 0 26px;padding:15px 9px;border-top:1px solid #2d4947;border-bottom:1px solid #2d4947;font-size:11px}.workspace small{display:block;color:#91ada6;font-size:9px}.dot{width:7px;height:7px;background:#c4e999;border-radius:50%}nav{display:grid;gap:8px}.nav{border:0;background:none;color:#a8c1bb;display:flex;align-items:center;gap:12px;text-align:right;padding:12px;border-radius:9px;font-size:12px}.nav span{font-size:20px;width:23px}.nav.active{background:#264846;color:#d7efb9}.nav:hover{background:#244441}.sidebar-bottom{margin-top:auto;padding-top:30px;font-size:10px;color:#96afa8}.sidebar-bottom p{margin:15px 0 22px}.local-badge{color:#c6dcaa}.export{display:block;padding:9px;border:1px solid #46605b;border-radius:8px;text-align:center}main{margin-right:245px;padding:0 38px;max-width:1900px}header{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e7e9;font-size:11px}.breadcrumb{color:#86918f}.breadcrumb span{margin:0 15px;color:#b0b9b8}.breadcrumb b{color:#334a48;font-weight:normal}.header-meta{display:flex;gap:20px;align-items:center;color:#74817e}.demo-pill{background:#e9edf1;border:1px solid #dbe1e5;border-radius:5px;padding:2px 9px;font-size:10px}.page{padding:30px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;color:#779082;letter-spacing:.2px}h1{font-size:25px;line-height:1.7;margin:7px 0 6px;letter-spacing:-.7px}h2{font-size:14px;margin:0;font-weight:bold}h3{font-size:12px}p{margin:4px 0;color:#7d878d;font-size:11px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:17px;border:0;padding:11px 17px;border-radius:8px;font-size:11px;white-space:nowrap;line-height:1.8}.primary{background:#176a5b;color:white}.primary:hover{background:#115347}.secondary{background:white;color:#31534d;border:1px solid #d2ddda}.secondary:hover{background:#edf4ef}.primary span{font-size:19px}.status-banner{padding:11px 15px;border:1px solid #dce6d6;border-radius:8px;color:#526d44;background:#eff5e9;font-size:11px;margin-bottom:22px;display:flex;justify-content:space-between;gap:12px}.status-banner.warning{background:#fff5e4;color:#8e6425;border-color:#f2dfba}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.stat{border:1px solid #e1e6e6;background:white;border-radius:12px;padding:19px 19px 16px;min-height:143px}.stat.featured{background:#173e39;color:white;border-color:#173e39}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7a8886;font-size:10px}.featured .stat-top{color:#c3d6cb}.stat-icon{width:29px;height:29px;border-radius:8px;background:#f2f5f4;display:grid;place-items:center;color:#46675c;font-size:17px}.featured .stat-icon{background:#31584d;color:#d3eba6}.stat-value{font-size:24px;margin:11px 0 2px;line-height:1.5;letter-spacing:-1px;white-space:nowrap}.stat-value small{font-size:10px;font-weight:normal;letter-spacing:0;margin-right:5px}.stat-note{font-size:9px;color:#87918b}.featured .stat-note{color:#c2d0b8}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:21px;margin-bottom:22px}.card{background:#fff;border:1px solid #e1e6e6;border-radius:13px;overflow:hidden}.card-head{padding:22px 23px 14px;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-head p{font-size:10px;margin-top:5px}.chip{font-size:9px;padding:4px 10px;border:1px solid #e1e6e6;border-radius:6px;color:#83908b;white-space:nowrap}.chart{padding:10px 21px 0;direction:ltr}.chart svg{width:100%;height:225px;overflow:visible}.chart-footer{border-top:1px solid #f0f1f2;display:flex;justify-content:space-between;margin:15px 23px 0;padding:13px 0;font-size:10px;color:#7d8c85}.legend-dot{display:inline-block;width:6px;height:6px;background:#207463;border-radius:50%;margin-left:5px}.positive{color:#187e60!important}.negative{color:#b95555!important}.cash-hero{display:flex;align-items:center;gap:19px;padding:14px 24px 20px}.ring{height:110px;width:110px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.ring-inner{width:82px;height:82px;background:#fff;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:19px}.ring-inner small{font-size:9px;color:#89958f}.cash-label{font-size:10px;color:#86938a}.cash-label strong{display:block;font-size:22px;color:#254c43;font-weight:normal;margin-top:2px}.balance-row{display:flex;justify-content:space-between;padding:9px 23px;border-top:1px solid #f0f2f2;font-size:10px}.balance-row b{font-weight:normal}.balance-row i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-left:7px}.text-button{border:0;background:none;color:#58816e;font-size:10px;padding:3px;white-space:nowrap}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th{color:#89958e;font-size:10px;background:#fafbf9;font-weight:normal;padding:12px 20px;border-bottom:1px solid #eaf0eb}td{padding:13px 20px;border-bottom:1px solid #f0f3f1;font-size:11px}tr:last-child td{border-bottom:0}td small{display:block;font-size:9px;color:#93a095}.avatar{display:inline-grid;place-items:center;width:31px;height:31px;background:#edf2e8;color:#6a7f4c;border-radius:9px;margin-left:10px;font-size:12px}.avatar.b{background:#e9eff9;color:#627aa0}.avatar.c{background:#faeee5;color:#ab845e}.avatar.d{background:#f1eaf5;color:#8e71a5}.event-row{display:flex;gap:12px;align-items:center;margin:0 23px;padding:13px 0;border-bottom:1px solid #f1f3f2}.event-row:last-child{border:0}.event-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf5ef;color:#477a5a;font-size:17px}.event-row div{flex:1}.event-row b{font-size:10px;font-weight:normal;display:block}.event-row small{font-size:9px;color:#9aa39c}.event-row strong{font-size:10px;font-weight:normal}.forms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin:22px 0}.forms-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-card{padding:24px;display:flex;flex-direction:column}.form-card p{font-size:11px;min-height:45px;margin:8px 0 12px}.step-label{font-size:9px;color:#899e7b;margin-bottom:10px}.form-card form{display:grid;gap:15px;margin-top:auto}.form-card label{font-size:11px;display:block}.form-card label small{float:left;color:#9aa19a;font-size:10px}input,select{border:1px solid #dce4df;border-radius:7px;background:#fbfcfb;color:#334a42;padding:10px 12px;width:100%;margin-top:6px;outline:none;min-width:0}input[type=number],input[type=date]{direction:ltr;text-align:right}input:focus,select:focus{border-color:#589a80;box-shadow:0 0 0 3px #e8f2ed}.form-hint{font-size:10px;color:#6c887a;min-height:20px}.formula{font-size:11px;color:#6f8977;background:#f0f6ed;border-radius:8px;padding:16px;margin:7px 0}.nav-close{background:#fbfdf8}.note{border-right:3px solid #a9bf8a;padding:15px 19px;background:#edf2e7;color:#687653;border-radius:5px;font-size:11px}.badge{padding:3px 9px;border-radius:5px;background:#edf5ee;color:#578467;font-size:9px}.badge.pending{background:#fff0d7;color:#a47b3d}.investor-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.investor-card{padding:22px;background:#fff;border:1px solid #e1e6e6;border-radius:12px}.investor-card .person{display:flex;align-items:center;font-size:11px;margin-bottom:13px}.investor-card strong{font-size:20px;font-weight:normal;display:block}.investor-card small{color:#8b988b;font-size:10px}.share-track{height:4px;background:#edf1eb;border-radius:5px;margin:17px 0 7px;overflow:hidden}.share-track span{height:100%;display:block;background:#779c65}.filter{display:flex;align-items:center;gap:12px;font-size:11px}.filter select{width:180px;margin:0}.rules-card{padding:24px}.rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px 35px;margin:12px 0 26px}.rules-grid>div{border-bottom:1px solid #edf0ed;padding-bottom:15px}.rules-grid p{line-height:2.2}.fee-info{background:#f4f7ef;border:1px solid #e3ead8;border-radius:8px;margin:14px 0;padding:20px;font-size:25px;color:#406348}.fee-info small{font-size:11px}.muted{color:#8a968c}.error{background:#fff0ed;color:#a13e37;padding:15px;border:1px solid #e9bdb6;border-radius:8px;margin-top:20px}.toast{position:fixed;bottom:24px;left:25px;background:#173e35;color:white;padding:14px 24px;border-radius:10px;box-shadow:0 6px 30px #173e3529;z-index:5;font-size:12px}.empty{text-align:center;color:#8d9a90;padding:30px}footer{padding:22px 0 26px;border-top:1px solid #e2e7e4;color:#91a08f;font-size:9px;display:flex;justify-content:space-between}.hidden{display:none!important}@media(min-width:1600px){main{padding-left:60px;padding-right:60px}.stat-value{font-size:30px}}@media(max-width:1150px){.sidebar{width:210px;padding:28px 16px}main{margin-right:210px;padding:0 23px}.stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:25px}.forms-grid{grid-template-columns:1fr 1fr}.nav-close{grid-column:1/-1}.investor-cards{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.allocation{display:grid;grid-template-columns:1fr 1fr}.allocation .card-head{grid-column:1/-1}.balance-row{padding:11px 20px}.cash-hero{padding-top:0}.chart svg{height:230px}}@media(max-width:720px){.sidebar{position:static;width:100%;padding:17px 18px 12px}.brand{font-size:23px}.brandmark{width:39px;height:39px;font-size:28px}.brand small{font-size:9px}.workspace,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:17px;gap:5px}.nav{white-space:nowrap;font-size:10px;padding:7px 9px}.nav span{font-size:15px;width:15px}main{margin:0;padding:0 17px}header{height:65px}.header-meta{gap:9px;font-size:9px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 7px}.page{padding:22px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}h1{font-size:21px}.stats{gap:10px}.stat{padding:14px 11px;min-height:125px}.stat-value{font-size:20px}.stat-value small{font-size:8px}.stat-icon{width:24px;height:24px}.stat-top{font-size:9px}.status-banner{font-size:10px;flex-direction:column;gap:2px}.card-head{padding:18px 16px 12px;align-items:flex-start}.card-head p{font-size:9px}.chip{display:none}.allocation{display:block}.balance-row{padding:10px 20px}.cash-hero{padding-top:10px}.forms-grid,.forms-grid.two{grid-template-columns:1fr}.form-card{padding:20px}.investor-cards{gap:10px}.investor-card{padding:15px}.investor-card strong{font-size:17px}.investor-card .avatar{width:24px;height:24px;font-size:10px;margin-left:5px}.investor-card .person{font-size:10px}.rules-grid{grid-template-columns:1fr}.filter{flex-direction:column;align-items:flex-start;gap:4px}.filter select{width:145px}.rules-card{padding:18px}.note{font-size:10px;padding:12px}.chart svg{height:180px}.chart{padding:7px 10px 0}.chart-footer{margin:10px 16px 0;font-size:9px}td,th{padding:12px 14px}footer{flex-direction:column;gap:3px}.toast{left:17px;right:17px;bottom:17px}.header-meta #date-label{max-width:120px}.event-row{margin:0 16px}}
/* Prevent intrinsic number/table widths from expanding small screens. */
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{min-width:0}#investor-preview{overflow-x:auto}
@media(max-width:1150px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.stat-value{font-size:17px;letter-spacing:-.7px}.stat-value small{font-size:8px;margin-right:2px}.investor-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.investor-card{min-width:0}}
.unit-overview{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:20px;align-items:center;background:#eaf1e5;border:1px solid #d7e2d0;border-radius:12px;padding:21px 25px;margin-bottom:20px}.unit-overview span{display:block;font-size:10px;color:#6a8160}.unit-overview strong{font-size:26px;font-weight:normal;display:block;color:#244e3c}.unit-overview small{font-size:10px;color:#819478}.unit-equation{direction:ltr;text-align:center;color:#5b7352;font-size:16px;border-right:1px solid #d2dfca}.unit-equation small{display:block;direction:rtl;font-size:10px;margin-top:5px}.period-card{margin-bottom:22px}.fee-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:15px 23px 20px}.fee-summary span{display:block;font-size:10px;color:#87957f}.fee-summary b{font-weight:normal;font-size:17px;display:block;margin-top:4px}.fee-summary small{font-size:9px}.fee-foot{font-size:10px;color:#819078;padding:12px 23px;background:#fafcf8}.tier-head,.tier-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;gap:10px;align-items:center}.tier-head{font-size:10px;color:#85927d}.tier-row{margin:6px 0}.tier-row input{margin:0}.unlimited{font-size:10px;color:#718366}.remove-tier{border:1px solid #e5ddd8;border-radius:6px;color:#a26f60;background:#fbf7f3;font-size:18px;padding:2px}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.quick-returns{display:flex;flex-wrap:wrap;gap:8px;direction:ltr;margin:15px 0}.quick-returns button{background:#f0f5eb;color:#5b7850;border:1px solid #dfe8d6;border-radius:6px;padding:4px 12px;font-size:11px}.form-card #fee-calculator{margin-top:10px}.form-card .fee-summary{grid-template-columns:1fr 1fr;padding:16px 0}.form-card .fee-foot{padding:12px}.form-card>label{margin-top:10px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#investor-unit-price{margin-bottom:20px}.unit-overview>*{min-width:0;overflow-wrap:anywhere}.fee-summary>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.unit-overview{grid-template-columns:1fr 1fr;gap:14px;padding:17px}.unit-overview strong{font-size:19px}.unit-equation{grid-column:1/-1;border-right:0;border-top:1px solid #d2dfca;padding-top:10px;font-size:13px}.fee-summary{grid-template-columns:1fr 1fr;padding:14px 16px;gap:12px}.fee-summary b{font-size:15px}.tier-head,.tier-row{gap:6px}.tier-row input{padding:9px}.inline-fields{gap:10px}.fee-foot{padding:12px 16px}}
.loss-tier-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;gap:10px;align-items:center;margin:6px 0}.loss-tier-row input{margin:0}.remove-loss-tier{border:1px solid #e5ddd8;border-radius:6px;color:#a26f60;background:#fbf7f3;font-size:18px;padding:2px}@media(max-width:720px){.loss-tier-row{gap:6px}.loss-tier-row input{padding:9px}}
.policy-card{margin:22px 0}.policy-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.policy-card form{margin-top:16px}.bootstrap-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.checkbox-row{display:flex!important;align-items:center;gap:10px;background:#fff6e8;padding:12px;border-radius:8px}.checkbox-row input{width:17px;height:17px;margin:0}.withdraw-preview{background:#f1f6ed;padding:14px;border-radius:8px;font-size:11px;line-height:2.3}.withdraw-preview small{color:#8e7a55}.cap-label{font-size:9px;margin-top:5px}textarea{font:inherit;width:100%;margin-top:6px;padding:10px;border:1px solid #dce4df;border-radius:7px;resize:vertical}.sidebar nav{gap:4px}.sidebar .nav{padding-top:9px;padding-bottom:9px}@media(max-width:1150px){.policy-fields{grid-template-columns:1fr 1fr}}@media(max-width:720px){.policy-fields,.bootstrap-inputs{grid-template-columns:1fr 1fr}.sidebar .nav{padding:7px 9px}.withdraw-preview{font-size:10px}}
body{font-family:Vazirmatn,Tahoma,sans-serif}button,input,select,textarea{font-family:inherit}#review-content article{margin-bottom:20px;padding:24px}#review-content p,#review-content li{font-size:13px;color:#465961}#review-content summary{cursor:pointer;font-weight:700;padding:12px}#review-content code{font-family:"Azeret Mono",monospace}
#accounting-tools>article{padding:24px}#accounting-tools summary{cursor:pointer;padding:12px;font-weight:600}#backup-status{font-size:12px;overflow-wrap:anywhere}

/* Shared visual theme for the fund workspace. */
:root {
  --fund-bg:#e8ede2;
  --fund-surface:#fff;
  --fund-raised:#dce5d2;
  --fund-soft:#f0f4eb;
  --fund-ink:#252d24;
  --fund-muted:#596653;
  --fund-border:#d5dece;
  --fund-gold:#e9c34a;
  --fund-gold-hover:#f2d16a;
  --fund-gold-deep:#806515;
  --fund-dark:#0b0b0d;
  --fund-shadow:0 8px 26px #25311b0a;
}
body {background:var(--fund-bg);color:var(--fund-ink);font-size:14px}
p,.card-head p,.form-card p,.form-card label {color:var(--fund-muted);font-size:13px}
h1,h2,h3 {letter-spacing:normal}
h1 {font-size:clamp(24px,3.2vw,37px);font-weight:850}
h2 {font-size:16px;font-weight:750}
h3 {font-size:14px}
.card,.stat,.investor-card {background:var(--fund-surface);border-color:var(--fund-border);border-radius:16px;box-shadow:var(--fund-shadow);min-width:0}
.form-card {gap:10px}
.form-card p {min-height:0}
.form-card form {min-width:0}
.card-head {padding:20px 22px 13px}
.primary,.secondary {min-height:41px;padding:9px 15px;border-radius:10px;gap:8px;font-size:13px;font-weight:650}
.primary {background:var(--fund-gold);color:var(--fund-dark);border:1px solid transparent}
.primary:hover {background:var(--fund-gold-hover)}
.secondary {background:var(--fund-surface);color:var(--fund-ink);border-color:#a9b79e}
.secondary:hover {background:var(--fund-soft)}
button:focus-visible,a:focus-visible {outline:2px solid var(--fund-gold-deep);outline-offset:3px}
input,select,textarea {background:#fafbf8;border-color:var(--fund-border);color:var(--fund-ink);border-radius:10px}
input:focus,select:focus,textarea:focus {border-color:#9c7e24;box-shadow:0 0 0 3px #e9c34a40;outline:none}
input[type="checkbox"] {width:auto;accent-color:var(--fund-gold-deep);margin:0;vertical-align:middle}
fieldset {min-width:0;border:1px solid var(--fund-border);border-radius:12px;padding:12px}
th {background:var(--fund-soft);color:var(--fund-muted);font-size:12px;font-weight:650}
td {font-size:13px;border-color:#eef1ea}
td small,.form-card label small {color:var(--fund-muted)}
.text-button {color:var(--fund-gold-deep);font-size:12px}
.status-banner,.note,.formula,.withdraw-preview,.fee-info,.nav-close,.unit-overview {background:var(--fund-soft);border-color:var(--fund-border);color:var(--fund-ink)}
.status-banner.warning {background:#fff4da;color:#714d18;border-color:#ead199}
.note {border-inline-start-color:#b08a22}
.chip,.demo-pill,.fund-tag {background:var(--fund-soft);border:1px solid var(--fund-border);color:var(--fund-muted);border-radius:999px;padding:4px 11px;font-size:11px}
.legend-dot {background:var(--fund-gold-deep)}
.cash-label,.ring-inner small,.stat-top,.stat-note,.breadcrumb,.header-meta,.chart-footer,.empty {color:var(--fund-muted)}
.cash-label strong,.unit-overview strong {color:var(--fund-ink);font-weight:750}
.stat-icon,.event-icon {background:#faf4df;color:var(--fund-gold-deep);border-radius:11px}
.stat.featured {background:var(--fund-dark);border-color:var(--fund-dark);color:#fff}
.featured .stat-note,.featured .stat-top {color:#d2d3cc}
.featured .stat-icon {background:#e9c34a24;color:var(--fund-gold)}
.stat-value {white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.toast {background:var(--fund-dark)}

.fund-hero {
  background-color:var(--fund-dark);
  background-image:radial-gradient(ellipse at 86% 22%,#e9c34a24,transparent 54%),linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);
  background-size:auto,34px 34px,34px 34px;
  color:#fff;border:1px solid #252527;border-radius:18px;padding:24px 28px;
}
.fund-hero h1 {margin:3px 0 5px;color:#fff}
.fund-hero h1 em {color:var(--fund-gold);font-style:normal}
.fund-hero .eyebrow {color:var(--fund-gold);font-size:12px;font-weight:700}
.fund-hero p {color:#d0d2cb;margin:0}
.fund-hero .secondary {background:transparent;color:#fff;border-color:#77806e}
.fund-hero .secondary:hover {background:#ffffff16}
.fund-hero :focus-visible,.sidebar :focus-visible {outline-color:var(--fund-gold)}

.fund-manager .sidebar {background:var(--fund-dark);color:#f3f3ee;border-inline-end:1px solid #29292a;overflow-y:auto}
.fund-manager .brandmark,.fund-wordmark-icon {background:var(--fund-dark);border:1px solid var(--fund-gold);object-fit:contain;flex:none}
.fund-manager .brand small,.fund-manager .workspace small,.fund-manager .sidebar-bottom p {color:#b8bab0}
.fund-manager .workspace {border-color:#30302f;margin-block:24px 15px}
.fund-manager .dot {background:var(--fund-gold)}
.sidebar-caption {font-size:11px;color:#b8bab0;padding:3px 10px 8px}
.fund-manager .nav {color:#dedfd9;font-size:13px}
.fund-manager .nav:hover {background:#ffffff14}
.fund-manager .nav.active {background:var(--fund-gold);color:var(--fund-dark);font-weight:750}
.fund-manager .sidebar-bottom .local-badge {color:var(--fund-gold)}
.fund-manager .export {border-color:#5c5c50;color:#f3f3ee}
.fund-manager main>header {height:auto;min-height:67px;padding:10px 17px;background:var(--fund-surface);border:1px solid var(--fund-border);border-radius:0 0 15px 15px;gap:12px}
.fund-manager .header-meta {flex-wrap:wrap;gap:10px}
.fund-manager .header-meta a {color:var(--fund-gold-deep);font-weight:650}
.fund-manager .unit-overview {background:var(--fund-surface);border-inline-start:3px solid var(--fund-gold)}

.fund-topbar {background:var(--fund-surface);border-bottom:1px solid var(--fund-border)}
.fund-topbar-inner,.fund-account .account-shell {max-width:1220px;margin-inline:auto;padding-inline:26px}
.fund-topbar-inner {min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.fund-wordmark {display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;line-height:1.25}
.fund-wordmark-icon {width:39px;height:39px;display:grid;place-items:center;border-radius:11px;font-size:24px;flex:none}
.fund-wordmark small {display:block;font-size:10px;color:var(--fund-muted);font-weight:500;margin-top:2px}
.fund-account .account-shell {padding-block:14px 40px}
.fund-account #message:empty {display:none}
.fund-account #message:not(:empty) {background:#fff6dd;border:1px solid #e3cd8c;border-radius:10px;padding:10px 14px;margin:8px 0;color:#553e14}
.account-toolbar {margin:4px 0 14px}
.account-links,.hero-actions {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.account-toolbar h2 {font-size:14px}
.investor-hero {display:flex;justify-content:space-between;align-items:center;gap:18px}
.account-metrics,.account-history,.account-action-grid {display:grid;gap:14px;margin-top:14px}
.account-metrics,.account-action-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.account-history {grid-template-columns:repeat(2,minmax(0,1fr))}
.account-metric {display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;padding:16px;color:var(--fund-muted)}
.account-metric .stat-icon {grid-row:span 2;width:39px;height:39px}
.account-metric strong {font-size:clamp(18px,2.6vw,25px);color:var(--fund-ink);overflow-wrap:anywhere}
.account-metric strong small {font-size:12px;font-weight:500;color:var(--fund-muted)}
.account-empty {padding:0 22px 17px;margin:0}
.account-action-grid form {align-content:start;margin:0;border:1px solid var(--fund-border);border-radius:13px;padding:14px;background:#fafbf8}
.account-action-grid h3 {margin:0}
.fund-account #login-card {max-width:850px;margin:clamp(20px,7vh,90px) auto;display:grid;grid-template-columns:1.15fr 1fr;gap:0;padding:0}
.login-intro {border-radius:0;display:flex;flex-direction:column;justify-content:center;min-height:286px}
.fund-account #login {margin:0;padding:26px;align-content:center}
.fund-account #login h2 {margin-bottom:3px}
.fund-account .account-overview {margin-bottom:18px}

@media(max-width:850px) {
  .account-action-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .investor-hero {align-items:flex-start;flex-direction:column}
}
@media(max-width:720px) {
  .fund-manager .sidebar {padding:13px 14px 10px;overflow:hidden}
  .fund-manager .sidebar-caption {display:none}
  .fund-manager .sidebar nav {display:flex;overflow-x:auto;padding:8px 2px 4px;scrollbar-width:thin}
  .fund-manager .sidebar .nav {flex:none;white-space:nowrap;gap:5px;min-height:38px;padding:5px 10px}
  .fund-manager .sidebar .nav span {font-size:16px;width:auto}
  .fund-manager .brand {font-size:22px}
  .fund-manager .brandmark {width:35px;height:35px;border-radius:10px;font-size:23px}
  .fund-manager main>header {min-height:52px;padding:8px 10px;flex-wrap:wrap}
  .fund-hero {padding:18px}
  .fund-manager .fund-hero {align-items:flex-start;flex-direction:column;gap:12px}
  .fund-account .account-shell,.fund-topbar-inner {padding-inline:13px}
  .account-toolbar {flex-wrap:wrap;gap:8px}
  .account-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .account-metric:first-child {grid-column:1 / -1}
  .account-metric {padding:12px;gap:4px 8px}
  .account-metric .stat-icon {width:29px;height:29px}
  .account-metric strong small {font-size:10px}
  .account-history,.account-action-grid,.fund-account #login-card {grid-template-columns:1fr}
  .login-intro {min-height:145px}
  .fund-account #login {padding:18px}
}
@media(prefers-reduced-motion:reduce) {button,a {transition:none}}

.account-history-single {grid-template-columns:1fr}
#investor-report {margin-top:14px}
.portal-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.portal-account .page-heading {margin:0}
.portal-account dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 10px}
.portal-account dl>div {background:var(--fund-soft);border:1px solid var(--fund-border);border-radius:10px;padding:9px}
.portal-account dt {font-size:12px;color:var(--fund-muted)}
.portal-account dd {margin:3px 0 0;font-weight:750;overflow-wrap:anywhere}
@media(max-width:720px){.portal-grid {grid-template-columns:1fr}}
.investor-return-card .card-head {flex-wrap:wrap}
.investor-return-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(130px,.65fr);gap:12px;padding:0 22px;align-items:stretch}
.investor-return-summary label {align-self:end}
.investor-return-summary>div {padding:10px 14px;border:1px solid var(--fund-border);border-radius:12px;background:var(--fund-soft);min-width:0}
.investor-return-summary span,.investor-return-summary label {color:var(--fund-muted);font-size:12px}
.investor-return-summary strong {display:block;font-size:19px;overflow-wrap:anywhere}
.return-chart {direction:ltr;padding:8px 16px 0}
.return-chart svg {width:100%;max-height:305px;display:block;overflow:visible}
.return-chart text {fill:var(--fund-muted);font:12px Vazirmatn,Tahoma,sans-serif}
.return-grid {stroke:var(--fund-border);stroke-width:1;stroke-dasharray:3 4}
.return-zero {stroke:#9fa998;stroke-width:1}
.return-line {fill:none;stroke:var(--fund-gold-deep);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.return-point {fill:var(--fund-gold);stroke:var(--fund-gold-deep);stroke-width:1.4}
.return-point:hover {stroke-width:3}
.report-note {border-top:1px solid var(--fund-border);margin:0;padding:12px 22px;color:var(--fund-muted)}
.report-details {border-top:1px solid var(--fund-border);padding:10px 0 0}
.report-details summary {cursor:pointer;font-weight:650;color:var(--fund-gold-deep);padding:0 22px 10px}
@media(max-width:720px) {
  .investor-return-summary {grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:13px;gap:8px}
  .investor-return-summary label {grid-column:1 / -1}
  .investor-return-summary strong {font-size:15px}
  .return-chart {padding-inline:8px}
  .return-chart text {font-size:11px}
}
.history-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.history-filter label{display:grid;gap:4px}.history-filter input{direction:ltr}.history-filter + p:empty{display:none}
.form-card .workbench-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));align-items:end;gap:12px;margin:0 0 12px}.workbench-filters input{min-height:39px}.workbench-filters button{justify-self:start}#workbench-info{min-height:0}#workbench-results td small{white-space:normal}.workbench-target{scroll-margin-top:20px}.table-wrap tr.workbench-target{background:#fff2ce}
.wallet-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;margin-top:14px;padding:20px;border-inline-start:4px solid var(--fund-gold);align-items:center}.wallet-label,.wallet-balance{display:block}.wallet-label{color:var(--fund-muted);margin-top:6px}.wallet-balance{font-size:26px;line-height:1.4}.wallet-balance small{font-size:13px}.wallet-actions{display:grid;gap:9px;justify-items:start}.wallet-actions form{display:flex;align-items:end;gap:8px;width:100%}.wallet-actions label{flex:1;min-width:0}@media(max-width:600px){.wallet-card{grid-template-columns:1fr}.wallet-actions form{flex-wrap:wrap}.wallet-actions label{min-width:130px}}
