@font-face{font-family:Inter;src:url('/assets/fonts/inter.ttf');font-display:swap}@font-face{font-family:Manrope;src:url('/assets/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}:root{--gl-font:'Manrope'}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#1c2321;background:#fbf8f1;font:17px/1.6 Inter,Arial,sans-serif}h1,h2,h3{font-family:Editorial,Georgia,serif;line-height:1.12;margin:0 0 18px}h1{font-size:clamp(36px,4.5vw,66px)}h2{font-size:38px}h3{font-size:25px}p{margin:0 0 20px}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a.button{cursor:pointer}button,.button{border:1px solid #8c2f39;background:#8c2f39;color:#fff;padding:11px 20px;border-radius:3px;text-decoration:none;display:inline-block;font-weight:600}button:hover,.button:hover{filter:brightness(.92)}button.secondary,.button.secondary{background:transparent;color:inherit;border-color:currentColor}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #c9a24a;outline-offset:4px}.wrap{max-width:1240px;margin:auto;padding:0 28px}.review{font-size:14px;text-align:center;padding:7px;background:#f4eee2}.header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:22px}.brand{font:700 32px Editorial,Georgia,serif;text-decoration:none;color:#1f3b2d;white-space:nowrap}.brand em{font-style:normal;color:#8c2f39}.nav{display:flex;gap:25px;align-items:center}.nav a{text-decoration:none;font-weight:600}.menu{display:none}.hero{background:#153a2b;color:#fbf8f1}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;padding-top:55px;padding-bottom:55px}.hero img{width:100%;height:400px;object-fit:cover;border-radius:4px}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:#e0c279}.hero p{max-width:550px;font-size:20px}.actions{display:flex;gap:12px;flex-wrap:wrap}.section{padding-top:65px;padding-bottom:65px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:26px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{border-top:2px solid #c9a24a;padding:24px 0;display:flex;flex-direction:column;align-items:start}.card p{font-size:16px}.card button{margin-top:auto}.problem{font-weight:700;color:#8c2f39}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.chips button{background:transparent;color:#1f3b2d;border-color:#a5afa7;padding:8px 13px;font-size:15px}.chips button[aria-pressed=true]{background:#1f3b2d;color:white}.resource-band{background:#f4eee2}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.newsletter{background:#8c2f39;color:white;padding:40px 0}.newsletter .wrap{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}input{padding:12px;border:1px solid #aaa;width:100%;background:#fff;color:#1c2321}.field{display:flex;gap:10px}.field button{background:#1f3b2d;border-color:#fff;white-space:nowrap}.small{font-size:14px}.footer{background:#1f3b2d;color:#fff;padding:30px 0}.footer .wrap{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer a{margin-right:18px}dialog{border:0;border-radius:10px;max-width:760px;width:calc(100% - 32px);padding:32px;max-height:85vh;overflow:auto}dialog::backdrop{background:#101c21b8}.close{float:right;background:transparent;color:#222;border-color:#bbb}.dialog-content{padding-top:25px}.checklist label{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.checklist input{width:20px;flex-shrink:0}textarea{width:100%;min-height:100px;font:inherit;padding:10px}.hidden,[hidden]{display:none!important}.gl{background:#fff;color:#132b3b}.gl h1,.gl h2,.gl h3,.gl .brand{font-family:Inter,Arial,sans-serif;letter-spacing:-1.5px}.gl .brand{font-size:27px;color:#16324f}.gl .hero{background:#fff;color:#132b3b}.gl .hero-grid{padding-top:55px;gap:60px}.gl .hero img{height:auto;border-radius:18px;box-shadow:0 12px 35px #193b501a}.gl .eyebrow{color:#285345}.gl button,.gl .button{background:#16324f;border-color:#16324f;border-radius:7px}.gl .product{background:#f4f5f1;border-radius:22px;padding:40px;display:grid;grid-template-columns:1fr 1.4fr;gap:40px;margin-bottom:35px;align-items:center}.gl .product img{width:100%;border-radius:12px;box-shadow:0 8px 25px #16324f25}.gl .product.ice{background:#132e43;color:white}.gl .footer{background:#132e43}.gl .feature-label{font-size:14px;text-transform:uppercase;letter-spacing:2px;color:#006072;font-weight:700}.gl .card{border-color:#4b9cd3}.gl .grid p{color:#314d5b}.gl .product .small{opacity:.85}.gl .hero .intro{font-size:22px}.gl .wordmark{font-size:38px;font-weight:700;color:#006072}.ice-symbol{width:110px;height:110px;border-radius:28px;border:2px solid #8abfe2;display:grid;place-items:center;font-size:60px;margin-bottom:20px}.gl .secondary{background:white;color:#16324f}.note{padding:18px;border-left:3px solid #c9a24a;background:#f4eee2}.mobile-nav-open .nav{display:flex}@media(max-width:800px){.hero-grid,.gl .product,.newsletter .wrap{grid-template-columns:1fr}.hero-grid{padding-top:32px;padding-bottom:32px}.hero img{height:260px}.grid{grid-template-columns:1fr 1fr}.header{position:relative}.menu{display:block;padding:7px 12px}.nav{display:none;position:absolute;top:80px;left:0;right:0;z-index:10;background:#fbf8f1;padding:24px;flex-direction:column;align-items:start;border-bottom:1px solid #ddd}.gl .nav{background:#fff}.brand{font-size:27px}.section{padding-top:40px;padding-bottom:40px}.gl .product{padding:25px;gap:25px}.section-head{display:block}}@media(max-width:500px){.wrap{padding-left:20px;padding-right:20px}.grid,.resource-grid{grid-template-columns:1fr}.field{flex-direction:column}h2{font-size:31px}.hero p{font-size:18px}.gl .hero-grid{gap:24px}.footer .wrap{display:block}.footer nav{margin-top:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.gl-match{font-family:var(--gl-font,Inter),Arial,sans-serif;color:#111;background:#fff}.gl-match .wrap{max-width:1200px;padding-left:32px;padding-right:32px}.gl-match :is(h1,h2,h3,h4,.brand){color:#101112;font-family:var(--gl-font,Inter),Arial,sans-serif}.gl-match .header{height:86px;border-bottom:1px solid #d6d6d6;gap:36px}.gl-match .brand{font-size:29px;letter-spacing:-1.2px;font-weight:750;text-decoration:none}.gl-match .nav{gap:45px;font-size:16px;font-weight:600}.gl-match .nav-company{padding:0;background:none;color:#111;border:0;font:inherit}.gl-match .button,.gl-match button:not(.gl-explore):not(.nav-company):not(.close){background:#0c0d0e;border-color:#0c0d0e;border-radius:9px;color:#fff;font-weight:650}.gl-match .button{padding:13px 22px;font-size:16px}.gl-intro{padding-top:36px}.gl-intro h1{font-size:clamp(42px,5.3vw,64px);line-height:1.04;letter-spacing:-2.2px;margin:0 0 14px;max-width:900px;font-weight:750}.gl-intro>p{font-size:23px;line-height:1.4;margin:0 0 25px;color:#333}.gl-intro>.button{position:relative;z-index:4}.gl-device-board{height:570px;position:relative;margin-top:-30px}.gl-laptop{position:relative}.hero-laptop{position:absolute;width:70%;right:-12px;top:0}.laptop-display{aspect-ratio:1.54;border:12px solid #111;border-radius:20px 20px 9px 9px;outline:2px solid #a3a4a6;background:#f8faff;display:flex;overflow:hidden;box-shadow:0 2px 4px #0006}.laptop-base{height:22px;background:linear-gradient(#b8b9bb,#77797c 40%,#e0e0e1 60%,#777 90%,#555);border-radius:0 0 45% 45%;margin:2px -5%;box-shadow:0 12px 14px #0003;position:relative}.laptop-base:before{content:'';display:block;position:absolute;left:35%;right:35%;height:7px;background:#57595d;border-radius:0 0 8px 8px}.ice-nav{width:23%;padding:20px 12px;background:linear-gradient(#fff,#f3f5f8);flex:none;font-family:Inter,Arial,sans-serif;font-size:11px;color:#111}.ice-nav strong{display:block;font-size:14px;margin-bottom:20px}.ice-nav span{display:block;padding:8px 6px;margin:2px 0;border-radius:5px;font-size:10px}.ice-nav span:first-of-type{background:var(--ice-slate);color:white}.ice-work{padding:25px 18px 15px;flex:1;min-width:0;font-family:Inter,Arial,sans-serif}.gl-match .ice-work h3{font-size:22px;letter-spacing:-.7px;line-height:1.1;margin:0}.ice-work p{font-size:9px;line-height:1.3;margin:4px 0 12px}.ice-tabs{display:flex;gap:10px;font-size:9px;margin:12px 0}.ice-tabs>*{padding:7px 10px;border:1px solid #dce0eb;border-radius:6px;white-space:nowrap}.ice-tabs b{background:var(--ice-slate);color:#fff;border-color:var(--ice-slate)}.ice-columns,.ice-row{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;align-items:center;gap:10px;padding:7px 8px;font-size:9px}.ice-columns{color:#343b4d;padding-bottom:4px}.ice-row{background:#e8edf2;border-radius:5px;margin-bottom:3px;color:#111;font-size:10px}.ice-row strong{font-weight:600;white-space:nowrap}.ice-row em{font-style:normal;background:#d5dfe9;color:var(--ice-ink);padding:3px 5px;margin-right:8px;border-radius:3px}.ice-row>span{height:7px;background:#d4dde5;border-radius:6px;overflow:hidden}.ice-row i{display:block;height:100%;background:linear-gradient(90deg,var(--ice-slate),var(--ice-midtone));border-radius:6px}.ice-capacity{border:1px solid #dce1ec;border-radius:6px;padding:12px;margin-top:17px}.ice-capacity h4{font-size:13px;letter-spacing:0;margin:0}.ice-capacity p{margin:3px 0 10px}.ice-capacity>div{display:flex;height:14px;background:#e9ecf2;border-radius:10px;overflow:hidden}.ice-capacity i:nth-child(1){background:var(--ice-slate);width:50%}.ice-capacity i:nth-child(2){background:var(--ice-midtone);width:25%}.ice-capacity small{display:block;font-size:8px;margin-top:8px}.gl-phone{position:absolute;border:7px solid #131415;outline:2px solid #959898;border-radius:39px;background:#fff;overflow:hidden;box-shadow:0 10px 15px #0003;aspect-ratio:390/800}.gl-phone img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}.phone-island{position:absolute;z-index:2;top:7px;left:31%;width:38%;height:15px;border-radius:20px;background:#111}.phone-front{width:22%;left:5%;bottom:5px;z-index:3}.phone-back{width:18.5%;left:26%;bottom:32px;z-index:2}.gl-match .device-caption{position:absolute;right:0;bottom:12px;color:#686868;font-size:13px;margin:0}.gl-products{border-top:1px solid #d6d6d6;padding-top:32px;padding-bottom:26px}.gl-products>h2{font-size:48px;letter-spacing:-1.7px;margin:0 0 12px;font-weight:750}.gl-product-row{display:grid;grid-template-columns:44% 56%;border-bottom:1px solid #ddd;min-height:285px;overflow:hidden}.gl-product-copy{padding:24px 25px 32px 22px;align-self:center}.product-name{display:flex;align-items:center;gap:14px;margin-bottom:12px}.gl-match .product-name h3{font-size:30px;letter-spacing:-1px;margin:0}.gl-match .gl-product-copy h4{font-size:30px;letter-spacing:-1px;line-height:1.07;max-width:390px;margin:0 0 10px}.gl-product-copy p{font-size:19px;color:#484b50;line-height:1.4;margin:0 0 16px;max-width:380px}.gl-match .gl-explore{font:600 19px Inter,Arial,sans-serif;color:#0645df;background:transparent;border:0;padding:0;border-radius:0;text-decoration:none}.gl-explore:hover{text-decoration:underline}.gl-product-visual{position:relative;min-height:285px}.gl-bookmaestro-visual .gl-phone{width:38%;height:370px;aspect-ratio:auto;top:4px}.product-phone-one{left:6%;z-index:2}.product-phone-two{left:49%;top:34px!important}.gl-ice-visual .product-laptop{width:94%;position:absolute;right:0;top:28px}.product-laptop .laptop-display{border-width:10px;border-radius:17px}.product-laptop .ice-work{padding:20px 14px}.product-laptop .ice-nav{padding:18px 8px}.product-laptop .ice-nav strong{font-size:12px}.product-laptop .ice-tabs{gap:4px}.product-laptop .ice-row{gap:5px;font-size:8px}.product-laptop .ice-row em{margin-right:4px}.product-laptop .ice-work h3{font-size:20px}.product-laptop .ice-tabs>*{font-size:8px;padding:5px}.ice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:var(--ice-slate);color:#fff;font-size:32px;line-height:1}.gl-custom-band{background:#f0f1f2;border-radius:9px;display:grid;grid-template-columns:38% 62%;align-items:center;margin:18px -12px 0;padding:20px 25px}.gl-custom-band p{font-size:15px;line-height:1.45;color:#3d4044;border-left:1px solid #9fa4a9;margin:0;padding-left:32px}.gl-match .gl-footer{background:#0c0d0e;color:#fff;padding:24px 0}.gl-footer .wrap{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.gl-match .gl-footer .brand{color:#fff;font-size:28px}.gl-footer .wrap>span{border-left:1px solid #6d7074;padding-left:28px;font-size:14px}.gl-footer nav{margin-left:auto;display:flex;align-items:center;gap:25px;font-size:14px}.gl-footer nav a{margin:0;text-decoration:none}.gl-match .gl-footer button{font-size:14px;padding:0!important;border:0!important;background:none!important}.gl-match dialog{color:#111}.gl-match .dialog-content h2{font-size:32px;letter-spacing:-.8px}.dialog-laptop .laptop-display{min-height:350px}.gl-match .review{background:#fff;border-bottom:1px solid #eee;color:#666;font-size:12px;padding:3px}.gl-match .menu{display:none}.gl-match .gl-footer :is(a,button){color:white}.gl-match .gl-footer .brand{white-space:nowrap}
@media(max-width:900px){.gl-match .nav{gap:20px}.gl-match .header{gap:20px}.gl-match .brand{font-size:25px}.gl-device-board{height:480px}.hero-laptop{width:70%;top:30px}.phone-front{width:27%;left:3%}.phone-back{width:23%;left:28%}.ice-work{padding:18px 10px}.ice-nav{padding:15px 7px}.ice-nav strong{font-size:12px}.ice-row{font-size:8px;gap:4px}.gl-match .ice-work h3{font-size:18px}.ice-tabs{gap:4px}.ice-tabs>*{font-size:8px;padding:5px}.gl-products>h2{font-size:40px}.gl-product-copy{padding-left:0}.gl-match .gl-product-copy h4{font-size:27px}.gl-match .product-name h3{font-size:27px}.gl-product-copy p{font-size:17px}.gl-custom-band{padding:20px}.gl-custom-band p{padding-left:20px}.gl-footer nav{margin-left:0}}
@media(max-width:750px){.gl-match .wrap{padding-left:20px;padding-right:20px}.gl-match .header{height:75px;justify-content:space-between}.gl-match .menu{display:block}.gl-match .nav{display:none;top:75px;background:#fff}.gl-match.mobile-nav-open .nav{display:flex}.gl-intro{padding-top:28px}.gl-intro h1{font-size:44px;letter-spacing:-1.7px}.gl-intro>p{font-size:19px}.gl-device-board{height:590px;margin-top:22px}.hero-laptop{width:96%;right:0;top:auto;bottom:30px}.phone-front{width:42%;left:3%;bottom:auto;top:0}.phone-back{width:37%;left:48%;bottom:auto;top:27px}.gl-phone{border-width:6px;border-radius:28px}.gl-match .device-caption{font-size:10px;text-align:right;bottom:0}.laptop-display{border-width:7px;border-radius:12px}.laptop-base{height:13px}.ice-nav{padding:12px 4px;font-size:7px}.ice-nav strong{font-size:9px;margin-bottom:11px}.ice-nav span{font-size:7px;padding:5px 3px}.ice-work{padding:13px 9px}.gl-match .ice-work h3{font-size:14px}.ice-work p{font-size:6px;margin-bottom:6px}.ice-tabs{margin:7px 0}.ice-tabs>*{font-size:6px;padding:4px}.ice-columns,.ice-row{font-size:6px;padding:4px;gap:4px}.ice-row em{margin-right:3px;padding:2px}.ice-row>span{height:5px}.ice-capacity{margin-top:8px;padding:7px}.ice-capacity h4{font-size:9px}.ice-capacity>div{height:9px}.ice-capacity small{font-size:6px}.gl-products{padding-top:26px}.gl-products>h2{font-size:36px;letter-spacing:-1.3px}.gl-product-row{grid-template-columns:1fr}.gl-product-copy{padding:24px 0 16px}.gl-product-copy p{max-width:100%;font-size:18px}.gl-match .gl-product-copy h4{font-size:29px;max-width:100%}.gl-product-visual{min-height:300px}.gl-bookmaestro-visual .gl-phone{width:42%;height:370px}.product-phone-one{left:3%}.product-phone-two{left:52%}.gl-ice-visual{min-height:240px}.gl-ice-visual .product-laptop{width:97%;top:18px}.product-laptop .ice-work{padding:14px 10px}.product-laptop .ice-nav{padding:12px 5px}.product-laptop .ice-nav strong{font-size:9px}.product-laptop .ice-work h3{font-size:15px}.product-laptop .ice-row{font-size:6px}.product-laptop .ice-tabs>*{font-size:6px}.gl-custom-band{grid-template-columns:1fr;padding:20px;margin:18px 0 0;gap:12px}.gl-custom-band p{border-left:0;border-top:1px solid #bcc0c4;padding:12px 0 0;font-size:15px}.gl-footer .wrap{display:flex!important;align-items:start;gap:14px}.gl-footer .wrap>span{border:0;padding:0}.gl-footer nav{width:100%;flex-wrap:wrap;gap:22px}.gl-match .dialog-laptop .laptop-display{min-height:200px}.gl-match .dialog-laptop .ice-row{font-size:6px}.gl-match .dialog-laptop .ice-nav{padding:10px 3px}.gl-match .dialog-content h2{font-size:28px}.gl-match .gl-footer .brand{font-size:27px}}

.gl-phone{padding-top:24px}.phone-status{position:absolute;top:5px;left:12px;right:12px;display:flex;justify-content:space-between;font:600 8px Inter,Arial,sans-serif;color:#111}.phone-island{top:5px;height:13px}

/* Current service-led hero; the app examples remain in the product rows below. */
.gl-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:center;padding-top:40px;padding-bottom:30px}.gl-intro h1{font-size:clamp(42px,4.5vw,57px);font-weight:600;letter-spacing:-1.7px;line-height:1.08;max-width:650px;margin:0 0 22px}.gl-intro-copy>p{font:400 22px/1.5 var(--gl-font,Inter),Arial,sans-serif;color:#40535e;margin:0;max-width:540px}.gl-hero-alternatives{min-width:0}.gl-illustration svg{display:block;width:100%;height:auto}.gl-brand-icon{width:38px;height:38px;flex:none}.gl-match .brand{display:flex;align-items:center;gap:10px;font-family:var(--gl-font,Inter),Arial,sans-serif}.gl-match .gl-footer .brand{font-family:var(--gl-font,Inter),Arial,sans-serif}.gl-design-review{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;min-height:39px;padding:6px 18px!important}.gl-design-review label{display:flex;align-items:center;gap:6px;font-size:12px}.gl-design-review select{font:inherit;border:1px solid #ccd3d7;border-radius:4px;padding:3px 6px;background:#fff;color:#243f50;max-width:170px}.gl-match .gl-design-review button{font:inherit!important;font-size:12px!important;background:#fff!important;border:1px solid #ccd3d7!important;color:#243f50!important;padding:4px 8px!important;border-radius:4px!important}.gl-design-review a{font-size:12px;color:#28536e}.flow-line{animation:gl-flow 2.5s linear infinite}.hero-stage{transform-box:fill-box;transform-origin:center;animation:gl-stage 7s ease-in-out infinite}.stage-two{animation-delay:1.5s}.stage-three{animation-delay:3s}.hero-signal{transform-box:fill-box;transform-origin:center;animation:gl-signal 3s ease-in-out infinite}.gl-illustration .hero-phone{animation:gl-phone 7s ease-in-out infinite;transform-origin:center}.gl-match.motion-off .gl-illustration *{animation:none!important}.gl-match .brand:hover .gl-brand-icon{transform:translateY(-1px);transition:transform .2s ease}.gl-match :is(h1,h2,h3,h4){font-family:var(--gl-font,Inter),Arial,sans-serif}.gl-match .gl-products>h2{font-weight:600}.gl-match .gl-product-copy h4{font-weight:600}.gl-match .gl-explore{font-family:var(--gl-font,Inter),Arial,sans-serif}@keyframes gl-flow{to{stroke-dashoffset:-39}}@keyframes gl-stage{0%,45%,100%{transform:translateY(0);filter:none}12%,25%{transform:translateY(-5px);filter:drop-shadow(0 7px 5px #16324f12)}}@keyframes gl-signal{0%,100%{transform:scale(1);opacity:.75}50%{transform:scale(1.18);opacity:1}}@keyframes gl-phone{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@media(max-width:750px){.gl-intro{grid-template-columns:1fr;gap:15px;padding-top:30px;padding-bottom:25px}.gl-intro h1{font-size:44px;letter-spacing:-1.5px;max-width:550px}.gl-intro-copy>p{font-size:20px}.gl-match .brand{font-size:24px}.gl-brand-icon{width:32px;height:32px}.gl-design-review{justify-content:flex-start;gap:8px}.gl-design-review>span{display:none}.gl-design-review select{max-width:140px}.gl-design-review label{font-size:11px}.gl-hero-alternatives{max-width:560px;width:100%;margin:auto}.gl-match .header{gap:12px}.gl-match .gl-footer .brand{font-size:25px}}
@media(prefers-reduced-motion:reduce){.gl-match *, .gl-match *::before,.gl-match *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Balanced portfolio: two named apps and two reserved future app spaces. */
.gl-intro-copy>p{font-size:20px;line-height:1.55}.gl-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.gl-app-grid .gl-product-row{display:flex;flex-direction:column;min-width:0;border:1px solid #d6dfe3;border-radius:20px;background:#f8fafb;overflow:hidden}.gl-app-grid .gl-product-copy{align-self:stretch;padding:26px 26px 12px}.gl-app-grid .gl-product-copy h4{font-size:27px;max-width:none}.gl-app-grid .gl-product-copy p{max-width:none;font-size:18px}.gl-app-grid .gl-product-visual{width:100%;min-height:320px;margin-top:auto}.gl-app-grid .gl-bookmaestro-visual .gl-phone{height:355px;width:39%}.gl-app-grid .gl-ice-visual .product-laptop{width:87%;right:6%;top:32px}.gl-app-grid .gl-future-app{padding:28px;min-height:290px;position:relative;background:#f1f5f5}.gl-slot-label{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:#465e67}.gl-match .gl-future-app h3{font-size:30px;margin:22px 0 10px;font-weight:600;letter-spacing:-1px}.gl-future-app p{font-size:18px;margin:0;color:#40535e}.gl-app-sketch{display:flex;gap:12px;align-items:end;height:80px;margin-top:28px}.gl-app-sketch span{display:block;width:45px;height:55px;background:#24536a;border-radius:12px}.gl-app-sketch span:nth-child(2){height:75px;background:#4f8693}.gl-app-sketch span:nth-child(3){height:40px;background:#c98552}.gl-app-sketch--round span{border-radius:50%;height:52px}.gl-app-sketch--round span:nth-child(2){height:72px;width:72px}.gl-custom-band{margin-top:28px}
@media(max-width:750px){.gl-app-grid{grid-template-columns:1fr;gap:20px}.gl-intro-copy>p{font-size:18px}.gl-app-grid .gl-product-copy{padding:24px 20px 10px}.gl-app-grid .gl-product-visual{min-height:265px}.gl-app-grid .gl-bookmaestro-visual .gl-phone{height:300px}.gl-app-grid .gl-future-app{min-height:250px;padding:24px}.gl-app-grid .gl-ice-visual .product-laptop{top:22px}.gl-products>h2{font-size:34px}}

.gl-authors-icon{display:grid;place-items:center;width:42px;height:42px;background:#34483d;color:#fff;border-radius:9px;font:600 26px Georgia,serif;position:relative}.gl-authors-icon span{position:absolute;right:6px;top:3px;font-size:20px}.gl-authors-visual{margin:20px 26px 26px;padding:28px;background:#eee8da;border-radius:14px;color:#273d32}.gl-authors-visual>span{font-size:12px;letter-spacing:.8px;text-transform:uppercase}.gl-authors-visual strong{display:block;font:500 36px/1.15 Georgia,serif;margin:22px 0}.gl-authors-visual>div{font-size:13px;border-top:1px solid #b6bdae;padding-top:16px}.gl-app-grid .gl-authors-app{background:#f9f7f2}

.gl-app-grid .gl-bookmaestro-visual {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11rem));
  justify-content: center;
  align-items: start;
  gap: clamp(6px, 1.2vw, 16px);
  min-height: 0;
  padding: 8px clamp(9px, 1.7vw, 20px) 18px;
}

.gl-app-grid .gl-bookmaestro-visual .gl-phone {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 800;
  box-sizing: border-box;
  border-radius: clamp(16px, 2.2vw, 28px);
}

.gl-app-grid .gl-bookmaestro-visual .gl-library-phone {
  aspect-ratio: auto;
}

.gl-library-phone img {
  height: auto;
}

/* BookMaestro portfolio devices and the compact Local Treasures feature. */
.gl-local-treasures-tablet,
.gl-local-treasures-mobile {
  grid-column: 1 / -1;
  min-width: 0;
}
.gl-local-treasures-tablet {
  margin: .4rem 0 0;
  inline-size: 100%;
  justify-self: center;
  text-align: center;
}
.gl-local-treasures-tablet figcaption {
  margin-block-start: .65rem;
  font-size: .9rem;
  font-weight: 700;
  color: #16324f;
}
.gl-tablet-shell {
  position: relative;
  display: block;
  box-sizing: border-box;
  border: 1px solid #616972;
  border-radius: 1rem;
  padding: .8rem .65rem .65rem;
  background: #202730;
  box-shadow: 0 10px 22px #192d3b26;
}
.gl-tablet-shell::before {
  position: absolute;
  inset-block-start: .32rem;
  inset-inline-start: calc(50% - 2px);
  inline-size: 4px;
  block-size: 4px;
  border-radius: 50%;
  background: #65717e;
  content: '';
}
.gl-tablet-shell img,
.gl-local-treasures-mobile img {
  display: block;
  inline-size: 100%;
}
.gl-tablet-shell img {
  height: auto;
  border-radius: .55rem;
  background: #fff;
}
.gl-local-treasures-mobile { display: none; }
.gl-app-grid .gl-ice-app { align-self: start; }
@media (max-width: 750px) {
  .gl-local-treasures-tablet { display: none; }
  .gl-local-treasures-mobile {
    display: block;
    overflow: hidden;
    margin-block-start: .35rem;
    border: 1px solid #c6d3d1;
    border-radius: .85rem;
    background: #fff;
    color: #192d3b;
    text-decoration: none;
  }
  .gl-local-treasures-mobile img {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: 50% 66%;
  }
  .gl-local-treasures-mobile-copy {
    display: grid;
    gap: .35rem;
    padding: .9rem 1rem 1rem;
    font-size: .95rem;
    line-height: 1.45;
  }
  .gl-local-treasures-mobile-copy strong {
    color: #006072;
    font-size: 1.25rem;
  }
  .gl-local-treasures-link {
    color: #006072;
    font-weight: 700;
    text-decoration: underline;
  }
}
.gl-tablet-shell:focus-visible,
.gl-local-treasures-mobile:focus-visible {
  outline: 3px solid #006072;
  outline-offset: 3px;
}

.gl-match {
  --ice-slate: #3d6db0;
  --ice-ink: #2f5895;
  --ice-midtone: #527cb8;
}
.gl-match :is(.gl-ice-app,.dialog-laptop) .laptop-display {
  background: #f5f7fa;
}
.gl-match :is(.gl-ice-app,.dialog-laptop) :is(h3,h4),
.gl-match #detail:has(.dialog-laptop) h2 {
  color: var(--ice-ink) !important;
}
.gl-match #apps .gl-ice-app [data-ice] {
  color: var(--ice-ink) !important;
  border-color: var(--ice-midtone) !important;
}
.gl-match #apps .gl-ice-app [data-ice]:hover {
  background: #eef2f6 !important;
}

/* Graceful Labs seedling identity. ICE Maker keeps its own product colors. */
.gl-match {
  --gl-font: Manrope;
  --gl-navy: #1d3a4b;
  --gl-teal: #2b6b6d;
  --gl-teal-accent: #3a8c8e;
  --gl-mist: #eaf3f3;
  --gl-copy: #4a5863;
  --gl-border: #e1e7ec;
  color: var(--gl-navy);
}

.gl-match .wrap { max-width: 1200px; }
.gl-match :is(h1, h2, h3, h4, .brand, .nav a) { color: var(--gl-navy) !important; }
:root body.gl-match .nav .nav-company:not(:disabled) {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--gl-navy) !important;
}
:root body.gl-match .header .menu:not(:disabled) {
  border-color: var(--gl-navy) !important;
  color: var(--gl-navy) !important;
}
.gl-match .gl-footer .brand,
:root body.gl-match .gl-footer [data-privacy]:not(:disabled) { color: white !important; }
.gl-match .header { border-color: var(--gl-border); }
.gl-match .header .brand { font-size: clamp(1.3rem, 2.05vw, 1.6rem); font-weight: 800; }
.gl-match .header .gl-brand-icon { inline-size: 32px; block-size: 32px; }
.gl-match .nav { gap: clamp(.8rem, 2.05vw, 1.8rem); }
:root body.gl-match :is(.header, .gl-custom-band) .button[data-project] { background: var(--gl-teal) !important; border-color: var(--gl-teal) !important; color: white !important; font: 800 15px Manrope, sans-serif; }
.gl-match .gl-design-review[hidden] { display: none; }

.gl-intro { gap: clamp(2rem, 5vw, 4.6rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.gl-intro h1 {
  max-inline-size: 9em;
  font-size: clamp(2.75rem, 4.55vw, 4.15rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}
.gl-intro h1 em { color: var(--gl-teal); font-style: normal; }
.gl-intro-copy > p { color: var(--gl-copy); font-size: clamp(1rem, 1.35vw, 1.17rem); line-height: 1.6; }
.gl-studio {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-block-end: 1.4rem;
  padding: .33rem .7rem;
  border-radius: 99px;
  background: var(--gl-mist);
  color: var(--gl-teal);
  font-size: .84rem;
  font-weight: 800;
}
.gl-studio::before,
.gl-workflow-phone > span::before {
  content: '';
  flex: 0 0 .48rem;
  block-size: .48rem;
  background: var(--gl-teal-accent);
  border-radius: 50%;
}
.gl-intro-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block-start: 1.55rem; }
:root body.gl-match .gl-intro-actions .button:is([data-project], a) {
  padding: .72rem 1.35rem;
  border: 2px solid var(--gl-teal) !important;
  border-radius: .72rem;
  background: var(--gl-teal) !important;
  font: 800 .95rem Manrope, sans-serif;
  color: white !important;
  text-decoration: none;
}
:root body.gl-match .gl-intro-actions a.button[href] {
  border-color: var(--gl-navy) !important;
  background: white !important;
  color: var(--gl-navy) !important;
}

.gl-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.75rem);
  padding: clamp(1rem, 3vw, 2.5rem);
  border-radius: 1.75rem;
  background: var(--gl-mist);
  color: var(--gl-navy);
  font-size: .9rem;
  line-height: 1.25;
}
.gl-workflow-stages { display: grid; gap: 1rem; }
.gl-workflow-stages > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .65rem;
  padding: .72rem;
  border-radius: .85rem;
  background: white;
  box-shadow: 0 .35rem .9rem #1d3a4b12;
}
.gl-workflow strong, .gl-workflow b { font-weight: 800; }
.gl-workflow small { display: block; color: var(--gl-copy); font-size: .76rem; }
.gl-workflow-stages > div span {
  display: grid;
  place-items: center;
  grid-row: span 2;
  align-self: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: .55rem;
  background: var(--gl-navy);
  color: #7fd4d4;
  font-size: 1.03rem;
}
.gl-workflow-stages > div:last-child span { background: var(--gl-teal); color: white; }
.gl-workflow-phone {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-block-size: 19rem;
  padding: 1.15rem .6rem .62rem;
  border: .36rem solid var(--gl-navy);
  border-radius: 1.8rem;
  background: white;
  box-shadow: 0 .95rem 1.6rem #1d3a4b29;
}
.gl-workflow-phone > span, .gl-workflow-phone > b {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .52rem .4rem;
  border-radius: .45rem;
  background: var(--gl-mist);
  font-size: .68rem;
  font-weight: 750;
}
.gl-workflow-phone > b { justify-content: center; margin-block-start: auto; background: var(--gl-navy); color: white; }

.gl-match .gl-products { border-color: var(--gl-border); padding-block: clamp(2rem, 4vw, 4rem); }
.gl-match .gl-products > h2 { font-size: clamp(2rem, 3vw, 2.55rem); font-weight: 850; }
.gl-app-grid .gl-product-row { background: #f7f9fa; border-color: var(--gl-border); }
.gl-match .product-name h3 { font-size: 1.52rem; font-weight: 850; }
.gl-match .gl-product-copy h4 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.gl-match .gl-product-copy p { margin-block-end: .35rem; font-size: .96rem; color: var(--gl-copy); }
.gl-match #apps .gl-explore { padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--gl-teal) !important; font: 800 .95rem Manrope, sans-serif; }
.gl-match #apps .gl-ice-app [data-ice] { color: var(--ice-ink) !important; }
.gl-match .gl-ice-app .product-name h3 { color: var(--gl-navy) !important; }
.gl-match .ice-work h3 { color: var(--ice-ink) !important; }
.gl-match :is(.gl-ice-app, .dialog-laptop) .laptop-display { background: white; border-color: #1f2430; }
.gl-match .ice-row { background: #f2f6fb; }
.gl-match :is(.ice-row em, .ice-row > span) { background: #dce6f3; }

.gl-app-grid .gl-product-visual {
  inline-size: auto;
  margin: 0 clamp(.75rem, 2vw, 1.7rem) clamp(.75rem, 2vw, 1.7rem);
  border: 1px solid var(--gl-border);
  border-radius: 1rem;
  background: #f9fafc;
}
.gl-app-grid .gl-bookmaestro-visual { padding: clamp(.8rem, 2vw, 1.6rem); }
.gl-app-grid .gl-local-treasures-tablet {
  grid-column: 1 / -1;
  max-inline-size: 22rem;
  scroll-margin-top: 1rem;
}
.gl-local-treasures-tablet figcaption { color: var(--gl-teal); }
.gl-match .gl-custom-band {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.3rem;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  padding: clamp(1rem, 2.3vw, 2rem);
  background: var(--gl-mist);
  border-radius: 1rem;
}
.gl-match .gl-custom-band h3 { margin: 0; font-size: 1.25rem; }
.gl-match .gl-custom-band p { padding: 0; border: 0; color: var(--gl-copy); }
.gl-match .gl-footer { background: var(--gl-navy); }
.gl-match .gl-footer .brand { font-size: 1.25rem; }
.gl-match .gl-footer .wrap > span { color: #d6e6ee; }
:root body.gl-match .gl-footer [data-privacy]:not(:disabled) {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

@media (min-width: 751px) {
  .gl-app-grid .gl-bookmaestro-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.55fr);
    align-items: end;
  }
  .gl-app-grid .gl-local-treasures-tablet { grid-column: auto; }
}

@media (max-width: 940px) {
  .gl-intro, .gl-app-grid { grid-template-columns: minmax(0, 1fr); }
  .gl-intro h1 { max-inline-size: none; }
  .gl-intro-copy > p { max-inline-size: 42rem; }
  .gl-hero-alternatives { max-inline-size: 35rem; inline-size: 100%; justify-self: center; }
  .gl-match .gl-custom-band { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 750px) {
  .gl-intro { gap: 1.5rem; }
  .gl-match .nav { z-index: 5; }
  .gl-intro h1 { font-size: clamp(2rem, 9vw, 3.6rem); }
  .gl-workflow-phone { min-block-size: 14rem; }
  .gl-workflow-stages { gap: .55rem; }
  .gl-workflow-stages > div { padding: .45rem; gap: .35rem; }
  .gl-workflow-stages > div span { inline-size: 1.45rem; block-size: 1.45rem; }
  .gl-workflow small { font-size: .69rem; }
  .gl-match .gl-custom-band { grid-template-columns: minmax(0, 1fr); }
}

.gl-match .header .gl-brand-lockup,
.gl-match .gl-footer .gl-brand-lockup {
  display: block;
  inline-size: clamp(9.25rem, 17vw, 12.5rem);
  block-size: auto;
}
.gl-match .gl-footer .gl-brand-lockup { inline-size: 10.25rem; }

.gl-project-form {
  display: grid;
  gap: .95rem;
}
.gl-project-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  padding: clamp(.85rem, 3vw, 1.3rem);
  border-radius: .85rem;
  background: var(--gl-teal);
  color: #fff;
}
.gl-project-form label {
  display: grid;
  gap: .3rem;
  min-width: 0;
  font-weight: 700;
}
.gl-project-form :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .65rem .75rem;
  border: 1px solid #a6b8bc;
  border-radius: .5rem;
  background: #fff;
  color: var(--gl-navy);
  font: inherit;
  font-weight: 400;
}
.gl-project-form textarea { min-height: 6rem; resize: vertical; }
.gl-project-form input[type="file"] { max-width: 100%; }
.gl-match #detail .gl-project-form button[type="submit"] {
  width: 100%;
  background: var(--gl-navy) !important;
  color: #fff !important;
}
@media (max-width: 540px) {
  .gl-match #detail:has(.gl-project-form) { padding: 18px; }
  .gl-project-contact { grid-template-columns: minmax(0, 1fr); }
}

.gl-content {
  padding-block: clamp(2rem, 6vw, 5rem);
}
.gl-content h1 {
  margin: 0 0 1rem;
  max-width: 21ch;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.gl-content-intro {
  max-width: 63ch;
  margin: 0 0 1.5rem;
  color: var(--gl-copy);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.gl-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.4rem);
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.gl-resource-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #ccdadd;
  border-radius: .85rem;
  box-shadow: 0 .25rem .85rem #1d3a4b12;
}
.gl-resource-art,
.gl-article-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .55rem;
  margin-block-end: .9rem;
}
.gl-article-art {
  margin-block: 1.25rem 1.5rem;
}
.gl-resource-card h2 {
  margin: 0 0 .55rem;
  font-size: 1.23rem;
  line-height: 1.35;
}
.gl-resource-card p {
  margin: 0;
  color: var(--gl-copy);
  line-height: 1.55;
}
.gl-content a {
  color: var(--gl-teal);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.gl-content .gl-resource-card-link {
  display: block;
  height: 100%;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border-radius: inherit;
  text-decoration: none;
}
.gl-resource-card-link:hover h2,
.gl-resource-card-link:focus-visible h2 {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.gl-reading-copy {
  max-width: 74ch;
}
.gl .gl-reading-copy h2 {
  letter-spacing: normal;
}
.gl-reading-copy > h2 {
  font-size: 1.55rem;
  margin: 2rem 0 .55rem;
}
.gl-reading-copy :is(p, li, dd) {
  line-height: 1.65;
}
.gl-reading-copy :is(ul, ol) {
  padding-inline-start: 1.45rem;
}
.gl-reading-copy li + li {
  margin-top: .35rem;
}
.gl-content-back,
.gl-byline {
  margin: 0 0 1rem;
  font-weight: 700;
}
.gl-examples > div {
  padding: .85rem 0;
  border-block-end: 1px solid #ccdadd;
}
.gl-examples dt {
  font-weight: 800;
}
.gl-examples dd {
  margin: .24rem 0 0;
}
.gl-content-next,
.gl-worksheet {
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: .85rem;
  background: var(--gl-mist);
}
.gl-content-next h2,
.gl-worksheet h2 {
  margin: 0 0 .55rem;
  font-size: 1.35rem;
}
.gl-content-next p {
  margin: 0 0 .75rem;
}
.gl-content a[data-project] {
  display: inline-block;
  font-weight: 800;
}
@media (max-width: 820px) {
  .gl-resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  }
}
@media (max-width: 540px) {
  .gl-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gl-service-directory {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gl-service-directory > .gl-resource-card {
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

@media (max-width: 540px) {
  .gl-service-directory {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gl-match .gl-custom-band h3 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.15;
}

@media (min-width: 751px) {
  .gl-match .gl-custom-band > .button[data-project] {
    grid-column: -2;
    justify-self: end;
  }
}

/* Shared readable text and control states across every BookMaestro page. */
:root {
  --muted: #33476a;
  --ink: #172f55;
}
body {
  color: #172f55;
}
.muted,
.meta,
.fine,
.label,
.breadcrumb,
.nav-soon,
.nav-soon small,
.nav-section,
.nav-library-picker > label,
.local-library-card dt,
.local-fields small,
.book-actions small,
.borrowed-card dt,
.stats span,
.stats small,
.public-footer,
footer {
  color: #33476a !important;
  opacity: 1 !important;
}
input::placeholder,
textarea::placeholder {
  color: #445779;
  opacity: 1;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled='true'] {
  opacity: 1 !important;
  color: #33476a !important;
  background-color: #e3e9f5 !important;
  border-color: #7a8aa6 !important;
  cursor: not-allowed;
}
button:disabled *,
[aria-disabled='true'] * {
  color: inherit !important;
  opacity: 1 !important;
}
.privacy-note {
  opacity: 1;
}
.rating-star {
  color: #52627f;
}
.rating-star.full {
  color: #805700;
}
.rating-star.half {
  background: linear-gradient(90deg, #2949d5 50%, #52627f 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.cover {
  color: #fff;
  background: #243b64;
}
.cover small,
.cover-title {
  color: #fff !important;
  opacity: 1 !important;
}
.community-hero .eyebrow {
  color: #ffe27a;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #234fc4;
  outline-offset: 3px;
}
.badge {
  color: #33476a !important;
}

/* Visible dismissal remains at the top of every scrolling app dialog. */
dialog[data-visible-close] > .popup-close-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  height: 0;
  overflow: visible;
}
dialog .popup-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #33476a;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
dialog .popup-close-button:hover {
  background: #f0f0f0;
}
dialog .popup-close-button:focus-visible {
  outline: 3px solid #e39100;
  outline-offset: 3px;
}
dialog[data-visible-close] .icon-close {
  display: none;
}
.book-share-action {
  display: block;
  margin: 10px 16px 16px;
  width: calc(100% - 32px);
  min-height: 44px;
}
.detail-share-action {
  margin: 12px 0 20px;
  min-height: 44px;
}

/* Deep Blue: strong identity, restrained controls, shared geometry. */
:root {
  --brand-blue: #294c9d;
  --blue: #294c9d;
  --green: #294c9d;
  --paper: #ffffff;
  --pale: #eaf1ff;
  --line: #d8e1ef;
}
:root body :is(h1, h2, h3, h4, h5, h6) {
  color: #294c9d !important;
}
:root
  body
  :is(button, a.button-link, a.primary, a.secondary, a.button):not(.book-open):not(.rating-star) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px !important;
  padding: 9px 13px !important;
  border-radius: 8px !important;
  line-height: 1.35 !important;
  font-size: 14px !important;
  white-space: normal;
  vertical-align: middle;
  margin: 4px !important;
}
:root body button:not(.book-open):not(.rating-star):not(:disabled),
:root body :is(a.button-link, a.primary, a.secondary, a.button) {
  background: #fff !important;
  color: #294c9d !important;
  border: 1px solid #7788a6 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
:root body button.primary:not(:disabled),
:root body button[type='submit']:not(.secondary):not(.quiet):not(:disabled),
:root body a.primary {
  background: #294c9d !important;
  color: #fff !important;
  border-color: #294c9d !important;
}
:root body button.quiet:not(:disabled),
:root body :is(a.quiet, .contact-support) {
  background: transparent !important;
  border-color: transparent !important;
  color: #294c9d !important;
}
:root body button:not(.book-open):not(.rating-star):not(:disabled):hover,
:root body :is(a.button-link, a.secondary, a.button):hover {
  background: #eaf1ff !important;
  color: #203f84 !important;
  border-color: #6d80a3 !important;
}
:root body button.primary:not(:disabled):hover,
:root body button[type='submit']:not(.secondary):not(.quiet):not(:disabled):hover,
:root body a.primary:hover {
  background: #203f84 !important;
  color: #fff !important;
}
/* The popup × is an icon, not a boxed button: keep it round, borderless and large. */
:root
  body
  dialog[data-visible-close]
  > .popup-close-bar
  > button.popup-close-button:not(:disabled) {
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #33476a !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  min-height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
}
:root
  body
  dialog[data-visible-close]
  > .popup-close-bar
  > button.popup-close-button:not(:disabled):hover {
  background: #f0f0f0 !important;
  color: #172f55 !important;
}
:root body button.danger:not(:disabled),
:root body button.delete:not(:disabled) {
  background: #fff !important;
  border-color: #d4aab4 !important;
  color: #983149 !important;
}
/* Margins protect ungrouped controls; wrapping rows use an exact 8px gap. */
:is(
  .actions,
  .local-actions,
  .header-actions,
  .modal-foot,
  .loan-card-actions,
  .book-actions,
  .todo-actions,
  .friend-toolbar,
  .friend-actions,
  .author-card-actions,
  .my-events-actions,
  .book-options,
  .event-rsvp-editor,
  .view-toggle,
  .tabs,
  .location-tabs,
  .community-tabs,
  #library-view-tabs,
  [role='tablist']
) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center;
}
:root
  body
  :is(
    .actions,
    .local-actions,
    .header-actions,
    .modal-foot,
    .loan-card-actions,
    .book-actions,
    .todo-actions,
    .friend-toolbar,
    .friend-actions,
    .author-card-actions,
    .my-events-actions,
    .book-options,
    .event-rsvp-editor,
    .view-toggle,
    .tabs,
    .location-tabs,
    .community-tabs,
    #library-view-tabs,
    .local-bookshop-actions,
    [role='tablist']
  )
  > :is(button, a.button-link, a.primary, a.secondary, a.button):not(.book-open):not(.rating-star) {
  margin: 0 !important;
}
:root body :is(.tabs, .location-tabs, .community-tabs, #library-view-tabs, [role='tablist']) button,
:root body button[role='tab'] {
  background: #fff !important;
  color: #294c9d !important;
  border: 1px solid #7788a6 !important;
  outline: none;
  box-shadow: none !important;
}
:root
  body
  :is(
    button[role='tab'][aria-selected='true'],
    .tabs button.active,
    .community-tabs button[aria-current='true'],
    .location-tabs button[aria-selected='true'],
    .location-tabs button[aria-current='true']
  ),
:root #library-view-tabs button[aria-pressed='true'] {
  background: #eaf1ff !important;
  color: #294c9d !important;
  border: 1px solid #6d80a3 !important;
  box-shadow: inset 0 -3px 0 #294c9d !important;
  font-weight: 700 !important;
}
:root #library-view-tabs button[aria-pressed='false'] {
  background: #fff !important;
  color: #294c9d !important;
  border: 1px solid #7788a6 !important;
  box-shadow: none !important;
}
:root body .summary-drill {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #294c9d !important;
}
:root body :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid #294c9d !important;
  outline-offset: 3px;
}
.password-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.password-field > input {
  flex: 1;
  min-width: 0;
  width: 0;
  margin: 0 !important;
}
:root body .password-field > button.password-visibility {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  padding: 6px !important;
  margin: 0 !important;
}
.password-visibility svg {
  display: block;
  pointer-events: none;
}
.saved-password-field input {
  font-size: 14px;
  padding: 8px;
  min-height: 44px;
}
.location-group {
  --location-tint: var(--paper) !important;
  background-color: var(--paper) !important;
}
.location-group:nth-of-type(even) {
  --location-tint: #f2f4f7 !important;
  background-color: #f2f4f7 !important;
}
.copyright {
  flex-basis: 100%;
  font: 13px/1.6 system-ui;
  color: #33476a;
  margin: 16px 0 0;
}
:root body .nav-help {
  background: #fff !important;
  color: #294c9d !important;
  border: 1px solid #7788a6 !important;
}
.app-nav {
  gap: 8px;
}
.app-menus {
  gap: 8px;
}
@media (max-width: 600px) {
  :root
    body
    :is(
      .header-actions,
      .modal-foot,
      .friend-toolbar,
      .friend-actions,
      .author-card-actions,
      .my-events-actions,
      .local-actions,
      .book-actions,
      .loan-card-actions
    ) {
    max-width: 100%;
    row-gap: 8px !important;
    column-gap: 8px !important;
  }
  :root body :is(.header-actions, .modal-foot) > button {
    flex: 0 1 auto;
    min-width: 0;
  }
}
[hidden] {
  display: none !important;
}
/* Semantic actions outrank the neutral button baseline. */
:root body button.primary:not(.book-open):not(.rating-star):not(:disabled),
:root
  body
  button[type='submit']:not(.secondary):not(.quiet):not(.book-open):not(.rating-star):not(
    :disabled
  ) {
  background: #294c9d !important;
  color: white !important;
  border-color: #294c9d !important;
}
:root body button.quiet:not(.book-open):not(.rating-star):not(:disabled) {
  background: transparent !important;
  border-color: transparent !important;
  color: #294c9d !important;
}
:root body .community-hero {
  background: #eaf1ff;
  color: #172f55;
}
:root body .community-hero .eyebrow {
  color: #294c9d !important;
}

:root body button.danger:not(.book-open):not(.rating-star):not(:disabled),
:root body button.delete:not(.book-open):not(.rating-star):not(:disabled) {
  background: white !important;
  border-color: #d4aab4 !important;
  color: #983149 !important;
}

/* Low-vision and color-independent control states. */
:root body {
  font-size: 16px;
  line-height: 1.5;
}
:root body :is(input, select, textarea) {
  font-size: 16px;
  line-height: 1.5;
  border-color: #7788a6 !important;
}
:root
  body
  :is(button, a.button-link, a.primary, a.secondary, a.button):not(.book-open):not(.rating-star) {
  font-size: 16px !important;
}
:root
  body
  :is(
    button[role='tab'][aria-selected='true'],
    .tabs button.active,
    .community-tabs button[aria-current='true'],
    .location-tabs button[aria-selected='true'],
    .location-tabs button[aria-current='true']
  ):not(.rating-star)::before,
:root #library-view-tabs button[aria-pressed='true']::before {
  content: '✓';
  display: inline-block;
  margin-right: 6px;
  font-weight: 800;
}
@media (prefers-contrast: more) {
  :root body :is(button, a.button-link, input, select, textarea) {
    border-width: 2px !important;
    border-color: #294c9d !important;
  }
  :root body .muted {
    color: #172f55 !important;
  }
}
@media (forced-colors: active) {
  :root body :is(button, a.button-link, a.primary, a.secondary, a.button, input, select, textarea) {
    forced-color-adjust: auto;
    background: Canvas !important;
    color: CanvasText !important;
    border: 2px solid ButtonText !important;
    box-shadow: none !important;
  }
  :root body :is(button, a, input, select, textarea):focus-visible {
    outline: 3px solid Highlight !important;
  }
  :root #library-view-tabs button[aria-pressed='true'] {
    border: 3px solid Highlight !important;
  }
}

.book-finished-celebration {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
}
.book-finished-message {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: #fff;
  color: #294c9d;
  border: 2px solid #294c9d;
  border-radius: 12px;
  box-shadow: 0 5px 24px #172f5520;
  font: 600 16px/1.5 system-ui;
  text-align: center;
}
.book-confetti {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 9px;
  height: 12px;
  border-radius: 2px;
  animation: book-confetti-burst 1.3s cubic-bezier(0.15, 0.65, 0.3, 1) both;
}
@keyframes book-confetti-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.35) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  62% {
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(1)
      rotate(240deg);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) scale(0.8)
      rotate(430deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-confetti {
    display: none !important;
    animation: none !important;
  }
}

/* Keep hold actions beside their list count, with space to wrap on phones. */
.collection-title {
  flex-wrap: wrap;
  gap: 12px;
}
#format-counts {
  line-height: 1.7;
  white-space: normal;
}

