/* Cloud edition: the role choice and the role bar on top of each site (Views/Shared/_HostBar). */
.kwc-roles .btn { font-size: .95rem; }
.kwc-hostbar { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; justify-content: flex-start; padding: .2rem .75rem;
    background: #1f3b63; color: #cfd9e8; font-size: .8rem; }
.kwc-hostbar a { color: #fff; text-decoration: none; padding: .1rem .6rem; border-radius: .25rem; }
.kwc-hostbar a:hover { background: rgba(255, 255, 255, .15); }
.kwc-hostbar a.active { background: #fff; color: #1f3b63; font-weight: 600; }
/* پنل مدیر سامانه (Views/Platform). */
.kwc-platform { background: #f4f6f9; }
.kwc-platform-main { width: 100%; box-sizing: border-box; padding: 1rem; max-width: 1100px; margin: 0 auto; }
.kwc-org-form { max-width: 640px; }
.kwc-org-grid { display: grid; grid-template-columns: max-content 1fr; gap: .4rem .75rem; align-items: center; }
@media (max-width: 576px) { .kwc-org-grid { grid-template-columns: 1fr; } }
.kwc-routine-note { background: #fff; border: 1px solid #d1d5db; border-radius: 8px; padding: .5rem .9rem; margin-bottom: .6rem; line-height: 2; }
.kwc-routine-source { width: 100%; height: 60vh; min-height: 360px; font-family: Consolas, "Courier New", monospace; font-size: 13px;
    line-height: 1.5; padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; tab-size: 4; white-space: pre; overflow: auto; }
