/* =====================================================================
   Landsman 2026 — luxury real-estate look (loaded after styles.css)
   charcoal · mustard-gold (from the logo) · white, with stone greys
   ===================================================================== */
:root {
  --gold: #f2b32e;
  --gold-hi: #f7c552;
  --gold-deep: #d99a17;
  --gold-soft: #fdf3dc;
  --charcoal: #1b1a17;
  --stone: #f5f3ee;
  --stone-2: #ebe7de;
  --ink: #1b1a17;
  --muted: #6f6a60;
  --line: #e6e1d6;
  --yellow: var(--gold);
  --yellow-dark: var(--gold-deep);
  --yellow-soft: var(--gold-soft);
  --black: var(--charcoal);
  --info-bg: #fdf6e6;
  --info-line: #efd79b;
  --info-text: #4a3a12;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --shadow-1: 0 1px 2px rgba(27, 26, 23, .06), 0 2px 8px rgba(27, 26, 23, .06);
  --shadow-2: 0 6px 18px rgba(27, 26, 23, .12), 0 2px 4px rgba(27, 26, 23, .06);
  --font: "Heebo", "Assistant", Arial, "Segoe UI", sans-serif;
  --radius: 18px;
}
body { background: var(--stone); color: var(--ink); font-family: var(--font); }
::selection { background: var(--gold); color: var(--charcoal); }

