/* App-specific interfaces inside the existing work-page device frames. */
.ap-concept-screen{
  --c-bg:#f7f8fa;--c-surface:#fff;--c-ink:#13202b;--c-muted:#687580;
  --c-line:#dfe5e8;--c-accent:#247887;--c-accent-ink:#fff;
  container-type:size;position:relative;isolation:isolate;display:flex;flex-direction:column;
  width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;
  box-sizing:border-box;background:var(--c-bg);color:var(--c-ink);
  font:500 clamp(10px,4cqw,14px)/1.3 "Inter Tight",Inter,Arial,sans-serif;
  letter-spacing:-.015em;text-align:left
}
.ap-concept-screen *{box-sizing:border-box}
.ap-concept-screen svg{display:block}
.ap-concept-screen img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.ap-concept-screen h2,.ap-concept-screen h3,.ap-concept-screen p,.ap-concept-screen figure,
.ap-concept-screen blockquote{margin:0}
.ap-concept-screen h2{font-size:clamp(17px,7cqw,27px);font-weight:760;line-height:.98;letter-spacing:-.055em}
.ap-concept-screen h3{font-size:clamp(12px,4.7cqw,17px);font-weight:720;line-height:1.08;letter-spacing:-.03em}
.ap-concept-screen small{font-size:clamp(8px,3.1cqw,11px);font-weight:650;line-height:1.18;letter-spacing:.035em}
.ap-c-icon{width:1.35em;height:1.35em;flex:none}
.ap-c-system{position:relative;z-index:4;display:flex;flex:none;align-items:center;justify-content:space-between;
  height:clamp(22px,6cqh,28px);padding:clamp(7px,2.8cqw,12px) clamp(10px,4cqw,17px) 0;
  font-size:clamp(8px,3.15cqw,11px);font-weight:730;letter-spacing:.005em}
.ap-c-system i{position:absolute;top:clamp(6px,1.8cqh,9px);left:50%;width:clamp(38px,16cqw,58px);height:clamp(9px,3cqh,15px);
  transform:translateX(-50%);border-radius:0 0 12px 12px;background:#101418}
.ap-c-header{position:relative;z-index:3;display:flex;flex:none;align-items:center;justify-content:space-between;
  min-height:clamp(42px,9.5cqh,55px);padding:4px clamp(10px,4cqw,17px) clamp(7px,2cqh,12px);border-bottom:1px solid var(--c-line)}
.ap-c-header>div{display:grid;gap:1px;min-width:0}.ap-c-header span{color:var(--c-muted);font-size:clamp(8px,3.1cqw,11px)}
.ap-c-header strong{overflow:hidden;font-size:clamp(13px,5cqw,18px);font-weight:760;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
.ap-c-header-action{display:grid!important;place-items:center;width:clamp(27px,10cqw,37px);height:clamp(27px,10cqw,37px);
  border:1px solid var(--c-line);border-radius:50%;background:var(--c-surface);color:var(--c-ink)!important}
.ap-c-header-action .ap-c-icon{width:47%;height:47%}
.ap-c-main{position:relative;display:flex;flex:1;flex-direction:column;min-height:0;gap:clamp(6px,2.5cqw,11px);
  overflow:hidden;padding:clamp(9px,3.4cqw,15px) clamp(10px,4cqw,17px) clamp(7px,2.4cqw,11px)}
.ap-c-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;flex:none}
.ap-c-title-row small{display:block;margin-bottom:3px;color:var(--c-muted)}
.ap-c-section{min-width:0}.ap-c-section>header{display:flex;align-items:end;justify-content:space-between;gap:7px;margin-bottom:clamp(5px,1.8cqw,8px)}
.ap-c-section>header>span{color:var(--c-muted);font-size:clamp(8px,3cqw,10px);white-space:nowrap}
.ap-c-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:clamp(34px,11cqw,43px);margin-top:auto;
  padding:0 clamp(10px,4cqw,16px);border-radius:clamp(10px,3.8cqw,15px);background:var(--c-accent);color:var(--c-accent-ink);
  font-size:clamp(11px,4.15cqw,14px);font-weight:760;line-height:1;box-shadow:0 6px 16px color-mix(in srgb,var(--c-accent) 24%,transparent)}
