.team-portal { background: #f4f6fa; color: #25354c; }
.team-geo-settings { border-top: 1px solid #dce2eb; margin: 18px 0; padding-top: 14px; }
.team-geo-zone { border: 1px solid #dce2eb; border-radius: 10px; padding: 14px; margin: 14px 0; background: #fff; min-width: 0; }
.team-geo-zone legend { padding: 0 6px; font-weight: 600; font-size: 13px; }
.team-geo-zone label { display: block; margin-bottom: 12px; color: #435571; font-size: 13px; }
.team-geo-zone input { width: 100%; padding: 8px; border: 1px solid #dce2eb; border-radius: 6px; background: #fff; color: #25354c; margin-top: 5px; }
.team-geo-coordinates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.team-location-retry { padding: 16px; border-radius: 12px; background: #e9eff7; margin-bottom: 16px; }
.bar .button.team-logout { color: #25354c; background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bar .button.team-logout .icon:before { font-size: 18px; }
.team-shell { max-width: 1040px; padding: 24px; margin: 0 auto; }
.team-heading, .team-toolbar, .team-period, .team-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-heading { margin-bottom: 22px; }
.team-portal h2 { font-size: 24px; line-height: 1.25; margin: 4px 0 10px; color: #25354c; }
.team-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.3px; color: #7a879b; margin: 0; }
.team-role, .team-count { border-radius: 20px; background: #e7edf4; color: #435571; padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.team-workspace { display: block; font-size: 13px; margin-bottom: 16px; }
.team-workspace select, .team-photo-form input, .team-photo-form select { display: block; width: 100%; margin-top: 6px; min-height: 42px; border: 1px solid #dce2eb; background: white; color: #25354c; border-radius: 9px; padding: 10px; font-size: 15px; }
.team-segments { display: flex; padding: 4px; border-radius: 12px; background: #e8edf4; }
.team-segments button { border: 0; border-radius: 9px; padding: 9px 15px; background: transparent; color: #607087; font-weight: 600; }
.team-segments button.active { background: white; color: #25354c; box-shadow: 0 2px 5px #25354c0a; }
.team-period { justify-content: flex-start; flex-wrap: wrap; margin: 20px 0; font-size: 14px; }
.team-period .button { min-width: 35px; }
.team-notice { padding: 14px 16px; border-radius: 12px; background: #e9eff7; color: #4f627e; margin: 16px 0; line-height: 1.5; }
.team-error { background: #fce8e6; color: #963b3b; }
.team-loading { display: flex; align-items: center; gap: 10px; color: #64758c; padding: 16px 0; }
.team-event { display: flex; gap: 14px; margin-bottom: 12px; }
.team-date { width: 48px; flex: 0 0 48px; text-align: center; padding-top: 13px; }
.team-date strong { display: block; font-size: 23px; line-height: 1; }
.team-date span { display: block; font-size: 12px; color: #7a879b; margin-top: 5px; }
.team-event-content { text-align: left; position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; background: white; border: 1px solid #e7ebf2; border-radius: 14px; padding: 14px 35px 14px 16px; min-width: 0; color: #25354c; }
.team-event-content > strong { font-size: 16px; overflow-wrap: anywhere; }
.team-event-content > span:not(.team-event-label):not(.team-group) { color: #6a7a90; }
.team-event-content > i { position: absolute; right: 16px; top: 45%; color: #8b99ac; }
.team-event-label { color: #357b68; font-weight: 600; font-size: 12px; }
.team-event-label.team-departure { color: #a7723e; }
.team-group { border-radius: 7px; padding: 3px 8px; font-size: 11px; color: #32465e; margin-top: 3px; }
.team-calendar-scroll { overflow: auto; border: 1px solid #e2e7ef; border-radius: 14px; background: white; max-height: 68vh; }
.team-calendar { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: 12px; table-layout: fixed; }
.team-calendar th, .team-calendar td { border-right: 1px solid #eef1f6; border-bottom: 1px solid #eef1f6; padding: 10px 6px; vertical-align: top; }
.team-calendar thead th { position: sticky; top: 0; z-index: 2; background: #f7f9fc; text-align: center; font-weight: 400; }
.team-calendar thead th span, .team-calendar thead th strong { display: block; }
.team-calendar thead th strong { margin-top: 3px; color: #435571; font-size: 12px; }
.team-calendar .team-room-column { position: sticky; left: 0; width: 130px; background: white; z-index: 1; text-align: left; padding: 12px 10px; overflow-wrap: anywhere; }
.team-calendar thead .team-room-column { background: #f7f9fc; z-index: 3; }
.team-room-column small { display: block; margin-top: 5px; color: #8190a3; font-weight: 400; font-size: 10px; }
.team-room-marker { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.team-calendar .team-calendar-track-cell { padding: 0; background-image: linear-gradient(to right, transparent calc(100% - 1px), #eef1f6 0); background-size: 14.2857142857% 100%; background-repeat: repeat-x; }
.team-calendar-track { position: relative; min-height: 56px; }
.team-stay { position: absolute; display: flex; align-items: center; height: 40px; padding: 0 10px; border: 1px solid rgba(41, 68, 77, 0.08); border-radius: 7px; color: #29444d; overflow: hidden; white-space: nowrap; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.team-stay span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-stay.team-stay-continues-before { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.team-stay.team-stay-continues-after { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.team-stay:focus-visible { outline: 2px solid #29444d; outline-offset: 2px; z-index: 1; }
.team-footnote, .team-muted { color: #8190a3; font-size: 12px; line-height: 1.5; }
.team-footnote { margin: 18px 0; }
.team-card { background: white; border: 1px solid #e7ebf2; border-radius: 16px; padding: 20px; margin: 18px 0; }
.team-card h3 { margin: 0 0 12px; font-size: 17px; color: #25354c; }
.team-card-heading { margin-bottom: 10px; }
.team-card-heading h3 { margin: 0; }
.team-guest { color: #64758c; font-size: 17px; }
.team-stay-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.team-stay-dates > div { padding: 14px; background: #e9eff7; border-radius: 12px; }
.team-stay-dates span, .team-stay-dates strong { display: block; font-size: 13px; margin-bottom: 4px; }
.team-stay-dates span { color: #64758c; }
.team-todo { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; background: white; border: 0; border-top: 1px solid #eef1f6; padding: 12px 0; color: #25354c; line-height: 1.45; }
.team-todo i { font-size: 24px; color: #a4b1c3; }
.team-todo-done span { text-decoration: line-through; color: #8190a3; }
.team-todo-done i { color: #43836d; }
.team-todo:disabled { opacity: 1; }
.team-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team-photo-grid figure { margin: 0; border: 1px solid #eef1f6; border-radius: 10px; overflow: hidden; }
.team-photo-grid img, .team-photo-placeholder { width: 100%; height: 160px; object-fit: cover; background: #eef1f6; }
.team-photo-placeholder { padding: 50px 8px; color: #8190a3; text-align: center; }
.team-photo-grid figcaption { padding: 10px; font-size: 12px; }
.team-photo-grid figcaption strong, .team-photo-grid figcaption span { display: block; }
.team-photo-form { border-top: 1px solid #eef1f6; margin-top: 18px; padding-top: 14px; }
.team-photo-form label { display: block; margin: 12px 0; font-size: 13px; color: #607087; }
.team-photo-form h4 { font-size: 15px; color: #435571; }
.team-photo-form .team-photo-input { position: absolute; left: -9999px; width: 1px; height: 1px; min-height: 1px; margin: 0; padding: 0; border: 0; }
.team-photo-form .team-add-photo { display: flex; align-items: center; justify-content: center; gap: 7px; background: #29444d; border-color: #29444d; }
.team-photo-form .team-add-photo .icon { font-size: 18px; }
.team-invitation { max-width: 480px; margin: 40px auto; line-height: 1.6; }
.teammate-access-settings { background: #f4f6fa; padding: 16px; margin: 12px; border-radius: 14px; }
.teammate-access-settings h3 { font-size: 18px; margin: 4px 0 12px; color: #25354c; }
.teammate-access-settings .item { background: transparent; padding: 12px 0; border: 0; white-space: normal; }
.teammate-access-settings .item-checkbox { padding-left: 44px; }
.teammate-access-settings .checkbox { left: 0; }
.teammate-access-settings select { width: 100%; padding: 10px; border: 1px solid #dce2eb; border-radius: 9px; background: white; margin: 8px 0; }
.teammate-access-settings .team-access-group { margin: 16px 0 4px; color: #7a879b; font-size: 12px; font-weight: 600; }
.teammate-invitation-link { width: 100%; border: 1px solid #dce2eb; border-radius: 8px; padding: 8px; min-height: 75px; resize: none; font-size: 12px; background: white; }
@media (max-width: 600px) {
    .team-shell { padding: 16px 12px; }
    .team-heading { margin-bottom: 16px; }
    .team-portal h2 { font-size: 21px; }
    .team-segments button { padding: 9px 11px; font-size: 13px; }
    .team-period { gap: 7px; font-size: 12px; }
    .team-period .button-clear { margin-left: auto; font-size: 12px; }
    .team-calendar { min-width: 740px; }
    .team-calendar .team-room-column { width: 90px; padding: 10px 7px; font-size: 11px; }
    .team-event { gap: 8px; }
    .team-date { width: 36px; flex-basis: 36px; }
    .team-card { padding: 15px; }
    .team-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .team-photo-grid img, .team-photo-placeholder { height: 135px; }
    .team-invitation { margin: 22px auto; }
}
