/* 🌿 Calm layer: the same platform, quieter (loaded after app.css).
   The identity stays (emblem, greens and terracotta, header photo, banners); what changes is the noise around it:
   no ornament that moves forever, lighter decoration, softer depth, more air in the reading, calmer alert colours. */

/* ---- motion: decoration stands still; what tells something (loading, the selected lot) keeps a gentle movement ---- */
.st-meter.big div::before{animation:none!important}
.st-eyebrow::before{animation:none!important;box-shadow:none}
div.pt-empty::before,.card.rq-empty::before,.nt-empty::before,p.st-empty::before{animation:none!important}
.me-dot,.mx-dot{animation-duration:3.2s!important}
#lots path.sel{animation-duration:2.8s!important}
@media (hover:hover){.btn.primary:hover::after{animation-duration:1.6s}}

/* ---- decoration: the pattern of the banners and the background shapes, much lighter ---- */

/* ---- depth: one soft shadow, offset, no halos ---- */
:root{--shadow:0 1px 2px rgba(20,40,32,.04),0 6px 20px -12px rgba(20,40,32,.16)}
.card,.hm-tile,.pf-c,.li,.mod,.uc{box-shadow:var(--shadow)}
.vhero{box-shadow:var(--z-shadow-3)}

/* ---- reading: more air between lines, a comfortable measure for long text ---- */
body{line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
p,li,.ps-n,.rq-priv,.lead{line-height:1.8}
.rq-msg p,.ch-item p,.lh p,.msg-b{max-width:72ch}
h1,h2,h3{text-wrap:balance;letter-spacing:0}

/* ---- alert colours: still clearly red, less shouting ---- */
.nt-badge,.msg-badge{background:#B8453A;box-shadow:0 0 0 2px var(--panel,#fff)}
.rq-blind{background:#FBE3E1;color:#9A3A30}

/* ---- the parts of the browser: scrollbars, selection and focus in the colours of the platform ---- */
*{scrollbar-width:thin;scrollbar-color:rgba(30,106,73,.32) transparent}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(30,106,73,.28);border-radius:999px;border:3px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background-color:rgba(30,106,73,.45)}
html.night *{scrollbar-color:rgba(181,230,209,.25) transparent}
html.night ::-webkit-scrollbar-thumb{background-color:rgba(181,230,209,.22)}
input,textarea{caret-color:var(--z-green-700)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
html.night .rq-blind{background:rgba(184,71,59,.18);color:#F1B8B3}
html.night .nt-badge,html.night .msg-badge{box-shadow:0 0 0 2px #13241C}

/* ---- one family of colours for the banners of the sections: the greens, the sand and the terracotta of the platform
        (the blue and the violet came from nowhere in its identity); each section keeps its own tone ---- */
.vhero{background:linear-gradient(200deg,rgba(255,255,255,.10),transparent 55%),linear-gradient(120deg,var(--h1),var(--h3))!important}
#listView .vhero{--h1:#1E6A49;--h3:#154D36;--h2:#9FD3B4}
#statsView .vhero{--h1:#17695A;--h3:#124A40;--h2:#A7DCCB}
#reqView .vhero,#rqsView .vhero{--h1:#2B7A5E;--h3:#1A5240;--h2:#E7CB86}
#usersView .vhero{--h1:#7A6033;--h3:#56411C;--h2:#E7CB86}
#modelView .vhero{--h1:#A0552B;--h3:#73391A;--h2:#F0B783}
#cmpView .vhero{--h1:#8E3B26;--h3:#652816;--h2:#EBA982}
.vh-ic{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:none!important}
.vh-t h1,.vh-t p{text-shadow:none!important}

/* the greeting: the same deep green, without the muddy glow in its corner */
.tb-hello.big::after{background:radial-gradient(circle,rgba(232,161,91,.12),transparent 65%)}
.tb-hello .btn{backdrop-filter:none}

/* ---- the notice of a new version: small, at the bottom, above the tabs of the phone; it never covers the title ---- */
.upd-bar{top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom,0px));font-size:13px;line-height:1.55;padding:8px 12px;border-radius:12px;width:min(560px,calc(100vw - 24px));box-shadow:var(--z-shadow-3)}
.upd-bar .btn{padding:6px 14px;min-height:0;font-size:13px}
@media (max-width:820px){.upd-bar{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.upd-bar span{min-width:0}}

/* ---- the home tiles: a quiet lift on hover, the icon on a soft tint ---- */
@media (hover:hover){.hm-tile{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
  .hm-tile:hover{transform:translateY(-2px);box-shadow:var(--z-shadow-3);border-color:rgba(30,106,73,.28)}}
#msgView .vhero{--h1:#1F6E6A;--h3:#154B47;--h2:#A7DCCB}
#portal .pt-intro.vhero{--h1:#2B7A5E;--h3:#1A5240;--h2:#E7CB86}
#ptGeoV .vhero{--h1:#17695A;--h3:#124A40;--h2:#A7DCCB}
#ptGrpV .vhero{--h1:#7A6033;--h3:#56411C;--h2:#E7CB86}
/* the thin ribbons on top of the cards follow the same family */
#reqView,#rqsView{--rib:linear-gradient(90deg,#1A5240,#5FB08A)}
#usersView{--rib:linear-gradient(90deg,#7A6033,#D9B77A)}
#sx-vis{--rib:linear-gradient(90deg,#17695A,#7FC9B4)!important}
#sx-req{--rib:linear-gradient(90deg,#2B7A5E,#E7CB86)!important}
.st-hero::before{background:linear-gradient(var(--z-red-700),#E8A15B,var(--z-gold-500),var(--z-green-500),var(--z-green-700))}
/* on the phone the notice reads in one line of text over its buttons */
@media (max-width:820px){.upd-bar span{flex:1 1 100%}.upd-bar .btn{flex:1}}
html.night body .upd-bar .ocr-x{color:#E6F4EA}
/* the tools above the statistics: a long label wraps instead of being cut on a narrow phone */
.sx-tools .btn{white-space:normal;line-height:1.35;min-width:0;text-overflow:clip;overflow:visible}
