/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18313d; background: #f5f8f8; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #126b72; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.site-header { background: #143d45; color: white; }
.site-header__inner { max-width: 1220px; margin: auto; display: flex; align-items: center; gap: 2rem; min-height: 68px; padding: .7rem 1.25rem; }
.site-header a, .text-button { color: white; }
.brand { font-size: 1.17rem; font-weight: 750; white-space: nowrap; }
.main-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; flex: 1; }
.account { display: flex; align-items: center; gap: .8rem; font-size: .86rem; }
.main-nav { display: flex; gap: 1.4rem; flex: 1; }
.account { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-size: .86rem; min-width: 0; }
.account > span { overflow-wrap: anywhere; min-width: 0; }
.text-button { border: 0; background: none; padding: 0; }
.page-shell { max-width: 1220px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.page-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-title h1 { margin: .1rem 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; }
.eyebrow { margin: 0; color: #587880; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 750; }
.muted { color: #5c747b; }
.small { font-size: .86rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #126b72; background: #126b72; color: white; padding: .7rem 1rem; border-radius: .55rem; font-weight: 650; line-height: 1.2; }
.button:hover { background: #0d575d; color: white; text-decoration: none; }
.button--secondary { background: white; color: #126b72; }
.button--secondary:hover { background: #edf7f7; color: #0d575d; }
.grid { display: grid; gap: 1rem; }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: white; border: 1px solid #dfe8e8; border-radius: .85rem; box-shadow: 0 5px 20px rgba(23, 54, 65, .04); padding: 1.2rem; }
.card h2 { margin: 0 0 .8rem; font-size: 1.12rem; }
.card h3 { margin: 1rem 0 .55rem; font-size: .98rem; }
.metric { font-size: 2.1rem; font-weight: 750; color: #143d45; letter-spacing: -.05em; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 2rem 0 .8rem; }
.section-heading h2 { margin: 0; font-size: 1.28rem; }
.table-wrap { overflow-x: auto; border: 1px solid #dfe8e8; border-radius: .8rem; background: white; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: .78rem .85rem; vertical-align: top; border-bottom: 1px solid #edf1f1; }
th { color: #49666e; background: #f1f6f6; font-size: .77rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: .25rem .55rem; border-radius: 1rem; background: #e9f3f4; color: #145e65; font-size: .78rem; font-weight: 650; margin: .1rem .2rem .1rem 0; white-space: nowrap; }
.tag--warning { background: #fff0d4; color: #875606; }
.tag--danger { background: #fbe7e6; color: #a83732; }
.tag--neutral { background: #eff2f4; color: #526a73; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: .86rem; }
input, select, textarea { width: 100%; border: 1px solid #c7d7d9; border-radius: .48rem; background: white; color: #18313d; padding: .62rem .7rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid #8ccbcc; outline-offset: 1px; }
textarea { min-height: 5.5rem; resize: vertical; }
.form-actions { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; }
.inline-form { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; }
.inline-form .field { min-width: 135px; flex: 1; }
.stack { display: grid; gap: 1rem; }
.detail-list { display: grid; grid-template-columns: 155px 1fr; gap: .45rem .8rem; margin: 0; }
.detail-list dt { color: #5c747b; }
.detail-list dd { margin: 0; }
.flash { padding: .85rem 1rem; border-radius: .6rem; margin-bottom: 1.2rem; }
.flash--notice { background: #e1f3ea; color: #1b664b; }
.flash--alert { background: #fff0dc; color: #865807; }
.errors { background: #fff0dc; border-radius: .55rem; padding: .8rem 1rem; margin-bottom: 1rem; }
.empty { padding: 2rem; text-align: center; color: #60777f; }
.note { border-left: 3px solid #96c6c9; padding: .3rem .8rem; color: #526d75; background: #f5fafa; }
.subtle-divider { border: 0; border-top: 1px solid #e6eded; margin: 1.2rem 0; }
details { margin-top: 1.2rem; border-top: 1px solid #e6eded; padding-top: 1rem; }
details summary { cursor: pointer; color: #126b72; font-weight: 700; margin-bottom: 1rem; }
.auth-card { max-width: 430px; margin: 5vh auto; padding: 2rem; }
.auth-card h1 { font-size: 1.7rem; margin: .5rem 0; }
.invitation-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-invite-form input[type="submit"], .team-role-form input[type="submit"] { width: auto; flex: 0 0 auto; }
.invitation-details { grid-template-columns: 1fr; margin: 1.2rem 0; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.profile-card { max-width: 760px; }
.role-permissions { border: 1px solid #dfe8e8; border-radius: .55rem; padding: 1rem; display: grid; gap: .8rem; }
.role-permissions legend { font-weight: 650; padding: 0 .3rem; }
.permission-option { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.permission-option input { width: 1.1rem; height: 1.1rem; padding: 0; flex-shrink: 0; }
.team-role + .team-role { border-top: 1px solid #e6eded; padding-top: 1rem; }
.team-role-heading { display: flex; justify-content: space-between; gap: .7rem; align-items: center; }
.field-help { margin: 0; }
.address-results { list-style: none; margin: 0; padding: 0; border: 1px solid #c7d7d9; border-radius: .48rem; overflow: hidden; }
.address-results button { display: block; width: 100%; text-align: left; border: 0; background: white; color: #18313d; padding: .7rem; }
.address-results button:hover, .address-results button:focus { background: #e9f3f4; }
.main-nav { flex-wrap: wrap; gap: .7rem 1rem; }
.note .button { margin-top: .5rem; }
.form-actions input[type="submit"] { width: auto; }
.field-invalid { border-color: #a83732; }
.field-invalid:focus { outline-color: #a83732; }
.field-error { color: #a83732; font-size: .86rem; }
.field-validation-message:empty { display: none; }
@media (max-width: 760px) { .site-header__inner { flex-wrap: wrap; gap: .7rem; } .main-nav { order: 3; width: 100%; } .account { margin-left: auto; } .grid--three, .grid--two, .form-grid { grid-template-columns: 1fr; } .page-title { flex-direction: column; } .detail-list { grid-template-columns: 1fr; } }

.platform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.platform-form { max-width: 780px; }
.platform-checkbox { display: flex; align-items: center; gap: .6rem; width: fit-content; }
.platform-checkbox input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.platform-account-modes { margin-bottom: 1rem; }
@media (max-width: 760px) { .platform-section-heading { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) { .account { margin-left: 0; width: 100%; } }
