body{background:#f6f8fb;color:#111827;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.yc-shell{min-height:100vh}.yc-side{width:260px;min-height:100vh;background:linear-gradient(160deg,#0f766e 0%,#f97316 100%);color:#fff;padding:18px 14px;position:sticky;top:0;align-self:flex-start}.yc-brand{font-weight:800;font-size:18px;line-height:1.15;margin:0 0 18px;padding:10px 12px;background:rgba(255,255,255,.13);border-radius:14px}.yc-nav a{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;padding:.62rem .7rem;border-radius:.75rem;margin:.18rem 0;font-size:14px;line-height:1.18}.yc-nav a:hover,.yc-nav a.active{background:rgba(255,255,255,.2)}.yc-nav-icon{width:22px;text-align:center;opacity:.92}.yc-main{padding:28px}.card,.yc-card{border:0;border-radius:1rem;box-shadow:0 10px 28px rgba(15,23,42,.08);background:#fff}.btn-yeti{background:#0f766e;color:#fff;border:0}.btn-yeti:hover{background:#115e59;color:#fff}.btn-orange{background:#f97316;color:#fff;border:0}.btn-orange:hover{background:#ea580c;color:#fff}.yc-muted{color:#64748b}.yc-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.yc-pill-green{background:#dcfce7;color:#166534}.yc-pill-blue{background:#dbeafe;color:#1d4ed8}.yc-pill-gray{background:#f1f5f9;color:#475569}.form-help{font-size:12px;color:#64748b}.table td,.table th{vertical-align:middle}.alert-soft{background:#f8fafc;border:1px solid #e2e8f0;color:#334155;border-radius:14px}

/* YetiCore V5.0.5 AR dashboard hard display fix */
.yc-ar-page .yc-provider-card{height:100%;border:1px solid #e5e7eb!important;border-radius:16px!important;box-shadow:none!important;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease;overflow:hidden;}
.yc-ar-page .yc-provider-card.is-enabled{border-color:#99f6e4!important;box-shadow:0 10px 24px rgba(15,118,110,.10)!important;}
.yc-ar-page .yc-provider-card:not(.is-enabled){opacity:.96;}
.yc-ar-page .yc-provider-card-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:92px;}
.yc-ar-page .yc-logo-box{height:72px!important;width:190px!important;min-width:190px!important;max-width:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #eef2f7!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;padding:8px!important;margin:0!important;}
.yc-ar-page .yc-logo-box-featured{width:240px!important;min-width:240px!important;max-width:240px!important;}
.yc-ar-page .yc-logo-box img{display:block!important;width:170px!important;height:48px!important;max-width:170px!important;max-height:48px!important;object-fit:contain!important;margin:0 auto!important;}
.yc-ar-page .yc-logo-box-featured img{width:220px!important;max-width:220px!important;height:52px!important;max-height:52px!important;}
.yc-ar-page .yc-provider-title{font-weight:800;color:#111827;line-height:1.15;}
.yc-ar-page .yc-provider-desc{min-height:36px;}
.yc-ar-page .yc-settings-panel{display:none!important;border-top:1px solid #eef2f7;margin-top:14px;padding-top:14px;}
.yc-ar-page .yc-provider-card.is-enabled .yc-settings-panel.is-open{display:block!important;}
.yc-ar-page .yc-provider-card:not(.is-enabled) .yc-settings-panel{display:none!important;}
.yc-ar-page .yc-settings-btn{display:inline-flex;align-items:center;gap:5px;}
.yc-ar-page .yc-provider-card:not(.is-enabled) .yc-settings-btn{display:none!important;}
.yc-ar-page .yc-disabled-note{min-height:31px;display:flex;align-items:center;}
.yc-ar-page .yc-provider-card.is-enabled .yc-disabled-note{display:none!important;}
.yc-ar-page .yc-provider-controls{min-width:118px;text-align:right;}
.yc-ar-page .yc-featured-card .yc-provider-card-inner{min-height:86px;}
.yc-ar-page .yc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
@media(max-width:900px){.yc-shell{display:block!important}.yc-side{width:auto;min-height:auto;position:relative}.yc-main{padding:18px}.yc-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.yc-ar-page .yc-provider-card-inner{display:block}.yc-ar-page .yc-logo-box,.yc-ar-page .yc-logo-box-featured{width:100%!important;min-width:0!important;max-width:none!important;margin-bottom:12px!important}.yc-ar-page .yc-provider-controls{text-align:left}.yc-ar-page .yc-form-grid{grid-template-columns:1fr}}

/* YetiCore V5 AR toggle settings patch v5.0.7 */
.yc-ar-page .yc-provider-card{height:100%;border:1px solid #e5e7eb!important;border-radius:16px!important;box-shadow:none!important;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease;overflow:hidden;}
.yc-ar-page .yc-provider-card.is-enabled{border-color:#99f6e4!important;box-shadow:0 10px 24px rgba(15,118,110,.10)!important;}
.yc-ar-page .yc-provider-card-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:92px;}
.yc-ar-page .yc-logo-box{height:72px!important;width:190px!important;min-width:190px!important;max-width:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:8px!important;margin:0!important;border:1px solid #eef2f7!important;border-radius:14px!important;background:#fff!important;}
.yc-ar-page .yc-logo-box img{display:block!important;width:170px!important;height:48px!important;max-width:170px!important;max-height:48px!important;object-fit:contain!important;margin:0 auto!important;}
.yc-ar-page .yc-provider-title{font-weight:800;color:#111827;line-height:1.15;}
.yc-ar-page .yc-provider-desc{min-height:36px;}
.yc-ar-page .yc-settings-panel{display:none!important;border-top:1px solid #eef2f7;margin-top:14px;padding-top:14px;}
.yc-ar-page .yc-provider-card.is-enabled .yc-settings-panel.is-open{display:block!important;}
.yc-ar-page .yc-provider-card.is-enabled .yc-settings-btn{display:inline-flex!important;align-items:center;gap:5px;}
.yc-ar-page .yc-provider-card:not(.is-enabled) .yc-settings-btn{display:none!important;}
.yc-ar-page .yc-provider-card.is-enabled .yc-disabled-note{display:none!important;}
.yc-ar-page .yc-provider-card:not(.is-enabled) .yc-enabled-note{display:none!important;}
.yc-ar-page .yc-provider-controls{min-width:118px;text-align:right;}
.yc-ar-page .yc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.yc-ar-page .yc-save-strip{position:sticky;bottom:0;z-index:20;background:rgba(255,255,255,.96);border:1px solid #e5e7eb;border-radius:16px;padding:12px 14px;box-shadow:0 -8px 24px rgba(15,23,42,.08);}
@media(max-width:900px){.yc-ar-page .yc-provider-card-inner{display:block}.yc-ar-page .yc-logo-box{width:100%!important;min-width:0!important;max-width:none!important;margin-bottom:12px!important}.yc-ar-page .yc-provider-controls{text-align:left}.yc-ar-page .yc-form-grid{grid-template-columns:1fr}}

/* YetiCore V5.0.1 stabilisation additions */
.yc-brand small{display:block;font-size:11px;font-weight:600;opacity:.82;margin-top:3px}.yc-kpi{border:1px solid #e5e7eb;border-radius:16px;padding:18px;background:#fff}.yc-kpi strong{display:block;font-size:28px;line-height:1;color:#0f766e}.yc-status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.yc-status-ok{background:#16a34a}.yc-status-warn{background:#f97316}.yc-status-bad{background:#dc2626}.yc-codebox{display:block;background:#0f172a;color:#e2e8f0;border-radius:14px;padding:14px;white-space:pre-wrap;word-break:break-word}.yc-small-table{font-size:13px}.yc-log-payload{max-height:220px;overflow:auto;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px}.yc-card-action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.yc-provider-card:not(.is-enabled) .yc-settings-panel{display:none!important}.yc-provider-card.is-enabled .yc-settings-panel.is-open{display:block!important}.yc-side{overflow:auto;max-height:100vh}.yc-nav a{font-weight:600}.form-label{font-weight:700;color:#334155}.badge-soft{background:#f1f5f9;color:#475569}.badge-soft-success{background:#dcfce7;color:#166534}.badge-soft-danger{background:#fee2e2;color:#991b1b}.badge-soft-warning{background:#ffedd5;color:#9a3412}.badge-soft-info{background:#dbeafe;color:#1d4ed8}

/* YetiCore V5.2 productised SaaS UI foundation */
:root{--yc-teal:#0f766e;--yc-orange:#f97316;--yc-navy:#0f172a;--yc-text:#111827;--yc-muted:#64748b;--yc-border:#e5e7eb;--yc-panel:#ffffff;--yc-soft:#f8fafc}
html{scroll-behavior:smooth}body{background:#f6f8fb;color:var(--yc-text)}.yc-shell{min-height:100vh}.yc-side{background:linear-gradient(165deg,#0b5f59 0%,#0f766e 45%,#f97316 100%)!important;color:#fff!important;border-right:1px solid rgba(255,255,255,.16)}.yc-brand{background:rgba(255,255,255,.16)!important;color:#fff!important}.yc-brand-link{display:block;color:#fff!important;text-decoration:none}.yc-sidebar-logo{display:block;max-width:210px;max-height:70px;width:auto;height:auto;object-fit:contain}.yc-login-logo{display:block;max-width:260px;max-height:96px;width:auto;height:auto;object-fit:contain;margin:0 auto 16px}.yc-nav a{color:#fff!important;background:transparent}.yc-nav a:hover,.yc-nav a.active{background:rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:inset 3px 0 0 rgba(255,255,255,.85)}.yc-main a:not(.btn){color:#0f5fda}.yc-main a:not(.btn):hover{color:#0b4fb5}.card,.yc-card{background:#fff!important;color:var(--yc-text)!important;border:1px solid rgba(226,232,240,.8)}.yc-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}.yc-page-head h1{margin:0 0 6px}.yc-help{font-size:13px;color:var(--yc-muted);margin-top:6px}.yc-tooltip{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#e0f2fe;color:#075985;font-size:12px;font-weight:800;margin-left:4px;cursor:help}.yc-input-example{display:block;font-size:12px;color:#64748b;margin-top:5px}.yc-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.yc-feature-card{border:1px solid var(--yc-border);border-radius:18px;background:#fff;padding:20px;height:100%;box-shadow:0 12px 30px rgba(15,23,42,.06)}.yc-feature-card h3{font-size:18px;margin:0 0 8px;color:#111827}.yc-feature-card p{color:#475569;margin-bottom:0}.yc-category-label{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#ecfeff;color:#155e75;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:10px}.yc-public-hero{background:linear-gradient(135deg,#0f766e 0%,#0f172a 52%,#f97316 100%);color:#fff;border-radius:28px;padding:56px 44px;box-shadow:0 18px 50px rgba(15,23,42,.18);overflow:hidden;position:relative}.yc-public-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.12)}.yc-public-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.03;font-weight:900;letter-spacing:-.04em}.yc-public-hero p{color:#e0f2fe;font-size:19px;max-width:760px}.yc-public-hero .btn{position:relative;z-index:2}.yc-public-logo{display:block;max-width:280px;max-height:100px;width:auto;height:auto;object-fit:contain;margin-bottom:20px;background:rgba(255,255,255,.12);border-radius:18px;padding:10px}.yc-tutorial-step{display:flex;gap:16px;border:1px solid var(--yc-border);background:#fff;border-radius:18px;padding:20px;margin-bottom:16px}.yc-step-number{width:40px;height:40px;min-width:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0f766e;color:#fff;font-weight:900}.yc-ai-draft{border:1px dashed #93c5fd;background:#eff6ff;border-radius:18px;padding:20px}.yc-code-textarea{min-height:170px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:13px}.yc-sticky-actions{position:sticky;bottom:0;z-index:50;background:rgba(255,255,255,.96);border:1px solid var(--yc-border);border-radius:18px;padding:14px;box-shadow:0 -10px 30px rgba(15,23,42,.08)}.text-muted,.yc-muted{color:#64748b!important}.bg-dark .text-muted,.yc-side .text-muted{color:#e2e8f0!important}.form-control::placeholder,.form-select::placeholder{color:#94a3b8}.alert-soft strong{color:#111827}.badge.bg-secondary{background:#475569!important;color:#fff!important}.btn-outline-primary{color:#0f5fda;border-color:#0f5fda}.btn-outline-primary:hover{background:#0f5fda;color:#fff}.btn-outline-secondary{color:#334155;border-color:#64748b}.btn-outline-secondary:hover{background:#334155;color:#fff}
@media(max-width:1100px){.yc-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.yc-shell{display:block!important}.yc-side{width:auto!important;min-height:auto!important;max-height:none!important;position:relative!important}.yc-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.yc-main{padding:18px!important}.yc-feature-grid{grid-template-columns:1fr}.yc-public-hero{padding:34px 24px}.yc-tutorial-step{display:block}.yc-step-number{margin-bottom:12px}}

/* --------------------------------------------------------------------------
   YetiCore Uniform Sidebar Foundation v5.2.1
   Keeps the desktop sidebar at a consistent 260px and prevents flex layouts
   from shrinking it when an admin page contains wide forms, cards or tables.
   -------------------------------------------------------------------------- */
@media (min-width:901px){
  .yc-shell{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%;
    min-width:0;
  }
  .yc-side{
    flex:0 0 260px!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
    height:100vh;
    min-height:100vh!important;
    max-height:100vh!important;
    box-sizing:border-box;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .yc-main{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 260px);
    box-sizing:border-box;
  }
  .yc-main .table-responsive{
    max-width:100%;
  }
}

@media (max-width:900px){
  .yc-shell{
    display:block!important;
    width:100%;
  }
  .yc-side{
    flex:none!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    position:relative!important;
  }
  .yc-main{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}