.ap-c-cta>i{display:grid;place-items:center;width:1.8em;height:1.8em;border-radius:50%;background:#ffffff20}
.ap-c-cta .ap-c-icon{width:1.05em;height:1.05em}
.ap-c-backline{display:flex;align-items:center;gap:5px;flex:none;color:var(--c-muted);font-size:clamp(8px,3.3cqw,11px)}
.ap-c-backline>.ap-c-icon{width:1.1em;height:1.1em;transform:rotate(180deg)}
.ap-c-backline>span{overflow:hidden;color:var(--c-ink);font-weight:740;text-overflow:ellipsis;white-space:nowrap}
.ap-c-backline>b{margin-left:auto;font-size:.92em;white-space:nowrap}
.ap-c-nav{position:relative;z-index:3;display:flex;flex:none;align-items:center;justify-content:space-around;
  height:clamp(43px,11cqh,57px);padding:4px clamp(5px,2cqw,9px) clamp(7px,2cqh,10px);border-top:1px solid var(--c-line);
  background:color-mix(in srgb,var(--c-bg) 94%,transparent);color:var(--c-muted)}
.ap-c-nav>span{position:relative;display:grid;place-items:center;gap:2px;min-width:21%;height:100%;font-size:clamp(7px,2.75cqw,10px);font-weight:650}
.ap-c-nav .ap-c-icon{width:clamp(15px,5.5cqw,20px);height:clamp(15px,5.5cqw,20px)}
.ap-c-nav>span.is-active{color:var(--c-accent);font-weight:780}
.ap-c-nav>span.is-active:before{content:"";position:absolute;top:-5px;left:50%;width:18px;height:2px;transform:translateX(-50%);border-radius:2px;background:currentColor}

/* State cycle: callers may set project.concept_state to loading, empty or error. */
.ap-c-state{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:18px;text-align:center}
.ap-c-state-mark{display:grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border-radius:17px;background:var(--c-surface);color:var(--c-accent);box-shadow:0 8px 24px #10203012}
.ap-c-state-mark .ap-c-icon{width:23px;height:23px}.ap-c-state>strong{font-size:17px}.ap-c-state>span{margin:5px 0 16px;color:var(--c-muted)}
.ap-c-state>.ap-c-cta{width:100%;max-width:190px;flex:none;margin-top:0}.ap-c-state--loading>div{display:grid;width:76%;gap:8px;margin-top:15px}
.ap-c-state--loading>div>b{height:9px;border-radius:8px;background:linear-gradient(90deg,var(--c-line),var(--c-surface),var(--c-line));background-size:220% 100%}
.ap-c-state--loading>div>b:nth-child(2){width:84%}.ap-c-state--loading>div>b:nth-child(3){width:61%}
.ap-c-state--error .ap-c-state-mark{color:#a63232}

/* Skolr */
.ap-concept--skolr-ai{--c-bg:#f4f8fa;--c-surface:#fff;--c-ink:#102d3b;--c-muted:#66808b;--c-line:#d8e6e9;--c-accent:#176f86}
.ap-c-date{display:grid;place-items:center;width:clamp(35px,13cqw,47px);height:clamp(38px,14cqw,51px);border-radius:13px;background:#dceef3;color:#176f86;font-size:clamp(15px,5.4cqw,20px);font-weight:800;line-height:.8;text-align:center}
.ap-c-date b{font-size:clamp(7px,2.5cqw,9px);letter-spacing:.07em}.ap-c-next-class{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:clamp(10px,3.8cqw,15px);border-radius:16px;background:#123d50;color:#f7fcfd;box-shadow:0 9px 22px #123d5030}
.ap-c-next-class small{color:#a9d0db}.ap-c-next-class h3{margin:4px 0 2px}.ap-c-next-class p{color:#c6dce2;font-size:clamp(8px,3.1cqw,11px)}
.ap-c-progress-ring{display:grid;place-items:center;width:clamp(43px,16cqw,59px);height:clamp(43px,16cqw,59px);flex:none;border:4px solid #ffffff28;border-top-color:#8de2d3;border-radius:50%;font-size:clamp(12px,4.7cqw,17px);font-weight:780}.ap-c-progress-ring b{font-size:clamp(7px,2.5cqw,9px)}
.ap-c-agenda{display:grid;gap:4px}.ap-c-agenda>span{display:grid;grid-template-columns:clamp(27px,9cqw,34px) clamp(28px,11cqw,41px) 1fr;align-items:center;gap:6px;min-height:clamp(34px,11cqw,43px);padding:5px 8px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-surface)}
.ap-c-agenda i{display:grid;place-items:center;width:clamp(24px,8cqw,31px);height:clamp(24px,8cqw,31px);border-radius:9px;background:#e3f1f4;color:#176f86}.ap-c-agenda i .ap-c-icon{width:55%;height:55%}
.ap-c-agenda b{font-size:clamp(8px,3cqw,11px)}.ap-c-agenda em{overflow:hidden;font-size:clamp(9px,3.55cqw,13px);font-style:normal;font-weight:670;text-overflow:ellipsis;white-space:nowrap}
.ap-c-profile-card{display:flex;align-items:center;gap:10px;padding:clamp(10px,4cqw,16px);border-radius:16px;background:#123d50;color:#fff}
.ap-c-avatar{display:grid;place-items:center;width:clamp(43px,16cqw,60px);height:clamp(43px,16cqw,60px);flex:none;border-radius:50%;background:#8de2d3;color:#123d50;font-size:clamp(13px,5cqw,19px);font-weight:800}
.ap-c-profile-card small{color:#acd0d9}.ap-c-profile-card h2{margin:2px 0 3px}.ap-c-profile-card p{color:#d3e6ea;font-size:clamp(8px,3cqw,11px)}
.ap-c-readiness{padding:clamp(9px,3.5cqw,13px);border:1px solid var(--c-line);border-radius:14px;background:var(--c-surface)}
.ap-c-readiness header{display:flex;justify-content:space-between}.ap-c-readiness header strong{color:#176f86}.ap-c-readiness>i{display:block;height:5px;margin:8px 0;border-radius:5px;background:#e2eaec;overflow:hidden}.ap-c-readiness>i>b{display:block;width:75%;height:100%;border-radius:inherit;background:#30a48f}
.ap-c-readiness>div{display:grid;gap:4px}.ap-c-readiness>div span{display:flex;align-items:center;gap:6px;font-size:clamp(8px,3cqw,11px)}.ap-c-readiness .ap-c-icon{width:1em;height:1em;color:#239077}
.ap-c-note{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:13px;background:#e7f1f4}.ap-c-note>span{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:9px;background:#fff;color:#176f86}.ap-c-note>span .ap-c-icon{width:15px;height:15px}.ap-c-note small{color:#66808b}.ap-c-note p{font-size:clamp(8px,3.2cqw,11px)}

/* Ari Market */
.ap-concept--ari-market{--c-bg:#f4f0e9;--c-surface:#fffdf8;--c-ink:#171615;--c-muted:#726e68;--c-line:#dcd4c7;--c-accent:#171615}
.ap-concept--ari-market .ap-c-header-action{border-color:#cfc5b6}.ap-c-member-chip{padding:5px 8px;border-radius:99px;background:#d9ece9;color:#185f5a;font-size:clamp(8px,3cqw,10px);font-weight:780}
.ap-c-ari-feature,.ap-c-ari-art{position:relative;flex:none;overflow:hidden;border-radius:clamp(15px,5cqw,20px);background:#171615;color:#fff}
.ap-c-ari-feature{height:clamp(145px,34cqh,225px)}.ap-c-ari-feature:after,.ap-c-ari-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0d0d0dcf 0,#0d0d0d55 48%,transparent 72%)}
.ap-c-ari-feature img,.ap-c-ari-art img{position:absolute;width:217%;left:-117%;object-position:center top}
.ap-c-ari-feature figcaption,.ap-c-ari-art figcaption{position:absolute;z-index:2;inset:auto clamp(10px,4cqw,16px) clamp(10px,4cqw,16px);display:grid;gap:3px;color:#fff;text-shadow:0 1px 8px #000}
.ap-c-ari-feature small,.ap-c-ari-art small{color:#b9ded9}.ap-c-ari-feature strong{font-size:clamp(17px,7cqw,27px);line-height:.96;letter-spacing:-.05em}.ap-c-ari-feature figcaption>span{display:flex;align-items:center;gap:6px;font-size:clamp(8px,3cqw,11px)}
.ap-c-ari-feature .ap-c-icon{width:1.1em;height:1.1em}.ap-c-posts{min-height:0}.ap-c-posts article{display:grid;grid-template-columns:clamp(29px,10cqw,38px) 1fr auto;align-items:center;gap:7px;padding:5px 0;border-top:1px solid var(--c-line)}
.ap-c-posts article>i{width:100%;aspect-ratio:1;border-radius:10px;background:radial-gradient(circle at 65% 30%,#bfe6df,#4d5e5c 35%,#171615 72%)}
.ap-c-posts article:nth-of-type(2)>i{background:linear-gradient(135deg,#d5bb9e,#404c51)}.ap-c-posts article div{display:grid;min-width:0}.ap-c-posts article b{overflow:hidden;font-size:clamp(9px,3.5cqw,13px);text-overflow:ellipsis;white-space:nowrap}.ap-c-posts article span{color:var(--c-muted);font-size:clamp(7px,2.8cqw,10px)}
.ap-c-posts article>.ap-c-icon{width:1.05em;height:1.05em}.ap-c-ari-art{height:clamp(155px,37cqh,235px)}.ap-c-ari-art figcaption>strong{font-size:clamp(15px,6cqw,22px)}.ap-c-ari-art figcaption>span{font-size:clamp(8px,3cqw,11px)}
.ap-c-edition{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.ap-c-edition>div{display:grid;gap:2px;padding:7px 5px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-surface)}.ap-c-edition small{color:var(--c-muted)}.ap-c-edition b{font-size:clamp(8px,3cqw,11px)}
.ap-c-artist-note{padding-left:9px;border-left:2px solid #76ada4;color:#514e49;font-size:clamp(8px,3.25cqw,11px);line-height:1.35}

/* DualTakes */
.ap-concept--dualtakes{--c-bg:#070b10;--c-surface:#151b23;--c-ink:#f4f7f9;--c-muted:#9da9b5;--c-line:#28323d;--c-accent:#f4f7f9;--c-accent-ink:#0a0e13}
.ap-concept--dualtakes .ap-c-system i{background:#050607}.ap-concept--dualtakes .ap-c-header-action{background:#151b23}
.ap-c-dual-camera{gap:clamp(5px,2cqw,8px);padding-right:clamp(7px,2.5cqw,11px);padding-left:clamp(7px,2.5cqw,11px)}
.ap-c-camera-top{display:flex;align-items:center;justify-content:space-between;flex:none;color:#bcc6ce;font-size:clamp(8px,3cqw,11px)}.ap-c-camera-top b{padding:4px 8px;border-radius:99px;background:#ffffff12;color:#fff}.ap-c-camera-top .ap-c-icon{width:1.1em;height:1.1em}
.ap-c-viewfinder{position:relative;display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0;overflow:hidden;border-radius:14px;background:#000}.ap-c-viewfinder figure{position:relative;min-width:0;overflow:hidden}.ap-c-viewfinder figure:first-child{border-right:2px solid #070b10}.ap-c-viewfinder figure img{position:absolute;left:0;width:100%;height:100%;object-fit:cover;object-position:23% center}.ap-c-viewfinder figure+figure img{left:0;object-position:85% center}.ap-c-viewfinder figure span{position:absolute;z-index:2;top:7px;left:7px;padding:3px 5px;border-radius:6px;background:#0009;font-size:clamp(7px,2.6cqw,9px);font-weight:780;letter-spacing:.05em}
.ap-c-viewfinder>i{position:absolute;z-index:3;inset:16% 13%;border:1px solid #ffffff72;border-radius:9px}.ap-c-viewfinder>i:before,.ap-c-viewfinder>i:after{content:"";position:absolute;background:#ffffff45}.ap-c-viewfinder>i:before{top:33.33%;right:0;left:0;height:1px;box-shadow:0 calc(100% + 33.33cqh) 0 #fff0}.ap-c-viewfinder>i:after{top:0;bottom:0;left:50%;width:1px}
.ap-c-mode-strip{display:flex;justify-content:center;gap:clamp(12px,6cqw,24px);flex:none;color:#7f8a94;font-size:clamp(8px,3cqw,11px)}.ap-c-mode-strip b{color:#fff}
.ap-c-shutter{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;flex:none;padding:1px 7px}.ap-c-shutter>span{display:grid;place-items:center;width:clamp(29px,10cqw,38px);height:clamp(29px,10cqw,38px);overflow:hidden;border:2px solid #333;border-radius:10px;color:#fff}.ap-c-shutter>span:last-child{justify-self:end;border:0;border-radius:50%;background:#151b23}.ap-c-shutter>span .ap-c-icon{width:52%;height:52%}.ap-c-shutter>b{display:grid;place-items:center;width:clamp(46px,16cqw,60px);height:clamp(46px,16cqw,60px);border:3px solid #fff;border-radius:50%}.ap-c-shutter>b>i{width:76%;height:76%;border-radius:50%;background:#ee4f4f}
.ap-c-clip-preview{position:relative;flex:none;height:clamp(125px,31cqh,200px);overflow:hidden;border-radius:15px}.ap-c-clip-preview:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#030609c9)}.ap-c-clip-preview>span{position:absolute;z-index:2;top:50%;left:50%;display:grid;place-items:center;width:36px;height:36px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:#111}.ap-c-clip-preview figcaption{position:absolute;z-index:2;right:10px;bottom:9px;left:10px;font-size:clamp(11px,4.3cqw,16px);font-weight:760}
.ap-c-timeline{position:relative;display:grid;grid-template-columns:repeat(4,1fr);height:clamp(28px,9cqw,36px);gap:2px;overflow:hidden;border-radius:8px}.ap-c-timeline i{background:linear-gradient(135deg,#253f54,#c98f72)}.ap-c-timeline i:nth-child(even){background:linear-gradient(135deg,#b5c8d1,#526d7d)}.ap-c-timeline b{position:absolute;top:0;bottom:0;left:43%;width:2px;background:#fff;box-shadow:0 0 0 1px #0006}
.ap-c-edit-tools{display:flex;justify-content:space-around}.ap-c-edit-tools span{display:grid;place-items:center;gap:3px;color:#c1cad1;font-size:clamp(8px,3cqw,10px)}.ap-c-edit-tools .ap-c-icon{width:17px;height:17px}.ap-c-edit-tools b{font-weight:600}.ap-c-clip-meta{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ap-c-clip-meta>span{display:grid;gap:2px;padding:6px 7px;border:1px solid var(--c-line);border-radius:9px}.ap-c-clip-meta small{color:var(--c-muted)}.ap-c-clip-meta b{font-size:clamp(8px,3cqw,11px)}

/* Haum */
.ap-concept--haum{--c-bg:#f4f1e9;--c-surface:#fffdf8;--c-ink:#153132;--c-muted:#71807c;--c-line:#d9ddd5;--c-accent:#0b5a59}
.ap-c-haum-photo{position:relative;height:clamp(118px,28cqh,185px);flex:none;overflow:hidden;border-radius:16px;background:#153132;color:#fff}.ap-c-haum-photo img{position:absolute;width:300%;left:-200%;object-position:top right}.ap-c-haum-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#143131d9 0,#14313170 58%,transparent)}.ap-c-haum-photo figcaption{position:absolute;z-index:2;inset:auto 12px 11px;display:grid}.ap-c-haum-photo small{color:#afd6d0}.ap-c-haum-photo strong{font-size:clamp(16px,6.3cqw,24px);letter-spacing:-.05em}.ap-c-haum-photo span{font-size:clamp(8px,3cqw,11px)}
.ap-c-family-agenda article{display:grid;grid-template-columns:clamp(31px,11cqw,41px) 4px 1fr;align-items:center;gap:6px;padding:5px 0;border-top:1px solid var(--c-line)}.ap-c-family-agenda time{font-size:clamp(8px,3cqw,11px);font-weight:720}.ap-c-family-agenda article>i{width:3px;height:70%;border-radius:4px;background:#84c9c1}.ap-c-family-agenda article:nth-of-type(2)>i{background:#d3ad6f}.ap-c-family-agenda article>div{display:grid}.ap-c-family-agenda article b{font-size:clamp(9px,3.5cqw,13px)}.ap-c-family-agenda article span{color:var(--c-muted);font-size:clamp(7px,2.8cqw,10px)}
.ap-c-home-task{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px 9px;border-radius:13px;background:#dfe9e3}.ap-c-home-task>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#fff;color:#0b5a59}.ap-c-home-task>span .ap-c-icon{width:16px;height:16px}.ap-c-home-task>div{display:grid}.ap-c-home-task small{color:#71807c}.ap-c-home-task b{font-size:clamp(9px,3.6cqw,13px)}.ap-c-home-task em{color:#71807c;font-size:clamp(7px,2.8cqw,10px);font-style:normal}.ap-c-home-task>i .ap-c-icon{width:1em;height:1em}
.ap-c-task-hero{display:flex;align-items:center;gap:9px;padding:clamp(10px,4cqw,15px);border-radius:16px;background:#0b5a59;color:#fff}.ap-c-task-hero>span{display:grid;place-items:center;width:clamp(40px,14cqw,52px);height:clamp(40px,14cqw,52px);flex:none;border-radius:14px;background:#ffffff18}.ap-c-task-hero>span .ap-c-icon{width:50%;height:50%}.ap-c-task-hero small{color:#afd6d0}.ap-c-task-hero h2{margin:2px 0;color:#fff}.ap-c-task-hero p{color:#cce2dd;font-size:clamp(8px,3cqw,11px)}
.ap-c-task-facts{display:grid;grid-template-columns:1fr 1fr;gap:5px}.ap-c-task-facts>span{display:grid;gap:3px;padding:7px 8px;border:1px solid var(--c-line);border-radius:11px;background:var(--c-surface)}.ap-c-task-facts small{color:var(--c-muted)}.ap-c-task-facts b{display:flex;align-items:center;gap:5px;font-size:clamp(8px,3cqw,11px)}.ap-c-task-facts i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dfe9e3;color:#0b5a59;font-size:7px;font-style:normal}
.ap-c-checklist{display:grid;gap:4px}.ap-c-checklist p{display:flex;align-items:center;gap:6px;padding:4px 0;border-bottom:1px solid var(--c-line);font-size:clamp(8px,3.2cqw,11px)}.ap-c-checklist .ap-c-icon{width:1.1em;height:1.1em;color:#0b5a59}

/* Taxxy */
.ap-concept--taxxy{--c-bg:#f4f0e5;--c-surface:#fffdf8;--c-ink:#151515;--c-muted:#706c65;--c-line:#ddd5c8;--c-accent:#151515;--c-accent-ink:#ffd20a}
.ap-concept--taxxy .ap-c-header{background:#ffd20a;border-color:#e2b900}.ap-concept--taxxy .ap-c-header span{color:#544500}.ap-concept--taxxy .ap-c-header strong{color:#151515}.ap-concept--taxxy .ap-c-header-action{border-color:#171717;background:#171717;color:#ffd20a!important}.ap-concept--taxxy .ap-c-main{padding:0;gap:0}.ap-c-map-wrap{position:relative;flex:1;min-height:0;overflow:hidden}.ap-c-map{width:100%;height:100%}.ap-c-map-pin{position:absolute;top:48%;left:37%;display:grid;place-items:center;width:30px;height:30px;transform:translate(-50%,-50%);border:3px solid #151515;border-radius:50% 50% 50% 0;background:#ffd20a;transform:translate(-50%,-50%) rotate(-45deg)}.ap-c-map-pin .ap-c-icon{width:15px;height:15px;transform:rotate(45deg)}
.ap-c-ride-sheet{position:relative;display:flex;flex:none;flex-direction:column;gap:clamp(5px,2cqw,8px);padding:7px clamp(10px,4cqw,17px) clamp(8px,3cqw,13px);border-radius:17px 17px 0 0;background:var(--c-surface);box-shadow:0 -8px 24px #18151219}.ap-c-sheet-handle{width:30px;height:3px;margin:0 auto 2px;border-radius:3px;background:#c9c2b7}.ap-c-ride-sheet h2{font-size:clamp(15px,6cqw,22px)}.ap-c-ride-sheet label{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;min-height:clamp(34px,11cqw,42px);padding:5px 8px;border:1px solid var(--c-line);border-radius:11px}.ap-c-ride-sheet label>i{width:7px;height:7px;border:2px solid #151515;border-radius:50%}.ap-c-ride-sheet label+label>i{border-radius:1px;background:#151515}.ap-c-ride-sheet label>span{display:grid}.ap-c-ride-sheet label small{color:var(--c-muted)}.ap-c-ride-sheet label b{font-size:clamp(9px,3.5cqw,12px)}.ap-c-ride-sheet label>.ap-c-icon{width:1.05em;height:1.05em}.ap-c-fare{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:clamp(8px,3cqw,10px)}.ap-c-fare>span{display:flex;align-items:center;gap:5px}.ap-c-fare .ap-c-icon{width:1.25em;height:1.25em}.ap-c-fare em{color:var(--c-muted);font-size:.87em;font-style:normal;text-align:right}
.ap-c-map-status{position:absolute;right:8px;bottom:8px;left:8px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 10px;border-radius:11px;background:#151515;color:#fff}.ap-c-map-status b{font-size:clamp(9px,3.5cqw,12px)}.ap-c-map-status span{color:#d7d2c8;font-size:clamp(7px,2.7cqw,9px)}
.ap-c-taxxy-detail{padding:0 clamp(10px,4cqw,17px) clamp(8px,3cqw,12px);gap:clamp(5px,2cqw,8px)}.ap-c-taxxy-detail .ap-c-map-wrap{margin:0 calc(clamp(10px,4cqw,17px)*-1);min-height:105px}.ap-c-driver{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:7px 8px;border-radius:12px;background:var(--c-surface)}.ap-c-driver-photo{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffd20a;font-size:10px;font-weight:800}.ap-c-driver>div{display:grid}.ap-c-driver small{color:var(--c-muted)}.ap-c-driver b{font-size:clamp(9px,3.5cqw,12px)}.ap-c-driver em{color:var(--c-muted);font-size:clamp(7px,2.7cqw,9px);font-style:normal}.ap-c-driver>i{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#151515;color:#ffd20a}.ap-c-driver>i .ap-c-icon{width:14px;height:14px}.ap-c-route-card{display:grid;gap:3px}.ap-c-route-card>span{display:grid;grid-template-columns:8px 1fr;align-items:center;gap:8px;padding:4px 7px;border-left:1px solid #151515}.ap-c-route-card i{width:7px;height:7px;border:2px solid #151515;border-radius:50%}.ap-c-route-card span+span i{border-radius:1px;background:#151515}.ap-c-route-card div{display:grid}.ap-c-route-card small{color:var(--c-muted)}.ap-c-route-card b{font-size:clamp(8px,3.2cqw,11px)}

/* Haiti News Network */
.ap-concept--haiti-news-network{--c-bg:#f8f5ef;--c-surface:#fff;--c-ink:#061d3a;--c-muted:#697587;--c-line:#dce1e6;--c-accent:#ed1c2e}
.ap-concept--haiti-news-network .ap-c-header{background:#061d3a;color:#fff;border-color:#17304e}.ap-concept--haiti-news-network .ap-c-header span{color:#aebccc}.ap-concept--haiti-news-network .ap-c-header-action{border-color:#ffffff35;background:#ffffff10;color:#fff!important}
.ap-c-topic-strip{display:flex;align-items:center;gap:5px;flex:none;overflow:hidden}.ap-c-topic-strip>*{padding:4px 7px;border-radius:99px;background:#e9edf1;font-size:clamp(8px,3cqw,10px);white-space:nowrap}.ap-c-topic-strip b{background:#061d3a;color:#fff}
.ap-c-hnn-lead{position:relative;flex:none;height:clamp(137px,32cqh,208px);overflow:hidden;border-radius:15px;background:#061d3a;color:#fff}.ap-c-hnn-lead img{position:absolute;width:200%;left:-100%;object-position:right top}.ap-c-hnn-lead:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#031226 0,#061d3a8c 64%,#061d3a33)}.ap-c-hnn-lead figcaption{position:absolute;z-index:2;right:11px;bottom:10px;left:11px;display:grid;gap:3px;color:#fff}.ap-c-hnn-lead small{color:#ff8a94}.ap-c-hnn-lead strong{color:#fff;font-size:clamp(15px,5.8cqw,22px);line-height:1.02;letter-spacing:-.04em;text-shadow:0 1px 9px #000}.ap-c-hnn-lead figcaption>span{display:flex;align-items:center;gap:5px;color:#fff;font-size:clamp(8px,3cqw,10px)}.ap-c-hnn-lead .ap-c-icon{width:1em;height:1em}
.ap-c-news-list article{position:relative;display:grid;gap:2px;padding:6px 18px 6px 0;border-top:1px solid var(--c-line)}.ap-c-news-list article b{font-size:clamp(9px,3.6cqw,13px);line-height:1.15}.ap-c-news-list article span{color:var(--c-muted);font-size:clamp(7px,2.8cqw,10px)}.ap-c-news-list article i{position:absolute;top:50%;right:0;transform:translateY(-50%)}.ap-c-news-list article i .ap-c-icon{width:1em;height:1em}
.ap-c-article-tools{display:flex;align-items:center;justify-content:space-between;flex:none;color:var(--c-muted);font-size:clamp(8px,3cqw,10px)}.ap-c-article-tools span,.ap-c-article-tools b{display:flex;align-items:center;gap:4px}.ap-c-article-tools .ap-c-icon{width:1.1em;height:1.1em}.ap-c-reader{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.ap-c-reader>small{color:#ed1c2e}.ap-c-reader h2{margin:4px 0;font-size:clamp(17px,6.5cqw,25px);line-height:.99}.ap-c-byline{color:var(--c-muted);font-size:clamp(8px,3cqw,10px)}.ap-c-reader figure{height:clamp(76px,18cqh,118px);flex:none;margin:7px 0;overflow:hidden;border-radius:11px}.ap-c-reader figure img{width:200%;object-position:right top}.ap-c-reader>p:not(.ap-c-byline){font-family:Georgia,serif;font-size:clamp(9px,3.35cqw,12px);line-height:1.4;letter-spacing:0}.ap-c-reader blockquote{display:grid;gap:2px;margin-top:7px;padding:6px 8px;border-left:3px solid #ed1c2e;background:#fff}.ap-c-reader blockquote b{font-size:clamp(8px,3cqw,11px)}.ap-c-reader blockquote span{font-size:clamp(8px,3.1cqw,11px);line-height:1.25}

/* LyfeMax */
.ap-concept--lyfemax-ai{--c-bg:#eef6f3;--c-surface:#fff;--c-ink:#112c38;--c-muted:#667b80;--c-line:#d9e6e3;--c-accent:#164d5e}
.ap-c-streak{display:grid;place-items:center;width:clamp(41px,15cqw,55px);height:clamp(41px,15cqw,55px);border-radius:50%;background:#f0a8b4;color:#4b2030;font-size:clamp(14px,5.3cqw,20px);font-weight:800;line-height:.78}.ap-c-streak b{font-size:clamp(7px,2.5cqw,9px)}.ap-c-wellness-overview{padding:clamp(9px,3.5cqw,14px);border-radius:16px;background:#164d5e;color:#fff}.ap-c-wellness-overview header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px}.ap-c-wellness-overview header>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffffff17;color:#82d2be}.ap-c-wellness-overview header .ap-c-icon{width:17px;height:17px}.ap-c-wellness-overview header>div{display:grid}.ap-c-wellness-overview small{color:#a9cbc9}.ap-c-wellness-overview strong{font-size:clamp(12px,4.7cqw,17px)}.ap-c-wellness-overview em{font-size:clamp(12px,4.5cqw,16px);font-style:normal;font-weight:780}
.ap-c-bars{display:flex;align-items:end;justify-content:space-between;height:clamp(38px,12cqw,48px);margin-top:7px}.ap-c-bars i{width:9%;height:var(--v);border-radius:5px 5px 2px 2px;background:#ffffff32}.ap-c-bars i.is-today{background:#82d2be}.ap-c-wellness-overview footer{display:flex;justify-content:space-between;color:#a9cbc9;font-size:clamp(7px,2.7cqw,9px)}
.ap-c-plan-list article{display:grid;grid-template-columns:clamp(27px,9cqw,34px) 1fr auto;align-items:center;gap:7px;padding:5px 0;border-top:1px solid var(--c-line)}.ap-c-plan-list article>i{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:9px;background:#d9eee8;color:#1b6b5b}.ap-c-plan-list article>i .ap-c-icon{width:55%;height:55%}.ap-c-plan-list article>div{display:grid}.ap-c-plan-list article b{font-size:clamp(9px,3.45cqw,12px)}.ap-c-plan-list article span{color:var(--c-muted);font-size:clamp(7px,2.7cqw,9px)}.ap-c-plan-list article>em{color:#1b6b5b}.ap-c-plan-list article>em .ap-c-icon{width:1.05em;height:1.05em}
.ap-c-reset-card{display:grid;place-items:center;padding:clamp(11px,4cqw,16px);border-radius:17px;background:linear-gradient(145deg,#164d5e,#276878);color:#fff;text-align:center}.ap-c-reset-card small{margin-top:5px;color:#9ed2c8}.ap-c-reset-card h2{margin:2px 0;color:#fff}.ap-c-reset-card p{color:#c6dfe0;font-size:clamp(8px,3cqw,11px)}.ap-c-orbit{position:relative;display:grid;place-items:center;width:clamp(46px,16cqw,61px);height:clamp(46px,16cqw,61px);border:1px solid #ffffff50;border-radius:50%;color:#82d2be}.ap-c-orbit:before{content:"";position:absolute;inset:7px;border:1px dashed #ffffff50;border-radius:50%}.ap-c-orbit .ap-c-icon{width:43%;height:43%}.ap-c-orbit i{position:absolute;top:4px;right:6px;width:6px;height:6px;border-radius:50%;background:#f0a8b4}
.ap-c-steps{display:grid;gap:3px}.ap-c-steps>span{display:grid;grid-template-columns:22px 1fr 1fr auto;align-items:center;gap:6px;min-height:30px;padding:4px 7px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-surface)}.ap-c-steps b{color:#1b6b5b;font-size:clamp(8px,3cqw,10px)}.ap-c-steps i{height:2px;background:#d4e2df}.ap-c-steps em{font-size:clamp(8px,3.2cqw,11px);font-style:normal;font-weight:680}.ap-c-steps small{color:var(--c-muted)}.ap-c-note-line{color:var(--c-muted);font-size:clamp(8px,3cqw,10px);text-align:center}

/* Pulse */
.ap-concept--pulse-safety-check-in{--c-bg:#f2f8f4;--c-surface:#fff;--c-ink:#183328;--c-muted:#687b71;--c-line:#d9e6de;--c-accent:#26774f}
.ap-c-checkin-card{display:flex;flex-direction:column;align-items:center;flex:none;padding:clamp(10px,4cqw,15px);border-radius:18px;background:linear-gradient(145deg,#d8f1e1,#f7fbf8);text-align:center;box-shadow:inset 0 0 0 1px #cce4d4}.ap-c-pulse-mark{display:grid;place-items:center;width:clamp(38px,14cqw,52px);height:clamp(38px,14cqw,52px);margin-bottom:5px;border-radius:15px;background:#fff;color:#24a868;box-shadow:0 8px 20px #26774f1e}.ap-c-pulse-mark .ap-c-icon{width:60%;height:60%}.ap-c-checkin-card small{color:#39805a}.ap-c-checkin-card h2{margin:3px 0 8px}.ap-c-checkin-card>.ap-c-cta{width:100%;margin-top:8px}.ap-c-mood{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:5px}.ap-c-mood>span{display:grid;place-items:center;gap:3px;padding:6px 3px;border-radius:10px;background:#fff;color:var(--c-muted);font-size:clamp(8px,3cqw,10px)}.ap-c-mood i{width:12px;height:12px;border:3px solid #6ab88b;border-radius:50%}.ap-c-mood span:nth-child(2) i{border-color:#ddaa62}.ap-c-mood span:nth-child(3) i{border-color:#7a9bac}
.ap-c-spaces article{display:grid;grid-template-columns:clamp(29px,10cqw,38px) 1fr auto;align-items:center;gap:7px;padding:5px 0;border-top:1px solid var(--c-line)}.ap-c-spaces article>i{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:11px;background:#dcefe3;color:#26774f}.ap-c-spaces article>i .ap-c-icon{width:55%;height:55%}.ap-c-spaces article>div{display:grid}.ap-c-spaces article b{font-size:clamp(9px,3.5cqw,12px)}.ap-c-spaces article span{color:var(--c-muted);font-size:clamp(7px,2.7cqw,9px)}.ap-c-spaces article>em{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#edf4ef;color:#26774f;font-size:8px;font-style:normal;font-weight:780}.ap-c-privacy{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--c-muted);font-size:clamp(8px,3cqw,10px)}.ap-c-privacy .ap-c-icon{width:1.05em;height:1.05em;color:#26774f}
.ap-c-space-card{display:grid;place-items:center;padding:clamp(10px,3.8cqw,15px);border-radius:17px;background:#183328;color:#fff;text-align:center}.ap-c-space-shield{position:relative;display:grid;place-items:center;width:clamp(45px,16cqw,59px);height:clamp(45px,16cqw,59px);border-radius:18px;background:#ffffff13;color:#6fe2a6}.ap-c-space-shield .ap-c-icon{width:58%;height:58%}.ap-c-space-shield i{position:absolute;right:2px;bottom:2px;width:10px;height:10px;border:2px solid #183328;border-radius:50%;background:#6fe2a6}.ap-c-space-card small{margin-top:4px;color:#91c4a6}.ap-c-space-card h2{margin:2px 0;color:#fff}.ap-c-space-card p{color:#bdd2c5;font-size:clamp(8px,3cqw,11px)}.ap-c-faces{display:flex;margin-top:8px}.ap-c-faces i{display:grid;place-items:center;width:clamp(23px,8cqw,30px);height:clamp(23px,8cqw,30px);margin-left:-4px;border:2px solid #183328;border-radius:50%;background:#dcefe3;color:#26774f;font-size:clamp(7px,2.7cqw,9px);font-style:normal;font-weight:750}.ap-c-faces i:first-child{margin-left:0}
.ap-c-routine header{display:flex;justify-content:space-between}.ap-c-routine header span{color:var(--c-muted);font-size:clamp(8px,3cqw,10px)}.ap-c-routine>p{display:grid;grid-template-columns:clamp(27px,9cqw,34px) 1fr;align-items:center;gap:7px;padding:5px 0;border-bottom:1px solid var(--c-line)}.ap-c-routine>p>i{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:10px;background:#dcefe3;color:#26774f}.ap-c-routine>p>i .ap-c-icon{width:52%;height:52%}.ap-c-routine>p>span{display:grid}.ap-c-routine b{font-size:clamp(9px,3.4cqw,12px)}.ap-c-routine em{color:var(--c-muted);font-size:clamp(8px,3cqw,10px);font-style:normal}

/* Dark display preference uses explicit theme state; no OS-query coupling. */
html[data-theme="dark"] .ap-concept-screen{--c-bg:#11191e;--c-surface:#1a252c;--c-ink:#edf4f5;--c-muted:#9cafb7;--c-line:#33434b}
html[data-theme="dark"] .ap-concept--skolr-ai{--c-accent:#70c8d9}.ap-concept-screen[data-state="success"]{}
html[data-theme="dark"] .ap-concept--ari-market{--c-bg:#161513;--c-surface:#211f1b;--c-line:#3b3832;--c-accent:#d9ece9;--c-accent-ink:#172120}
html[data-theme="dark"] .ap-concept--haum{--c-accent:#83d2c8}html[data-theme="dark"] .ap-concept--haum .ap-c-home-task{background:#213631}
html[data-theme="dark"] .ap-concept--taxxy{--c-bg:#181612;--c-surface:#231f19;--c-line:#3f3930;--c-accent:#ffd20a;--c-accent-ink:#151515}
html[data-theme="dark"] .ap-concept--taxxy .ap-c-header{color:#151515}html[data-theme="dark"] .ap-concept--taxxy .ap-c-map{filter:brightness(.72) saturate(.8)}
html[data-theme="dark"] .ap-concept--haiti-news-network{--c-bg:#0d1724;--c-surface:#152334;--c-line:#2b3e53}
html[data-theme="dark"] .ap-concept--lyfemax-ai{--c-accent:#81d3bd}html[data-theme="dark"] .ap-concept--pulse-safety-check-in{--c-accent:#70d59e}
html[data-theme="dark"] .ap-c-checkin-card{background:linear-gradient(145deg,#173526,#14261e);box-shadow:inset 0 0 0 1px #2c513d}
html[data-theme="dark"] .ap-c-checkin-card .ap-c-mood>span,html[data-theme="dark"] .ap-c-pulse-mark{background:#1d3027}
html[data-theme="dark"] .ap-c-reader blockquote{background:#152334}html[data-theme="dark"] .ap-c-note{background:#1b3038}
html[data-theme="dark"] .ap-c-agenda i{background:#1b3540}html[data-theme="dark"] .ap-c-member-chip{background:#203c38;color:#b9e4dc}
html[data-theme="dark"] .ap-c-topic-strip>*{background:#243245}html[data-theme="dark"] .ap-c-topic-strip b{background:#edf4f5;color:#061d3a}

/* Narrow gallery cards keep the same hierarchy and readable action labels. */
@container (max-width:250px){
  .ap-c-main{gap:5px;padding:8px 9px 6px}.ap-c-system{padding-right:9px;padding-left:9px}.ap-c-header{padding-right:9px;padding-left:9px}
  .ap-c-cta{min-height:32px;padding:0 9px}.ap-c-next-class,.ap-c-profile-card,.ap-c-reset-card,.ap-c-space-card{padding:9px}
  .ap-c-agenda>span{min-height:31px;padding:3px 6px}.ap-c-ari-feature{height:135px}.ap-c-ari-art{height:145px}
  .ap-c-haum-photo{height:108px}.ap-c-hnn-lead{height:128px}.ap-c-clip-preview{height:118px}
  .ap-c-reader figure{height:68px}.ap-c-checkin-card{padding:8px}.ap-c-checkin-card h2{margin-bottom:5px}
  .ap-c-ride-sheet{padding:6px 9px 7px}.ap-c-taxxy-detail{padding-right:9px;padding-left:9px}
}
@container (max-height:500px){
  .ap-c-system{height:20px;padding-top:6px}.ap-c-header{min-height:39px;padding-bottom:6px}.ap-c-nav{height:40px;padding-bottom:5px}
  .ap-c-main{gap:5px;padding-top:7px;padding-bottom:5px}.ap-c-cta{min-height:31px}.ap-c-ari-feature{height:125px}.ap-c-ari-art{height:134px}
  .ap-c-haum-photo{height:102px}.ap-c-hnn-lead{height:118px}.ap-c-clip-preview{height:108px}.ap-c-reader figure{height:62px;margin:5px 0}
  .ap-c-wellness-overview{padding:8px}.ap-c-bars{height:32px}.ap-c-checkin-card{padding:7px}.ap-c-checkin-card>.ap-c-cta{margin-top:5px}
  .ap-c-plan-list article,.ap-c-news-list article,.ap-c-family-agenda article,.ap-c-spaces article{padding-top:3px;padding-bottom:3px}
  .ap-c-task-hero,.ap-c-profile-card,.ap-c-next-class,.ap-c-reset-card,.ap-c-space-card{padding:8px}
}
@container (min-width:350px) and (max-height:580px){
  .ap-c-ari-detail .ap-c-ari-art{height:175px}
}
@media (forced-colors:active){
  .ap-concept-screen{forced-color-adjust:auto}.ap-c-cta,.ap-c-next-class,.ap-c-task-hero,.ap-c-space-card,.ap-c-wellness-overview{border:1px solid ButtonText}
  .ap-c-viewfinder>i,.ap-c-nav>span.is-active:before{background:Highlight}
}

