/* Prelaunch affordances: ownership, public quotes, administration, reminder lab. */
.brand-label{display:inline}
.created-private{border:2px solid #b4cdb9;background:#f6fbf3}
.created-private-heading{font-size:16px}
.created-private #save-creator-link{border-color:#9a7855;color:#634a2b;background:#fffaf0}
.created-manage-link{display:block;margin:12px 0 4px;text-align:center;font-weight:750;font-size:13px;
 color:#285b4c;text-underline-offset:4px}
.created-open-hint{margin:0 auto 10px!important;text-align:center;max-width:380px;
 color:#6d776c;font-size:12px!important;line-height:1.5!important}
.created-support{background:#fbf3e1;border:1px solid #e8d3ad;border-radius:17px;margin-top:20px;padding:0 12px}
.created-support>summary{font-size:14px;padding:17px 4px 14px;color:#5c492b}
.created-support-summary-text small{color:#645a49}
.created-support .donation-choice{font-size:15px}
.letter-actions #share-thought{flex:1 1 100%;border-color:#1f6349;background:#1f6349;color:#fff;box-shadow:0 6px 18px rgba(31,99,73,.22);font-weight:750}
.letter-actions #share-thought:hover{background:#184e3a}
.letter-actions #share-thought[hidden]{display:none!important}
.thought-share-inner{text-align:left}
.thought-share-inner>h2{text-align:center}
.thought-share-inner>p,.thought-share-inner>h3{text-align:left}
.thought-share-inner #thought-preview-image{margin:14px 0;border-radius:14px}
.thought-preview-og-title{font-weight:750;color:#285b4c;margin-bottom:3px}
.thought-preview-og-description{font-size:13px;color:#667267;margin-top:0}
.thought-share-inner #thought-preview-cta{display:block;pointer-events:none;margin:18px auto}
.thought-share-dialog .example-share-actions{margin-top:14px}
.thought-share-dialog #thought-share-link{width:100%;margin-top:10px}
.thought-share-dialog #thought-share-link[hidden]{display:none!important}
.calendar-reminders{max-width:760px;margin:30px auto 35px;padding:22px;border-radius:20px;
 border:1px solid #d5dfcb;background:#f3f8ee}
.calendar-reminders[hidden]{display:none!important}
.calendar-reminders h2{font-size:22px}
.calendar-reminders p{font-size:14px;color:#4b6758;line-height:1.6}
.calendar-reminders .button{min-height:45px;margin:5px 8px 5px 0}
.calendar-reminders .reminders-choice{display:block;margin-bottom:12px;max-width:400px}
.calendar-reminders .reminders-choice select{display:block;width:100%;margin-top:5px}
.calendar-reminders .button[hidden]{display:none!important}
.thought-page{background:linear-gradient(145deg,#f6e9d2,#f4f7eb)}
.thought-main{display:flex;justify-content:center;padding:18px 0 75px}
.thought-card{max-width:730px;width:100%;padding:clamp(20px,4vw,45px);border-radius:27px;
 background:#fffdf8;border:1px solid #e7d9c1;box-shadow:0 15px 46px rgba(46,68,52,.12)}
.thought-card h1{margin:21px 0;font-size:clamp(31px,6vw,48px);color:#204739}
.thought-image{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:16px}
.thought-quote{font-family:Georgia,serif;color:#2b5247;font-size:clamp(21px,3.5vw,27px);
 line-height:1.55;padding-left:18px;border-left:3px solid #c69b57}
.thought-origin{color:#4b685b;font-size:14px}
.thought-privacy{color:#70796d;font-size:12px;line-height:1.55}
.thought-card .button{max-width:460px;margin:24px auto 3px}
.example-badge{display:inline-block;padding:8px 14px;border-radius:999px;background:#bc8b4e;color:#fff;font-size:13px;font-weight:800;letter-spacing:.08em}
.example-share-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
.example-share-actions .button{margin:0;flex:1 1 190px}
.example-language{display:flex;justify-content:center;gap:16px;margin:25px 0 8px}
.example-language a{color:#34584b;font-weight:700}
.admin-main{padding:28px 0 80px}
.admin-main>h1{font-size:clamp(29px,5vw,43px)}
.admin-main>p{max-width:780px;line-height:1.65;color:#536b60}
.admin-login{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:22px 0;max-width:700px}
.admin-login .field{flex:1 1 280px}
.admin-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:11px;margin:25px 0 39px}
.admin-metric{border:1px solid #d9e3d3;border-radius:17px;background:#eef5e9;
 padding:17px;display:flex;flex-direction:column;gap:5px}
.admin-metric strong{font-family:Georgia,serif;font-size:29px;color:#225143}
.admin-metric span{font-size:12px;color:#516b5b}
.admin-daily-created{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 28px}
.admin-daily-created p{margin:0;padding:9px 12px;border:1px solid #d9e3d3;border-radius:10px;background:#f7faf4;font-size:13px}
.admin-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #dae3d6;border-radius:14px;margin:15px 0}
.admin-table{width:100%;min-width:700px;border-collapse:collapse;font-size:13px}
.admin-table th,.admin-table td{text-align:left;padding:12px;border-bottom:1px solid #e6eadf}
.admin-table th{background:#edf4e9;font-size:12px}
.admin-table td{font-variant-numeric:tabular-nums}
.admin-delete-calendar{min-height:42px;border-color:#a4453a;color:#8f342b}
.admin-delete-calendar:hover{background:#fff0ec}
.admin-delete-calendar:disabled{opacity:.55}
.admin-privacy{font-size:12px;color:#6b796e}
.admin-push{margin:28px 0;padding:20px;background:#fff8e9;border-radius:16px}
.admin-push[hidden],#admin-content[hidden],#admin-login[hidden]{display:none!important}
.admin-push-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
 padding:12px 0;border-bottom:1px solid #e1decf}
@media(max-width:560px){.created-private{padding:16px}.letter-actions #share-thought{min-height:48px}
 .calendar-reminders{padding:17px;margin-top:18px}.admin-main{padding-top:20px}}

/* Keep long translated brands inside 320px header beside the locale switch. */
@media(max-width:580px){
 .topbar{min-width:0;gap:5px}
 .topbar .brand{display:inline-flex;flex:1 1 auto;align-items:center;gap:4px;min-width:0;font-size:15px;line-height:1.07}
 .topbar .brand-label{min-width:0;overflow-wrap:anywhere;white-space:normal}
 .topbar .brand-icon{flex:none;font-size:22px}
 .topbar .language-picker{flex:none;margin-left:0}
 .topbar .quiet-link{flex:0 1 auto;min-width:0;font-size:11px;white-space:normal;overflow-wrap:anywhere}
}

/* Private access has two clear levels: bookmark/copy first, plaintext backup optional. */
.private-bookmark-help{font-size:13px!important;line-height:1.55!important;color:#315445!important;margin:10px 0!important}
.private-download-details{margin:14px 0 0;background:#fffdfa;border:1px solid #e2d8c8;border-radius:12px;padding:12px 15px}
.private-download-details>summary{font-weight:700;color:#375d4b;cursor:pointer;font-size:14px;line-height:1.4}
.private-download-details p{font-size:13px;line-height:1.5;color:#5e6b5e;margin:12px 0}
.private-download-details .button{font-size:13px;min-height:44px}
.created-manage-link{background:#2d654e!important;color:#fffdf7!important;border-radius:12px;
 text-decoration:none!important;font-size:15px;padding:13px 9px;margin:13px 0}
.created-manage-link:focus-visible{outline:3px solid #edc988;outline-offset:2px}
.creator-access-tools{border:1px solid #cbdcca;background:#f5faf2;border-radius:15px;padding:15px;margin:16px 0}
.creator-access-tools>p,.creator-key-rotation p{font-size:13px;color:#3f6552;line-height:1.55}
.creator-key-rotation{margin-top:16px;border-top:1px solid #d1dfca;padding:14px 0 3px}
.creator-key-rotation summary{cursor:pointer;font-size:14px;font-weight:700;color:#624f33}
.creator-key-rotation .button{margin:8px 0;max-width:100%}
#new-private-access[hidden]{display:none!important}
#new-private-access{background:#fff7e8;border:1px solid #e8d6b2;border-radius:13px;padding:14px;margin-top:14px}
#new-private-access input{font-size:12px;max-width:100%}

/* Versioned Web Push test consent: readable touch target, never preselected. */
.push-opt-in{display:flex;gap:11px;align-items:flex-start;max-width:760px;padding:13px 15px;margin:12px 0;
 border:1px solid #d3e0ce;border-radius:14px;background:#fffdf7;color:#3b584c;font-size:13px;line-height:1.55}
.push-opt-in input{flex:0 0 20px;width:20px;height:20px;accent-color:#286047;margin:1px 0 0}
.calendar-reminders .reminders-choice[hidden]{display:none!important}

/* Administration: safely preview any day and test a single owned device. */
.admin-beta-tests{margin:26px 0;padding:20px;border:1px solid #d5ded0;background:#f4f9ef;border-radius:18px}
.admin-beta-tests h2,.admin-push h2{font-size:clamp(20px,3vw,25px);margin:0 0 10px}
.admin-beta-tests>p,.admin-push>p{font-size:14px;line-height:1.6;color:#486455}
.admin-test-fields{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0}
.admin-test-fields>.field{flex:1 1 165px;max-width:310px}
.admin-test-fields select{width:100%;min-height:44px}
.admin-test-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}
.admin-test-actions .button{min-height:43px;font-size:13px;padding:10px 14px}
#admin-demo-result[hidden]{display:none!important}
#preview-actions[hidden],#admin-stats[hidden],#admin-tests[hidden]{display:none!important}
#admin-demo-result{margin:15px 0;padding:14px;border-radius:13px;border:1px solid #d1ddc7;background:#fffdfa}
#admin-demo-url{width:100%;font-size:12px;overflow:hidden;text-overflow:ellipsis}
#admin-demo-status,#admin-push-device-status{font-size:13px;line-height:1.5}
.admin-demo-banner{width:100%;order:-1;text-align:center;border-radius:12px;margin:0 auto 18px;
 background:#fce8c4;color:#744d18;padding:12px;font-size:14px;font-weight:bold}
@media(max-width:540px){.admin-beta-tests,.admin-push{padding:14px}.admin-test-actions .button{flex:1 1 135px;text-align:center}}

/* Approved legal pages are linked only when the complete package is mounted. */
.legal-nav{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:center;padding:8px 2px;font-size:13px}
.legal-nav a,.disclosure-full a,.recipient-privacy-note a{color:#215b46;text-decoration:underline;text-underline-offset:3px}
.legal-nav a:focus-visible,.disclosure-full a:focus-visible,.recipient-privacy-note a:focus-visible{outline:3px solid #d49e43;outline-offset:3px}
.disclosure-full{font-size:13px;line-height:1.5;margin:8px 0 12px;color:#345c4e}
.recipient-privacy-note{font-size:13px;text-align:center;line-height:1.5;color:#4c6859;margin:12px auto 17px;max-width:680px}


/* Three real-product-inspired landing demos. GIFs are lazy; reduced motion uses SVG stills. */
.step-demo{position:relative;display:block;margin:22px -9px -13px;overflow:hidden;aspect-ratio:312/592;border:1px solid #dce3d5;border-radius:17px;background:#ecf1e8;box-shadow:0 8px 21px rgba(30,70,53,.07)}
.step-demo picture,.step-demo-image{display:block;width:100%;height:100%}
.step-demo-image{object-fit:cover;image-rendering:auto}
.step-demo-toggle{position:absolute;z-index:2;right:12px;bottom:12px;min-height:44px;padding:8px 17px;border:1px solid #d5dfd5;border-radius:999px;background:rgba(255,255,255,.96);color:#254b3d;font:700 14px/1.2 system-ui,sans-serif;box-shadow:0 4px 14px rgba(0,0,0,.18);cursor:pointer}
.step-demo-toggle:hover{background:#fff}
.step-demo-toggle:focus-visible{outline:3px solid #b35f42;outline-offset:3px}
.step-demo-toggle[hidden]{display:none}
@media(max-width:560px){.step-demo{margin:18px -8px -10px}}

/* Voluntary creator authorization, kept inside the mobile wizard's disclosure step. */
.guardian-confirm{display:flex;align-items:flex-start;gap:11px;margin-top:13px;padding:13px 14px;border:1px solid #b8cdbd;border-radius:11px;background:#fffdf7;color:#284d3b;font-weight:600;line-height:1.5;cursor:pointer}
.guardian-confirm input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0;accent-color:#285f48}
.guardian-confirm span{flex:1;min-width:0;font-size:13px}
.guardian-confirm:focus-within{outline:3px solid #edc988;outline-offset:2px}
