.enterprise-page { min-height: 100vh; background: #f3f6f8; color: #18313a; }
.enterprise-main { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 80px; }
.enterprise-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 30px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #171b22, #3c434f); box-shadow: 0 20px 50px rgba(13, 51, 63, .18); }
.enterprise-heading p, .enterprise-card header p { margin: 0 0 8px; color: #dce0e6; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.enterprise-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.04em; }
.enterprise-heading span { display: block; margin-top: 10px; color: rgba(255,255,255,.72); }
.enterprise-heading button, .enterprise-dialog footer button:last-child { border: 0; border-radius: 13px; padding: 13px 18px; color: #ffffff; background: #171b22; font: inherit; font-weight: 900; cursor: pointer; }
.enterprise-status { margin: 18px 4px; color: #647780; }
.enterprise-status[data-tone="error"], .enterprise-dialog-status[data-tone="error"] { color: #b93838; }
.enterprise-list { display: grid; gap: 24px; }
.enterprise-card { padding: 24px; border: 1px solid #dbe4e8; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(20, 48, 58, .07); }
.enterprise-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.enterprise-card h2 { margin: 0; font-size: 26px; }
.enterprise-card header span { display: block; margin-top: 5px; color: #72838b; }
.enterprise-card header b { padding: 7px 10px; border-radius: 999px; color: #171b22; background: #eef0f3; font-size: 10px; letter-spacing: .1em; }
.enterprise-store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.enterprise-store { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-width: 0; padding: 17px; border: 1px solid #dde7ea; border-radius: 18px; background: #f8fbfc; }
.enterprise-store.is-inactive { opacity: .55; }
.enterprise-store-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: #171b22; }
.enterprise-store div { display: grid; min-width: 0; gap: 3px; }
.enterprise-store small { color: #555f6e; font-weight: 900; font-size: 9px; letter-spacing: .08em; }
.enterprise-store strong, .enterprise-store div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enterprise-store div span { color: #74868d; font-size: 12px; }
.enterprise-store button { border: 0; color: #171b22; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.enterprise-empty { margin: 0; color: #73858c; }
.enterprise-slack { margin-top: 24px; padding: 22px; border: 1px solid #d9e4e8; border-radius: 18px; background: #f8fbfc; }
.enterprise-slack h3 { margin: 0 0 7px; font-size: 20px; }
.enterprise-slack p { margin: 0 0 15px; color: #60747c; }
.enterprise-slack p.enterprise-slack-error { color: #a42f42; }
.enterprise-slack-retry { border: 1px solid #cbdadf; border-radius: 10px; padding: 10px 14px; background: #fff; color: #18313a; font: inherit; font-weight: 800; cursor: pointer; }
.enterprise-slack-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 15px; }
.enterprise-slack-actions button { border: 1px solid #cbdadf; border-radius: 10px; padding: 10px 14px; background: #fff; color: #18313a; font: inherit; font-weight: 800; cursor: pointer; }
.enterprise-slack-actions button:first-child { background: #171b22; color: #fff; border-color: #171b22; }
.enterprise-slack-actions button:disabled { opacity: .55; cursor: not-allowed; }
.enterprise-slack-store { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(220px, 2fr); align-items: center; gap: 12px; margin-top: 9px; font-weight: 800; }
.enterprise-slack-store select { width: 100%; min-height: 43px; border: 1px solid #cbdadf; border-radius: 10px; padding: 9px 12px; background: #fff; font: inherit; }
.enterprise-dialog { width: min(760px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(5, 30, 40, .35); }
.enterprise-dialog::backdrop { background: rgba(4, 22, 29, .62); backdrop-filter: blur(5px); }
.enterprise-dialog form { padding: 26px; }
.enterprise-dialog form > header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.enterprise-dialog header p { margin: 0 0 6px; color: #171b22; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.enterprise-dialog h2 { margin: 0; font-size: 27px; }
.enterprise-dialog header span { display: block; margin-top: 6px; color: #6f8087; }
.enterprise-dialog header > button { align-self: start; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.enterprise-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.enterprise-form-grid label { display: grid; gap: 7px; color: #465b63; font-size: 12px; font-weight: 800; }
.enterprise-form-grid input, .enterprise-form-grid select { width: 100%; min-height: 44px; border: 1px solid #cedbdf; border-radius: 11px; padding: 10px 12px; background: #fff; font: inherit; }
.enterprise-wide { grid-column: 1 / -1; }
.enterprise-toggle { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; padding: 12px; border-radius: 13px; background: #f1f7f7; }
.enterprise-toggle input { width: 20px; min-height: 20px; }
.enterprise-toggle span { display: grid; gap: 2px; }
.enterprise-toggle small { color: #74868d; font-weight: 500; }
.enterprise-dialog-status { min-height: 20px; color: #647780; }
.enterprise-dialog footer { display: flex; justify-content: flex-end; gap: 10px; }
.enterprise-dialog footer button:first-child { border: 1px solid #ccdadd; border-radius: 13px; padding: 12px 18px; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) { .enterprise-main { width: min(100% - 24px, 1440px); padding-top: 22px; } .enterprise-heading { align-items: stretch; flex-direction: column; } .enterprise-form-grid { grid-template-columns: 1fr; } .enterprise-wide, .enterprise-toggle { grid-column: auto; } .enterprise-store { grid-template-columns: auto 1fr; } .enterprise-store button { grid-column: 2; justify-self: start; padding: 0; } .enterprise-slack-store { grid-template-columns: 1fr; gap: 5px; } }
