/* IGS Business Platform — module launcher and shell boundary. */
.platform-shell{background:linear-gradient(145deg,#f6f8fc 0,#eef5f8 52%,#f5f1fb 100%);min-height:100vh}.platform-shell .sidebar{display:none}.platform-shell .workspace{margin:0;min-height:100vh}.platform-shell #main{max-width:1480px;padding:30px clamp(18px,4vw,54px) 54px}.platform-topbar{height:76px;position:sticky;top:0;z-index:35;padding:0 clamp(18px,4vw,54px);background:#ffffffdf;backdrop-filter:blur(18px);border-bottom:1px solid #dfe6f0;justify-content:space-between}.platform-topbar-brand,.platform-topbar-actions,.platform-user{display:flex;align-items:center}.platform-topbar-brand{gap:13px}.platform-topbar-brand>span:last-child{display:grid;line-height:1.45}.platform-topbar-brand b{font-size:13px}.platform-topbar-brand small,.platform-user small{font-size:10px;color:var(--muted)}.platform-mini-logo{display:flex;align-items:center;justify-content:center;direction:ltr}.platform-mini-logo img{display:block;width:44px;height:44px;border-radius:10px;object-fit:contain;box-shadow:0 3px 12px #15244a16}.platform-topbar-actions{gap:11px}.platform-user{gap:8px;padding:0 10px}.platform-user>span:last-child{display:grid;line-height:1.35}.platform-user b{font-size:11px}.platform-logout{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:9px;color:#64718d}.platform-logout:hover{background:#f2f5fa;color:#d64562}.platform-logout .icon{width:18px}.platform-launcher{display:grid;gap:25px}.platform-welcome{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.6fr);align-items:center;gap:36px;padding:34px 38px;border-radius:24px;color:#fff;background:radial-gradient(circle at 10% -20%,#78e8e45c,transparent 35%),linear-gradient(115deg,#20265f 0,#3f42a2 54%,#147d94 100%);box-shadow:0 18px 55px #18365c1b}.platform-welcome:after{content:'';position:absolute;inset:auto -90px -135px auto;width:360px;height:360px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.platform-eyebrow{font-size:10px;letter-spacing:.8px;color:#8693aa;font-weight:700}.platform-welcome .platform-eyebrow{color:#9feaf1}.platform-welcome h1{font-size:31px;margin:6px 0 6px;letter-spacing:-.8px}.platform-welcome p{max-width:760px;color:#d7e5f6;margin:0;font-size:12px}.platform-core-map{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:18px;border:1px solid #ffffff29;background:#ffffff10;border-radius:18px;backdrop-filter:blur(8px)}.platform-core-map span{grid-column:1/-1;font-weight:800;font-size:18px;margin-bottom:2px}.platform-core-map i{font-style:normal;font-size:10px;padding:8px 9px;border:1px solid #ffffff20;background:#ffffff0e;border-radius:9px;color:#e4efff}.platform-section{background:#ffffffc7;border:1px solid #e0e7f1;border-radius:20px;padding:23px;box-shadow:0 10px 34px #253c6208}.platform-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.platform-section-head h2{font-size:20px;margin:1px 0 0}.platform-section-head>span{font-size:10px;color:var(--muted)}.platform-version{padding:5px 9px;border:1px solid #e4e8f3;border-radius:20px;background:#f9fafc}.platform-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.platform-app-card{min-height:220px;padding:19px;border:1px solid #e0e6f0;background:#fff;border-radius:17px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;transition:transform .16s,border-color .16s,box-shadow .16s}.platform-app-card.active:hover{transform:translateY(-3px);border-color:#c7c6ff;box-shadow:0 15px 35px #3c428715}.platform-app-card.planned{background:linear-gradient(145deg,#fff,#fafbfe);color:#76839d}.platform-app-card.planned:after{content:'آینده';position:absolute;left:13px;top:13px;font-size:9px;background:#f1f3f7;color:#8a95a9;border-radius:12px;padding:3px 7px}.platform-app-icon{width:53px;height:53px;border-radius:15px;display:grid;place-items:center}.platform-app-icon .icon{width:29px;height:29px}.platform-app-icon.tone-accounting{background:#efedff;color:#5749f1}.platform-app-icon.tone-projects{background:#e7f7f5;color:#078c82}.platform-app-icon.tone-crm{background:#fff0f5;color:#c14e7d}.platform-app-icon.tone-communications{background:#eaf5ff;color:#2576c5}.platform-app-icon.tone-documents{background:#fff5e6;color:#c98222}.platform-app-copy{display:grid;gap:5px}.platform-app-title{font-size:16px;font-weight:800;color:var(--navy)}.platform-app-card.planned .platform-app-title{color:#5d6981}.platform-app-desc{font-size:11px;color:#75839c;min-height:42px}.platform-app-shared{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}.platform-app-shared i{font-style:normal;font-size:9px;padding:3px 7px;border-radius:20px;background:#f5f7fb;color:#8290a8}.platform-app-foot{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-top:auto;border-top:1px solid #edf1f6;padding-top:12px}.platform-app-foot>b{display:flex;align-items:center;gap:5px;font-size:11px;color:#5148eb}.platform-app-foot>b.planned{color:#8b96aa}.platform-app-foot>b .icon{width:15px}.platform-app-foot>span{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.platform-app-foot>span i{font-style:normal;font-size:8px;padding:2px 5px;border-radius:5px;background:#f5f7fb;color:#7e8aa0}.platform-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.platform-task{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e7ebf2;border-radius:12px;background:#fff}.platform-task:hover{border-color:#cbc9f7;background:#fbfbff}.platform-task-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:#f3f5fa;color:#65718a;flex:none}.platform-task-icon.tone-red{background:#fff0f3;color:#dc3e61}.platform-task-icon.tone-amber{background:#fff6e8;color:#c9821c}.platform-task-icon.tone-purple{background:#f1efff;color:#6554e7}.platform-task-icon.tone-green{background:#eaf8f3;color:#0b9874}.platform-task-icon .icon{width:18px}.platform-task>span:nth-child(2){display:grid;min-width:0}.platform-task b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.platform-task small{font-size:9px;color:var(--muted)}.platform-task strong{margin-right:auto;font-size:10px;white-space:nowrap}.platform-empty{grid-column:1/-1;min-height:95px;display:flex;align-items:center;justify-content:center;gap:12px;color:#73809a}.platform-empty>.icon{width:32px;color:#19a27e}.platform-empty>span{display:grid}.platform-empty b{font-size:12px}.platform-empty small{font-size:10px}.platform-architecture-note{display:flex;align-items:flex-start;gap:13px;padding:16px 19px;border:1px dashed #cfd8e9;border-radius:15px;background:#ffffff8c;color:#64728d}.platform-note-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eef2fa;color:#536589;flex:none}.platform-note-icon .icon{width:19px}.platform-architecture-note b{font-size:11px}.platform-architecture-note p{font-size:10px;margin:3px 0 0;max-width:950px}.app-launcher-button{width:39px;height:39px;border:1px solid #e1e7f0;background:#fff;border-radius:10px;display:grid;place-items:center;flex:none;color:#596784}.app-launcher-button:hover{border-color:#c9c7ff;background:#f5f4ff;color:#5548ee}.app-launcher-button .icon{width:20px;height:20px}.module-pill{display:flex;align-items:center;gap:7px;padding:5px 9px;border-radius:9px;background:#f3f2ff;color:#5b4fda;font-size:10px;font-weight:700;white-space:nowrap}.module-pill .icon{width:15px}.platform-shell .rf-install{margin-right:0}
@media(max-width:1000px){.platform-welcome{grid-template-columns:1fr}.platform-core-map{grid-template-columns:repeat(5,minmax(0,1fr))}.platform-core-map span{grid-column:1/-1}.platform-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-user>span:last-child{display:none}}
@media(max-width:720px){.platform-shell #main{padding:18px 12px 32px}.platform-topbar{height:64px;padding:0 12px}.platform-topbar-brand>span:last-child small{display:none}.platform-topbar-actions{gap:5px}.platform-user{padding:0}.platform-user .avatar{width:32px;height:32px}.platform-logout span,.platform-topbar .rf-install span{display:none}.platform-welcome{padding:25px 21px;border-radius:18px;gap:23px}.platform-welcome h1{font-size:24px}.platform-core-map{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-section{padding:16px;border-radius:16px}.platform-section-head{align-items:flex-start}.platform-version{display:none}.platform-app-grid,.platform-task-grid{grid-template-columns:1fr}.platform-app-card{min-height:190px}.platform-task strong{display:none}.module-pill{display:none}.app-launcher-button{width:35px;height:35px}}
@media(max-width:390px){.platform-app-foot{align-items:flex-start;flex-direction:column}.platform-app-foot>span{justify-content:flex-start}.platform-welcome h1{font-size:22px}}

/* IGS 6.1.20 — isolated launcher shell; the accounting form header uses a
   different mobile grid and must never control the launcher topbar. */
.platform-shell .platform-topbar{display:flex;grid-template-columns:none;grid-template-areas:none;flex-wrap:nowrap;justify-content:space-between;align-items:center;min-height:68px;height:68px;gap:14px;direction:rtl}
.platform-shell .platform-topbar-brand{display:flex;flex:1 1 auto;min-width:0;gap:10px;align-items:center}
.platform-shell .platform-topbar-brand>span:last-child{min-width:0}
.platform-shell .platform-topbar-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:380px}
.platform-shell .platform-topbar-actions{display:flex;flex:0 1 auto;min-width:0;gap:10px;align-items:center;white-space:nowrap}
.platform-shell .platform-topbar .mode-button{grid-area:auto;display:inline-flex;justify-content:center;align-items:center;min-height:32px;width:auto;min-width:0;padding:4px 11px;font-size:10px;white-space:nowrap;line-height:1.35;border-radius:20px;flex:none}
.platform-mode-short{display:none}
.platform-shell .platform-topbar .platform-user{min-width:0;gap:6px;padding:0 4px}
.platform-shell .platform-topbar .platform-user .avatar{display:grid;place-items:center;flex:none}
.platform-shell .platform-topbar .platform-logout{flex:none;min-width:35px;min-height:35px;justify-content:center}
.platform-shell .platform-topbar>.rf-install{grid-area:auto;display:inline-flex;flex:0 0 auto;justify-content:center;align-items:center;min-height:35px;min-width:35px;width:auto;padding:6px 10px;margin:0}
.platform-shell .platform-topbar .rf-install .icon{width:17px;height:17px}
.platform-launcher{gap:18px}
.platform-welcome{display:block;padding:23px 28px;border-radius:18px;box-shadow:0 9px 28px #18365c12}
.platform-welcome:after{width:190px;height:190px;inset:auto -65px -125px auto}
.platform-welcome h1{font-size:clamp(20px,2.2vw,27px);margin:3px 0 2px;line-height:1.5;letter-spacing:0}
.platform-welcome p{font-size:12px;line-height:1.7;max-width:none}
.platform-section{padding:18px;border-radius:16px}
.platform-section-head{margin-bottom:12px;align-items:center}
.platform-section-head h2{font-size:16px;margin:0}
.platform-app-grid{gap:10px}
.platform-app-card{min-height:153px;gap:10px;padding:14px 15px;border-radius:13px}
.platform-app-icon{width:39px;height:39px;border-radius:11px}
.platform-app-icon .icon{width:22px;height:22px}
.platform-app-copy{gap:2px}
.platform-app-title{font-size:13px;line-height:1.55}
.platform-app-desc{font-size:10px;line-height:1.7;min-height:0}
.platform-app-foot{padding-top:8px;gap:8px}
.platform-app-foot>span{gap:4px}
.platform-app-foot>span i{font-size:9px;padding:2px 6px}
.platform-section.platform-tasks{padding-top:15px}
@media(max-width:1000px){
 .platform-shell .platform-topbar{padding-inline:18px;gap:10px}
 .platform-shell .platform-topbar-brand small{max-width:190px}
 .platform-shell .platform-user>span:last-child{display:none}
 .platform-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .platform-shell #main{padding:14px 12px 30px}
 .platform-shell .platform-topbar{display:flex;grid-template-columns:none;grid-template-areas:none;height:60px;min-height:60px;padding:6px 12px;gap:6px;flex-wrap:nowrap}
 .platform-shell .platform-topbar-brand{flex:1 1 auto;gap:6px}
 .platform-shell .platform-mini-logo img{width:33px;height:33px;border-radius:8px}
 .platform-shell .platform-topbar-brand b{font-size:11px;white-space:nowrap}
 .platform-shell .platform-topbar-brand small{display:none}
 .platform-shell .platform-topbar-actions{flex:none;gap:5px}
 .platform-shell .platform-topbar .mode-button{font-size:9px;min-height:29px;border-radius:12px;padding:4px 7px;max-width:none}
 .platform-mode-full{display:none}
 .platform-mode-short{display:inline}
 .platform-shell .platform-topbar .platform-user{padding:0 1px}
 .platform-shell .platform-topbar .platform-user .avatar{width:30px;height:30px}
 .platform-shell .platform-topbar .platform-logout{min-width:30px;min-height:32px;padding:5px}
 .platform-shell .platform-topbar .platform-logout span{display:none}
 .platform-shell .platform-topbar>.rf-install{display:inline-flex;min-width:31px;width:31px;min-height:32px;padding:5px}
 .platform-shell .platform-topbar>.rf-install span{display:none}
 .platform-welcome{padding:18px 17px;border-radius:14px}
 .platform-welcome h1{font-size:20px;line-height:1.55}
 .platform-welcome p{font-size:11px}
 .platform-launcher{gap:12px}
 .platform-section{padding:13px;border-radius:14px}
 .platform-section-head{margin-bottom:10px}
 .platform-app-grid,.platform-task-grid{grid-template-columns:1fr;gap:8px}
 .platform-app-card{min-height:0;padding:12px 13px;gap:8px}
 .platform-app-icon{width:36px;height:36px}
 .platform-app-icon .icon{width:20px;height:20px}
 .platform-app-foot{padding-top:7px}
}
@media(max-width:390px){
 .platform-shell .platform-topbar{padding-inline:9px;gap:4px}
 .platform-shell .platform-topbar-brand b{font-size:10px}
 .platform-shell .platform-topbar-actions{gap:3px}
 .platform-shell .platform-topbar .mode-button{font-size:9px;padding:4px 5px}
 .platform-shell .platform-topbar .platform-user .avatar{width:27px;height:27px}
 .platform-shell .platform-topbar .platform-logout{min-width:27px;padding:4px}
 .platform-shell .platform-topbar>.rf-install{width:29px;min-width:29px}
 .platform-welcome h1{font-size:19px}
 .platform-app-foot{align-items:center;flex-direction:row}
}

/* 6.1.57: subtle routine guidance outside forms; do not restyle alerts. */
main .note:not(.warning):not(.important):not(.danger):not(.success):not(.error):not(.bank-safety-note):not(.treasury-legal-note){font-size:11px;line-height:1.65}

.platform-app-icon.tone-dasht{background:#eaf1ff;color:#306ac9}.platform-app-icon.tone-telephone{background:#e8f8f3;color:#15856e}
