:root{
  --pku:#a30b13;
  --pku-dark:#7e0710;
  --pku-soft:#fbefef;
  --ink:#18202b;
  --muted:#687386;
  --line:#e7e5e4;
  --surface:#ffffff;
  --canvas:#f8f7f5;
  --cream:#fbf7f1;
  --gold:#c78a26;
  --success:#1e7a50;
  --warning:#b7791f;
  --danger:#b42318;
  --shadow:0 10px 28px rgba(37,27,20,.06);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--canvas);color:var(--ink);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
body{min-height:100vh}
.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid #eee8e5;display:flex;flex-direction:column;z-index:10}
.brand{height:88px;display:flex;align-items:center;padding:14px 18px;border-bottom:1px solid #eee8e5}
.brand img{width:54px;height:54px;object-fit:contain;border-radius:4px}
.brand-copy{margin-left:10px;line-height:1.05}
.brand-cn{font-family:Georgia,"Songti SC",serif;font-size:18px;font-weight:700;color:var(--pku)}
.brand-en{font-size:9px;letter-spacing:.12em;color:#544;font-weight:600;margin-top:5px}
.nav{padding:18px 14px;display:flex;flex-direction:column;gap:8px}
.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;color:#354052;font-weight:600;font-size:14px}
.nav a:hover{background:#f8f4f3}
.nav a.active{background:var(--pku);color:#fff;box-shadow:0 8px 20px rgba(163,11,19,.16)}
.nav .badge{margin-left:auto;background:#d34b4e;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.sidebar-footer{margin-top:auto;padding:20px 20px 26px;border-top:1px solid #eee8e5;color:#9b6e60}
.sidebar-footer .hall{height:58px;border:1px solid #eaded9;border-radius:12px;background:linear-gradient(180deg,#fff,#fbf6f2);display:flex;align-items:center;justify-content:center;font-family:Georgia,"Songti SC",serif;color:#b88474;font-size:15px;margin-bottom:12px}
.sidebar-footer .cn{font-family:Georgia,"Songti SC",serif;color:#9b4235;font-size:17px}
.sidebar-footer .en{font-family:Georgia,serif;font-size:12px;line-height:1.45;margin-top:4px;color:#b49284}
.main{grid-column:2;min-width:0}
.topbar{height:88px;background:rgba(255,255,255,.96);border-bottom:1px solid #eee8e5;display:flex;align-items:center;padding:0 30px;gap:24px;position:sticky;top:0;z-index:8}
.product-title{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;white-space:nowrap}
.product-title span{color:var(--pku)}
.topbar-sub{font-size:11px;letter-spacing:.12em;color:#8c7b76;margin-top:4px}
.topbar-spacer{flex:1;min-width:12px}
.global-search{width:min(340px,30vw);display:flex;align-items:center;gap:8px;border:1px solid #e4e0de;border-radius:10px;padding:10px 12px;background:#fff;color:#87909d}
.global-search input{border:0;outline:none;width:100%;background:transparent}
.user-menu-wrap{position:relative;flex:0 0 auto;min-width:0}
.user-menu-trigger{display:flex;flex:0 0 auto;align-items:center;gap:10px;border:0;background:transparent;border-radius:12px;padding:6px 8px;cursor:pointer;color:var(--ink);transition:.15s ease;text-align:left}
.user-menu-trigger:hover,.user-menu-trigger[aria-expanded="true"]{background:#f7f3f1}
.avatar{width:34px;height:34px;background:var(--pku);color:white;border-radius:50%;display:grid;place-items:center;font-weight:700;flex:0 0 auto}
.avatar-large{width:40px;height:40px}
.user-menu-copy{min-width:0}
.user-menu-copy .name{font-size:13px;font-weight:700;line-height:1.15;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-menu-copy .position{font-size:10px;color:#89919d;font-weight:500;margin-top:3px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-menu-chevron{color:#8d929a;transition:transform .15s ease}
.user-menu-trigger[aria-expanded="true"] .user-menu-chevron{transform:rotate(180deg)}
.user-dropdown{position:absolute;display:block;right:0;top:calc(100% + 10px);width:240px;background:#fff;border:1px solid #e9e3e0;border-radius:14px;box-shadow:0 18px 48px rgba(42,27,20,.14);padding:10px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .14s ease,transform .14s ease,visibility .14s;z-index:40}
.user-dropdown.open{opacity:1;visibility:visible;transform:translateY(0)}
.user-dropdown-head{display:flex;align-items:center;gap:11px;padding:8px}
.user-dropdown-name{font-size:13px;font-weight:800;color:#222}
.user-dropdown-meta{font-size:11px;color:#87909c;margin-top:3px}
.user-dropdown-divider{height:1px;background:#eee8e5;margin:7px 2px}
.user-dropdown-item{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;font-size:13px;font-weight:650;color:#354052;transition:.14s ease}
.user-dropdown-item:hover{background:#f7f4f2}
.user-dropdown-item.danger{color:var(--pku)}
.user-dropdown-item.danger:hover{background:#fff1f1}
.content{padding:28px 32px 46px;max-width:1600px;margin:0 auto}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.page-title{font-family:Georgia,"Times New Roman",serif;font-size:31px;line-height:1.1;margin:0 0 6px;font-weight:700}
.page-sub{color:var(--muted);font-size:14px;margin:0}
.btn{border:0;border-radius:9px;padding:10px 16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s ease;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--pku);color:#fff;box-shadow:0 8px 18px rgba(163,11,19,.14)}
.btn-secondary{background:#fff;border:1px solid #ded9d6;color:#2f3948}
.btn-ghost{background:#f7f4f2;color:#3b4656}
.btn-danger{background:#fff1f1;color:var(--danger);border:1px solid #f2caca}
.card{background:#fff;border:1px solid #eee9e6;border-radius:var(--radius);box-shadow:var(--shadow)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 26px}
.stat{padding:20px}.stat .label{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.08em}.stat .value{font-size:29px;font-weight:800;margin-top:7px}.stat .hint{font-size:12px;color:#8c96a5;margin-top:5px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}
.section-card{padding:20px}
.section-title{font-size:17px;font-weight:800;margin:0 0 4px;display:flex;align-items:center;gap:9px}.section-title:before{content:"";display:inline-block;width:4px;height:22px;background:var(--pku);border-radius:4px}.section-sub{color:var(--muted);font-size:13px;margin:0 0 18px}
.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:12px 10px;color:#697386;font-size:11px;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #eee8e5}.data-table td{padding:13px 10px;border-bottom:1px solid #f0edeb;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.sample-link{font-weight:800;color:#222}.sample-link:hover{color:var(--pku)}
.status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status-draft{background:#fff6df;color:#a96c05}.status-pending_review{background:#eef4ff;color:#3b65a7}.status-need_clarification{background:#fff0ef;color:#b33b32}.status-published{background:#eaf7ef;color:#237a4f}.status-archived{background:#f0f0f0;color:#737373}
.quick-list{display:flex;flex-direction:column;gap:10px}.quick-item{padding:14px;border:1px solid #ece7e4;border-radius:10px;display:flex;align-items:center;justify-content:space-between}.quick-item strong{font-size:13px}.quick-item span{font-size:12px;color:var(--muted)}
.wizard-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
.wizard-main{min-width:0}.stepper{display:grid;grid-template-columns:repeat(6,1fr);gap:0;position:relative;margin:8px 0 26px;padding:0 6px}.stepper:before{content:"";position:absolute;left:8.5%;right:8.5%;top:16px;height:1px;background:#dcd7d4;z-index:0}.step-item{position:relative;z-index:1;text-align:center;color:#8b93a0;font-size:12px}.step-circle{width:34px;height:34px;border-radius:50%;background:#f1f0ef;border:1px solid #dcd9d7;margin:0 auto 8px;display:grid;place-items:center;font-weight:800;color:#5d6470}.step-item.active{color:var(--pku);font-weight:800}.step-item.active .step-circle{background:var(--pku);border-color:var(--pku);color:#fff;box-shadow:0 0 0 5px #f8e9ea}.step-item.done .step-circle{background:#f4e8e8;color:var(--pku);border-color:#ebcfd1}
.form-card{padding:24px;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field.two{grid-column:span 2}.field label{font-size:13px;font-weight:800}.req{color:var(--pku)}.helper{font-size:11px;color:#87909c;line-height:1.45}.input,.select,.textarea{width:100%;border:1px solid #dedad7;border-radius:9px;background:#fff;padding:11px 12px;outline:none;color:#202936;transition:.15s}.textarea{min-height:90px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#bd6065;box-shadow:0 0 0 3px #f8e9ea}.input[readonly]{background:#f3f3f2;color:#777}
/* A value that was never recorded says so in words; the input still reads as a
   locked field rather than an empty one. */
.input.is-missing{color:#8a6d3b;font-style:italic}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice{border:1px solid #ddd8d5;border-radius:12px;padding:16px;cursor:pointer;background:#fff;transition:.15s}.choice:hover{border-color:#cda0a2}.choice.selected{border:1.5px solid var(--pku);background:#fff9f9;box-shadow:0 0 0 3px #fbefef}.choice-top{display:flex;gap:10px;align-items:flex-start}.choice-radio{width:18px;height:18px;border-radius:50%;border:1.5px solid #a6acb4;display:grid;place-items:center;margin-top:2px;flex:0 0 auto}.choice.selected .choice-radio{border-color:var(--pku)}.choice.selected .choice-radio:after{content:"";width:8px;height:8px;background:var(--pku);border-radius:50%}.choice h4{margin:0 0 6px;font-size:14px}.choice p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.activity-chip{border:1px solid #ddd8d5;border-radius:10px;padding:12px;display:flex;align-items:center;gap:9px;cursor:pointer;background:#fff;font-size:13px;font-weight:700}.activity-chip.selected{border-color:var(--pku);background:#fff8f8;color:var(--pku)}.activity-chip input{accent-color:var(--pku)}
.activity-editor{border:1px solid #e7e1de;border-radius:12px;padding:18px;margin-bottom:14px;background:#fff}.activity-editor h4{margin:0 0 14px;font-size:15px;display:flex;align-items:center;justify-content:space-between}.activity-badge{font-size:11px;color:var(--pku);background:#faeeee;border-radius:999px;padding:5px 8px}.param-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.param-grid .field label{font-size:12px}
.file-drop{border:1.5px dashed #d2cbc7;border-radius:12px;background:#fcfbfa;padding:28px;text-align:center;position:relative}.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-drop strong{display:block;margin-bottom:6px}.file-drop small{color:var(--muted)}.file-list{margin-top:12px;display:flex;flex-direction:column;gap:7px}.file-item{display:flex;justify-content:space-between;gap:10px;background:#f7f6f5;border-radius:8px;padding:9px 11px;font-size:12px}
.form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.form-actions .right{display:flex;gap:10px}
.step-panel{display:none}.step-panel.active{display:block}.side-summary{position:sticky;top:110px;padding:20px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:13px}.info-box{background:#fbefef;color:#751219;border-radius:10px;padding:13px 14px;font-size:12px;line-height:1.5;margin:12px 0 18px}.timeline{border-top:1px solid #ece7e4;margin-top:14px;padding-top:14px}.timeline-item{display:grid;grid-template-columns:24px 1fr;gap:9px;padding:9px 0}.timeline-dot{width:22px;height:22px;border-radius:50%;border:1px solid #d8d2ce;display:grid;place-items:center;font-size:10px;color:#666;background:#fff}.timeline-item.active .timeline-dot{background:var(--pku);border-color:var(--pku);color:#fff}.timeline-item b{font-size:12px}.timeline-item p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filters .input,.filters .select{width:auto;min-width:180px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.detail-block{padding:20px;margin-bottom:16px}.kv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kv{border:1px solid #eee9e6;border-radius:10px;padding:12px}.kv .k{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#8b94a1;font-weight:800}.kv .v{font-size:13px;font-weight:700;margin-top:5px;word-break:break-word}.activity-card{border:1px solid #e8e3df;border-radius:12px;padding:16px;margin:12px 0}.activity-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.activity-head h4{margin:0}.params{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.param-pill{background:#f6f4f2;border-radius:999px;padding:6px 9px;font-size:11px;color:#596273}.audit{display:flex;flex-direction:column;gap:10px}.audit-item{border-left:2px solid #e3d9d5;padding-left:12px}.audit-item b{font-size:12px}.audit-item p{margin:3px 0;color:var(--muted);font-size:11px}.review-box{padding:18px;background:#fff8f7;border:1px solid #f0d4d1;border-radius:12px}.review-box textarea{width:100%;min-height:90px;margin:10px 0}
.empty{padding:34px;text-align:center;color:var(--muted)}
.login-page{min-height:100vh;background:#f8f5f2;display:grid;grid-template-columns:1.1fr .9fr}.login-art{padding:70px;display:flex;flex-direction:column;justify-content:space-between;background:#fff}.login-brand{display:flex;align-items:center;gap:16px}.login-brand img{width:78px;height:78px}.login-brand .name{font-family:Georgia,"Songti SC",serif;font-size:28px;font-weight:700;color:var(--pku)}.login-copy{max-width:650px}.login-copy h1{font-family:Georgia,serif;font-size:48px;line-height:1.05;margin:0 0 18px}.login-copy p{color:#6f7784;line-height:1.7;font-size:16px}.login-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.login-tag{background:#fbefef;color:#7f1219;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700}.login-panel{display:grid;place-items:center;padding:40px;background:#f8f4f0}.login-card{width:min(440px,100%);background:#fff;border:1px solid #ece5e1;border-radius:18px;padding:32px;box-shadow:0 18px 50px rgba(51,30,20,.08)}.login-card h2{margin:0 0 5px;font-family:Georgia,serif;font-size:29px}.login-card p{margin:0 0 24px;color:var(--muted)}.login-card .field{margin-bottom:14px}.login-card .btn{width:100%;padding:12px}.demo-box{margin-top:18px;background:#faf7f5;border-radius:10px;padding:13px;font-size:11px;color:#667}.alert{padding:11px 13px;border-radius:9px;margin-bottom:14px;font-size:12px}.alert-error{background:#fff0ef;color:#9b2620}
@media(max-width:1180px){.wizard-shell,.dashboard-grid,.detail-grid{grid-template-columns:1fr}.side-summary{position:static}.form-grid{grid-template-columns:repeat(2,1fr)}.form-grid .two{grid-column:span 2}.activity-grid{grid-template-columns:repeat(3,1fr)}.param-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.topbar{gap:14px;padding-left:22px;padding-right:22px}.global-search{width:min(280px,28vw)}.product-title{font-size:19px}.topbar-sub{font-size:9px}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;width:auto;height:auto}.main{grid-column:1}.topbar{position:static}.nav{flex-direction:row;overflow:auto}.sidebar-footer{display:none}.brand{height:72px}.topbar{height:auto;min-height:68px;padding:12px 16px;gap:12px}.topbar>div:first-child{min-width:0}.product-title{white-space:normal;line-height:1.08}.topbar-sub{display:none}.global-search{display:none}.user-menu-wrap{margin-left:auto}.content{padding:20px 16px}.form-grid,.choice-grid,.kv-grid{grid-template-columns:1fr}.field.two{grid-column:auto}.activity-grid,.param-grid{grid-template-columns:1fr 1fr}.step-item span{display:none}.stepper:before{left:8%;right:8%}.login-page{grid-template-columns:1fr}.login-art{display:none}}
@media(max-width:560px){.activity-grid,.param-grid,.stats{grid-template-columns:1fr}.product-title{font-size:16px}.user-menu-copy{display:none}.user-menu-trigger{padding:5px}.user-dropdown{position:fixed;top:70px;right:12px;width:min(260px,calc(100vw - 24px))}.form-actions{flex-direction:column}.form-actions .right{width:100%}.form-actions .btn{flex:1}.page-title{font-size:26px}}

/* v0.1.5 workflow + scientific-entry refinements */
.btn-small{padding:7px 10px;font-size:11px;border-radius:8px}
.optional-label{font-size:10px;color:#7b8490;background:#f2f2f1;padding:4px 7px;border-radius:999px;margin-left:4px}
.edit-banner{background:#fff8ef;border:1px solid #efd8b5;border-radius:12px;padding:14px 16px;margin:-6px 0 20px;color:#704a13}.edit-banner>div{display:flex;align-items:center;gap:10px}.edit-banner span{font-size:11px;background:#fff0cd;padding:4px 8px;border-radius:999px;font-weight:800}.edit-banner p{margin:8px 0 0;font-size:12px;line-height:1.55}
.record-type-readonly{max-width:520px}.record-type-readonly .helper{margin-top:9px}
.source-structure{margin-top:22px;border-top:1px solid #ece7e4;padding-top:20px}.source-structure-head h4{margin:0;font-size:14px}.source-structure-head p{margin:4px 0 16px;color:var(--muted);font-size:12px}
.check-grid{display:flex;flex-wrap:wrap;gap:8px}.mini-check{display:inline-flex!important;align-items:center;gap:7px;border:1px solid #e2dedb;border-radius:999px;padding:8px 11px;background:#fff;font-weight:600!important;font-size:11px!important;cursor:pointer}.mini-check input{accent-color:var(--pku)}
.source-summary-preview{display:flex;flex-direction:column;gap:5px;background:#f8f6f4;border:1px solid #ebe5e2;border-radius:10px;padding:12px 14px}.source-summary-preview b{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#7b665f}.source-summary-preview span{font-size:12px;line-height:1.5;color:#525e6d}
.verification-block{background:#fbfaf9;border:1px solid #eee8e5;border-radius:10px;padding:12px}.verification-block.verification-needed{border-color:#e8c9ca;background:#fffafa}.verification-block>div{margin-top:8px}
.bulk-tools{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 14px}
.activity-editor{padding:0;overflow:hidden}.activity-editor-toggle{width:100%;border:0;background:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:var(--ink)}.activity-editor-toggle>span{display:flex;align-items:center;gap:10px}.activity-editor-toggle strong{font-size:14px}.activity-editor-toggle svg{transition:.15s}.activity-editor.collapsed .activity-editor-toggle svg{transform:rotate(180deg)}.activity-editor-body{padding:3px 17px 18px;border-top:1px solid #f0ece9}.activity-editor.collapsed .activity-editor-body{display:none}.activity-status{font-size:10px;color:#8a929d;background:#f3f3f2;padding:4px 7px;border-radius:999px;font-weight:800}.activity-status.ready{background:#eaf7ef;color:#237a4f}
.date-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.instrument-control{width:100%}.verify-inline{display:grid;grid-template-columns:1.1fr 1fr;gap:8px}.legacy-box{background:#fff8ef;border:1px solid #f0dfc4;border-radius:9px;padding:11px}.legacy-box>b{font-size:11px;color:#7e571c}.legacy-box .helper{margin-top:8px}
.scientific-input{display:grid;grid-template-columns:72px 31px minmax(72px,1fr) 31px auto minmax(72px,1fr) auto;gap:5px;align-items:center}.scientific-input .select,.scientific-input .input{padding:9px 8px}.number-step{height:38px;border:1px solid #dedad7;background:#faf9f8;border-radius:8px;cursor:pointer;font-weight:800}.number-step:hover{background:#f2efed}.unit-label{font-size:11px;color:#6d7784;white-space:nowrap}.range-separator{font-size:10px;color:#8a929d}
.raman-repeat{border-top:1px dashed #e7e1de;padding-top:12px}.raman-rows{display:flex;flex-direction:column;gap:8px}.raman-row{display:grid;grid-template-columns:1fr 1fr 34px;gap:8px;align-items:end;background:#faf9f8;border-radius:9px;padding:9px}.icon-button{width:34px;height:38px;border:1px solid #e3ddda;background:#fff;border-radius:8px;cursor:pointer;font-size:18px;color:#8d3b3d}
.review-section{border:1px solid #eae5e2;border-radius:12px;padding:15px;margin:14px 0}.review-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.review-section-head>div{display:flex;flex-direction:column;gap:3px}.review-section-head b{font-size:14px}.review-section-head span{font-size:11px;color:var(--muted)}.review-text-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px}.review-text-grid p{margin:0;font-size:12px;line-height:1.5}.review-activity{border-top:1px solid #eee9e6;padding:10px 0}.review-activity:first-of-type{border-top:0}.review-activity summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;font-size:12px}.review-activity summary span{color:var(--muted)}.review-activity-body{padding:10px 2px 2px;font-size:12px;line-height:1.55}.review-activity-body p{margin:7px 0}.review-meta{display:flex;gap:12px;flex-wrap:wrap;color:#566272}.empty.compact{padding:14px}
.existing-files{margin-bottom:12px}.existing-files .file-item{margin-top:6px}
.review-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}.review-actions .btn{width:100%;white-space:normal;text-align:center;line-height:1.25}.clarification-alert{background:#fff4f1;border:1px solid #efcfc9;border-radius:11px;padding:13px 14px;margin-bottom:14px}.clarification-alert b{font-size:12px;color:#9b3029}.clarification-alert p{font-size:12px;line-height:1.55;margin:6px 0 0;color:#6b4b48}
.source-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.source-detail-item{background:#faf9f8;border-radius:9px;padding:10px}.source-detail-item .k{font-size:10px;text-transform:uppercase;color:#8b94a1;font-weight:800}.source-detail-item .v{font-size:12px;margin-top:4px;word-break:break-word}
.instrument-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.instrument-item{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:10px;padding:10px 0;border-bottom:1px solid #eee9e6;font-size:12px}.instrument-item:last-child{border-bottom:0}

@media(max-width:1180px){.scientific-input{grid-template-columns:66px 31px minmax(70px,1fr) 31px auto minmax(70px,1fr) auto}}
@media(max-width:850px){.verify-inline{grid-template-columns:1fr}.review-text-grid,.source-detail-grid{grid-template-columns:1fr}.scientific-input{grid-template-columns:64px 31px minmax(70px,1fr) 31px}.scientific-input .range-separator,.scientific-input .sci-max,.scientific-input .unit-label{grid-column:auto}.instrument-item{grid-template-columns:1fr}}
@media(max-width:560px){.date-row{grid-template-columns:1fr}.scientific-input{grid-template-columns:58px 29px minmax(64px,1fr) 29px}.unit-label{grid-column:1/-1}.review-section-head{align-items:flex-start}.review-activity summary{flex-direction:column}.bulk-tools{flex-direction:column}.bulk-tools .btn{width:100%}}
.review-warning{background:#fff8e9;border:1px solid #efd9a9;color:#6d4b13;border-radius:10px;padding:11px 13px;margin:12px 0}.review-warning b{font-size:12px}.review-warning ul{margin:7px 0 0 18px;padding:0;font-size:11px;line-height:1.55}

/* v0.1.5-dev responsive form hardening
   Keeps scientific/activity controls usable when a desktop browser is narrowed. */
.field,.param-grid,.activity-editor-body,.date-row,.verify-inline,.scientific-input{min-width:0}
.input,.select,.textarea{min-width:0;max-width:100%}

/* With the 246 px desktop sidebar still visible, the remaining content area becomes
   too narrow for two activity-form columns well before the mobile breakpoint. */
@media(max-width:1100px){
  .global-search{display:none}
  .topbar{gap:10px;padding-left:18px;padding-right:18px}
  .topbar-spacer{min-width:4px}
  .product-title{font-size:18px}
  .user-menu-copy .position{display:none}
  .content{padding-left:20px;padding-right:20px}

  .param-grid{grid-template-columns:minmax(0,1fr)}
  .param-grid .field.two{grid-column:auto}
  .verify-inline{grid-template-columns:minmax(0,1fr)}

  .scientific-input{
    grid-template-columns:72px 31px minmax(0,1fr) 31px auto minmax(0,1fr) auto;
  }
}

/* Switch out of the fixed desktop-sidebar layout earlier, before controls start clipping. */
@media(max-width:900px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:static;width:auto;height:auto}
  .main{grid-column:1}
  .sidebar-footer{display:none}
  .brand{height:70px}
  .nav{flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:10px 12px;gap:6px;white-space:nowrap}
  .nav a{flex:0 0 auto;padding:10px 12px}

  .topbar{position:static;height:auto;min-height:66px;padding:11px 14px;gap:10px}
  .topbar>div:first-child{min-width:0}
  .product-title{white-space:normal;line-height:1.08;font-size:17px}
  .topbar-sub{display:none}
  .global-search{display:none}
  .user-menu-wrap{margin-left:auto}

  .content{padding:18px 14px 38px}
  .wizard-shell,.dashboard-grid,.detail-grid{grid-template-columns:minmax(0,1fr)}
  .side-summary{position:static}
  .form-grid,.choice-grid,.kv-grid,.param-grid{grid-template-columns:minmax(0,1fr)}
  .field.two,.form-grid .two{grid-column:auto}
  .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step-item span{display:none}
  .stepper:before{left:8%;right:8%}

  .date-row{grid-template-columns:minmax(0,1fr) auto}
  .scientific-input{
    grid-template-columns:64px 31px minmax(0,1fr) 31px;
  }
  .scientific-input .range-separator,
  .scientific-input .sci-max,
  .scientific-input .unit-label{grid-column:auto}
  .unit-label{white-space:normal}

  .review-text-grid,.source-detail-grid{grid-template-columns:1fr}
  .instrument-item{grid-template-columns:1fr}
  .login-page{grid-template-columns:1fr}
  .login-art{display:none}
}

@media(max-width:620px){
  .activity-grid,.stats{grid-template-columns:1fr}
  .date-row{grid-template-columns:1fr}
  .bulk-tools{flex-direction:column}
  .bulk-tools .btn{width:100%}
  .scientific-input{grid-template-columns:58px 29px minmax(0,1fr) 29px}
  .unit-label{grid-column:1/-1}
  .raman-row{grid-template-columns:1fr}
  .raman-row .icon-button{width:100%}
  .form-actions{flex-direction:column}
  .form-actions .right{width:100%}
  .form-actions .btn{width:100%}
  .user-menu-copy{display:none}
  .user-menu-trigger{padding:5px}
  .user-dropdown{position:fixed;top:70px;right:12px;width:min(260px,calc(100vw - 24px))}
  .page-title{font-size:25px}
}


/* v0.1.5-dev responsive layout hotfix #2
   The previous viewport-only breakpoints still left the wizard too narrow at
   common laptop / medium-desktop widths because the fixed sidebar and the
   330 px Record Summary consumed horizontal space. */

/* Make activity layout react to the actual wizard width, not only viewport width. */
.wizard-main{container-type:inline-size}

@container (max-width:900px){
  .param-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .param-grid .field.two{grid-column:auto}
}

@container (max-width:650px){
  .param-grid{grid-template-columns:minmax(0,1fr)}
  .date-row{grid-template-columns:minmax(0,1fr)}
}

/* At common 1366 px-class laptop widths, move Record Summary below the form.
   This gives the scientific-entry form the full main-content width. */
@media(max-width:1400px){
  .wizard-shell{grid-template-columns:minmax(0,1fr)}
  .side-summary{position:static}
  .param-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* The topbar search is optional navigation assistance; hide it before it starts
   compressing the product title and user menu. */
@media(max-width:1280px){
  .global-search{display:none}
  .topbar{gap:12px;padding-left:20px;padding-right:20px}
  .topbar-spacer{min-width:6px}
}

/* Keep the existing compact-desktop rule as the final fallback. */
@media(max-width:1100px){
  .param-grid{grid-template-columns:minmax(0,1fr)}
}


/* v0.2.0 —activity-level characterization evidence */
.activity-evidence{border-top:1px dashed #e7e1de;padding-top:14px;margin-top:4px}
.activity-evidence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.activity-evidence-head label{margin-bottom:3px}
.activity-existing-files,.activity-pending-files{display:flex;flex-direction:column;gap:7px;margin-top:9px}
.evidence-list-label{font-size:10px;letter-spacing:.08em;font-weight:700;color:#8b949e;margin:3px 0 1px}
.evidence-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border:1px solid #ece7e4;background:#faf9f8;border-radius:9px;padding:9px 10px;text-decoration:none;color:inherit}
.evidence-file-row>span:first-child{min-width:0}
.evidence-file-row b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.evidence-file-row small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.evidence-file-row .select{min-width:190px;height:38px;padding:0 34px 0 12px;font-size:12px;line-height:1.2}
.evidence-download{font-size:11px;color:#8d3b3d;font-weight:700}
.activity-evidence-detail{margin-top:12px;border-top:1px dashed #ebe5e2;padding-top:10px}
.evidence-detail-row{padding:10px 12px}
.evidence-detail-row>a:first-child{flex:1;min-width:0;text-decoration:none;color:inherit}
.evidence-row-actions{display:flex;gap:6px;align-items:center}
.evidence-row-actions form{margin:0}
.icon-button.danger{color:#a30b13;border-color:#ead0d1;background:#fff8f8}

@media(max-width:700px){
  .activity-evidence-head{align-items:stretch;flex-direction:column}
  .activity-evidence-head .btn{width:100%}
  .evidence-file-row{grid-template-columns:minmax(0,1fr)}
  .evidence-file-row .select{min-width:0;width:100%}
  .evidence-file-row .icon-button{width:100%}
  .evidence-detail-row{grid-template-columns:minmax(0,1fr) auto}
}


/* v0.2.1 —attachment preview */
.preview-page-head{align-items:flex-end}
.back-link{display:inline-block;margin-bottom:8px;color:#8d3b3d;font-size:12px;font-weight:700;text-decoration:none}
.preview-actions{display:flex;gap:8px}
.attachment-preview-card{overflow:hidden}
.preview-meta{display:flex;flex-wrap:wrap;gap:8px 18px;padding-bottom:14px;border-bottom:1px solid #eee8e5;color:var(--muted);font-size:12px}
.image-preview-wrap{display:flex;justify-content:center;align-items:center;min-height:240px;margin-top:16px;padding:18px;background:#f7f5f3;border:1px solid #ebe5e2;border-radius:10px;overflow:auto}
.image-preview-wrap img{display:block;max-width:100%;max-height:72vh;object-fit:contain;box-shadow:0 4px 18px rgba(38,25,20,.08)}
.pdf-preview-frame{width:100%;height:72vh;min-height:520px;border:1px solid #e5dfdc;border-radius:10px;margin-top:16px;background:#f7f5f3}
.preview-table-wrap{overflow:auto;max-height:68vh;margin-top:12px;border:1px solid #e5dfdc;border-radius:10px;background:#fff}
.preview-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:12px}
.preview-table td{padding:8px 10px;border-right:1px solid #eee9e6;border-bottom:1px solid #eee9e6;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-table tr:first-child td{font-weight:700;background:#faf8f7;position:sticky;top:0;z-index:1}
.preview-sheet-name{margin-top:14px}
.text-preview{max-height:68vh;overflow:auto;margin:16px 0 0;padding:16px;background:#f8f7f6;border:1px solid #e8e2df;border-radius:10px;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
.preview-truncated{margin-top:10px;padding:9px 12px;border-radius:8px;background:#fff8e7;color:#785b16;font-size:11px}
.preview-unavailable{margin-top:16px;padding:20px;border:1px dashed #d9cfca;border-radius:10px;background:#faf9f8;color:var(--muted)}
.preview-unavailable b{color:var(--text)}
.file-item-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.file-item-actions a{font-size:11px;font-weight:700;color:#8d3b3d;text-decoration:none}
@media(max-width:700px){
  .preview-page-head{align-items:stretch}
  .preview-actions .btn{width:100%}
  .pdf-preview-frame{min-height:420px;height:64vh}
}


/* Keep native select text vertically centered in compact evidence rows. */
.evidence-file-row .pending-file-category{appearance:auto;-webkit-appearance:auto}

/* v0.2.1 —pre-save attachment preview */
.link-button{border:0;background:none;padding:0;color:#8d3b3d;font:inherit;font-size:11px;font-weight:700;cursor:pointer;text-decoration:none}
.evidence-file-row.pending{grid-template-columns:minmax(0,1fr) 82px minmax(190px,230px) 38px;column-gap:10px;row-gap:8px}
.pending-file-main{min-width:0}
.pending-file-main small{display:flex;align-items:center;gap:7px}
.file-type-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:5px;background:#f3ece9;color:#795b53;font-size:9px;font-weight:800;letter-spacing:.05em;line-height:1.35}
.preview-pending-file{display:inline-flex;align-items:center;justify-content:center;height:36px;min-width:82px;padding:0 12px;border:1px solid #dfcbc5;border-radius:8px;background:#fff;color:#8d3b3d;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.preview-pending-file:hover{background:#fff7f7;border-color:#cfa7a8;box-shadow:0 2px 8px rgba(141,59,61,.08)}
.preview-pending-file:focus-visible{outline:2px solid rgba(163,11,19,.2);outline-offset:2px}
.evidence-file-row.pending .pending-file-category{min-width:0;width:100%}
.unsaved-preview-modal[hidden]{display:none!important}
.unsaved-preview-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:22px}
.unsaved-preview-backdrop{position:absolute;inset:0;background:rgba(28,20,18,.58);backdrop-filter:blur(2px)}
.unsaved-preview-dialog{position:relative;z-index:1;width:min(1050px,96vw);max-height:92vh;display:flex;flex-direction:column;background:#fff;border:1px solid #ddd4cf;border-radius:14px;box-shadow:0 24px 70px rgba(30,20,16,.25);overflow:hidden}
.unsaved-preview-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 20px 14px;border-bottom:1px solid #eee8e5}
.unsaved-preview-head h3{margin:4px 0 3px;font-size:19px}.unsaved-preview-head p{margin:0;color:var(--muted);font-size:12px;word-break:break-all}
.preview-badge{font-size:10px;font-weight:800;letter-spacing:.08em;color:#8d3b3d}
.unsaved-preview-body{min-height:220px;overflow:auto;padding:18px 20px;background:#fcfbfa}
.unsaved-preview-body .image-preview-wrap,.unsaved-preview-body .pdf-preview-frame,.unsaved-preview-body .text-preview,.unsaved-preview-body .preview-table-wrap{margin-top:0}
.unsaved-preview-foot{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 20px;border-top:1px solid #eee8e5;background:#fff;color:var(--muted);font-size:11px}
.preview-loading{display:flex;align-items:center;justify-content:center;min-height:220px;color:var(--muted);font-size:13px}
@media(max-width:900px){.evidence-file-row.pending{grid-template-columns:minmax(0,1fr) 82px 38px}.evidence-file-row.pending .pending-file-category{grid-column:1/-1;grid-row:2}}
@media(max-width:760px){.evidence-file-row.pending{grid-template-columns:minmax(0,1fr) 82px 38px}.evidence-file-row.pending .pending-file-category{grid-column:1/-1}.preview-pending-file{width:82px}.unsaved-preview-modal{padding:8px}.unsaved-preview-dialog{width:100%;max-height:96vh}.unsaved-preview-foot{align-items:stretch;flex-direction:column}.unsaved-preview-foot .btn{width:100%}}


/* ==========================================================================
   v0.3.0 —project-driven entry workflow
   Category —Entry —Conditions + Attachments
   ========================================================================== */

.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.01em}
.subtle{color:var(--muted);font-weight:600}

.page-head{align-items:flex-start}
.page-head-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.page-head-actions .btn{display:inline-flex;align-items:center;gap:7px;text-decoration:none}

.error-box{border-color:#e5b7b4;background:#fdf3f2}
.error-box b{color:#8d3b3d}
.error-box p{margin:7px 0 0;font-size:12.5px;line-height:1.65}

.section-head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.section-head-actions{display:flex;align-items:center;gap:10px}
.section-progress{padding:4px 10px;border-radius:20px;background:#f3efed;color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}
.section-progress.has-entries{background:#eaf5ee;color:#256b41}

.section-title-zh{font-size:13px;font-weight:600;color:var(--muted);margin-left:8px}
.field-zh{font-size:11px;font-weight:600;color:var(--muted);margin-left:5px}
.field-unit-hint{font-size:11px;font-weight:700;color:#8d3b3d;margin-left:6px}
.entry-field-select{max-width:420px}
.entry-field-select-custom{margin-top:7px;max-width:420px}
.entry-zh{font-size:11.5px;font-weight:600;color:var(--muted);margin-left:7px}

/* --- section locked / pending vocabulary ---------------------------------- */
.section-locked{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px dashed #d9cfca;border-radius:12px;background:#faf9f8}
.section-locked b{display:block;margin-bottom:6px;font-size:13.5px}
.section-locked p{margin:0 0 6px;font-size:12.5px;line-height:1.65;color:#5c5f66;max-width:70ch}
.section-locked-icon{font-size:20px;line-height:1}

/* --- wizard stepper -------------------------------------------------------
   The number of steps depends on the project and the entry mode (3, 5 or 6), so
   static/app.js sets --steps and the column count plus the connector line follow
   from it. The connector spans from the centre of the first circle to the centre
   of the last one, and therefore never runs past the end.

   The connector is drawn ONLY when there are at least two steps. It used to be a
   plain `:before` on the container, which meant that an empty stepper —or a flow
   with a single step —rendered as a bare horizontal rule above the first card.
   That is the "strange line under Add Experimental Data" that was reported twice.
   `data-steps` is written by static/app.js and defaults to "0" in the markup, so
   the rule holds even if the script never runs. */
.stepper{grid-template-columns:repeat(var(--steps,6),minmax(0,1fr))}
.stepper[data-steps="0"]:before,
.stepper[data-steps="1"]:before{content:none;display:none}
.stepper:before{left:calc(50% / var(--steps,6));right:calc(50% / var(--steps,6))}
/* A one-step flow is centred rather than stretched across the full width. */
.stepper[data-steps="1"]{grid-template-columns:minmax(0,1fr);max-width:220px;margin-left:auto;margin-right:auto}
/* An unrendered stepper must not reserve space either. */
.stepper:empty{display:none;margin:0}
@media(max-width:850px){
  .stepper:before{left:calc(50% / var(--steps,5));right:calc(50% / var(--steps,5))}
}

/* --- entry category block ------------------------------------------------- */
.entry-editor-root{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.entry-category-block{border:1px solid #ebe5e2;border-radius:12px;background:#fff;overflow:hidden}
.entry-category-head{display:flex;align-items:center;gap:10px;padding:11px 14px;background:#faf8f7;border-bottom:1px solid #eee8e5}
.entry-category-name{font-size:13px;font-weight:800;color:var(--text)}
.entry-category-zh{font-size:11.5px;font-weight:600;color:var(--muted)}
.entry-count{margin-left:auto;min-width:24px;padding:2px 8px;border-radius:20px;background:#efe9e7;color:#6f5b56;font-size:11px;font-weight:800;text-align:center}
.entry-category-body{padding:14px}
.entry-instance-list{display:flex;flex-direction:column;gap:12px}
.entry-empty{padding:8px 0}

/* --- entry instance ------------------------------------------------------- */
.entry-instance{border:1px solid #e7e0dd;border-radius:11px;background:#fdfcfc;overflow:hidden}
.entry-instance-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:#fff;border-bottom:1px solid #f0ebe9}
.entry-instance.collapsed .entry-instance-head{border-bottom:0}
.entry-toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:1;min-width:0;padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.entry-toggle strong{font-size:13.5px}
.entry-status{margin-left:10px;padding:2px 8px;border-radius:20px;background:#fdf2e3;color:#8a5b13;font-size:10px;font-weight:800;letter-spacing:.03em}
.entry-status.ready{background:#eaf5ee;color:#256b41}
.entry-instance-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.entry-instance-body{padding:14px}
.entry-instance.collapsed .entry-instance-body{display:none}

.condition-grid{margin-bottom:6px}
.scientific-field .scientific-input{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.scientific-field .scientific-input .sci-value{min-width:110px;flex:1}
.scientific-field .scientific-input .sci-max{min-width:96px;flex:1}
.scientific-field .scientific-input .sci-qualifier{width:auto;min-width:82px}

/* --- evidence inside an entry -------------------------------------------- */
.entry-evidence{margin-top:14px;padding-top:12px;border-top:1px dashed #e8e1de}
.evidence-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.evidence-actions .btn{text-decoration:none}
.entry-existing-files,.entry-pending-files{display:flex;flex-direction:column;gap:8px}
.entry-existing-files:not(:empty),.entry-pending-files:not(:empty){margin-bottom:10px}
.add-entry-file{margin-top:4px}
.entry-add-row{display:flex;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}
.entry-add-row .entry-picker{flex:1;min-width:240px}

/* --- properties / performance partitions --------------------------------- */
.page-partitions{margin:16px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}
.partition-tab{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border:1px solid #e3dbd8;border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.partition-tab:hover{background:#fdf9f8}
.partition-tab.selected{border-color:#cfa7a8;background:#fff7f7;color:#8d3b3d}
.partition-zh{font-size:11.5px;font-weight:600;color:var(--muted)}
.partition-body{margin-top:8px}
.partition-pane{display:none}
.partition-pane.active{display:flex}

/* --- read-only entry display (record detail) ----------------------------- */
.entry-section{margin-bottom:20px}
.entry-section-head{margin-bottom:10px}
.entry-section .entry-category{margin-bottom:14px;border:1px solid #ebe5e2;border-radius:12px;overflow:hidden}
.entry-instance-meta{display:flex;gap:8px 18px;flex-wrap:wrap;margin-top:8px;font-size:11.5px;color:var(--muted)}
.condition-table{margin-top:12px;border:1px solid #eee8e5;border-radius:9px;overflow:hidden}
.condition-row{display:grid;grid-template-columns:minmax(180px,280px) 1fr;gap:12px;padding:8px 12px;border-bottom:1px solid #f2edeb;background:#fff}
.condition-row:last-child{border-bottom:0}
.condition-key{display:flex;flex-direction:column}
.condition-label-en{font-size:12.5px;font-weight:650}
.condition-label-zh{font-size:11px;color:var(--muted)}
.condition-value{font-size:12.5px;font-weight:700;color:#8d3b3d;align-self:center}
.entry-result,.entry-notes{margin-top:10px;font-size:12.5px;line-height:1.65}
.entry-notes{color:#5c5f66}
.tag-custom{margin-left:8px;padding:2px 7px;border-radius:20px;background:#f3ece9;color:#795b53;font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.storage-badge{color:#98a0aa;font-size:9.5px;font-weight:700}

/* --- record detail layout ----------------------------------------------- */
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.detail-main{display:flex;flex-direction:column;gap:18px;min-width:0}
.detail-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.return-box{border-color:#e8cf9f;background:#fffaf0}
.review-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.btn-block{width:100%;justify-content:center}

/* ==========================================================================
   v0.3.3 —Add Data layout tidy-up
   ==========================================================================
   The v0.2.1 scientific input was a fixed 7-column grid sized for one layout that
   no longer exists, so every condition row rendered cramped and misaligned. It is
   now a simple flex row: qualifier, value, optional "to <max>", unit. Everything
   below flattens the wizard: fewer nested cards, one consistent field rhythm, and
   the secondary per-entry fields folded into a disclosure.
   ========================================================================== */

/* --- numeric condition input -------------------------------------------- */
.scientific-input,
.scientific-field .scientific-input{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  height:auto;align-self:auto;grid-template-columns:none;
}
.scientific-input .sci-qualifier{flex:0 0 auto;width:auto;min-width:64px}
.scientific-input .sci-value{flex:1 1 90px;min-width:80px}
.scientific-input .sci-max{flex:1 1 80px;min-width:70px}
.scientific-input .unit-label{flex:0 0 auto;font-size:11.5px;font-weight:700;color:#8d3b3d}
.scientific-input .range-separator{flex:0 0 auto}

/* --- one field rhythm across every step --------------------------------- */
.form-card .field>label,
.entry-instance .field>label{display:block;margin-bottom:5px;font-size:11.5px;font-weight:700;color:#39404a}
.form-card .input,.form-card .select,.form-card .textarea,
.entry-instance .input,.entry-instance .select,.entry-instance .textarea{
  width:100%;border:1px solid #e2dcda;border-radius:8px;background:#fff;
}
.form-card .input,.form-card .select,.entry-instance .input,.entry-instance .select{height:36px;padding:0 10px}
.form-card .textarea,.entry-instance .textarea{padding:9px 10px;line-height:1.55}
.entry-instance .field{min-width:0}
.entry-instance .field.full{grid-column:1/-1}

/* --- condition block: a calm two-column grid ---------------------------- */
.condition-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 18px;margin:2px 0 0;
}
.condition-grid>.field.full{grid-column:1/-1}

/* --- entry details block: date / instrument (+ result, notes) ----------- */
/* This rule was lost in v0.3.5 when the per-entry disclosure was removed: the
   `display:grid` line went with it, leaving only the column count and the alignment
   helpers behind. The fields then stacked full width with no top margin, which made
   "Entry Date" and "Instrument / Model" sit tight against the evidence block while
   the card had a comfortable bottom padding —the unbalanced spacing that was
   reported. Restored, and the vertical rhythm is now the same 16px above the block
   as the card's bottom padding. */
.detail-grid-2{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 18px;margin:16px 0 0;
}
.detail-grid-2>.field.full{grid-column:1/-1}

/* --- evidence row ------------------------------------------------------- */
.entry-evidence{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.entry-evidence .add-entry-file{align-self:flex-start}
.entry-existing-files,.entry-pending-files{display:flex;flex-direction:column;gap:7px;width:100%}
.entry-existing-files:empty,.entry-pending-files:empty{display:none}
.entry-empty-note{font-size:12px;color:var(--muted);line-height:1.6}

/* --- small layout corrections (v0.3.5) ----------------------------------- */
/* The Step 1 choice cards use a two-column grid. The base rule declares three
   columns for a three-card layout that no longer exists, so the two cards sat in
   two thirds of the width and a third column stayed empty —which is the large gap
   on the right. */
.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.choice{display:flex;flex-direction:column}
.choice-top{height:100%}

/* Inside an entry, a label sat closer to its own input than to the field above it,
   so "Entry Date" and "Instrument / Model" looked vertically off-centre. Label and
   helper spacing is now the same in every field of an entry, and the two grid cells
   align at the top so a taller field cannot push its neighbour around. */
.entry-instance .field>label,
.detail-grid-2 .field>label{margin-top:0;margin-bottom:6px}
.entry-instance .field>.helper,
.detail-grid-2 .field>.helper{margin-top:6px}
.detail-grid-2,.condition-grid{align-items:start}
.detail-grid-2>.field,.condition-grid>.field{justify-content:flex-start}

/* --- module-level fold (level 1: Fiber Formation Method, Precursor — ----- */
/* The module header becomes the fold control. Only the parts that the base rule
   from v0.2.1 cannot express are restated here: it is a button now, and collapse
   hides the body. */
.entry-category-head{
  border:0;border-bottom:1px solid #eee8e5;width:100%;text-align:left;
  font:inherit;cursor:pointer;
}
.entry-category-head:hover{background:#f6f2f0}
.entry-category-name,.entry-category-zh{pointer-events:none}
.entry-category-block.collapsed .entry-category-head{border-bottom:0}
.entry-category-block.collapsed .entry-category-body{display:none}
.entry-category-chevron{color:#a08b85;transition:transform .15s ease;flex:0 0 auto}
.entry-category-block.collapsed .entry-category-chevron{transform:rotate(180deg)}

/* --- entry card: flat, quiet, scannable --------------------------------- */
.entry-instance{border:1px solid #e7e1de;border-radius:10px;background:#fff;box-shadow:none}
.entry-instance-head{padding:10px 14px;background:#fcfbfa}
.entry-instance-body{padding:14px 14px 16px}
.entry-category-block{border:1px solid #eae4e1;border-radius:11px;background:#fff;box-shadow:none}
.entry-category-head{padding:10px 14px;background:#faf9f8}
.entry-category-body{padding:14px}
.entry-editor-root{gap:14px}

/* --- step panel: one card, generous padding ----------------------------- */
.form-card{padding:22px 24px}
.form-card .section-head-row{margin-bottom:6px}
.side-summary{padding:18px 20px}
.side-note{margin:12px 0 0;font-size:11.5px;line-height:1.6;color:var(--muted)}
.side-note a{color:#8d3b3d;font-weight:700;text-decoration:underline}
.summary-row.dirty b,.summary-row b.dirty{color:#8d3b3d}
#summary-draft-state{font-size:11.5px}
#summary-draft-state.dirty{color:#a3601a}

/* A save-draft button carries a dot while unsaved work exists, so the current
   step itself warns that leaving would lose something. */
.btn.has-unsaved{position:relative;border-color:#d9b48a}
.btn.has-unsaved::after{
  content:'';position:absolute;top:-3px;right:-3px;width:7px;height:7px;border-radius:50%;
  background:#c9812f;box-shadow:0 0 0 2px #fff;
}

/* --- leave guard dialog ------------------------------------------------- */
.leave-guard-dialog{width:min(560px,96vw)}
.leave-guard-actions{justify-content:space-between;align-items:center}

@media(max-width:900px){
  .condition-grid,.detail-grid-2{grid-template-columns:minmax(0,1fr)}
  .form-card{padding:18px 16px}
}

/* --- review reminder (topbar bell) --------------------------------------- */
.notes-wrap{position:relative;flex-shrink:0}
.notes-trigger{
  position:relative;width:38px;height:38px;border-radius:10px;cursor:pointer;
  border:1px solid #e7e0dd;background:#fff;color:#6f5b56;
  display:inline-flex;align-items:center;justify-content:center;
}
.notes-trigger:hover{background:#faf7f6}
.notes-trigger .notes-bell{display:block;color:#6f5b56}
.notes-trigger:hover .notes-bell{color:#8d3b3d}
.notes-badge{
  position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;
  border-radius:9px;background:var(--pku);color:#fff;font-size:10px;font-weight:800;
  display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff;
}
.notes-dropdown{
  position:absolute;top:46px;right:0;width:330px;max-height:420px;overflow:auto;z-index:30;
  background:#fff;border:1px solid #e7e0dd;border-radius:12px;
  box-shadow:0 18px 40px rgba(60,30,30,.13);display:none;
}
.notes-wrap.open .notes-dropdown{display:block}
.notes-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 13px;border-bottom:1px solid #f0eae7;position:sticky;top:0;background:#fff;
}
.notes-head b{font-size:12.5px}
.link-button{border:0;background:none;padding:0;cursor:pointer;color:#8d3b3d;font-size:11px;font-weight:700;text-decoration:underline}
.notes-list{display:flex;flex-direction:column}
.notes-item{display:block;padding:10px 13px;border-bottom:1px solid #f5f1ef;text-decoration:none;color:inherit}
.notes-item:last-child{border-bottom:0}
.notes-item:hover{background:#faf8f7}
.notes-item.unread{background:#fdfaf9}
.notes-item.unread .notes-item-body{font-weight:750}
.notes-item.needs-action{border-left:3px solid #c9812f}
.notes-item-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.notes-item-top .mono{font-size:11px;font-weight:700;color:#8d3b3d}
.notes-when{font-size:10.5px;color:var(--muted)}
.notes-item-body{font-size:12px;margin-top:3px;line-height:1.45}
.notes-item-comment{font-size:11.5px;color:var(--muted);margin-top:3px;line-height:1.45}
.notes-empty{padding:14px 13px;font-size:12px;color:var(--muted);line-height:1.6}

/* --- review outcomes on the dashboard ------------------------------------ */
.review-updates{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.review-update{
  display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:9px;
  border:1px solid #eee8e5;background:#fcfbfa;text-decoration:none;color:inherit;font-size:12px;
}
.review-update:hover{background:#faf7f6}
.review-update.needs-action{border-color:#e8cfa8;background:#fffaf2}
.review-update .mono{font-size:11px;font-weight:700;color:#8d3b3d}
.review-update .what{margin-left:auto;font-size:11.5px;color:var(--muted);white-space:nowrap}

/* --- danger actions (delete a draft) ------------------------------------- */
/* A saved-draft confirmation reads as information, not as a warning. */
.info-box.saved-box{background:#eff7f1;border:1px solid #cfe4d6;color:#256b41}
.info-box.saved-box p{margin:6px 0 0}
.btn-danger{border:1px solid var(--pku);background:var(--pku);color:#fff}
.btn-danger:hover{background:#8d0a11}
.btn-danger-outline{border:1px solid #d8b6b8;background:#fff;color:var(--pku);text-decoration:none}
.btn-danger-outline:hover{background:#fff5f5;border-color:var(--pku)}
.danger-block{border-color:#e8cfd0;background:#fffdfd}
.danger-block .section-title{color:var(--pku)}
.danger-block .section-title:before{background:var(--pku)}

/* ==========================================================================
   v0.3.5 —the read-only entry block (record and review views)
   ==========================================================================
   The record view reuses the Add Data form's `.entry-instance` class, so a recorded
   entry was drawn with the form card's white background, border and hover state
   nested inside the module card —three boxes deep, with a header and a condition
   table that did not line up. A read-only block is a table of what was recorded, so
   it is styled as one: no card of its own, a quiet tinted header, and one aligned
   row per condition.
   ========================================================================== */
.entry-instance.readonly{
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
.entry-instance.readonly + .entry-instance.readonly{border-top:1px solid #efe9e7}
.entry-instance.readonly .entry-instance-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:12px 14px;background:#faf8f7;border-bottom:1px solid #efe9e7;
}
.entry-instance.readonly .entry-title{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.entry-instance.readonly .entry-title b{font-size:13.5px}
.entry-instance.readonly .entry-instance-meta{gap:6px 16px;margin:0;white-space:nowrap}
.entry-instance.readonly .entry-instance-meta b{font-weight:700;color:#6f5b56}

/* One condition per row: label on the left, value on the right edge of the value
   column. Every row shares the same geometry, so a one-value entry lines up with a
   ten-condition one. */
.entry-instance.readonly .condition-table{margin:0;border:0;border-radius:0;overflow:visible}
.entry-instance.readonly .condition-row{
  display:grid;grid-template-columns:minmax(180px,340px) minmax(0,1fr);
  gap:12px 18px;padding:9px 14px;background:transparent;
  border-bottom:1px solid #f5f1ef;align-items:baseline;
}
.entry-instance.readonly .condition-row:last-child{border-bottom:0}
.entry-instance.readonly .condition-key{flex-direction:row;align-items:baseline;gap:7px;flex-wrap:wrap}
.entry-instance.readonly .condition-value{
  font-size:12.5px;font-weight:700;color:#8d3b3d;text-align:left;align-self:baseline;
  word-break:break-word;
}
.entry-instance.readonly .entry-result,
.entry-instance.readonly .entry-notes{padding:10px 14px;border-top:1px solid #f5f1ef}
.entry-instance.readonly .entry-evidence{padding:10px 14px 14px;border-top:1px solid #f5f1ef}
@media(max-width:700px){
  .entry-instance.readonly .condition-row{grid-template-columns:minmax(0,1fr)}
}

/* --- permission chips ---------------------------------------------------- */
.perm-chip{display:inline-block;padding:3px 9px;margin:0 4px 3px 0;border-radius:20px;font-size:10.5px;font-weight:700;border:1px solid #e7e0dd;background:#faf8f7;color:#6f5b56;white-space:nowrap}
.perm-chip.elevated{border-color:#cfa7a8;background:#fff7f7;color:#8d3b3d}
.perm-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.plain-list{margin:0;padding-left:20px;font-size:12.5px;line-height:1.8;color:#4b4f57}
.plain-list b{color:var(--text)}

/* ==========================================================================
   v0.3.3 —typography and page-head normalisation
   ==========================================================================
   The product title and every page title were set in a Georgia serif while the
   rest of the platform uses the body font, which read as a second, unintended
   typeface. They now inherit the platform font. Page-heads also stop carrying an
   explanatory sentence, so the heading stands alone with no reserved space.
   ========================================================================== */
.product-title,
.page-title,
.brand-cn{font-family:inherit}
.product-title{letter-spacing:-.01em}
.page-title{font-size:26px;letter-spacing:-.01em;margin:0}
.page-head{margin-bottom:18px;align-items:center}
.page-head>div{min-width:0}
.page-sub:empty{display:none}
.page-title:empty{display:none}

/* The accent bar before a section heading belongs to dashboard-style cards. The
   Basic Information panel of Add Data is the one place it must not appear, so it is
   suppressed by panel rather than by `:first-child` —that depended on whether a
   subtitle happened to be present, which is exactly why the rule did not apply.
   From step 2 onwards the bar is the intended marker and stays. */
.step-panel[data-step-key="basic"] .form-card>.section-title::before{content:none;display:none}
.step-panel[data-step-key="basic"] .form-card>.section-title{font-size:16px}
.form-card .section-sub{margin:0 0 4px}
.section-sub:empty{display:none}

/* One heading-to-content rhythm everywhere.
   The inconsistency came from the title carrying its own 6px bottom margin on top of
   the head's margin, so a page *with* a subtitle sat further from its content than one
   without. The gap is now stated once, on the head, and the title contributes nothing. */
.page-head{margin-bottom:16px}
.page-title{margin:0;line-height:1.15}
.page-sub{margin:5px 0 0}
.card>.section-title,
.card>.section-head-row,
.form-card>.section-title{margin-bottom:14px}
.card>.section-title:last-child,
.card>.section-head-row:last-child{margin-bottom:0}

/* --- glossary intro: a plain paragraph, not a boxed info panel ----------- */
.glossary-intro{
  margin:0 0 18px;padding:0;max-width:900px;
  font-size:12.5px;line-height:1.7;color:var(--muted);
}
/* Module count beside a section heading in the reference. */
.section-title-count{
  margin-left:auto;font-size:11px;font-weight:700;color:var(--muted);
  background:#f4f1ef;border-radius:999px;padding:3px 9px;
}
/* Inside an info box the first and last children no longer add their own margin,
   which is what made the box look unevenly padded. */
.info-box>*:first-child{margin-top:0}
.info-box>*:last-child{margin-bottom:0}
.info-box b+p{margin-top:7px}

/* --- module coverage panel (Review step, informational) ------------------ */
.module-panel{margin-top:12px}
.module-panel-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:7px}
.module-panel-head b{font-size:12.5px}
.module-chips{display:flex;flex-wrap:wrap;gap:6px}
.module-chip{padding:3px 9px;border-radius:20px;font-size:11px;font-weight:650;border:1px solid #e7e0dd;background:#faf8f7;color:#6f5b56}
.module-chip.used{border-color:#bfdcc9;background:#eef7f1;color:#256b41}
.module-chip.unused{border-style:dashed;color:#98a0aa}
.module-chip.optional{border-style:dotted;color:#98a0aa;background:#fcfbfa}

/* --- glossary ------------------------------------------------------------ */
.glossary-group{margin-bottom:22px}
.glossary-pair{display:grid;grid-template-columns:minmax(200px,320px) 1fr;gap:14px;padding:7px 0;border-bottom:1px solid #f2edeb}
.glossary-pair:last-child{border-bottom:0}
.glossary-en{font-size:12.5px;font-weight:650}
.glossary-zh{font-size:12.5px;color:#4b4f57}
.glossary-note{font-size:11px;color:var(--muted)}

@media(max-width:1100px){
  .detail-layout{grid-template-columns:minmax(0,1fr)}
  .detail-side{order:2}
}
@media(max-width:760px){
  .condition-row{grid-template-columns:1fr;gap:4px}
  .page-partitions{grid-template-columns:minmax(0,1fr)}
  .glossary-pair{grid-template-columns:1fr;gap:2px}
  .entry-instance-head{align-items:flex-start;flex-direction:column}
  .entry-instance-tools{align-self:flex-end}
}



/* --- v0.4.4: guided growth form, dense layout ------------------------------ */
/* Design notes:
   - The curve is a wide, short band: at the width the form gives it, it lands around
     200px tall instead of 370, so it informs without dominating the page.
   - Sections are a small caps label plus a hairline, 14px apart; five of them cost
     about 120px instead of 250.
   - Fields are 34px tall with a 4px label gap and 10px row gaps, and the unit lives
     in the label, so every row is one line instead of two. */
.growth-panel{margin:0 0 12px;padding:8px 10px 6px;border:1px solid #dfe9f4;border-radius:10px;background:linear-gradient(#f9fcff,#f2f8fd)}
.growth-panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.growth-panel-title{font-size:12px;font-weight:800;color:#33506e}
.growth-panel-hint{font-size:10.5px;color:#8b9db0}
.growth-panel .growth-chart{border:0;background:transparent;padding:0;margin:0}

.field-block{margin-top:12px}
.field-block:first-of-type{margin-top:0}
.field-block-title{
  margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #efe8e4;
  display:flex;align-items:baseline;gap:6px;
  font-size:12px;font-weight:800;color:#3d3a38;
}
.field-block-zh{font-size:11px;font-weight:600;color:#a08b85}

.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;align-items:end}
.field-grid .field{gap:5px;justify-content:flex-end}
.field-grid .field>label{display:block;font-size:12px;font-weight:700;line-height:1.4}
.field-grid .input,.field-grid .select{height:34px;padding:6px 10px;font-size:13px;border-radius:8px}
.field-unit{font-size:10.5px;font-weight:600;color:#96a0ab;letter-spacing:.01em}

.timeline-strip{
  display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;
  padding:8px 2px;border:1px solid #efe8e4;border-radius:10px;background:#fbf8f6;
}
.tl-item{display:flex;flex-direction:column;gap:1px;padding:0 8px;border-left:1px solid #e9e0db;min-width:0}
.tl-item:first-child{border-left:0}
.tl-value{font-size:15px;font-weight:800;color:#3d3a38;font-variant-numeric:tabular-nums;line-height:1.2}
.tl-label{font-size:10px;font-weight:600;color:#a08b85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-label i{font-style:normal;color:#c0afa9;margin-left:2px}
.auto-tag{margin-left:4px;padding:0 5px;border-radius:999px;font-size:9.5px;font-weight:800;color:#b4622a;background:#fdf0e4}

.plain-number .sci-value{font-variant-numeric:tabular-nums}

.gc-svg{display:block;width:100%;height:auto}
.gc-grid{stroke:#efe7e3;stroke-width:1}
.gc-tick{stroke:#d9cec9;stroke-width:1}
.gc-axis{font-size:10.5px;fill:#8b7a74}
.gc-unit{letter-spacing:.06em}
.gc-stage{font-size:10px;fill:#b09a93;letter-spacing:.05em;text-transform:uppercase}
.gc-line{fill:none;stroke:#3d4a5c;stroke-width:2;stroke-linejoin:round}
.gc-dot{fill:#3d4a5c}
.gc-bar{opacity:.85}
.gc-gas-ar{fill:#cfe0f5}
.gc-gas-h2{fill:#d8ecdd}
.gc-gas-carbon{fill:#fbe0c8}
.gc-flow{font-size:9.5px;fill:#8b7a74}
.gc-summary{margin-top:2px;font-size:10.5px;font-weight:700;color:#7a6a64}

/* Structure map (empty form): no numbers, no dots, no flow rates. */
.gc-structure .gc-ghost{fill:none;stroke:#c6bdb8;stroke-width:1.6;stroke-dasharray:5 5}
.gc-structure .gc-divider{stroke:#ece4e0;stroke-width:1;stroke-dasharray:2 4}
.gc-structure .gc-stage{fill:#9c8d87}
.gc-ghost-bar{fill:#f6f2f0;stroke:#ded5d0;stroke-width:1;stroke-dasharray:5 4}
.gc-axis-title{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;fill:#b0a29b}
.gc-field{font-size:10px;fill:#b3a29b;letter-spacing:.02em}

/* Guided module: the form is the module, so the block is just a container. */
.entry-category-block.entry-auto{background:transparent;border:0;padding:0}
.entry-category-block.entry-auto .entry-instance-list{margin-top:0}
.entry-category-block.entry-auto .entry-instance{margin-top:0}
.entry-category-block.entry-auto .entry-instance-body{padding:14px 16px 12px}

@media(max-width:1080px){.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.field-grid,.timeline-grid{grid-template-columns:minmax(0,1fr)}}

/* Required fields are marked with a dot before the label: a star after a long
   bilingual label wraps onto a line of its own and makes the grid look ragged. */
.field-grid .field[data-required="1"]>label::before,
.field-field-single .field[data-required="1"]>label::before{
  content:"";display:inline-block;width:5px;height:5px;border-radius:50%;
  background:var(--pku);margin-right:5px;vertical-align:2px;
}

/* One-control sections: label and control on a single line. */
.field-block-single .field-grid{display:block}
.field-block-single .field{flex-direction:row;align-items:center;gap:12px;max-width:560px}
.field-block-single .field>label{flex:0 0 220px;margin:0}
.field-block-single .field>.input,
.field-block-single .field>.select{flex:1}
