@font-face{font-family:Manrope;src:url('assets/fonts/manrope-variable.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:'WenKai TC';src:url('assets/fonts/wenkai-tc-display.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{--bg:#f5f7f2;--surface:#fdfefa;--detail:#fdfefa;--ink:#263e36;--muted:#57695f;--quiet:#64756a;--line:#dae2d7;--accent:#305b4a;--accent-soft:#e2eddc;--coral:#c95e47;--pressure:#2f6d50;--flow:#3a7390;--grav:#aa5141;--weight:#8f6c1c;--radius:20px;--sans:Manrope,'Avenir Next',sans-serif;--serif:var(--sans);font-family:var(--sans);color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,select,summary{cursor:pointer}button{touch-action:manipulation}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{border:0;border-radius:12px}button:disabled{cursor:default}a{color:var(--accent);text-underline-offset:4px}img,svg{max-width:100%}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b35937;outline-offset:4px}input,select{border-radius:12px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{line-height:1.25}h1{font-size:42px;letter-spacing:-1.8px;font-weight:750;margin:0}h2{letter-spacing:-.6px}::selection{background:#cfe0c4;color:#233e30}[hidden]{display:none!important}.skip-link{position:fixed;left:16px;top:-70px;background:var(--ink);color:var(--surface);padding:10px 16px;z-index:100}.skip-link:focus{top:16px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Desktop workspace: navigation recedes; the record collection stays primary. */
.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:204px;background:#edf2e9;border-right:1px solid var(--line);padding:30px 18px 24px;display:flex;flex-direction:column}.workspace-name{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:750;letter-spacing:-.4px;white-space:nowrap}.workspace-name svg{width:31px;height:35px;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-caption{margin:46px 12px 11px;font-size:11px;color:var(--muted);font-weight:600}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-button{width:100%;display:flex;align-items:center;gap:10px;min-height:46px;text-align:left;padding:10px 12px;background:transparent;font-size:12px;font-weight:650;transition:background .18s,color .18s}.nav-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.nav-button svg circle{fill:#edf2e9}.nav-button:hover{background:#e0e8da}.nav-button.is-active{background:var(--ink);color:#f4f8eb}.nav-button.is-active svg circle{fill:var(--ink)}.nav-count{margin-left:auto;min-width:18px;text-align:center;font-size:10px;font-weight:650;opacity:.8}.sidebar-drawing{margin-top:auto;height:174px;overflow:hidden;position:relative;pointer-events:none}.sidebar-drawing img{width:220px;max-width:none;height:220px;object-fit:contain;position:absolute;left:-43px;top:3px;transform:rotate(-14deg);opacity:.75}.sidebar-state{display:flex;align-items:center;gap:8px;padding:13px 10px 0;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.snapshot-symbol{width:10px;height:10px;border:1.5px solid var(--muted);border-radius:3px;display:inline-block}.app-frame{margin-left:204px;min-width:0}.app-toolbar{height:72px;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--bg)}.toolbar-location{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.location-dot{width:6px;height:6px;border-radius:50%;background:#8b9d87}.record-status{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.record-status>span{opacity:.85}.record-status time{font-weight:650}.app-shell{max-width:1520px;margin:0 auto;padding:0 clamp(24px,4vw,64px) 70px}.collection-header{height:185px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative}.section-label{font-size:10px;font-weight:650;color:var(--quiet);margin:0 0 10px}.collection-summary{font-size:12px;color:var(--muted);margin:10px 0 0;min-height:19px}.header-drawing{width:210px;height:155px;position:relative;pointer-events:none;overflow:hidden;align-self:end}.header-drawing img{position:absolute;width:224px;height:224px;max-width:none;object-fit:contain;top:-27px;left:-4px;z-index:1}.drawing-orbit{position:absolute;left:30px;top:50px;width:150px;height:130px;border-radius:50%;background:#f4e5d4;transform:rotate(-20deg)}
/* Search and filters are a single, compact collection toolbar. */
.filters{display:grid;grid-template-columns:minmax(0,1fr) 192px 150px;gap:10px;margin:0;padding:0;align-items:center}.search-field,.filter-field{min-width:0}.search-input,.select-wrap{position:relative}.filters input,.filters select{display:block;width:100%;height:46px;background:var(--surface);border:1px solid var(--line);font-size:12px;box-shadow:none}.filters input{padding:0 68px 0 41px;appearance:none}.filters input::placeholder{color:#718073}.filters input::-webkit-search-cancel-button{display:none}.search-input>svg{position:absolute;left:15px;top:15px;width:17px;height:17px;stroke:var(--quiet);stroke-width:1.7;pointer-events:none}.search-input kbd{position:absolute;right:14px;top:12px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:11px;font-family:inherit;pointer-events:none}.search-input:has(.search-clear:not([hidden])) kbd{display:none}.search-clear{position:absolute;right:5px;top:1px;width:44px;height:44px;background:transparent;font-size:10px;line-height:1;color:var(--quiet)}.filters select{appearance:none;padding:0 31px 0 14px;text-overflow:ellipsis}.select-wrap>svg{position:absolute;right:12px;top:17px;width:13px;height:13px;stroke:var(--muted);stroke-width:1.6;pointer-events:none}.collection-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 22px;min-width:0}.quick-filters{display:flex;gap:6px;min-width:0;flex-wrap:wrap}.filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 13px;border:1px solid transparent;background:transparent;border-radius:11px;color:var(--muted);font-size:11px;font-weight:650;white-space:nowrap;transition:background .16s,color .16s}.filter-chip:hover{background:#e8eee2}.filter-chip.is-active{background:#dfebd8;color:#234b36;border-color:#cbdcc3}.filter-chip-count{font-size:10px;opacity:.8;font-variant-numeric:tabular-nums}.results-line{display:flex;gap:12px;align-items:center;justify-content:flex-end;color:var(--quiet);font-size:10px;flex-shrink:0}.results-line p{margin:0}.clear-filters{min-height:40px;background:transparent;color:var(--accent);padding:4px 0;font-size:11px;text-decoration:underline;text-underline-offset:4px}
/* Cards: identity first, small recipe badge, and a clear press target. */
.shots-grid,.profiles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;min-width:0}.shot-card{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;transition:border-color .18s,transform .18s,box-shadow .18s;position:relative}.shot-card[data-profile-key=nectar]{--profile-bg:#e5ecd6;--profile-ink:#45612f}.shot-card[data-profile-key=velvet]{--profile-bg:#f8e3d7;--profile-ink:#8d4b33}.shot-card[data-profile-key=simple]{--profile-bg:#e5eaf1;--profile-ink:#4b617a}.shot-card:hover{transform:translateY(-3px);border-color:#aabda5;box-shadow:0 8px 20px #23472d09}.shot-card.is-open{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#f6faef}.shot-toggle{display:flex;flex-direction:column;width:100%;height:100%;text-align:left;border:0;border-radius:inherit;background:transparent;min-height:271px;padding:22px;position:relative}.shot-toggle:focus-visible{outline-offset:-5px}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:27px}.profile-badge,.card-profile{display:flex;align-items:center;gap:6px;min-width:0;padding:5px 9px;background:var(--profile-bg,#e8eee2);color:var(--profile-ink,var(--accent));border-radius:7px;line-height:1.3}.card-profile-label{display:none}.card-profile strong{font-size:10px;font-weight:700;white-space:nowrap}.card-date{font-size:9px;color:var(--quiet);font-variant-numeric:tabular-nums;text-align:right;line-height:1.4;max-width:105px}.card-heading{display:flex;gap:11px;align-items:center;margin-bottom:20px}.logo-box{width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--muted);flex:0 0 38px;border-radius:9px;overflow:hidden;background:#edf1e7}.logo-box.has-logo{background:transparent}.logo-box img{display:block;width:38px;height:38px;object-fit:contain;border-radius:7px}.logo-box svg{width:26px;height:26px}.card-identity-copy{min-width:0}.card-roaster{display:block;font-size:9px;color:var(--muted);margin:0 0 5px;line-height:1.4}.card-bean{font-size:21px;line-height:1.3;letter-spacing:-.7px;font-weight:700;margin:0;overflow-wrap:anywhere}.card-note{font-size:11px;color:var(--quiet);margin:0 0 14px}.card-feedback{margin:0 0 20px;padding:0;min-width:0}.card-feedback-label{font-size:9px;font-weight:650;color:var(--quiet);display:block;margin-bottom:7px}.card-feedback-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.8;color:var(--muted);white-space:pre-wrap}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid #e7ece3;min-height:45px}.card-open-label{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;font-size:10px;font-weight:650;color:var(--ink)}.chevron{width:27px;height:27px;padding:6px;background:#edf2e6;border-radius:50%;flex-shrink:0;transition:transform .18s,background .18s}.is-open .chevron{transform:rotate(180deg);background:#d9e7ce}.shot-card:not(.has-feedback) .shot-toggle{min-height:221px}
/* Expanded record: controls and measured evidence retain their existing contracts. */
.detail-panel{grid-column:1/-1;min-width:0;border:1px solid #bdcfb6;border-radius:22px;background:var(--detail);padding:32px;scroll-margin-top:90px;animation:detail-in .22s ease-out}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:23px;border-bottom:1px solid var(--line)}.detail-title{font-size:27px;font-weight:750;letter-spacing:-1px;margin:0 0 8px;overflow-wrap:anywhere}.detail-meta{font-size:12px;color:var(--muted);margin:0}.detail-close,.quiet-button{min-height:44px;padding:10px 15px;background:#edf3e7;color:var(--accent);font-size:12px;font-weight:650;border:1px solid #d9e4d3;white-space:nowrap}.detail-section{margin-top:30px;min-width:0}.section-title{font-size:17px;letter-spacing:-.4px;font-weight:750;margin:0 0 18px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 25px;margin:27px 0 10px}.metric{min-width:0;padding-bottom:17px;border-bottom:1px solid var(--line)}.metric-label,.metric-note{display:block;color:var(--quiet);font-size:11px}.metric-value{display:block;font-size:29px;letter-spacing:-1px;line-height:1.3;font-weight:700;margin:7px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric-note{font-size:10px;line-height:1.7}.data-note,.pending-note{color:var(--muted);font-size:12px;line-height:1.85;margin:12px 0}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.feedback-card{margin:14px 0 18px;padding:16px 18px;background:#f0f5e9;border-radius:12px;white-space:pre-wrap;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.feedback-translation-label{font-size:10px;color:var(--quiet)}.feedback-original{font-family:'WenKai TC','PingFang TC',sans-serif;font-size:17px;background:#f5f4ed}.roaster-description{margin-top:22px}.roaster-description h4{font-size:12px;margin-bottom:9px}.bean-description{font-size:12px}.bean-photo{margin:0}.bean-photo img{display:block;max-width:100%;max-height:430px;width:auto;height:auto;border-radius:12px}.bean-photo-disclosure .facts-grid{grid-template-columns:1fr}.detail-panel details{border-top:1px solid var(--line);padding-top:10px;margin-top:22px}.detail-panel summary{min-height:44px;align-content:center;list-style-position:inside;color:var(--accent);font-size:12px;font-weight:650}.detail-panel details[open]>summary{margin-bottom:12px}.facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;font-size:12px;margin:0}.facts-grid>div{padding:8px 0;border-bottom:1px solid var(--line);min-width:0}.facts-grid dt{font-size:10px;color:var(--quiet);margin:0 0 4px}.facts-grid dd{margin:0;overflow-wrap:anywhere}.table-scroll,.stage-table-wrap{overflow:auto;max-width:100%}.stage-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.7}.stage-table th{text-align:left;font-size:10px;font-weight:650;color:var(--quiet)}.stage-table th,.stage-table td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.stage-table th:first-child,.stage-table td:first-child{padding-left:0}.asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:16px}.asset-grid figure{margin:0;min-width:0}.asset-grid img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}.asset-caption{font-size:11px;line-height:1.7;margin-top:8px;color:var(--muted);overflow-wrap:anywhere}.downloads{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:26px;padding-top:18px;font-size:11px;color:var(--muted)}.downloads a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;background:#edf2e7;border-radius:10px;font-weight:650;text-decoration:none}.adjustment-item{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}.adjustment-status{color:var(--accent);font-weight:650}.detail-panel pre{font-size:11px;padding:15px;border-radius:10px;background:var(--bg);max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.chart-panel{margin:0;min-width:0;padding:16px 0 0;border-top:1px solid var(--line)}.chart-panel h4{font-size:12px;font-weight:700;margin:0 0 9px}.chart-legend{display:flex;flex-wrap:wrap;gap:13px;font-size:10px;color:var(--muted);margin-bottom:6px}.series-key{display:inline-flex;align-items:center;gap:6px}.series-key::before{content:'';width:15px;border-top:2px solid var(--series-color,currentColor)}.chart-panel svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}.chart-panel figcaption{font-size:10px;color:var(--quiet)}.cursor-control{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:12px;margin:18px 0 8px;color:var(--muted)}.cursor-control input[type=range]{flex:1;min-width:160px;min-height:44px;accent-color:var(--accent)}.cursor-time{font-size:12px;min-width:70px;text-align:right;font-variant-numeric:tabular-nums}.chart-readout{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:15px 0;border-block:1px solid var(--line)}.readout-item{min-width:0}.readout-item span{display:block;font-size:10px;color:var(--quiet);margin-bottom:4px}.readout-item output{font-size:12px;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.raw-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:11px;color:var(--muted)}.raw-toggle input{width:17px;height:17px;accent-color:var(--accent)}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;max-height:100px;margin:0 0 20px;overflow:hidden}.profile-section-heading h2{font-size:16px;font-weight:650;margin:0}.profile-section-heading img{width:140px;height:140px;object-fit:contain;transform:rotate(-12deg)}.profile-grid-card{min-width:0;background:var(--surface);padding:25px;border:1px solid var(--line);border-radius:var(--radius)}.profile-grid-card h2{font-size:21px;margin:0 0 18px;font-weight:700}.profile-stats{font-size:24px;letter-spacing:-.6px;margin-bottom:10px;font-variant-numeric:tabular-nums}.profile-grid-card .data-note{font-size:11px}.profile-view-button{min-height:44px;padding:8px 14px;background:#e8f0df;color:var(--accent);font-size:11px;font-weight:650;margin-top:18px}.empty-state{padding:25px 20px 40px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.empty-state>img{width:130px;height:105px;object-fit:contain}.empty-state h2{font-size:22px;margin:0 0 10px}.empty-state p{font-size:12px;color:var(--muted)}.empty-state button{margin-top:10px}@keyframes detail-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1800px){.app-shell{padding-inline:72px}.card-bean{font-size:24px}.shot-toggle{padding:27px;min-height:292px}.card-roaster{font-size:10px}.card-profile strong,.card-date{font-size:10px}.card-feedback-text{font-size:12px}.card-open-label{font-size:11px}}
@media(max-width:1119px){.app-sidebar{position:sticky;top:0;width:auto;height:65px;inset:0 0 auto 0;flex-direction:row;align-items:center;padding:0 26px;border-right:0;border-bottom:1px solid var(--line);gap:35px}.app-frame{margin-left:0}.workspace-name{font-size:14px}.workspace-name svg{width:27px}.nav-caption,.sidebar-drawing,.sidebar-state{display:none}.main-nav{flex-direction:row;gap:5px;margin-left:auto}.nav-button{width:auto;font-size:12px;gap:8px;min-height:41px;padding:8px 13px}.nav-count{margin-left:5px}.app-toolbar{height:53px;padding-inline:32px}.app-shell{padding-inline:32px}.collection-header{height:163px}.header-drawing{height:145px}.shots-grid,.profiles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shot-toggle{min-height:265px}.card-bean{font-size:24px}.card-feedback-text{font-size:12px}.card-roaster{font-size:10px}.card-date{font-size:10px}.card-profile strong{font-size:11px}.chart-grid{grid-template-columns:1fr}.detail-panel{padding:27px}}
@media(max-width:719px){html{scroll-padding-top:78px}.app-sidebar{height:58px;padding:0 20px;gap:0}.workspace-name{font-size:14px}.workspace-name svg{width:27px;height:30px}.main-nav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:20px;right:20px;display:flex;gap:5px;padding:5px;border:1px solid #c9d7c2;border-radius:18px;background:#f4f7ee;box-shadow:0 5px 25px #223a2b13;z-index:30}.nav-button{flex:1;justify-content:center;font-size:11px;min-height:46px;border-radius:12px;padding:8px;gap:8px}.nav-button svg{width:18px;height:18px}.nav-count{font-size:9px;min-width:13px;margin-left:0}.app-toolbar{height:55px;padding:0 20px;gap:12px}.toolbar-location{font-size:9px}.record-status{font-size:9px;gap:5px;line-height:1.5;align-items:flex-end;flex-direction:column}.record-status>span{font-size:8px}.app-shell{padding:0 20px calc(107px + env(safe-area-inset-bottom))}.collection-header{height:151px;gap:0}.section-label{font-size:9px;margin-bottom:9px}h1{font-size:36px;letter-spacing:-1.4px}.collection-summary{font-size:10px;margin-top:8px}.header-drawing{width:116px;height:142px;margin-right:-7px;flex-shrink:0}.header-drawing img{width:164px;height:164px;left:-19px;top:-4px}.drawing-orbit{width:95px;height:94px;left:15px;top:55px}.filters{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:9px}.search-field{grid-column:1/-1}.filters input,.filters select{font-size:16px;height:47px}.filters select{font-size:11px;padding-left:13px}.filters input{font-size:13px}.filters input:focus{font-size:16px}.collection-controls{display:block;margin:18px 0 17px}.quick-filters{gap:4px;flex-wrap:nowrap;overflow:auto;scrollbar-width:none;padding-bottom:2px}.quick-filters::-webkit-scrollbar{display:none}.filter-chip{padding:8px 11px;min-height:44px;font-size:10px;gap:6px;flex-shrink:0}.filter-chip-count{font-size:9px}.results-line{justify-content:space-between;margin-top:13px;font-size:9px;min-height:20px}.clear-filters{font-size:10px;min-height:44px}.shots-grid,.profiles-grid{grid-template-columns:1fr;gap:14px}.shot-toggle{padding:23px;min-height:267px}.shot-card:not(.has-feedback) .shot-toggle{min-height:219px}.card-topline{margin-bottom:26px}.card-bean{font-size:25px;letter-spacing:-.8px}.card-heading{gap:13px;margin-bottom:21px}.logo-box,.logo-box img{width:40px;height:40px}.logo-box{flex-basis:40px}.card-roaster{font-size:10px}.card-feedback-text{font-size:12px}.card-profile strong{font-size:10px}.card-date{font-size:9px;max-width:115px}.card-open-label{font-size:11px}.detail-panel{padding:24px 18px;border-radius:18px;scroll-margin-top:80px}.detail-title{font-size:23px}.detail-header{gap:10px;padding-bottom:20px}.detail-meta{font-size:10px}.detail-close{font-size:10px;padding:8px 10px;white-space:normal;min-width:54px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px;margin-top:22px}.metric-value{font-size:26px}.metric-label{font-size:10px}.metric-note{font-size:9px}.section-title{font-size:16px}.chart-grid{gap:24px}.chart-readout{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}.cursor-control{gap:8px}.cursor-control input[type=range]{order:3;flex-basis:100%;min-width:100%;margin:0}.cursor-time{margin-left:auto}.detail-columns{grid-template-columns:1fr;gap:0}.asset-grid{grid-template-columns:1fr}.facts-grid{font-size:11px;gap:7px 14px}.facts-grid dt{font-size:9px}.feedback-card{font-size:12px;padding:14px}.feedback-original{font-size:17px}.stage-table{font-size:11px}.stage-table th,.stage-table td{padding:11px 6px}.downloads{font-size:10px;gap:10px}.downloads>span{flex-basis:100%}.data-note,.pending-note{font-size:11px}.profile-grid-card{padding:24px}.profile-section-heading{max-height:88px}.profile-section-heading img{width:125px;height:125px}.empty-state h2{font-size:21px}}
@media(max-width:359px){.app-shell{padding-inline:16px}.app-toolbar{padding-inline:16px}.app-sidebar{padding-inline:16px}.main-nav{left:16px;right:16px}.header-drawing{width:95px;margin-right:-8px}.header-drawing img{left:-26px}.drawing-orbit{left:4px}.card-bean{font-size:23px}.shot-toggle{padding:21px}.filter-chip{padding-inline:9px}.card-date{font-size:8px}.detail-panel{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.app-sidebar,.app-toolbar,.filters,.collection-controls,.header-drawing,.detail-close,.card-open-label{display:none}.app-frame{margin:0}.app-shell{padding:0}.collection-header{height:auto;margin:20px 0}.shots-grid{display:block}.shot-card,.detail-panel{break-inside:avoid;margin-bottom:15px}.shot-toggle{min-height:0}.detail-panel{border-color:#abb8a7}}

/* Readable app labels at desktop density. */
@media(min-width:720px){.nav-button{font-size:13px}.card-roaster{font-size:11px}.card-date{font-size:10px}.card-profile strong{font-size:11px}.card-feedback-label{font-size:10px}.card-feedback-text{font-size:13px}.card-open-label{font-size:12px}.shot-toggle{min-height:292px}.filter-chip{font-size:12px}.filters input{font-size:13px}.metric-note{font-size:11px}.profile-view-button{font-size:12px}}
/* Machine profile covers and recorded evolution. */
.profiles-grid{align-items:start}.profile-grid-card{padding:0;overflow:hidden}.profile-cover{margin:0;position:relative;height:190px;background:#e9eee4;border-bottom:1px solid var(--line);display:flex;justify-content:center;align-items:center;padding:14px 14px 28px}.profile-cover img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}.profile-cover-caption{position:absolute;bottom:7px;left:14px;right:14px;font-size:10px;text-align:center;color:var(--muted)}.profile-cover-missing{min-height:150px;display:grid;place-items:center;padding:24px;background:#edf2e8;color:var(--muted);font-size:12px}.profile-card-body{padding:24px}.profile-current-label{font-size:10px;color:var(--quiet);font-weight:650}.profile-grid-card .profile-stats{margin:7px 0 12px}.profile-grid-card .profile-record-count,.profile-grid-card .profile-observed{margin:7px 0;font-size:11px}.profile-actions{display:flex;gap:8px;margin:18px 0}.profile-actions .profile-view-button{margin:0;font-size:12px;min-height:44px}.profile-history,.profile-current-details{margin-top:14px;border-top:1px solid var(--line);padding-top:7px}.profile-history>summary,.profile-current-details>summary{min-height:44px;align-content:center;list-style-position:inside;color:var(--accent);font-size:12px;font-weight:650}.profile-history-count{margin-left:4px;font-size:10px;font-weight:500;color:var(--quiet)}.profile-history-body{margin-top:15px}.profile-timeline{list-style:none;margin:0;padding:0 0 0 15px}.profile-timeline-item{position:relative;padding:0 0 26px 17px;border-left:1px solid #d0ddc8;min-width:0}.profile-timeline-item:last-child{padding-bottom:5px;border-left-color:transparent}.profile-timeline-item::before{content:'';position:absolute;left:-4px;top:7px;width:7px;height:7px;background:#65875a;border-radius:50%;box-shadow:0 0 0 4px var(--surface)}.profile-timeline-item[data-kind=proposal]::before{background:#ba8657}.profile-timeline-item[data-kind=observation]::before,.profile-timeline-item[data-kind=snapshot]::before{background:#7e91a0}.profile-event-header{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;line-height:1.7}.profile-event-kind{font-weight:700;color:var(--accent)}.profile-event-status{padding:1px 6px;background:#edf2e8;border-radius:5px;font-size:9px}.profile-event-date{display:block;flex-basis:100%;color:var(--quiet);font-variant-numeric:tabular-nums}.profile-event-title{font-size:15px;font-weight:750;letter-spacing:-.2px;line-height:1.5;margin:11px 0 12px;overflow-wrap:anywhere}.profile-event-reasons,.profile-event-relationship,.profile-event-version,.profile-current-version,.profile-cover-provenance,.profile-event-provenance,.profile-event-hypothesis{grid-template-columns:1fr;gap:3px;margin:10px 0;font-size:12px}.profile-grid-card .facts-grid dt{font-size:10px}.profile-grid-card .facts-grid dd{font-size:12px;line-height:1.8;white-space:pre-wrap}.profile-grid-card .facts-grid>div{padding:8px 0}.profile-event-tradeoffs h4{font-size:11px;margin:14px 0 8px}.profile-event-tradeoffs ul{margin:0;padding-left:18px;font-size:12px;line-height:1.8;color:var(--muted)}.profile-changes-table{font-size:11px;min-width:260px}.profile-changes-table th,.profile-changes-table td{padding:9px 7px}.profile-changes-table th{font-size:10px}.profile-changes-table td:first-child{max-width:100px}.profile-event-quote{margin:10px 0;padding:12px;background:#f0f5e9;border-radius:8px;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.profile-grid-card pre{font-size:11px;padding:12px;background:#f0f4eb;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;overflow:auto}.profile-event-values,.profile-event-quote-disclosure{margin-top:13px;border-top:1px solid var(--line);padding-top:6px}.profile-event-values>summary,.profile-event-quote-disclosure>summary{font-size:11px;color:var(--accent);min-height:44px;align-content:center;list-style-position:inside}.profile-current-details .stage-table-wrap{margin:18px 0}.profile-current-details .stage-table{min-width:480px}.profile-current-details .facts-grid{grid-template-columns:1fr}.profile-current-details .stage-table th{font-size:10px}.profile-current-details .stage-table td{font-size:11px}.profile-event-taste{font-size:11px;padding:8px 10px;background:#f6eddf;border-radius:8px;color:#80582d}
@media(max-width:719px){.profile-cover{height:190px}.profile-card-body{padding:23px}.profile-history>summary,.profile-current-details>summary{font-size:13px}.profile-event-title{font-size:16px}.profile-grid-card .facts-grid dd{font-size:13px}.profile-timeline{padding-left:8px}.profile-timeline-item{padding-left:15px}.profile-event-quote{font-size:14px}}
