/* Moonlit: built on the Den's brand sheet (portal.css). Black, white, Wulf pink, Playfair and Montserrat. */
.den-dot { color: var(--pink); }
.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-pill { background: rgba(235,72,105,.16); color: var(--pink); border: 1px solid rgba(235,72,105,.45); border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; width: 100%; }
.linkbtn.small { font-size: 13px; color: var(--ink-soft); text-decoration: underline; width: auto; }
.bell-menu form { margin: 0; }
button.bell-item.plain { width: 100%; font: inherit; background: none; border: 0; text-align: left; }

/* Section bar under the top bar */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.subnav-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; padding: 15px 12px 13px; border-bottom: 3px solid transparent; color: var(--ink-soft); }
.subnav a:hover { color: var(--black); }
.subnav a.on { color: var(--black); border-bottom-color: var(--pink); }
.subnav a.new { margin-left: auto; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 9px 14px; border: 0; }
.subnav a.new:hover { background: var(--pink); color: var(--black); }
.count { display: inline-block; min-width: 20px; text-align: center; background: var(--pink); color: var(--black); border-radius: 999px; font-size: 11px; padding: 1px 6px; margin-left: 4px; font-weight: 700; }

/* Status colors, used by chips and badges */
.st-draft { --c: #9a9a9a; --bg: #f1f1f1; }
.st-review { --c: #c98a00; --bg: #fff4d6; }
.st-changes { --c: #b3261e; --bg: #fde8e6; }
.st-approved { --c: #1b7f4b; --bg: #e2f5ea; }
.st-posted { --c: #111; --bg: #e6e6e6; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--bg, #f1f1f1); color: #111; border-left: 4px solid var(--c, #ccc); }

/* Calendar */
.ml-monthnav { display: flex; gap: 8px; }
.ml-filters { display: flex; gap: 16px; flex-wrap: wrap; margin: -6px 0 18px; }
.ml-filters label, .ml-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.ml-filters select, .ml-field input[type=text], .ml-field input[type=datetime-local], .ml-field textarea, .ml-card input[type=text], .ml-comment textarea, .ml-review textarea, .ml-stat input, .ml-chan textarea, .person select, .add-box select {
  font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; }
.ml-filters select { width: auto; min-width: 180px; padding: 9px 12px; }
.ml-field textarea, .ml-chan textarea { resize: vertical; line-height: 1.5; }
.ml-gridwrap { background: var(--white); border: 1px solid var(--line); }
.ml-cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ml-cal th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.ml-cal td { vertical-align: top; height: 118px; padding: 6px; border: 1px solid var(--line); border-top: 0; }
.ml-cal td.out { background: #fafafa; }
.ml-cal td.out .daynum { color: #bbb; }
.ml-cal td.today { box-shadow: inset 0 3px 0 var(--pink); }
.daynum { display: inline-block; font-size: 12px; font-weight: 700; color: #666; text-decoration: none; padding: 2px 5px; border-radius: 4px; margin-bottom: 3px; }
.daynum:hover { background: var(--pink); color: var(--black); }
.chip { display: block; font-size: 12px; line-height: 1.3; padding: 4px 7px; margin: 0 0 4px; border-radius: 4px; background: var(--bg, #f1f1f1); border-left: 4px solid var(--c, #ccc); color: #111; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { filter: brightness(.96); }
.chip .nets { display: inline-flex; gap: 3px; margin-left: 4px; }
.chip .nets i { font-style: normal; font-size: 9px; font-weight: 700; background: #111; color: #fff; border-radius: 3px; padding: 0 4px; }
.chip.key { display: inline-block; margin: 0 8px 0 0; }
.ml-legend { margin-top: 14px; }
.ml-agenda { display: none; }
.ml-agenda h3 { font-size: 17px; margin: 18px 0 8px; }
.ml-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ml-list > a { background: var(--white); border: 1px solid var(--line); padding: 12px 14px; text-decoration: none; font-weight: 600; }
.ml-list > a:hover { border-color: var(--pink); }
.ml-list.tall { gap: 10px; }
.late { color: var(--pink-deep); }
@media (max-width: 760px) { .ml-gridwrap { display: none; } .ml-agenda { display: block; } .ml-legend { display: none; } }

/* Post editor */
.ml-editor { margin-bottom: 30px; }
.ml-fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.ml-main, .ml-side { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.ml-side h2 { font-size: 24px; }
.ml-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #888; }
.ml-snips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: -8px; }
.chipbtn { font: 600 12.5px var(--sans); border: 1.5px solid #cfcfcf; border-radius: 999px; background: var(--white); padding: 6px 12px; cursor: pointer; }
.chipbtn:hover { border-color: var(--pink); }
.ml-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin: 8px 0; }
.ml-picks .pick { position: relative; cursor: pointer; }
.ml-picks .pick input { position: absolute; top: 6px; left: 6px; z-index: 2; width: 18px; height: 18px; accent-color: var(--pink); }
.ml-picks img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; border-radius: 4px; }
.ml-picks .pick:has(input:checked) img { border-color: var(--pink); }
.ml-chan { border: 1.5px solid var(--line); border-radius: var(--radius); }
.ml-chan.on { border-color: var(--black); }
.ml-chan-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; cursor: pointer; font-size: 14px; }
.ml-chan-head input { width: 18px; height: 18px; accent-color: var(--pink); }
.ml-chan-body { display: none; padding: 0 14px 14px; position: relative; }
.ml-chan.on .ml-chan-body { display: block; }
.net { display: inline-block; font-size: 10px; font-weight: 700; background: var(--black); color: var(--white); border-radius: 3px; padding: 2px 6px; min-width: 24px; text-align: center; }
.chars { font-variant-numeric: tabular-nums; }
.ml-chan-body .chars { position: absolute; right: 18px; bottom: 20px; font-size: 11px; font-weight: 700; color: #888; background: var(--white); padding: 0 4px; }
.ml-chan-body .chars.over { color: var(--pink-deep); }
.ml-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.ml-review { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--pink); padding: 16px 18px; margin: 0 0 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ml-review textarea { flex: 1 1 280px; width: auto; }
.ml-extra { margin-top: 34px; }
.ml-posted { background: var(--white); border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 8px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ml-posted.done { border-left: 4px solid #1b7f4b; }
.ml-posted form { margin: 0; }
form.inline { display: flex; gap: 8px; flex: 1 1 320px; align-items: center; }
form.inline input[type=text] { flex: 1; padding: 9px 11px; }
.ml-thread { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.msg { background: var(--white); border: 1px solid var(--line); padding: 12px 16px; }
.msg p { margin: 6px 0 0; white-space: pre-wrap; }
.msg.k-changes { border-left: 4px solid #b3261e; } .msg.k-approved, .msg.k-posted { border-left: 4px solid #1b7f4b; } .msg.k-submitted { border-left: 4px solid #c98a00; }
.ml-comment { display: flex; gap: 10px; align-items: flex-end; }
.ml-comment textarea { flex: 1; }
.ml-more { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.ml-more form { margin: 0; }
.btn.danger { background: transparent; color: #8a1c30; border-color: #8a1c30; }
.btn.danger:hover { background: #8a1c30; color: var(--white); }
@media (max-width: 860px) { .ml-fs { grid-template-columns: 1fr; } }

/* Post queue */
.ml-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--pink); padding: 18px 20px; margin-bottom: 16px; }
.ml-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ml-card header a { text-decoration: none; font-size: 18px; }
.ml-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ml-thumbs img { height: 84px; width: auto; border-radius: 4px; border: 1px solid var(--line); }
.ml-copy { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.ml-copy-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ml-copy-head .note { margin-left: auto; }
.ml-text { white-space: pre-wrap; word-break: break-word; background: #fafafa; border: 1px solid var(--line); padding: 14px; font: 500 15px/1.55 var(--sans); margin: 0 0 10px; max-height: 260px; overflow: auto; }
.ml-copy-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ml-copy-foot form.inline { flex: 1 1 300px; }

/* Ideas, library, results, tables */
.ml-idea { background: var(--white); border: 1px solid var(--line); padding: 14px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.ml-idea p { margin: 4px 0 4px; font-weight: 600; }
.ml-idea.used { opacity: .65; }
.ml-idea form { margin: 0; }
.ml-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ml-lib figure { margin: 0; background: var(--white); border: 1px solid var(--line); }
.ml-lib img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ml-lib figcaption { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; word-break: break-all; }
.ml-lib form { margin: 0; }
.ml-table { width: 100%; border-collapse: collapse; background: var(--white); }
.ml-table th, .ml-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ml-table th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.ml-stat { background: var(--white); border: 1px solid var(--line); padding: 14px 18px; margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.ml-stat-who { flex: 1 1 220px; display: flex; flex-direction: column; }
.ml-stat label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #888; width: 96px; }
.ml-stat input { padding: 8px 10px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.ml-check { flex-direction: row !important; align-items: center; gap: 10px !important; padding-top: 22px; }
.scroll-x { overflow-x: auto; }
.wrap h2.section { font-size: 26px; margin: 26px 0 10px; }
.ml-field .note { font-weight: 500; }

/* ---- Version 1.1 ---- */
/* Sign in page version, visible on every screen size */
.login-ver { margin: 22px 0 0; font-size: 12px; color: #777; text-align: left; }

/* Feedback button and dialog (same look in every Wulf module) */
.fb-open { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 12px; }
.fb-word { font-size: 13px; font-weight: 600; }
@media (max-width: 560px) { .fb-word { display: none; } .fb-open { padding: 0; width: 40px; } }
.fb-dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.fb-dialog::backdrop { background: rgba(0,0,0,.55); }
.fb-form { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.fb-form h2 { margin: 0; font-size: 28px; }
.fb-form input[type=file] { font-size: 14px; max-width: 100%; }
.fb-form .foot-btns { justify-content: flex-end; }
.fb-form input[type=file]::file-selector-button { margin-right: 12px; }

/* Voice dictation: fits inside any box, including on phones */
.mic-wrap { position: relative; display: block; width: 100%; max-width: 100%; }
.mic-wrap textarea { padding-right: 46px; }
.mic { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #cfcfcf; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mic:hover { border-color: var(--black); }
.mic.on { background: var(--pink); border-color: var(--pink); color: var(--black); animation: ml-pulse 1.2s infinite; }
@keyframes ml-pulse { 50% { box-shadow: 0 0 0 6px rgba(235,72,105,.25); } }

/* Write it for me */
.ml-gen { background: var(--grey); border: 1px solid var(--line); border-left: 4px solid var(--pink); padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.ml-gen-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.ml-gen-row.btns { gap: 8px; }
.ml-gen select { font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: var(--white); min-width: 180px; }
.ml-field.grow { flex: 1 1 240px; position: relative; }
.ml-gen .note { margin: 0; min-height: 1em; }
.ml-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 15; background: var(--white); border: 1.5px solid var(--black); border-radius: var(--radius); max-height: 260px; overflow: auto; }
.ml-results button { display: block; width: 100%; text-align: left; font: 600 14px var(--sans); padding: 11px 12px; background: var(--white); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; white-space: pre-wrap; }
.ml-results button:hover { background: var(--grey); }
.ml-results .note { padding: 10px 12px; }
.ml-check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 600; }
.ml-check-line input { width: 18px; height: 18px; accent-color: var(--pink); margin-top: 1px; flex: none; }

/* Preview */
.ml-preview { display: flex; flex-direction: column; gap: 12px; }
.pv { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.pv-head { padding: 9px 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--grey); }
.pv-body { padding: 12px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto; }
.pv-link { padding: 0 12px 10px; font-size: 12px; color: var(--pink-deep); word-break: break-all; }
.pv-pics { display: flex; gap: 4px; padding: 0 12px 12px; }
.pv-pics img { height: 70px; width: auto; max-width: 100%; border-radius: 4px; object-fit: cover; }

/* Jobs */
.ml-jobbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.ml-jobbar .grow { flex: 1 1 280px; }
.ml-jobbar input[type=search] { font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); width: 100%; background: var(--white); }
.inline-form { margin: 0; }
.ml-auto-box label { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; }
.ml-auto-box input { width: 18px; height: 18px; accent-color: var(--pink); }
.ml-job { background: var(--white); border: 1px solid var(--line); padding: 14px 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.ml-job[hidden] { display: none; }
.ml-job.off { opacity: .6; }
.ml-job-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 280px; }
.ml-job-side { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ml-job-side form { margin: 0; }
.jpc { color: var(--pink); font-weight: 700; margin-right: 6px; }
.need { color: #b3261e; font-weight: 700; }
.job-open { --c: #1b7f4b; --bg: #e2f5ea; }
.job-filled, .job-closed { --c: #111; --bg: #e6e6e6; }
.job-hold { --c: #c98a00; --bg: #fff4d6; }

/* API and keys, build check, feedback list */
.ml-key { background: var(--white); border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.ml-key header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.ml-key h2 { margin: 0; font-size: 24px; }
.ml-key .note { margin: 0; }
.ml-line { display: flex; gap: 10px; align-items: center; background: var(--grey); border: 1px solid var(--line); padding: 8px 10px; }
.ml-line code { flex: 1 1 auto; font: 600 13px/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; min-width: 0; }
.ml-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #666; }
.ml-dot i { width: 11px; height: 11px; border-radius: 50%; background: #b9b9b9; display: inline-block; }
.ml-dot.on { color: #1b7f4b; }
.ml-dot.on i { background: #1fa45f; }
.ml-fb { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--pink); padding: 14px 18px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.ml-fb.done { opacity: .6; border-left-color: #1fa45f; }
.ml-fb header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ml-fb p { margin: 0; }
.ml-fb form { margin: 0; align-self: flex-start; }
.ml-suggest { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.ml-suggest form, .ml-suggest .note { margin: 0; }

/* Week view */
.ml-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ml-week section { background: var(--white); border: 1px solid var(--line); padding: 10px; min-height: 140px; display: flex; flex-direction: column; gap: 6px; }
.ml-week section.today { border-color: var(--pink); border-width: 2px; }
.ml-week h3 { margin: 0 0 4px; font-size: 14px; font-family: var(--sans); }
.ml-week h3 a { text-decoration: none; }
@media (max-width: 900px) { .ml-week { grid-template-columns: 1fr; } .ml-week section { min-height: 0; } }
@media (max-width: 560px) { .ml-jobbar .btn, .ml-job-side .btn { width: 100%; } .ml-job-side { width: 100%; } }

/* ---- Version 1.2 ---- */
/* Header like the ATS: black bar, round pill navigation, Feedback pill, bell and gear */
.app-top-in { max-width: 1280px; flex-wrap: wrap; gap: 12px 16px; padding: 14px 24px; justify-content: flex-start; }
.app-top .brand-link { flex: none; }
.app-nav { display: flex; gap: 8px; flex: 1 1 auto; justify-content: center; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 4px 0; min-width: 0; }
.app-nav::-webkit-scrollbar { display: none; }
.app-nav a { background: #1c1c1c; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.app-nav a:hover { border-color: #444; }
.app-nav a.on { background: var(--pink); color: #fff; }
.app-nav a.newpill { background: #fff; color: #000; }
.app-nav a.newpill:hover { background: var(--pink); color: #fff; }
.app-top .top-right { gap: 10px; flex: none; margin-left: auto; }
.fb-pill { display: inline-flex; align-items: center; gap: 8px; background: #1c1c1c; color: #fff; border: 1px solid transparent; border-radius: 999px; padding: 10px 16px; font: 600 15px var(--sans); cursor: pointer; }
.fb-pill:hover { border-color: #444; }
.bell-pill { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #1c1c1c; color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.bell-pill .count { position: absolute; top: -4px; right: -4px; margin: 0; }
@media (max-width: 1180px) { .app-nav { order: 3; flex: 1 1 100%; justify-content: flex-start; } }
@media (max-width: 560px) { .fb-pill .fb-word { display: none; } .fb-pill { padding: 10px 12px; } .app-top-in { padding: 12px 16px; } .app-nav a { padding: 9px 15px; font-size: 14px; } }

/* Light footer with the black Wulf logo above the version */
.app-foot { background: var(--white); color: #777; border-top: 1px solid var(--line); margin-top: 40px; }
.app-foot .site-foot-in { flex-direction: column; justify-content: center; gap: 6px; padding: 26px 24px 30px; }
.app-foot img { height: 30px; }
.app-foot .ver { color: #888; margin: 0; }

/* Tables: black header like the ATS Placements page */
.ml-table th { background: #000; color: #fff; letter-spacing: .08em; }

/* Calendar and posts */
.ml-prevnext { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.ml-prevnext a { color: var(--pink-deep); text-decoration: none; }
.ml-prevnext a:hover { text-decoration: underline; }
.ml-drafted { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #eef7f1; border: 1px solid #cfe8d9; border-left: 4px solid #1fa45f; padding: 12px 16px; margin-bottom: 16px; }
.ml-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ml-row2 select { font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: var(--white); width: 100%; }
.ml-row2 input[type=text] { width: 100%; }
@media (max-width: 560px) { .ml-row2 { grid-template-columns: 1fr; } }
#var-pick { font: 500 14px var(--sans); padding: 8px 10px; border: 1.5px solid #cfcfcf; border-radius: 999px; background: var(--white); max-width: 100%; }
.theme { display: block; font-size: 11px; font-weight: 600; color: #9a9a9a; text-decoration: none; padding: 2px 0; line-height: 1.3; }
.theme:hover { color: var(--pink-deep); }
.msg.k-activity { background: transparent; border: 0; padding: 4px 0; }
.msg.k-activity p, .msg.k-activity b { font-size: 13px; color: #777; display: inline; font-weight: 500; }
.msg.k-activity b { font-weight: 700; }

/* List view */
.ml-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 10px 16px; text-decoration: none; color: inherit; }
.ml-row:hover { border-color: var(--black); }
.ml-row img, .ml-nothumb { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--grey); display: block; }
.ml-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
@media (max-width: 640px) { .ml-row { grid-template-columns: 52px 1fr; } .ml-row .nets, .ml-row .badge { grid-column: 2; justify-self: start; } .ml-row img, .ml-nothumb { width: 52px; height: 52px; } }

/* Weekly rhythm */
.ml-rhythm { display: flex; flex-direction: column; gap: 12px; }
.ml-rhythm-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 14px; align-items: end; background: var(--white); border: 1px solid var(--line); padding: 12px 16px; }
.ml-rhythm-row select { font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: var(--white); width: 100%; }
.ml-rhythm-row input[type=text] { width: 100%; }
@media (max-width: 760px) { .ml-rhythm-row { grid-template-columns: 1fr; } }
.ml-rhythm .btn { align-self: flex-start; }

/* Branded card maker */
.ml-maker { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--pink); padding: 18px 20px; margin-bottom: 22px; }
.ml-maker-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.ml-maker-form { display: flex; flex-direction: column; gap: 12px; }
.ml-maker-form select { font: 500 15px var(--sans); padding: 11px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); background: var(--white); width: 100%; }
.ml-maker-form input[type=text] { width: 100%; }
#mk-canvas { width: 100%; max-width: 520px; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #000; }
@media (max-width: 760px) { .ml-maker-grid { grid-template-columns: 1fr; } }
/* keep brand, pills and account buttons on one row on wide screens */
.app-top-in { max-width: 1400px; flex-wrap: nowrap; }
.app-nav { flex: 1 1 0; }
.app-nav a { padding: 10px 15px; font-size: 14.5px; }
@media (max-width: 1180px) { .app-top-in { flex-wrap: wrap; } .app-nav { flex: 1 1 100%; } }
