/* Mohamed Nasser — contact hub */
:root {
  --bg: #0a0a0b;
  --panel: #131315;
  --panel-2: #1a1a1d;
  --field: #0f0f11;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #f4f4f5;
  --ink-2: #a8a8b0;
  --ink-3: #8a8a93;
  --accent: #ff5a36;
  --ok: #34d17a;
  --warn: #f2b134;
  --wa: #25d366;
  --primary-bg: #f4f4f5;
  --primary-ink: #0a0a0b;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px -18px rgba(0, 0, 0, .8);
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f4f2;
    --panel: #ffffff;
    --panel-2: #f7f7f5;
    --field: #fbfbfa;
    --line: rgba(10, 10, 11, .08);
    --line-2: rgba(10, 10, 11, .16);
    --ink: #0a0a0b;
    --ink-2: #4f4f57;
    --ink-3: #66666e;
    --accent: #d93d1a;
    --ok: #13894a;
    --warn: #a86a00;
    --wa: #128c4a;
    --primary-bg: #0a0a0b;
    --primary-ink: #ffffff;
    --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 12px 32px -20px rgba(10, 10, 11, .25);
    color-scheme: light;
  }
}
html[lang="ar"] { --font: "Readex Pro", "Geist", ui-sans-serif, system-ui, sans-serif; --mono: var(--font); }
.clock, .slot, .day, .picked b, .step-n, .tile-big, .done-ref b, .social a { font-variant-numeric: tabular-nums; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
  caret-color: var(--accent);
}
::selection { background: var(--accent); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
* { scrollbar-color: var(--line-2) transparent; scrollbar-width: thin; }
.i { width: 20px; height: 20px; flex: none; }
.i-lg { width: 24px; height: 24px; }
[dir="rtl"] .i-dir { transform: scaleX(-1); }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--primary-bg); color: var(--primary-ink); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* top bar */
.top {
  display: flex; align-items: center; gap: 12px; max-width: 1180px; margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 20px 6px;
}
.mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--primary-bg); color: var(--primary-ink); font-weight: 700; font-size: 13px; letter-spacing: .02em;
  text-decoration: none; font-family: "Geist", var(--font);
}
.clock { display: none; flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock b { color: var(--ink-2); font-weight: 500; }
.top-act { display: flex; gap: 8px; margin-inline-start: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.chip .i { width: 16px; height: 16px; }
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.icon-only { width: 36px; padding: 0; justify-content: center; }
html[lang="en"] .chip[data-lang] span { font-family: "Readex Pro", var(--font); }

/* layout */
.layout { max-width: 1180px; margin: 0 auto; padding: 10px 20px 40px; display: grid; gap: 28px; }
.profile { display: grid; gap: 14px; align-content: start; }
.portrait { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.portrait-img { display: none; }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); background: var(--panel); }
.profile { grid-template-columns: 88px 1fr; column-gap: 16px; }
.portrait { grid-row: 1; grid-column: 1; }
.id { grid-row: 1; grid-column: 2; align-self: center; }
.profile > :not(.portrait):not(.id) { grid-column: 1 / -1; }
h1 { font-size: 26px; line-height: 1.15; font-weight: 650; letter-spacing: -.025em; }
html[lang="ar"] h1 { letter-spacing: 0; font-weight: 600; }
.role { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); text-wrap: balance; }
.thesis { font-size: clamp(24px, 6.4vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; margin-top: 6px; }
html[lang="ar"] .thesis { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.sub { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; text-wrap: pretty; }
.status { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); min-height: 21px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.status.is-closed .dot { background: var(--warn); }

/* actions */
.actions { display: grid; gap: 10px; margin-top: 4px; }
.btn-book {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  width: 100%; min-height: 68px; padding: 12px 18px; border: 0; border-radius: var(--r-md);
  background: var(--primary-bg); color: var(--primary-ink); text-align: start;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-book > .i { grid-row: 1 / 3; width: 24px; height: 24px; }
.btn-book::after {
  content: ""; grid-row: 1 / 3; grid-column: 3; width: 18px; height: 18px;
  background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
[dir="rtl"] .btn-book::after { transform: scaleX(-1); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); }
.btn-book:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .75); }
.btn-book:active { transform: translateY(0) scale(.99); }
.bb-t { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.bb-s { font-size: 13px; opacity: .72; grid-column: 2; }
.bb-s .when { font-weight: 650; }
.bb-s.tick { animation: tick .6s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: .72; transform: none; filter: none; } }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.act {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; font-size: 14.5px; font-weight: 550;
  transition: border-color .2s, background .2s;
}
.act:hover { border-color: var(--line-2); background: var(--panel-2); }
.act-wa .i { color: var(--wa); }

/* blocks */
.flow { display: grid; gap: 28px; min-width: 0; }
.block > h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; margin: 0 0 14px; }
html[lang="ar"] .block > h2 { letter-spacing: 0; }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 168px;
  padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel);
  text-align: start; box-shadow: var(--shadow); overflow: hidden;
  transition: border-color .25s, transform .3s var(--ease), background .25s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--panel-2); }
