#tm-app{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#092747;background:#f7f9fc;--blue:#0066dc;--yellow:#ffcf00;--navy:#092747;--muted:#546a80}#tm-app *{box-sizing:border-box}#tm-app{margin:0}#tm-app #alerts-status.duplicate-alert-notice{color:#b42318;font-size:18px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;margin:10px 0}#tm-app .footer-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:8px}#tm-app .footer-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 13px;border:1px solid #cddbea;border-radius:9px;background:white;color:var(--blue);font:inherit;font-size:12px;font-weight:650;text-decoration:none}#tm-app .footer-contact:hover{background:#eef5ff}#tm-app .masthead{flex-wrap:wrap}#tm-app .masthead-actions{margin-left:auto}#tm-app .masthead-actions .app-share{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:44px}#tm-app .app-share svg{flex-shrink:0;pointer-events:none}#tm-app .masthead{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border-bottom:1px solid #e4eaf1;padding:10px max(16px,calc((100vw - 788px)/2));padding-top:max(10px,env(safe-area-inset-top))}#tm-app .identity{display:flex;align-items:center;gap:6px}#tm-app .identity img{width:36px;height:36px;object-fit:contain}#tm-app .wordmark{font-size:21px;font-weight:800;letter-spacing:-.7px;white-space:nowrap}#tm-app .wordmark .brand-m{color:#ba8700;font-size:1.1em}#tm-app .wordmark small{font-size:inherit}#tm-app .local-label{font-size:9px;color:var(--muted);white-space:nowrap}#tm-app main{max-width:820px;margin:auto;padding:18px 16px}#tm-app .section-heading h1{font-size:23px;line-height:1.2;margin:0 0 4px;font-weight:800;letter-spacing:-.5px}#tm-app .section-heading p{font-size:12px;color:var(--muted);margin:0}#tm-app label{display:block;font-size:12px;font-weight:650;margin:14px 0 6px}#tm-app .search-wrap{position:relative}#tm-app .search-wrap svg{position:absolute;width:19px;height:19px;left:14px;top:14px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;pointer-events:none}#tm-app input{width:100%;font:inherit;font-size:15px;padding:12px 14px 12px 42px;border:1px solid #cddbea;border-radius:12px;background:white;min-height:48px;color:var(--navy)}#tm-app input::placeholder{color:#60788e}#tm-app button{font:inherit;font-size:12px;font-weight:650;cursor:pointer;min-height:44px;border:1px solid #cddbea;background:white;color:var(--blue);border-radius:9px;padding:8px 13px}#tm-app button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:white}#tm-app .toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}#tm-app .toolbar p{font-size:12px;color:var(--muted);margin:0}#tm-app .toolbar>div{display:flex;gap:5px;flex-shrink:0}#tm-app #offers{display:grid;gap:8px}#tm-app .card{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;border:1px solid #e3eaf1;border-radius:13px;background:white;padding:9px;box-shadow:0 2px 6px #103e6206}#tm-app .offer{display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;color:inherit;text-decoration:none;align-items:center;min-width:0}#tm-app .thumb{height:68px;width:68px;object-fit:cover;border-radius:8px;background:#edf3f8;display:grid;place-items:center;color:var(--muted);font-size:10px}#tm-app .card h2{font-size:15px;font-weight:700;color:var(--navy);line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere;letter-spacing:-.15px}#tm-app .card time{font-size:11px;color:var(--muted)}#tm-app .share{align-self:center;padding:0;border:0;font-size:22px;color:var(--blue);background:transparent;width:44px;height:44px}#tm-app .share:hover{background:#eef5ff}#tm-app .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}#tm-app .grid .card{position:relative;display:block;padding:9px 9px 48px}#tm-app .grid .offer{display:block}#tm-app .grid .thumb{width:100%;height:auto;aspect-ratio:1.6;margin-bottom:9px}#tm-app .grid .share{position:absolute;bottom:2px;right:5px}#tm-app .grid h2{font-size:14px;line-height:1.35}#tm-app .note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:16px}#tm-app footer{background:#fff;border-top:1px solid #e3eaf1;color:var(--muted);text-align:center;padding:18px 16px max(18px,env(safe-area-inset-bottom))}#tm-app footer strong{font-size:17px;letter-spacing:-.4px;color:var(--navy)}#tm-app footer .brand-m{display:inline-block;overflow:hidden;width:calc(.85em * 138 / 142);height:.85em;vertical-align:baseline;color:transparent;background-image:url('../images/nombre.png');background-repeat:no-repeat;background-size:calc(.85em * 1967 / 142) calc(.85em * 799 / 142);background-position:calc(-.85em * 775 / 142) calc(-.85em * 323 / 142)}#tm-app footer p{font-size:12px;margin:6px 0}#tm-app footer small{font-size:10px}#tm-app :focus-visible{outline:3px solid var(--blue);outline-offset:3px}#tm-app .skip{position:absolute;top:-80px;background:white;padding:12px;z-index:5}#tm-app .skip:focus{top:8px}#tm-app a:hover h2{text-decoration:underline}#tm-app [hidden]{display:none!important}@media(max-width:360px){#tm-app .masthead{padding:10px 12px;gap:6px}#tm-app .identity{gap:4px}#tm-app .identity img{width:30px;height:30px}#tm-app .wordmark{font-size:17px}#tm-app .local-label{font-size:8px}#tm-app main{padding:16px 12px}#tm-app .offer{grid-template-columns:60px minmax(0,1fr);gap:8px}#tm-app .thumb{width:60px;height:64px}#tm-app .card{padding:8px}#tm-app .card h2{font-size:14px}#tm-app .grid{gap:8px!important}#tm-app .grid h2{font-size:13px}#tm-app button{padding:8px 12px}}@media(prefers-reduced-motion:no-preference){#tm-app .card,#tm-app button{transition:box-shadow .15s}#tm-app .card:hover{box-shadow:0 3px 10px #103e6210}}#tm-app .masthead .identity img{width:48px;height:auto;display:block;object-fit:contain;padding:0;background:transparent;filter:none}#tm-app .masthead .identity .map-logo{width:44px;height:44px;object-fit:contain;flex-shrink:0}#tm-app .masthead .identity .name-logo{width:270px;height:39px;object-fit:cover;object-position:center;flex-shrink:0}@media(max-width:480px){#tm-app .masthead .local-label{display:none}#tm-app .masthead .identity .name-logo{width:min(250px,calc(100vw - 80px))}}#tm-app .masthead{background-image:url('../images/cabecera-ondas.png');background-size:cover;background-position:center 62%;background-repeat:no-repeat}#tm-app{position:relative;isolation:isolate}#tm-app::before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:245px;background-image:url('../images/cabecera-ondas.png');background-size:100% auto;background-position:center 62%;background-repeat:no-repeat;pointer-events:none;mask-image:linear-gradient(to bottom,#000 0%,#000 18%,rgba(0,0,0,.65) 42%,rgba(0,0,0,.2) 72%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 18%,rgba(0,0,0,.65) 42%,rgba(0,0,0,.2) 72%,transparent 100%)}#tm-app .masthead{background:transparent;border-bottom-color:transparent}@media(min-width:769px){#tm-app::before{background-size:cover;background-position:center 62%}}#tm-app::before{background-size:auto max(360px,34vw);background-position:center bottom}#tm-app .main-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:16px}#tm-app .main-tabs button{font-size:15px;color:var(--navy);background:#fff;border-color:#d5e2ee}#tm-app .main-tabs button[aria-selected=true]{background:var(--blue);border-color:var(--blue);color:#fff}#tm-app .xpress-card{display:block}#tm-app .xpress-card summary{cursor:pointer;min-height:44px;list-style:none;position:relative;padding:3px 26px 3px 2px}#tm-app .xpress-card summary::-webkit-details-marker{display:none}#tm-app .xpress-card summary::after{content:'+';position:absolute;right:4px;top:8px;color:var(--blue);font-size:22px}#tm-app .xpress-card[open] summary::after{content:'−'}#tm-app .xpress-body{font-size:14px;line-height:1.6;overflow-wrap:anywhere;padding:6px 2px 2px}#tm-app .xpress-body p{margin:8px 0}#tm-app .xpress-body a{color:#0055b8;text-decoration:underline}#tm-app .xpress-source{font-size:12px;display:inline-block;margin:8px 0;min-height:24px}#tm-app::before{height:285px}#tm-app .main-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}#tm-app .main-tabs button{padding:8px 4px;font-size:13px}#tm-app #alerts-count{font-size:11px}#tm-app .alerts-indicator{display:block;width:100%;text-align:left;margin:0 0 12px;color:#0055b8;background:#eef5ff}#tm-app .alert-card{display:block;margin:10px 0}#tm-app .alert-card h2,#tm-app .alert-card h3{margin:4px 0 8px}#tm-app .alert-card p,#tm-app #alerts-status{font-size:12px;line-height:1.6;color:var(--muted)}#tm-app .alert-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}#tm-app #alerts-panel h1{font-size:23px}#tm-app #alerts-panel input{padding-left:14px}#tm-app #alert-source{font:inherit;width:100%;min-height:44px;border:1px solid #cddbea;border-radius:9px;padding:10px;background:white;color:var(--navy)}#tm-app #alert-save{background:var(--blue);color:white;border-color:var(--blue)}#tm-app dialog{width:min(440px,calc(100vw - 32px));border:1px solid #cddbea;border-radius:14px;padding:22px;color:var(--navy);background:#fff}#tm-app dialog::backdrop{background:#09274766}#tm-app dialog h2{font-size:21px}#tm-app dialog p{font-size:14px;line-height:1.6}#tm-app #alert-results{scroll-margin-top:16px}#tm-app .share{display:grid;place-items:center}#tm-app .share svg{display:block;pointer-events:none}#tm-app .detail-actions{display:flex;justify-content:space-between;gap:10px;margin-bottom:20px}#tm-app #detail-title{font-size:25px;line-height:1.25;overflow-wrap:anywhere}#tm-app #detail-image{width:100%;max-height:340px;object-fit:contain;height:auto;border-radius:12px;background:#fff;margin:10px 0 18px}#tm-app .detail-content{font-size:15px;line-height:1.7;overflow-wrap:anywhere}#tm-app .detail-content h1,#tm-app .detail-content h2,#tm-app .detail-content h3{font-size:21px;line-height:1.3;margin:22px 0 10px}#tm-app .detail-content p{margin:12px 0}#tm-app .detail-content ul,#tm-app .detail-content ol{padding-left:24px}#tm-app .detail-content li{margin:6px 0}#tm-app .detail-content a{color:#0055b8;text-decoration:underline}#tm-app .detail-content img,#tm-app .detail-content video{max-width:100%;height:auto}#tm-app .detail-content audio{max-width:100%}#tm-app .detail-content figure{margin:18px 0}#tm-app .detail-content figcaption{font-size:12px;color:var(--muted)}#tm-app .detail-content table{display:block;overflow-x:auto;border-collapse:collapse;max-width:100%}#tm-app .detail-content th,#tm-app .detail-content td{padding:8px;border:1px solid #cddbea}#tm-app .detail-content pre{white-space:pre-wrap}#tm-app .detail-content blockquote{margin:16px 0;padding-left:16px;border-left:3px solid #cddbea}#tm-app #detail-status{font-size:13px;line-height:1.6}#tm-app .xpress-share{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;border-radius:0;background:transparent;color:var(--blue);font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}#tm-app .xpress-share svg{flex:none}#tm-app dialog textarea{box-sizing:border-box;width:100%;font:inherit;font-size:14px;line-height:1.5;padding:10px;border:1px solid #cddbea;border-radius:9px;resize:vertical}#tm-app .masthead-actions{display:flex;align-items:center;gap:8px;min-width:0}#tm-app .favorites-open{position:relative;display:grid;place-items:center;width:auto;min-width:88px;height:44px;padding:8px 12px;border:1px solid #cddbea;background:#fff;border-radius:9px;color:var(--blue)}#tm-app .favorites-open img{width:42px;height:36px;object-fit:contain}#tm-app .favorites-open:hover{background:#eef5ff}#tm-app .favorites-open span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:1px 4px;border-radius:10px;background:var(--blue);color:#fff;font-size:10px;line-height:16px}#tm-app .favorite{align-self:center;width:44px;height:44px;padding:2px;border:0;background:transparent;color:var(--blue);line-height:1}#tm-app .favorite img{display:block;width:40px;height:38px;object-fit:contain}#tm-app .favorite:hover{background:#eef5ff}#tm-app .card:has(.favorite){grid-template-columns:minmax(0,1fr) 40px 40px}#tm-app .grid .card:has(.favorite){grid-template-columns:1fr}#tm-app .grid .favorite{position:absolute;bottom:2px;right:48px}#tm-app .xpress-share+.favorite{display:inline-grid;vertical-align:middle;margin-left:10px;place-items:center}#tm-app .favorites-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}#tm-app .favorites-heading h1{margin:0}#tm-app .favorite-card{margin-bottom:8px}@media(max-width:480px){#tm-app .masthead{gap:6px}#tm-app .masthead .identity .map-logo{width:36px;height:36px}#tm-app .masthead .identity .name-logo{width:min(230px,calc(100vw - 150px));height:34px}#tm-app .favorites-open{min-width:82px;padding:8px 10px;font-size:12px}}@media(max-width:360px){#tm-app .masthead-actions .local-label{display:none}#tm-app .masthead .identity .name-logo{width:calc(100vw - 132px);height:31px}#tm-app .favorites-open{min-width:78px;padding:8px 8px;font-size:11px}}#tm-app .favorite[aria-pressed=true]{background:transparent;color:inherit}@media(max-width:480px){#tm-app .masthead .identity .map-logo{width:46px;height:46px}#tm-app .masthead .identity .name-logo{width:calc(100vw - 160px);height:34px}}@media(max-width:360px){#tm-app .masthead .identity .map-logo{width:46px;height:46px}#tm-app .masthead .identity .name-logo{width:calc(100vw - 142px);height:31px}}@media(max-width:480px){#tm-app .masthead .identity .name-logo{width:calc(100vw - 174px)}}@media(max-width:360px){#tm-app .masthead .identity .name-logo{width:calc(100vw - 162px)}}#tm-app .masthead .identity .map-logo{width:56px;height:56px}@media(max-width:480px){#tm-app .masthead .identity .map-logo{width:46px;height:46px}}@media(max-width:360px){#tm-app .masthead .identity .map-logo{width:46px;height:46px}}@media(min-width:481px){#tm-app .masthead .identity .name-logo{width:250px;height:36px}}@media(max-width:480px){#tm-app .masthead{padding-left:8px;padding-right:8px;gap:4px}#tm-app .identity{gap:4px}#tm-app .masthead .identity .name-logo{width:230px;height:34px}#tm-app .masthead-actions{gap:4px}#tm-app .favorites-open{min-width:78px;padding-left:8px;padding-right:8px}}@media(max-width:360px){#tm-app .masthead{padding-left:4px;padding-right:4px;gap:2px}#tm-app .identity{gap:2px}#tm-app .masthead .identity .name-logo{width:188px;height:31px}#tm-app .masthead-actions{gap:2px}#tm-app .favorites-open{min-width:74px;padding-left:6px;padding-right:6px}}@media(max-width:480px){#tm-app .masthead{flex-wrap:wrap;row-gap:4px}#tm-app .masthead .identity .map-logo{width:64px;height:64px}#tm-app .masthead .identity .name-logo{width:230px;height:34px}#tm-app .masthead-actions{margin-left:auto}}@media(max-width:360px){#tm-app .masthead .identity .name-logo{width:188px;height:31px}}@media(min-width:720px){#tm-app #offers.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}#tm-app #offers.grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:480px){#tm-app #offers.grid{gap:6px!important}#tm-app #offers.grid .card{padding-left:4px;padding-right:4px}#tm-app #offers.grid h2{font-size:12px;line-height:1.35}#tm-app #offers.grid .share{right:0}#tm-app #offers.grid .favorite{right:44px}}#tm-app #offers.grid .share{left:2px;right:auto}#tm-app #offers.grid .favorite{left:auto;right:2px}@media(max-width:480px){#tm-app #offers.grid .share{left:0}#tm-app #offers.grid .favorite{right:0}}#tm-app .full-website-access{display:flex;justify-content:flex-end;margin:-6px 0 14px}#tm-app .full-website-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 10px;background:#FFF1B8;color:#17385A;border:1px solid #FFF1B8;border-radius:9px;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none}#tm-app .full-website-button svg{flex:none}#tm-app .full-website-button:hover{text-decoration:underline}#tm-app .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#tm-app .section-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}#tm-app .section-title-row h1{margin:0;min-width:0}#tm-app .section-title-row .full-website-access{margin:0;flex-shrink:0}#tm-app .section-title-row .full-website-button{font-size:11px;padding:6px 8px}@media(max-width:480px){#tm-app .section-title-row h1{font-size:20px;flex:1}#tm-app .section-title-row .full-website-button{max-width:144px;text-align:center;line-height:1.2;gap:5px}}#tm-app .xpress-share{min-height:44px;margin-top:0;margin-bottom:0;vertical-align:middle}#tm-app .personal-data-warning{color:#b42318;font-size:14px;font-weight:700;line-height:1.4;margin:6px 0 14px}#tm-app .photo-credit{display:block;text-align:center;color:var(--navy);font-size:12px;font-weight:500;line-height:1.5;margin:4px 0 16px;overflow-wrap:anywhere}#tm-app #detail-image:has(+ .photo-credit){margin-bottom:0}#tm-app .xpress-body .xpress-brand{font-size:12px;font-weight:600;color:var(--navy);margin:4px 0 10px}#tm-app #detail-content{position:relative;isolation:isolate}#tm-app #detail-content:not(:empty)::before{content:"";position:absolute;inset:0;background:url('../images/logo.png') no-repeat center;background-size:90% auto;opacity:.1;z-index:-1;pointer-events:none}#tm-app #detail-content img,#tm-app #detail-content video{background:#f7f9fc}#tm-app .section-title-row{flex-wrap:wrap;row-gap:8px}#tm-app .section-title-row h1{flex:1 1 180px}#tm-app .section-title-row .full-website-access{display:flex;align-items:center;gap:6px;flex-wrap:wrap;max-width:100%;margin-left:auto}#tm-app .alert-form-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}#tm-app .alert-edit-actions{display:flex;align-items:center;gap:6px;min-width:0}#tm-app .alert-form-actions button{padding:8px;min-height:44px}#tm-app .alert-edit-actions button{min-width:0}#tm-app .alert-icon{width:44px;height:44px;flex:0 0 44px;padding:11px;display:inline-flex;align-items:center;justify-content:center}#tm-app .alert-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#tm-app .saved-alert-actions{flex-wrap:nowrap;align-items:center;gap:6px}#tm-app .saved-alert-actions>button:first-child{margin-right:auto;min-width:0}#tm-app .alerts-privacy{margin:24px 0 0;color:var(--muted);font-size:13px;line-height:1.6}#tm-app .alerts-privacy>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--blue)}#tm-app #alerts-saved-heading{font-size:19px;margin:20px 0 10px;scroll-margin-top:16px}#tm-app #alert-form{scroll-margin-top:12px}#tm-app #alerts-status:empty{display:none}#tm-app #alerts-panel #alert-form label{margin-top:10px}#tm-app #alert-personal-warning{margin:4px 0 8px}@media(max-width:390px){#tm-app .alert-form-actions{gap:5px}#tm-app .alert-edit-actions{gap:4px}#tm-app .alert-form-actions button{padding:7px 5px;font-size:11px}#tm-app .saved-alert-actions>button:first-child{padding:8px;font-size:11px}}#tm-app .social-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}#tm-app .social-heading>h1{margin:0;min-width:0}#tm-app .social-follow{display:flex;align-items:center;gap:6px;max-width:100%;margin:0 0 0 auto;padding:0;flex:0 0 auto}#tm-app .social-follow h2{margin:0;font-size:12px;line-height:1.3;font-weight:650;color:var(--muted);white-space:nowrap}#tm-app .social-icons{display:flex;align-items:center;gap:4px}#tm-app .social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;text-decoration:none;border:0;background:transparent}#tm-app .social-link img{display:block;width:30px;height:30px;object-fit:contain;pointer-events:none}#tm-app .social-youtube img{width:36px;height:36px}#tm-app .social-web img{width:32px;height:32px}#tm-app #alerts-heading{margin-bottom:12px}#tm-app .social-heading .full-website-access{margin:0;flex-shrink:0}#tm-app .social-heading .social-follow{order:1}#tm-app .social-heading .full-website-access{order:2}@media(max-width:600px){#tm-app .social-heading{row-gap:4px}#tm-app .social-heading .full-website-access{order:1;margin-left:auto}#tm-app .social-heading .social-follow{order:2;justify-content:flex-end}#tm-app .social-icons{gap:2px}}
/* Descubre +: preserve the existing header controls and their handlers. */
#tm-app .app-discover{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #cddbea;border-radius:9px;background:#fff;color:var(--blue);font:inherit;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none;white-space:nowrap}
#tm-app .app-discover:hover{background:#eef5ff}
#tm-app .masthead-actions #favorites-count{right:4px}
@media(max-width:767px){
 #tm-app .masthead-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);width:100%;margin-left:0;gap:6px;align-items:stretch}
 #tm-app .masthead-actions>.app-discover,#tm-app .masthead-actions>#app-share,#tm-app .masthead-actions>#favorites-open{width:100%;min-width:0;min-height:44px;height:auto;padding:8px 4px;font-size:12px;white-space:nowrap}
 #tm-app .masthead-actions>#app-share{gap:4px}
 #tm-app .masthead-actions>#app-share svg{width:18px;height:18px}
}

