/* (c) 2026 Almost Everything Plants LLC. All rights reserved. Proprietary - see /copyright.html and COPYRIGHT.md. */
/* See It Work (aeplants.com/see/, See It Work Builder 11/20/2026). Jeff's phone showcase: calm, fast, light + dark, 14 px floor,
   48 px taps, line icons, color never the only clue. Uses ae.css for the header, buttons and base type. */
body.see{--sbg:var(--paper);--scard:var(--card);--sline:var(--line);--sacc:#1F4D2E;--sacc2:#2f6a40;--stint:#eef4ea;--sgold:#9a6b16;--sink:var(--ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body.see{--sacc:#9fc7a5;--sacc2:#b9d9be;--stint:#1f2b22;--sgold:#e0b45f}}
:root[data-theme="dark"] body.see{--sacc:#9fc7a5;--sacc2:#b9d9be;--stint:#1f2b22;--sgold:#e0b45f}
body.see{background:var(--sbg);font-size:16px}
body.see main{padding-bottom:40px}
.see .shero{padding:22px 0 8px}
.see .shero h1{margin:0 0 .15em;color:var(--sacc)}
.see .shero .lead{font-size:1.05rem;margin:0 0 14px;max-width:38em}
.see .tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.see .chipbtn{font:600 14px/1.2 "Libre Franklin",system-ui,sans-serif;min-height:48px;padding:0 16px;border-radius:999px;border:1.5px solid var(--sline);background:var(--scard);color:var(--sink);display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.see .chipbtn[aria-pressed="true"]{border-color:var(--sacc);background:var(--stint)}
.see .chipbtn svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.see .chipbtn .tick{display:none}.see .chipbtn[aria-pressed="true"] .tick{display:inline}
/* audience buttons: 2 x 2 on phones, 4 across on wide screens; never slide sideways */
.see .auds{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 18px}
@media (min-width:760px){.see .auds{grid-template-columns:repeat(4,1fr)}}
.see .aud{font:600 15px/1.25 "Libre Franklin",system-ui,sans-serif;min-height:64px;padding:10px 12px;border-radius:14px;border:1.5px solid var(--sline);background:var(--scard);color:var(--sink);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}
.see .aud svg{width:28px;height:28px;flex:none;stroke:var(--sacc);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.see .aud[aria-selected="true"]{border:2.5px solid var(--sacc);background:var(--stint);box-shadow:inset 0 -4px 0 var(--sacc)}
.see .aud:focus-visible,.see .chipbtn:focus-visible,.see .try:focus-visible,.see .res>button:focus-visible{outline:3px solid var(--sgold);outline-offset:2px}
.see .panel h2{margin:4px 0 6px;color:var(--sacc)}
.see .panel .for{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:6px}
.see .panel .for li{display:flex;gap:8px;align-items:flex-start}
.see .panel .for li svg{width:20px;height:20px;flex:none;margin-top:3px;stroke:var(--sacc);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* search: light green form background, magnifier inside left, clear X inside right (Decided 11/18 night) */
.see .sform{background:var(--stint);border:1px solid var(--sline);border-radius:16px;padding:12px;margin:0 0 14px}
.see .sform label{display:block;font-weight:600;margin:0 0 6px}
.see .sbox{position:relative}
.see .sbox input{width:100%;font:16px "Libre Franklin",system-ui,sans-serif;min-height:52px;padding:0 50px 0 46px;border-radius:12px;border:1.5px solid var(--sline);background:var(--scard);color:var(--sink)}
.see .sbox input:focus{outline:3px solid var(--sacc);outline-offset:1px}
.see .sbox .mag{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:24px;height:24px;stroke:var(--sacc);fill:none;stroke-width:1.9;stroke-linecap:round;pointer-events:none}
.see .sbox .clr{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;background:none;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center}
.see .sbox .clr svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.see .shint{font-size:14px;color:var(--muted);margin:8px 0 0;min-height:1.4em}
/* Try This cards */
.see .trys{display:grid;grid-template-columns:1fr;gap:10px;margin:0 0 18px}
@media (min-width:640px){.see .trys{grid-template-columns:1fr 1fr}}
.see .try{font:inherit;text-align:left;cursor:pointer;color:var(--sink);background:var(--scard);border:1px solid var(--sline);border-radius:14px;padding:12px 14px;min-height:64px;display:flex;gap:12px;align-items:flex-start}
.see .try svg{width:26px;height:26px;flex:none;stroke:var(--sgold);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.see .try b{display:block;font-size:15px;color:var(--sacc)}
.see .try span{display:block;font-size:14px;color:var(--muted);line-height:1.4}
.see .try kbd{font:600 14px "Libre Franklin",system-ui,sans-serif;background:var(--stint);border:1px solid var(--sline);border-radius:6px;padding:0 5px;color:var(--sink)}
.see h3.sub{font-size:1.25rem;margin:18px 0 8px;color:var(--sacc)}
/* results */
.see .results{display:grid;gap:10px;margin:0 0 18px}
.see .res{background:var(--scard);border:1px solid var(--sline);border-radius:14px;overflow:hidden}
.see .res>button{all:unset;box-sizing:border-box;display:flex;gap:12px;width:100%;padding:12px 14px;cursor:pointer;min-height:64px;align-items:flex-start}
.see .res .thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;flex:none;background:var(--stint)}
.see .res .nm{flex:1;min-width:0}
.see .res .cn{display:block;font-weight:600;font-size:16px;color:var(--sink)}
.see .res .bn{display:block;font-size:15px;color:var(--sink)}
.see .res .via{display:block;font-size:14px;color:var(--muted)}
.see .res .facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.see .res .facts span{font-size:14px;line-height:1.3;border:1px solid var(--sline);border-radius:999px;padding:3px 9px;background:var(--sbg)}
.see .res .chev{width:22px;height:22px;flex:none;margin-top:4px;stroke:var(--muted);fill:none;stroke-width:2;transition:transform .2s}
.see .res.open .chev{transform:rotate(180deg)}
.see .detail{padding:0 14px 14px;border-top:1px solid var(--sline);font-size:15px}
.see .detail h4{font:600 15px/1.3 "Libre Franklin",system-ui,sans-serif;margin:14px 0 4px;color:var(--sacc)}
.see .detail p{margin:0 0 8px}
.see .detail dl{display:grid;grid-template-columns:minmax(90px,30%) 1fr;gap:4px 10px;margin:0}
.see .detail dt{font-weight:600;color:var(--muted)}.see .detail dd{margin:0}
.see .detail ul{margin:0;padding-left:1.1em}.see .detail li{margin:2px 0}
.see .detail figure{margin:10px 0 0}.see .detail figure img{width:100%;max-width:520px;height:auto;border-radius:12px;display:block}
.see .detail figcaption{font-size:14px;color:var(--muted);margin-top:4px}
.see .detail .allen{border-left:3px solid var(--sgold);padding:4px 0 4px 12px;margin:6px 0}
.see .tag{display:inline-block;font-size:14px;border:1px solid var(--sline);border-radius:6px;padding:0 6px;margin-left:4px;color:var(--muted)}
/* sources, Wikipedia-style: a small [n] right after the sentence, list at the bottom of the card */
.see sup.src{font-size:12.5px;line-height:0;margin-left:1px;white-space:nowrap}
.see sup.src a{text-decoration:none;color:var(--sacc);padding:0 1px}
.see .srclist{font-size:14px;margin-top:12px;padding-top:8px;border-top:1px dashed var(--sline)}
.see .srclist ol{margin:4px 0 0;padding-left:1.6em}.see .srclist a{word-break:break-word}
.see:not(.srcon) sup.src,.see:not(.srcon) .srclist{display:none}
/* clips (Office, Pome) - each shows only once its video file exists (hide until data) */
.see .clips{display:grid;grid-template-columns:1fr;gap:14px;margin:6px 0 18px}
@media (min-width:640px){.see .clips{grid-template-columns:1fr 1fr}}
.see .clip{background:var(--scard);border:1px solid var(--sline);border-radius:14px;padding:12px}
.see .clip video{width:100%;max-height:560px;border-radius:10px;background:#000;display:block}
.see .clip b{display:block;color:var(--sacc);margin-top:8px}
/* cold card */
.see .cold{background:var(--scard);border:1px solid var(--sline);border-radius:14px;padding:14px;margin:0 0 18px}
.see .cold .zz{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}
.see .cold .z{border-radius:12px;padding:8px 14px;border:2px solid var(--sacc);min-width:120px}
.see .cold .z.off{border-style:dashed;border-color:var(--muted)}
.see .cold .z b{display:block;font:600 1.6rem "EB Garamond",Georgia,serif;color:var(--sacc)}.see .cold .z.off b{color:var(--muted)}
.see .cold .z small{font-size:14px;color:var(--muted)}
/* share + QR */
.see .share{display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:var(--scard);border:1px solid var(--sline);border-radius:16px;padding:16px;margin-top:10px}
.see .share img{width:132px;height:132px;background:#fff;padding:6px;border-radius:10px;border:1px solid var(--sline)}
.see .share .addr{font:600 1.35rem "EB Garamond",Georgia,serif;color:var(--sacc)}
.see .note{font-size:14px;color:var(--muted)}
.see .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.see .map-wrap{margin-top:8px}
/* PC + tablet (Jeff 11/20: "pc, tablet, and phone compatible"): phones = one column; 1000 px and wider = search + plants on the left,
   Try This beside it (stays in view while the plant list scrolls); wide screens use more of the width */
@media (min-width:1000px){
 .see .wrap{max-width:1240px}
 .see .pgrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:28px;align-items:start}
 .see .pside{position:sticky;top:60px;max-height:calc(100vh - 72px);overflow:auto;padding-right:4px}
 .see .pside .trys{grid-template-columns:1fr}
 .see .pside h3.sub:first-child{margin-top:4px}
 .see .detail{font-size:16px}
}
@media (min-width:640px) and (max-width:999px){.see .wrap{padding:0 24px}}
/* Full Screen (booth mode): a little bigger for people standing back */
body.see.fs{font-size:17px}
body.see.fs .shero h1{font-size:clamp(2.2rem,4vw,3.2rem)}
body.see.fs .res .cn,body.see.fs .try b{font-size:17px}
body.see.fs .res .bn,body.see.fs .res .facts span,body.see.fs .try span{font-size:16px}
.see #tsbox:empty{display:none}.see #tsbox{margin-top:8px}
/* one clear X only (Planner 11/20: the browser's own small x showed beside ours) */
.see .sbox input::-webkit-search-cancel-button,.see .sbox input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.see .sbox input::-ms-clear{display:none}
/* phones: audience buttons right under the title (Jeff: 'at the top'); the settings row follows them */
@media (max-width:699px){.see .shero{padding-top:12px}.see .shero h1{font-size:1.9rem}.see .shero .lead{font-size:1rem;margin-bottom:10px}.see .auds{margin-top:2px}}
/* HEADER ON THIS PAGE (Jeff 11/20 OK: "start with those items folded into the menu"): on phones the link row starts folded and the
   header's own Menu button (#mbtn, already wired by the shared aehead.js) shows at the top right; PCs keep the normal link row.
   Shared header code unchanged. */
@media (max-width:820px){
 body.see header.top .wrap{position:relative;min-height:64px}
 body.see .aehrow.m{display:flex!important;position:absolute;top:10px;right:10px;z-index:3}
 body.see .aehrow.m .pill{min-height:48px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;font:600 15px/1 "Libre Franklin",system-ui,sans-serif;border-radius:999px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer}
 body.see .aehrow.m .aemag{display:none}
 body.see header.top a.brand{justify-content:flex-start!important;padding-right:118px;padding-top:8px}
 body.see header.top .brand .bp{width:clamp(60px,17vw,96px)!important}
 body.see header.top .brand .bw{width:clamp(170px,52vw,300px)!important}
 body.see #menu:not([hidden]){display:flex;flex-wrap:wrap}
}
@media (min-width:821px){body.see #menu[hidden]{display:flex!important}}
/* real-address pages (Decided 176): audience buttons are links; breadcrumbs; skip link */
.see a.aud{text-decoration:none}
.see .crumbs{font-size:14px;color:var(--muted);margin:0 0 6px;display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
.see .crumbs a{color:var(--sacc);text-decoration:underline;text-underline-offset:2px;min-height:32px;display:inline-flex;align-items:center}
.see .crumbs .sep{color:var(--muted)}
.see .skip{position:absolute;left:8px;top:-60px;z-index:100;background:var(--card);color:var(--sink);border:2px solid var(--sacc);border-radius:10px;padding:12px 16px;font-weight:600}
.see .skip:focus{top:8px}
.see main:focus{outline:none}
