/* Hand-authored site components;
   loaded after the existing generated Tailwind CSS. */
:root {
  --ink:#17263d;
  --muted:#526176;
  --brand:#4538c7;
  --line:#dce3ee;
  --tint:#f1f3fc;
  --teal:#176d62}

html {
  scroll-behavior:smooth;
  scroll-padding-top:1.5rem}
body {
  color:var(--ink);
  background:#f5f7fb;
  background-image:linear-gradient(150deg,#f0f5fc,#f8f7fc);
  line-height:1.6}
a,button,input,select,textarea {
  touch-action:manipulation}
a,button {
  transition:background-color .15s,border-color .15s}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #6655e4;
  outline-offset:4px}
button:disabled {
  opacity:.6}
input,select,textarea {
  font:inherit}
input[type=date] {
  min-width:0;
  min-height:48px}
input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #b8b0f0;
  outline-offset:2px}
input[aria-invalid=true],textarea[aria-invalid=true] {
  border-color:#b42318}
.field {
  min-height:48px;
  border-radius:10px}
button,.btn-secondary {
  min-height:44px}
header {
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line)}
header nav {
  max-width:1100px!important;
  gap:1rem!important}
header nav>div {
  gap:.3rem!important}
.nav-link {
  display:inline-flex;
  align-items:center;
  min-height:44px}
.skip-link {
  position:fixed;
  top:-100px;
  left:1rem;
  z-index:20;
  background:var(--ink);
  color:#fff;
  padding:.7rem 1rem;
  border-radius:8px}
.skip-link:focus {
  top:1rem}
main>div>div.rounded-xl {
  border:1px solid #e2e7f0;
  border-radius:20px;
  box-shadow:0 12px 35px #17263d08}
main>div.max-w-2xl {
  max-width:760px}
h1 {
  letter-spacing:-.035em;
  line-height:1.2}
main h1.text-2xl {
  font-size:clamp(1.8rem,4vw,2.4rem)}
#gratuityForm {
  border-top:1px solid var(--line);
  padding-top:1.5rem}
#calculateBtn {
  border-radius:10px;
  min-height:52px;
  background:var(--brand)}
#calculateBtn:hover {
  background:#3426a7}
.calculator-privacy {
  text-align:center;
  color:var(--teal);
  font-size:.8rem;
  font-weight:600;
  margin:-.5rem 0 1.5rem}
.privacy-note {
  font-size:.8rem;
  color:var(--muted);
  margin-top:1rem!important;
  line-height:1.6}
.privacy-note a {
  text-decoration:underline}
.text-button {
  color:var(--brand);
  font-size:.85rem;
  text-decoration:underline;
  background:transparent;
  padding:.4rem 0}
.share-note {
  font-size:.75rem;
  color:var(--muted);
  margin-top:1rem}
#result {
  border:1px solid #d7d2f5;
  border-radius:14px;
  background:linear-gradient(130deg,#f2f0ff,#f7f9ff);
  padding:1.5rem}
#gratuityAmount {
  font-variant-numeric:tabular-nums;
  font-size:clamp(1.9rem,6vw,2.5rem);
  overflow-wrap:anywhere;
  color:#4032bc}
#result:focus {
  outline:3px solid #b8b0f0;
  outline-offset:3px}
.next-steps {
  margin:2.5rem 0;
  border-top:1px solid var(--line);
  padding-top:1.75rem}
.eyebrow {
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.13em;
  color:var(--teal);
  margin-bottom:.5rem}
.next-steps h2 {
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:-.025em;
  margin-bottom:1rem}
.resource-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem}
.resource-card {
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:12px;
  padding:1rem;
  color:var(--ink);
  text-decoration:none!important;
  background:#fff;
  min-width:0}
.resource-card:hover {
  border-color:#a79ce5;
  background:#faf9ff}
.card-index {
  color:#7a8496;
  font-size:.7rem;
  font-weight:600;
  margin-bottom:.8rem}
.resource-card h2,.resource-card h3 {
  font-size:1rem;
  font-weight:700;
  line-height:1.4;
  margin:0 0 .4rem}
.resource-card p {
  font-size:.85rem;
  color:var(--muted);
  margin-bottom:1rem;
  line-height:1.5}
.card-action {
  font-size:.75rem;
  color:var(--brand);
  font-weight:600;
  margin-top:auto}
.guide-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:1.5rem}
.source-box {
  margin:2rem 0 1rem;
  border-top:1px solid var(--line);
  padding-top:1.25rem;
  color:var(--muted);
  font-size:.8rem}