/* Library footer stays readable instead of squeezing into one flex row. */
footer.library-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: normal;
}
footer.library-footer strong {
  font-size: 22px;
  color: #294c9d;
}
footer.library-footer p {
  margin: 4px 0;
}
footer.library-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: start;
}
footer.library-footer a {
  padding: 4px 0;
  text-underline-offset: 3px;
}
footer.library-footer .library-footer-company {
  grid-column: 1/-1;
  border-top: 1px solid #d7dfec;
  padding-top: 16px;
}
@media (max-width: 600px) {
  footer.library-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

.import-enrichment {
  background: white;
  border: 1px solid #7788a6;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.import-enrichment summary {
  cursor: pointer;
}
.import-enrichment summary h2 {
  display: inline;
  margin: 0;
}
.import-enrichment details[open] summary {
  margin-bottom: 12px;
}
.import-enrichment progress {
  width: 100%;
  height: 16px;
  accent-color: #294c9d;
  margin-bottom: 12px;
}

.top-library-authors {
  background: #fff;
  border: 1px solid #7788a6;
  border-radius: 12px;
  padding: 22px;
  margin: 20px 0;
}
.top-library-authors p {
  line-height: 1.6;
}
.top-library-authors ol {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-left: 24px;
  margin-bottom: 0;
}
.top-library-authors li {
  padding-left: 2px;
}
.top-library-authors button {
  white-space: normal;
  text-align: left;
}
.top-library-authors h2 {
  font-size: 28px;
}

/* Welcome-email previews inline the retired pastel page wash. The shared page token wins, and the message card keeps an edge on white. */
body[style*='#edf2ff'] {
  background-color: var(--paper) !important;
}
body[style*='#edf2ff'] [style*='background:#edf2ff'] {
  background-color: var(--paper) !important;
}
body[style*='#edf2ff'] table[style*='background:#fff'] {
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px #172f5514;
}

/* Header: Menu (left of the logo) and Help without outlines or the shared 4px button margin, so the logo sets the bar height. Focus ring and hover background stay. */
:root body .app-nav button.app-menu-toggle:not(:disabled),
:root body .app-nav button.app-menu-toggle:not(:disabled):hover,
:root body .app-nav .nav-help {
  border-color: transparent !important;
}
:root body .app-nav button.app-menu-toggle:not(:disabled) {
  order: -1;
  margin: 0 0 0 -8px !important;
  padding: 2px 8px !important;
  line-height: 1 !important;
}
:root body #nav-phone-tools > button:not(:disabled),
:root body #nav-phone-tools > button:not(:disabled):hover {
  border-color: transparent !important;
  margin: 0 !important;
}

