/* The Dashboard, Welcome, sign-in, Free Forever, Contact and other small pages built from .mmb-dash - layout only (printed by mmb_dash_css(), dashboards.php; moved here from the page, site review 2, item 150a, 2026-11-14). */
/* Colors, fonts, buttons and boxes come from the site standard (assets/mmb-standard.css); only the layout of these pages is here. Other files print these same classes (.mmb-btn, .mmb-card, .mmb-flash ...), so their look reads the standard values here instead of being removed. */
.mmb-dash{max-width:900px;margin:0 auto;color:var(--mmb-color-text, #2E2621)}
@media(min-width:1100px){.mmb-dash{max-width:1280px}}
.mmb-dash.mmb-dash-home{background:var(--mmb-color-box, #fff);border:var(--mmb-box-edge, 2px solid #7A3540);border-radius:var(--mmb-box-round, 10px);box-shadow:var(--mmb-box-shadow, 6px 6px 14px rgba(46, 38, 33, 0.25));padding:var(--mmb-space-box, 40px);margin:var(--mmb-space-page-top, 32px) auto}
@media(max-width:700px){.mmb-dash.mmb-dash-home{margin:16px 10px;width:auto}}
.mmb-dash *{box-sizing:border-box}
/* Fonts and sizes: the site standard roles (owner, 2026-11-02) - titles in Lora, bold. */
.mmb-dash h1,.mmb-dash h2{color:var(--mmb-color-maroon, #7A3540);margin:0;font-family:var(--mmb-font-title, "Lora", Georgia, serif);font-weight:700}
.mmb-dash .mmb-soft{color:var(--mmb-color-note, #5C5344);font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-size:var(--mmb-size-note, 20px)}
.mmb-head{background:var(--mmb-color-highlight, #F1EAE1);border:1px solid var(--mmb-color-line, #C9B8A8);border-radius:10px;padding:24px 28px;margin-bottom:20px;text-align:center}
/* (2026-11-02) The header is centred as a whole: its title was centred by the standard while the line in capitals above it and the line below it stayed at the left. */
.mmb-head h1{font-size:var(--mmb-size-page-title, 40px);line-height:1.2}
.mmb-head .mmb-family{color:var(--mmb-color-note, #5C5344);font-style:italic}
.mmb-eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:var(--mmb-size-text, 20px);font-weight:700;color:var(--mmb-color-note, #5C5344);margin-bottom:4px}
.mmb-dash>h1{font-size:var(--mmb-size-page-title, 40px);line-height:1.2;margin:0 0 6px}
.mmb-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.mmb-tip form{float:right;margin:0}
.mmb-tip button{background:none;border:0;color:var(--mmb-color-note, #5C5344);text-decoration:underline;cursor:pointer;font-size:var(--mmb-size-text, 20px)}
.mmb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}
.mmb-card{background:var(--mmb-color-card, #FBF8F3);border:var(--mmb-box-edge, 2px solid #7A3540);border-radius:var(--mmb-card-round, 12px);padding:20px 22px;box-shadow:var(--mmb-card-shadow, 6px 6px 16px rgba(46, 38, 33, 0.2));box-sizing:border-box}
.mmb-card .mmb-label{font-size:var(--mmb-size-text, 20px);text-transform:uppercase;letter-spacing:.06em;color:var(--mmb-color-note, #5C5344);margin-bottom:6px}
.mmb-card .mmb-value{font-family:var(--mmb-font-title, "Lora", Georgia, serif);font-size:var(--mmb-size-page-title, 40px);font-weight:700;color:var(--mmb-color-maroon, #7A3540);line-height:1.1}
.mmb-bar{background:var(--mmb-color-highlight, #F1EAE1);border-radius:6px;height:10px;margin-top:10px;overflow:hidden}
.mmb-bar span{display:block;height:100%;background:var(--mmb-color-ok, #1A7A1A);border-radius:6px}
.mmb-dash h2.mmb-sec{font-size:var(--mmb-size-section-title, 28px);margin:28px 0 14px}
.mmb-action{text-align:center}
.mmb-action .mmb-ico{font-size:1.7em;margin-bottom:6px}
/* The pictures on the Welcome page cards at the same size as on the Dashboard cards (they were word-sized specks, 2026-11-02). */
.mmb-guide .mmb-ico{font-size:1.7em;line-height:1;margin-bottom:6px}
/* (2026-11-02) Each Welcome card ends with its button, so cards side by side have their buttons in one straight line even when one card has a line more of words. */
.mmb-guide .mmb-card{display:flex;flex-direction:column}
.mmb-guide .mmb-card>.mmb-desc{flex:1 0 auto}
.mmb-action .mmb-desc{font-size:var(--mmb-size-note, 20px);color:var(--mmb-color-note, #5C5344);margin-top:8px;line-height:1.4}
.mmb-btn,.mmb-dash a.mmb-btn{display:block;width:100%;min-height:var(--mmb-btn-height, 56px);padding:var(--mmb-btn-pad, 14px 28px);background:var(--mmb-color-maroon, #7A3540);color:#fff;border:2px solid var(--mmb-color-maroon, #7A3540);border-radius:var(--mmb-btn-round, 10px);font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-weight:700;font-size:var(--mmb-size-button, 20px);line-height:1.2;cursor:pointer;text-align:center;text-wrap:balance;text-decoration:none;box-sizing:border-box}
.mmb-btn:hover,.mmb-dash a.mmb-btn:hover{background:var(--mmb-color-maroon-dark, #5E2830);border-color:var(--mmb-color-maroon-dark, #5E2830);color:#fff}
.mmb-btn:focus-visible{outline:var(--mmb-focus-ring, 3px solid #B8935A);outline-offset:2px}
.mmb-btn.mmb-alt,.mmb-dash a.mmb-btn.mmb-alt,.mmb-btn.mmb-ghost,.mmb-dash a.mmb-btn.mmb-ghost{background:var(--mmb-color-box, #fff);border-color:var(--mmb-color-maroon, #7A3540);color:var(--mmb-color-maroon, #7A3540)}
.mmb-btn.mmb-alt:hover,.mmb-dash a.mmb-btn.mmb-alt:hover,.mmb-btn.mmb-ghost:hover,.mmb-dash a.mmb-btn.mmb-ghost:hover{background:var(--mmb-color-highlight, #F1EAE1);border-color:var(--mmb-color-maroon-dark, #5E2830);color:var(--mmb-color-maroon-dark, #5E2830)}
.mmb-btn.mmb-small,.mmb-dash a.mmb-btn.mmb-small{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:48px;padding:6px 16px;font-size:var(--mmb-size-button, 20px)}
.mmb-dash a:not(.mmb-btn,.mmb-s-btn,.mmb-s-btn-2,.mmb-s-btn-delete){color:var(--mmb-color-maroon, #7A3540)}
.mmb-list{background:#fff;border:1px solid var(--mmb-color-line, #C9B8A8);border-radius:10px;padding:6px 22px}
.mmb-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px dashed var(--mmb-color-line, #C9B8A8)}
.mmb-row:last-child{border-bottom:0}
.mmb-row .mmb-who{font-weight:600}
.mmb-row .mmb-when{color:var(--mmb-color-note, #5C5344);font-size:var(--mmb-size-note, 20px);white-space:nowrap}
/* A memory title in the "Memories you have added" list: the standard small title, as on All Memories. */
.mmb-dash .mmb-list .mmb-row>div>a{font-family:var(--mmb-font-title, "Lora", Georgia, serif);font-weight:700;font-size:var(--mmb-size-small-title, 20px)}
.mmb-dash details{margin-top:10px;text-align:left}
.mmb-dash details summary{cursor:pointer;color:var(--mmb-color-maroon, #7A3540);font-weight:600;list-style:none;text-align:center;text-decoration:underline}
.mmb-dash input[type=text],.mmb-dash input[type=email],.mmb-dash textarea{width:100%;min-height:var(--mmb-tap, 52px);padding:var(--mmb-input-pad, 12px 14px);border:var(--mmb-input-edge, 2px solid #C9B8A8);border-radius:var(--mmb-input-round, 8px);margin:6px 0;font:inherit;font-size:var(--mmb-size-typing, 20px);background:#fff}
.mmb-check{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed var(--mmb-color-line, #C9B8A8);cursor:pointer;font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-weight:400;font-size:var(--mmb-size-typing, 20px)}
.mmb-check input{margin-top:5px;width:19px;height:19px;flex-shrink:0;accent-color:var(--mmb-color-maroon, #7A3540)}
/* The Family Agreement boxes: 30px, easy to see and tap (were 19px - site review item 3, owner 2026-11-12), like the checkout boxes. Only here: .mmb-check is also used elsewhere. */
.mmb-agree .mmb-check{line-height:1.5}
.mmb-agree .mmb-check input{flex:0 0 30px;width:30px;height:30px;min-width:30px;margin:3px 0 0}
.mmb-agree .mmb-agree-hello{margin:8px 0 var(--mmb-space-paragraph, 16px);font-family:var(--mmb-font-title, "Lora", Georgia, serif);font-size:var(--mmb-size-box-title, 24px);line-height:1.4;color:var(--mmb-color-maroon, #7A3540);text-align:left}
.mmb-agree .mmb-agree-first{margin:0 0 var(--mmb-space-paragraph, 16px)}
.mmb-flash{margin:0 0 var(--mmb-space-paragraph, 16px);padding:14px 18px;border-radius:8px;font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-size:var(--mmb-size-message, 20px);line-height:1.5}
.mmb-flash-ok{background:var(--mmb-color-ok-bg, #EDF7ED);border:2px solid var(--mmb-color-ok, #1A7A1A);color:var(--mmb-color-ok, #1A7A1A)}
.mmb-flash-err{background:var(--mmb-color-error-bg, #FDECEA);border:2px solid var(--mmb-color-error, #C62828);color:var(--mmb-color-error, #C62828)}
.mmb-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.mmb-welcome{text-align:center}
.mmb-welcome .mmb-badge{font-size:2.4em}
.mmb-dash a.mmb-btn.mmb-enter{display:inline-block;width:auto;margin:8px 0 34px}
.mmb-invite-box{background:var(--mmb-color-highlight, #F1EAE1);border:1px dashed var(--mmb-color-gold, #B8935A);border-radius:10px;padding:20px 24px;text-align:center}
.mmb-invite-box h2{font-size:var(--mmb-size-box-title, 24px);margin-bottom:6px}
/* The titles of the Welcome page cards ("Browse Memories" ...): the standard box title. */
.mmb-guide .mmb-card>strong{font-family:var(--mmb-font-title, "Lora", Georgia, serif);font-weight:700;font-size:var(--mmb-size-box-title, 24px)}
.mmb-dash .mmb-invite-box a.mmb-btn{display:inline-block;width:auto}
.mmb-story-form{background:var(--mmb-color-highlight, #F1EAE1);border:1px solid var(--mmb-color-line, #C9B8A8);border-radius:10px;padding:22px 26px;max-width:640px;margin:0 auto}
.mmb-review{padding:14px 0;border-bottom:1px dashed var(--mmb-color-line, #C9B8A8)}
.mmb-review:last-child{border-bottom:0}
.mmb-review .mmb-actions{display:flex;gap:8px;margin-top:8px}
.mmb-review .mmb-actions form{margin:0}
@media(max-width:600px){.mmb-head{padding:18px}.mmb-row{flex-direction:column;align-items:flex-start;gap:2px}}
/* Phone fit (owner, 2026-11-02: "check the phone pages to see if everything fits attractively"). On a phone the Dashboard was squeezed into a column about 130px wide: the theme gutter, the page article padding, the Dashboard box with its own margin and padding, then the Family password box and its panel inside that - buttons broke one word per line. (The theme gutter and the article padding are the site standard file: 16px and none on a phone.) On a phone the Dashboard cards now sit straight on the page, 16px from the screen edges (each card is already a box), and the Family password box is a plain section like Quick actions, so its panel is the only box. A computer or tablet keeps the Dashboard box as it is. */
@media(max-width:600px){
.mmb-dash.mmb-dash-home{margin:var(--mmb-space-page-top, 16px) 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.mmb-dash-home .mmb-levels-box{padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.mmb-review .mmb-actions{flex-wrap:wrap}
}
/* Phone polish (owner, 2026-11-02): the wider Dashboard on a phone left single words alone on a last line ("us." under the member number, "photo." under a Quick action, "Deleted", "tooth"). Words in paragraphs, lists and notes never end with one word alone (text-wrap: pretty), and the short centred line under each Quick action splits into even lines. The same words; on every screen size, since a lone last word is never wanted. */
.mmb-dash-home p,.mmb-dash-home li,.mmb-dash-home .mmb-soft{text-wrap:pretty}
.mmb-dash-home .mmb-action .mmb-desc{text-wrap:balance}
/* Quick actions only (the number boxes keep .mmb-grid): cards at least 300px wide, so a computer shows even rows and "Add a Family Member" no longer breaks inside "Member"; min(100%,...) keeps a narrow phone from spilling. A Quick-action button never breaks inside a word (site review 2, 2026-11-13). */
.mmb-grid.mmb-action-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.mmb-action .mmb-btn{overflow-wrap:normal;word-break:normal}
/* The "You are visiting this family" card: space between its big buttons (site review 2, item 106, 2026-11-14). */
.mmb-visiting .mmb-card .mmb-btn{margin-top:14px}
/* ===== The family Dashboard and the Welcome page (site review 2, item B15, 2026-11-14) */
/* The signed-out Dashboard: space above its big buttons, and the main-site "New here?" line (site review 2, item 135g, 2026-11-14). */
.mmb-dash-signin .mmb-card .mmb-btn{margin-top:16px}
.mmb-dash-signin .mmb-dash-new{margin:20px 0 0;text-align:center}
/* The numbers as one short line under Quick actions, the storage bar under it (site review 2, items 112b, 136a, 136b, 2026-11-14). */
.mmb-dash .mmb-dash-numbers{margin:0 0 28px;text-align:center}
.mmb-dash .mmb-dash-numbers .mmb-dash-numbers-line{margin:0;font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-size:var(--mmb-size-text, 24px);line-height:1.5;color:var(--mmb-color-text, #2E2621);text-wrap:balance;overflow-wrap:anywhere}
.mmb-dash .mmb-dash-numbers .mmb-bar{max-width:480px;margin:10px auto 0}
/* "See bigger plans" under the storage bar (part of the B15 block above and below, so no "=====" line of its own): the standard lone link - underlined, 600, at least 48px tall; three classes so the theme's .single-content p rules cannot win (site review 2, item 135e, 2026-11-14) */
.mmb-dash .mmb-dash-numbers .mmb-dash-numbers-more{margin:12px 0 0;font-family:var(--mmb-font-text, "Karla", Arial, sans-serif);font-size:var(--mmb-size-text, 24px);line-height:1.5}
.mmb-dash .mmb-dash-numbers .mmb-dash-numbers-more a{display:inline-flex;align-items:center;min-height:48px;padding:8px 0;box-sizing:border-box;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--mmb-color-maroon,#7A3540)}
/* One button per Quick-action card: the button itself opens and closes its form; open, it turns soft beige and its arrow
   points up, so it never looks like the filled Send button under the boxes (site review 2, items 112c, 129r, 2026-11-14). */
.mmb-dash details.mmb-action-open{margin-top:0}
.mmb-dash details.mmb-action-open > summary.mmb-btn{display:block;list-style:none;text-decoration:none;font-weight:700}
.mmb-dash details.mmb-action-open > summary.mmb-btn::-webkit-details-marker{display:none}
.mmb-dash details.mmb-action-open > summary.mmb-btn::marker{content:""}
.mmb-dash details.mmb-action-open > summary.mmb-btn::after{content:"";display:inline-block;width:10px;height:10px;margin-left:14px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translateY(-4px) rotate(45deg);vertical-align:middle}
.mmb-dash details.mmb-action-open[open] > summary.mmb-btn{margin-bottom:12px;background:var(--mmb-color-highlight, #F1EAE1)}
.mmb-dash details.mmb-action-open[open] > summary.mmb-btn::after{transform:translateY(2px) rotate(-135deg)}
/* The Welcome page: the three newest memories, as on All Memories, left-aligned under the centred welcome, with the photo
   shown whole and bigger (site review 2, item 123e, 2026-11-14). */
.mmb-welcome .mmb-welcome-newest{max-width:720px;margin:24px auto 8px;text-align:left}
.mmb-dash.mmb-welcome a.mmb-entry-link{color:inherit}
.mmb-dash.mmb-welcome a.mmb-entry-stories-add{color:#3E6B34}
.mmb-dash.mmb-welcome .mmb-entry-thumb{width:120px;height:auto;max-height:120px;object-fit:contain}
/* This list sits inside the theme's own content area, whose list and paragraph rules win over the shared card styles (the
   Find a Memory lesson): no left indent, no dots, and the cards' own small gaps, as on All Memories. Found in the
   real-browser look: the rows started 48px to the right (site review 2, item 123e, 2026-11-14). */
.mmb-dash.mmb-welcome ul.mmb-welcome-newest{padding:0;list-style:none}
.mmb-dash.mmb-welcome .mmb-welcome-newest > li{margin:0;padding:0;list-style:none}
.mmb-dash.mmb-welcome .mmb-welcome-newest p.mmb-entry-title{margin:0 0 2px}
.mmb-dash.mmb-welcome .mmb-welcome-newest p.mmb-entry-date{margin:0}
@media (max-width:600px){
	.mmb-welcome .mmb-welcome-newest{gap:0;border-top:1px solid var(--mmb-color-line, #C9B8A8)}
	.mmb-welcome .mmb-welcome-newest > li{border-bottom:1px solid var(--mmb-color-line, #C9B8A8)}
	.mmb-welcome .mmb-welcome-newest .mmb-entry-card{gap:14px;padding:14px 0;border:0;border-radius:0}
	.mmb-dash.mmb-welcome .mmb-entry-thumb{width:96px;max-height:96px}
}
