:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef2f7;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html{background:#eef2f7;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}*{box-sizing:border-box}body{color:#241f2f;background:#f7f4ff;margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{color:#2a2434;cursor:pointer;background:#fff;border:1px solid #ded6e8;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 14px;font-weight:800;display:inline-flex}button:focus-visible,.button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #ffbd72}h1,h2,p{overflow-wrap:anywhere;margin-top:0}h1{letter-spacing:0;margin-bottom:8px;font-size:1.85rem;line-height:1.2}h2{letter-spacing:0;margin-bottom:12px;font-size:1.12rem}p{color:#675e72;line-height:1.7}input,select,textarea{color:#241f2f;background:#fff;border:1px solid #ded6e8;border-radius:8px;width:100%;min-height:48px;padding:12px 13px}textarea{resize:vertical}label{color:#4c4558;gap:7px;font-size:.92rem;font-weight:800;display:grid}.app-shell{background:radial-gradient(circle at 15% 0,#ffc37647,#0000 30%),linear-gradient(#fffdf9 0%,#f7f4ff 56%,#f5f7fb 100%);min-height:100vh;padding:16px 14px 94px}.app-header{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf9db;justify-content:space-between;align-items:center;gap:12px;width:min(100%,860px);margin:0 auto 16px;padding:10px 0;display:flex;position:sticky;top:0}.brand-button{background:0 0;border:0;justify-content:flex-start;min-height:48px;padding:4px}.brand-icon{color:#fff;background:#7c5cff;border-radius:8px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.brand-button span:last-child{text-align:left;gap:1px;display:grid}.brand-button small{color:#766d80;font-weight:700}.app-main{width:min(100%,860px);margin:0 auto}.page-stack,.section-stack,.form-stack,.match-list{gap:14px;display:grid}.page-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-title p{margin-bottom:0}.page-title-action{flex:none}.eyebrow{color:#7c5cff;letter-spacing:0;margin-bottom:5px;font-size:.78rem;font-weight:900}.surface-card,.empty-state,.match-list-card{background:#ffffffe6;border:1px solid #5c4b7c24;border-radius:8px;box-shadow:0 10px 28px #392b5614}.surface-card{padding:16px}.button-primary{color:#fff;background:#7c5cff;border-color:#7c5cff}.button-secondary{color:#4b3e6f;background:#fff}.button-ghost{background:0 0;border-color:#0000}.button-danger{color:#b42334;background:#fff4f5;border-color:#ffccd2}.hero-actions,.button-row,.compact-row{flex-wrap:wrap;gap:10px;display:flex}.hero-actions>*,.button-row>*{flex:180px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric-label{color:#756d80;font-size:.82rem;font-weight:800;display:block}.metric-value{color:#241f2f;margin-top:4px;font-size:1.65rem;line-height:1.15;display:block}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading h2{margin:0}.empty-state{text-align:center;padding:24px 18px}.empty-mark{color:#b86411;background:#fff1dd;border-radius:8px;place-items:center;width:54px;height:54px;margin:0 auto 12px;font-weight:900;display:grid}.lab-note,.notice-card{background:#fffaf1}.premium-card{background:#f2edff}.two-column,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.required,.field-error,.text-danger{color:#c2293b}.field-error{font-weight:700}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.choice-button{background:#fff;border-color:#e3dceb;justify-content:center;min-height:58px}.choice-button.active{color:#5a3df0;background:#f1ecff;border-color:#7c5cff}.record-list{gap:10px;display:grid}.record-row{background:#fff;border:1px solid #ece5f5;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.record-row p,.record-row small{color:#675e72;margin:4px 0 0}.record-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.record-actions button,.text-danger{min-height:38px;padding:7px 10px}.text-danger{background:#fff4f5;border-color:#ffccd2;font-weight:800}.status-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:30px;padding:4px 9px;font-size:.8rem;font-weight:900;display:inline-flex}.status-green{color:#19713a;background:#eefaf1;border-color:#b7e3c5}.status-orange{color:#a85a05;background:#fff7e8;border-color:#ffd493}.status-purple{color:#5a3df0;background:#f4f0ff;border-color:#d7ccff}.status-gray{color:#675e72;background:#f8f7fb;border-color:#ddd7e5}.status-red{color:#b42334;background:#fff4f5;border-color:#ffcbd2}.list-controls{gap:12px;display:grid}.segmented{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.segmented button{min-height:42px;padding:8px}.segmented .active{color:#5a3df0;background:#f1ecff;border-color:#7c5cff}.match-list-card{gap:10px;padding:14px;display:grid}.match-card-link{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid}.match-card-link p{margin:6px 0 0}.match-card-meta{color:#675e72;justify-items:end;gap:5px;font-size:.86rem;font-weight:800;display:grid}.detail-grid>div,.info-list>div{gap:4px;display:grid}.detail-grid span,.info-list dt{color:#756d80;font-size:.82rem;font-weight:800}.detail-grid strong,.info-list dd{margin:0;font-size:1.05rem;font-weight:900}.info-list{gap:12px;margin:0;display:grid}.memo-box{background:#faf8fd;border-radius:8px;margin:12px 0 0;padding:12px}.timeline-list,.link-list{gap:8px;display:grid}.timeline-row{background:#fff;border:1px solid #ece5f5;border-radius:8px;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.timeline-row span,.timeline-row em{color:#675e72;font-style:normal;font-weight:800}.link-list a{color:#4b3e6f;border-bottom:1px solid #eee8f5;align-items:center;min-height:44px;padding:10px 0;font-weight:800;display:flex}.bottom-nav{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border:1px solid #5c4b7c29;border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:min(100% - 20px,560px);padding:7px;display:grid;position:fixed;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #392b5629}.bottom-nav a{color:#6a6075;border-radius:8px;place-items:center;min-height:48px;font-size:.82rem;font-weight:900;display:grid}.bottom-nav a.active{color:#5a3df0;background:#f1ecff}@media (width<=620px){.app-shell{padding-inline:10px}.app-header .button{display:none}.page-title,.match-card-link,.record-row{display:grid}.page-title-action,.match-card-meta{justify-self:start}.two-column,.compact-row,.detail-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid{grid-template-columns:1fr}.segmented{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-row{grid-template-columns:1fr}}