/* Book details on phones: the action row is a wrapping line of text links (Read again | Edit | Lend …), not stacked boxes. Taps stay at least 32px tall. */
@media (max-width: 750px) {
  :root body #detail .book-actions.book-actions {
    gap: 0 !important;
    row-gap: 2px !important;
    padding: 8px 0 !important;
    margin: 0 0 8px -11px !important;
    border-bottom: 0 !important;
    overflow: hidden;
  }
  :root body #detail .book-actions.book-actions > small {
    padding-left: 11px;
  }
  :root body #detail .book-actions.book-actions > :is(button, a):not(.book-open):not(.rating-star) {
    min-height: 32px !important;
    padding: 4px 10px !important;
    border: 0 !important;
    border-left: 1px solid #c5cde0 !important;
    margin: 0 0 0 -1px !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #294c9d !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  } /* Each link's divider sits 1px left of it, so the divider at the start of a wrapped line is clipped. */
  :root body #detail .book-actions.book-actions > [data-book-action='delete'] {
    color: #983149 !important;
  }
}

/* Library page filters: collection title and sheet, status tiles, format chips. Selected states use a dark orange border (5:1 on white) on a warm tint, not a blue wash. */
:root body .collection-switch {
  margin: 8px 0 12px;
  scroll-margin-top: 90px;
}
:root body #collection-open {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 4px !important;
  margin-left: -4px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ink, #172033) !important;
  font:
    30px/1.15 'Libre Caslon Display',
    Georgia,
    serif !important;
  text-align: left;
}
:root body #collection-count {
  display: block;
  color: #4b5563;
  font-size: 14px;
}
:root body #pending-count {
  display: inline-block;
  margin-top: 4px;
  color: #294c9d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}