.source-box h2 {
  font-size:.9rem;
  font-weight:700;
  margin:0 0 .5rem}
.source-box p {
  margin:.5rem 0}
.source-box a,.article-disclaimer a {
  text-decoration:underline;
  color:var(--brand)}
.article-disclaimer {
  font-size:.8rem;
  color:var(--muted);
  padding-top:1rem}
.guide-main {
  width:100%;
  flex:1;
  padding:2.5rem 1rem}
.guide-article {
  max-width:800px;
  margin:auto;
  padding:2rem 2.5rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 10px 30px #17263d05}
.guide-article h1 {
  font-size:clamp(1.8rem,4vw,2.5rem);
  font-weight:750;
  margin:.6rem 0}
.breadcrumbs {
  font-size:.8rem;
  color:var(--muted);
  margin-bottom:1.75rem}
.breadcrumbs a {
  text-decoration:underline}
.updated {
  font-size:.75rem;
  color:var(--muted);
  margin-bottom:1.5rem!important}
.lead {
  font-size:1.08rem!important;
  line-height:1.75!important;
  color:#3b4b62!important}
.notice {
  background:#fff8e8;
  border:1px solid #eadfbe;
  border-radius:10px;
  padding:1rem;
  font-size:.85rem;
  color:#624a20;
  margin:1rem 0}
.tool-form {
  background:#f7f8fc;
  border:1px solid var(--line);
  padding:1.25rem;
  border-radius:12px;
  margin:1.5rem 0}
.tool-form label {
  display:block;
  font-size:.85rem;
  font-weight:600;
  margin-bottom:.3rem}
.tool-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem}
.tool-grid>div {
  min-width:0}
.primary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:var(--brand);
  color:#fff!important;
  font-size:.9rem;
  font-weight:650;
  text-decoration:none!important;
  padding:.75rem 1rem;
  min-height:48px}
.primary-button:hover {
  background:#3426a7}
.tool-form>.primary-button {
  margin-top:1.25rem;
  width:100%}
.tool-error {
  color:#9e2119;
  background:#fff0ee;
  padding:.7rem;
  border-radius:6px;
  margin-top:1rem}
.tool-result {
  background:var(--tint);
  border:1px solid #d7d2f5;
  border-radius:12px;
  padding:1.25rem;
  margin:1rem 0;
  overflow-wrap:anywhere}
.tool-result h2 {
  font-size:1.2rem;
  font-weight:700;
  margin:0 0 .5rem}
.tool-result .amount {
  font-size:1.9rem;
  font-weight:750;
  color:var(--brand);
  font-variant-numeric:tabular-nums}
.tool-result p {
  font-size:.9rem;
  margin-top:.5rem}
.tool-result table {
  width:100%;
  font-size:.8rem;
  margin-top:1rem}
.tool-result th,.tool-result td {
  text-align:left;
  padding:.5rem;
  border-bottom:1px solid var(--line)}
.checklist-progress {
  padding:.7rem 1rem;
  background:#edf7f3;
  color:#176d62;
  border-radius:8px;
  font-size:.85rem;
  font-weight:600;
  margin:1rem 0}
.departure-checklist section {
  margin-bottom:1.5rem}
.departure-checklist h2 {
  font-size:1.2rem;
  font-weight:700;
  margin:1.5rem 0 .7rem}
.check-item {
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  padding:.8rem 0;
  border-bottom:1px solid #edf0f5;
  font-size:.9rem;
  cursor:pointer}
.check-item input {
  width:20px;
  height:20px;
  accent-color:var(--teal);
  flex-shrink:0;
  margin-top:.2rem}
.check-item:has(input:checked) span {
  color:#627365;
  text-decoration:line-through}
.product-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin:1.5rem 0}
.product-card {
  border:1px solid var(--line);
  border-radius:12px;
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  min-width:0}
.home-products {
  border-top:1px solid var(--line);
  margin:2rem 0;
  padding-top:1.5rem}
.home-products h2 {
  font-size:1.4rem;
  line-height:1.3;
  font-weight:700;
  margin:.4rem 0 .75rem}
