:root{--forest:#174e3a;--forest-2:#245c46;--ink:#20342c;--muted:#687b71;--subtle:#8ca099;--line:#e1eae4;--paper:#fbfcf7;--white:#fff;--mint:#e9f2e7;--gold:#bf9651;--gold-bg:#fdf5e7;--shadow:0 14px 42px rgba(28,57,41,.065);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans TC","Microsoft JhengHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.74}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #c39b59;outline-offset:3px}a{color:var(--forest)}.skip-link{position:absolute;top:-100px;left:20px;background:#fff;padding:10px;z-index:10}.skip-link:focus{top:10px}.site-header{background:#fff;border-bottom:1px solid #e9eee8}.header-inner{max-width:1110px;padding:15px 25px;margin:auto;display:flex;align-items:center;gap:12px}.brand-mark{height:42px;width:42px;display:grid;place-items:center;background:var(--mint);border-radius:13px;font-size:24px}.brand-text{display:flex;flex-direction:column;gap:0;line-height:1.45}.brand-title{font-size:17px;font-weight:850;letter-spacing:.06em;color:var(--forest)}.brand-subtitle{font-size:10px;color:var(--subtle);letter-spacing:.05em}.header-tag{margin-left:auto;border:1px solid #dce9de;color:var(--forest);border-radius:999px;padding:4px 16px;font-size:12px;font-weight:800;background:#f6faf4}.shell{max-width:1110px;margin:0 auto;padding:28px 25px 40px}.hero{display:grid;grid-template-columns:1.42fr 1fr;overflow:hidden;min-height:308px;border-radius:24px;background:linear-gradient(115deg,#174a37 0%,#20533f 61%,#32644a 100%);box-shadow:0 10px 32px #1b492b21;color:#fff;position:relative}.hero-copy{padding:39px 48px 29px;z-index:1}.eyebrow{font-size:10px;letter-spacing:.22em;color:#bbd7bd;font-weight:800}.hero h1{font-size:34px;line-height:1.47;letter-spacing:.035em;margin:13px 0 12px;font-weight:850}.hero h1 em{font-style:normal;color:#e0c17d}.hero p{max-width:590px;font-size:13px;color:#e0ede2;line-height:1.9;margin:0 0 24px}.hero-stats{display:flex;gap:34px}.hero-stats div{display:flex;align-items:baseline;gap:7px}.hero-stats b{font-size:24px;line-height:1;color:#f0d492;letter-spacing:-.035em}.hero-stats span{font-size:12px;color:#d4e6d3}.hero-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 100%,#40735880,transparent 65%)}.art-ring{position:absolute;border:1px solid #a6c8ad34;width:330px;height:330px;transform:rotate(28deg);border-radius:36% 64% 51% 49%;top:-85px;right:-50px}.r2{width:260px;height:260px;top:70px;right:88px;transform:rotate(65deg);opacity:.65}.hero-leaf{font-size:180px;color:#9cbe8670;position:absolute;line-height:1}.leaf1{top:26px;right:66px;transform:rotate(-21deg)}.leaf2{font-size:110px;bottom:5px;right:164px;color:#d4cf8b4b}.leaf3{font-size:80px;bottom:50px;right:10px;color:#c5d4a955}.art-caption{position:absolute;bottom:18px;right:22px;color:#dbe9d088;font-size:9px;letter-spacing:.26em}.search-card{display:flex;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px 28px;margin:24px 0 38px;box-shadow:var(--shadow)}.search-icon{flex:none;width:40px;height:40px;border-radius:12px;background:#edf5ee;color:#327257;display:grid;place-items:center;font-size:30px;line-height:1}.search-content{width:100%;min-width:0}.search-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.search-title-row h2{margin:0;font-size:20px;line-height:1.4}.small-tag{font-size:10px;background:var(--gold-bg);color:#97753f;border-radius:999px;padding:3px 10px;font-weight:800}.search-description{color:var(--muted);font-size:13px;margin:4px 0 15px}#search-form{display:flex;gap:10px}#search-input{width:100%;height:51px;border-radius:10px;border:1.5px solid #d6e3da;background:#fbfdfb;padding:10px 17px;font-size:18px;font-variant-numeric:tabular-nums;outline-offset:0}#search-input::placeholder{color:#b2c1b6;font-size:16px}#search-input:focus{border-color:#2d7c55;outline:2px solid #cee7d4}#search-submit{white-space:nowrap;color:white;border:none;border-radius:10px;background:var(--forest);font-weight:750;padding:9px 28px}#search-submit:hover{background:#286b4d}.search-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:11px}.example-code{border:0;background:#ebf3ed;color:var(--forest);border-radius:5px;font-size:11px;padding:1px 5px;font-weight:800}.example-code:hover{text-decoration:underline}.search-note{color:#8ba398}.search-feedback{margin-top:15px;border-radius:12px;border:1px solid #cbdccc;background:#f6fbf4;padding:15px 17px}.search-feedback.error{background:#fff8ef;border-color:#eedbbd;color:#8c6335}.feedback-title{font-weight:850;color:var(--forest)}.feedback-note{font-size:12px;color:var(--muted);margin:4px 0 11px}.feedback-action{background:#2e7451;color:#fff;border:0;border-radius:8px;padding:8px 16px;font-weight:750}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.overline{font-size:10px;color:#8eaa8d;letter-spacing:.2em;font-weight:900}.section-intro h2{font-size:27px;margin:3px 0 2px}.section-intro p{font-size:13px;color:var(--muted);margin:0}.section-count{font-size:30px;color:var(--forest);font-weight:900;white-space:nowrap}.section-count span{font-size:12px;color:var(--muted);font-weight:500}.section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 15px}.section-tab{border:1px solid #dbe6de;border-radius:20px;background:#fff;color:#527060;padding:7px 14px;font-size:12px;font-weight:800}.section-tab:hover,.section-tab.active{background:var(--forest);color:white;border-color:var(--forest)}.photo-status{font-size:12px;color:#718277;background:#f0f5ee;border-radius:9px;padding:9px 14px;margin-bottom:17px}.photo-status.warning{color:#8b633c;background:#fff5e8}.section-list{display:grid;gap:13px}.section-block{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 5px 25px #1f462513;scroll-margin-top:20px}.group-toggle{display:flex;justify-content:space-between;align-items:center;padding:18px 23px;width:100%;text-align:left;background:#fff;border:0;color:var(--ink)}.group-toggle:hover{background:#f8fbf8}.group-title{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.group-index{width:47px;height:42px;display:grid;place-items:center;background:#edf4eb;border-radius:10px;color:var(--forest);font-weight:900;font-size:13px}.group-title h3{font-size:17px;line-height:1.4;margin:0;font-weight:820}.group-subtitle{font-size:11px;color:#8a9b8e}.group-right{display:flex;align-items:center;gap:15px}.group-badge{background:#f1f6f1;color:#61756b;padding:3px 11px;border-radius:30px;font-size:11px}.chevron{color:#718d7b;font-weight:700;font-size:19px;display:block;transition:transform .2s}.group-toggle[aria-expanded=true] .chevron{transform:rotate(180deg)}.group-content{border-top:1px solid #edf0ed;padding:5px 23px 10px}.plant-item{border-bottom:1px solid #edf1eb;scroll-margin-top:28px}.plant-item:last-child{border-bottom:0}.plant-row{display:flex;align-items:center;gap:14px;background:#fff;border:0;border-radius:8px;width:100%;text-align:left;padding:12px 11px;min-height:55px;color:var(--ink)}.plant-row:hover{background:#f7faf5}.plant-item.located>.plant-row{background:#fef8ed;box-shadow:inset 3px 0 0 #c49b55}.plant-code{color:#82968b;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;width:85px;flex-shrink:0}.plant-name{font-size:14px;font-weight:800;flex:1}.plant-count{font-size:11px;color:#7b9685;white-space:nowrap}.plant-chevron{font-size:20px;color:#8aa493;line-height:1;transition:transform .2s}.plant-row[aria-expanded=true] .plant-chevron{transform:rotate(180deg)}.plant-detail{padding:11px 9px 24px 108px;border-radius:8px}.detail-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center}.detail-heading{font-size:18px;margin:0;font-weight:850}.lesson-chip{font-size:11px;padding:4px 11px;border-radius:999px;background:#e8f2e8;color:#396a48;font-weight:750}.lesson-chip.pending{background:#fff5e4;color:#967341}.detail-sub{font-size:12px;color:#758779;margin:4px 0 22px}.detail-section{margin:20px 0 25px}.detail-section h4{display:flex;align-items:center;gap:10px;margin:0 0 11px;font-size:17px;color:#245a3e}.detail-section h4 .section-num{color:#a2bea8;font-weight:900}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.photo-btn{display:flex;flex-direction:column;background:#f9fbf7;border:1px solid #e3eae1;border-radius:11px;padding:6px;overflow:hidden;text-align:left;color:var(--ink)}.photo-btn:hover{border-color:#94bca0;box-shadow:0 4px 17px #0e46201a}.photo-btn.target-photo{border:2px solid #c89b4e;background:#fff8e9}.photo-btn img{width:100%;height:135px;object-fit:contain;border-radius:7px;background:#edf1ec}.photo-caption{display:flex;align-items:center;justify-content:space-between;padding:5px 4px 1px;font-size:11px;color:#597262}.photo-code{font-weight:850;color:var(--forest)}.gallery-caption{margin-top:10px;color:#86978c;font-size:11px}.target-note{color:#977343;font-weight:800;font-size:11px}.taxonomy{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 17px}.tax-chip{border:1px solid #dce7db;border-radius:8px;padding:8px 11px;background:#fbfdf9;font-size:12px;color:#38584a}.tax-chip strong{color:#1d5639}.article-intro{font-size:14px;color:#345a45;line-height:2;background:#eff6ed;border-left:3px solid #79a77a;padding:15px 19px;border-radius:0 9px 9px 0}.article-block{margin:22px 0}.article-block h5{font-size:15px;margin:0 0 9px;color:#24553d}.article-block p{color:#425549;font-size:14px;margin:0 0 10px;line-height:2.05;text-align:justify}.article-summary{background:#fbf6e8;color:#785e35;border-radius:10px;padding:15px 19px;font-size:13px;line-height:1.9}.question-card{border:1px solid #e3eae4;border-radius:11px;margin-bottom:10px;background:#fff;overflow:hidden}.question-head{width:100%;background:#fbfdfb;border:0;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;color:var(--ink)}.question-head:hover{background:#f4f8f4}.question-title{font-weight:780;font-size:13px}.question-sub{color:#82948a;font-size:11px;margin-top:1px}.question-details{padding:4px 17px 19px}.question-stem{font-weight:700;font-size:14px;margin:9px 0}.question-choice{font-size:13px;color:#51665b;margin:7px 0;padding-left:12px}.answer-box{background:#ecf6ed;border-radius:9px;padding:11px 14px;font-size:13px;color:#275641;line-height:1.85;margin-top:12px}.question-count{font-size:12px;font-weight:800;color:#51835c}.sources{padding-left:18px;margin:0}.sources li{color:#566e5d;padding:4px 0;font-size:12px;overflow-wrap:anywhere}.pending-notice{background:#f5f8f4;border:1px dashed #bed5c2;color:#647d6a;border-radius:11px;padding:20px;font-size:13px;line-height:1.9}.origin-note{font-size:11px;color:#8a9b8e;margin-top:12px}.loading{color:#7c8e80;padding:28px;text-align:center}.footer{border-top:1px solid #e6ebe3;margin-top:40px;padding:22px 5px;color:#799084;font-size:11px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.photo-dialog{background:#16231b;border:none;border-radius:16px;padding:0;color:#fff;width:min(970px,96vw);max-height:94vh;box-shadow:0 20px 100px #0019}.photo-dialog::backdrop{background:#14241ddd}.lightbox-top{display:flex;justify-content:space-between;align-items:center;padding:9px 17px;font-size:13px;color:#e6f0e8}.close-lightbox{font-size:29px;background:none;border:none;color:#fff;min-width:40px}.lightbox-stage{display:flex;align-items:center;justify-content:center;min-height:260px;gap:2px}.lightbox-stage img{object-fit:contain;max-width:calc(100% - 92px);max-height:74vh}.lightbox-arrow{background:transparent;color:#fff;border:0;font-size:46px;width:42px;flex:none}.lightbox-arrow:hover{color:#e5c27f}.lightbox-bottom{padding:12px 20px;display:flex;justify-content:space-between;gap:12px;color:#cadacf;font-size:11px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(max-width:780px){.shell{padding:16px 13px}.header-inner{padding:11px 16px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:25px 25px 28px}.hero h1{font-size:27px}.hero-art{display:none}.hero-stats{gap:20px}.hero-stats b{font-size:20px}.search-card{padding:21px 15px;gap:10px}.search-icon{display:none}.group-toggle{padding:14px}.group-content{padding:5px 10px}.plant-row{padding:10px 8px;gap:8px}.plant-code{width:69px;font-size:10px}.plant-name{font-size:13px}.plant-count{font-size:10px}.plant-detail{padding:7px 5px 21px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-btn img{height:143px}.section-intro h2{font-size:24px}.section-count{font-size:25px}.footer{font-size:10px}.detail-heading{font-size:17px}}
@media(max-width:440px){#search-form{gap:7px}#search-submit{padding:8px 14px;font-size:13px}#search-input{font-size:16px}.header-tag{padding:4px 8px}.brand-title{font-size:14px}.brand-subtitle{font-size:9px}.hero-stats{gap:13px}.hero-stats div{gap:4px}.hero-stats b{font-size:18px}.hero-stats span{font-size:10px}}

/* A1/A2 selector, added without changing the established A1 gallery and accordion styles. */
.category-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.category-choice{display:flex;align-items:center;gap:13px;text-align:left;background:#fff;border:1.5px solid #dee9df;color:#27483a;border-radius:16px;padding:16px 19px;box-shadow:0 5px 21px rgba(20,63,36,.045);transition:background .15s,border-color .15s}
.category-choice strong{display:grid;place-items:center;flex-shrink:0;width:51px;height:51px;background:#eef5ef;border-radius:13px;color:#22553f;font-size:20px}
.category-choice span{display:flex;flex-direction:column;font-weight:850;font-size:16px;line-height:1.55}
.category-choice small{font-weight:500;color:#7a9583;font-size:12px}
.category-choice:not([disabled]):hover,.category-choice.active{border-color:#26694a;background:#f2f8f1}
.category-choice.active strong{background:#215a41;color:white}
.category-choice.disabled{opacity:.58;cursor:not-allowed}
@media(max-width:650px){.category-switch{grid-template-columns:1fr;gap:8px}.category-choice{padding:10px 13px;border-radius:12px}.category-choice strong{height:39px;width:39px;font-size:16px}.category-choice span{font-size:14px}.category-choice small{font-size:11px}}

/* Category picker belongs INSIDE the search panel, above the number input. */
.category-picker-label{font-size:12px;font-weight:850;color:#597663;letter-spacing:.04em;margin:0 0 9px}
.search-content>.category-switch{margin:0 0 23px;gap:10px}
.search-content .category-choice{min-height:72px;padding:10px 14px;border-radius:12px;box-shadow:none}
.search-content .category-choice strong{width:44px;height:44px;border-radius:10px;font-size:18px}
.search-content .category-choice span{font-size:15px}
.search-content .category-choice small{font-size:11px}
.search-content .category-choice.active{background:#eaf5eb;border-color:#26784f;box-shadow:inset 0 0 0 1px #26784f}
@media(max-width:650px){.search-content>.category-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.search-content .category-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:78px;padding:8px 3px;gap:4px}
.search-content .category-choice strong{width:34px;height:34px;font-size:15px}
.search-content .category-choice span{font-size:11px;line-height:1.4}
.search-content .category-choice small{font-size:10px}
}

/* Name-search result rows reuse the existing feedback card and action style. */
.feedback-results{display:grid;gap:8px}.feedback-result{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dfe9e0;padding-top:9px}.feedback-result-name{font-size:13px;font-weight:800;color:#345b46}@media(max-width:440px){.feedback-result{align-items:flex-start;flex-direction:column}}