.tile-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel-2); margin-bottom: 6px; }
.tile-ic .i { width: 18px; height: 18px; }
.tile-t { font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; }
.tile-p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.tile-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); transition: color .2s, gap .25s var(--ease); }
.tile-go .i { width: 15px; height: 15px; }
.tile:hover .tile-go { color: var(--ink); gap: 9px; }
.tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; width: 100%; }
.tile-big { font-size: 40px; line-height: .9; font-weight: 650; letter-spacing: -.05em; color: var(--ink); white-space: nowrap; }
.tile-big small { font-size: 12px; letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.tile-growth { grid-column: 1 / -1; min-height: 0; background: var(--panel-2); }
.tile-growth .tile-ic { color: var(--ink); border-color: var(--line-2); }
.tile-growth .tile-t { font-size: 18px; }
.tile-growth .tile-p { font-size: 14.5px; color: var(--ink-2); max-width: 52ch; }
.tile-ai { grid-column: 1 / -1; min-height: 0; }

/* panels + forms */
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.panel-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.panel-head > .i { margin-top: 3px; color: var(--ink-2); }
.panel-head h2 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
html[lang="ar"] .panel-head h2 { letter-spacing: 0; }
.panel-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 3px; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; font-size: inherit; }
.link:hover { text-decoration-color: currentColor; }
.form { display: grid; gap: 12px; }
.row2 { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.opt-l { color: var(--ink-3); font-weight: 400; }
input, select, textarea {
  width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--field); outline: none; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] select { background-position: 14px 21px, 19px 21px; }
