/* Workspace refinements kept separate from the base responsive layout. */
:root{--ink:#213c48;--line:#dce5eb;--wash:#f3f7fa}
.app-header{box-shadow:0 2px 14px #193b4b08}.brand{gap:16px}.private-label{background:#edf7f2;padding:6px 10px;border-radius:5px;color:#276e58}
.auth-intro h1{font-size:42px;color:#173c4c}.auth-intro>.eyebrow{color:#4168a3}.auth-form{border-top:4px solid #087f74;box-shadow:0 20px 60px #173d4c10}.auth-illustration{width:370px;padding:32px 8px 10px}.sample-person{width:156px;min-height:72px;justify-content:flex-start;padding:12px;background:#fff;border-color:#c7dce4;box-shadow:0 5px 15px #2044530b}.sample-person>span{width:40px;height:40px;background:#e6edf9;color:#486390;font-size:13px}.sample-generation .sample-person:last-child>span{background:#fae9e5;color:#9a5b51}.sample-generation{gap:32px}.sample-line{height:42px;border-color:#6d9ca9;border-width:2px}
.password-field{position:relative;display:block;margin-top:6px}.password-field input{padding-right:49px!important;margin:0!important}.password-toggle{position:absolute;right:4px;top:4px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#355d70;border-radius:4px}.password-toggle:hover{background:#e8f1f6}.password-toggle svg{width:20px;height:20px}
.sample-generation{position:relative;padding-top:16px}.sample-generation:before{content:'';position:absolute;top:0;left:22%;right:22%;height:16px;border:2px solid #6d9ca9;border-bottom:0}.sample-person{position:relative}.tree-actions:not(:has(button:not([hidden]))){display:none}
.contribution-section{margin-top:24px;border-top:1px solid var(--line);padding-top:4px}.contribution-section h3{display:flex;align-items:center;gap:8px}.field-credits,.gap-list{list-style:none;padding:0}.field-credits li{display:grid;grid-template-columns:90px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.field-credits strong{font-size:12px}.field-credits small{display:block;color:var(--muted);font-size:11px}.contribution-history{padding-left:20px;font-size:13px}.contribution-history li{margin:14px 0;overflow-wrap:anywhere}.contribution-history time{display:block;color:var(--muted);font-size:11px}.contribution-section summary{cursor:pointer;font-size:13px;margin:16px 0;color:var(--blue)}.gap-list li{padding:10px 0;border-bottom:1px solid var(--line)}.gap-list small{display:block;color:var(--muted);padding-left:26px}.access-columns>section{min-width:0}.access-columns input,.access-columns select{max-width:100%}.branch-attachment{border-bottom:1px solid var(--line);padding-bottom:12px}.view-tools{flex-wrap:wrap}.connections .icon{flex-shrink:0}
.last-contributor{display:flex;align-items:flex-start;gap:7px;font-size:12px;padding:10px 0;color:#3b6c61;overflow-wrap:anywhere}.last-contributor small{display:block;color:var(--muted);font-size:11px}.last-contributor svg{width:16px;height:16px;margin-top:1px}.tree-actions{flex-wrap:wrap}
.age-preview{display:block;padding:11px 13px;border-left:3px solid #087f74;background:#eef7f3;color:#246456;font-size:14px;margin:14px 0}.profile dl{grid-template-columns:82px minmax(0,1fr)}.profile dt{overflow-wrap:anywhere}
.sidebar{padding-top:25px;background:#fafcfd}.sidebar-heading h2{color:#345268}.tree-item{padding:14px 10px}.tree-item.active{background:#e5f1ed;box-shadow:inset 3px 0 #087f74}.tree-item small{margin-top:4px}.tree-title{padding-top:20px;padding-bottom:20px}.tree-title h1{font-size:26px}.toolbar .search{border:1px solid #dce5eb;border-radius:6px;background:#f7fafc;padding:2px 8px}.canvas-area{background-color:#f3f7fa;background-image:radial-gradient(#cbdbe3 .8px,transparent .8px);background-size:24px 24px}.graph-legend{background:#ffffffed;border-top:1px solid #dfe8ed;color:#405969}.profile{box-shadow:-6px 0 24px #173b4b08}.profile h2{font-size:24px}.initial-avatar{background:#e6eef8;color:#47638e;border:5px solid #f6f9fd}.profile dl{display:grid;grid-template-columns:70px 1fr;gap:12px 10px;border-top:1px solid var(--line);padding-top:18px}.profile dt{padding-top:2px}.profile dd{margin:0;overflow-wrap:anywhere}.portrait{width:120px;height:120px;box-shadow:0 4px 18px #243f5114;border:4px solid #fff;outline:1px solid #dce5eb}.export-options .secondary{justify-content:flex-start;padding:15px}.export-options svg{color:#087f74}.export-note{padding:10px 0;font-size:13px;color:#607780}.pdf-shortcut{color:#145a86}.workspace[aria-busy=true]{cursor:progress}
@media(max-width:760px){.auth-intro h1{font-size:32px}.tree-title h1{font-size:22px}.tree-title{padding:14px}.view-tools{justify-content:space-between}.view-tools .icon{width:34px;flex-basis:34px}.pdf-shortcut{padding:8px 10px;font-size:13px}.brand{gap:8px}.graph-legend{gap:6px}.auth-intro .auth-illustration{display:none}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .15s,box-shadow .15s}.auth-form{animation:arrive .3s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
