:root {
  font: 100%/1.5 system-ui, -apple-system, sans-serif;
  color: #122039;
  background: #f5f7fa;
  --blue: #2849cc;
  --border: #dce3ed;
  --muted: #536078;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #5574f4; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 1.19rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.shell { width: min(100% - 36px, 1024px); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--border); }
.bar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: inherit; font-weight: 800; font-size: 1.15rem; letter-spacing: -.04em; text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 36px; height: 36px; background: var(--blue); color: #fff; border-radius: 10px; font-size: 1.55rem; line-height: 1; padding-bottom: 3px; }
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 211px; margin-block: 26px 22px; border-radius: 22px; padding: clamp(22px, 5vw, 48px); background: #142450; color: white; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.35rem); line-height: 1.02; letter-spacing: -.062em; }
.hero p { color: #dbe3ff; margin-top: 14px; max-width: 32rem; }
.hero-art { position: absolute; z-index: -1; width: 350px; height: 340px; top: -62px; right: -8px; opacity: .75; transform: rotate(-17deg); background: repeating-linear-gradient(90deg, transparent 0 42px, #324984 43px 45px), repeating-linear-gradient(0deg, transparent 0 48px, #324984 49px 51px); mask-image: linear-gradient(90deg, transparent, black 46%); }
.hero-art span { position: absolute; inset: 90px 70px 118px 97px; border: 4px solid #7f9bff; border-left: 0; border-bottom: 0; border-radius: 0 24px 0 0; }
.hero-art i, .hero-art b { position: absolute; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 5px solid #7998ff; }
.hero-art i { left: 90px; top: 83px; }
.hero-art b { right: 63px; bottom: 111px; }
.workspace { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.stack, .form { display: grid; gap: 13px; align-content: start; min-width: 0; }
.stack { gap: 18px; }
.card { min-width: 0; padding: 21px; border: 1px solid var(--border); border-radius: 17px; background: #fff; box-shadow: 0 3px 10px #14245006; }
.card > h2 { margin-bottom: 14px; }
.section-heading, .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.section-heading { justify-content: space-between; }
.actions { justify-content: flex-end; }
label { display: block; font-size: .9rem; font-weight: 650; }
input:not([type=file]), select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; min-height: 46px; color: inherit; background: #fff; border: 1px solid #c8d2e3; border-radius: 9px; font-size: 1rem; }
.duration { min-width: 0; margin: 0; padding: 0; border: 0; }
.duration legend { padding: 0; font-size: .9rem; font-weight: 650; }
.duration-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block: 6px; }
.duration select { appearance: none; padding-right: 32px; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 16px center / 5px 5px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 11px center / 5px 5px no-repeat #fff; }
input::placeholder { color: #68758c; }
.primary, .secondary, .text-button { min-height: 44px; padding: 9px 14px; border-radius: 9px; font-size: .9rem; font-weight: 680; }
.primary { background: var(--blue); color: white; border: 1px solid var(--blue); }
.primary:hover { background: #203baa; }
.secondary { border: 1px solid #ccd7ee; background: #f7f9ff; color: #243d9b; }
.secondary:hover { background: #edf1ff; }
.location { justify-self: start; }
.location span { margin-right: 4px; }
.small { padding-inline: 11px; }
.listing { list-style: none; padding: 0; margin: 0; }
.listing li { padding-block: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8edf5; overflow-wrap: anywhere; }
.listing li:last-child { border-bottom: 0; padding-bottom: 0; }
.row-label { min-width: 0; }
.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; gap: 2px; }
.text-button { background: none; color: var(--blue); border: 0; padding-inline: 7px; }
.text-button:hover { text-decoration: underline; }
.muted, .note, .empty, footer { color: var(--muted); font-size: .875rem; }
.note:not(:empty), .empty { margin-top: 12px; }
.empty { border: 1px dashed #d3dced; border-radius: 10px; padding: 16px; background: #f8faff; }
.attribution { color: #4b4b4b; font-size: .875rem; white-space: nowrap; }
.metrics { text-align: right; flex-shrink: 0; }
footer { padding-block: 16px 25px; }
footer span { padding-inline: 3px; }
dialog { width: min(100% - 32px, 450px); max-height: calc(100% - 32px); border: 1px solid var(--border); border-radius: 18px; padding: 22px; color: inherit; box-shadow: 0 18px 65px #14245040; }
dialog::backdrop { background: #111d3970; }
.notice { padding: 12px 14px; margin-bottom: 14px; border-radius: 9px; }
.warning { background: #fff4d6; color: #634510; }
.toast { position: fixed; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 11px; background: #15244a; color: #fff; box-shadow: 0 4px 20px #14245030; }
@media (max-width: 700px) {
  .workspace { grid-template-columns: 1fr; }
  .hero { margin-top: 17px; min-height: 174px; }
  .hero-art { right: -160px; opacity: .36; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .card { padding: 15px; }
}
.invite-shell { width: min(100% - 36px, 440px); padding-top: clamp(36px, 12vh, 128px); }
.invite-shell h1 { margin-bottom: 18px; letter-spacing: -.045em; }