[dir="rtl"] .tel select { background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
[aria-invalid="true"] { border-color: var(--accent) !important; }
.field > .err, .err { color: var(--accent); font-size: 12.5px; font-weight: 500; }
.tel { display: grid; grid-template-columns: 112px 1fr; gap: 8px; direction: ltr; }
.tel select { font-family: var(--mono); font-size: 14px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 20px;
  border-radius: 14px; border: 1px solid transparent; background: var(--primary-bg); color: var(--primary-ink);
  font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), opacity .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-wa { background: var(--wa); color: #062b14; }
.btn-wide { width: 100%; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.form-row .btn-ghost span { font-family: var(--mono); font-size: 13.5px; font-weight: 500; }
.form-msg { font-size: 14px; color: var(--ink-2); min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); display: flex; gap: 8px; align-items: center; }
.form-msg.bad { color: var(--accent); }
.form-msg .btn { margin-top: 10px; }
.form.is-done > :not(.form-msg) { display: none; }
.form.is-done .form-msg { font-size: 15.5px; color: var(--ink); padding: 6px 0; }
.form.is-done .form-msg .i { color: var(--ok); }

/* contact tabs */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); }
.tabs [role="tab"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 550; transition: background .2s, color .2s; }
.tabs [role="tab"] .i { width: 17px; height: 17px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.contact .form + .form { margin-top: 0; }

/* card */
.card { display: grid; gap: 20px; align-items: center; }
.card-text h2 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
.card-text p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.card-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 16px 0 0; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-family: var(--mono); }
.social a:hover { color: var(--ink); }
.social .i { width: 16px; height: 16px; }
.qr { justify-self: start; width: 148px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.qr svg { width: 100%; height: auto; }

.foot { max-width: 1180px; margin: 0 auto; padding: 8px 20px max(28px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: 13px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* toast */
.toast { position: fixed; inset-inline: 0; bottom: max(20px, env(safe-area-inset-bottom)); margin: 0 auto; width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: var(--primary-bg); color: var(--primary-ink); font-size: 14px; font-weight: 550; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); z-index: 100; }
.toast.show { opacity: 1; transform: none; }

/* booking sheet */
.sheet {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0;
}
.sheet::backdrop { background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] .sheet-in { animation: sheet-in .5s var(--ease); }
.sheet[open]::backdrop { animation: fade .3s ease-out; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.sheet-in {
  position: absolute; inset: auto 0 0 0; max-height: calc(100dvh - 24px); height: calc(100dvh - 24px); display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; overflow: hidden;
}
.sum { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
.sum img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sum-id { display: grid; min-width: 0; }
.sum-id b { font-size: 14.5px; }
.sum-id span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-list { display: none; }
.steps { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 0 18px max(20px, env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.sheet-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 0 10px; background: var(--bg); }
.sheet-ttl { flex: 1; min-width: 0; }
.sheet-ttl h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; outline: none; }
html[lang="ar"] .sheet-ttl h2 { letter-spacing: 0; }
.ib { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); flex: none; }
.ib:hover { border-color: var(--line-2); }
.ib[disabled] { opacity: .35; cursor: default; }
.prog-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.prog { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.step-n { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prog span { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .5s var(--ease); }
.step { animation: step-in .45s var(--ease); }
.step.back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .step { animation-name: step-back; }
[dir="rtl"] .step.back { animation-name: step-in; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 16px; text-align: start;
  border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, background .2s;
}
.opt:hover { border-color: var(--line-2); background: var(--panel-2); }
.opt[aria-pressed="true"] { border-color: var(--ink); }
.opt > .i { color: var(--ink-2); }
.opt b { display: block; font-weight: 600; font-size: 15px; }
.opt small { display: block; color: var(--ink-2); font-size: 13px; }
.opts-svc { grid-template-columns: 1fr 1fr; }
.opts-svc .opt { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 96px; }

.tzbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tz { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); min-width: 0; flex: 1; }
.tz .i { width: 16px; height: 16px; }
.tz span { white-space: nowrap; }
.tz select { height: 36px; font-size: 13px; padding-inline-start: 10px; font-family: var(--mono); max-width: 220px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.seg button { border: 0; background: transparent; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.cal-wrap { display: grid; gap: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-weight: 600; font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 11.5px; color: var(--ink-3); padding: 4px 0; }
.day {
  position: relative; aspect-ratio: 1; min-height: 40px; border-radius: 11px; border: 0; background: var(--panel-2);
  font-family: var(--mono); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
.day:hover:not([disabled]) { background: var(--line-2); }
.day[disabled] { background: transparent; color: var(--ink-3); opacity: .5; font-weight: 400; cursor: default; }
.day[aria-pressed="true"] { background: var(--primary-bg); color: var(--primary-ink); }
.day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.day.pad { visibility: hidden; }
.slots-day { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: 11px; border: 1px solid var(--line-2); background: transparent; font-family: var(--mono); font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--primary-bg); color: var(--primary-ink); border-color: var(--primary-bg); }
.slots-empty { color: var(--ink-2); font-size: 14px; }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 14px; }
.picked b { font-family: var(--mono); font-weight: 600; }
.picked .link { font-size: 13.5px; flex: none; }
#bkSubmit { position: sticky; bottom: 12px; z-index: 2; box-shadow: 0 -12px 24px 8px var(--bg); }
.done { display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.done-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.done-p { font-size: 17px; line-height: 1.5; max-width: 46ch; }
.done-ref { color: var(--ink-2); font-size: 14px; }
.done-ref b { color: var(--ink); font-family: var(--mono); }
.done-cal { display: flex; flex-wrap: wrap; gap: 8px; }
.done-cal .btn { height: 42px; font-size: 14px; padding: 0 14px; }

@media (min-width: 560px) {
  .clock { display: block; }
  .st-t { display: none; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .card { grid-template-columns: 1fr auto; }
  .opts-svc { grid-template-columns: repeat(3, 1fr); }
  .layout { padding-inline: 28px; }
  .top { padding-inline: 28px; }
}

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .tile { grid-column: span 2; }
  .tile-seo, .tile-ads { grid-column: span 3; min-height: 190px; }
  .tile-ai { grid-column: span 2; min-height: 168px; }
  .tile-growth { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding: 20px 22px; }
  .tile-growth .tile-ic { margin: 0; width: 44px; height: 44px; flex: none; }
  .tile-growth .tile-head { width: auto; flex: none; }
  .tile-growth .tile-t { flex: 0 0 auto; max-width: 15ch; }
  .tile-growth .tile-p { flex: 1 1 0; min-width: 0; max-width: 52ch; }
  .tile-growth .tile-go { margin: 0 0 0 auto; padding: 0; white-space: nowrap; }
  [dir="rtl"] .tile-growth .tile-go { margin: 0 auto 0 0; }
  .tile-big { font-size: 56px; }
  .sheet-in {
    inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(960px, calc(100% - 48px)); height: min(680px, calc(100dvh - 48px));
    border-radius: 24px; border-bottom: 1px solid var(--line); flex-direction: row; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9);
  }
  [dir="rtl"] .sheet-in { transform: translate(50%, -50%); inset: 50% 50% auto auto; }
  @keyframes sheet-in { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
  .sum { flex-direction: column; align-items: flex-start; width: 270px; flex: none; border-bottom: 0; border-inline-end: 1px solid var(--line); padding: 26px 22px; gap: 14px; }
  .sum img { width: 56px; height: 56px; }
  .sum-id b { font-size: 16px; }
  .sum-id span { white-space: normal; }
  .sum.has-rows .sum-id span { display: none; }
  .sum-list { display: grid; gap: 14px; margin: 8px 0 0; width: 100%; }
  .sum-list div { display: grid; gap: 2px; }
  .sum-list dt { font-size: 12px; color: var(--ink-3); }
  .sum-list dd { margin: 0; font-size: 14px; font-weight: 550; }
  .steps { padding: 0 28px 28px; }
  .sheet-bar { padding-top: 22px; }
  .cal-wrap { grid-template-columns: 1fr 200px; align-items: start; }
  .slot-list { grid-template-columns: 1fr; max-height: 420px; overflow-y: auto; padding-inline-end: 4px; }
}

@media (min-width: 980px) {
  .layout { grid-template-columns: 372px minmax(0, 1fr); gap: 48px; padding-top: 18px; padding-bottom: 56px; }
  .profile { position: sticky; top: 20px; grid-template-columns: 1fr; }
  .portrait, .id { grid-column: 1; grid-row: auto; }
  .portrait { display: block; position: relative; grid-row: 1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .portrait::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(6, 6, 7, .88), rgba(6, 6, 7, 0)); }
  .portrait-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .avatar { display: none; }
  .id { grid-row: 1; align-self: end; position: relative; z-index: 1; padding: 0 22px 20px; color: #fff; }
  .id .role { color: rgba(255, 255, 255, .78); }
  .profile { gap: 12px; }
  .thesis { margin-top: 8px; }
  h1 { font-size: 30px; }
  .thesis { font-size: 26px; }
  .flow { gap: 36px; padding-top: 4px; }
  .block > h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
