/* PWA / app experience */
:root{--app-green:#5f965f;--app-ink:#294b38;--app-paper:#fffdf7;--app-line:rgba(43,75,56,.14)}
.app-install-prompt{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:1200;display:flex;align-items:center;gap:12px;max-width:min(410px,calc(100vw - 36px));padding:11px 12px 11px 15px;border:1px solid var(--app-line);border-radius:22px;background:rgba(255,253,247,.94);box-shadow:0 18px 55px rgba(31,69,45,.2);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.app-install-prompt[hidden]{display:none}
.app-install-prompt img{width:44px;height:44px;flex:0 0 auto;border-radius:13px}
.app-install-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.app-install-copy strong{font-size:.92rem;line-height:1.2;color:var(--app-ink)}
.app-install-copy span{font-size:.76rem;line-height:1.35;color:#607466}
.app-install-action{appearance:none;border:0;border-radius:999px;background:var(--app-green);color:#fff;padding:10px 13px;font:inherit;font-size:.78rem;font-weight:800;white-space:nowrap;cursor:pointer}
.app-install-close{appearance:none;border:0;background:transparent;color:#708076;width:30px;height:30px;border-radius:50%;font-size:1.15rem;cursor:pointer}
.app-sheet{position:fixed;inset:0;z-index:1300;display:grid;align-items:end}
.app-sheet[hidden]{display:none}
.app-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(20,39,29,.38);backdrop-filter:blur(4px)}
.app-sheet-panel{position:relative;width:min(560px,100%);margin:0 auto;padding:26px 22px calc(26px + env(safe-area-inset-bottom));box-sizing:border-box;border-radius:30px 30px 0 0;background:#fffdf7;box-shadow:0 -20px 70px rgba(22,54,37,.2)}
.app-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.app-sheet-head h2{margin:5px 0 0;font-family:Georgia,serif;font-size:2rem;line-height:1;color:var(--app-ink)}
.app-sheet-close{border:1px solid var(--app-line);background:#f3f5eb;color:var(--app-ink);width:40px;height:40px;border-radius:50%;font-size:1.35rem;cursor:pointer}
.app-sheet-steps{display:grid;gap:12px;margin-top:22px}
.app-sheet-step{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:14px;border-radius:18px;background:#f3f6eb}
.app-sheet-step b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#5f965f;color:#fff;font-size:.82rem}
.app-sheet-step p{margin:3px 0 0;color:#496554;font-size:.9rem;line-height:1.5}
.app-toast{position:fixed;left:50%;bottom:max(24px,calc(16px + env(safe-area-inset-bottom)));z-index:1400;transform:translate(-50%,18px);opacity:0;pointer-events:none;padding:11px 16px;border-radius:999px;background:#294b38;color:#fff;font-size:.82rem;font-weight:700;box-shadow:0 12px 35px rgba(24,52,35,.24);transition:.22s ease}
.app-toast.is-visible{transform:translate(-50%,0);opacity:1}
.app-bottom-nav{display:none}
@media(display-mode:standalone){
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  .app-bottom-nav{position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));z-index:1100;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:7px;border:1px solid rgba(43,75,56,.13);border-radius:24px;background:rgba(255,253,247,.92);box-shadow:0 18px 50px rgba(31,69,45,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .app-bottom-nav a{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;border-radius:17px;color:#63776a;text-decoration:none;font-size:.69rem;font-weight:800}
  .app-bottom-nav a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
  .app-bottom-nav a.is-active{background:#e8f1df;color:#315b3e}
  .app-install-prompt{display:none!important}
}
@media(max-width:620px){.app-install-prompt{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:none}.app-install-copy span{display:none}}


/* Saved posts */
.cms-card-actions{gap:9px}
.app-save-btn{
  width:44px;height:44px;flex:0 0 auto;
  border:1px solid var(--app-line);border-radius:50%;
  background:transparent;color:var(--app-ink);
  display:grid;place-items:center;cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.app-save-btn:hover{transform:translateY(-1px);border-color:rgba(43,75,56,.3)}
.app-save-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.app-save-btn.is-saved{background:#5f965f;border-color:#5f965f;color:#fff}
.app-save-btn.is-saved svg{fill:currentColor}

.app-article-save{
  margin-top:20px;
  appearance:none;border:1px solid rgba(43,75,56,.18);border-radius:999px;
  background:#f1f5e9;color:#315b3e;
  display:inline-flex;align-items:center;gap:9px;
  min-height:46px;padding:10px 16px;
  font:inherit;font-size:.86rem;font-weight:800;cursor:pointer;
}
.app-article-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.app-article-save.is-saved{background:#5f965f;border-color:#5f965f;color:#fff}
.app-article-save.is-saved svg{fill:currentColor}

/* Personal app dashboard */
.app-dashboard-page{
  margin:0;
  min-height:100svh;
  background:
    radial-gradient(circle at 85% 4%,rgba(190,215,150,.28),transparent 25rem),
    linear-gradient(180deg,#f3f5e9 0,#fbf8ef 46%,#f4f3e8 100%);
  color:var(--app-ink);
}
.app-dashboard{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  padding:18px 0 110px;
}
.app-dashboard-hero{
  position:relative;overflow:hidden;
  padding:28px;
  border:1px solid rgba(43,75,56,.1);
  border-radius:34px;
  background:
    radial-gradient(circle at 90% 20%,rgba(255,242,184,.34),transparent 28%),
    linear-gradient(145deg,#e6efda,#c4daa9);
  box-shadow:0 24px 70px rgba(43,75,56,.09);
}
.app-dashboard-brand{display:flex;align-items:center;gap:11px;margin-bottom:42px}
.app-dashboard-brand img{width:48px;height:48px;border-radius:15px;box-shadow:0 8px 22px rgba(43,75,56,.12)}
.app-dashboard-brand div{display:flex;flex-direction:column;gap:2px}
.app-dashboard-brand span{font-size:.67rem;font-weight:900;letter-spacing:.14em;color:#66806c}
.app-dashboard-brand strong{font-size:.98rem;color:#294b38}
.app-dashboard-copy{max-width:720px}
.app-dashboard-copy h1{
  margin:10px 0 14px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.35rem,5vw,4.8rem);
  line-height:.98;letter-spacing:-.045em;font-weight:600;color:#294b38;
}
.app-dashboard-copy p{max-width:660px;margin:0;color:#526d5b;font-size:1rem;line-height:1.65}
.app-dashboard-stats{
  display:flex;gap:10px;position:absolute;right:28px;top:28px
}
.app-dashboard-stats div{
  min-width:88px;padding:12px 14px;border-radius:18px;
  background:rgba(255,253,247,.62);border:1px solid rgba(43,75,56,.09);
  backdrop-filter:blur(10px)
}
.app-dashboard-stats strong{display:block;font-family:Georgia,serif;font-size:1.7rem;line-height:1;color:#315b3e}
.app-dashboard-stats span{display:block;margin-top:5px;font-size:.7rem;font-weight:800;color:#6a806f}

.app-quick-launch{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 44px
}
.app-quick-launch a{
  position:relative;min-height:110px;padding:20px;border-radius:25px;
  border:1px solid rgba(43,75,56,.1);background:rgba(255,253,247,.82);
  color:#294b38;text-decoration:none;display:flex;flex-direction:column;justify-content:flex-end;
  box-shadow:0 10px 32px rgba(43,75,56,.05);
  transition:transform .2s ease,box-shadow .2s ease
}
.app-quick-launch a:hover{transform:translateY(-3px);box-shadow:0 16px 42px rgba(43,75,56,.09)}
.app-quick-icon{position:absolute;right:18px;top:16px;font-size:1.35rem;color:#689461}
.app-quick-launch strong{font-family:Georgia,serif;font-size:1.35rem;line-height:1.1}
.app-quick-launch small{margin-top:5px;color:#6a7d71;font-size:.78rem}

.app-library-section{margin:0 0 48px}
.app-library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:17px}
.app-library-head h2{
  margin:5px 0 0;font-family:Georgia,serif;
  font-size:clamp(2rem,3.4vw,3.3rem);line-height:1;letter-spacing:-.035em;color:#294b38
}
.app-text-button{
  appearance:none;border:0;background:transparent;color:#677b6e;
  font:inherit;font-size:.8rem;font-weight:800;text-decoration:underline;text-underline-offset:4px;cursor:pointer
}
.app-library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.app-library-card{
  position:relative;display:grid;grid-template-columns:145px 1fr;min-height:145px;overflow:hidden;
  border:1px solid rgba(43,75,56,.1);border-radius:25px;background:rgba(255,253,247,.86)
}
.app-library-thumb{display:block;min-height:145px;background:#dfe8d8;overflow:hidden}
.app-library-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.app-library-thumb>span{height:100%;display:grid;place-items:center;color:#5f965f;font-size:2rem}
.app-library-copy{padding:18px 46px 18px 18px;min-width:0}
.app-library-copy>span{display:block;color:#6b8072;font-size:.7rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.app-library-copy h3{margin:7px 0 7px;font-family:Georgia,serif;font-size:1.25rem;line-height:1.08}
.app-library-copy h3 a{color:#294b38;text-decoration:none}
.app-library-copy p{
  margin:0;color:#61766a;font-size:.8rem;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.app-library-remove{
  position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid rgba(43,75,56,.13);
  border-radius:50%;background:rgba(255,253,247,.9);color:#62786a;font-size:1.2rem;cursor:pointer
}
.app-library-empty{
  padding:30px;border:1px dashed rgba(43,75,56,.2);border-radius:25px;
  background:rgba(255,253,247,.54);color:#657a6d;text-align:center
}
.app-library-empty[hidden]{display:none}
.app-library-empty strong{display:block;color:#294b38;font-family:Georgia,serif;font-size:1.4rem}
.app-library-empty p{margin:7px auto 11px;max-width:500px;font-size:.9rem;line-height:1.55}
.app-library-empty a{color:#315b3e;font-size:.84rem;font-weight:850;text-decoration:none}
.app-privacy-note{
  margin-top:14px;padding:22px 24px;border-radius:24px;background:#e8efdd;color:#56705e
}
.app-privacy-note strong{color:#294b38}
.app-privacy-note p{margin:5px 0 0;font-size:.83rem;line-height:1.6}

@media(display-mode:standalone){
  .app-dashboard{padding-top:max(14px,env(safe-area-inset-top))}
  .app-bottom-nav{grid-template-columns:repeat(5,1fr)}
}
@media(max-width:760px){
  .app-dashboard{width:min(100% - 20px,1120px);padding-top:10px}
  .app-dashboard-hero{padding:20px;border-radius:28px}
  .app-dashboard-brand{margin-bottom:34px}
  .app-dashboard-stats{position:static;margin-top:22px}
  .app-dashboard-stats div{flex:1}
  .app-quick-launch{grid-template-columns:1fr 1fr;margin-bottom:38px}
  .app-quick-launch a:last-child{grid-column:1/-1}
  .app-library-list{grid-template-columns:1fr}
}
@media(max-width:520px){
  .app-dashboard-copy h1{font-size:2.45rem}
  .app-library-card{grid-template-columns:112px 1fr;min-height:128px}
  .app-library-thumb{min-height:128px}
  .app-library-copy{padding:15px 40px 15px 14px}
  .app-library-copy h3{font-size:1.12rem}
  .app-library-copy p{font-size:.77rem}
  .app-bottom-nav a{font-size:.62rem}
}


/* Push notification preferences */
.app-notifications-section{margin:0 0 48px}
.push-status{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:7px 12px;border-radius:999px;
  background:#eef1e8;color:#63776a;
  font-size:.76rem;font-weight:850;white-space:nowrap
}
.push-status.is-active{background:#e1efda;color:#2f6b42}
.push-status.is-off{background:#f0eee5;color:#6e746d}
.push-status.is-working{background:#fff4cf;color:#7b6729}
.push-status.is-blocked,.push-status.is-error{background:#f9e3df;color:#923f38}
.push-status.is-unsupported{background:#ecebe6;color:#777b76}

.push-settings-card{
  padding:22px;border:1px solid rgba(43,75,56,.1);
  border-radius:28px;background:rgba(255,253,247,.84);
  box-shadow:0 12px 34px rgba(43,75,56,.05)
}
.push-settings-intro{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.push-bell{
  width:52px;height:52px;flex:0 0 auto;border-radius:17px;
  display:grid;place-items:center;background:#e4efdb;color:#315b3e
}
.push-bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.push-settings-intro strong{display:block;font-size:1rem;color:#294b38}
.push-settings-intro p{margin:4px 0 0;color:#64786b;font-size:.84rem;line-height:1.5}

.push-options{display:grid;gap:10px;margin:18px 0}
.push-option{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:15px 16px;border:1px solid rgba(43,75,56,.09);
  border-radius:20px;background:#f5f7ef;cursor:pointer
}
.push-option span{display:flex;flex-direction:column;gap:3px}
.push-option strong{font-size:.9rem;color:#294b38}
.push-option small{font-size:.75rem;color:#718177;line-height:1.4}
.push-option input{position:absolute;opacity:0;pointer-events:none}
.push-option i{
  position:relative;width:48px;height:28px;flex:0 0 auto;border-radius:999px;
  background:#d5dcd2;transition:.2s ease
}
.push-option i:after{
  content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;
  background:#fff;box-shadow:0 2px 8px rgba(39,67,49,.16);transition:.2s ease
}
.push-option input:checked+i{background:#5f965f}
.push-option input:checked+i:after{transform:translateX(20px)}
.push-option input:focus-visible+i{outline:3px solid rgba(95,150,95,.25);outline-offset:3px}
.push-option input:disabled+i{opacity:.55}

.push-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.app-primary-button,.app-secondary-button{
  appearance:none;min-height:44px;padding:10px 16px;border-radius:999px;
  font:inherit;font-size:.82rem;font-weight:850;cursor:pointer
}
.app-primary-button{border:1px solid #5f965f;background:#5f965f;color:#fff}
.app-secondary-button{border:1px solid rgba(43,75,56,.15);background:#eef3e8;color:#315b3e}
.app-primary-button:disabled,.app-secondary-button:disabled{opacity:.55;cursor:wait}
.push-help{margin:12px 0 0;color:#718176;font-size:.76rem;line-height:1.5}

@media(max-width:620px){
  .push-settings-card{padding:17px;border-radius:24px}
  .push-settings-intro{align-items:flex-start}
  .push-actions{align-items:stretch}
  .app-primary-button,.app-secondary-button{flex:1 1 auto}
  .push-status{font-size:.72rem}
}


/* Animated public app promotion */
.app-promo-banner{
  position:fixed;
  left:50%;
  bottom:max(22px,env(safe-area-inset-bottom));
  z-index:1250;
  width:min(920px,calc(100vw - 32px));
  min-height:330px;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);
  gap:24px;
  padding:28px 30px;
  border:1px solid rgba(49,91,62,.14);
  border-radius:32px;
  background:
    radial-gradient(circle at 18% 8%,rgba(255,248,210,.88),transparent 35%),
    linear-gradient(145deg,rgba(249,250,239,.98),rgba(225,239,211,.98));
  box-shadow:0 28px 80px rgba(31,69,45,.24);
  overflow:hidden;
  opacity:0;
  transform:translate(-155vw,0) scale(.96);
  transition:transform 1.35s cubic-bezier(.18,.82,.2,1),opacity .55s ease;
  will-change:transform,opacity;
}
.app-promo-banner.is-visible{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}
.app-promo-banner:before{
  content:"";
  position:absolute;
  inset:auto auto -90px -70px;
  width:250px;
  height:250px;
  border-radius:50%;
  background:rgba(148,188,116,.16);
  pointer-events:none;
}
.app-promo-close{
  position:absolute;
  right:16px;
  top:16px;
  z-index:3;
  width:38px;
  height:38px;
  border:1px solid rgba(49,91,62,.14);
  border-radius:50%;
  background:rgba(255,253,247,.82);
  color:#54705c;
  font:inherit;
  font-size:1.35rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.app-promo-logo{
  grid-column:1;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:#789276;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.13em;
}
.app-promo-logo img{
  width:38px;
  height:38px;
  object-fit:contain;
}
.app-promo-copy{
  grid-column:1;
  align-self:center;
  max-width:540px;
  padding-bottom:4px;
}
.app-promo-copy h2{
  margin:0 0 12px;
  max-width:10ch;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.35rem,4vw,4rem);
  line-height:.96;
  letter-spacing:-.045em;
  color:#173824;
  font-weight:600;
}
.app-promo-copy p{
  margin:0;
  max-width:500px;
  color:#4d6756;
  font-size:1rem;
  line-height:1.6;
}
.app-promo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.app-promo-primary,
.app-promo-secondary{
  min-height:48px;
  border-radius:999px;
  padding:11px 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font:inherit;
  font-size:.84rem;
  font-weight:850;
  cursor:pointer;
}
.app-promo-primary{
  border:1px solid #315f3d;
  background:linear-gradient(135deg,#315f3d,#23492f);
  color:#fff;
  box-shadow:0 10px 28px rgba(35,73,47,.18);
}
.app-promo-secondary{
  border:1px solid rgba(49,91,62,.15);
  background:rgba(255,253,247,.86);
  color:#244f32;
}
.app-promo-primary[hidden],
.app-promo-secondary[hidden]{display:none}
.app-promo-secondary:disabled{
  opacity:.58;
  cursor:not-allowed;
}
.app-promo-note{
  display:block;
  margin-top:12px;
  color:#748579;
  font-size:.71rem;
  line-height:1.4;
}
.app-promo-visual{
  grid-column:2;
  grid-row:1/4;
  display:grid;
  place-items:end center;
  align-self:stretch;
  min-height:270px;
}
.promo-phone{
  position:relative;
  width:205px;
  height:372px;
  padding:9px;
  border-radius:38px;
  background:linear-gradient(145deg,#151b18,#46504a);
  box-shadow:
    0 28px 55px rgba(23,45,31,.26),
    inset 0 0 0 2px rgba(255,255,255,.16);
  transform:rotate(5deg) translateY(28px);
}
.promo-phone:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:9px;
  width:70px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  transform:translateX(-50%);
}
.promo-phone-speaker{
  position:absolute;
  left:50%;
  top:15px;
  z-index:2;
  width:72px;
  height:18px;
  border-radius:0 0 12px 12px;
  background:#0c110e;
  transform:translateX(-50%);
}
.promo-phone-screen{
  height:100%;
  padding:34px 12px 20px;
  box-sizing:border-box;
  border-radius:31px;
  background:
    radial-gradient(circle at 86% 12%,rgba(217,234,188,.55),transparent 26%),
    #fbfaf2;
  overflow:hidden;
  color:#264a31;
}
.promo-phone-brand{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:18px;
}
.promo-phone-brand img{width:32px;height:32px}
.promo-phone-brand b{
  font-family:Georgia,serif;
  font-size:1rem;
  line-height:.82;
  letter-spacing:-.03em;
}
.promo-phone-brand b span{
  color:#76945e;
  font-size:.82rem;
}
.promo-phone-label{
  margin-bottom:8px;
  font-size:.65rem;
  font-weight:850;
  color:#526b59;
}
.promo-phone-card{
  padding:8px;
  border:1px solid rgba(49,91,62,.1);
  border-radius:15px;
  background:#fff;
  box-shadow:0 8px 20px rgba(35,73,47,.07);
}
.promo-phone-photo{
  height:96px;
  margin-bottom:8px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 65% 40%,#e9bf63 0 9px,transparent 10px),
    radial-gradient(circle at 63% 41%,#b65c42 0 16px,transparent 17px),
    linear-gradient(160deg,#b8d48f,#76985d);
  color:#fff6cf;
  font-size:1.5rem;
}
.promo-phone-card strong{
  display:block;
  font-size:.68rem;
  line-height:1.25;
}
.promo-phone-card small{
  display:block;
  margin-top:3px;
  font-size:.52rem;
  color:#758278;
}
.promo-phone-icons{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:12px;
}
.promo-phone-icons span{
  min-height:53px;
  padding:7px 3px;
  border-radius:12px;
  background:#eef4e7;
  color:#4f7750;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  font-size:.92rem;
}
.promo-phone-icons small{
  color:#52685a;
  font-size:.48rem;
  font-weight:800;
}

@media(max-width:800px){
  .app-promo-banner{
    width:min(94vw,680px);
    min-height:0;
    grid-template-columns:minmax(0,1fr) 155px;
    gap:14px;
    padding:22px;
    border-radius:28px;
  }
  .app-promo-copy h2{
    font-size:clamp(2rem,7vw,3rem);
    max-width:11ch;
  }
  .app-promo-copy p{
    font-size:.9rem;
    line-height:1.5;
  }
  .app-promo-visual{min-height:230px}
  .promo-phone{
    width:150px;
    height:280px;
    border-radius:30px;
    transform:rotate(5deg) translateY(24px);
  }
  .promo-phone-screen{padding:28px 9px 16px;border-radius:24px}
  .promo-phone-speaker{width:56px;height:14px;top:13px}
  .promo-phone-brand img{width:25px;height:25px}
  .promo-phone-brand b{font-size:.76rem}
  .promo-phone-brand b span{font-size:.63rem}
  .promo-phone-photo{height:68px}
  .promo-phone-icons span{min-height:42px;font-size:.75rem}
}
@media(max-width:560px){
  .app-promo-banner{
    left:10px;
    right:10px;
    bottom:max(10px,env(safe-area-inset-bottom));
    width:auto;
    grid-template-columns:1fr 100px;
    padding:18px 16px;
    border-radius:24px;
    transform:translateX(-120vw) scale(.97);
  }
  .app-promo-banner.is-visible{transform:translateX(0) scale(1)}
  .app-promo-logo{margin-bottom:8px;font-size:.63rem}
  .app-promo-logo img{width:30px;height:30px}
  .app-promo-copy h2{font-size:2rem;margin-bottom:8px}
  .app-promo-copy p{font-size:.82rem}
  .app-promo-actions{
    flex-direction:column;
    align-items:stretch;
    margin-top:14px;
    gap:8px;
  }
  .app-promo-primary,.app-promo-secondary{
    width:100%;
    min-height:44px;
    padding:9px 12px;
    font-size:.78rem;
  }
  .app-promo-note{display:none}
  .app-promo-visual{min-height:190px}
  .promo-phone{
    width:96px;
    height:188px;
    padding:5px;
    border-radius:22px;
    transform:rotate(5deg) translateY(18px);
  }
  .promo-phone-screen{padding:20px 6px 9px;border-radius:18px}
  .promo-phone-speaker{width:38px;height:10px;top:8px}
  .promo-phone-brand{gap:3px;margin-bottom:8px}
  .promo-phone-brand img{width:18px;height:18px}
  .promo-phone-brand b{font-size:.5rem}
  .promo-phone-brand b span{font-size:.43rem}
  .promo-phone-label{font-size:.42rem;margin-bottom:5px}
  .promo-phone-card{padding:4px;border-radius:8px}
  .promo-phone-photo{height:42px;margin-bottom:4px;border-radius:6px;font-size:.8rem}
  .promo-phone-card strong{font-size:.43rem}
  .promo-phone-card small{font-size:.34rem}
  .promo-phone-icons{gap:3px;margin-top:6px}
  .promo-phone-icons span{min-height:27px;border-radius:7px;font-size:.5rem}
  .promo-phone-icons small{font-size:.3rem}
  .app-promo-close{right:10px;top:10px;width:32px;height:32px}
}
@media(prefers-reduced-motion:reduce){
  .app-promo-banner{
    transition:opacity .25s ease;
    transform:translate(-50%,0);
  }
  .app-promo-banner.is-visible{transform:translate(-50%,0)}
  @media(max-width:560px){
    .app-promo-banner,
    .app-promo-banner.is-visible{transform:none}
  }
}


/* Facebook shortcut in installed app */
.app-quick-launch{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.app-quick-launch .app-quick-facebook{
  background:
    radial-gradient(circle at 86% 15%,rgba(255,255,255,.2),transparent 30%),
    linear-gradient(145deg,#4267b2,#365899);
  color:#fff;
  border-color:rgba(66,103,178,.25);
}
.app-quick-launch .app-quick-facebook .app-quick-icon,
.app-quick-launch .app-quick-facebook small{
  color:rgba(255,255,255,.88);
}
.app-quick-launch .app-quick-facebook .app-quick-icon{
  font-family:Arial,Helvetica,sans-serif;
  font-weight:900;
  font-size:1.55rem;
}
@media(max-width:900px){
  .app-quick-launch{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .app-quick-launch a:last-child{grid-column:auto}
}
