/* Four-part capability composition, scoped to the second model stack card. */
#models.ms-monday-layout .ms-bento-card{display:flex;flex-direction:column;gap:20px;padding:26px;height:680px;min-height:510px;max-height:calc(100svh - 140px)}
#models .mb-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none}
#models .mb-heading h3{font-size:clamp(25px,2.3vw,34px);font-weight:550;line-height:1.4;letter-spacing:-1px;color:#24292c;margin:0}
#models .mb-heading p{font-size:12px;line-height:1.8;color:#7b8388;margin-top:6px}
#models .mb-heading .ms-model-flow{gap:10px}
#models .mb-heading .ms-flow-model,#models .mb-heading .ms-flow-brand,#models .mb-heading .ms-flow-more{width:37px;height:37px}
#models .mb-heading .ms-flow-model img{width:22px;height:22px}#models .mb-heading .ms-flow-brand img{width:27px;height:27px}
#models .mb-heading .ms-flow-more{font-size:23px}#models .mb-heading .ms-flow-arrow{font-size:27px}
#models .mb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1.22fr);grid-template-rows:minmax(0,1.08fr) minmax(0,1fr);gap:14px;flex:1;min-height:0}
#models .mb-tile{position:relative;min-width:0;overflow:hidden;background:rgba(255,255,255,.84);border:1px solid #fff;border-radius:22px;padding:23px 24px;box-shadow:0 5px 22px #25313b03}
#models .mb-tile h4{font-size:22px;line-height:1.45;letter-spacing:-.6px;font-weight:550;color:#30383d;margin:0}
#models .mb-tile>p,#models .mb-delivery-copy>p{font-size:12px;line-height:1.8;color:#8a9297;margin-top:7px}
#models .mb-files{height:166px;position:absolute;bottom:-9px;left:0;right:0;display:flex;justify-content:center;align-items:flex-start;padding-top:8px}
#models .mb-file{width:136px;height:150px;background:linear-gradient(135deg,#ffffffd9,#edf0f2b8);border:1px solid white;border-radius:13px;padding:16px;box-shadow:0 9px 24px #23343e10;backdrop-filter:blur(16px);text-align:left}
#models .mb-file-front{position:relative;transform:rotate(8deg);margin-left:34px;transition:transform .4s}
#models .mb-file-front svg{width:28px;height:33px;margin-bottom:12px}
#models .mb-file strong,#models .mb-file span{display:block;white-space:nowrap;font-size:10px;line-height:1.8;color:#65737e;font-weight:500}
#models .mb-file-front>span{font-size:9px;color:#97a0a7;margin-top:3px}
#models .mb-file-back{position:absolute;transform:rotate(-13deg) translateX(-30px);background:linear-gradient(145deg,#e6eaede8,#f8f9faf2)}
#models .mb-file-back>span{font-size:11px;margin:13px 0 17px}
#models .mb-file i{display:block;width:76%;height:4px;background:#d6dde2;border-radius:3px;margin-top:10px}#models .mb-file i:last-child{width:49%}
#models .mb-materials:hover .mb-file-front{transform:rotate(3deg) translateY(-4px)}
#models .mb-team-scene{position:absolute;height:164px;left:12px;right:12px;bottom:12px}
#models .mb-team-lines{position:absolute;inset:0;width:100%;height:100%}
#models .mb-person{position:absolute;display:flex;flex-direction:column;align-items:center;gap:3px;transform:translateX(-50%)}
#models .mb-person img{object-fit:cover;background:#f0f2f3;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 10px #27333e0b;transition:transform .3s}
#models .mb-person>span{font-size:9px;white-space:nowrap;color:#929ca3}
#models .mb-person-chief{left:50%;top:0}#models .mb-person-ops{left:14%;top:101px}#models .mb-person-tech{left:50%;top:111px}#models .mb-person-design{left:86%;top:101px}
#models .mb-team:hover .mb-person-chief img{transform:translateY(-3px)}
#models .mb-delivery{grid-column:1/3;display:flex;align-items:center;background:radial-gradient(ellipse at 100% 100%,#d6dfe3 0,transparent 69%),linear-gradient(125deg,#e8ebed,#f8f9f9);padding:24px}
#models .mb-delivery-copy{position:relative;z-index:2;max-width:52%}
#models .mb-delivery-copy h4{font-size:25px;line-height:1.5}
#models .mb-confirm{display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.8;padding:5px 9px;margin-top:20px;border:1px solid #fff;background:#ffffff7a;border-radius:20px;color:#7d898f;white-space:nowrap}
#models .mb-confirm>span{font-size:11px;color:#75858d}
#models .mb-deliverable-cards{position:absolute;bottom:-14px;right:10px;width:47%;height:185px;display:flex;align-items:flex-end;justify-content:center}
#models .mb-deliverable-cards>button{position:absolute;bottom:0;right:calc(var(--paper-index)*55px);width:126px;height:173px;padding:17px 14px;text-align:left;border:1px solid #fff;border-radius:13px;background:linear-gradient(145deg,#f5f7f8e8,#e2e8ece8);box-shadow:0 6px 20px #2537430c;transform:translateY(calc(var(--paper-index)*-7px)) rotate(calc(13deg - var(--paper-index)*12deg));transform-origin:center bottom;transition:transform .3s,background .3s;cursor:pointer;color:#5f707b}
#models .mb-deliverable-cards>button:nth-child(1){--paper-index:0;z-index:1}#models .mb-deliverable-cards>button:nth-child(2){--paper-index:1;z-index:2}#models .mb-deliverable-cards>button:nth-child(3){--paper-index:2;z-index:3}
#models .mb-deliverable-cards>button.is-active{background:linear-gradient(135deg,#fff,#f3f5f6);box-shadow:0 10px 28px #26384514}
#models .mb-deliverable-cards>button:hover,#models .mb-deliverable-cards>button:focus-visible{z-index:4;transform:translateY(-20px) rotate(0);outline:2px solid #a9b8c0;outline-offset:3px}
#models .mb-paper-symbol{display:grid;place-items:center;width:29px;height:32px;color:#9aa9b2;font-size:23px;line-height:1;margin-bottom:12px;border:1px solid #dce3e7;border-radius:6px;background:#fff9}
#models .mb-visual-symbol>i{display:block;width:13px;height:13px;background:#c4d0d7;border-radius:50% 50% 4px 4px}
#models .mb-deliverable-cards strong{display:block;font-size:11px;font-weight:550;white-space:nowrap}#models .mb-deliverable-cards small{display:block;font-size:7px;white-space:nowrap;margin-top:12px;color:#93a0a8}
#models .mb-deliverable-cards button>i{display:block;width:88%;height:3px;border-radius:3px;background:#dce3e7;margin-top:9px}#models .mb-deliverable-cards button>i+i{width:62%}
#models.ms-monday-layout .mb-grid>.ms-result-window{grid-column:3;grid-row:1/3;border-radius:22px}
#models.ms-monday-layout .mb-grid .ms-window-bar{padding-inline:16px;font-size:10px}
#models.ms-monday-layout .mb-grid .ms-window-context{padding:10px 16px;flex-wrap:wrap;gap:7px;min-height:62px}
#models.ms-monday-layout .mb-grid .ms-selected-model{font-size:8px}
#models.ms-monday-layout .mb-grid .ms-result-body{padding:17px 20px 19px}
#models.ms-monday-layout .mb-grid .ms-task-tabs{flex-wrap:wrap;gap:3px}
#models.ms-monday-layout .mb-grid .ms-task-tabs>button{font-size:9px;min-height:29px;padding:4px 3px}
#models.ms-monday-layout .mb-grid .ms-document-heading{margin-top:18px}
#models.ms-monday-layout .mb-grid .ms-document-title{font-size:22px;color:#3e515d}
#models.ms-monday-layout .mb-grid .ms-document-lede{font-size:11px;color:#87959e;line-height:1.8}
#models.ms-monday-layout .mb-grid .ms-document-sections{gap:11px;margin-top:17px}
#models.ms-monday-layout .mb-grid .ms-document-sections h5{font-size:11px;color:#71838e}
#models.ms-monday-layout .mb-grid .ms-document-sections p{font-size:10.5px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#8a9ba6}
#models.ms-monday-layout .mb-grid .ms-document-source{font-size:8px;gap:8px}
@media(min-width:1001px) and (max-height:760px){#models.ms-monday-layout .ms-bento-card{padding:20px;gap:14px;min-height:510px}#models .mb-heading h3{font-size:27px}#models .mb-tile{padding:17px 19px}#models .mb-tile h4{font-size:20px}#models .mb-tile>p{font-size:11px}#models .mb-team-scene{height:135px;bottom:6px}#models .mb-person-chief img{width:47px;height:47px}#models .mb-person:not(.mb-person-chief) img{width:37px;height:37px}#models .mb-person-ops,#models .mb-person-design{top:78px}#models .mb-person-tech{top:83px}#models .mb-files{bottom:-30px}#models .mb-deliverable-cards{bottom:-25px;transform:scale(.89);transform-origin:right bottom}#models .mb-delivery-copy h4{font-size:23px}#models .mb-confirm{margin-top:12px}}
@media(max-width:1000px){#models.ms-monday-layout .ms-bento-card{position:relative;top:auto;height:auto;max-height:none;min-height:0;padding:22px;gap:22px}#models .mb-heading{align-items:flex-start;flex-direction:column;gap:16px}#models .mb-heading h3{font-size:29px}#models .mb-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:260px 240px auto;flex:none}#models.ms-monday-layout .mb-grid>.ms-result-window{grid-column:1/3;grid-row:3;height:auto;min-height:0}#models .mb-grid .ms-result-body{overflow:visible}#models .mb-deliverable-cards{width:43%}#models .mb-grid .ms-composition{max-width:380px}}
@media(max-width:580px){#models.ms-monday-layout .ms-bento-card{padding:17px;gap:22px}#models .mb-heading h3{font-size:27px;line-height:1.5;max-width:290px}#models .mb-heading p{font-size:11px;max-width:240px}#models .mb-grid{display:flex;flex-direction:column;gap:12px}#models .mb-tile{padding:23px;min-height:255px;flex:none}#models .mb-tile h4{font-size:23px}#models .mb-team-scene{bottom:15px}#models .mb-delivery{min-height:310px;align-items:flex-start;padding:23px}#models .mb-delivery-copy{max-width:100%}#models .mb-delivery-copy h4{font-size:24px}#models .mb-delivery-copy>p{font-size:12px}#models .mb-confirm{margin-top:12px}#models .mb-deliverable-cards{width:230px;right:8px;bottom:-32px;transform:scale(.86);transform-origin:right bottom}#models.ms-monday-layout .mb-grid>.ms-result-window{height:auto;min-height:0}#models .mb-grid .ms-result-body{padding:17px}#models .mb-grid .ms-document-sections p{-webkit-line-clamp:unset}#models .mb-grid .ms-window-context{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){#models .mb-file-front,#models .mb-person img,#models .mb-deliverable-cards>button{transition:none}}

/* Keep the original Monday split: original copy left, three capability tiles right. */
#models.ms-monday-layout .ms-bento-side>.mb-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1.05fr) minmax(0,1fr);width:100%;height:100%;align-self:stretch;gap:14px;flex:initial}
#models .ms-bento-side .mb-tile{padding:22px 21px;border-radius:22px;overflow:clip}
#models .ms-bento-side .mb-tile h4{font-size:22px;line-height:1.5}
#models .ms-bento-side .mb-tile>p{font-size:11px;line-height:1.85}
#models .ms-bento-side .mb-files{height:157px;bottom:-9px}
#models .ms-bento-side .mb-team-scene{height:151px;bottom:12px}
#models .ms-bento-side .mb-person-chief img{width:52px;height:52px}
#models .ms-bento-side .mb-person:not(.mb-person-chief) img{width:41px;height:41px}
#models .ms-bento-side .mb-person-ops,#models .ms-bento-side .mb-person-design{top:91px}
#models .ms-bento-side .mb-person-tech{top:99px}
#models .ms-bento-side .mb-delivery-copy h4{font-size:25px;line-height:1.5}
#models .ms-bento-side .mb-delivery-copy>p{font-size:12px}
#models .ms-bento-side .mb-deliverable-cards{height:190px;width:47%;right:3px;bottom:-11px}
#models .mb-preview-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100svh - 48px);padding:0;border:1px solid #e4e8eb;border-radius:23px;background:#f4f6f7;color:#405361;box-shadow:0 25px 100px #182a3f30;overflow:auto;margin:auto}
#models .mb-preview-dialog:not([open]){display:none}
#models .mb-preview-dialog::backdrop{background:#1e29394d;backdrop-filter:blur(6px)}
#models .mb-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 19px}
#models .mb-dialog-toolbar h4{font-size:13px;font-weight:500;margin:0}
#models .mb-dialog-close{display:grid;place-items:center;border:1px solid #e3e8eb;background:#fff;border-radius:50%;width:32px;height:32px;font:23px/1 Arial;color:#687782;cursor:pointer}
#models .mb-dialog-close:focus-visible{outline:2px solid #8a9aa7;outline-offset:3px}
#models.ms-monday-layout .mb-preview-dialog>.ms-result-window{height:auto;border-radius:0;border:0;min-height:0}
#models.ms-monday-layout .mb-preview-dialog .ms-result-body{overflow:visible}
@media(min-width:768px) and (max-width:1100px){#models.ms-monday-layout .ms-bento-side{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px}#models .ms-bento-side .mb-tile{padding:17px 16px}#models .ms-bento-side .mb-tile h4{font-size:18px}#models .ms-bento-side .mb-tile>p{font-size:10px}#models .ms-bento-side .mb-delivery-copy h4{font-size:21px}#models .ms-bento-side .mb-delivery-copy>p{font-size:11px}#models .ms-bento-side .mb-confirm{font-size:8px;padding-inline:7px}#models .ms-bento-side .mb-deliverable-cards{transform:scale(.85);transform-origin:right bottom;right:-8px}#models .ms-bento-side .mb-person>span{font-size:8px}}
@media(min-width:768px) and (max-height:760px){#models .ms-bento-side .mb-tile{padding:17px 19px}#models .ms-bento-side .mb-tile h4{font-size:20px}#models .ms-bento-side .mb-tile>p{font-size:10px}#models .ms-bento-side .mb-files{bottom:-27px}#models .ms-bento-side .mb-team-scene{height:133px;bottom:7px}#models .ms-bento-side .mb-person-chief img{width:45px;height:45px}#models .ms-bento-side .mb-person:not(.mb-person-chief) img{width:36px;height:36px}#models .ms-bento-side .mb-person-ops,#models .ms-bento-side .mb-person-design{top:77px}#models .ms-bento-side .mb-person-tech{top:82px}#models .ms-bento-side .mb-delivery-copy h4{font-size:23px}#models .ms-bento-side .mb-deliverable-cards{bottom:-22px;transform:scale(.87);transform-origin:right bottom}}
@media(max-width:767px){#models.ms-monday-layout .ms-bento-side>.mb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:255px 260px;height:auto;gap:12px}#models .ms-bento-side .mb-tile{min-height:0}#models .ms-bento-side .mb-delivery{min-height:0;align-items:center}#models .ms-bento-side .mb-delivery-copy{max-width:52%}#models .ms-bento-side .mb-deliverable-cards{width:47%;height:190px;transform:none}#models .ms-bento-side .mb-confirm{margin-top:20px}}
@media(max-width:580px){#models.ms-monday-layout .ms-bento-side>.mb-grid{display:flex;flex-direction:column;height:auto}#models .ms-bento-side .mb-tile{min-height:255px;padding:23px}#models .ms-bento-side .mb-tile h4{font-size:23px}#models .ms-bento-side .mb-tile>p{font-size:11px}#models .ms-bento-side .mb-delivery{min-height:320px;align-items:flex-start}#models .ms-bento-side .mb-delivery-copy{max-width:100%}#models .ms-bento-side .mb-delivery-copy h4{font-size:24px}#models .ms-bento-side .mb-deliverable-cards{width:230px;right:4px;bottom:-23px;transform:scale(.86);transform-origin:right bottom}#models .ms-bento-side .mb-confirm{margin-top:13px}}

/* Larger artwork and readable labels: model capability -> task team -> deliverable. */
#models .ms-bento-side .mb-tile h4{font-size:24px;font-weight:550;line-height:1.4;color:#283238}
#models .ms-bento-side .mb-tile>p,#models .ms-bento-side .mb-delivery-copy>p{font-size:13px;line-height:1.75;color:#5f6a72;margin-top:9px}
#models .ms-bento-side .mb-files{height:194px;bottom:-14px;padding-top:7px}
#models .ms-bento-side .mb-file{width:164px;height:186px;padding:18px;border-color:#fff;background:linear-gradient(135deg,#fff,#eef1f3);box-shadow:0 10px 25px #22374218}
#models .ms-bento-side .mb-file-back{background:linear-gradient(145deg,#dde4e8,#f4f6f7)}
#models .ms-bento-side .mb-file strong,#models .ms-bento-side .mb-file span{font-size:12px;color:#4b5b66;font-weight:500;line-height:1.7}
#models .ms-bento-side .mb-file-front>strong{margin-top:7px}
#models .ms-bento-side .mb-file-front>span:last-child{font-size:11px;color:#65737d;margin-top:4px}
#models .ms-bento-side .mb-file i{background:#b9c5cd;height:4px}
#models .ms-bento-side .mb-capability-mark{display:flex;align-items:center;gap:8px;height:49px;margin-bottom:6px}
#models .ms-bento-side .mb-model-mark{display:grid;place-items:center;width:48px;height:48px;border:1px solid #dce3e7;background:#fff;border-radius:13px;flex:none}
#models .ms-bento-side .mb-model-mark img{width:37px;height:37px;object-fit:contain}
#models .ms-bento-side .mb-capability-arrow{font-size:20px;color:#6d7d87}
#models .ms-bento-side .mb-capability-mark svg{width:33px;height:40px;margin:0;flex:none}
#models .ms-bento-side .mb-file .mb-active-provider{font-size:12px;color:#465963;font-weight:550}
#models .ms-bento-side .mb-team-scene{height:190px;bottom:9px;left:14px;right:14px}
#models .ms-bento-side .mb-team-lines path{stroke:#aebbc4;stroke-width:1.5}
#models .ms-bento-side .mb-person{gap:4px}
#models .ms-bento-side .mb-person-chief img{width:76px;height:76px}
#models .ms-bento-side .mb-person:not(.mb-person-chief) img{width:56px;height:56px}
#models .ms-bento-side .mb-person img{border-width:3px;box-shadow:0 5px 16px #25374315;background:#e9eef1}
#models .ms-bento-side .mb-person>span{font-size:11px;color:#566670;font-weight:500;line-height:1.5}
#models .ms-bento-side .mb-person-ops,#models .ms-bento-side .mb-person-design{top:112px}
#models .ms-bento-side .mb-person-tech{top:120px}
#models .ms-bento-side .mb-delivery-copy h4{font-size:25px;line-height:1.45;letter-spacing:-.5px}
#models .ms-bento-side .mb-confirm{font-size:11px;color:#586771;border-color:#fff;background:#ffffffe0;padding:6px 10px}
#models .ms-bento-side .mb-confirm>span{font-size:14px;color:#617780}
#models .ms-bento-side .mb-deliverable-cards{height:220px;bottom:-10px;right:1px}
#models .ms-bento-side .mb-deliverable-cards>button{width:148px;height:205px;padding:18px 16px;right:calc(var(--paper-index)*60px);background:linear-gradient(145deg,#edf2f5,#dce5eb);border-color:#fff;color:#405762;box-shadow:0 7px 22px #263e4e17}
#models .ms-bento-side .mb-deliverable-cards>button.is-active{background:linear-gradient(135deg,#fff,#f1f5f7);box-shadow:0 10px 28px #26384520}
#models .ms-bento-side .mb-paper-symbol{width:43px;height:46px;margin-bottom:13px;background:#fff;border-color:#bfcdd6;border-radius:9px}
#models .ms-bento-side .mb-paper-symbol>svg{width:30px;height:34px;stroke:#687f8d;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#models .ms-bento-side .mb-deliverable-cards strong{font-size:14px;color:#40535f}
#models .ms-bento-side .mb-deliverable-cards small{font-size:10px;color:#647985;margin-top:12px}
#models .ms-bento-side .mb-deliverable-cards button>i{background:#bdcbd4;height:4px;margin-top:8px}
@media(min-width:768px) and (max-width:1100px){#models .ms-bento-side .mb-tile h4{font-size:20px}#models .ms-bento-side .mb-tile>p{font-size:12px}#models .ms-bento-side .mb-files{transform:scale(.86);transform-origin:center bottom}#models .ms-bento-side .mb-team-scene{left:5px;right:5px;height:181px}#models .ms-bento-side .mb-person-chief img{width:65px;height:65px}#models .ms-bento-side .mb-person:not(.mb-person-chief) img{width:46px;height:46px}#models .ms-bento-side .mb-person>span{font-size:10px}#models .ms-bento-side .mb-person-ops,#models .ms-bento-side .mb-person-design{top:112px}#models .ms-bento-side .mb-person-tech{top:120px}#models .ms-bento-side .mb-delivery-copy h4{font-size:22px}#models .ms-bento-side .mb-delivery-copy>p{font-size:12px}#models .ms-bento-side .mb-confirm{font-size:10px;padding-inline:8px}#models .ms-bento-side .mb-deliverable-cards{transform:scale(.81);transform-origin:right bottom}}
@media(min-width:768px) and (max-height:760px){#models .ms-bento-side .mb-tile h4{font-size:21px}#models .ms-bento-side .mb-tile>p{font-size:12px}#models .ms-bento-side .mb-files{height:181px;bottom:-24px;transform:scale(.91);transform-origin:center bottom}#models .ms-bento-side .mb-team-scene{height:162px;bottom:7px}#models .ms-bento-side .mb-person-chief img{width:64px;height:64px}#models .ms-bento-side .mb-person:not(.mb-person-chief) img{width:48px;height:48px}#models .ms-bento-side .mb-person-ops,#models .ms-bento-side .mb-person-design{top:94px}#models .ms-bento-side .mb-person-tech{top:101px}#models .ms-bento-side .mb-delivery-copy h4{font-size:24px}#models .ms-bento-side .mb-deliverable-cards{transform:scale(.9);transform-origin:right bottom;bottom:-20px}}
@media(max-width:767px){#models.ms-monday-layout .ms-bento-side>.mb-grid{grid-template-rows:290px 285px}#models .ms-bento-side .mb-delivery-copy h4{font-size:25px}#models .ms-bento-side .mb-deliverable-cards{transform:none}}
@media(max-width:580px){#models .ms-bento-side .mb-tile{min-height:300px}#models .ms-bento-side .mb-tile h4{font-size:24px}#models .ms-bento-side .mb-tile>p{font-size:13px}#models .ms-bento-side .mb-delivery{min-height:355px}#models .ms-bento-side .mb-delivery-copy h4{font-size:24px}#models .ms-bento-side .mb-deliverable-cards{width:276px;right:0;bottom:-20px;transform:scale(.88);transform-origin:right bottom}#models .ms-bento-side .mb-confirm{font-size:11px}}
@media(min-width:768px) and (max-width:900px){#models .ms-bento-side .mb-team h4{font-size:18px}#models .ms-bento-side .mb-delivery-copy h4{font-size:20px}#models .ms-bento-side .mb-delivery-copy>p{font-size:11px}#models .ms-bento-side .mb-deliverable-cards{right:-24px;transform:scale(.67);transform-origin:right bottom}}
@media(max-width:359px){#models .ms-bento-side .mb-team{min-height:325px}}
