/* Product workspace, scoped. Marketing home is untouched. */
.davie-mod {
  color-scheme: inherit;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  overflow-anchor: none;
  contain: layout style;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  z-index: 1;
}
.davie-mod a { text-decoration: none; color: inherit; }
.davie-mod img { max-width: 100%; }
.davie-mod * { box-sizing: border-box; }
.davie-mod button { font-family: inherit; }
.davie-mod .davie-mark { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.davie-mod .wordmark { font-size: 23px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--on-navy); }
.davie-mod .brand-stack { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.davie-mod .powered { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.7); line-height: 1.15; }
.davie-mod .brand-logo {
  width: 32px; height: 32px; border-radius: 9px; object-fit: cover; background: var(--surface); flex-shrink: 0;
}
.davie-mod .brand-logo-fallback {
  width: 32px; height: 32px; border-radius: 9px; background: var(--surface); color: var(--navy-deep);
  font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
}
.davie-mod .dm-ic { width: 18px; height: 18px; flex-shrink: 0; display: block; }

.davie-mod .dm-top {
  height: 58px; background: var(--navy-deep); color: var(--on-navy);
  position: relative; flex-shrink: 0; z-index: 40;
  display: flex; align-items: center;
  padding: 0 16px; gap: 10px;
  overflow: visible;
}
.davie-mod .dm-brand {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--on-navy); cursor: pointer; padding: 0;
}
.davie-mod .dm-tabs {
  display: flex; align-items: center; gap: 2px; min-width: 0; flex: 1 1 auto;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
}
.davie-mod .dm-tabs::-webkit-scrollbar { display: none; }
.davie-mod .dm-tab {
  height: 36px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--on-navy); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.davie-mod .dm-tab:hover { background: rgba(255,255,255,.12); }
.davie-mod .dm-tab.on { background: rgba(255,255,255,.18); }
.davie-mod .dm-dot8 { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.davie-mod .dm-askchip {
  height: 38px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14);
  color: var(--on-navy); font-weight: 600; font-size: 14px; padding: 0 14px 0 10px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  flex-shrink: 0; white-space: nowrap; position: relative; z-index: 2;
}
.davie-mod .dm-acct {
  height: 38px; background: var(--surface); color: var(--ink); border: 0; border-radius: 10px;
  padding: 0 10px 0 6px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; max-width: 230px;
}
.davie-mod .dm-acct .bh {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--on-navy);
  font-size: 9px; font-weight: 800; display: grid; place-items: center;
}
.davie-mod .dm-me {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6); background: #5B8CFF;
  color: var(--on-navy); font-weight: 700; font-size: 13px; display: grid; place-items: center;
  cursor: pointer;
}
.davie-mod .me-pop {
  position: fixed; top: 62px; right: 16px; width: 280px; padding: 16px;
  display: flex; flex-direction: column; gap: 8px; z-index: 70;
}
.davie-mod .me-pop-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.davie-mod .me-plan { font-size: 13px; color: var(--ink-2); padding: 4px 0 6px; }
.davie-mod .me-pop .dm-btn { width: 100%; justify-content: center; }
.davie-mod .dm-iconbtn {
  width: 38px; height: 38px; border: 0; background: transparent; color: var(--on-navy);
  cursor: pointer; position: relative; display: grid; place-items: center; border-radius: 10px;
}
.davie-mod .dm-iconbtn:hover { background: rgba(255,255,255,.12); }
.davie-mod .dm-iconbtn .ping {
  position: absolute; top: 7px; right: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: #FF8A3D; box-shadow: 0 0 0 2px var(--navy-deep);
}
.davie-mod .dm-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.davie-mod .dm-menu {
  display: none; width: 40px; height: 40px; place-items: center;
  border: 0; background: transparent; color: var(--on-navy); cursor: pointer; border-radius: 10px;
}

.davie-mod .dm-shell { display: flex; flex: 1; min-height: 0; align-items: stretch; overflow: hidden; }
.davie-mod .dm-side {
  width: 236px; min-width: 236px; flex: 0 0 236px;
  background: var(--navy-deep); color: var(--on-navy);
  position: relative; top: 0; height: auto; align-self: stretch;
  overflow: auto; overscroll-behavior: contain; overflow-anchor: none; padding: 14px 10px 12px;
  display: flex; flex-direction: column; z-index: 30;
}
.davie-mod.is-thin .dm-side { width: 60px; min-width: 60px; flex-basis: 60px; }
.davie-mod .dm-ghead {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: 0; background: none; color: rgba(255,255,255,.6);
  font-size: 12px; font-weight: 600; padding: 8px 10px 4px; cursor: pointer;
}
.davie-mod .dm-ghead span { display: flex; align-items: center; gap: 8px; }
.davie-mod .dm-nav {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 8px 10px; border: 0; border-radius: 9px;
  background: transparent; color: var(--on-navy); font-size: 14px; font-weight: 500;
  cursor: pointer; text-align: left; line-height: 1.2; white-space: nowrap;
}
.davie-mod .dm-nav:hover { background: rgba(255,255,255,.09); }
.davie-mod .dm-nav.on { background: rgba(255,255,255,.16); }
.davie-mod .dm-nav span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.davie-mod .dm-app {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: var(--on-navy); background: var(--navy-cur); padding: 2px 6px; border-radius: 5px; flex-shrink: 0;
}
.davie-mod .dm-sidefoot {
  margin-top: auto; padding: 16px 8px 0;
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255,255,255,.5); font-size: 11px;
}
.davie-mod .dm-ver { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.davie-mod .dm-sidefoot button {
  border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; padding: 4px;
}
.davie-mod.is-thin .dm-ghead, .davie-mod.is-thin .dm-nav span, .davie-mod.is-thin .dm-app, .davie-mod.is-thin .dm-ver { display: none; }

.davie-mod .dm-canvas {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 0;
  padding: 26px 28px 88px;
  background: var(--canvas);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
}
.davie-mod .dm-wrap { max-width: 1320px; margin: 0 auto; }
.davie-mod .dm-back {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; color: var(--navy-deep);
  font-weight: 700; font-size: 14px; cursor: pointer;
  padding: 0; margin: 0 0 10px; min-height: 32px; font-family: inherit;
}
.davie-mod .dm-back .dm-ic { width: 16px; height: 16px; }
.davie-mod .chair-week {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px; align-items: end; height: 150px;
}
.davie-mod .chair-col {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  gap: 6px; height: 100%; min-width: 0;
}
.davie-mod .chair-col i {
  width: 100%; max-width: 36px; border-radius: 8px 8px 4px 4px;
  background: var(--action); display: block;
}
.davie-mod .chair-col b { font-size: 13px; font-weight: 800; line-height: 1; }
.davie-mod .chair-col span { font-size: 11px; color: var(--muted); font-weight: 600; }
.davie-mod .card-davie {
  background: var(--surface); color: var(--ink); border-radius: 21px;
  box-shadow: var(--shadow);
}
.davie-mod .kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--action);
}
.davie-mod .h-display, .davie-mod h1, .davie-mod h2, .davie-mod h3 {
  color: var(--ink); margin: 0; letter-spacing: -.025em;
}
.davie-mod .h-display { font-size: 32px; font-weight: 700; line-height: 1.1; }
.davie-mod .sub { color: var(--muted); font-size: 15px; }

.davie-mod .dm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 37px; padding: 0 16px; border-radius: 12px; border: 0;
  font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.davie-mod .dm-btn.navy { background: var(--navy-deep); color: var(--on-navy); box-shadow: 0 8px 20px rgba(10,44,119,.28); }
