/* Public pages share the seal masthead and spacing of the idea island. */
.island-masthead, .island-entry, .island-price { width: min(calc(100% - 80px), 1240px); margin-inline: auto; }
.island-masthead { min-height: 88px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line-2); }
.island-tools { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.island-tools a:hover, .island-price-tools a:hover, .island-auth-actions > a:not(.nb-btn):hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.island-entry { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(32px,5vw,84px); min-height: calc(100svh - 128px); padding-block: clamp(60px,8vw,120px); }
.island-intro h1 { font: 650 clamp(46px,4.7vw,72px)/1.14 var(--font-sans); color: var(--ink); letter-spacing: -.055em; }
.island-intro p { margin: 20px 0 32px; max-width: 25em; font-size: 16px; color: var(--muted); line-height: 1.8; }
.island-intro .nb-btn { gap: 28px; height: 48px; padding-inline: 19px; font-size: 15px; }
.island-example { min-width: 0; margin: 0; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); padding: 10px; }
.island-example figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 10px 16px; }
.island-example h2 { font-size: 15px; font-weight: 650; }
.island-example figcaption code { font: 12px var(--font-mono); color: var(--muted); }
.island-editor { overflow: hidden; background: #232127; color: #f5f2ed; border-radius: var(--r-sm); }
.island-editor-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #44404a; }
.island-editor-bar > div { display: flex; gap: 3px; }
.island-editor button { min-height: 30px; padding: 4px 9px; border-radius: var(--r-xs); color: #d7d1dc; font: 500 12px/1.4 var(--font-mono); }
.island-editor button:hover, .island-editor button[aria-pressed=true] { background: #403b45; color: white; }
.island-editor pre { display: grid; align-content: center; min-height: 194px; margin: 0; padding: 24px 20px; font: 13px/1.8 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.island-editor pre b { color: #dfbee9; font-weight: 550; }
.island-editor pre em { font-style: normal; color: #b6d9c1; }
.island-example > p { padding: 13px 10px 5px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.compute-island .auth-page { min-height: calc(100svh - 94px); padding: 48px 16px 88px; }
.compute-island .auth-card { max-width: 420px; }
.compute-island .auth-card__body { padding: 32px; }
.island-auth-seal { margin-bottom: 24px; }
.compute-island .auth-title { font-size: 27px; letter-spacing: -.035em; margin-bottom: 8px; }
.island-auth-help { margin: 0 0 24px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.island-auth-actions { display: grid; gap: 10px; }
.island-auth-actions > a:not(.nb-btn) { justify-self: center; padding: 8px; font-size: 13px; color: var(--muted); }
.island-auth-actions label { font-size: 13px; font-weight: 600; }
.island-auth-actions .nb-btn, .island-secret { min-height: 44px; }
.island-secret { display: flex; align-items: stretch; gap: 6px; }
.island-secret input { width: 100%; font-family: var(--font-mono); }
.island-secret button { flex: none; color: var(--muted); font-size: 12px; padding: 4px 8px; }
.island-price { max-width: 1100px; padding-block: 48px 72px; }
.island-price h1 { font-size: clamp(32px,4vw,46px); line-height: 1.2; letter-spacing: -.045em; }
.island-price header p, .island-price details p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.island-price-tools { margin: 28px 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.island-price-tools input { width: min(60%,300px); }
.island-price-tools a { font-size: 13px; font-weight: 550; }
.island-price-table { overflow-x: auto; }
.island-price-table th[scope=row] { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 550; }
.island-price-table th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.island-price-table .nb-table :is(td,th):nth-child(n+3) { text-align: right; white-space: nowrap; }
#price-empty { padding: 24px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .island-masthead, .island-entry, .island-price { width: min(calc(100% - 36px), 600px); }
  .island-masthead { min-height: 68px; }
  .island-tools { gap: 12px; }
  .island-entry { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 32px; padding-block: 40px; }
  .island-intro p { margin: 16px 0 22px; }
  .island-editor pre { min-height: 152px; padding: 18px 12px; font-size: 12px; }
  .island-editor button { min-height: 38px; }
  .island-editor-bar { padding: 4px 8px; }
  .compute-island .auth-page { min-height: calc(100svh - 68px); }
  .compute-island .auth-card__body { padding: 24px; }
  .island-price { padding-block: 32px; }
}
