.foundation-workspace{width:100%;min-width:0}.foundation-workspace h2{font-size:1.35rem;font-weight:500;line-height:1.25}.foundation-workspace h3{font-size:1rem;font-weight:500}.foundation-workspace h4{font-size:.82rem;font-weight:500}.foundation-workspace p,.foundation-workspace li,.foundation-workspace dd{overflow-wrap:anywhere;white-space:pre-wrap;font-size:.875rem;line-height:1.65}.foundation-workspace a{text-underline-offset:3px;overflow-wrap:anywhere;text-decoration:underline}.foundation-muted{color:var(--muted-foreground);line-height:1.6;font-size:.75rem!important}.foundation-nav{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.4rem;margin-bottom:1.75rem;padding-bottom:1rem;display:flex}.foundation-nav button{white-space:normal;text-align:left;height:auto;min-height:2.5rem}.foundation-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.25rem;display:flex}.foundation-heading>div{min-width:0}.foundation-heading p{max-width:65ch;margin-top:.5rem}.foundation-toolbar{flex-wrap:wrap;align-items:end;gap:1rem;margin:1.5rem 0;display:flex}.foundation-search{flex:1;min-width:min(100%,18rem)}.foundation-workspace label{min-width:0;font-size:.8rem;display:block}.foundation-workspace label>input:not([type=checkbox]),.foundation-workspace label>textarea,.foundation-workspace label>select{margin-top:.45rem}.foundation-workspace textarea,.foundation-workspace select{border:1px solid var(--input);background:var(--background);width:100%;min-width:0;max-width:100%;color:var(--foreground);font:inherit;border-radius:var(--radius);outline:none;padding:.7rem;line-height:1.5;display:block}.foundation-workspace input:focus-visible,.foundation-workspace textarea:focus-visible,.foundation-workspace select:focus-visible,.foundation-workspace summary:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.foundation-workspace .foundation-checkbox{align-items:center;gap:.5rem;min-height:2.5rem;display:flex}.foundation-add{border-top:1px solid var(--border);flex-wrap:wrap;align-items:end;gap:.75rem;padding:1rem 0;display:flex}.foundation-add label{flex:0 16rem}.foundation-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));align-items:start;gap:1rem;margin-top:1rem;display:grid}.foundation-record{border:1px solid var(--border);background:var(--card);min-width:0;padding:1.25rem}.foundation-record>.foundation-heading{margin-bottom:.75rem}.foundation-kicker{text-transform:uppercase;letter-spacing:.09em;font-family:var(--font-mono,monospace);color:var(--muted-foreground);font-size:.65rem}.foundation-description{margin:.75rem 0 1rem}.foundation-workspace details{border-top:1px solid var(--border);min-width:0;margin-top:1rem;padding-top:.8rem}.foundation-workspace summary{cursor:pointer;overflow-wrap:anywhere;font-size:.8rem;line-height:1.6}.foundation-badge{border:1px solid var(--border);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.2rem;padding:.2rem .5rem;font-size:.65rem;display:inline-block}.foundation-detail{margin-top:1rem}.foundation-detail dl{gap:1rem;margin:1rem 0;display:grid}.foundation-detail dt{color:var(--muted-foreground);margin-bottom:.25rem;font-size:.72rem}.foundation-detail ul{padding-left:1.1rem;list-style:outside}.foundation-detail li+li{margin-top:.3rem}.foundation-reference{margin:.5rem 0;font-size:.8rem;display:block}.foundation-actions{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.foundation-actions button,.foundation-related button{white-space:normal;text-align:left;max-width:100%;height:auto;min-height:2.5rem}.foundation-evidence p{margin-top:.5rem}.foundation-related{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.foundation-related h4{margin-bottom:.4rem}.foundation-empty{color:var(--muted-foreground);max-width:60ch;padding:2rem 0}.foundation-notice{border:1px solid var(--border);margin:1rem 0;padding:1rem}.foundation-editor,.foundation-selected{border:1px solid var(--border);background:var(--muted);margin:1rem 0;padding:1.25rem}.foundation-editor>label,.foundation-editor>details{margin-top:1rem}.foundation-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem;margin-top:1rem;display:grid}.foundation-source-row{border-top:1px solid var(--border);gap:.75rem;margin-top:1rem;padding-top:1rem;display:grid}.foundation-source-row>button{justify-self:start}.foundation-history>details{margin-bottom:1rem}.foundation-history section{margin:1rem 0}.foundation-onboarding{max-width:72rem;margin:0 auto;padding:2rem 1.25rem 5rem}.foundation-onboarding>header{max-width:42rem;margin:0 0 2rem}.foundation-onboarding h1{margin-bottom:1rem;font-size:clamp(1.8rem,4vw,2.6rem);font-weight:500;line-height:1.15}.foundation-onboarding header p{color:var(--muted-foreground);font-size:.95rem;line-height:1.7}.foundation-start{gap:1.25rem;max-width:36rem;display:grid}.foundation-start label{gap:.5rem;font-size:.9rem;display:grid}.foundation-start textarea{background:var(--background);border:1px solid var(--input);width:100%;min-width:0;padding:.8rem}.foundation-finish{gap:1rem;max-width:36rem;margin:2rem 0;display:grid}.foundation-finish label{gap:.5rem;display:grid}.foundation-finish p{color:var(--muted-foreground);font-size:.85rem}.foundation-links{flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;display:flex}.foundation-links a{text-underline-offset:4px;font-size:.9rem;text-decoration:underline}@media (max-width:480px){.foundation-workspace .foundation-search{flex:100%;min-width:0}.foundation-onboarding{padding:1.5rem .75rem 4rem}.foundation-record,.foundation-editor,.foundation-selected{padding:1rem}.foundation-heading{flex-wrap:wrap}.foundation-nav{gap:.25rem}.foundation-nav button{font-size:.75rem}.foundation-workspace input,.foundation-workspace textarea,.foundation-workspace select,.foundation-start input,.foundation-start textarea{font-size:16px}}