.davie-mod .dm-btn.action { background: var(--action); color: var(--on-accent); box-shadow: 0 6px 16px rgba(26,92,255,.25); }
.davie-mod .dm-btn.quiet { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.davie-mod .dm-btn.light { background: var(--surface); color: var(--action); }
.davie-mod .dm-btn.ghost { background: var(--surface-2); color: var(--ink); }
.davie-mod .dm-btn.sm { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

.davie-mod .dm-launch {
  background: var(--action); color: var(--on-accent); border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 14px 34px rgba(26,92,255,.26);
}
.davie-mod .dm-launch-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); position: relative; margin-top: 14px; }
.davie-mod .dm-launch-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18);
}
.davie-mod .dm-launch-foot .dm-btn { flex-shrink: 0; background: var(--surface); color: var(--action); }

.davie-mod .dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.davie-mod .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); display: block; }
.davie-mod .dots i.fill { background: var(--action); }
.davie-mod .tag { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; display: inline-block; }
.davie-mod .tag.red { background: var(--bad-soft); color: var(--bad); }
.davie-mod .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.davie-mod .day { border: 1px solid var(--line); border-radius: 12px; min-height: 140px; padding: 8px; background: var(--surface); }
.davie-mod .day.today { background: var(--surface-2); outline: 2px solid var(--action); }
.davie-mod .chip-post { font-size: 11px; font-weight: 700; padding: 7px 8px; border-radius: 8px; margin-bottom: 6px; line-height: 1.3; }
.davie-mod .chip-post.blue { background: var(--action); color: var(--on-accent); }
.davie-mod .chip-post.yellow { background: var(--warn-soft); color: var(--warn); }
.davie-mod .preview-ad {
  background: linear-gradient(160deg, var(--navy-deep), var(--action)); color: var(--on-navy);
  border-radius: 14px; padding: 18px; min-height: 160px; position: relative; overflow: hidden;
}
.davie-mod .maya { background: var(--action); color: var(--on-accent); border-radius: 18px; padding: 22px; height: 100%; display: flex; flex-direction: column; }
.davie-mod .avatar { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.davie-mod .avatar.lg { width: 72px; height: 90px; min-width: 72px; border-radius: 12px; }
.davie-mod .avatar.xl { width: 120px; height: 150px; min-width: 120px; border-radius: 16px; }

.davie-mod .dm-input, .davie-mod .dm-select, .davie-mod textarea.dm-input {
  width: 100%; border-radius: 12px; border: 1px solid var(--input-border); min-height: 44px;
  padding: 10px 12px; font: inherit; background: var(--input-bg); color: var(--ink); color-scheme: inherit;
}
.davie-mod textarea.dm-input { min-height: 110px; resize: vertical; white-space: pre-wrap; }
.davie-mod .dm-input::placeholder,
.davie-mod textarea.dm-input::placeholder {
  color: var(--placeholder); opacity: 1;
}
.davie-mod .dm-input:focus,
.davie-mod .dm-select:focus,
.davie-mod textarea.dm-input:focus {
  outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action);
}
.davie-mod .dm-row { display: flex; flex-wrap: wrap; gap: 12px; }
.davie-mod .dm-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.davie-mod .dm-gap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.davie-mod .dm-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.davie-mod .dm-status {
  display: inline-flex; align-items: center; width: auto; height: auto;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.davie-mod .dm-status.ok { background: var(--good-soft); color: var(--good); }
.davie-mod .dm-status.warn { background: var(--warn-soft); color: var(--warn); }
.davie-mod .dm-status.muted { background: var(--surface-2); color: var(--ink-2); }
.davie-mod .dm-status.navy { background: var(--accent-soft); color: var(--accent-ink); }

.davie-mod .ask-wrap {
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px; padding: 6px; margin-top: 18px;
  border: 1px solid var(--line);
}
.davie-mod .ask-wrap input, .davie-mod .ask-wrap input[type="text"], .davie-mod .ask-wrap input[type="search"], .davie-mod #dm-ask {
  flex: 1; width: auto; min-width: 0; border: 0 !important; outline: 0;
  min-height: 40px !important; height: 40px; padding: 0 8px !important;
  font: inherit; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; color: var(--ink);
}
.davie-mod .ask-go {
  width: 44px; height: 44px; border-radius: 50%; background: var(--action); border: 0;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0; color: var(--on-accent);
}
.davie-mod .social-preview {
  aspect-ratio: 4/5; min-height: 420px; background: var(--navy-deep); color: var(--on-navy); border-radius: 16px;
  overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end;
}
.davie-mod .social-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.davie-mod .social-preview .shade {
  position: relative; z-index: 1;
  background: linear-gradient(transparent, rgba(10,44,119,.88)); padding: 48px 18px 18px;
}
.davie-mod .dm-progress { height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; }
.davie-mod .dm-progress > i { display: block; height: 100%; background: var(--navy-deep); }
.davie-mod .chan { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.davie-mod .dm-legal { color: var(--muted); font-size: 12px; padding-top: 28px; }
.davie-mod .modal-bg { position: fixed; inset: 0; background: rgba(17,17,17,.4); z-index: 50; display: grid; place-items: center; padding: 20px; }
.davie-mod .modal-card { background: var(--surface); color: var(--ink); border-radius: 20px; max-width: 460px; width: 100%; padding: 22px; }
.davie-mod .toast-davie {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--toast-bg); color: var(--toast-fg); padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 650; z-index: 80;
}
.davie-mod .pad { padding: 16px; }
.davie-mod .pad-lg { padding: 22px; }
.davie-mod .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.davie-mod .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.davie-mod .dm-scrim { display: none; position: fixed; inset: 0; background: var(--scrim); z-index: 35; }
.davie-mod .pop {
  position: fixed; top: 62px; right: 16px; width: 300px; background: var(--surface); color: var(--ink);
  border-radius: 16px; box-shadow: 0 18px 40px rgba(15,23,42,.2); padding: 6px; z-index: 70;
}

.davie-mod .ex-card {
  display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 16px; align-items: start;
  background: var(--surface); border-radius: 18px; padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.05);
  text-align: left; width: 100%; border: 0; cursor: pointer; color: inherit; font: inherit;
}
.davie-mod .ex-card:hover { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .ex-card img { width: 88px; height: 110px; min-width: 88px; border-radius: 12px; object-fit: cover; object-position: center 18%; }
.davie-mod .ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.davie-mod .ex-hero { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 28px; align-items: start; }
.davie-mod .ex-hero img.portrait {
  width: 100%; height: 360px; object-fit: cover; object-position: center 16%;
  border-radius: 20px; display: block; background: var(--accent-soft);
}
.davie-mod .shot img {
  width: 100%; height: 210px; object-fit: cover; object-position: center;
  border-radius: 14px; display: block; background: var(--accent-soft);
}
.davie-mod .shot.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .stage-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 8px 13px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0;
}
.davie-mod .stage-box.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--navy-deep); }
.davie-mod .stage-ic {
  width: 37px; height: 37px; border-radius: 14px; background: var(--accent-soft); color: var(--navy-deep);
  display: grid; place-items: center;
}
.davie-mod .dm-flower { position: relative; width: 34px; height: 34px; display: block; flex-shrink: 0; }
.davie-mod .dm-flower i {
  position: absolute; width: 30.8%; height: 30.8%; border-radius: 50%; display: block;
}
.davie-mod .lp-num {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
}
.davie-mod .lp-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); position: relative; }
.davie-mod .lp-rail { position: absolute; left: 10%; right: 10%; top: 16px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); }
.davie-mod .lp-fill { position: absolute; left: 10%; top: 16px; height: 3px; border-radius: 3px; background: var(--surface); }
.davie-mod .lp-hide {
  background: var(--surface); border-radius: 21px; padding: 13px 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.05);
}
.davie-mod .toggle {
  width: 44px; height: 26px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer;
}
.davie-mod .toggle.on { background: var(--action); }
.davie-mod .toggle i {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--knob); transition: left .15s;
}
.davie-mod .toggle.on i { left: 21px; }

