/* SMASHCO Social Workspace palette, adapted to Paperclip semantic tokens. */
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:400;font-display:swap;src:url("./fonts/BeVietnamPro-Regular.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:500;font-display:swap;src:url("./fonts/BeVietnamPro-Medium.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:600;font-display:swap;src:url("./fonts/BeVietnamPro-SemiBold.ttf") format("truetype")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:700;font-display:swap;src:url("./fonts/BeVietnamPro-Bold.ttf") format("truetype")}
html:root{
 --font-sans:"Be Vietnam Pro","Segoe UI",Arial,sans-serif;
 --background:#f7f6f3;--background-alt:#f0ece6;--foreground:#28231f;
 --card:#fff;--card-foreground:#28231f;--popover:#fff;--popover-foreground:#28231f;
 --primary:#a7400b;--primary-foreground:#fff;--secondary:#fff5e7;--secondary-foreground:#5c3b24;
 --muted:#f0ece6;--muted-highlight:#e8e2dc;--muted-foreground:#70665e;
 --accent:#fff0d8;--accent-foreground:#4f2c12;--border:#e8e2dc;--input:#d9cbbf;--ring:#a7400b;
 --destructive:#ad3038;--destructive-foreground:#fff;--radius:.65rem;
 --sidebar:#241e1a;--primary-sidebar-background:#241e1a;--sidebar-foreground:#dfd4c9;
 --sidebar-primary:#f4c171;--sidebar-primary-foreground:#4f2c12;
 --sidebar-accent:#3b2e24;--sidebar-accent-foreground:#fff;--sidebar-border:#53463a;--sidebar-ring:#f4c171;
 --collection-filter-active:#a7400b;--collection-filter-badge:#a7400b;--collection-filter-badge-foreground:#fff;
 --sc-sidebar-ink:#dfd4c9;--sc-sidebar-muted:#c1b3a5;--sc-selected:#f4c171;--sc-selected-ink:#4c2a13;
}
html.dark{
 --background:#241e1a;--background-alt:#30261f;--foreground:#fcf7ef;
 --card:#34281e;--card-foreground:#fcf7ef;--popover:#34281e;--popover-foreground:#fcf7ef;
 --primary:#f4c171;--primary-foreground:#4f2c12;--secondary:#493729;--secondary-foreground:#f5e1c7;
 --muted:#30261f;--muted-highlight:#493729;--muted-foreground:#c1b3a5;
 --accent:#493729;--accent-foreground:#f5e1c7;--border:#53463a;--input:#6b5543;--ring:#f4c171;
 --sidebar:#1d1713;--primary-sidebar-background:#1d1713;
 --destructive:#f28c92;--collection-filter-active:#f4c171;--collection-filter-badge:#f4c171;--collection-filter-badge-foreground:#4f2c12;
}
body{font-family:var(--font-sans);line-height:1.55;background:var(--background);color:var(--foreground)}
button,input,select,textarea{font-family:inherit}
.primary-sidebar-surface{color:var(--sc-sidebar-ink);background:var(--primary-sidebar-background)}
.primary-sidebar-surface :is(.text-foreground,.text-foreground\/80,.text-sidebar-foreground){color:var(--sc-sidebar-ink)}
.primary-sidebar-surface :is(.text-muted-foreground,.text-muted-foreground\/70){color:var(--sc-sidebar-muted)}
.primary-sidebar-surface nav a{border-radius:9px;min-height:36px;font-weight:500}
.primary-sidebar-surface nav a:is([aria-current="page"],.bg-sidebar-accent){background:var(--sc-selected);color:var(--sc-selected-ink);font-weight:600}
.primary-sidebar-surface nav a:is([aria-current="page"],.bg-sidebar-accent) *{color:inherit}
.primary-sidebar-surface nav a:hover:not([aria-current="page"]):not(.bg-sidebar-accent){background:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}
.primary-sidebar-surface>div:first-child{border-bottom:1px solid var(--sidebar-border)}
.primary-sidebar-surface>div:first-child button{color:#fcf7ef}
.primary-sidebar-surface>div:first-child button img{object-fit:contain;image-rendering:auto!important}
#main-content{background:var(--background)}
#main-content :is([data-slot="card"],.rounded-xl.border){background:var(--card);border-color:var(--border);border-radius:14px;box-shadow:0 2px 3px #44291a03}
#main-content .grid>a.no-underline{background:var(--card);border:1px solid var(--border);border-radius:12px}
[data-slot="button"][data-variant="default"]:hover{filter:brightness(.9)}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--ring);outline-offset:3px}
::selection{background:#f4c171;color:#4f2c12}
@media(pointer:coarse){.primary-sidebar-surface nav a{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Reference wordmark, inside the existing organization switcher button. */
.primary-sidebar-surface>div:first-child:has(.sc-agent-brand){height:76px;min-height:76px}
.primary-sidebar-surface button:has(>.sc-agent-brand){position:relative;height:56px;min-height:56px;padding:8px 12px!important;gap:8px}
.primary-sidebar-surface button:has(>.sc-agent-brand)>span:not(.sc-agent-brand){display:none!important}
.primary-sidebar-surface button:has(>.sc-agent-brand)>svg{order:2;margin-left:auto;flex-shrink:0}
.sc-agent-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left}
.sc-agent-brand>img{width:36px;height:36px;flex:0 0 36px;object-fit:contain}
.sc-agent-brand-copy{display:flex;flex-direction:column;min-width:0}
.sc-agent-wordmark{font-size:20px;font-weight:700;line-height:1.05;letter-spacing:-.8px;color:#fff}
.sc-agent-subtitle{margin-top:3px;white-space:nowrap;font-size:8px;font-weight:600;line-height:1.25;letter-spacing:1.35px;color:#f4c171}

/* Agent overview sections need their own card boundary and inset. */
#main-content section:is([aria-labelledby="agent-recent-tasks-heading"],[aria-labelledby="agent-audit-links-heading"]){background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 2px 3px #44291a03;min-width:0}
#main-content section[aria-labelledby="agent-recent-tasks-heading"]>p{min-height:44px;display:flex;align-items:center;line-height:1.6;margin-bottom:0}
#main-content section[aria-labelledby="agent-audit-links-heading"]>.grid>a{display:flex;align-items:center;min-height:44px;background:var(--background);border-color:var(--border);border-radius:9px;transition:background-color .16s,color .16s}
#main-content section[aria-labelledby="agent-audit-links-heading"]>.grid>a:hover{background:var(--accent);color:var(--accent-foreground)}
@media(max-width:640px){#main-content section:is([aria-labelledby="agent-recent-tasks-heading"],[aria-labelledby="agent-audit-links-heading"]){padding:16px}}
