/* Monopolis additions to the shared dashboard interface. */
[hidden] { display: none !important; }
.brand-mark { color: white; background: #3498db; font-size: 15px; font-weight: 700; }
.brand { font-size: 15px; }
.topbar { min-height: 52px; height: auto; flex-wrap: wrap; padding-block: 8px; gap: 12px; }
.main-nav { flex: 1; }
.main-nav a { font-size: 12px; padding-inline: 8px; }
.topbar-meta { flex: 0 1 auto; gap: 12px; }
.topbar-meta .user-name { font-size: 12px; }
.logout-link { border: 0; padding: 0; background: none; cursor: pointer; font: inherit; font-size: 12px; }
.account-button { text-decoration: none; display: inline-flex; align-items: center; }
.workspace-badge { color: #b9c1cc; font-size: 11px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; }
.page-heading h1 { margin: 0 0 5px; font-size: 24px; color: #2c3e50; }
.page-heading p { margin: 0; color: #7c8797; font-size: 13px; }
.setup-notice { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin: 0 0 24px; padding: 17px 20px; border: 1px solid #d4e5f1; border-radius: 8px; background: #eff7fd; color: #365a76; }
.setup-notice strong { display: block; margin-bottom: 2px; }
.setup-notice p { margin: 0; font-size: 13px; }
.setup-notice a { white-space: nowrap; }
.date-range { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.date-range label { display: flex; align-items: center; gap: 8px; color: #697586; font-size: 12px; }
.date-range input { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; color: #394759; background: white; }
.empty-cell { height: 190px; padding: 30px !important; text-align: center !important; }
.empty-cell strong { display: block; font-size: 15px; font-weight: 600; color: #657387; }
.empty-cell p { margin: 5px 0 0; color: #8290a0; font-size: 12px; }
.report-table { min-width: 1350px; }
.report-table th { cursor: default; }
.connection-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: start; }
.connection-card { min-width: 0; padding: 24px; border: 1px solid #e0e6ed; border-radius: 9px; background: white; box-shadow: 0 1px 3px rgb(0 0 0 / 4%); }
.connection-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.connection-card h2 { font-size: 17px; margin: 0; color: #34465a; }
.connection-card > p { min-height: 40px; margin: 0 0 22px; color: #8290a0; font-size: 12px; }
.connection-status { font-size: 10px; border-radius: 20px; padding: 4px 8px; white-space: nowrap; color: #728094; background: #f0f3f7; }
.connection-status.configured { color: #286f4b; background: #eaf6ee; }
.connection-form { display: grid; gap: 15px; }
.connection-form label { display: grid; gap: 6px; color: #566374; font-size: 12px; }
.connection-form input,.connection-form select { min-width: 0; width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #dce0e6; border-radius: 5px; color: #333; background: white; }
.connection-form input:focus,.connection-form select:focus { outline: 2px solid rgb(62 130 199 / 18%); border-color: var(--blue); }
.connection-form .checkbox-label { display: flex; align-items: center; gap: 7px; color: #788393; }
.connection-form .checkbox-label input { width: 14px; min-height: 14px; margin: 0; }
.connection-form small { color: #8290a0; font-size: 11px; font-weight: 400; }
.connection-form .settings-button { margin-top: 3px; justify-self: start; }
.form-status { margin: 0; font-size: 12px; color: #286f4b; overflow-wrap: anywhere; }
.form-status.error { color: #b43f48; }
.settings-intro { margin-bottom: 26px; color: #6f7b8c; font-size: 13px; }
.owner-card { max-width: 670px; margin-top: 24px; }
.owner-card > p { min-height: 0; }
.owner-details { margin-bottom: 20px; font-size: 13px; color: #6f7b8c; }
.security-note { margin: 20px 0 0; color: #8290a0; font-size: 12px; }
.section-empty .report-table { min-width: 650px; }
.section-empty .report-table th:first-child { width: auto; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #3498db; outline-offset: 3px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%,460px); padding: 40px; background: white; border: 1px solid #e4e8ee; border-radius: 14px; box-shadow: 0 6px 24px rgb(28 44 63 / 8%); }
.login-brand-mark { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 20px; border-radius: 10px; background: #3498db; color: white; font-size: 26px; font-weight: 700; }
.login-card h1 { margin: 0; text-align: center; font-size: 24px; letter-spacing: -.5px; color: #2c3e50; }
.login-subtitle { margin: 7px 0 30px; text-align: center; color: #8290a0; font-size: 13px; }
.login-card form { display: grid; gap: 20px; }
.login-card label { display: grid; gap: 7px; color: #566374; font-size: 13px; }
.login-card input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #dce0e6; border-radius: 7px; background: #fcfdff; font-size: 15px; }
.login-card .remember-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7c8797; }
.remember-row input { accent-color: #3498db; }
.login-card button { min-height: 45px; font-size: 15px; }
@media(max-width:1250px) { .topbar { gap: 7px 16px; } .main-nav { order: 3; flex-basis: 100%; } .topbar-meta { margin-left: auto; } }
@media(max-width:1000px) { .connection-grid { grid-template-columns: 1fr; } .connection-card > p { min-height: 0; } .connection-form { grid-template-columns: 1fr 1fr; align-items: start; } .connection-form .settings-button,.connection-form .form-status { grid-column: 1/-1; } }
@media(max-width:600px) { .dashboard-shell { width: calc(100% - 28px); padding-top: 20px; } .brand { font-size: 14px; } .workspace-badge { display: none; } .topbar-meta { gap: 10px; } .topbar-meta .user-name { font-size: 11px; } .page-heading { gap: 12px; } .page-heading h1 { font-size: 21px; } .setup-notice { align-items: flex-start; flex-direction: column; } .toolbar { flex-wrap: wrap; } .toolbar-spacer { display: none; } .connection-form { grid-template-columns: 1fr; } .connection-card { padding: 20px; } .connection-heading { gap: 8px; } .login-card { padding: 30px 24px; } .login-card h1 { font-size: 22px; } }