@media (max-width: 1100px) {
  .davie-mod .ex-grid, .davie-mod .grid-3, .davie-mod .grid-2 { grid-template-columns: 1fr; }
  .davie-mod .cal { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .davie-mod .dm-split, .davie-mod .ex-hero { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .davie-mod .dm-tab { padding: 0 8px; font-size: 13px; }
}
@media (max-width: 991px) {
  .davie-mod .dm-menu { display: grid; }
  .davie-mod .dm-tabs { display: none; }
  .davie-mod .acct-name { display: none; }
  .davie-mod .dm-side {
    display: none; position: fixed; left: 0; top: 58px; height: calc(100vh - 58px); z-index: 45;
  }
  .davie-mod.is-open .dm-side { display: flex; }
  .davie-mod.is-open .dm-scrim { display: block; }
  .davie-mod .dm-canvas { padding: 18px 16px 90px; }
  .davie-mod .h-display { font-size: 26px; }
}
.davie-mod .app-ic { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.davie-mod .app-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.davie-mod .tm {
  display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 620px;
  background: var(--surface); border-radius: 21px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.05);
}
.davie-mod .tm-rail { background: var(--surface-2); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.davie-mod .tm-rail b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; display: block; }
.davie-mod .tm-chan, .davie-mod .tm-person {
  display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent;
  text-align: left; padding: 8px 10px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink);
}
.davie-mod .tm-chan.on, .davie-mod .tm-person.on { background: var(--accent-soft); }
.davie-mod .tm-chan:hover, .davie-mod .tm-person:hover { background: var(--hover); }
.davie-mod .tm-body { display: flex; flex-direction: column; min-height: 620px; }
.davie-mod .tm-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.davie-mod .tm-log { flex: 1; padding: 18px; overflow: auto; display: flex; flex-direction: column; gap: 12px; background: var(--canvas); }
.davie-mod .tm-bubble { max-width: 78%; background: var(--surface); border-radius: 16px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.davie-mod .tm-bubble.me { margin-left: auto; background: var(--action); color: var(--on-accent); }
.davie-mod .tm-bubble.me .sub { color: rgba(255,255,255,.8); }
.davie-mod .tm-compose { padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.davie-mod .dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.davie-mod .dot-away { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.davie-mod .pay-card {
  background: var(--surface); color: var(--ink); border-radius: 20px; max-width: 420px; width: 100%; padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,.25);
}
.davie-mod .pay-card .stripe {
  font-weight: 800; letter-spacing: -.04em; color: #635BFF; font-size: 18px;
}
.davie-mod .kanban { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; align-items: start; }
.davie-mod .kanban col, .davie-mod .kb-col { background: var(--surface-2); border-radius: 16px; padding: 10px; min-height: 280px; }
.davie-mod .kb-col { background: var(--surface-2); border-radius: 16px; padding: 10px; min-height: 280px; }
.davie-mod .kb-card { background: var(--surface); border-radius: 12px; padding: 12px; margin-top: 8px; text-align: left; width: 100%; border: 0; cursor: pointer; font: inherit; color: inherit; }
.davie-mod .idea { text-align: left; width: 100%; border: 0; cursor: pointer; }
.davie-mod .idea.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .grow-stat { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.davie-mod .bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.davie-mod .bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--action); display: block; min-height: 8px; }
.davie-mod .asset-tile img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; display: block; }
.davie-mod .fix-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--surface-2); align-items: flex-start; }
.davie-mod .seg { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 3px; }
.davie-mod .seg button { border: 0; background: transparent; min-height: 32px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.davie-mod .seg button.on { background: var(--surface); color: var(--navy-deep); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.davie-mod .talk-card { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 14px; text-align: left; }
.davie-mod .talk-card img { width: 72px; height: 90px; object-fit: cover; object-position: center 16%; border-radius: 12px; }
@media (max-width: 1100px) {
  .davie-mod .tm, .davie-mod .kanban, .davie-mod .stage-grid, .davie-mod .stage-open-g { grid-template-columns: 1fr; }
  .davie-mod .dm-launch-steps { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
.davie-mod.dm-auth {
  min-height: 100%; height: 100%; background: var(--navy-deep);
  display: flex; justify-content: center; align-items: center;
  padding: 32px 16px; overflow: auto; box-sizing: border-box;
}
.davie-mod .auth-card {
  display: flex; flex-direction: column; align-items: center;
  margin: auto; width: min(480px, 92vw);
}
.davie-mod .auth-err {
  color: var(--bad); background: var(--bad-soft); border-radius: 10px;
  padding: 10px 12px; margin-top: 12px; font-weight: 650;
}
.davie-mod .linkish {
  background: none; border: 0; color: var(--action); font: inherit; font-weight: 700;
  cursor: pointer; padding: 0;
}
.davie-mod .home-dc { display: flex; flex-direction: column; gap: 19px; }
.davie-mod .home-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.davie-mod .home-hello { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 420px; }
.davie-mod .home-logo {
  width: 59px; height: 59px; border-radius: 17px; flex-shrink: 0;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(0,0,0,.05);
  display: grid; place-items: center; font-weight: 800; color: var(--navy-deep); font-size: 16px;
}
.davie-mod .home-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.davie-mod .home-pills span, .davie-mod .home-pills button {
  padding: 5px 11px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.davie-mod .home-pills button:last-child { background: var(--accent-soft); color: var(--navy-deep); box-shadow: none; }
.davie-mod .home-pills em { font-style: normal; color: var(--navy-deep); }
.davie-mod .home-cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.davie-mod .home-main { flex: 2.3 1 580px; min-width: 0; }
.davie-mod .home-rail { flex: 1 1 310px; min-width: 0; }
.davie-mod .lp-hide {
  height: 28px; padding: 0 12px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.16); color: var(--on-navy); font-size: 13px; font-weight: 700; cursor: pointer;
}
.davie-mod .lp-nav {
  width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16);
  color: var(--on-navy); cursor: pointer; display: grid; place-items: center;
}
.davie-mod .lp-nav:disabled { opacity: .35; cursor: default; }
.davie-mod .lp-nav .dm-ic { width: 16px; height: 16px; }
.davie-mod .lp-step {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  border: 0; background: none; color: var(--on-navy); cursor: pointer; position: relative; padding: 0 4px; z-index: 1;
}
.davie-mod .lp-mark {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
}
.davie-mod .lp-lab {
  font-size: 12px; font-weight: 600; line-height: 1.2;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.davie-mod .lp-track, .davie-mod .lp-fill {
  position: absolute; left: 10%; top: 16px; height: 3px; border-radius: 3px;
}
.davie-mod .lp-track { right: 10%; background: rgba(255,255,255,.22); }
.davie-mod .lp-fill { background: var(--surface); }
.davie-mod .lp-hidden { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.davie-mod .cmd-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.davie-mod .cmd-field {
  flex: 1 1 320px; display: flex; align-items: center; gap: 12px; height: 43px;
  border-radius: 14px; background: var(--canvas); padding: 0 14px; box-shadow: inset 0 0 0 1px var(--line);
}
.davie-mod .cmd-field .dm-ic { color: var(--navy-deep); width: 16px; height: 16px; }
.davie-mod .cmd-field input, .davie-mod .cmd-field #dm-ask {
  flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important;
  min-height: 43px !important; height: 43px; padding: 0 !important; font: inherit; min-width: 0; color: var(--ink);
}
.davie-mod .cmd-res {
  display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2);
  border-radius: 16px; padding: 12px 14px; margin-top: 12px;
}
.davie-mod .look-row { display: flex; flex-wrap: wrap; gap: 6px; }
.davie-mod .look-chip {
  height: 30px; padding: 0 10px; border: 0; border-radius: 9px; background: var(--surface-2);
  color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.davie-mod .look-chip.on { background: var(--navy-deep); color: var(--on-navy); }
.davie-mod .stage-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px;
}
.davie-mod .stage-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 8px 14px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 0; background: var(--surface-2); font: inherit; color: inherit; min-width: 0;
}
.davie-mod .stage-box:hover { background: var(--hover); }
.davie-mod .stage-box.on { background: var(--surface); box-shadow: 0 0 0 1.5px var(--action); }
.davie-mod .stage-ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
}
.davie-mod .stage-ic .dm-ic { width: 24px; height: 24px; }
.davie-mod .stage-box.look-line .stage-ic { width: 48px; height: 48px; }
.davie-mod .stage-box.look-line .stage-ic .dm-ic { width: 28px; height: 28px; stroke-width: 1.7; }
.davie-mod .stage-box.look-navy .stage-ic { border-radius: 16px; }
.davie-mod .stage-k { font-size: 12px; font-weight: 600; color: var(--muted); }
.davie-mod .stage-box b { font-size: 15px; font-weight: 700; }
.davie-mod .stage-open {
  margin-top: 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.davie-mod .stage-open-h {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.davie-mod .stage-open-h span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.davie-mod .stage-open-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.davie-mod .stage-row {
  display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left;
  border: 0; background: var(--surface); border-bottom: 1px solid var(--surface-2); cursor: pointer; font: inherit; color: inherit; width: 100%;
}
.davie-mod .stage-row:hover { background: var(--surface-2); }
.davie-mod .ready-hero { display: flex; align-items: center; gap: 13px; margin: 12px 0; }
.davie-mod .ready-row { width: 100%; border: 0; background: none; padding: 0; margin-top: 12px; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.davie-mod .news-bit { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); align-items: flex-start; }
.davie-mod .home-spec {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  grid-template-areas:
    "profile ws rail"
    "nba nba rail"
    "qa qa rail";
  gap: 16px; align-items: start;
}
.davie-mod .spec-profile { grid-area: profile; }
.davie-mod .spec-ws { grid-area: ws; }
.davie-mod .spec-nba { grid-area: nba; }
.davie-mod .spec-qa { grid-area: qa; }
.davie-mod .spec-rail { grid-area: rail; display: flex; flex-direction: column; }
.davie-mod .spec-qa .ask-wrap { margin-top: 12px; }
.davie-mod .qa-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px;
}
.davie-mod .qa-card {
  background: var(--surface-2); border: 0; border-radius: 14px; padding: 14px;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; grid-template-rows: auto auto;
  column-gap: 10px; row-gap: 4px; align-items: start;
}
.davie-mod .qa-card:hover { background: var(--hover); }
.davie-mod .qa-ic {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy-deep); color: var(--on-navy);
  display: grid; place-items: center; grid-row: 1 / span 2;
}
.davie-mod .qa-ic .dm-ic { width: 16px; height: 16px; }
.davie-mod .qa-card > b { grid-column: 2; font-size: 13px; line-height: 1.3; }
.davie-mod .qa-card > .sub { grid-column: 2; font-size: 12px; }
.davie-mod .qa-card > svg { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--muted); }
.davie-mod .nba-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: transparent; border: 0; border-top: 1px solid var(--surface-2); padding: 12px 0;
  cursor: pointer; font: inherit; color: inherit;
}
.davie-mod .nba-ic {
  width: 32px; height: 32px; border-radius: 50%; color: var(--on-navy);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.davie-mod .nba-row > span:nth-child(2) { flex: 1; min-width: 0; }
.davie-mod .camp-table-wrap { overflow: auto; margin-top: 12px; }
.davie-mod .camp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.davie-mod .camp-table th {
  text-align: left; color: var(--muted); font-weight: 600; padding: 8px 10px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.davie-mod .camp-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.davie-mod .empty-camp { color: var(--muted); text-align: center; padding: 28px !important; }
.davie-mod .ready-row { margin-top: 12px; }
.davie-mod .act-row {
  display: flex; gap: 10px; align-items: center; padding: 10px 0;
  border-top: 1px solid var(--surface-2); font-size: 14px;
}
.davie-mod .size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.davie-mod .size-chip {
  border: 0; background: var(--surface-2); border-radius: 12px; padding: 10px 12px;
  text-align: left; cursor: pointer; font: inherit; color: inherit; min-width: 108px;
  box-shadow: inset 0 0 0 1px var(--line);
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.davie-mod .size-chip .sub { display: block; font-size: 11px; }
.davie-mod .size-chip.on { background: var(--navy-deep); color: var(--on-navy); box-shadow: none; }
.davie-mod .size-chip.on .sub { color: rgba(255,255,255,.75); }
.davie-mod .iab-preview {
  background: #0B4F6C; color: var(--on-navy);
  border-radius: 12px; padding: 18px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px;
}
.davie-mod .iab-cta {
  display: inline-flex; align-self: flex-start; background: var(--surface); color: var(--navy-deep);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; margin-top: 8px;
}
.davie-mod .pontiac {
  background: var(--code-bg); color: var(--code-fg); padding: 14px; border-radius: 12px;
  overflow: auto; font-size: 12px; line-height: 1.45; margin-top: 10px;
}
.davie-mod .spec-qa h2 { margin: 0; }
@media (max-width: 1100px) {
  .davie-mod .home-spec {
    grid-template-columns: 1fr;
    grid-template-areas: "profile" "ws" "nba" "qa" "rail";
  }
  .davie-mod .qa-grid { grid-template-columns: 1fr; }
}
.davie-mod .think-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 600;
}
.davie-mod .think-dots { display: inline-flex; gap: 5px; }
.davie-mod .think-dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--action);
  animation: dmThink 1s ease-in-out infinite;
}
.davie-mod .think-dots i:nth-child(2) { animation-delay: .15s; }
.davie-mod .think-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dmThink {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.davie-mod .sug-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.davie-mod .sug-chip {
  border: 0; background: var(--accent-soft); color: var(--navy-deep); border-radius: 999px;
  padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.davie-mod .sug-chip:hover { background: var(--accent-soft); }
.davie-mod .davie-inline p { white-space: pre-wrap; }
.davie-mod .studio { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 16px; margin-top: 18px; }
.davie-mod .studio-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.davie-mod .asset-meta { display: flex; gap: 16px; align-items: baseline; margin-top: 12px; flex-wrap: wrap; }
.davie-mod .asset-shot { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--ink); }
.davie-mod .asset-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.davie-mod .asset-shot .dm-status { position: absolute; left: 10px; top: 10px; }
.davie-mod .shot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.davie-mod .shot-pick {
  width: 72px; height: 72px; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface);
}
.davie-mod .shot-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.davie-mod .shot-pick.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .swatch-row { display: flex; gap: 8px; align-items: center; }
.davie-mod .swatch {
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
}
.davie-mod .swatch.on { box-shadow: 0 0 0 3px var(--canvas), 0 0 0 5px var(--action); }
.davie-mod .tog-lab { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.davie-mod .iab-stage { margin-top: 14px; display: grid; place-items: center; background: var(--surface-2); border-radius: 16px; padding: 18px; min-height: 280px; }
.davie-mod .iab-live { position: relative; overflow: hidden; justify-content: flex-end; }
.davie-mod .iab-live b { font-size: 18px; letter-spacing: -.03em; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.davie-mod .iab-logo { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; margin-bottom: auto; }
.davie-mod .iab-disc { opacity: .8; font-size: 10px; }
.davie-mod .mix-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 600; }
.davie-mod .lead-list { display: flex; flex-direction: column; gap: 10px; }
.davie-mod .lead-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  background: var(--surface); border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.davie-mod .lead-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.davie-mod .seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.davie-mod .seo-card { background: var(--surface); border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.davie-mod .seo-score { font-size: 20px; font-weight: 800; color: var(--navy-deep); }
.davie-mod .seo-hero h2 { letter-spacing: -.04em; color: var(--navy-deep); }
.davie-mod .mini-stat { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.davie-mod .mini-stat b { font-size: 22px; display: block; margin-top: 4px; }
.davie-mod .social-studio { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.7fr); gap: 16px; margin-top: 18px; }
.davie-mod .ch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.davie-mod .ch-pill {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--surface-2);
  border-radius: 12px; padding: 8px 12px 8px 8px; cursor: pointer; font: inherit; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
.davie-mod .ch-pill.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--action); }
.davie-mod .phone {
  width: 260px; margin: 16px auto 0; background: var(--ink); border-radius: 28px; padding: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.davie-mod .phone-screen {
  border-radius: 18px; overflow: hidden; background-size: cover; background-position: center;
  min-height: 280px; display: flex; align-items: flex-end;
}
.davie-mod .phone-copy { width: 100%; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: var(--on-navy); }
.davie-mod .phone-copy p { margin: 6px 0; font-size: 13px; line-height: 1.4; }
.davie-mod .phone-copy span { font-size: 11px; opacity: .8; }
.davie-mod .cal .day { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.davie-mod .chip-post.held { background: var(--bad-soft); color: var(--bad); }
.davie-mod .c-shell {
  background: var(--surface); border-radius: 21px; overflow: hidden; min-height: 0; height: calc(100dvh - 140px);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.05);
}
.davie-mod .c-head {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px;
  border-bottom: 1px solid var(--line); background: var(--navy-deep); color: var(--on-navy);
}
.davie-mod .c-head .sub { color: rgba(255,255,255,.75); }
.davie-mod .c-head-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
}
.davie-mod .c-log {
  flex: 1; padding: 20px 18px; overflow: auto; background: var(--surface-2);
  display: flex; flex-direction: column; gap: 12px; min-height: 360px;
}
.davie-mod .c-row { display: flex; gap: 10px; align-items: flex-end; max-width: 78%; }
.davie-mod .c-row.me { margin-left: auto; flex-direction: row-reverse; }
.davie-mod .c-av {
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy-deep); color: var(--on-navy); display: grid; place-items: center; flex-shrink: 0;
}
.davie-mod .c-bubble {
  background: var(--surface); border-radius: 18px 18px 18px 6px; padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.davie-mod .c-bubble.me { background: var(--action); color: var(--on-accent); border-radius: 18px 18px 6px 18px; }
.davie-mod .c-who { font-size: 11px; font-weight: 700; opacity: .65; margin-bottom: 4px; }
.davie-mod .c-bubble p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.davie-mod .c-sugs { padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); }
.davie-mod .c-compose { padding: 12px 16px 16px; background: var(--surface); }
.davie-mod .tm-pro { min-height: 0; height: calc(100dvh - 140px); grid-template-columns: 260px minmax(0,1fr); }
.davie-mod .tm-brand { display: flex; gap: 10px; align-items: center; padding: 8px 10px 16px; }
.davie-mod .tm-hash { width: 22px; text-align: center; color: var(--muted); font-weight: 800; }
.davie-mod .tm-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 82%; }
.davie-mod .tm-msg.me { margin-left: auto; flex-direction: row-reverse; }
.davie-mod .tm-av {
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy-deep); color: var(--on-navy);
  font-size: 12px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
}
.davie-mod .tm-meta { display: flex; gap: 8px; align-items: baseline; font-size: 11px; opacity: .7; margin-bottom: 4px; }
.davie-mod .tm-bubble p { margin: 0; line-height: 1.5; }
.davie-mod .tm-compose {
  display: flex; gap: 8px; align-items: center; padding: 12px 14px;
  border-top: 1px solid var(--line); background: var(--surface);
}
.davie-mod .tm-compose input {
  flex: 1; min-height: 46px; border: 1px solid var(--input-border); border-radius: 12px;
  padding: 10px 14px; font: inherit;
}
.davie-mod .tm-send {
  height: 46px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--action); color: var(--on-accent); font-weight: 800; cursor: pointer; font: inherit;
}
.davie-mod .tm-send:hover { background: var(--action-2); }
.davie-mod .cmd-res p { white-space: pre-wrap; }
.davie-mod .ask-layer {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 24px 16px;
}
.davie-mod .ask-scrim {
  position: absolute; inset: 0; border: 0; background: rgba(10, 44, 119, .38); cursor: pointer;
}
.davie-mod .ask-sheet {
  position: relative; z-index: 1; width: min(560px, 100%);
  background: var(--surface); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
  display: flex; flex-direction: column; max-height: min(72vh, 640px);
}
.davie-mod .ask-sheet-h {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--navy-deep); color: var(--on-navy);
}
.davie-mod .ask-sheet-h .sub { color: rgba(255,255,255,.72); }
.davie-mod .ask-x {
  margin-left: auto; border: 0; background: rgba(255,255,255,.14); color: var(--on-navy);
  height: 32px; padding: 0 12px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
}
.davie-mod .ask-sheet-b {
  flex: 1; overflow: auto; padding: 16px 18px; background: var(--surface-2);
  display: flex; flex-direction: column; gap: 10px; min-height: 180px;
}
.davie-mod .ask-sheet-f {
  display: flex; gap: 8px; padding: 12px 14px; background: var(--surface); border-top: 1px solid var(--line);
}
.davie-mod .ask-sheet-f input {
  flex: 1; min-height: 44px; border: 1px solid var(--input-border); border-radius: 12px;
  padding: 10px 12px; font: inherit;
}
.davie-mod .so-page { display: flex; flex-direction: column; gap: 20px; }
.davie-mod .so-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.davie-mod .so-week {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
}
.davie-mod .so-day {
  min-height: 132px; border: 0; border-radius: 16px; background: var(--surface); text-align: left;
  padding: 12px 10px; cursor: pointer; font: inherit; color: inherit;
  box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; overflow: hidden;
}
.davie-mod .so-day em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 700; }
.davie-mod .so-day strong { font-size: 20px; letter-spacing: -.03em; }
.davie-mod .so-day.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .so-item {
  font-size: 11px; font-weight: 700; line-height: 1.3; padding: 6px 8px; border-radius: 8px;
  background: var(--surface-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.davie-mod .so-item.on { background: var(--action); color: var(--on-accent); }
.davie-mod .so-item.held { background: var(--bad-soft); color: var(--bad); }
.davie-mod .so-item span { display: block; font-weight: 600; opacity: .85; }
.davie-mod .so-empty { font-size: 12px; color: var(--muted); }
.davie-mod .so-work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.davie-mod .so-compose, .davie-mod .so-preview { padding: 22px; }
.davie-mod .so-compose h2 { font-size: 20px; margin: 0 0 16px; }
.davie-mod .so-lab { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.davie-mod .so-segs, .davie-mod .so-chs, .davie-mod .so-shots { display: flex; flex-wrap: wrap; gap: 8px; }
.davie-mod .so-seg {
  border: 0; background: var(--surface-2); border-radius: 999px; padding: 8px 12px;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.davie-mod .so-seg.on { background: var(--navy-deep); color: var(--on-navy); }
.davie-mod .so-ch {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--surface-2);
  border-radius: 12px; padding: 8px 12px 8px 8px; cursor: pointer; font: inherit; font-weight: 600;
}
.davie-mod .so-ch.on { box-shadow: inset 0 0 0 2px var(--action); background: var(--accent-soft); }
.davie-mod .so-shot {
  width: 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
}
.davie-mod .so-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.davie-mod .so-shot.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .so-phone {
  width: 240px; margin: 16px auto 0; background: var(--ink); border-radius: 28px; padding: 10px;
}
.davie-mod .so-screen {
  aspect-ratio: 1; border-radius: 20px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; overflow: hidden;
}
.davie-mod .so-copy {
  width: 100%; padding: 14px; color: var(--on-navy);
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.davie-mod .so-copy p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
.davie-mod .acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.davie-mod .acct-pop { min-width: 280px; padding: 8px; right: 168px; }
.davie-mod .pop-lab { font-size: 12px; font-weight: 700; color: var(--muted); padding: 8px 12px 4px; }
.davie-mod .acct-item {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 0; background: transparent; border-radius: 10px; padding: 10px 12px;
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
}
.davie-mod .acct-item:hover, .davie-mod .acct-item.on { background: var(--accent-soft); }
.davie-mod .acct-item b { display: block; font-size: 14px; }
.davie-mod .acct-page { display: flex; flex-direction: column; gap: 22px; }
.davie-mod .acct-split { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.davie-mod .acct-rail {
  flex: 0 0 250px; background: var(--surface); border-radius: 20px; padding: 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 0 0 1px rgba(15,23,42,.06);
}
.davie-mod .acct-glab { padding: 12px 14px 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.davie-mod .acct-link {
  width: 100%; display: flex; justify-content: space-between; padding: 10px 14px; border: 0; border-radius: 10px;
  background: transparent; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left;
}
.davie-mod .acct-link.on { background: var(--accent-soft); color: var(--action-2); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.davie-mod .acct-link em { font-style: normal; font-size: 12px; color: var(--muted); }
.davie-mod .acct-main { flex: 1 1 480px; min-width: 0; }
.davie-mod .acct-hero { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.davie-mod .acct-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.davie-mod .acct-av, .davie-mod .acct-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy-deep); color: var(--on-navy);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.davie-mod .acct-av { border-radius: 50%; background: var(--accent-soft); color: var(--action); }
.davie-mod .acct-add { margin-top: 22px; background: var(--surface-2); border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.davie-mod .icon-xbtn {
  width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--surface-2); color: var(--bad); cursor: pointer; font-size: 18px;
}
.davie-mod .plan-now { background: linear-gradient(180deg,var(--accent-soft),var(--surface)); border-radius: 16px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.davie-mod .ask-mini { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.davie-mod .ask-sheet-f { align-items: center; }
.davie-mod .cn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.davie-mod .seo-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 18px; }
.davie-mod .seo-layout > .card-davie:first-child { flex: 1.4 1 520px; min-width: 0; }
.davie-mod .seo-rail { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.davie-mod .seo-scorecard { display: flex; align-items: center; gap: 16px; }
.davie-mod .seo-g { padding-top: 12px; }
.davie-mod .seo-check { padding: 12px 0; border-bottom: 1px solid var(--line); }
.davie-mod .seo-check-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.davie-mod .seo-check-h > span { flex: 1 1 240px; font-size: 14px; line-height: 1.4; }
.davie-mod .seo-opts { display: flex; background: var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.davie-mod .seo-opt {
  border: 0; border-radius: 8px; padding: 6px 11px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--ink-2);
}
.davie-mod .seo-opt.on { background: var(--surface); color: var(--action); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.davie-mod .seo-detail { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.davie-mod .seo-fix {
  width: 100%; display: flex; gap: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.davie-mod .seo-fix b { display: block; font-size: 14px; }
.davie-mod .seo-spec-row { padding: 10px 0; border-top: 1px solid var(--line); }
.davie-mod .seo-spec-row p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.davie-mod .seo-url { overflow-wrap: anywhere; word-break: break-word; font-size: 22px; }
.davie-mod .seo-hero {
  display: flex; align-items: center; gap: 28px; margin-top: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.davie-mod .seo-ring { width: 120px; height: 120px; flex-shrink: 0; }
.davie-mod .seo-ring-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.davie-mod .seo-ring-fg { fill: none; stroke-width: 10; stroke-linecap: round; }
.davie-mod .seo-hero-copy b { display: block; font-size: 52px; letter-spacing: -.06em; line-height: 1; margin: 4px 0 8px; }
.davie-mod .seo-hero-copy .dm-btn { margin-top: 14px; }
.davie-mod .serp {
  margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.davie-mod .serp-url { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.davie-mod .serp-title {
  display: block; width: 100%; border: 0; background: none; padding: 0;
  text-align: left; font: inherit; font-size: 20px; line-height: 1.3;
  color: var(--accent-ink); cursor: pointer; letter-spacing: -.02em;
}
.davie-mod .serp-title:hover { text-decoration: underline; }
.davie-mod .serp p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.davie-mod .seo-check.pass { background: linear-gradient(90deg, var(--good-soft), transparent); }
.davie-mod .seo-check.fail { background: linear-gradient(90deg, var(--bad-soft), transparent); }
.davie-mod .seo-opt.good.on { color: var(--good); }
.davie-mod .seo-opt.bad.on { color: var(--bad); }
.davie-mod .iab-logo img {
  width: 18px; height: 18px; border-radius: 4px; object-fit: cover; background: var(--surface);
}
.davie-mod .iab-logo .brand-logo-fallback {
  width: 18px; height: 18px; font-size: 8px; border-radius: 4px;
}
.davie-mod .so-studio { display: flex; flex-direction: column; gap: 20px; }
.davie-mod .so-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.davie-mod .so-local { display: flex; gap: 6px; flex-wrap: wrap; }
.davie-mod .so-tab {
  height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--line); color: var(--ink-2);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.davie-mod .so-tab.on { background: var(--surface); color: var(--action); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.davie-mod .net-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.davie-mod .net-tile {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px;
  border-radius: 8px; cursor: pointer; background: var(--surface); border: 1px solid var(--line); font: inherit; color: inherit;
}
.davie-mod .net-tile.on { background: var(--accent-soft); border-color: var(--action); color: var(--action-2); }
.davie-mod .net-tile span { font-size: 11px; color: var(--muted); }
.davie-mod .so-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.davie-mod .so-work { display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.davie-mod .pv-card { background: var(--surface-2); border-radius: 10px; padding: 14px; margin-top: 12px; }
.davie-mod .pv-h { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 12px 14px; border-radius: 8px 8px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.davie-mod .pv-cap { background: var(--surface); margin: 0; padding: 0 14px 12px; font-size: 14px; line-height: 1.5; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.davie-mod .pv-art {
  border-radius: 0 0 8px 8px; background-size: cover; background-position: center; min-height: 180px;
  display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--line); border-top: 0;
}
.davie-mod .pv-art-in { width: 100%; padding: 18px; color: var(--on-navy); display: flex; flex-direction: column; gap: 10px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.davie-mod .pv-art-in b { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; max-width: 90%; }
.davie-mod .pv-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.davie-mod .pv-brand i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--navy-deep); display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; }
.davie-mod .lib-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.davie-mod .lib-thumb { width: 72px; height: 48px; border-radius: 6px; background: var(--navy-deep) center/cover; flex-shrink: 0; }
.davie-mod .tog-lab { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 10px 0; }
.davie-mod .chat-lite { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.davie-mod .chat-lite .c-log { padding: 0; }
@media (max-width: 980px) {
  .davie-mod .so-work, .davie-mod .seo-layout, .davie-mod .acct-split { display: flex; flex-direction: column; }
  .davie-mod .seo-hero { flex-direction: column; align-items: flex-start; }
  .davie-mod .net-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .davie-mod .studio, .davie-mod .social-studio, .davie-mod .seo-grid, .davie-mod .tm-pro, .davie-mod .so-work, .davie-mod .so-week {
    grid-template-columns: 1fr;
  }
  .davie-mod .lead-row { flex-direction: column; }
  .davie-mod .so-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.davie-mod .brand-stack .wordmark { font-size: 17px; font-weight: 700; }
.davie-mod .me-pop .dm-btn.quiet { background: var(--surface-2); box-shadow: none; }
.davie-mod .acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.davie-mod .acct-fl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.davie-mod .acct-fl small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.davie-mod .make-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.davie-mod .make-tile {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px;
  cursor: pointer; text-align: left; background: var(--surface); border: 1.5px solid var(--line);
  font: inherit; color: var(--ink); font-weight: 600; font-size: 14px;
}
.davie-mod .make-tile.on { background: var(--accent-soft); border-color: var(--action); }
.davie-mod .make-tile .dm-ic { color: var(--action); }
.davie-mod .create-split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 18px; }
.davie-mod .create-split > .card-davie:first-child { flex: 1 1 420px; min-width: 0; }
.davie-mod .create-col { flex: 1.2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.davie-mod .ask-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  height: 48px; padding: 0 16px 0 12px; border: 0; border-radius: 999px;
  background: var(--action); color: var(--on-accent); font: inherit; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  box-shadow: 0 10px 28px rgba(26,92,255,.35);
}
.davie-mod .brand-use {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
.davie-mod .brand-use span { display: flex; flex-direction: column; gap: 2px; }
.davie-mod .brand-swatches { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.davie-mod .brand-swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; }
.davie-mod .brand-swatch.on { box-shadow: 0 0 0 3px var(--canvas), 0 0 0 5px var(--action); }
.davie-mod .brand-logo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.davie-mod .brand-logo-wrap { position: relative; display: inline-block; flex-shrink: 0; }
.davie-mod .brand-logo-big { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; margin-top: 0; background: var(--surface-2); display: block; }
.davie-mod .logo-x {
  position: absolute; top: -7px; right: -7px; width: 24px; height: 24px;
  border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--ink); color: var(--surface);
  display: grid; place-items: center; z-index: 2;
  box-shadow: 0 0 0 2px var(--canvas);
}
.davie-mod .logo-x svg { width: 12px; height: 12px; display: block; }
.davie-mod .logo-x:hover { background: #D70015; color: #fff; }
.davie-mod .brand-preview { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-top: 8px; }
.davie-mod .brand-preview-top { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--on-navy); }
.davie-mod .brand-preview-top i {
  width: 32px; height: 32px; border-radius: 9px; background: var(--surface) center/80% no-repeat; flex-shrink: 0; display: block;
}
.davie-mod .brand-preview-top span { display: flex; flex-direction: column; line-height: 1.1; }
.davie-mod .brand-preview-top b { font-size: 17px; }
.davie-mod .brand-preview-top em { font-size: 10px; font-style: normal; font-weight: 600; color: rgba(255,255,255,.75); }
.davie-mod .brand-preview-body { display: flex; height: 70px; }
.davie-mod .brand-preview-body b { width: 120px; display: block; }
.davie-mod .brand-preview-body span { flex: 1; background: var(--canvas); }
.davie-mod .empty-auto { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 12px; color: var(--muted); }
@media (max-width: 980px) {
  .davie-mod .create-split, .davie-mod .acct-grid { display: flex; flex-direction: column; }
}
html.davie-lock,
html:has(.davie-mod),
html[data-brand="davie"] body:has(.davie-mod) {
  height: 100%; overflow: hidden; overscroll-behavior: none; overflow-anchor: none; background: var(--canvas); color-scheme: inherit;
}
html.davie-lock body,
html:has(.davie-mod) body {
  height: 100%; overflow: hidden; overscroll-behavior: none; overflow-anchor: none; margin: 0;
  width: 100%;
}
html.davie-lock #app,
html:has(.davie-mod) #app { height: 100%; overflow: hidden; overscroll-behavior: none; overflow-anchor: none; }
.davie-mod .train-ask {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px;
  background: var(--accent-soft); border-radius: 16px; padding: 14px 16px;
}
.davie-mod .train-ask .c-av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-deep); display: grid; place-items: center; flex-shrink: 0; }
.davie-mod .train-ask p { margin: 0; font-size: 16px; line-height: 1.45; }
.davie-mod .train-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 8px; }
.davie-mod .train-step {
  border: 0; background: var(--line); color: var(--ink-2); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.davie-mod .train-step.on { background: var(--action); color: var(--on-accent); }
.davie-mod .train-step.done { background: var(--good-soft); color: var(--good); }
.davie-mod .mk-types { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.davie-mod .mk-type {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.davie-mod .mk-type.on { border-color: var(--action); background: var(--accent-soft); }
.davie-mod .mk-type b { font-size: 15px; }
.davie-mod .mk-type span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.davie-mod .mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.davie-mod .mk-card {
  display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 14px; align-items: center;
  padding: 14px; border-bottom: 1px solid var(--line);
}
.davie-mod .mk-thumb {
  width: 92px; height: 72px; border-radius: 12px; background: var(--navy-deep) center/cover; color: var(--on-navy);
  display: flex; align-items: flex-end; padding: 8px; font-size: 10px; font-weight: 700;
}
.davie-mod .eg-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.davie-mod .eg-av {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--action);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.davie-mod .kb-card { display: flex; gap: 10px; align-items: flex-start; }
.davie-mod .kb-card.on { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .news-dest {
  background: var(--accent-soft); border-radius: 16px; padding: 14px 16px; margin-bottom: 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
}
.davie-mod .news-dest b { display: block; font-size: 13px; }
.davie-mod .news-dest span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.davie-mod .ex-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.davie-mod .ex-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left;
  border: 0; background: var(--surface); border-radius: 18px; cursor: pointer; font: inherit; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.05);
}
.davie-mod .ex-card img {
  width: 100%; height: 220px; min-width: 0; border-radius: 0; object-fit: cover; object-position: center 18%;
}
.davie-mod .ex-card > div { padding: 14px 14px 16px; }
.davie-mod .ex-card:hover { box-shadow: 0 0 0 2px var(--action); }
.davie-mod .tz-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.davie-mod .so-phone {
  width: min(280px, 100%); margin: 16px auto 0; background: var(--ink); border-radius: 32px; padding: 12px 10px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.davie-mod .so-phone .notch { width: 88px; height: 8px; border-radius: 99px; background: var(--ink-2); margin: 0 auto 10px; }
.davie-mod .follow-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.davie-mod .follow-chip {
  border: 0; background: var(--accent-soft); color: var(--action-2); border-radius: 999px; padding: 8px 12px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left;
}
@media (max-width: 1100px) {
  .davie-mod .ex-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .davie-mod .mk-types, .davie-mod .news-dest, .davie-mod .mk-stats { grid-template-columns: 1fr; }
}
.davie-mod .need-banner {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 16px; padding: 16px 18px; border-radius: 16px;
  background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn); color: var(--ink);
}
.davie-mod .need-banner b { display: block; font-size: 16px; }
.davie-mod .need-banner p { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 640px; }
.davie-mod .camp-build { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.davie-mod .camp-fit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.davie-mod .camp-fit {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  border: 0; background: var(--surface); border-radius: 14px; padding: 8px; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: inherit;
}
.davie-mod .camp-fit.on { box-shadow: inset 0 0 0 2px var(--action); background: var(--accent-soft); }
.davie-mod .camp-fit.wrong { opacity: .78; }
.davie-mod .camp-fit-img {
  display: block; height: 88px; border-radius: 10px; background: var(--navy-deep) center/cover;
}
.davie-mod .camp-fit b { font-size: 13px; line-height: 1.3; }
.davie-mod .shot-pick { position: relative; }
.davie-mod .shot-pick.off-size { opacity: .55; }
.davie-mod .shot-pick i {
  position: absolute; left: 4px; right: 4px; bottom: 4px;
  font-style: normal; font-size: 9px; font-weight: 800; color: var(--on-navy);
  background: rgba(0,0,0,.55); border-radius: 6px; padding: 2px 0; text-align: center;
}
.davie-mod .shot-up {
  display: grid; place-items: center; background: var(--accent-soft); color: var(--action);
  font-size: 11px; font-weight: 800; cursor: pointer;
}
.davie-mod .iab-live.has-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
}
.davie-mod .iab-live.has-photo > * { position: relative; z-index: 1; }
.davie-mod .search-ad {
  background: var(--surface); color: var(--ink); border-radius: 12px; padding: 16px; text-align: left;
  box-shadow: inset 0 0 0 1px var(--line); margin-top: 14px;
}
.davie-mod .search-ad .s-url { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.davie-mod .search-ad b { color: var(--accent-ink); font-size: 18px; display: block; }
.davie-mod .dm-btn[disabled] { cursor: not-allowed; }
@media (max-width: 980px) {
  .davie-mod .camp-build { grid-template-columns: 1fr; }
}
.davie-mod .tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.davie-mod .tag-chip {
  border: 0; background: var(--surface-2); color: var(--ink); border-radius: 999px;
  padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.davie-mod .tag-chip.on { background: var(--navy-deep); color: var(--on-navy); }
.davie-mod .tag-mini {
  display: inline-block; background: var(--accent-soft); color: var(--navy-deep); border-radius: 999px;
  padding: 3px 8px; font-size: 11px; font-weight: 700;
}
.davie-mod .asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.davie-mod .asset-tile { background: var(--surface); border-radius: 16px; padding: 10px; box-shadow: 0 0 0 1px var(--line); }
.davie-mod .asset-sz { position: absolute; right: 10px; top: 10px; }
.davie-mod .auto-play { padding: 14px 0; border-bottom: 1px solid var(--line); }
.davie-mod .auto-play-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.davie-mod.dm-boot {
  background: var(--navy-deep); display: grid; place-items: center;
}
.davie-mod .boot-msg { color: rgba(255,255,255,.88); margin-top: 18px; font-size: 15px; }
.davie-mod .boot-bar {
  width: 168px; height: 3px; margin-top: 16px; border-radius: 99px;
  background: rgba(255,255,255,.22); overflow: hidden;
}
.davie-mod .boot-bar i {
  display: block; height: 100%; width: 42%; background: var(--surface); border-radius: 99px;
  animation: dmBoot 1s ease-in-out infinite;
}
@keyframes dmBoot {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(280%); }
}
.davie-mod.dm-legal {
  background: var(--canvas); overflow: auto; display: block; height: 100%;
}
.davie-mod .legal-shell { max-width: 820px; margin: 0 auto; padding: 28px 20px 80px; }
.davie-mod .legal-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--navy-deep); }
.davie-mod .legal-top .davie-mark { width: 22px; height: 22px; }
.davie-mod .legal-mark { font-weight: 600; font-size: 18px; color: var(--navy-deep); }
.davie-mod .legal-doc {
  background: var(--surface); border-radius: 20px; padding: 28px 28px 36px;
  box-shadow: 0 0 0 1px var(--line);
}
.davie-mod .legal-doc h2 { margin: 26px 0 8px; font-size: 17px; letter-spacing: -.02em; }
.davie-mod .legal-doc p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.davie-mod .agree-lab {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px;
  font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: left;
}
.davie-mod .agree-lab .toggle { flex-shrink: 0; margin-top: 1px; }

/* Night Mode: leftover surfaces, forms, tables, tooltips, disabled. */
html[data-theme="dark"] .davie-mod,
html.dark .davie-mod {
  color-scheme: dark;
  background: var(--canvas);
  color: var(--ink);
}
html[data-theme="dark"] .davie-mod .dm-canvas,
html[data-theme="dark"] .davie-mod.dm-legal,
html.dark .davie-mod .dm-canvas,
html.dark .davie-mod.dm-legal {
  background: var(--canvas);
  color: var(--ink);
}
html[data-theme="dark"] html.davie-lock,
html.dark.davie-lock,
html[data-theme="dark"]:has(.davie-mod) {
  background: var(--canvas);
  color-scheme: dark;
}

.davie-mod .dm-input::placeholder,
.davie-mod textarea.dm-input::placeholder,
.davie-mod .ask-wrap input::placeholder,
.davie-mod #dm-team::placeholder,
.davie-mod #dm-chat::placeholder,
.davie-mod #dm-ask::placeholder {
  color: var(--placeholder);
  opacity: 1;
}
.davie-mod .dm-input:disabled,
.davie-mod select:disabled,
.davie-mod textarea:disabled,
.davie-mod .dm-btn:disabled,
.davie-mod button:disabled:not(.su-step) {
  background: var(--disabled-bg) !important;
  color: var(--disabled-text) !important;
  border-color: var(--line) !important;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none !important;
}
.davie-mod table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}
.davie-mod thead th {
  background: var(--table-head);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.davie-mod tbody td {
  background: var(--table-row);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.davie-mod [title] { /* native tooltip uses OS; in-app tips: */ }
.davie-mod .tooltip,
.davie-mod .tip {
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  border: 1px solid var(--line);
}
.davie-mod select.dm-input,
.davie-mod select {
  background: var(--input-bg);
  color: var(--ink);
  border: 1px solid var(--input-border);
  color-scheme: inherit;
}
.davie-mod option {
  background: var(--surface);
  color: var(--ink);
}
.davie-mod .modal-bg { background: var(--scrim); }
.davie-mod .modal-card,
.davie-mod .pay-card,
.davie-mod .pop {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .davie-mod .dm-acct .bh,
html.dark .davie-mod .dm-acct .bh {
  background: #0F172A;
  color: var(--on-navy);
}
html[data-theme="dark"] .davie-mod .home-logo,
html.dark .davie-mod .home-logo {
  background: var(--surface-2);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--line);
}
html[data-theme="dark"] .davie-mod .c-log,
html.dark .davie-mod .c-log { background: var(--canvas); }
html[data-theme="dark"] .davie-mod .c-shell,
html[data-theme="dark"] .davie-mod .tm-pro,
html.dark .davie-mod .c-shell,
html.dark .davie-mod .tm-pro {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
html[data-theme="dark"] .davie-mod .c-head,
html.dark .davie-mod .c-head {
  background: var(--navy-deep);
  color: var(--on-navy);
}
html[data-theme="dark"] .davie-mod .ask-sheet,
html.dark .davie-mod .ask-sheet {
  background: var(--surface);
  color: var(--ink);
}
html[data-theme="dark"] .davie-mod .sug-chip,
html.dark .davie-mod .sug-chip {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
html[data-theme="dark"] .davie-mod .so-day,
html[data-theme="dark"] .davie-mod .net-tile,
html[data-theme="dark"] .davie-mod .size-chip,
html.dark .davie-mod .so-day,
html.dark .davie-mod .net-tile,
html.dark .davie-mod .size-chip {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}
html[data-theme="dark"] .davie-mod .so-day.on,
html[data-theme="dark"] .davie-mod .size-chip.on,
html.dark .davie-mod .so-day.on,
html.dark .davie-mod .size-chip.on {
  box-shadow: 0 0 0 2px var(--action);
}
html[data-theme="dark"] .davie-mod .need-banner,
html.dark .davie-mod .need-banner {
  background: var(--warn-soft);
  color: var(--ink);
}
html[data-theme="dark"] .davie-mod .phone-copy,
html.dark .davie-mod .phone-copy { color: var(--on-navy); }

.davie-mod .theme-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.davie-mod .theme-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  border: 0;
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  font: inherit;
  font-weight: 700;
}
.davie-mod .theme-pick.on {
  box-shadow: 0 0 0 2px var(--action);
}
.davie-mod .theme-swatch {
  height: 64px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 22px 1fr;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.davie-mod .theme-swatch i:first-child { display: block; }
.davie-mod .theme-swatch.light i:first-child { background: #0A2C77; }
.davie-mod .theme-swatch.light i:last-child { background: #F1F5F9; }
.davie-mod .theme-swatch.dark i:first-child { background: #152A5C; }
.davie-mod .theme-swatch.dark i:last-child { background: #0F172A; }
.davie-mod .theme-swatch.system i:first-child { background: linear-gradient(180deg, #0A2C77 50%, #152A5C 50%); }
.davie-mod .theme-swatch.system i:last-child { background: linear-gradient(180deg, #F1F5F9 50%, #0F172A 50%); }
.davie-mod .theme-pick span.sub { font-weight: 500; color: var(--muted); }
@media (max-width: 720px) {
  .davie-mod .theme-picks { grid-template-columns: 1fr; }
}
