:root{color-scheme:light;--bg:#faf9f7;--surface:#fffefd;--surface-alt:#f4f3f1;--text:#252525;--muted:#777773;--subtle:#92928f;--border:#ebe9e5;--strong:#202020;--shadow:0 6px 28px rgba(37,31,24,.045),0 1px 2px rgba(37,31,24,.025);--focus:#4f4f4d;--radius:22px}
:root[data-theme="dark"]{color-scheme:dark;--bg:#131313;--surface:#1e1e1f;--surface-alt:#272728;--text:#efefed;--muted:#a9a9a5;--subtle:#898985;--border:#333334;--strong:#f0f0ed;--shadow:0 8px 32px rgba(0,0,0,.17),0 1px 2px rgba(0,0,0,.12);--focus:#dededc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.wrapper{width:min(1160px,calc(100% - 64px));margin:auto}.hidden{display:none!important}
.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px}.brand-mark{background:var(--text);color:var(--bg);font-weight:800;width:37px;height:37px;border-radius:11px;display:grid;place-items:center;font-size:18px}.brand-label{font-weight:850;letter-spacing:-.65px;font-size:17px}.brand-dot{color:var(--muted)}.top-actions{display:flex;align-items:center;gap:24px}.topline{font-size:10px;font-weight:650;color:var(--subtle);letter-spacing:1.9px}.icon-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);border-radius:50%;color:var(--text)}.icon-button svg,.search-field svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-link{font-size:12px;font-weight:700;border-bottom:1px solid var(--text);padding-bottom:3px;white-space:nowrap}.admin-link span{margin-left:5px}
.hero{background:var(--surface);border:1px solid var(--border);border-radius:21px;padding:31px 40px 25px;box-shadow:var(--shadow);min-height:330px}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:var(--muted);font-weight:750}.tiny-line{display:inline-block;background:var(--text);width:15px;height:2px;vertical-align:middle;margin-right:9px}.hero-counter{font-size:12px;color:var(--muted);white-space:nowrap}.hero-content{display:flex;justify-content:space-between;align-items:end;gap:28px;padding:25px 0 32px}.hero-identity{font-weight:750;font-size:13px;display:flex;align-items:center;gap:9px}.avatar{width:29px;height:29px;border-radius:50%;background:var(--text);color:var(--bg);display:grid;place-items:center;font-weight:800}.role{font-size:12px;font-weight:450;color:var(--muted)}h1{font-size:clamp(30px,4.1vw,52px);line-height:1.22;letter-spacing:-2.1px;margin:15px 0 15px;font-weight:830}.period{color:var(--subtle)}.hero-copy{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.hero-aside{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:9px;letter-spacing:1.2px;color:var(--subtle);white-space:nowrap}.circle-label{height:94px;width:94px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;font-size:22px;color:var(--text);letter-spacing:-1px;font-weight:700}.hero-footer{border-top:1px solid var(--border);padding-top:16px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.hero-footer i{font-style:normal;margin:0 8px}.contact-link{color:var(--text);font-weight:700}.contact-link span{margin-left:8px}
.discovery{padding:35px 0 18px}.search-field{height:62px;border:1px solid var(--border);border-radius:15px;background:var(--surface);display:flex;align-items:center;padding:0 20px;gap:14px;box-shadow:var(--shadow)}.search-field svg{color:var(--muted);flex:none}.search-field input{height:100%;border:0;outline:0;background:transparent;flex:1;min-width:0;color:var(--text)}.search-field input::placeholder{color:var(--subtle)}.search-hint{background:var(--surface-alt);border:1px solid var(--border);border-radius:5px;padding:0 7px;font-size:12px;color:var(--muted)}.clear-search{border:0;background:var(--surface-alt);height:32px;width:32px;border-radius:7px;color:var(--text);font-size:20px}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}.filter{min-height:44px;padding:9px 16px;border-radius:100px;border:1px solid var(--border);background:var(--surface);font-size:12px;color:var(--muted);font-weight:600}.filter.active{background:var(--text);border-color:var(--text);color:var(--bg)}.notice{background:var(--surface-alt);padding:12px 15px;border:1px solid var(--border);border-radius:10px;margin-top:15px;color:var(--muted);font-size:12px}
.section-head{padding:26px 0 18px;display:flex;align-items:end;justify-content:space-between;gap:16px}.section-head h2{font-size:24px;font-weight:780;letter-spacing:-.6px;margin:4px 0 0}.section-head p{font-size:12px;color:var(--muted);margin:0 0 4px}.content-area{min-height:320px}.category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.category-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;min-width:0}.category-card[open]{grid-column:1/-1}.category-card>summary{list-style:none;padding:19px 21px;min-height:82px;display:flex;align-items:center;gap:14px;cursor:pointer}.category-card>summary::-webkit-details-marker{display:none}.folder-icon{width:42px;height:42px;border-radius:11px;background:var(--surface-alt);display:grid;place-items:center;flex:none;font-size:16px;font-weight:700;letter-spacing:-.5px}.category-info{min-width:0;flex:1}.category-title{display:block;font-size:15px;font-weight:730;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-meta{font-size:11px;color:var(--muted)}.chevron{font-size:24px;color:var(--subtle);transform:rotate(90deg);display:block;transition:transform .15s}.category-card[open]>summary .chevron{transform:rotate(-90deg)}.category-body{padding:0 21px 21px}.category-body-inner{border-top:1px solid var(--border);padding-top:18px}.subcat{margin-top:18px;border-top:1px solid var(--border);padding-top:16px}.subcat:first-child{margin-top:0;border-top:none;padding-top:0}.subcat>summary{cursor:pointer;list-style:none;font-size:13px;font-weight:740;display:flex;gap:9px;align-items:center;margin-bottom:13px}.subcat>summary::-webkit-details-marker{display:none}.subcat-count{font-size:11px;color:var(--subtle);font-weight:450}.subcat>summary .chevron{margin-left:auto;font-size:18px}.subcat[open]>summary .chevron{transform:rotate(-90deg)}.links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.resource{min-width:0;display:flex;align-items:center;gap:11px;background:var(--bg);border:1px solid var(--border);border-radius:11px;padding:12px;min-height:67px;transition:border-color .16s,transform .16s}.resource:hover{border-color:var(--muted);transform:translateY(-1px)}.site-icon{width:35px;height:35px;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:grid;place-items:center;font-size:15px;font-weight:800;flex:none}.resource-body{min-width:0;flex:1}.resource-title{font-size:12px;line-height:1.35;font-weight:680;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-host{font-size:10px;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.resource-arrow{font-size:17px;color:var(--subtle);flex:none}.results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.empty,.loading{padding:60px 20px;text-align:center;border:1px dashed var(--border);border-radius:14px;color:var(--muted);background:var(--surface);font-size:13px}.empty strong{display:block;color:var(--text);font-size:17px;margin-bottom:8px}.search-path{font-size:10px;color:var(--subtle);display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:62px 0 35px;font-size:11px;color:var(--muted)}.footer-actions{display:flex;gap:18px}.footer-actions button{border:0;background:none;padding:0;color:var(--text);font-weight:600}.footer-actions a{font-weight:600;color:var(--text)}
@media(max-width:950px){.links-grid,.results{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-aside{display:none}}
@media(max-width:680px){.wrapper{width:calc(100% - 32px)}.topbar{height:72px}.topline{display:none}.top-actions{gap:15px}.hero{padding:23px 21px 20px;min-height:0;border-radius:17px}.hero-content{padding:22px 0 26px}.hero-top{align-items:flex-start}.eyebrow{font-size:9px;letter-spacing:1.5px}.hero-counter{font-size:10px}h1{font-size:clamp(29px,8vw,38px);letter-spacing:-1.4px;margin:17px 0 11px}.hero-copy{font-size:12px}.hero-footer{align-items:flex-start}.hero-footer>span{max-width:63%;line-height:1.6}.discovery{padding-top:24px}.search-field{height:56px;padding:0 16px}.search-hint{display:none}.section-head{padding-top:18px;align-items:start;flex-direction:column;gap:5px}.section-head h2{font-size:21px}.category-list,.results,.links-grid{grid-template-columns:1fr}.category-card[open]{grid-column:auto}.category-card>summary{min-height:75px;padding:15px}.category-body{padding:0 15px 16px}.resource{min-height:64px}.footer{padding:43px 0 30px;flex-direction:column;align-items:start;gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Muse-inspired quiet surfaces: AHANG visual refresh, 2026-11. 
   Presentation-only overrides. Existing data, interactions, and layout semantics stay intact. */
body{background:var(--bg);letter-spacing:.005em}
.wrapper{width:min(1160px,calc(100% - 64px))}
.topbar{height:100px}
.brand-mark{border-radius:15px;background:var(--text);color:var(--bg);box-shadow:0 3px 12px rgba(30,29,26,.09)}
.brand-label{font-weight:800;letter-spacing:-.55px}
.icon-button{width:44px;height:44px;border-radius:50%;background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 12px rgba(25,24,22,.04)}
.icon-button:hover{background:var(--surface-alt)}
.admin-link{border-bottom:1px solid var(--border);font-weight:620;color:var(--muted)}
.admin-link:hover,.contact-link:hover{color:var(--text)}
.hero{border-radius:32px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);padding:36px 43px 30px;min-height:310px}
.hero-content{padding:29px 0 31px}
.hero h1{letter-spacing:-1.8px;font-weight:790}
.hero .hero-copy{line-height:2;color:var(--muted)}
.hero .avatar{background:var(--surface-alt);color:var(--text);border:1px solid var(--border);box-shadow:0 2px 8px rgba(30,30,30,.025)}
.hero .circle-label{border-color:var(--border);background:var(--surface-alt)}
.tiny-line{border-radius:99px}
.hero-footer{border-top-color:var(--border)}
.discovery{padding:36px 0 18px}
.search-field{height:72px;border-radius:999px;background:var(--surface);border:1px solid var(--border);padding:0 27px;gap:16px;box-shadow:0 7px 24px rgba(37,31,24,.045),0 1px 3px rgba(37,31,24,.025);transition:border-color .18s ease,box-shadow .18s ease}
.search-field:focus-within{border-color:#c9c7c2;box-shadow:0 8px 28px rgba(37,31,24,.065),0 0 0 3px rgba(120,120,115,.05)}
.search-field input{font-size:15px;letter-spacing:0;outline:0}
.search-field input::placeholder{color:var(--subtle)}
.search-field svg{width:21px;height:21px}
.search-hint{background:var(--surface-alt);border:0;border-radius:9px;padding:2px 9px;color:var(--muted)}
.clear-search{border-radius:50%;background:var(--surface-alt)}
.filter-row{gap:9px;margin-top:18px}
.filter{padding:9px 19px;border-radius:999px;background:var(--surface);border-color:var(--border);font-weight:575;box-shadow:0 2px 8px rgba(0,0,0,.018)}
.filter.active{background:var(--text);border-color:var(--text);color:var(--bg);box-shadow:none}
.filter:not(.active):hover{background:var(--surface-alt)}
.section-head{padding:31px 0 21px}
.section-head h2{font-weight:760}
.category-list{gap:17px}
.category-card{border-radius:24px;border:1px solid var(--border);background:var(--surface);box-shadow:0 4px 24px rgba(31,27,22,.029);transition:border-color .16s ease,box-shadow .16s ease}
.category-card:hover{border-color:var(--border);box-shadow:0 9px 32px rgba(31,27,22,.05)}
.category-card>summary{padding:20px 23px;min-height:87px}
.folder-icon{border-radius:15px;background:var(--surface-alt);width:44px;height:44px}
.category-title{font-size:15px;font-weight:695}
.category-body{padding:0 23px 23px}
.category-body-inner{padding-top:19px}
.resource{background:var(--surface-alt);border:1px solid transparent;border-radius:17px;min-height:72px;padding:13px;transition:background .16s ease,border-color .16s ease}
.resource:hover{background:var(--surface);border-color:var(--border);transform:none}
.site-icon{background:var(--surface);border-color:var(--border);border-radius:13px}
.resource-title{font-weight:640}
.empty,.loading{border-radius:24px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}
.notice{border-radius:16px;background:var(--surface-alt)}
.footer{padding-top:68px}
:root[data-theme="dark"] .search-field{box-shadow:0 8px 24px rgba(0,0,0,.17)}
:root[data-theme="dark"] .search-field:focus-within{border-color:#595957;box-shadow:0 8px 28px rgba(0,0,0,.2),0 0 0 3px rgba(235,235,235,.035)}
:root[data-theme="dark"] .category-card{box-shadow:0 5px 22px rgba(0,0,0,.09)}
:root[data-theme="dark"] .category-card:hover{box-shadow:0 8px 26px rgba(0,0,0,.16)}
@media(max-width:680px){
  .wrapper{width:calc(100% - 32px)}
  .topbar{height:76px}
  .top-actions{gap:13px}
  .hero{border-radius:25px;padding:26px 22px 23px;min-height:0}
  .hero-content{padding:24px 0 28px}
  .hero h1{font-size:clamp(29px,8vw,38px);letter-spacing:-1.25px}
  .discovery{padding:25px 0 16px}
  .search-field{height:64px;border-radius:999px;padding:0 19px;gap:13px}
  .search-field input{font-size:14px}
  .filter-row{gap:8px}
  .filter{min-height:44px;padding:9px 16px}
  .section-head{padding-top:23px}
  .category-card{border-radius:21px}
  .category-card>summary{padding:16px;min-height:81px}
  .category-body{padding:0 16px 18px}
  .resource{min-height:70px;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){.category-card,.resource,.search-field{transition:none!important}}


/* Muse folder surfaces v2 — all folder shells, nested folders and resource tiles
   Collapsed categories are floating capsules; expanded categories are soft panels. */
.category-list{gap:18px}
.category-card{
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:0 5px 20px rgba(32,29,25,.045),0 1px 3px rgba(32,29,25,.016);
  transition:box-shadow .2s ease,background-color .2s ease,border-color .2s ease;
}
.category-card:not([open]){border-radius:999px}
.category-card[open]{
  border-radius:32px;
  box-shadow:0 12px 44px rgba(32,29,25,.048),0 1px 3px rgba(32,29,25,.014);
}
.category-card:hover{border-color:var(--border);box-shadow:0 9px 32px rgba(32,29,25,.067)}
.category-card>summary{
  min-height:92px;
  padding:19px 27px;
  gap:16px;
  border-radius:inherit;
  transition:background-color .18s ease;
}
.category-card:not([open])>summary:hover{background:var(--surface-alt)}
.category-card[open]>summary{
  padding-bottom:20px;
  border-radius:32px 32px 0 0;
}
.folder-icon{
  width:50px;height:50px;
  border-radius:50%;
  background:var(--surface-alt);
  border:1px solid var(--border);
  color:var(--text);
  font-size:14px;font-weight:650;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}
.category-title{font-size:16px;font-weight:670;letter-spacing:-.15px}
.category-meta{margin-top:3px;font-size:11px;color:var(--muted);font-weight:400}
.category-card>summary>.chevron{
  display:grid;place-items:center;
  flex:none;
  width:37px;height:37px;
  background:var(--surface-alt);
  border-radius:50%;
  font-size:25px;
  color:var(--muted);
  line-height:1;
  transition:transform .2s ease,background-color .2s ease;
}
.category-card>summary:hover>.chevron{background:var(--bg)}
.category-body{padding:0 27px 27px}
.category-body-inner{border-top:1px solid var(--border);padding-top:21px}
.subcat,.subcat:first-child{
  margin:14px 0 0;
  padding:0;
  background:var(--surface-alt);
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
}
.subcat:first-child{margin-top:0}
.subcat>summary{
  margin:0;
  padding:17px 19px;
  min-height:61px;
  background:transparent;
  font-size:13px;
  font-weight:670;
  transition:background-color .18s ease;
}
.subcat>summary:hover{background:var(--surface)}
.subcat-count{font-size:11px;font-weight:450;color:var(--muted)}
.subcat>summary .chevron{
  margin-left:auto;
  display:grid;place-items:center;
  width:29px;height:29px;
  border-radius:50%;
  background:var(--surface);
  color:var(--muted);
  font-size:18px;
}
.subcat>div{padding:0 17px 18px}
.subcat .links-grid{padding-top:4px}
.links-grid{gap:12px}
.resource{
  background:var(--surface-alt);
  border:1px solid transparent;
  border-radius:19px;
  min-height:73px;
  padding:13px 14px;
  box-shadow:none;
}
.resource:hover{
  background:var(--surface);
  border-color:var(--border);
  transform:none;
}
.site-icon{
  width:37px;height:37px;
  border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:none;
}
.resource-title{font-weight:640}
.results .resource{background:var(--surface);border-color:var(--border);border-radius:23px}
.results .resource:hover{background:var(--surface-alt)}
:root[data-theme="dark"] .category-card,
:root[data-theme="dark"] .category-card[open]{
  box-shadow:0 7px 29px rgba(0,0,0,.14);
}
:root[data-theme="dark"] .category-card>summary:hover>.chevron{background:var(--surface-alt)}
:root[data-theme="dark"] .folder-icon{box-shadow:none}
@media(max-width:680px){
  .category-list{gap:13px}
  .category-card:not([open]){border-radius:999px}
  .category-card[open]{border-radius:27px}
  .category-card>summary{min-height:84px;padding:14px 17px;gap:13px}
  .category-card[open]>summary{border-radius:27px 27px 0 0}
  .folder-icon{width:47px;height:47px}
  .category-title{font-size:15px}
  .category-card>summary>.chevron{width:34px;height:34px}
  .category-body{padding:0 16px 18px}
  .category-body-inner{padding-top:17px}
  .subcat,.subcat:first-child{border-radius:19px}
  .subcat>summary{padding:15px}
  .subcat>div{padding:0 12px 13px}
  .resource{border-radius:17px;min-height:70px}
}
@media(prefers-reduced-motion:reduce){
  .category-card,.category-card>summary,.subcat>summary,.category-card .chevron{transition:none!important}
}


/* AHANG actual folder structure redesign v3 — 2026-11
   Not another radius tweak: separate the floating folder header from a quiet,
   flat link-list surface. Remove the previous big nested cards. */
.category-list{gap:13px}
.category-card,
.category-card:not([open]),
.category-card[open]{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  min-width:0;
}
.category-card:hover,
.category-card[open]:hover{
  border:0;
  box-shadow:none;
}
.category-card>summary,
.category-card:not([open])>summary,
.category-card[open]>summary{
  min-height:78px;
  padding:14px 20px;
  background:var(--surface);
  border:1px solid rgba(100,94,85,.065);
  border-radius:23px;
  box-shadow:0 4px 18px rgba(35,33,29,.033),0 1px 2px rgba(35,33,29,.018);
  gap:14px;
  transition:background .18s ease,box-shadow .18s ease;
}
.category-card>summary:hover,
.category-card:not([open])>summary:hover,
.category-card[open]>summary:hover{
  background:var(--surface);
  box-shadow:0 6px 22px rgba(35,33,29,.06);
}
.folder-icon{
  width:41px;
  height:41px;
  border-radius:13px;
  background:var(--surface-alt);
  border:0;
  box-shadow:none;
  color:var(--text);
  font-size:13px;
  font-weight:680;
  letter-spacing:-.45px;
}
.category-title{font-size:15px;font-weight:685;letter-spacing:-.2px}
.category-meta{font-size:11px;margin-top:5px;color:var(--muted);font-weight:420}
.category-card>summary>.chevron{
  width:28px;
  height:28px;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  font-size:21px;
  box-shadow:none;
}
.category-card>summary:hover>.chevron{
  background:var(--surface-alt);
}
.category-body{
  margin-top:9px;
  padding:8px 15px;
  border:1px solid rgba(100,94,85,.045);
  border-radius:22px;
  background:var(--surface);
  box-shadow:0 3px 16px rgba(35,33,29,.018);
}
.category-body-inner{border-top:0;padding-top:0}
.links-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0 12px;
}
.resource,
.results .resource{
  background:transparent;
  border:0;
  border-bottom:1px solid var(--border);
  border-radius:0;
  padding:13px 8px;
  min-height:67px;
  box-shadow:none;
  gap:11px;
  transition:background-color .16s ease;
}
.resource:hover,
.results .resource:hover{
  background:var(--surface-alt);
  border-color:var(--border);
  border-radius:12px;
  transform:none;
}
.site-icon{
  width:36px;height:36px;
  flex:none;
  border:0;
  border-radius:11px;
  background:var(--surface-alt);
  box-shadow:none;
  color:var(--text);
  font-size:13px;
  font-weight:740;
}
.resource:hover .site-icon{background:var(--surface)}
.resource-title{font-size:12px;font-weight:630;letter-spacing:0}
.resource-host{font-size:10.5px;margin-top:5px;color:var(--muted)}
.resource-arrow{color:var(--subtle);font-size:16px}
.subcat,
.subcat:first-child{
  margin:11px 0;
  padding:0;
  background:var(--surface-alt);
  border:0;
  border-radius:16px;
  overflow:hidden;
}
.subcat>summary{
  min-height:57px;
  padding:12px 16px;
  margin:0;
  font-size:13px;
  font-weight:645;
  background:transparent;
}
.subcat>summary:hover{background:var(--bg)}
.subcat>summary .chevron{
  background:var(--surface);
  width:26px;height:26px;
}
.subcat>div{padding:0 14px 11px}
.subcat .links-grid{padding-top:0;gap:0 12px}
.subcat .resource{border-bottom-color:var(--border)}
.results{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  padding:8px 14px;
  gap:0 12px;
}
:root[data-theme="dark"] .category-card,
:root[data-theme="dark"] .category-card[open],
:root[data-theme="dark"] .category-card:hover{
  box-shadow:none;border:0;
}
:root[data-theme="dark"] .category-card>summary{
  border-color:var(--border);
  box-shadow:0 5px 18px rgba(0,0,0,.12);
}
:root[data-theme="dark"] .category-body{
  border-color:var(--border);
  box-shadow:0 3px 12px rgba(0,0,0,.05);
}
@media(max-width:950px){
  .links-grid,.results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .category-list{gap:11px}
  .category-card,
  .category-card[open],
  .category-card:not([open]){border:0;border-radius:0;box-shadow:none;background:transparent}
  .category-card>summary,
  .category-card[open]>summary,
  .category-card:not([open])>summary{
    min-height:71px;
    padding:12px 14px;
    border-radius:20px;
    gap:11px;
  }
  .folder-icon{width:39px;height:39px;border-radius:12px;font-size:12px}
  .category-title{font-size:14px}
  .category-meta{font-size:10.5px;margin-top:3px}
  .category-card>summary>.chevron{width:26px;height:26px;font-size:19px}
  .category-body{margin-top:8px;padding:4px 12px;border-radius:19px}
  .category-body-inner{padding-top:0}
  .links-grid,.results{grid-template-columns:minmax(0,1fr);gap:0}
  .resource,.results .resource{
    min-height:64px;
    padding:11px 5px;
    border:0;
    border-bottom:1px solid var(--border);
    border-radius:0;
  }
  .links-grid>.resource:last-child,.results>.resource:last-child{border-bottom:0}
  .site-icon{width:34px;height:34px;border-radius:10px}
  .subcat,.subcat:first-child{border:0;border-radius:14px;margin:9px 0}
  .subcat>summary{min-height:53px;padding:11px 13px}
  .subcat>div{padding:0 10px 10px}
  .results{padding:5px 12px;border-radius:19px}
}
@media(prefers-reduced-motion:reduce){
  .category-card>summary,.resource{transition:none!important}
}

/* AHANG real favicon icons v4 */
.site-icon{position:relative;overflow:hidden;display:grid;place-items:center}
.site-icon-img{display:block;width:22px;height:22px;object-fit:contain;max-width:78%;max-height:78%}
.site-icon-fallback{display:block;line-height:1}
.site-icon.has-image .site-icon-fallback{display:none}
:root[data-theme="dark"] .site-icon-img{filter:none}
@media(max-width:680px){.site-icon-img{width:21px;height:21px}}


/* AHANG nested categories unified v5
   Keep category names and disclosure functionality, remove gray blocks inside
   opened folders. All links share the same quiet white list surface. */
.category-body .subcat,
.category-body .subcat:first-child{
  display:block;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
.category-body .subcat + .subcat{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid var(--border);
}
.category-body .subcat>summary{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  margin:0;
  padding:10px 12px;
  background:transparent;
  border:0;
  border-radius:11px;
  color:var(--text);
  font-size:13px;
  font-weight:680;
  transition:background-color .15s ease;
}
.category-body .subcat>summary:hover{background:var(--surface-alt)}
.category-body .subcat>summary .subcat-count{
  font-size:11px;
  font-weight:430;
  color:var(--muted);
}
.category-body .subcat>summary .chevron{
  margin-left:auto;
  width:27px;
  height:27px;
  flex:none;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
}
.category-body .subcat>summary:hover .chevron{background:var(--surface-alt)}
.category-body .subcat>div{
  margin:0;
  padding:0 12px 12px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.category-body .subcat .links-grid{
  padding:0;
  margin:0;
  gap:0 12px;
  background:transparent;
}
.category-body .subcat .resource{
  background:transparent;
  border-radius:0;
  border:0;
  border-bottom:1px solid var(--border);
  box-shadow:none;
}
.category-body .subcat .resource:hover{
  background:var(--surface-alt);
  border-color:var(--border);
  border-radius:10px;
}
.category-body .subcat .links-grid>.resource:last-child{border-bottom:0}
:root[data-theme="dark"] .category-body .subcat,
:root[data-theme="dark"] .category-body .subcat:first-child{
  background:transparent;
  box-shadow:none;
}
@media(max-width:680px){
  .category-body .subcat + .subcat{margin-top:5px;padding-top:5px}
  .category-body .subcat>summary{padding:10px 6px;min-height:44px}
  .category-body .subcat>div{padding:0 4px 9px}
  .category-body .subcat .links-grid{gap:0}
}
@media(prefers-reduced-motion:reduce){
  .category-body .subcat>summary{transition:none}
}


/* AHANG soft business contact modal */
button.contact-link{appearance:none;border:0;background:none;padding:0;color:var(--text);font:inherit;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
button.contact-link:hover{color:var(--muted)}
.contact-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 36px);box-sizing:border-box;margin:auto;padding:30px;border:1px solid var(--border);border-radius:27px;color:var(--text);background:var(--surface);box-shadow:0 22px 75px rgba(0,0,0,.13);overflow:auto}
.contact-dialog::backdrop{background:rgba(20,20,20,.28);backdrop-filter:blur(4px)}
.contact-dialog-head{display:flex;justify-content:space-between;align-items:center}
.contact-dialog-eyebrow{color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.16em}
.contact-close{border:0;border-radius:50%;background:var(--surface-alt);color:var(--text);font-size:23px;line-height:1;width:34px;height:34px;cursor:pointer}
.contact-dialog h2{font-size:27px;font-weight:780;letter-spacing:-.7px;margin:21px 0 7px}
.contact-dialog p{color:var(--muted);font-size:13px;line-height:1.7}
.contact-field-label{display:block;color:var(--muted);font-size:11px;margin:24px 0 8px}
.contact-copy-row{display:flex;gap:8px;align-items:center}
.contact-copy-row input{min-width:0;flex:1;height:46px;border-radius:13px;border:1px solid var(--border);background:var(--surface-alt);padding:0 12px;color:var(--text);font-size:13px}
.contact-copy-btn{flex:none;min-height:46px;padding:0 17px;border:0;border-radius:999px;background:var(--text);color:var(--bg);font-size:12px;font-weight:700;cursor:pointer}
.contact-copy-btn:hover{opacity:.87}
.contact-copy-feedback{min-height:20px;margin:9px 0 0!important;font-size:11px!important}
@media(max-width:680px){.contact-dialog{padding:23px;border-radius:22px}.contact-copy-row{flex-wrap:wrap}.contact-copy-row input{flex-basis:100%}.contact-copy-btn{width:100%}}