:root body #status-tiles.status-tiles {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
:root body #status-tiles.status-tiles[hidden] {
  display: none !important;
}
:root body #status-tiles.status-tiles > button {
  flex: 1 0 92px;
  min-height: 76px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin: 0 !important;
  padding: 10px 12px !important;
  background: #fff !important;
  color: var(--ink, #172033) !important;
  border: 1px solid #c5cde0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-align: left;
}
:root body #status-tiles.status-tiles > button[hidden] {
  display: none !important;
}
:root body #status-tiles.status-tiles strong {
  font:
    30px/1.1 'Libre Caslon Display',
    Georgia,
    serif;
  margin: 0;
}
:root body #status-tiles.status-tiles span {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
:root body #status-tiles.status-tiles > button[aria-pressed='true'] {
  border: 2px solid #b8441f !important;
  padding: 9px 11px !important;
  background: #fff5f0 !important;
}
:root body #format-chips.format-chips {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
:root body #format-chips.format-chips button {
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--ink, #172033) !important;
  border: 1px solid #7788a6 !important;
  box-shadow: none !important;
  font-weight: 600;
  white-space: nowrap;
}
:root body #format-chips.format-chips button span {
  font-weight: 400;
  margin-left: 4px;
}
:root body #format-chips.format-chips button[aria-pressed='true'] {
  background: #172033 !important;
  color: #fff !important;
  border-color: #172033 !important;
}
:root
  body
  :is(#status-tiles button, #format-chips button, #collection-open, .collection-row):focus-visible {
  outline: 3px solid #2949d5 !important;
  outline-offset: 2px;
}
.collection-sheet {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  padding: 12px;
  border: 1px solid #c5cde0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #172033);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.18);
}
.collection-sheet::backdrop {
  background: rgba(23, 32, 51, 0.25);
}
.collection-sheet h2 {
  font-size: 16px;
  margin: 4px 8px 4px;
}
.collection-sheet h3 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5563;
  margin: 14px 8px 4px;
}
:root body #collection-sheet .collection-row {
  display: grid !important;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px !important;
  background: #fff !important;
  color: var(--ink, #172033) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-align: left;
  font-weight: 500;
}
:root body #collection-sheet .collection-row[aria-current='true'] {
  background: #fff5f0 !important;
  font-weight: 700;
}
.collection-row small {
  color: #4b5563;
}
.collection-check {
  color: #b8441f;
  font-weight: 800;
}
:root body #collection-sheet .collection-new {
  display: flex !important;
  color: #294c9d !important;
  font-weight: 600;
}
.state-badge {
  background: #fff !important;
  border: 1px solid #7788a6;
  color: #172033 !important;
}
.loan-due {
  font-size: 14px;
  color: #374151;
  margin: 6px 0 0;
}
@media (max-width: 750px) {
  .collection-sheet {
    top: auto !important;
    left: 0 !important;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px 16px 0 0;
  }
  :root body #status-tiles.status-tiles > button {
    flex: 0 0 92px;
  }
  :root body #collection-open {
    font-size: 26px !important;
  }
}
:root body #format-chips.format-chips button[aria-pressed='true']:is(:hover, :focus) {
  background: #172033 !important;
  color: #fff !important;
}
:root body #status-tiles.status-tiles > button[aria-pressed='true']:is(:hover, :focus) {
  background: #fff5f0 !important;
}

/* Buttons and button-styled links share a label treatment in every state. */
:root body :is(button, [role="button"], a.button, a.button-link, a.action-tab, a.cta, a.primary, a.secondary) {
  text-decoration: none !important;
}

.gl-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:640px;margin-left:auto;background:#fff;color:#111;border:1px solid #d6d6d6;border-radius:12px;padding:18px 20px;box-shadow:0 10px 30px #0003}.gl-cookie h2{font-size:18px;margin:0 0 8px;letter-spacing:0}.gl-cookie p{font-size:15px;margin:0 0 14px}.gl-cookie div{display:flex;gap:10px;flex-wrap:wrap}.gl-cookie .secondary{background:#fff;color:#0c0d0e}