/* ---- sidebar / drawer: charcoal with gold ---- */
.drawer { background: linear-gradient(180deg, var(--charcoal) 0%, #23211d 100%); color: #f1ede4; box-shadow: -12px 0 40px rgba(0,0,0,.25); }
.drawer .menu-toggle { color: #f1ede4; }
.drawer .logo-box { width: 86%; aspect-ratio: 1.8 / 1; background: var(--gold); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.logo-box img { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.drawer .office-title { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.drawer .me-line { color: var(--gold-hi); text-align: center; opacity: 1; margin: -10px 0 14px; }
.drawer nav { border-top: 1px solid rgba(255,255,255,.08); padding: 10px; }
.drawer nav a { color: #e9e4d8; border-radius: 14px; padding: 11px 16px; gap: 14px; font-size: 16px; font-weight: 500; margin: 2px 0;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); position: relative; overflow: hidden; }
.drawer nav a svg.i { font-size: 22px; color: var(--gold); stroke-width: 2; transition: transform .3s var(--ease); }
.drawer nav a:hover { background: rgba(242, 179, 46, .10); color: #fff; box-shadow: none; transform: translateX(-3px); }
.drawer nav a:hover svg.i { transform: rotate(-8deg) scale(1.08); }
.drawer nav a.active { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); color: var(--charcoal); font-weight: 700; box-shadow: 0 6px 18px rgba(242,179,46,.28); }
.drawer nav a.active svg.i { color: var(--charcoal); }
.drawer nav a .count { background: rgba(255,255,255,.10); color: #f1ede4; border-radius: 999px; min-width: 26px; padding: 1px 8px; text-align: center; font-size: 12px; font-weight: 700; }
.drawer nav a.active .count { background: rgba(27,26,23,.18); color: var(--charcoal); }
.drawer .art { border-top: 1px solid rgba(255,255,255,.08); opacity: .55; }
.drawer-foot a, .drawer-foot .ver { color: #cfc8b8; }
.drawer-foot a svg.i { color: var(--gold); }
.overlay { background: rgba(20, 19, 16, .45); backdrop-filter: blur(2px); }

/* ---- headers ---- */
.topbar { padding: 22px 18px 6px; }
.brand h1 { font-weight: 800; font-size: 32px; letter-spacing: -.5px; color: var(--charcoal); }
.brand h1 .dot { color: var(--gold); }
.brand p { color: var(--muted); font-size: 13.5px; }
.pagebar { padding: 20px 18px 8px; }
.pagebar .title h1 { font-weight: 800; font-size: 30px; letter-spacing: -.3px; box-shadow: inset 0 -0.28em 0 rgba(242,179,46,.55); }
.pagebar .title p { color: var(--muted); }
.pagebar .back { color: var(--charcoal); border-radius: 12px; transition: background .2s var(--ease); }
.pagebar .back:hover { background: var(--stone-2); }
.avatar { background: var(--charcoal); color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }

/* ---- buttons: lift, glow, sheen, press, ripple, icon motion ---- */
.pill, .btn, .tb-btn, .share-grid button, .share-grid a, .seg button { position: relative; overflow: hidden; isolation: isolate; }
.pill.fab { position: fixed; } /* the floating "show agreement" button must stay fixed */
.pill {
  border: 1px solid var(--line); background: #fff; color: var(--charcoal); font-weight: 600; font-size: 18px;
  border-radius: 16px; min-height: 58px; box-shadow: var(--shadow-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}
.pill svg.i { color: var(--gold-deep); font-size: 20px; transition: transform .35s var(--ease); }
.pill::after, .btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(120%); transition: transform .7s var(--ease);
}
.pill:hover, .btn:hover { transform: translateY(-2px); }
.pill:hover::after, .btn:hover::after { transform: translateX(-120%); }
.pill:hover { border-color: var(--gold); box-shadow: 0 10px 24px rgba(27,26,23,.12), 0 0 0 4px rgba(242,179,46,.14); }
.pill:hover svg.i, .btn:hover svg.i { transform: rotate(-10deg) translateY(-1px) scale(1.1); }
.pill:active, .btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.pill:focus-visible, .btn:focus-visible, .tb-btn:focus-visible, .seg button:focus-visible, .drawer nav a:focus-visible, .tile:focus-visible { outline: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold); }
.pill.blue { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-deep)); border-color: transparent; color: var(--charcoal); }
.pill.blue svg.i { color: var(--charcoal); }
.pill.blue:hover { box-shadow: 0 12px 28px rgba(217,154,23,.35), 0 0 0 4px rgba(242,179,46,.18); }
.pill.green { background: linear-gradient(135deg, #34312b, var(--charcoal)); border-color: transparent; color: var(--gold-hi); }
.pill.green svg.i { color: var(--gold); }
.pill.green:hover { box-shadow: 0 12px 28px rgba(27,26,23,.35), 0 0 0 4px rgba(242,179,46,.16); }
.pill.big { font-size: 22px; min-height: 74px; border-radius: 20px; font-weight: 700; }
.btn { border: 1px solid var(--line); background: #fff; color: var(--charcoal); border-radius: 12px; font-weight: 500;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.btn:hover { border-color: var(--gold); box-shadow: 0 6px 16px rgba(27,26,23,.10); }
.btn svg.i { transition: transform .35s var(--ease); }
.btn.solid { background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep)); border-color: transparent; color: var(--charcoal); font-weight: 700; }
.btn.green { background: var(--charcoal); color: var(--gold-hi); border-color: var(--charcoal); }
.btn.danger { border-color: #f0c8c4; color: #b42318; }
.btn.danger:hover { border-color: #b42318; background: #fff6f5; }
.pill:disabled, .btn:disabled { transform: none !important; box-shadow: none !important; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: currentColor; opacity: .18; transform: scale(0); animation: ripple .65s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---- home ---- */
.home-actions { padding: 26px 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ask { padding: 30px 18px 0; }
.ask label { font-size: 17px; font-weight: 600; color: var(--charcoal); }
.searchbar { border: 1px solid var(--line); border-radius: 18px; height: 58px; box-shadow: var(--shadow-1); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,179,46,.18), var(--shadow-1); }
.searchbar svg.i { color: var(--gold-deep); }
.results { margin: 12px 18px 0; }
.result { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.result:hover { transform: translateY(-1px); border-color: var(--gold); }
.result .k { background: var(--charcoal); color: var(--gold-hi); }
.tiles { padding: 34px 18px 10px; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 10px 16px; box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.tile .circle { width: 74px; height: 74px; border: 0; background: var(--charcoal); color: var(--gold); box-shadow: 0 8px 20px rgba(27,26,23,.22); transition: transform .35s var(--ease); position: relative; overflow: hidden; }
.tile:hover .circle { transform: rotate(-6deg) scale(1.05); }
.tile .circle svg.i { font-size: 32px; }
.tile .lbl { font-size: 17px; font-weight: 600; margin-top: 12px; }
.tile .num { font-size: 22px; font-weight: 800; color: var(--charcoal); margin-top: 4px; }

/* ---- "new agreement" groups as cards ---- */
.groups { padding: 6px 18px 30px; display: grid; gap: 16px; }
.group { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px; box-shadow: var(--shadow-1); }
.group h2 { font-size: 20px; font-weight: 800; margin: 0 4px 14px; display: flex; align-items: center; gap: 10px; }
.group h2::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(var(--gold-hi), var(--gold-deep)); }
.group .stack { padding: 0; gap: 10px; display: grid; grid-template-columns: 1fr; }
.group .pill { min-height: 56px; font-size: 17px; justify-content: flex-start; padding: 12px 18px; }

/* ---- forms ---- */
.block-title { font-size: 19px; font-weight: 700; }
.picker { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-1); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.picker:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,179,46,.16); }
.picker input { font-size: 17px; }
.picker .pbtn { border-radius: 12px; transition: background .2s var(--ease); }
.picker .pbtn:hover { background: var(--gold-soft); }
.field .ctl { border: 1px solid #d9d3c6; border-radius: 14px; font-size: 18px; min-height: 56px; box-shadow: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field .ctl:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,179,46,.18); }
.field textarea.ctl { font-size: 16px; }
.section-head { border-bottom: 1px solid var(--line); font-size: 18px; }
.chip { border: 1px solid var(--gold); background: #fff; box-shadow: var(--shadow-1); border-radius: 16px; }
.info { border-radius: 14px; box-shadow: none; }
.seg { border: 1px solid var(--line); background: #fff; padding: 4px; gap: 4px; box-shadow: var(--shadow-1); }
.seg button { border-radius: 999px; transition: background .25s var(--ease), color .25s var(--ease); }
.seg button.on { background: var(--charcoal); color: var(--gold-hi); }
.steps .st.cur { background: var(--charcoal); color: var(--gold-hi); }
.fab { border-radius: 18px; }

/* ---- cards, lists, preview ---- */
.card { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-1); }
.item { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); transition: border-color .2s var(--ease); }
.item:hover { border-color: #d8cfbd; }
.tabs a { border: 1px solid var(--line); background: #fff; transition: background .2s var(--ease); }
.tabs a.on { background: var(--charcoal); color: var(--gold-hi); border-color: var(--charcoal); }
.toolbar { border-bottom: 1px solid var(--line); background: var(--stone); }
.tb-btn { border-radius: 12px; padding: 6px 8px; transition: background .2s var(--ease); }
.tb-btn:hover:not(:disabled) { background: var(--stone-2); }
.sizes button.on { background: var(--charcoal); color: var(--gold-hi); }
.paper { border-radius: 0 0 6px 6px; box-shadow: var(--shadow-2); }
.bottombar { background: linear-gradient(transparent, rgba(245,243,238,.96) 30%); }
.done-hero .ok { background: linear-gradient(135deg, var(--gold-hi), var(--gold-deep)); box-shadow: 0 12px 30px rgba(217,154,23,.35); }
.share-grid button, .share-grid a { border: 1px solid var(--line); border-radius: 16px; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.share-grid button:hover, .share-grid a:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-2); background: #fff; }
.share-grid button svg.i, .share-grid a svg.i { color: var(--gold-deep); }

/* ---- modal + toast ---- */
.modal-wrap { background: rgba(20,19,16,.5); backdrop-filter: blur(3px); animation: fadeIn .2s var(--ease); }
.modal { border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); animation: sheetUp .35s var(--ease); }
.modal-head h2 { font-weight: 800; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }
@keyframes popIn { from { transform: scale(.97); opacity: 0; } }
.toast { background: var(--charcoal); color: var(--gold-hi); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }

/* ---- login ---- */
.login .logo-box { width: 260px; aspect-ratio: 1.8 / 1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--gold); }
.login h1 { font-weight: 800; }

/* ---- desktop: fixed sidebar on the right, wider content ---- */
@media (min-width: 1100px) {
  .drawer { width: 300px; border-left: 0; box-shadow: none; }
  .view { max-width: 980px; margin-right: calc(300px + max(0px, (100vw - 300px - 980px) / 2)); }
  .fab { inset-inline-end: calc(300px + max(14px, (100vw - 300px - 980px) / 2 + 14px)); }
  .bottombar { right: 300px; max-width: 980px; }
  .home-actions { padding-top: 34px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .groups { grid-template-columns: 1fr 1fr; }
  .modal { border-radius: 26px; animation-name: popIn; }
}
@media print { body { background: #fff; } .paper { box-shadow: none; } }
.brand h1 { direction: ltr; text-align: right; }
.tiles { margin-top: 0; }
@media (min-width: 1100px) { .tiles { padding-top: 30px; } }

/* =====================================================================
   Phones (everything up to 600px wide — iPhone, Android, small tablets)
   ===================================================================== */
@media (max-width: 600px) {
  /* header: full title, icons only */
  .topbar { padding: 14px 12px 4px; gap: 8px; align-items: center; }
  .menu-toggle > span { display: none; }
  .menu-toggle svg.i, .topbar .menu-toggle svg.i { font-size: 28px; }
  .brand { min-width: 0; }
  .brand h1 { font-size: 25px; white-space: nowrap; overflow: visible; text-overflow: clip; }
  .brand p { font-size: 12px; line-height: 1.35; }
  .top-actions { gap: 2px; align-items: center; }
  .top-actions button { min-width: 38px; padding: 2px; }
  .top-actions button > span:not(.badge):not(.avatar) { display: none; }
  .top-actions svg.i { font-size: 24px; }
  .avatar { width: 36px; height: 36px; font-size: 13px; }
  .pagebar { padding: 12px 10px 6px; gap: 6px; align-items: center; }
  .pagebar .back { min-width: 44px; font-size: 12px; padding: 2px 4px; }
  .pagebar .back svg.i { font-size: 22px; }
  .pagebar .title { min-width: 0; }
  .pagebar .title h1 { font-size: 23px; }
  .pagebar .title p { font-size: 12.5px; }

  /* home */
  .home-actions { grid-template-columns: 1fr; padding: 16px 12px 0; gap: 12px; }
  .pill.big { font-size: 20px; min-height: 60px; }
  .ask { padding: 20px 12px 0; }
  .ask label { font-size: 15px; }
  .searchbar { height: 52px; padding: 0 16px; }
  .searchbar input { font-size: 16px; }
  .results { margin: 10px 12px 0; }
  .tiles { padding: 20px 12px 24px; gap: 10px; }
  .tile { padding: 16px 8px 12px; border-radius: 18px; }
  .tile .circle { width: 60px; height: 60px; }
  .tile .circle svg.i { font-size: 27px; }
  .tile .lbl { font-size: 15px; margin-top: 10px; }
  .tile .num { font-size: 19px; }

  /* choose agreement type */
  .groups { padding: 4px 12px 24px; gap: 12px; }
  .group { padding: 14px 12px; border-radius: 18px; }
  .group h2 { font-size: 18px; }
  .group .pill { font-size: 16px; min-height: 52px; padding: 10px 14px; }

  /* form */
  .seg, .steps { margin-inline: 12px; }
  .block { padding: 0 12px; margin-top: 22px; }
  .block-title { font-size: 17px; margin: 0 2px 10px; }
  .picker { padding: 4px 10px; gap: 2px; border-radius: 16px; }
  .picker input { font-size: 16px; padding: 10px 0; }
  .picker .pbtn { padding: 4px; font-size: 12px; gap: 2px; }
  .picker .pbtn svg.i { font-size: 20px; }
  .info { margin: 14px 2px 0; padding: 10px 12px; font-size: 14.5px; line-height: 1.6; }
  .chips { margin: 12px 2px 0; }
  .section { margin-top: 24px; }
  .section-head { padding: 8px 12px 10px; font-size: 17px; }
  .section-body { padding: 14px 12px 0; }
  .grid2 { gap: 14px 10px; }
  .field label { font-size: 14px; }
  .field .ctl { font-size: 16px; min-height: 50px; padding: 10px 12px; }
  .field textarea.ctl { font-size: 16px; min-height: 96px; }
  .mkt-list .check { font-size: 14.5px; }
  .finish { padding: 22px 14px 0; font-size: 16px; }
  .fab { min-width: 0; width: auto; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 54px; font-size: 18px; }

  /* preview toolbar: everything fits on one line */
  .toolbar { padding: 8px 4px 8px; gap: 0; align-items: center; }
  .tb-btn { padding: 4px 3px; font-size: 11.5px; gap: 3px; flex: 0 1 auto; min-width: 0; }
  .tb-btn svg.i { font-size: 21px; }
  .sizes { gap: 3px; min-width: 0; }
  .sizes span { font-size: 11.5px; }
  .sizes .opts { gap: 2px; }
  .sizes button { width: 38px; height: 32px; padding: 0; }
  .sizes button[data-s="3"] { font-size: 22px !important; }
  .sizes button[data-s="2"] { font-size: 18px !important; }
  .sizes button[data-s="1"] { font-size: 15px !important; }
  .bottombar { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .bottombar .pill { width: auto; flex: 1 1 0; min-width: 0; font-size: 17px; min-height: 54px; padding: 10px 12px; }
  .preview-pad { height: 96px; }

  /* the agreement itself */
  .paper { margin: 0 6px; padding: 18px 12px 28px; font-size: 16px; }
  .paper h1 { font-size: 1.85em; }
  .paper .box { padding: 14px 10px; border-radius: 14px; }
  .paper .box h2 { font-size: 1.6em; margin-bottom: 12px; }
  .paper h3 { font-size: 1.5em; }
  .paper .kv { gap: 12px 10px; }
  .paper .kv div { white-space: normal; flex-wrap: wrap; align-items: baseline; }
  .paper .kv div span.v { min-width: 3em; }
  .paper .kv div.wide { grid-column: span 2; }
  .paper ol { padding-right: 1.3em; }
  .paper .sigs { gap: 12px; }
  .paper .blank { min-width: 5em; }
  .paper table.props { font-size: .78em; }

  /* sign / done / cards / lists */
  .card { margin: 12px 12px 0; padding: 14px; border-radius: 18px; }
  .card h2 { font-size: 18px; }
  .sigpad-wrap canvas { height: 170px; }
  .share-grid { gap: 8px; }
  .share-grid button, .share-grid a { font-size: 13px; padding: 12px 4px; }
  .done-hero h1 { font-size: 24px; }
  .row.pad { padding: 6px 12px; }
  .list-head { padding: 8px 12px; }
  .list { padding: 8px 12px; }
  .item { padding: 12px; flex-wrap: wrap; gap: 8px 10px; }
  .item .grow { flex: 1 1 60%; }
  .item .acts { margin-inline-start: auto; }
  .tabs { padding: 8px 12px 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs a { white-space: nowrap; flex: none; }
  .fgrid { grid-template-columns: 1fr; gap: 12px; }
  .fgrid .field.span2 { grid-column: auto; }
  .fgrid .field .ctl { font-size: 16px; }
  .modal { padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); max-height: 94vh; }
  .modal .fgrid { grid-template-columns: 1fr 1fr; }
  .modal .fgrid .field.span2 { grid-column: span 2; }
  .modal-foot { flex-wrap: wrap; }
  .login { margin-top: 24px; }
  .login .logo-box { width: 200px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .drawer nav a { padding: 10px 14px; font-size: 15.5px; }
}
@media (max-width: 370px) {
  .brand h1 { font-size: 22px; }
  .modal .fgrid { grid-template-columns: 1fr; }
  .modal .fgrid .field.span2 { grid-column: auto; }
  .tb-btn { font-size: 10.5px; }
  .sizes button { width: 34px; }
}

/* home counters: own layout (horizontal cards, square icon, number at the side) */
.tiles { grid-template-columns: 1fr 1fr; }
.tile { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; text-align: right; }
.tile .circle { width: 50px; height: 50px; border-radius: 15px; flex: none; box-shadow: 0 6px 14px rgba(27,26,23,.18); }
.tile .circle svg.i { font-size: 25px; }
.tile .lbl { margin: 0; flex: 1; min-width: 0; font-size: 16px; line-height: 1.25; }
.tile .num { margin: 0; font-size: 22px; font-weight: 800; white-space: nowrap; }
.tile:hover .circle { transform: rotate(-4deg) scale(1.04); }
.ask label { display: flex; align-items: center; gap: 6px; }
.drawer .art { opacity: .5; padding: 18px 22px 6px; }
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  .tile { padding: 12px 14px; }
  .tile .circle { width: 46px; height: 46px; }
  .tile .circle svg.i { font-size: 23px; }
}

/* signed agreement: no yellow "fill me" marks; send-to-client card */
.paper.is-signed .blank { background: none; }
.send-client .pill { width: 100%; justify-content: center; }
.send-client .hint { margin: 10px 0 0; }

/* word completion under text fields */
.suggest { position: fixed; z-index: 3000; background: #fff; border: 1px solid #e6dfcf; border-radius: 14px; box-shadow: 0 14px 34px rgba(27,26,23,.22); overflow: hidden; max-height: 252px; overflow-y: auto; direction: rtl; }
.suggest[hidden] { display: none; }
.suggest button { display: block; width: 100%; text-align: right; background: none; border: 0; border-bottom: 1px solid #f1ece1; padding: 12px 14px; font: inherit; font-size: 16px; color: #1b1a17; cursor: pointer; min-height: 44px; }
.suggest button:last-child { border-bottom: 0; }
.suggest button:hover, .suggest button.on { background: #fbf3df; }

/* tap-to-pick buttons (fast filling) */
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-width: 48px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid #ddd5c4; background: #fff; color: var(--charcoal, #1b1a17); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.pick button:active { transform: scale(.96); }
.pick button.on { background: var(--charcoal, #1b1a17); border-color: var(--charcoal, #1b1a17); color: var(--gold, #f2b32e); font-weight: 700; }
.pick.quick { margin-top: 8px; }
.pick.quick button { min-height: 38px; padding: 6px 12px; font-size: 15px; }
.yn .pick button { flex: 1; max-width: 120px; }
.yn .yn-det { margin-top: 8px; }
[data-qall] { width: 100%; justify-content: center; }
.yn { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.yn .pick { flex: none; }
.yn .pick button { flex: none; width: 64px; }
.yn .yn-det { margin-top: 0; flex: 1; min-width: 160px; }
