@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #21372f;
  --muted: #737e76;
  --line: #e1e6de;
  --green: #173d32;
  --lime: #d6ebac;
  --pale: #edf3e5;
  --amber: #805417;
  --amber-bg: #fbf3df;
  --radius: 16px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
.flight-fields[hidden] {
  display: none;
}
.flight-fields {
  border: 1px solid var(--line);
  background: #f6f8f2;
  border-radius: 12px;
  padding: 16px;
}
.booking-editor {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  margin: 15px 0 0;
  background: #fff;
}
.booking-editor legend {
  font-weight: 700;
  font-size: 12px;
  padding: 0 6px;
}
.flight-booking {
  background: #f0f5e8;
  border: 1px solid #dce6ce;
  border-radius: 10px;
  padding: 16px;
  margin-top: 15px;
}
.booking-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #5e7351;
  margin-bottom: 17px;
}
.flight-booking > small {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 5px 0 12px;
}
.confirmation {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.confirmation:hover {
  text-decoration: underline;
}
.ticket-name {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.flight-booking .form-help {
  font-size: 10px;
  margin-bottom: 0;
}
.flight-booking .actions {
  gap: 7px;
}
.flight-booking .btn {
  white-space: normal;
  text-align: left;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #6e9671;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin-bottom: 10px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 6px;
}
p {
  line-height: 1.6;
}
small,
.muted {
  color: var(--muted);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip {
  position: absolute;
  top: -60px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 5px;
}
.shell {
  display: grid;
  grid-template-columns: 234px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.4px;
}
.brand img {
  width: 35px;
  height: 35px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #637365;
  display: block;
  font-weight: 600;
  margin-top: 4px;
}
.workspace {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 10px;
  margin: 38px 0 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.workspace strong {
  display: block;
  margin-bottom: 4px;
}
.workspace .avatar {
  border-radius: 7px;
  background: #f1f0e9;
  font-size: 10px;
}
.nav-label,
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.nav-label {
  color: #8b958b;
  margin: 0 12px 12px;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  background: none;
  color: #6d786e;
  padding: 12px 13px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}
.nav button.active {
  background: var(--pale);
  color: var(--green);
  font-weight: 700;
}
.nav .count {
  margin-left: auto;
  background: #fff;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.tip {
  padding: 16px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbf7;
  font-size: 11px;
  color: #707b70;
  line-height: 1.7;
}
.tip strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 5px;
}
.user {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 23px;
  font-size: 12px;
}
.user strong {
  display: block;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ecdfc8;
  color: #715b36;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
}
.avatar:nth-child(2n) {
  background: #dde8e5;
  color: #355a58;
}
.main-wrap {
  min-width: 0;
}
.topbar {
  height: 79px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 15px;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.saved {
  font-size: 11px;
  color: #748471;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #759963;
  display: inline-block;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  min-height: 41px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: #f1f5eb;
}
.btn.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #285644;
}
.btn.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.small {
  padding: 7px 10px;
  min-height: 33px;
  font-size: 11px;
}
.btn.danger {
  color: #a13930;
}
.content {
  padding: 34px 38px 50px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hero {
  background: var(--green);
  border-radius: var(--radius);
  color: #fff;
  padding: 31px 32px;
  display: grid;
  grid-template-columns: 1fr 230px;
  min-height: 211px;
  overflow: hidden;
  position: relative;
}
.hero .eyebrow {
  color: #c2d6bc;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero h2 {
  font-size: 35px;
  letter-spacing: -1.3px;
  margin-bottom: 17px;
}
.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #d0dbd1;
  font-size: 12px;
  align-items: center;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #d6ebac;
}
.hero-route::before,
.hero-route::after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  width: 290px;
  height: 290px;
  right: -72px;
  top: -74px;
}
.hero-route::after {
  width: 390px;
  height: 390px;
  top: -124px;
  right: -122px;
}
.hero-route strong {
  display: block;
  font-size: 28px;
  letter-spacing: 2px;
}
.hero-route small {
  color: #a9c0b2;
  font-size: 10px;
}
.route-line {
  width: 72px;
  border-top: 1px dashed #8aa782;
  position: relative;
  text-align: center;
  transform: rotate(-13deg);
  margin: 0 4px;
}
.route-line .icon {
  position: absolute;
  top: -11px;
  left: 27px;
  background: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 30px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.stat-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f3f5ee;
  color: #718164;
  width: 41px;
  height: 41px;
}
.stat strong {
  font-size: 23px;
  font-family: "Manrope", sans-serif;
  display: block;
  line-height: 1.2;
}
.stat small {
  font-size: 11px;
  display: block;
  margin-top: 5px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 298px;
  gap: 24px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.section-head h2 {
  margin: 0;
}
.section-head small {
  font-size: 11px;
}
.text-link {
  background: none;
  border: 0;
  color: #46613c;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.tab {
  background: transparent;
  padding: 9px 14px;
  color: var(--muted);
  border-radius: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.tab.active {
  background: var(--green);
  color: #fff;
}
.day-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  font-size: 12px;
  font-weight: 700;
}
.day-heading:first-child {
  margin-top: 0;
}
.day-heading span {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.day-heading:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.event {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 15px;
  margin-bottom: 12px;
  position: relative;
}
.event-time {
  padding-top: 19px;
  font-size: 12px;
  font-weight: 700;
}
.event-time small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 5px;
}
.event-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px 19px;
  position: relative;
}
.event-card.pending {
  border-left: 3px solid #d7b662;
  padding-left: 17px;
}
.event-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.event-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #edf2f7;
  color: #6a8295;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.event-icon.transport {
  background: #eff1e7;
  color: #7a8960;
}
.event-icon.hotel {
  background: #f3ede4;
  color: #a28560;
}
.event-icon.work,
.event-icon.meeting {
  background: #eee9f4;
  color: #8974a0;
}
.event-body {
  flex: 1;
  min-width: 0;
}
.event-body h3 {
  font-size: 13px;
  margin: 0 0 5px;
}
.event-body p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.event-detail {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #f0f2ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--pale);
  color: #5b7545;
}
.badge.pending {
  background: var(--amber-bg);
  color: var(--amber);
}
.badge.draft {
  background: #eff1f4;
  color: #697587;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--paper);
  color: var(--green);
}
.icon-btn .icon {
  width: 16px;
  height: 16px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
  margin-bottom: 18px;
}
.panel h2 {
  font-size: 14px;
  margin-bottom: 16px;
}
.panel p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.panel.attention {
  background: #fcfaf3;
  border-color: #eee4cd;
}
.panel.attention h2 {
  color: #806631;
  display: flex;
  align-items: center;
  gap: 8px;
}
.issue {
  display: block;
  width: 100%;
  background: none;
  text-align: left;
  border-top: 1px solid #ece5d7;
  padding: 12px 0;
  color: #7d6b46;
  font-size: 11px;
  line-height: 1.6;
}
.issue:last-child {
  padding-bottom: 0;
}
.person-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.person-mini strong {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}
.person-mini small {
  font-size: 10px;
}
.person-mini .avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.person-mini .icon-btn {
  margin-left: auto;
}
.panel .full {
  width: 100%;
}
.portal-promo {
  background: #eaf0e0;
  border-color: #e0e9d3;
}
.portal-promo .preview-drawing {
  height: 96px;
  margin: 12px 0 16px;
  background: #f8faf4;
  border: 1px solid #dbe5cf;
  border-radius: 8px;
  padding: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mini-calendar {
  width: 55px;
  background: #fff;
  border: 1px solid #dfe6d6;
  border-radius: 7px;
  padding: 7px;
  font-size: 8px;
  text-align: center;
  color: #6c825f;
}
.mini-calendar strong {
  font-size: 25px;
  display: block;
  color: var(--green);
}
.mini-lines {
  flex: 1;
}
.mini-lines i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #dce6d1;
  margin: 9px 0;
}
.mini-lines i:nth-child(2) {
  width: 70%;
}
.empty {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}
.empty h3 {
  color: var(--ink);
}
.toolbar {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 20px 0;
}
.search {
  max-width: 320px;
  width: 100%;
}
.search input {
  width: 100%;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.person-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
  min-width: 0;
}
.person-card .avatar {
  width: 43px;
  height: 43px;
  margin-bottom: 17px;
}
.person-card h3 {
  margin-bottom: 3px;
}
.person-card p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.person-card .email {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.person-card footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 17px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: #fafbf8;
}
tr:last-child td {
  border-bottom: 0;
}
.notice {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  background: #edf3e7;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0;
}
.notice.warn {
  background: var(--amber-bg);
  border-color: #eee0b9;
  color: var(--amber);
}
.notice strong {
  display: block;
}
.project-list {
  display: grid;
  gap: 12px;
}
.project-row {
  background: white;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  text-align: left;
  color: var(--ink);
}
.project-row strong {
  display: block;
  margin-bottom: 6px;
}
.project-row small {
  font-size: 11px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  max-width: 610px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 24px 100px #102c3040;
}
dialog::backdrop {
  background: #142e2855;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px 17px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  margin: 0;
  font-size: 20px;
}
.dialog-body {
  padding: 23px 25px;
}
.dialog-body > p {
  font-size: 13px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.field input,
.field select,
.field textarea {
  margin-top: 7px;
  width: 100%;
  font-weight: 400;
}
.field.wide {
  grid-column: 1/-1;
}
input,
select,
textarea {
  border: 1px solid #d6ded2;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
  font-size: 12px;
}
textarea {
  resize: vertical;
  min-height: 79px;
  line-height: 1.6;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin: 0;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  background: #f4f6ef;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 400;
}
.check small {
  display: block;
  font-size: 9px;
}
.dialog-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 17px 25px;
}
.dialog-foot > div {
  display: flex;
  gap: 8px;
}
.error {
  color: #a2382c;
  font-size: 12px;
  line-height: 1.6;
}
.form-help {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
  display: block;
  margin-top: 7px;
}
.share-url {
  width: 100%;
  font-size: 11px;
  margin: 12px 0;
}
.link-row {
  display: flex;
  gap: 8px;
}
.link-row input {
  flex: 1;
}
.portal-shell {
  max-width: 950px;
  margin: auto;
  padding: 0 28px 45px;
}
.portal-header {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 29px;
  gap: 12px;
}
.portal-header .brand {
  font-size: 25px;
}
.portal-header .brand img {
  width: 31px;
  height: 31px;
}
.portal-brand {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.preview-banner {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 9px 20px;
  font-size: 11px;
}
.preview-banner .btn {
  min-height: 29px;
  padding: 5px 10px;
  font-size: 10px;
  background: #ffffff18;
  color: white;
  border-color: #ffffff30;
}
.portal-intro {
  padding: 20px 0 15px;
}
.portal-intro h1 {
  font-size: 39px;
}
.portal-intro p {
  color: var(--muted);
  font-size: 13px;
  max-width: 590px;
}
.portal-intro .eyebrow {
  color: #768966;
  margin-bottom: 10px;
}
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 23px;
  margin-top: 28px;
}
.next-card {
  padding: 25px;
  background: var(--green);
  color: white;
  border-radius: 13px;
  margin-bottom: 25px;
}
.next-card .eyebrow {
  color: #bbd79b;
  margin-bottom: 12px;
}
.next-card h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.next-card p {
  font-size: 12px;
  color: #c9d9cc;
  margin-bottom: 0;
}
.next-card small {
  color: #c9d9cc;
}
.portal-shell .event {
  grid-template-columns: 69px 1fr;
  gap: 10px;
}
.portal-shell .event-card {
  padding: 17px;
}
.notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.details-row {
  margin-top: 13px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.portal-footer {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 80vh;
}
.loading > div {
  max-width: 450px;
  padding: 30px;
  text-align: center;
}
.loading .brand {
  justify-content: center;
  margin-bottom: 30px;
}
.loading p {
  font-size: 13px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 13px 20px;
  border-radius: 10px;
  background: #173d32;
  color: white;
  box-shadow: 0 5px 30px #0002;
  font-size: 12px;
  z-index: 200;
  opacity: 0;
  transition: 0.2s;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.file-input {
  display: none;
}
.mobile-only {
  display: none;
}
.form-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}
.form-inline select {
  max-width: 250px;
}
.badge-count {
  font-size: 10px;
  background: #f1e8cd;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: auto;
}
.footer-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
}
.status-line {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .content {
    padding-top: 40px;
  }
  .hero {
    min-height: 235px;
  }
  .hero h2 {
    font-size: 42px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    padding: 27px 15px;
  }
  .content {
    padding: 27px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 18px;
  }
  .stat {
    padding: 13px;
    gap: 9px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
  }
  .hero {
    grid-template-columns: 1fr 175px;
    padding: 27px;
  }
  .hero-route strong {
    font-size: 24px;
  }
  .route-line {
    width: 45px;
  }
  .route-line .icon {
    left: 13px;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .shell {
    grid-template-columns: 174px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .workspace {
    padding: 10px 6px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .side-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .side-panels .panel {
    margin: 0;
  }
  .side-panels .portal-promo {
    display: none;
  }
  .hero-route {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    display: block;
  }
  .stat-icon {
    display: none;
  }
  .stat strong {
    font-size: 22px;
  }
  .stat small {
    font-size: 10px;
  }
  .topbar-actions {
    gap: 7px;
  }
  .topbar .saved {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .actions {
    justify-content: flex-end;
  }
  .page-heading h1 {
    font-size: 30px;
  }
}
@media (max-width: 680px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: relative;
    padding: 17px 18px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .brand {
    font-size: 25px;
  }
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    display: flex;
    margin-top: 18px;
    gap: 5px;
    overflow-x: auto;
  }
  .nav button {
    padding: 9px 4px;
    white-space: nowrap;
    font-size: 10px;
    gap: 5px;
    flex: 1;
    flex-direction: column;
  }
  .nav button .icon {
    width: 16px;
    height: 16px;
  }
  .nav .count {
    display: none;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .topbar .btn {
    padding: 8px 11px;
    min-height: 34px;
    font-size: 10px;
  }
  .content {
    padding: 23px 18px 40px;
  }
  .page-heading {
    display: block;
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading .actions {
    justify-content: flex-start;
    margin-top: 17px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .hero {
    padding: 25px 22px;
    min-height: 180px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-meta {
    gap: 12px;
    font-size: 10px;
  }
  .hero-meta .icon {
    width: 15px;
    height: 15px;
  }
  .stats {
    margin: 16px 0 26px;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }
  .stat {
    padding: 12px 9px;
    border-radius: 10px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.5;
  }
  .event {
    grid-template-columns: 61px 1fr;
    gap: 7px;
  }
  .event-time {
    font-size: 11px;
  }
  .event-card {
    padding: 15px 12px;
  }
  .event-card.pending {
    padding-left: 10px;
  }
  .event-icon {
    width: 29px;
    height: 29px;
  }
  .event-top {
    gap: 9px;
  }
  .event-body h3 {
    font-size: 12px;
  }
  .event-body p {
    font-size: 10px;
  }
  .event-detail {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .event-detail .badge {
    font-size: 9px;
  }
  .side-panels {
    display: block;
  }
  .side-panels .panel {
    margin-bottom: 16px;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search {
    max-width: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-foot {
    padding: 15px 20px;
  }
  .portal-shell {
    padding: 0 18px 30px;
  }
  .portal-header {
    height: 80px;
  }
  .portal-brand {
    font-size: 8px;
    max-width: 105px;
    line-height: 1.6;
    text-align: right;
  }
  .portal-intro h1 {
    font-size: 32px;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-grid > aside {
    grid-row: auto;
  }
  .portal-grid > aside .panel {
    margin-bottom: 12px;
  }
  .portal-grid > aside .contact-panel {
    display: none;
  }
  .portal-shell .event {
    grid-template-columns: 59px 1fr;
  }
  .portal-shell .event-card {
    padding: 14px 11px;
  }
  .preview-banner {
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
  }
  .preview-banner .form-inline {
    max-width: 65%;
    gap: 5px;
  }
  .preview-banner select {
    font-size: 10px;
    max-width: 160px;
    padding: 7px;
  }
  .next-card {
    padding: 22px;
  }
  .next-card h2 {
    font-size: 21px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .mobile-only {
    display: block;
  }
  .topbar-actions .avatar {
    display: none;
  }
  .portal-footer {
    flex-wrap: wrap;
  }
}
@media print {
  body {
    background: white;
    font-size: 11px;
  }
  .sidebar,
  .topbar,
  .actions,
  .preview-banner,
  .btn,
  .icon-btn,
  .tabs,
  .skip,
  #toast,
  .no-print {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .content,
  .portal-shell {
    padding: 0;
    max-width: none;
  }
  .hero,
  .next-card {
    background: #fff !important;
    color: #173d32 !important;
    border: 1px solid #ccc;
  }
  .hero-meta,
  .next-card p,
  .next-card .eyebrow {
    color: #444;
  }
  .portal-grid {
    display: block;
  }
  .portal-grid > aside {
    display: block;
  }
  .event {
    break-inside: avoid;
  }
  .event-card,
  .panel {
    box-shadow: none;
  }
  .portal-header {
    height: 60px;
  }
  .portal-intro {
    padding: 10px 0;
  }
  .portal-grid > aside .contact-panel {
    display: block;
  }
  .portal-footer {
    margin-top: 15px;
  }
  .portal-shell .event-card {
    padding: 10px;
  }
  .panel {
    padding: 12px;
  }
  .portal-shell .next-card {
    margin-bottom: 15px;
  }
}
.account-shell {
  max-width: 760px;
  padding: 0 24px 45px;
  margin: auto;
}
.account-shell .panel {
  padding: 26px;
}
.account-shell [hidden] {
  display: none !important;
}
.account-shell .wide {
  grid-column: 1/-1;
}
.account-shell .notice {
  overflow-wrap: anywhere;
}
.password-control {
  display: flex;
  align-items: center;
  position: relative;
}
.password-control input {
  padding-right: 64px;
}
.password-control button {
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 7px;
  background: #edf3e5;
  border-radius: 5px;
  font-size: 11px;
  color: var(--green);
}
.account-shell summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}
.account-pill {
  padding: 7px 10px;
  font-size: 11px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-conflict {
  background: var(--amber-bg);
  border: 1px solid #ead9ae;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 12px;
}
.account-conflict a {
  font-weight: 700;
}
@media (max-width: 680px) {
  .topbar-actions {
    gap: 4px;
  }
  .topbar .account-pill {
    max-width: 78px;
    font-size: 9px;
    padding: 7px;
  }
  .account-shell {
    padding: 0 18px 30px;
  }
  .account-shell h1 {
    font-size: 29px;
  }
  .account-shell .panel {
    padding: 20px;
  }
}

.company-logo {
  max-width: 120px;
  max-height: 56px;
  object-fit: contain;
  display: inline-block;
}
.profile-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.portal-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.library-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.library-row p {
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.library-actions {
  margin-bottom: 18px;
}
.user {
  text-decoration: none;
  color: inherit;
}
.library-row > div {
  min-width: 0;
}
#traveler-editor {
  scroll-margin-top: 20px;
}
#company-form input[type="file"] {
  max-width: 100%;
  font-size: 13px;
}
#company-form .company-logo {
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .portal-brand {
    gap: 8px;
  }
  .portal-brand .company-logo {
    max-width: 70px;
    max-height: 40px;
  }
  .library-row {
    flex-wrap: wrap;
  }
}

.pdf-review {
  max-width: 960px;
  width: calc(100% - 24px);
}
.pdf-event {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  min-width: 0;
  margin: 8px 0;
}
.pdf-event legend {
  font-weight: 700;
}
.pdf-source {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  font:
    12px/1.6 ui-monospace,
    monospace;
  background: var(--paper);
  padding: 12px;
}
.pdf-event details {
  margin-top: 12px;
}
.pdf-review .notice li {
  margin: 8px 0;
}

/* Production navigation and review clarity */
.welcome-shell { max-width: 1040px; margin: auto; padding: 30px 32px; }
.welcome-intro { max-width: 800px; padding: 70px 0 40px; }
.welcome-intro h1 { font-size: clamp(36px,5vw,64px); line-height: 1.1; letter-spacing: -.045em; margin: 18px 0; }
.welcome-intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 620px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.start-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 26px; color: var(--ink); background: white; text-align: left; cursor: pointer; font: inherit; }
.start-card:hover { border-color: var(--green); background: #f6f8f3; }
.start-card strong { font-size: 20px; }
.start-card span { color: var(--muted); line-height: 1.6; font-size: 14px; }
.start-card .icon { width: 26px; height: 26px; }
.global-nav { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding: 20px 8px; margin-top: 20px; font-size: 13px; }
.global-nav a { color: var(--muted); text-decoration: none; }
.global-nav a:hover { color: var(--green); text-decoration: underline; }
.welcome-shell > .global-nav { flex-direction: row; flex-wrap: wrap; }
.project-switch { font: inherit; background: none; border: 0; text-align: left; color: inherit; cursor: pointer; padding: 6px 0; max-width: 300px; }
.project-switch small { display: block; font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.project-switch strong { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.project-switch .icon { width: 14px; height: 14px; transform: rotate(90deg); }
.hero-readiness { min-width: 210px; max-width: 300px; display: flex; align-items: flex-start; flex-direction: column; gap: 12px; border-left: 1px solid #ffffff36; padding-left: 26px; }
.hero-readiness strong { font-size: 22px; line-height: 1.3; }
.hero-readiness small { color: #d6e0d6; font-size: 12px; }
.guest-note { color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.guest-note a { color: var(--green); }
.guest-note .btn { padding: 5px 8px; font-size: 11px; }
.sample-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.project-row.selected { border-color: var(--green); background: #edf3e9; }
.project-row small { display: block; margin-top: 5px; }
.data-danger { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.coordinator-bookings { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.coordinator-bookings summary { cursor: pointer; font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.coordinator-bookings summary span { display: flex; align-items: center; color: var(--green); }
.coordinator-booking { padding: 18px 0 8px; }
.shared-booking-note { color: var(--green); font-size: 12px; margin: 8px 0; }
.shared-booking-note small { color: var(--muted); }
.coordinator-booking .flight-booking { margin-top: 8px; }
.pdf-review { width: calc(100% - 32px); max-width: 1140px; height: calc(100dvh - 32px); max-height: none; }
.pdf-review .dialog-head, .pdf-review .dialog-foot { position: sticky; background: var(--paper); z-index: 2; }
.pdf-review .dialog-head { top: 0; }
.pdf-review .dialog-foot { bottom: 0; }
.pdf-review .pdf-event { background: #fff; padding: 0; overflow: hidden; }
.pdf-event > summary { display: flex; gap: 14px; align-items: center; cursor: pointer; padding: 20px; }
.pdf-event > summary strong { flex: 1; }
.pdf-event > summary small { color: var(--muted); }
.pdf-event .pdf-fields { padding: 0 20px 20px; }
.pdf-event .review-state { margin-left: auto; color: #8b5618; font-size: 12px; }
.pdf-event[data-reviewed=true] .review-state { color: var(--green); }
.pdf-review-progress { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.publication-changes { padding-left: 20px; }
.publication-changes li { margin: 8px 0; }
.portal-anchor-nav { display: flex; gap: 10px; position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 12px 0; border-bottom: 1px solid var(--line); }
.portal-anchor-nav a { text-decoration: none; font-size: 13px; color: var(--green); padding: 10px 16px; border-radius: 999px; background: white; border: 1px solid var(--line); }
#trip-next, #trip-itinerary, #trip-contacts, #trip-contacts-mobile { scroll-margin-top: 80px; }
.portal-intro h1 { font-size: clamp(28px,4vw,46px); }
.next-card .quick-contact { display: inline-flex; color: white; margin-top: 14px; }
.change-summary { margin-top: 18px; }
.change-summary li { font-size: 13px; margin: 6px 0; }
.conflict-row { border-bottom: 1px solid var(--line); padding: 16px 0; }
.conflict-row small { display: block; color: var(--muted); margin: 6px 0; }
@media(max-width: 1000px) { .hero-readiness { min-width: 160px; } .topbar { flex-wrap: wrap; gap: 10px; } .global-nav { flex-direction: row; flex-wrap: wrap; font-size: 11px; gap: 10px; } }
@media(max-width: 600px) {
 .welcome-shell { padding: 20px; } .welcome-intro { padding-top: 36px; } .start-grid { grid-template-columns: 1fr; } .start-card { padding: 22px; }
 .project-switch { max-width: 220px; } .hero-readiness { border: 0; border-top: 1px solid #ffffff36; margin-top: 24px; padding: 22px 0 0; max-width: none; width: 100%; }
 .pdf-review { width: 100%; height: 100dvh; border-radius: 0; margin: 0; } .pdf-event > summary { flex-wrap: wrap; padding: 14px; } .pdf-event .pdf-fields { padding: 0 14px 14px; }
 .portal-intro { padding: 24px 0; } .portal-intro > p:not(.eyebrow) { font-size: 14px; } .portal-grid { margin-top: 16px; }
 .portal-anchor-nav { justify-content: center; } .portal-anchor-nav a { padding: 10px 14px; } .hero-readiness strong { font-size: 19px; }
}
@media print { .portal-anchor-nav, #offline-controls, .global-nav { display: none !important; } }

.portal-booking-shortcut { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 18px; margin: 16px 0 24px; }
.portal-booking-shortcut > div { flex: 1; min-width: 160px; }
.portal-booking-shortcut small { display: block; font-size: 10px; letter-spacing: .07em; color: var(--muted); }
.portal-booking-shortcut strong { font-size: 24px; letter-spacing: .1em; }

/* PDF review: arrangements are full-width rows, never adjacent form columns. */
.pdf-review .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-review .form-grid > .wide { grid-column: 1 / -1; }
.pdf-review .field { min-width: 0; }
.pdf-review .pdf-event { margin: 0; }
.pdf-review .pdf-event > summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding: 20px;
  background: #f7f9f4;
}
.pdf-review .pdf-event > summary > span:first-child {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.pdf-review .pdf-event > summary strong { grid-column: 2; overflow-wrap: anywhere; font-size: 17px; }
.pdf-review .pdf-event > summary small { grid-column: 2; font-size: 13px; }
.pdf-review .pdf-event .review-state { grid-column: 3; grid-row: 1 / 3; margin: 0; background: #fff3df; border-radius: 20px; padding: 7px 10px; white-space: nowrap; }
.pdf-review .pdf-event[data-reviewed=true] .review-state { background: #eaf2e2; }
.pdf-review .pdf-event[open] > summary { border-bottom: 1px solid var(--line); }
.pdf-review .pdf-event .pdf-fields { padding: 20px; }
.pdf-review .pdf-fields > .check { margin: 0 0 20px; }
.pdf-review .pdf-fields > .check:last-child { margin: 18px 0 0; }
.pdf-review .pdf-fields > details { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.pdf-review .pdf-fields > details > summary { font-size: 13px; font-weight: 600; cursor: pointer; }
.pdf-review-progress { flex-wrap: wrap; }
@media (max-width: 700px) {
  .pdf-review .form-grid { grid-template-columns: minmax(0, 1fr); }
  .pdf-review .pdf-event > summary { padding: 14px; grid-template-columns: 28px minmax(0, 1fr); }
  .pdf-review .pdf-event > summary > span:first-child { width: 28px; height: 28px; }
  .pdf-review .pdf-event .review-state { grid-column: 2; grid-row: 3; justify-self: start; }
  .pdf-review .pdf-event .pdf-fields { padding: 16px; }
}
.pdf-review .check { min-height: 48px; cursor: pointer; gap: 12px; line-height: 1.5; }
.pdf-review .check input[type="checkbox"] { flex: 0 0 22px; width: 22px; height: 22px; min-width: 22px; margin: 0; accent-color: var(--green); cursor: pointer; }
.pdf-review .check:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }

.pdf-review .optional-end { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f4; }
.pdf-review .optional-end > summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.pdf-review .optional-end[open] > summary { margin-bottom: 16px; }