.products-intro {
  color:var(--muted);
  font-size:.9rem;
  margin-bottom:1rem}
.packing-guide-link {
  display:inline-block;
  color:var(--brand);
  font-size:.9rem;
  font-weight:600;
  text-decoration:underline;
  padding:.5rem 0}
.product-card h3 {
  font-weight:700;
  font-size:1rem;
  margin-bottom:.5rem}
.product-card p {
  font-size:.85rem;
  color:var(--muted);
  margin-bottom:1rem}
.product-card a:not(.product-image-link) {
  margin-top:auto;
  padding:.7rem .8rem;
  border:1px solid #c5bdf0;
  border-radius:8px;
  color:var(--brand);
  text-align:center;
  font-size:.85rem;
  font-weight:600;
  min-height:44px}
.product-card .product-image-link {
  display:block;
  width:100%;
  aspect-ratio:1;
  padding:.5rem;
  margin-bottom:1rem;
  border-radius:8px;
  overflow:hidden;
  background:#fff}
.product-image-link:hover {
  box-shadow:0 0 0 2px #c5bdf0}
.product-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain}
.affiliate-disclosure {
  font-size:.8rem!important;
  color:var(--muted)!important;
  background:#f7f8fb;
  padding:1rem;
  border-radius:8px}
.sponsor-card {
  border:1px solid var(--line);
  border-radius:12px;
  padding:1.25rem;
  margin:1.5rem 0;
  background:#fafbfe}
.sponsor-card h2 {
  font-size:1.2rem;
  font-weight:700}
.sponsor-card a {
  display:inline-flex;
  color:var(--brand);
  font-weight:600;
  text-decoration:underline;
  margin-top:.7rem}
.template-box {
  background:#f7f8fc;
  border:1px solid var(--line);
  padding:1rem;
  border-radius:10px}
.template-box h3 {
  font-weight:700;
  margin-bottom:1rem}
.template-box pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-family:inherit;
  font-size:.85rem;
  line-height:1.7;
  margin-bottom:1rem}
.comparison-table {
  overflow-x:auto;
  margin:1.25rem 0}
.comparison-table table {
  width:100%;
  font-size:.85rem}
.comparison-table th,.comparison-table td {
  padding:.8rem;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top}
.comparison-table th {
  background:#f5f6fc}
textarea.field {
  line-height:1.7;
  resize:vertical}
footer>div {
  max-width:1100px!important}
footer a {
  min-height:32px;
  display:inline-flex;
  align-items:center}
.article>p a {
  overflow-wrap:anywhere}
[hidden] {
  display:none!important}

@media(max-width:640px) {
  header nav {
  padding:.8rem 1rem!important}
header nav>a {
  font-size:.95rem}
.nav-link {
  font-size:.8rem;
  padding:.3rem .5rem}
.resource-grid {
  grid-template-columns:1fr}
.resource-card {
  padding:1.1rem}
.card-index {
  margin-bottom:.4rem}
.guide-main {
  padding:1rem .75rem}
.guide-article {
  padding:1.5rem 1.2rem;
  border-radius:13px}
.tool-grid,.product-grid {
  grid-template-columns:1fr}
.guide-grid {
  grid-template-columns:1fr}
.tool-form {
  padding:1rem}
.comparison-table table {
  min-width:480px}
#result {
  padding:1.1rem}
#result .btn-secondary {
  flex:1 1 auto}
.source-box {
  overflow-wrap:anywhere}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*::before,*::after {
  scroll-behavior:auto!important;
  transition:none!important}
}

@media print {
  header,footer,.skip-link,.no-print,.source-box,.article-disclaimer,.affiliate-disclosure,.product-grid,.sponsor-card {
  display:none!important}
body,main,.guide-main {
  background:#fff!important;
  padding:0!important}
main>div>div.rounded-xl,.guide-article {
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  max-width:none!important}
#result,.tool-result {
  background:#fff!important;
  border:1px solid #bbb!important;
  color:#111!important;
  break-inside:avoid}
#result * {
  color:#111!important}
.guide-article h1 {
  font-size:24pt}
.check-item {
  break-inside:avoid}
.tool-result table {
  font-size:9pt}
.print-heading {
  display:block!important}
}

