:root {
  color-scheme: light;
  --navy: #092b3b;
  --navy-soft: #103f50;
  --teal: #19a98c;
  --teal-dark: #0e806b;
  --ink: #17242c;
  --muted: #64737c;
  --line: #dbe3e6;
  --paper: #ffffff;
  --mist: #f2f6f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--mist); }
button, input { font: inherit; }

.login-page { min-height: 100vh; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(330px, 0.9fr) 1.1fr; }
.brand-panel {
  padding: clamp(2rem, 5vw, 5rem);
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(30, 193, 160, .24), transparent 30%),
    linear-gradient(145deg, var(--navy), #071d28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-mark, .wordmark span {
  width: 48px; height: 48px; display: inline-grid; place-items: center;
  border-radius: 14px; background: var(--teal); color: #fff; font-weight: 800; letter-spacing: -.04em;
}
.eyebrow { margin: 0 0 1rem; font-size: .74rem; font-weight: 800; letter-spacing: .18em; color: #79dcc9; }
.eyebrow.dark { color: var(--teal-dark); }
.brand-panel h1 { max-width: 650px; margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.brand-copy { max-width: 590px; margin: 1.6rem 0 0; color: #bcd0d8; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.65; }
.environment-label { margin: 0; color: #83a1ac; font-size: .86rem; }
.login-panel { padding: 2rem; display: grid; place-items: center; background: var(--paper); }
.form-wrap { width: min(420px, 100%); }
.form-wrap h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -.045em; }
.form-intro { margin: .65rem 0 2.1rem; color: var(--muted); }
label { display: block; margin: 1rem 0 .45rem; font-size: .86rem; font-weight: 750; }
input { width: 100%; min-height: 50px; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfc; outline: none; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25, 169, 140, .12); }
button { cursor: pointer; }
.form-wrap button { width: 100%; min-height: 52px; margin-top: 1.4rem; border: 0; border-radius: 9px; background: var(--teal); color: #fff; font-weight: 800; }
.form-wrap button:hover { background: var(--teal-dark); }
.security-note { margin: 1.2rem 0 0; text-align: center; color: #87949b; font-size: .78rem; }
.alert { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 8px; background: #fff1f1; color: #a12c2c; font-size: .9rem; }

.dashboard-page { min-height: 100vh; background: #edf3f3; }
.topbar { height: 76px; padding: 0 clamp(1.2rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; }
.wordmark { display: flex; gap: .8rem; align-items: center; color: inherit; text-decoration: none; font-weight: 800; }
.wordmark span { width: 38px; height: 38px; border-radius: 10px; }
.account { display: flex; align-items: center; gap: 1.2rem; font-size: .9rem; }
.account form { margin: 0; }
.logout { border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: .55rem .85rem; color: #fff; background: transparent; }
.welcome-shell { min-height: calc(100vh - 76px); padding: clamp(1.5rem, 5vw, 5rem); display: grid; place-items: center; }
.welcome-card { width: min(900px, 100%); padding: clamp(2rem, 6vw, 5rem); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(9, 43, 59, .1); }
.welcome-card h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.055em; }
.welcome-card > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.dashboard-actions a { padding: .8rem 1.1rem; border-radius: 9px; font-weight: 800; text-decoration: none; }
.primary-action { background: var(--teal); color: #fff; }
.secondary-action { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.status-row { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.status-row div { display: flex; flex-direction: column; gap: .35rem; }
.status-row span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: .45rem; border-radius: 999px; background: var(--teal); }
.preview-admin-link { color: #fff; text-decoration: none; font-weight: 750; }
.package-preview-page { background: #f5f8f8; }
.partner-page { min-height: 100vh; background: #f3f6f5; color: #132d37; }
.partner-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem max(1rem, calc((100vw - 1120px) / 2)); background: #092b3b; }
.partner-topbar nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.partner-topbar nav a { color: #d7e5e8; text-decoration: none; font-size: .9rem; font-weight: 750; }
.version-banner { margin-bottom: 1.2rem; padding: 1rem 1.25rem; border: 1px solid #b8ddd4; border-radius: 12px; background: #e7f7f2; color: #174d43; font-weight: 700; }
.version-banner a { color: inherit; }
.historical-banner { border-color: #e2d3a6; background: #fff7dc; color: #66521c; }
.comparison-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 6rem; }
.comparison-heading { margin-bottom: 2rem; }
.comparison-heading h1 { margin: .2rem 0 .6rem; font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -.055em; }
.comparison-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.comparison-table { overflow: hidden; border: 1px solid #dce5e5; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(9,43,59,.06); }
.comparison-row { display: grid; grid-template-columns: .65fr 1.2fr 1.2fr; }
.comparison-row > div { min-width: 0; padding: 1.2rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; border-bottom: 1px solid #e5ecec; }
.comparison-row > div + div { border-left: 1px solid #e5ecec; }
.comparison-header { background: #092b3b; color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.change-label { background: #f7f9f9; font-weight: 800; }
.previous-value { background: #fff7f5; color: #6c3730; }
.current-value { background: #f1faf6; color: #174d43; }
.empty-state { padding: clamp(2rem, 6vw, 5rem); border-radius: 18px; background: #fff; text-align: center; }
.empty-state p { margin-bottom: 2rem; color: var(--muted); }
.version-list { display: grid; gap: .8rem; }
.version-list > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border: 1px solid #dce5e5; border-radius: 13px; background: #fff; color: inherit; text-decoration: none; }
.version-list p { margin: .35rem 0 0; color: var(--muted); }
.version-list time { color: var(--muted); font-size: .9rem; }
.current-badge { margin-left: .6rem; padding: .25rem .5rem; border-radius: 999px; background: #dff5ed; color: #17614f; font-size: .7rem; text-transform: uppercase; }
.demo-label { display: inline-flex; margin-bottom: 1.4rem; padding: .45rem .7rem; border-radius: 999px; background: #fff0c9; color: #75570c; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.muted-value { color: #897d7a; font-style: italic; }
.partner-topbar nav span { color: #d7e5e8; font-size: .9rem; font-weight: 750; }
.comparison-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.comparison-tabs button { padding: .75rem 1rem; border: 1px solid #cad8d8; border-radius: 9px; background: #fff; color: #294650; font-weight: 800; cursor: pointer; }
.comparison-tabs button.active { border-color: #14745f; background: #14745f; color: #fff; }
.comparison-panel { display: none; }
.comparison-panel.active { display: block; }
.publication-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 0 .2rem .8rem; color: var(--muted); font-size: .8rem; }
.full-package { padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid #dce5e5; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(9,43,59,.06); }
.full-package-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid #e5ecec; }
.full-package-heading span { color: #14745f; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.full-package-heading h2 { margin: .35rem 0 0; font-size: clamp(1.5rem, 4vw, 2.3rem); }
.full-package-heading time { color: var(--muted); font-size: .85rem; }
.full-package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.full-package-grid article { padding: 1.3rem; border: 1px solid #e0e8e8; border-radius: 12px; }
.full-package-grid article.wide { grid-column: 1 / -1; }
.full-package-grid h3 { margin: 0 0 1rem; }
.full-package-grid p, .full-package-grid li, .full-package-grid dd { color: #53636c; line-height: 1.65; }
.full-package-grid dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.full-package-grid dt { font-weight: 800; }
.full-package-grid dd { margin: 0; }
.demo-footnote { margin-top: 1.3rem; color: var(--muted); font-size: .8rem; text-align: center; }
.package-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 6rem; }
.package-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem); background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(9,43,59,.08); }
.package-hero h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.06em; }
.package-hero > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.package-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; }
.package-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.package-meta span { padding: .55rem .75rem; border-radius: 999px; background: #e9f6f3; color: var(--teal-dark); font-size: .82rem; font-weight: 800; }
.package-section { margin-top: 1.2rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 18px; background: #fff; }
.package-section h2 { margin: 0 0 1.4rem; font-size: 1.7rem; letter-spacing: -.035em; }
.rich-copy, .package-section li { color: #53636c; line-height: 1.75; }
.itinerary-list article { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.itinerary-list article:first-child { border-top: 0; }
.itinerary-list h3 { margin: 0 0 .5rem; }
.day-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--navy); font-weight: 800; }
.package-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.price-grid, .hotel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; }
.price-grid article, .hotel-grid article { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.price-grid span { color: var(--teal-dark); font-size: 1.2rem; font-weight: 800; }
.price-grid small, .hotel-grid span, .hotel-grid small { color: var(--muted); }
.download-link { display: inline-block; text-decoration: none; padding: .85rem 1.15rem; border-radius: 9px; }

/* Partner package demo */
.partner-demo-page { min-height: 100vh; background: #f4f1ea; color: #193038; }
.partner-demo-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem max(1rem, calc((100vw - 1180px) / 2)); color: #fff; background: rgba(9,43,59,.96); backdrop-filter: blur(14px); }
.partner-header-actions { display: flex; align-items: center; gap: .7rem; }
.partner-header-actions a, .partner-header-actions button { padding: .65rem .9rem; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: #fff; background: transparent; text-decoration: none; font-size: .82rem; font-weight: 800; }
.partner-header-actions a { border-color: #38b99d; background: #16816c; }
.partner-visual-hero { width: min(1180px, calc(100% - 2rem)); min-height: 580px; margin: 1rem auto 0; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 24px; background: #fff; box-shadow: 0 25px 70px rgba(28,48,55,.12); }
.partner-hero-copy { align-self: center; padding: clamp(2rem, 6vw, 5.5rem); }
.partner-hero-copy h1 { max-width: 650px; margin: 0; font-family: Georgia, serif; font-size: clamp(3.4rem, 7vw, 6.8rem); font-weight: 500; line-height: .91; letter-spacing: -.055em; }
.partner-lead { max-width: 630px; color: #617178; font-size: 1.08rem; line-height: 1.75; }
.partner-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.partner-facts div { display: flex; flex-direction: column; gap: .35rem; padding-top: .9rem; border-top: 1px solid #dce3e1; }
.partner-facts span { color: #728087; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.partner-facts strong { font-size: .9rem; }
.availability-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .4rem; border-radius: 50%; background: #17a37f; }
.destination-art { position: relative; min-height: 580px; overflow: hidden; background: linear-gradient(175deg, #f6c98f 0%, #edae6d 38%, #c86f4d 67%, #542f3a 100%); }
.destination-art .sun { position: absolute; top: 11%; right: 12%; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,238,191,.78); box-shadow: 0 0 70px rgba(255,225,153,.6); }
.tower { position: absolute; bottom: 20%; width: 16%; background: linear-gradient(90deg, #253c47, #49606a 60%, #1d333e); clip-path: polygon(35% 0, 65% 0, 77% 100%, 20% 100%); }
.tower-one { left: 16%; height: 58%; clip-path: polygon(48% 0, 55% 21%, 62% 21%, 66% 46%, 76% 46%, 86% 100%, 16% 100%, 36% 43%, 43% 43%); }
.tower-two { left: 48%; height: 38%; }
.tower-three { right: 8%; height: 48%; clip-path: polygon(44% 0, 59% 20%, 70% 100%, 20% 100%); }
.dune { position: absolute; right: -10%; bottom: -15%; width: 120%; height: 35%; border-radius: 50% 50% 0 0; transform: rotate(-7deg); background: #bc684d; }
.dune-two { right: -30%; bottom: -25%; background: #713f43; transform: rotate(9deg); }
.package-jump-nav { position: sticky; top: 66px; z-index: 10; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem; width: min(900px, calc(100% - 2rem)); margin: -25px auto 0; padding: .55rem; border: 1px solid #e0e4df; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 12px 35px rgba(28,48,55,.1); backdrop-filter: blur(12px); }
.package-jump-nav a { padding: .65rem .85rem; border-radius: 7px; color: #40545c; text-decoration: none; font-size: .8rem; font-weight: 800; }
.package-jump-nav a:hover { background: #edf5f2; color: #13735e; }
.partner-content-shell { width: min(1000px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 6rem; }
.partner-content-section { scroll-margin-top: 150px; padding: clamp(2rem, 5vw, 4rem) 0; border-bottom: 1px solid #d8d8d0; }
.section-kicker { margin: 0 0 .6rem; color: #11816a; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.section-kicker.exclusion { color: #a24e45; }
.partner-content-section h2 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.035em; }
.intro-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-section > p, .hotel-showcase > div > p { color: #596d75; font-size: 1.05rem; line-height: 1.85; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading > span { color: #78878c; font-size: .85rem; font-weight: 800; }
.partner-itinerary details { border-top: 1px solid #d9ddd8; }
.partner-itinerary details:last-child { border-bottom: 1px solid #d9ddd8; }
.partner-itinerary summary { display: grid; grid-template-columns: 75px 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem .4rem; cursor: pointer; list-style: none; }
.partner-itinerary summary span { color: #13806a; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.partner-itinerary summary small { color: #7a878b; }
.partner-itinerary details p { margin: 0 0 1.2rem 91px; color: #586970; line-height: 1.7; }
.hotel-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hotel-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.hotel-tags span { padding: .5rem .65rem; border: 1px solid #cbd8d4; border-radius: 999px; color: #3f5d64; font-size: .75rem; font-weight: 800; }
.hotel-art { min-height: 300px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border-radius: 18px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(251,212,149,.65), transparent 24%), linear-gradient(145deg, #176f68, #092b3b); }
.hotel-art span { align-self: flex-end; font-size: 1.2rem; }
.hotel-art strong { font-family: Georgia, serif; font-size: 3rem; font-weight: 500; line-height: .9; }
.inclusion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.check-list, .cross-list { padding: 0; list-style: none; }
.check-list li, .cross-list li { padding: .65rem 0 .65rem 1.7rem; position: relative; border-bottom: 1px solid #dedfd9; color: #4e6269; }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; font-weight: 900; }
.check-list li::before { content: "✓"; color: #11816a; }
.cross-list li::before { content: "×"; color: #ae554b; }
.detail-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-bottom: 0; }
.detail-cards article { padding: 1.3rem; border: 1px solid #d7dad5; border-radius: 12px; background: rgba(255,255,255,.5); }
.detail-cards span { color: #758286; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.detail-cards strong { display: block; margin: .45rem 0; }
.detail-cards p { margin: 0; color: #63747a; font-size: .85rem; line-height: 1.5; }
.partner-bottom-action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 14px; color: #fff; background: #092b3b; }
.partner-bottom-action div { display: flex; flex-direction: column; gap: .25rem; }
.partner-bottom-action span { color: #b7ccd3; font-size: .82rem; }
.partner-bottom-action a { padding: .75rem 1rem; border-radius: 8px; color: #fff; background: #188a72; text-decoration: none; font-weight: 800; }

/* Package editor demo */
.editor-demo-page { min-height: 100vh; background: #eef2f2; }
.editor-header { position: sticky; top: 0; z-index: 30; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.2rem; border-bottom: 1px solid #d8e0e1; background: #fff; }
.editor-brand { display: flex; align-items: center; gap: .65rem; }
.editor-brand > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #12856e; font-weight: 900; }
.editor-brand div { display: flex; flex-direction: column; }
.editor-brand small { color: #77858b; }
.editor-header-actions { display: flex; align-items: center; gap: .6rem; }
.editor-header-actions > span { margin-right: .5rem; color: #78868b; font-size: .78rem; }
.editor-header-actions a, .editor-header-actions button, #confirm-demo-publish { padding: .65rem .85rem; border: 1px solid #cbd7d9; border-radius: 8px; color: #24404a; background: #fff; text-decoration: none; font-size: .8rem; font-weight: 800; }
.editor-header-actions button, .editor-header-actions .publish-link, #confirm-demo-publish { border-color: #13846d; color: #fff; background: #13846d; }
.editor-layout { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 270px 1fr; }
.editor-sidebar { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); padding: 1.4rem 1rem; border-right: 1px solid #d7e0e1; background: #f8fafa; }
.back-link { color: #5c7078; text-decoration: none; font-size: .8rem; font-weight: 800; }
.editor-package-id { display: flex; flex-direction: column; gap: .25rem; margin: 1.7rem .6rem; }
.editor-package-id span, .editor-status-card > span { color: #829096; font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.editor-package-id small { color: #74858b; }
.editor-tabs { display: grid; gap: .25rem; }
.editor-tabs button { display: grid; grid-template-columns: 25px 1fr auto; gap: .55rem; align-items: center; width: 100%; padding: .75rem .65rem; border: 0; border-radius: 8px; color: #586c74; background: transparent; text-align: left; font-size: .82rem; font-weight: 750; }
.editor-tabs button span { color: #93a0a4; font-size: .68rem; }
.editor-tabs button small { color: #8b999d; }
.editor-tabs button.active { color: #0f6e5c; background: #e2f2ed; }
.editor-status-card { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; flex-direction: column; gap: .45rem; padding: 1rem; border: 1px solid #dbe3e3; border-radius: 10px; background: #fff; }
.editor-status-card strong i { display: inline-block; width: 8px; height: 8px; margin-right: .35rem; border-radius: 50%; background: #16a17f; }
.editor-status-card small { color: #7a898e; }
.editor-workspace { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 7rem; }
.editor-mobile-title { display: none; }
.editor-panel { display: none; }
.editor-panel.active { display: block; }
.editor-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.editor-panel-heading h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.editor-panel-heading > div > p:last-child { color: #6d7d83; }
.editor-panel-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.completion-chip { padding: .45rem .65rem; border-radius: 999px; color: #116d5a; background: #ddf2eb; font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.section-save { padding: .65rem .85rem; border: 1px solid #13846d; border-radius: 8px; color: #fff; background: #13846d; font-size: .8rem; font-weight: 850; }
.section-save:hover, .section-save:focus-visible { background: #0e6e5b; }
.has-tooltip { position: relative; }
.has-tooltip::after { content: attr(data-tooltip); position: absolute; z-index: 100; right: 0; bottom: calc(100% + 10px); width: max-content; max-width: 280px; padding: .65rem .75rem; border-radius: 7px; color: #fff; background: #102f39; box-shadow: 0 9px 25px rgba(9,43,59,.22); font-size: .72rem; font-weight: 600; line-height: 1.45; text-align: left; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; pointer-events: none; }
.has-tooltip::before { content: ""; position: absolute; z-index: 101; right: 16px; bottom: calc(100% + 4px); border: 6px solid transparent; border-top-color: #102f39; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s; pointer-events: none; }
.has-tooltip:hover::after, .has-tooltip:hover::before, .has-tooltip:focus-visible::after, .has-tooltip:focus-visible::before { opacity: 1; visibility: visible; transform: translateY(0); }
.drag-handle.has-tooltip::after, .drag-handle.has-tooltip::before { right: auto; left: 0; }
.editor-header-actions .has-tooltip::after { top: calc(100% + 10px); bottom: auto; transform: translateY(-4px); }
.editor-header-actions .has-tooltip::before { top: calc(100% + 4px); bottom: auto; border-top-color: transparent; border-bottom-color: #102f39; }
.editor-header-actions .has-tooltip:hover::after, .editor-header-actions .has-tooltip:focus-visible::after { transform: translateY(0); }
.editor-card { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #dae2e3; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(24,48,57,.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1rem; }
.form-grid .wide { grid-column: 1 / -1; }
.editor-card label { color: #42565e; }
.editor-card input, .editor-card textarea, .editor-card select { width: 100%; margin-top: .42rem; padding: .75rem .85rem; border: 1px solid #d2dcde; border-radius: 8px; color: #233b44; background: #fbfcfc; font: inherit; }
.editor-card textarea { resize: vertical; line-height: 1.55; }
.outline-button { padding: .65rem .8rem; border: 1px solid #bfcfd1; border-radius: 8px; color: #31505b; background: #fff; font-size: .8rem; font-weight: 800; }
.itinerary-editor-list { display: grid; gap: .65rem; }
.itinerary-editor-list article { display: grid; grid-template-columns: 30px 60px 1fr auto; gap: .7rem; align-items: center; padding: 1rem; border: 1px solid #d7e1e2; border-radius: 11px; background: #fff; }
.itinerary-editor-list article > span { color: #14816b; font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.itinerary-editor-list article div { display: flex; flex-direction: column; gap: .25rem; }
.itinerary-editor-list article small { color: #7a898e; }
.drag-handle, .move-down { border: 0; color: #7c8b90; background: transparent; }
.move-down { font-size: .75rem; text-decoration: underline; }
.inclusion-editor-grid, .upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.upload-box { min-height: 210px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; border: 2px dashed #cdd9da; border-radius: 12px; text-align: center; }
.upload-box > span { color: #79888d; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.upload-box small { color: #819095; }
.upload-box button { margin-top: .7rem; padding: .6rem .8rem; border: 1px solid #c5d2d4; border-radius: 7px; color: #35525c; background: #fff; font-weight: 800; }
.media-boundary-note { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; padding: .9rem 1rem; border-left: 3px solid #14816b; color: #40565e; background: #e7f2ef; font-size: .82rem; }
.media-boundary-note strong { flex: 0 0 auto; color: #126b59; }
.media-asset-list { display: grid; gap: .8rem; }
.media-asset { display: grid; grid-template-columns: 90px minmax(180px, 1fr) minmax(210px, .9fr) auto auto; gap: .9rem; align-items: center; padding: .8rem; border: 1px solid #dce4e5; border-radius: 9px; }
.media-asset > img, .media-file-icon { width: 90px; height: 66px; border-radius: 6px; object-fit: cover; }
.media-file-icon { display: grid; place-items: center; color: #8b3030; background: #f7e8e8; font-size: .75rem; font-weight: 900; }
.media-asset-copy { min-width: 0; display: flex; flex-direction: column; gap: .18rem; }
.media-asset-copy > span, .media-asset label { color: #75858a; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.media-asset-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-asset-copy small { color: #7c8b90; }
.media-asset select { display: block; width: 100%; margin-top: .35rem; padding: .58rem .65rem; border: 1px solid #ccd8da; border-radius: 7px; background: #fff; font: inherit; text-transform: none; }
.media-sync-state { max-width: 145px; padding: .42rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 800; text-align: center; }
.media-sync-state.sync-included { color: #116b55; background: #dcf1e9; }
.media-sync-state.sync-excluded { color: #58666c; background: #edf0f1; }
.add-media-button { min-height: 46px; border: 1px dashed #aebfc2; border-radius: 8px; color: #176f5e; background: #f8fbfa; font-weight: 850; }
.editor-toast { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; padding: .8rem 1rem; border-radius: 9px; color: #fff; background: #153d48; box-shadow: 0 10px 30px rgba(9,43,59,.25); transform: translateY(120px); transition: transform .25s ease; }
.editor-toast.show { transform: translateY(0); }
.demo-modal[hidden] { display: none; }
.demo-modal { position: fixed; inset: 0; z-index: 80; padding: 1rem; display: grid; place-items: center; background: rgba(9,32,42,.62); }
.demo-modal-card { position: relative; width: min(440px, 100%); padding: 2rem; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.25); text-align: center; }
.demo-modal-card > div { display: flex; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.modal-close { padding: .65rem .8rem; }
.demo-modal-card > .modal-close { position: absolute; top: .7rem; right: .7rem; border: 0; background: transparent; font-size: 1.4rem; }
.modal-icon { width: 48px; height: 48px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #14856e; font-size: 1.5rem; }

/* Publish update demo */
.publish-demo-page { min-height: 100vh; background: #edf2f2; }
.publish-close-link { padding: .6rem .8rem; border: 1px solid #ccd7d9; border-radius: 8px; color: #38535c; text-decoration: none; font-size: .8rem; font-weight: 800; }
.publish-shell { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding: 3.5rem 0 7rem; }
.publish-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.publish-title-row h1, .publish-result h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.055em; }
.publish-title-row > div > p:last-child, .publish-result > p { max-width: 650px; color: #64767c; line-height: 1.65; }
.publish-readiness { flex: 0 0 auto; padding: .55rem .7rem; border-radius: 999px; color: #176b59; background: #dcf2eb; font-size: .75rem; font-weight: 850; }
.publish-readiness i { display: inline-block; width: 8px; height: 8px; margin-right: .35rem; border-radius: 50%; background: #14a17f; }
.publish-card { margin-top: 1rem; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid #d6e0e1; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(24,48,57,.05); }
.publish-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e2e8e8; }
.publish-card-heading span, .final-check-card span, .result-status-grid article > span { color: #7d8c91; font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.publish-card-heading h2 { margin: .3rem 0 0; font-size: 1.35rem; }
.publish-card-heading a { color: #137561; font-size: .8rem; font-weight: 800; text-decoration: none; }
.wordpress-media-payload { margin: -.25rem 0 .75rem 3rem; border-left: 2px solid #17846d; background: #f4f8f7; }
.wordpress-media-payload > div { padding: .75rem 1rem; }
.wordpress-media-payload > div + div { border-top: 1px solid #dde6e5; }
.wordpress-media-payload span, .wordpress-media-payload small { display: block; color: #75858a; font-size: .72rem; }
.wordpress-media-payload strong { display: block; margin: .2rem 0; color: #1c5146; font-size: .84rem; }
.wordpress-media-payload .payload-exclusion strong { color: #515e64; }
.compact-change-list { display: grid; }
.compact-change-list > div { display: grid; grid-template-columns: 120px 1fr 28px 1fr; gap: .6rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid #edf0f0; font-size: .86rem; }
.compact-change-list > div > span { color: #6c7c82; font-weight: 800; }
.compact-change-list del { color: #925950; }
.compact-change-list strong { color: #176c5a; }
.compact-change-list em { grid-column: 2 / -1; color: #405860; font-style: normal; }
.automatic-note { margin: 1rem 0 0; padding: .75rem .9rem; border-radius: 8px; color: #536b73; background: #f1f6f5; font-size: .8rem; }
.distribution-options { display: grid; gap: .7rem; margin-top: 1rem; }
.distribution-option { margin: 0; display: grid; grid-template-columns: 22px 40px 1fr auto; gap: .8rem; align-items: center; padding: 1rem; border: 1px solid #dce4e4; border-radius: 11px; cursor: pointer; }
.distribution-option:has(input:checked) { border-color: #9ccdc0; background: #f3faf7; }
.distribution-option input { width: 18px; min-height: 18px; margin: 0; accent-color: #14816b; }
.option-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #276a8d; font-weight: 900; }
.email-icon { background: #8e5b95; }
.distribution-option > span:nth-of-type(2) { display: flex; flex-direction: column; gap: .25rem; }
.distribution-option small { color: #74858a; line-height: 1.45; }
.option-status { padding: .35rem .5rem; border-radius: 999px; color: #176c59; background: #dcf1ea; font-size: .68rem; font-style: normal; font-weight: 850; }
.recipient-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border-radius: 10px; background: #f3f6f6; }
.recipient-panel > div { display: flex; flex-direction: column; gap: .25rem; }
.recipient-panel > div span { color: #7b8a8f; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.recipient-panel small { color: #78878c; }
.inline-email-preview { margin-top: 1rem; overflow: hidden; border: 1px solid #d6dfe0; border-radius: 11px; background: #e8eded; }
.email-preview-toolbar { display: flex; justify-content: space-between; padding: .65rem .8rem; color: #fff; background: #173e49; font-size: .76rem; font-weight: 800; }
.email-preview-toolbar button { border: 0; color: #fff; background: transparent; font-size: .75rem; text-decoration: underline; }
.email-paper { width: min(580px, calc(100% - 2rem)); margin: 1.2rem auto; padding: clamp(1.5rem, 5vw, 3rem); background: #fff; box-shadow: 0 10px 25px rgba(24,48,57,.1); text-align: center; }
.email-logo { width: 42px; height: 42px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #14816b; font-weight: 900; }
.email-preheader { color: #14816b; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.email-paper h3 { margin: .5rem 0 1rem; font-size: 1.55rem; }
.email-paper > p:not(.email-preheader) { color: #66777d; line-height: 1.6; }
.email-demo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.email-demo-actions span, .email-demo-actions a { padding: .7rem .9rem; border-radius: 7px; color: #fff; background: #14816b; font-size: .78rem; font-weight: 850; }
.email-demo-actions .secondary-email-action { color: #24424b; background: #e8eeee; }
.email-paper > small { color: #899599; }
.final-check-card { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.final-check-card > div { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.final-check-card strong { overflow-wrap: anywhere; }
.final-check-card small { color: #76868b; }
.publish-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; margin-top: 1.2rem; }
.publish-footer-actions a, .publish-footer-actions button { padding: .8rem 1rem; border: 1px solid #c8d4d5; border-radius: 8px; color: #35515a; background: #fff; text-decoration: none; font-size: .85rem; font-weight: 850; }
.publish-footer-actions button { border-color: #14816b; color: #fff; background: #14816b; }
.publish-result { padding: clamp(2rem, 6vw, 5rem) 0; text-align: center; }
.result-check { width: 68px; height: 68px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #159070; font-size: 2rem; }
.publish-result > p { margin-right: auto; margin-left: auto; }
.result-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 2rem 0; text-align: left; }
.result-status-grid article { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem; border: 1px solid #d5e0e0; border-radius: 11px; background: #fff; }
.result-status-grid article small { color: #78888d; }
.success-dot, .failure-dot { display: inline-block; width: 8px; height: 8px; margin-right: .35rem; border-radius: 50%; background: #16a17f; }
.failure-dot { background: #c35045; }
.result-status-grid article.failed { border-color: #e2b5af; background: #fff8f7; }
.retry-demo { align-self: flex-start; margin-top: .4rem; padding: 0; border: 0; color: #527079; background: transparent; font-size: .72rem; text-decoration: underline; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }
.result-actions a { padding: .75rem .9rem; border-radius: 8px; color: #fff; background: #14816b; text-decoration: none; font-weight: 850; }
.result-actions .secondary-result-action { border: 1px solid #c9d5d6; color: #35515a; background: #fff; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 38vh; gap: 2rem; }
  .brand-panel h1 { font-size: 2.4rem; }
  .brand-copy, .environment-label { display: none; }
  .login-panel { padding: 3rem 1.4rem; }
  .account > span { display: none; }
  .status-row { grid-template-columns: 1fr; }
  .package-hero, .package-columns { grid-template-columns: 1fr; }
  .partner-topbar { align-items: flex-start; flex-direction: column; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-header { display: none; }
  .comparison-row > div + div { border-left: 0; }
  .change-label { border-top: 5px solid #092b3b; }
  .previous-value::before { content: "Previous"; display: block; margin-bottom: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
  .current-value::before { content: "Current"; display: block; margin-bottom: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
  .version-list > a { align-items: flex-start; flex-direction: column; }
  .publication-meta, .full-package-heading { align-items: flex-start; flex-direction: column; }
  .full-package-grid { grid-template-columns: 1fr; }
  .full-package-grid article.wide { grid-column: auto; }
  .partner-demo-header { align-items: flex-start; flex-direction: column; }
  .partner-visual-hero { grid-template-columns: 1fr; }
  .destination-art { min-height: 360px; grid-row: 1; }
  .partner-facts, .detail-cards { grid-template-columns: 1fr; }
  .package-jump-nav { top: 118px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .intro-section, .hotel-showcase, .inclusion-grid { grid-template-columns: 1fr; }
  .partner-itinerary summary { grid-template-columns: 60px 1fr; }
  .partner-itinerary summary small { grid-column: 2; }
  .partner-itinerary details p { margin-left: 0; }
  .partner-bottom-action { align-items: flex-start; flex-direction: column; }
  .editor-header { align-items: flex-start; flex-direction: column; }
  .editor-header-actions { width: 100%; flex-wrap: wrap; }
  .editor-header-actions > span { display: none; }
  .editor-layout { display: block; }
  .editor-sidebar { position: static; width: 100%; height: auto; padding: .7rem; border-right: 0; border-bottom: 1px solid #d7e0e1; }
  .editor-sidebar > .back-link, .editor-package-id, .editor-status-card { display: none; }
  .editor-tabs { display: flex; overflow-x: auto; }
  .editor-tabs button { flex: 0 0 auto; display: flex; white-space: nowrap; }
  .editor-workspace { padding-top: 1.5rem; }
  .editor-mobile-title { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
  .editor-mobile-title small { color: #79888d; }
  .editor-panel-heading, .form-grid, .inclusion-editor-grid, .upload-grid { grid-template-columns: 1fr; }
  .media-boundary-note { flex-direction: column; }
  .media-asset { grid-template-columns: 70px 1fr; }
  .media-asset > img, .media-file-icon { width: 70px; height: 58px; }
  .media-asset label, .media-sync-state, .media-asset > button { grid-column: 1 / -1; max-width: none; }
  .wordpress-media-payload { margin-left: 0; }
  .editor-panel-heading { flex-direction: column; }
  .editor-panel-actions { width: 100%; justify-content: flex-start; }
  .form-grid .wide { grid-column: auto; }
  .itinerary-editor-list article { grid-template-columns: 24px 50px 1fr; }
  .itinerary-editor-list .move-down { grid-column: 3; justify-self: start; }
  .publish-title-row, .publish-card-heading, .recipient-panel { align-items: flex-start; flex-direction: column; }
  .compact-change-list > div { grid-template-columns: 90px 1fr; }
  .compact-change-list > div b { display: none; }
  .compact-change-list > div strong { grid-column: 2; }
  .compact-change-list em { grid-column: 2; }
  .distribution-option { grid-template-columns: 22px 40px 1fr; }
  .option-status { grid-column: 3; justify-self: start; }
  .final-check-card, .result-status-grid { grid-template-columns: 1fr; }
}

.comparison-tour-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.comparison-tour-actions a { border: 1px solid #cbd7d5; padding: 9px 12px; color: #174b45; background: #fff; font-weight: 700; text-decoration: none; }
.email-demo-actions a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.new-package-empty { min-height: 180px; border: 1px dashed #b8c7c5; display: grid; place-content: center; justify-items: center; gap: 6px; color: #607270; background: #f8faf9; }
.new-package-empty strong { color: #24423f; }
.new-package-empty span { font-size: .82rem; }

.delivery-receipt { margin: 18px auto; max-width: 720px; padding: 14px; border: 1px solid #cbd7d5; background: #f8faf9; display: grid; gap: 7px; text-align: left; }
.delivery-receipt strong { font-size: .78rem; text-transform: uppercase; color: #607270; }
.delivery-receipt a { color: #17685d; font-size: .82rem; overflow-wrap: anywhere; }
/* Live section editor */
.editor-messages { display: grid; gap: .65rem; margin-bottom: 1rem; }
.editor-message { padding: .85rem 1rem; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: #334155; font-weight: 700; }
.editor-message.success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.editor-message.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.editor-repeat-list { display: grid; gap: 1rem; }
.editor-repeat-card { display: grid !important; gap: 1rem; padding: 1.15rem !important; border: 1px solid #dce4eb; border-radius: 14px; background: #fff; }
.repeat-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.repeat-card-head > div { display: flex; align-items: center; gap: .55rem; }
.repeat-card-head button { border: 1px solid #d2dce5; border-radius: 8px; padding: .45rem .65rem; background: #fff; color: #415466; cursor: pointer; }
.repeat-card-head .remove-row { color: #a52b2b; border-color: #efc4c4; }
.editor-repeat-card .form-grid { width: 100%; }
.media-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: 100%; padding: 1rem; border: 1px dashed #aebdca; border-radius: 12px; background: #f8fafc; }
.media-upload-grid label { display: grid; gap: .5rem; font-weight: 700; color: #34495e; }
.media-upload-grid input { width: 100%; font-weight: 400; }
.remove-check { display: inline-flex !important; align-items: center; gap: .45rem; margin-left: auto; color: #a52b2b; font-weight: 700; white-space: nowrap; }
.remove-check input { width: auto !important; }
.booking-controls-card { margin-top: 1rem; }
.access-control-check { display: flex !important; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1px solid #d8e2ea; border-radius: 10px; background: #f8fafc; }
.access-control-check input { width: auto !important; margin-top: .2rem; }
.access-control-check span { display: grid; gap: .15rem; }
.access-control-check small { color: #64748b; font-weight: 400; }
.publish-note-field { display: grid; gap: .55rem; font-weight: 700; color: #34495e; }
.publish-note-field textarea { width: 100%; border: 1px solid #cbd6df; border-radius: 10px; padding: .8rem; font: inherit; resize: vertical; }
.disabled-option { opacity: .72; cursor: not-allowed; }
@media (max-width: 760px) { .media-upload-grid { grid-template-columns: 1fr; } .repeat-card-head { align-items: flex-start; } }
/* Staff user management */
.staff-page { min-height: 100vh; background: #f3f6f8; color: #20303d; }
.staff-header-link { color: #dbe7ed; text-decoration: none; font-weight: 700; }
.staff-shell { width: min(1400px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 70px; }
.staff-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.staff-title h1, .staff-form-shell h1 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); }
.staff-title p, .staff-form-shell p { margin: 0; color: #657784; }
.staff-card { background: #fff; border: 1px solid #dfe7ec; border-radius: 16px; box-shadow: 0 12px 35px rgba(31,53,66,.07); padding: 22px; margin-bottom: 22px; }
.staff-card-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.staff-card-heading h2 { margin: 0; }
.staff-card-heading span { color: #71818d; }
.staff-table-wrap { overflow-x: auto; }
.staff-table { width: 100%; border-collapse: collapse; }
.staff-table th { text-align: left; color: #6b7d89; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px; border-bottom: 1px solid #dfe7ec; }
.staff-table td { vertical-align: top; padding: 15px 10px; border-bottom: 1px solid #edf1f4; }
.staff-table td:first-child { display: grid; gap: 4px; min-width: 190px; }
.staff-table td small { color: #71818d; }
.role-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e9eff3; font-weight: 800; font-size: .78rem; white-space: nowrap; }
.role-super_admin { background: #1f3948; color: #fff; }
.role-admin { background: #dbeafe; color: #1e40af; }
.role-editor { background: #dcfce7; color: #166534; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 7px; min-width: 360px; }
.staff-actions form { display: flex; gap: 5px; }
.staff-actions button, .staff-actions select { border: 1px solid #ccd8df; border-radius: 8px; background: #fff; padding: 7px 9px; font: inherit; font-size: .8rem; }
.staff-actions button { cursor: pointer; font-weight: 700; }
.staff-actions .danger-action { color: #a52525; border-color: #edc6c6; }
.muted-action { color: #8997a1; font-size: .85rem; }
.credential-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff8df; border: 1px solid #e8d182; border-radius: 16px; padding: 20px 22px; margin-bottom: 22px; }
.credential-card h2 { margin: 3px 0; }
.credential-card p { margin: 0; max-width: 700px; color: #6d5b25; }
.credential-value { display: flex; align-items: center; gap: 8px; }
.credential-value code { padding: 11px 13px; background: #fff; border: 1px solid #d9c36f; border-radius: 8px; font-size: 1rem; }
.credential-value button { border: 0; border-radius: 8px; background: #1f3948; color: #fff; padding: 11px 14px; font-weight: 800; cursor: pointer; }
.audit-list { display: grid; }
.audit-list article { display: grid; grid-template-columns: 150px minmax(180px,1fr) 2fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid #edf1f4; }
.audit-list time, .audit-list span { color: #71818d; }
.staff-form-shell { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 45px 0; }
.staff-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 25px; }
.staff-form label { display: grid; gap: 7px; font-weight: 800; }
.staff-form input, .staff-form select { width: 100%; border: 1px solid #cbd6dd; border-radius: 9px; padding: 11px; font: inherit; }
.staff-form label:first-of-type, .staff-form label:last-of-type, .staff-form-actions { grid-column: 1 / -1; }
.staff-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 15px; margin-top: 8px; }
.staff-form-actions a { color: #5c6f7b; }
.staff-form-actions button { border: 0; border-radius: 9px; background: #1f3948; color: #fff; padding: 12px 18px; font-weight: 800; cursor: pointer; }
.field-error { color: #a52525; font-size: .8rem; font-weight: 600; }
@media (max-width: 760px) { .staff-title,.credential-card { align-items: stretch; flex-direction: column; } .staff-form { grid-template-columns: 1fr; } .staff-form label,.staff-form label:first-of-type,.staff-form label:last-of-type,.staff-form-actions { grid-column: 1; } .audit-list article { grid-template-columns: 1fr; gap: 3px; } }
