/* TMG approved page experiences, scoped to the restored pages. */
.tmg-custom-live-page{background:#fff;color:#20332b;min-height:62vh}
.tmg-custom-live-page *{box-sizing:border-box}
.tmg-custom-live-page a:focus-visible,.tmg-custom-live-page button:focus-visible,.tmg-custom-live-page input:focus-visible{outline:3px solid #b42136;outline-offset:3px}
.tmg-creator-entry{--tmg-green:#155d45;--tmg-red:#b42136;--tmg-ink:#193a2e;font-family:inherit}
.tmg-creator-intro{background:linear-gradient(130deg,#113b30,#155d45 56%,#236e50);color:#fff;padding:68px 20px 65px;position:relative;overflow:hidden}
.tmg-creator-intro:after{content:'';position:absolute;right:-5%;top:-110px;height:390px;width:390px;border-radius:100%;border:90px solid rgba(255,255,255,.055);pointer-events:none}
.tmg-creator-intro-inner{max-width:970px;margin:auto;position:relative;z-index:1}
.tmg-creator-eyebrow{color:#f6b4b9;letter-spacing:.16em;text-transform:uppercase;font-size:.78rem;font-weight:750;margin:0 0 14px}
.tmg-creator-intro h1{color:#fff;line-height:1.08;font-size:clamp(2.25rem,5.3vw,4.5rem);font-weight:750;letter-spacing:-.044em;max-width:930px;margin:0 0 20px}
.tmg-creator-intro p:not(.tmg-creator-eyebrow){font-size:clamp(1.02rem,2vw,1.22rem);max-width:710px;line-height:1.65;color:#f5fbf7}
.tmg-creator-entry-cta{display:inline-flex;align-items:center;justify-content:center;min-height:54px;background:#bb253a;color:#fff!important;border-radius:99px;padding:13px 27px;margin:13px 17px 12px 0;font-weight:700;text-decoration:none!important;box-shadow:0 10px 30px rgba(16,20,20,.1)}
.tmg-creator-entry-cta:hover{background:#a11a2f;color:#fff!important;transform:translateY(-1px)}
.tmg-creator-intro span:not(.tmg-creator-eyebrow){color:#e8f1ec;font-size:.91rem}
.tmg-creator-story{scroll-margin-top:110px;background:#fff;padding-bottom:35px}
.tmg-creator-story #tmlCreatorJourneyMountV100{min-height:540px}
.tmg-creator-submit-note{background:#f1f8f5;padding:15px;border-radius:12px;border:1px solid #cfe4d9;margin-top:12px;color:#155d45}
.tmg-docs-app{padding:60px 20px 100px;background:#f8faf8;font-family:inherit;min-height:80vh}
.tmg-docs-wrap{max-width:940px;margin:auto}
.tmg-page-kicker{font-size:.74rem;font-weight:750;letter-spacing:.15em;color:#b42136;text-transform:uppercase}
.tmg-docs-wrap h1{color:#143f2d;font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.14;margin:14px 0}
.tmg-docs-wrap>p{max-width:680px;color:#566760;font-size:1.06rem;line-height:1.6}
.tmg-docs-box{background:#fff;border:1px solid #dce8df;border-radius:24px;padding:clamp(20px,4vw,38px);box-shadow:0 12px 38px rgba(23,57,41,.055);margin-top:28px}
.tmg-docs-box h2{color:#154b36;margin-top:0}
.tmg-docs-box p{line-height:1.6;color:#52665b}
.tmg-doc-list{padding:0;margin:25px 0;list-style:none}
.tmg-doc-list li{border-bottom:1px solid #e2e9e5;display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:14px;flex-wrap:wrap}
.tmg-doc-list li>span{overflow-wrap:anywhere;font-weight:650}
.tmg-doc-list li>div{display:flex;align-items:center;gap:12px}
.tmg-doc-list form{display:inline}
.tmg-doc-list a{color:#135c42;font-weight:700}
.tmg-doc-list button{color:#b42136;background:transparent;border:0;padding:5px;cursor:pointer}
.tmg-doc-upload{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.tmg-doc-upload label{display:grid;gap:7px;font-size:.94rem;font-weight:650}
.tmg-doc-upload input{width:100%;border:1px solid #cad9d1;padding:13px;border-radius:12px;color:#19382b}
.tmg-doc-upload button,.tmg-page-action{background:#155d45!important;color:#fff!important;border:0;border-radius:99px;min-height:48px;padding:10px 25px;cursor:pointer;text-decoration:none!important;font-weight:700;justify-self:start}
.tmg-docs-footnote{font-size:.85rem;color:#64766b;margin-top:23px}
.tmg-docs-status{padding:13px 16px;margin-top:18px;border-radius:12px;background:#edf8f3;color:#1c654c;font-weight:650}
@media(max-width:767px){.tmg-creator-intro{padding:40px 19px 44px}.tmg-creator-intro h1{letter-spacing:-.025em}.tmg-creator-entry-cta{width:100%;margin-right:0}.tmg-doc-upload{grid-template-columns:1fr}.tmg-docs-app{padding:34px 15px 80px}.tmg-doc-list li{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.tmg-creator-entry-cta{transition:none!important}}
.tmg-outcome-form{display:block;margin:0}
.tmg-outcome-form button{width:100%;cursor:pointer}
.tmg-share-journey{background:#fff!important;border:1px solid #b42136!important;border-radius:24px!important;color:#a71c30!important;padding:9px 16px!important;cursor:pointer;font-weight:700;font-size:.88rem}
.tmg-share-public{color:#a71c30!important}
/* My Life trip companion: one purposeful panel, no duplicate operating-system page. */
.tmg-companion{scroll-margin-top:120px;background:linear-gradient(145deg,#fff 70%,#fbf3ef)}
.tmg-companion .tmg-companion-trips{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px;margin-top:18px}
.tmg-companion-trip{border:1px solid #dfe6dd;border-radius:16px;padding:19px;background:#fff;min-width:0}
.tmg-companion-trip strong{font-size:1.05rem;color:#174a38;overflow-wrap:anywhere}
.tmg-companion-trip p{margin:7px 0 12px}
.tmg-companion .tmg-trip-head{display:grid;gap:5px}
.tmg-companion .tmg-trip-reminder{border-left:3px solid #ae3436;padding:10px 13px;background:#fff5f4;color:#682a2a}
.tmg-trip-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tmg-trip-actions a,.tmg-trip-actions button{display:inline-flex;min-height:42px;align-items:center;border:1px solid #b8cdbf;border-radius:10px;background:#fff;color:#24513e;padding:8px 12px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}
.tmg-trip-actions a:hover,.tmg-trip-actions button:hover{background:#f6faf7}
.tmg-trip-actions form{margin:0}
.tmg-companion-add{border:1px solid #e5e5e0;border-radius:16px;margin-top:20px;background:#fff;overflow:hidden}
.tmg-companion-add summary{padding:15px 18px;cursor:pointer;font-weight:750;color:#174a38}
.tmg-companion-form{padding:10px 18px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.tmg-companion-form label{display:grid;gap:6px;font-weight:650;font-size:.93rem;color:#244e3f;min-width:0}
.tmg-companion-form input,.tmg-companion-form select,.tmg-companion-form textarea,.tmg-doc-upload select{width:100%;min-width:0;padding:12px;border-radius:10px;border:1px solid #c5d3c9;background:#fff;color:#183b2c;box-sizing:border-box}
.tmg-companion-form .tmg-trip-wide{grid-column:1/-1}
.tmg-companion-form button{background:#215741;color:#fff;border:0;border-radius:12px;min-height:46px;padding:9px 20px;cursor:pointer;justify-self:start}
.tmg-companion-form button:hover{background:#a32933}
@media(max-width:660px){.tmg-companion-form{grid-template-columns:minmax(0,1fr)}.tmg-companion-trip{padding:14px}.tmg-trip-actions a,.tmg-trip-actions button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tmg-trip-actions a,.tmg-trip-actions button{transition:none}}
/* Account home: distinct destinations, matching the accessible TMG identity palette. */
.tmg-my-documents-home .tmg-life-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}
.tmg-my-documents-home .tmg-life-hub-card{position:relative;display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e1e9e3;border-radius:20px;padding:24px;color:#173c2b;text-decoration:none;min-height:165px;box-shadow:0 8px 26px rgba(13,61,41,.045);transition:transform .15s ease,box-shadow .15s ease}
.tmg-my-documents-home .tmg-life-hub-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(13,61,41,.11)}
.tmg-my-documents-home .tmg-life-hub-card:focus-visible,.tmg-docs-crosslinks a:focus-visible{outline:3px solid #bd1f2d;outline-offset:3px}
.tmg-my-documents-home .tmg-life-hub-card strong{font-size:1.16rem;color:#114b30}
.tmg-my-documents-home .tmg-life-hub-card span:not(.tmg-life-hub-symbol):not(.tmg-life-hub-arrow){font-size:.94rem;color:#52685e;line-height:1.5}
.tmg-my-documents-home .tmg-life-hub-card small{font-size:.8rem;color:#8b3b44}
.tmg-my-documents-home .tmg-life-hub-symbol{font-size:24px;color:#9f2633;line-height:1}
.tmg-my-documents-home .tmg-life-hub-arrow{position:absolute;right:19px;top:18px;font-size:24px;color:#9f2633}
.tmg-docs-crosslinks{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.tmg-docs-crosslinks a{display:inline-flex;align-items:center;border:1px solid #0b5d3b;border-radius:999px;padding:11px 17px;color:#0b5d3b;text-decoration:none;font-weight:600;background:white}
@media(max-width:620px){.tmg-my-documents-home .tmg-life-hub-grid{grid-template-columns:1fr}.tmg-my-documents-home .tmg-life-hub-card{min-height:140px;padding:19px}}
/* Private document actions remain usable on small screens. */
.tmg-doc-list li>div{flex-wrap:wrap;justify-content:flex-start;max-width:100%}
.tmg-doc-list form:has(input[value="tmg_nav_doc_share"]) button{border:1px solid #bdd7c4;background:#edf7f0;color:#0b5438;border-radius:8px;padding:8px 11px;font-weight:700}
@media(max-width:600px){.tmg-doc-list li>div{width:100%;gap:8px}.tmg-doc-list form:has(input[value="tmg_nav_doc_share"]) button{font-size:12px}}