#tm-app #metrics-consent-dialog, #tm-app #tm-demand-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; }
#tm-app #metrics-consent-dialog button, #tm-app #tm-demand-dialog button, #tm-app footer > button { min-height: 44px; white-space: normal; }
#tm-app footer > span[role="status"] { display: block; overflow-wrap: anywhere; }
#tm-app #metrics-consent-dialog[open], #tm-app #tm-demand-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
#tm-app .tm-privacy-copy { overflow: auto; min-height: 0; }
#tm-app #metrics-consent-dialog form, #tm-app #tm-demand-dialog form { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
#tm-app #tm-demand-dialog form button { flex: 1 1 100px; }
#tm-app #tm-demand-dialog form button[value="close"] { flex-basis: 100%; }

/* Visual edition beside the unchanged wordmark; unrelated to plugin/PWA version. */
#tm-app .masthead .identity .app-edition {
 display: inline-block;
 flex: 0 0 auto;
 align-self: center;
 font-size: 12px;
 line-height: 1;
 font-weight: 650;
 color: var(--muted);
 transform: translateY(-6px);
 white-space: nowrap;
}

#tm-app #tm-install-cta{display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:0;background:none;border:0}
#tm-app #tm-install-button,#tm-app #tm-privacy-button{flex:0 0 auto;min-height:44px;padding:6px 12px;font-size:12px;font-weight:650}
#tm-app #tm-install-button{background:var(--blue);color:white;border-color:var(--blue)}
#tm-app #tm-install-button[hidden]{display:none!important}
#tm-app #tm-install-help{width:min(500px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:18px;border:1px solid #cddbea;border-radius:12px;background:white;color:var(--navy);box-sizing:border-box}
#tm-app #tm-install-help[open]{display:flex;flex-direction:column;overflow:hidden}
#tm-app #tm-install-help h2{font-size:20px;margin:0 0 10px;flex-shrink:0}
#tm-app #tm-install-help .tm-install-copy{overflow:auto;min-height:0}
#tm-app #tm-install-help p{font-size:13px;line-height:1.5;margin:8px 0 12px}
#tm-app #tm-install-help .tm-consent-option{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;margin:8px 0;padding:8px 0;min-height:44px;font-weight:400}
#tm-app #tm-install-help input[type=checkbox]{appearance:auto;width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0;margin:2px 0 0;accent-color:var(--blue)}
#tm-app #tm-install-help .tm-install-help-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:12px;flex-shrink:0}
#tm-app #tm-install-help button{min-height:44px;padding:8px 12px}
#tm-app #tm-install-help button:disabled{opacity:.5;cursor:not-allowed}

/* Compact installation control, scoped against theme button rules. */
#tm-app #tm-install-cta {display:flex; justify-content:flex-end; width:auto; padding:0; margin:0 0 12px; background:none; border:0;}
#tm-app #tm-install-cta #tm-install-button {display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:auto; min-width:0; max-width:100%; height:44px; min-height:44px; padding:6px 12px; font-size:12px; line-height:1.2; margin:0; box-sizing:border-box;}

#tm-app #alert-push-controls{margin:12px 0;padding:12px;border:1px solid #c9daf2;border-radius:12px;background:#fff;}
#tm-app #alert-push-actions{display:flex;gap:8px;flex-wrap:wrap;}
#tm-app #alert-push-actions button{min-height:44px;width:auto;padding:8px 12px;font-size:14px;}
#tm-app #alert-push-actions button:disabled{opacity:.65;cursor:not-allowed;}
#tm-app #push-privacy{margin-top:10px;font-size:13px;}
#tm-app #push-status{font-size:13px;line-height:1.5;}
