body:has(#an-yarn) :is(.web-header,.web-footer,nav.navbar,.page-breadcrumbs){display:none!important}body:has(#an-yarn) :is(.container,.page-content-wrapper,.page_content,.page-container){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}#an-yarn{--brand:#C20D49;--dark:#A90B40;--soft:#FDE7EF;--line:#E2E8F0;--bg:#F5F7FA;--ink:#000B20;--muted:#526178;color:var(--ink);background:var(--bg);min-height:100vh;font:14px/1.5 Inter,Arial,sans-serif}#an-yarn *{box-sizing:border-box}#an-yarn button{cursor:pointer;font:inherit}#an-yarn [hidden]{display:none!important}.yd-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:20px;padding:12px 22px;background:white;border-bottom:2px solid var(--brand)}.yd-header img{width:150px;height:43px;object-fit:contain}.yd-header strong{font-size:21px}.yd-header small{display:block;color:var(--muted);font-size:11px}.yd-header a{color:var(--brand);text-decoration:none;border:1px solid var(--line);border-radius:9px;padding:8px 12px;font-weight:650}.yd-header a:first-of-type{margin-left:auto}.yd-layout{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:calc(100vh - 70px)}.yd-side{display:flex;flex-direction:column;gap:5px;padding:12px 8px;background:linear-gradient(180deg,var(--brand),var(--dark));align-self:stretch}.yd-side button{border:0;background:transparent;color:white!important;display:flex;align-items:center;text-align:left;gap:9px;padding:11px 9px;border-radius:10px;font-size:12px!important;font-weight:650!important;min-height:45px}.yd-side button svg{flex:0 0 22px;width:22px;height:22px;stroke:currentColor!important;display:block!important;opacity:1!important}.yd-side button:is(.active,:hover,:focus-visible){color:var(--brand)!important;background:#fff}.yd-main{min-width:0;padding:22px}.yd-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.yd-eyebrow{font-size:10px;color:var(--brand);font-weight:800;letter-spacing:.12em}.yd-top h1{margin:4px 0;font-size:29px;color:var(--ink);font-weight:780}.yd-top p{margin:0;color:var(--muted)}.yd-demo{background:var(--soft);color:var(--dark);padding:7px 11px;border-radius:8px;font-size:11px;font-weight:650}.yd-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:white;border:1px solid var(--line);padding:12px;border-radius:12px;margin-bottom:16px}.yd-filters label{display:grid;gap:5px;font-size:11px;font-weight:700;color:var(--muted);flex:1;min-width:150px}.yd-filters :is(input,select){width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font:inherit;color:var(--ink)}.yd-filters button,.yd-btn{border:1px solid var(--line);background:var(--brand);color:white;padding:8px 13px;border-radius:8px;font-weight:650}.yd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.yd-kpi{display:flex;align-items:center;gap:11px;text-align:left;background:white;border:1px solid var(--line);border-radius:15px;padding:15px;box-shadow:0 5px 15px #000B200b;color:var(--ink);min-width:0}.yd-kpi:hover{border-color:var(--brand)}.yd-kpi i{display:grid;place-items:center;background:var(--soft);color:var(--brand);width:39px;height:39px;flex:none;border-radius:11px}.yd-kpi small{display:block;color:var(--muted);font-size:11px}.yd-kpi strong{display:block;font-size:23px;line-height:1.3;font-weight:800}.yd-panels{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.yd-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;min-width:0;box-shadow:0 5px 16px #000B2009;margin-bottom:14px}.yd-panel h2{font-size:16px;margin:0 0 14px;font-weight:750;color:var(--ink)}.yd-bar{display:grid;grid-template-columns:110px 1fr 55px;gap:9px;align-items:center;font-size:12px;margin:11px 0}.yd-bar>div{height:10px;background:var(--soft);border-radius:10px;overflow:hidden}.yd-bar i{display:block;height:100%;background:var(--brand);border-radius:10px}.yd-scroll{overflow:auto;max-height:500px;border:1px solid var(--line);border-radius:9px}.yd-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.yd-table th{position:sticky;top:0;background:var(--soft);color:var(--ink);text-align:left;font-weight:700}.yd-table td,.yd-table th{padding:11px;border-bottom:1px solid #EDF1F6}.yd-table tr:nth-child(even){background:#FAFBFC}.yd-table tbody tr:hover{background:var(--soft);cursor:pointer}.yd-link{color:var(--brand);font-weight:700}.yd-status{display:inline-block;padding:4px 8px;background:var(--soft);color:var(--dark);border-radius:6px;font-size:11px;font-weight:650}.yd-status.good{background:#e9f7ee;color:#227344}.yd-status.wait{background:#fff3df;color:#935e0a}.yd-swatch{display:inline-block;width:12px;height:12px;border-radius:4px;border:1px solid #000B2022;margin-right:7px;vertical-align:middle}.yd-process{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}.yd-process span{border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--bg);font-size:11px;color:var(--muted)}.yd-process span.done{background:var(--soft);color:var(--dark)}.yd-process span.current{background:var(--brand);color:#fff;font-weight:750;animation:ydpulse 1.5s ease-in-out infinite}@keyframes ydpulse{50%{box-shadow:0 0 0 5px #C20D4930}}@media(prefers-reduced-motion:reduce){.yd-process span.current{animation:none}}.yd-machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.yd-machine{border:1px solid var(--line);border-radius:12px;padding:15px;background:#fff;text-align:left;color:var(--ink)}.yd-machine h3{margin:0 0 8px;font-size:15px}.yd-machine p{font-size:12px;margin:6px 0;color:var(--muted)}.yd-machine .yd-bar{grid-template-columns:1fr 45px}.yd-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.yd-report-grid button{display:flex;align-items:center;gap:9px;text-align:left;background:white;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:13px}.yd-report-grid button:hover{color:var(--brand);background:var(--soft)}.yd-report-grid svg{color:var(--brand);flex:none}.yd-empty{padding:24px;text-align:center;color:var(--muted)}#yd-detail{border:1px solid var(--line);border-radius:16px;padding:0;width:min(850px,94vw);max-height:85vh;color:var(--ink)}#yd-detail::backdrop{background:#000B2066}#yd-detail header{display:flex;align-items:center;justify-content:space-between;background:var(--soft);padding:15px 18px;color:var(--dark)}#yd-close{border:0;background:var(--brand);color:white;width:32px;height:32px;border-radius:8px;font-size:22px!important}#yd-detail-body{padding:18px;max-height:65vh;overflow:auto}.yd-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.yd-fields div{border:1px solid var(--line);border-radius:8px;padding:10px}.yd-fields small{display:block;color:var(--muted);font-size:11px}.yd-fields b{overflow-wrap:anywhere}@media(max-width:1050px){.yd-grid{grid-template-columns:repeat(2,1fr)}.yd-machine-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.yd-header{flex-wrap:wrap;gap:8px}.yd-header a:first-of-type{margin-left:0}.yd-layout{display:block}.yd-side{flex-direction:row;overflow:auto}.yd-side button{flex:none}.yd-main{padding:12px}.yd-top{align-items:flex-start;flex-direction:column}.yd-panels,.yd-machine-grid,.yd-report-grid{grid-template-columns:1fr}}
/* TMC form metadata preview */
.yd-form-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.yd-form-note{margin-left:auto;color:var(--muted);font-size:12px}.yd-form{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.yd-form-section{padding:17px 20px;border-bottom:1px solid var(--line)}.yd-form-section:last-child{border-bottom:0}.yd-form-section h2{margin:0 0 13px;color:var(--ink);font-size:14px;font-weight:750}.yd-form-columns{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:16px}.yd-form-field{display:grid;gap:5px;margin:0 0 12px;color:#465064;font-size:12px;font-weight:600}.yd-form-field :is(input,textarea,select){width:100%;background:#F5F7FA;border:1px solid #E2E8F0;border-radius:7px;padding:8px 10px;color:var(--ink);font:inherit;font-weight:500;min-height:34px;opacity:1}.yd-form-field select:disabled{color:var(--ink)}.yd-form-field .yd-form-link{color:var(--dark)}.yd-form-check{display:flex;gap:8px;align-items:center;font-size:12px;margin:9px 0;color:var(--ink)}.yd-form-check input{accent-color:var(--brand)}.yd-req{color:var(--brand)}.yd-form-child{margin:10px 0 16px}.yd-form-child>strong{display:block;font-size:12px;margin-bottom:7px}.yd-form-child .yd-table tr{cursor:default}.yd-form-child .yd-table tbody tr:hover{background:inherit}@media(max-width:950px){.yd-form-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.yd-form-columns{grid-template-columns:1fr}.yd-form-section{padding:13px}}
/* Explicit document form actions */
.yd-list-hint{margin:0 0 10px;padding:8px 11px;background:var(--soft);border-radius:7px;font-size:12px;color:var(--dark)}.yd-table .yd-action-cell{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-2px 0 6px #000B200b;text-align:center;min-width:132px}.yd-table th.yd-action-cell{background:var(--soft);z-index:2}.yd-open-form{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:6px 10px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:#fff!important;font-size:11px!important;font-weight:700!important}.yd-open-form:hover{background:var(--dark)}.yd-doc-link{border:0;background:transparent;color:var(--brand)!important;font-size:12px!important;font-weight:700!important;text-decoration:underline;text-underline-offset:3px;padding:0}.yd-machine-open{display:block;color:var(--brand);font-size:12px;font-weight:700;margin-top:9px}.yd-open-form:focus-visible,.yd-doc-link:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* AN Frappe Desk style workspace navigation */
#an-yarn .yd-layout{grid-template-columns:228px minmax(0,1fr)}
#an-yarn .yd-side{background:#fff!important;border-right:1px solid #e7e9ec;display:flex;flex-direction:column;gap:3px;padding:14px 10px;align-self:stretch;min-width:0}
#an-yarn .yd-workspace-caption{font-size:10px;font-weight:650;color:#7b818a;letter-spacing:.06em;padding:8px 10px 5px}
#an-yarn .yd-side button{width:100%;color:#343b46!important;background:transparent!important;border:0!important;min-height:33px!important;padding:6px 9px!important;gap:9px!important;border-radius:6px!important;font-size:12px!important;font-weight:500!important;line-height:1.35;text-align:left;display:flex;align-items:center}
#an-yarn .yd-side button svg{display:block!important;color:#737b87!important;stroke:currentColor!important;flex:0 0 16px!important;width:16px!important;height:16px!important}
#an-yarn .yd-side button span{white-space:normal;overflow-wrap:anywhere}
#an-yarn .yd-side button:hover{background:#f5f5f5!important;color:#000B20!important}
#an-yarn .yd-side button.active{background:#FDE7EF!important;color:#C20D49!important;font-weight:650!important}
#an-yarn .yd-side button.active svg{color:#C20D49!important}
#an-yarn .yd-nav-group{border:0;margin:8px 0 0;padding:0}
#an-yarn .yd-nav-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;color:#69707c;font-size:11px;font-weight:650;padding:6px 9px;user-select:none;border-radius:6px}
#an-yarn .yd-nav-group summary::-webkit-details-marker{display:none}
#an-yarn .yd-nav-group summary:hover{background:#f7f7f8}
#an-yarn .yd-nav-group[open]>summary svg{transform:rotate(90deg)}
#an-yarn .yd-nav-items{display:grid;gap:2px;margin-top:3px}
#an-yarn .yd-nav-items button{padding-left:13px!important}
@media(max-width:700px){#an-yarn .yd-layout{display:block}#an-yarn .yd-side{border-right:0;border-bottom:1px solid #e7e9ec;max-height:46vh;overflow:auto}#an-yarn .yd-side button{min-height:33px!important}}

/* AN unified customer-portal dashboard style v1 */
.an-suite-nav{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap}
.an-suite-nav a{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;padding:8px 13px!important;border:1px solid #E2E8F0!important;border-radius:9px!important;background:#fff!important;color:#A90B40!important;text-decoration:none!important;font:600 12px/1.4 Inter,Arial,sans-serif!important;white-space:nowrap;margin:0!important}
.an-suite-nav a:is(:hover,:focus-visible){background:#FDE7EF!important;border-color:#C20D49!important}
.an-suite-nav a.is-current{background:#C20D49!important;color:#fff!important;border-color:#C20D49!important}
@media(max-width:850px){.an-suite-nav{width:100%;margin-left:0}.an-suite-nav a{flex:1}}

#an-yarn .yd-header{position:sticky!important;top:0;z-index:10;background:#fff!important;border-bottom:2px solid #C20D49!important;padding:12px 22px!important;gap:20px}
#an-yarn .yd-layout{grid-template-columns:228px minmax(0,1fr)}
#an-yarn .yd-side{background:#C20D49!important;border-right:1px solid #A90B40!important;color:#fff!important;padding:14px 10px!important}
#an-yarn .yd-side summary{color:#fff!important;font-size:11px!important;font-weight:700!important;padding:7px 9px!important;background:#ffffff16!important;border-radius:7px!important}
#an-yarn .yd-side summary:hover{background:#ffffff2e!important}
#an-yarn .yd-side summary svg{color:#fff!important;stroke:currentColor!important}
#an-yarn .yd-side button{display:flex!important;align-items:center!important;gap:10px!important;min-height:37px!important;background:transparent!important;color:#fff!important;border:0!important;border-radius:8px!important;font-size:12px!important;font-weight:600!important}
#an-yarn .yd-side button svg{display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;opacity:1!important;visibility:visible!important;stroke:currentColor!important;color:inherit!important}
#an-yarn .yd-side button:is(.active,:hover,:focus-visible){background:#fff!important;color:#C20D49!important}
#an-yarn .yd-side button:is(.active,:hover,:focus-visible) svg{color:#C20D49!important;stroke:#C20D49!important}
#an-yarn .yd-workspace-caption{color:#fff!important}
#an-yarn .yd-main{background:#F5F7FA!important;padding:22px}
#an-yarn .yd-kpi{border:1px solid #E2E8F0!important;background:linear-gradient(135deg,#fff,#FFF7FA)!important;box-shadow:0 4px 14px #000B200b!important;border-radius:13px!important}
#an-yarn .yd-kpi:hover{border-color:#C20D49!important}
@media(max-width:700px){#an-yarn .yd-layout{display:block!important}#an-yarn .yd-side{max-height:40vh;overflow:auto!important;border-right:0!important}#an-yarn .yd-main{padding:12px!important}}

/* AN shared hover sidebar v2 */
#an-yarn .yd-layout{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:stretch!important;position:relative!important;gap:0!important}
#an-yarn .yd-side{box-sizing:border-box!important;position:relative!important;top:0!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:5px!important;width:72px!important;min-width:72px!important;max-width:none!important;height:auto!important;min-height:calc(100vh - 84px)!important;max-height:none!important;padding:12px 9px!important;background:#C20D49!important;color:#fff!important;border:1px solid #FF759F!important;border-radius:0 22px 22px 0!important;overflow-x:hidden!important;overflow-y:auto!important;z-index:100!important;box-shadow:none!important;transition:width .22s ease,min-width .22s ease,box-shadow .22s ease!important}
#an-yarn .yd-side.an-nav-expanded{width:238px!important;min-width:238px!important;box-shadow:8px 4px 22px #000B2026!important}
#an-yarn .yd-side nav{display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;overflow:visible!important}
#an-yarn .yd-side button[data-view]{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:43px!important;height:43px!important;max-height:none!important;flex-shrink:0!important;padding:9px 12px!important;border-radius:10px!important;border:1px solid #ffffff12!important;background:transparent!important;color:#fff!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;transform:none!important;font:600 12px/1.35 Inter,Arial,sans-serif!important}
#an-yarn .yd-side button[data-view] > svg{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;background:transparent!important;border:0!important;color:inherit!important;visibility:visible!important;opacity:1!important}
#an-yarn .yd-side button[data-view] > svg svg,#an-yarn .yd-side button[data-view] > svg{display:block!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;flex:0 0 22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;visibility:visible!important;opacity:1!important;filter:none!important;color:inherit!important}
#an-yarn .yd-side button[data-view] > span{display:block!important;opacity:0!important;visibility:hidden!important;width:0!important;min-width:0!important;max-width:0!important;overflow:hidden!important;white-space:nowrap!important;transform:none!important;font:600 12px/1.35 Inter,Arial,sans-serif!important;color:inherit!important;text-align:left!important;transition:opacity .13s ease!important}
#an-yarn .yd-side.an-nav-expanded button[data-view] > span{opacity:1!important;visibility:visible!important;width:auto!important;max-width:none!important;flex:1!important}
#an-yarn .yd-side button[data-view].active,#an-yarn .yd-side button[data-view]:is(:hover,:focus-visible){background:#fff!important;color:#C20D49!important;border-color:#fff!important}
#an-yarn .yd-side button[data-view].active > svg,#an-yarn .yd-side button[data-view]:is(:hover,:focus-visible) > svg{color:#C20D49!important;background:transparent!important}
#an-yarn .yd-side button[data-view].active svg,#an-yarn .yd-side button[data-view]:is(:hover,:focus-visible) svg{color:#C20D49!important;stroke:#C20D49!important}
#an-yarn .yd-side .an-sidebar-toggle{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;flex-shrink:0!important;width:100%!important;height:39px!important;padding:7px 12px!important;border:0!important;border-radius:9px!important;background:#ffffff15!important;color:#fff!important;cursor:pointer!important}
#an-yarn .yd-side .an-sidebar-toggle svg{width:22px!important;height:22px!important;flex:0 0 22px!important;stroke:currentColor!important;display:block!important}
#an-yarn .yd-side .an-sidebar-toggle span{display:none!important}#an-yarn .yd-side.an-nav-expanded .an-sidebar-toggle span{display:inline!important;font:600 12px Inter,Arial,sans-serif!important}
#an-yarn .yd-side details{margin:4px 0!important;min-width:0!important}#an-yarn .yd-side summary{display:none!important}#an-yarn .yd-side.an-nav-expanded summary{display:flex!important;align-items:center!important;justify-content:space-between!important;color:#fff!important;background:#ffffff16!important;border-radius:7px!important;padding:7px 9px!important;font-size:11px!important}#an-yarn .yd-side details:not([open]) > :not(summary){display:none!important}#an-yarn .yd-side .yd-workspace-caption{display:none!important}#an-yarn .yd-side.an-nav-expanded .yd-workspace-caption{display:block!important;color:#fff!important}#an-yarn .yd-side .yd-nav-items{gap:5px!important}#an-yarn .yd-side .yd-nav-items button{padding:9px 12px!important}
@media(max-width:700px){#an-yarn .yd-layout{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important}#an-yarn .yd-side{max-height:none!important;min-height:calc(100vh - 110px)!important}#an-yarn .yd-side.an-nav-expanded{width:238px!important;min-width:238px!important}}
@media(prefers-reduced-motion:reduce){#an-yarn .yd-side,#an-yarn .yd-side button[data-view] > span{transition:none!important}}

/* AN polished header navigation v3 */
.an-suite-nav{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;padding:5px!important;background:#F5F7FA!important;border:1px solid #E2E8F0!important;border-radius:15px!important}
.an-suite-nav a{position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;padding:9px 14px!important;border:1px solid transparent!important;border-radius:10px!important;color:#A90B40!important;background:transparent!important;font:650 12px/1.3 Inter,Arial,sans-serif!important;white-space:nowrap!important;box-shadow:none!important;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important}
.an-suite-nav a svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.an-suite-nav a:not(.is-current):hover{background:#fff!important;border-color:#F8CFDD!important;box-shadow:0 3px 9px #A90B4010!important;transform:translateY(-1px)}
.an-suite-nav a.is-current{background:linear-gradient(135deg,#F2115C,#A90B40)!important;color:white!important;border-color:#C20D49!important;box-shadow:0 4px 10px #C20D4938!important}
.an-suite-nav a:focus-visible{outline:2px solid #C20D49;outline-offset:2px}
@media(max-width:850px){.an-suite-nav{margin-left:0!important;width:100%!important;flex-wrap:wrap}.an-suite-nav a{flex:1}}
@media(prefers-reduced-motion:reduce){.an-suite-nav a{transition:none!important;transform:none!important}}

/* AN fixed header-safe sidebar v3 */
.yd-header{position:sticky!important;top:0!important;z-index:1000!important;isolation:isolate;background:#fff!important;overflow:visible!important}
#an-yarn .yd-layout{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;position:relative!important;overflow:visible!important;align-items:start!important;min-height:calc(100vh - var(--an-header-height,70px))!important}
#an-yarn .yd-main{grid-column:2!important;grid-row:1!important;min-width:0!important;position:relative!important;z-index:0!important}
#an-yarn .yd-side{position:fixed!important;left:var(--an-sidebar-left,0px)!important;top:var(--an-sidebar-top,70px)!important;bottom:0!important;right:auto!important;align-self:start!important;height:auto!important;min-height:0!important;max-height:none!important;z-index:100!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-width:thin;scrollbar-color:#ffffff55 transparent;box-sizing:border-box!important;transform:none!important}
#an-yarn .yd-side nav{flex-shrink:0!important;min-height:0!important}
#an-yarn .yd-side details{flex-shrink:0!important}
#an-yarn .yd-side .an-sidebar-toggle{flex-shrink:0!important}
@media(max-width:700px){#an-yarn .yd-layout{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important}#an-yarn .yd-side{min-height:0!important;max-height:none!important;height:auto!important}}

/* AN identical suite buttons v4 */
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header){display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:16px!important;box-sizing:border-box!important;min-height:72px!important;padding:12px 22px!important;background:#fff!important;border-bottom:2px solid #C20D49!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header)>img{width:150px!important;height:42px!important;flex:0 0 150px!important;object-fit:contain!important;display:block!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header)>div:not(.an-portal-tabs){min-width:0}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header)>div>strong{font:750 19px/1.2 Inter,Arial,sans-serif!important;color:#000B20!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header)>div>small{display:block;font:11px/1.4 Inter,Arial,sans-serif!important;color:#526178!important;margin-top:4px!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav{display:grid!important;grid-template-columns:repeat(4,172px)!important;gap:6px!important;align-items:center!important;margin:0 0 0 auto!important;padding:5px!important;box-sizing:border-box!important;background:#F5F7FA!important;border:1px solid #E2E8F0!important;border-radius:14px!important;width:auto!important;flex:none!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:172px!important;height:42px!important;min-height:42px!important;min-width:0!important;padding:0 9px!important;border:1px solid transparent!important;border-radius:9px!important;margin:0!important;background:transparent!important;color:#A90B40!important;font:650 12px/1.2 Inter,Arial,sans-serif!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:none!important;transition:background .18s,color .18s,box-shadow .18s!important;transform:none!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a svg{display:block!important;width:18px!important;height:18px!important;flex:0 0 18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a span{color:inherit!important;font:inherit!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a:not(.is-current):hover{background:#fff!important;border-color:#F8CFDD!important;box-shadow:0 2px 8px #A90B4010!important}
:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a.is-current{background:linear-gradient(135deg,#F2115C,#A90B40)!important;border-color:#C20D49!important;color:#fff!important;box-shadow:0 4px 10px #C20D4938!important}
@media(max-width:1120px){:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav{width:100%!important;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav a{width:100%!important}}
@media(max-width:620px){:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header) .an-suite-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}:is(.abe-demo-header,.yd-header,.hp-head,.abe-switch-header){padding:10px 12px!important;gap:10px!important}}
@media(prefers-reduced-motion:reduce){.an-suite-nav a{transition:none!important}}

/* AN shared dashboard cards v5 */
#an-yarn .yd-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:16px!important;align-items:stretch!important}
#an-yarn .yd-kpi{position:relative!important;overflow:hidden!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;text-align:left!important;width:100%!important;min-width:0!important;min-height:100px!important;padding:15px!important;border:1px solid #E2E8F0!important;border-radius:19px!important;background:linear-gradient(125deg,#fff,#FFF7FA)!important;box-shadow:3px 9px 20px #000B2015!important;color:#000B20!important;cursor:pointer!important;transition:transform .18s,box-shadow .18s,border-color .18s!important}
#an-yarn .yd-kpi:after{content:'';position:absolute;width:110px;height:110px;right:-35px;top:-40px;border-radius:50%;background:#C20D49;opacity:.035;pointer-events:none}
#an-yarn .yd-kpi:hover{transform:translateY(-3px);border-color:#F8CFDD!important;box-shadow:4px 12px 28px #000B2022!important}
#an-yarn .yd-kpi>i{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:14px!important;border:1px solid #F8CFDD!important;background:#FFF5F8!important;color:#C20D49!important;font-style:normal!important}
#an-yarn .yd-kpi>i svg{width:22px!important;height:22px!important}
#an-yarn .yd-kpi:nth-child(4n+2)>i{background:#fff2e2!important;border-color:#f9dfbc!important;color:#ca8726!important}
#an-yarn .yd-kpi:nth-child(4n+3)>i{background:#FDE7EF!important;border-color:#F8CFDD!important;color:#A90B40!important}
#an-yarn .yd-kpi:nth-child(4n+4)>i{background:#e4f6ed!important;border-color:#d1eddf!important;color:#32965f!important}
#an-yarn .yd-kpi>div{min-width:0!important}
#an-yarn .yd-kpi small{display:block!important;color:#6d4352!important;font-size:12px!important;font-weight:600!important;line-height:1.35!important;white-space:normal!important}
#an-yarn .yd-kpi strong{display:block!important;color:#000B20!important;font-size:26px!important;font-weight:800!important;line-height:1.3!important;margin:0!important;overflow-wrap:anywhere}
#an-yarn .yd-panel{box-sizing:border-box!important;background:#fff!important;border:1px solid #E2E8F0!important;border-radius:19px!important;padding:17px!important;box-shadow:3px 8px 22px #000B2012!important;min-width:0!important;margin-bottom:14px!important}
#an-yarn .yd-panel h2{font-size:16px!important;font-weight:700!important;color:#000B20!important;margin:0 0 17px!important}
@media(max-width:1100px){#an-yarn .yd-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){#an-yarn .yd-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){#an-yarn .yd-kpi{transition:none!important;transform:none!important}}

/* AN visible sidebar labels v6 */
#an-yarn .yd-layout{grid-template-columns:104px minmax(0,1fr)!important}
#an-yarn .yd-side{width:104px!important;min-width:104px!important;padding:8px 6px!important;justify-content:flex-start!important}
#an-yarn .yd-side.an-nav-expanded{width:258px!important;min-width:258px!important}
#an-yarn .yd-side button[data-view]{flex-direction:column!important;justify-content:center!important;gap:4px!important;height:auto!important;min-height:68px!important;padding:6px 3px!important;text-align:center!important;white-space:normal!important}
#an-yarn .yd-side button[data-view]>span{display:block!important;opacity:1!important;visibility:visible!important;width:100%!important;max-width:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-align:center!important;font:600 10px/1.2 Inter,Arial,sans-serif!important}
#an-yarn .yd-side.an-nav-expanded button[data-view]{flex-direction:row!important;justify-content:flex-start!important;gap:10px!important;min-height:43px!important;padding:9px 12px!important;text-align:left!important}
#an-yarn .yd-side.an-nav-expanded button[data-view]>span{width:auto!important;flex:1!important;text-align:left!important;font-size:12px!important}
#an-yarn .yd-side .an-sidebar-toggle{position:sticky!important;top:0!important;z-index:2!important;background:#A90B40!important;justify-content:center!important}
#an-yarn .yd-side.an-nav-expanded .an-sidebar-toggle span{display:inline!important}
#an-yarn .yd-side.an-nav-expanded summary{display:flex!important}
