.webapp-wrap{padding-top:42px}.webapp-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.webapp-hero h1{font-size:clamp(28px,4vw,38px);margin:14px 0 5px}.webapp-hero p{max-width:640px}.sync-status{display:inline-flex;align-items:center;gap:9px;background:#173d4f;padding:11px 14px;border:1px solid #315b68;border-radius:999px;color:#d8f5e8;white-space:nowrap;font-size:12px;font-weight:700}.sync-dot{width:8px;height:8px;border-radius:50%;background:#69d4a0;box-shadow:0 0 0 4px #69d4a022}.webapp-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}.webapp-sidebar{align-self:start}.webapp-sidebar h2{font-size:17px}.module-list{display:grid;gap:5px}.module-list a{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:9px;color:#42586b;font-size:13px;font-weight:650}.module-list a:hover,.module-list a.active{background:#e8f5ef;color:#176b57}.small-copy{font-size:12px;line-height:1.6;margin-top:18px}.webapp-main{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);align-items:start;gap:18px}.record-panel,.record-editor{min-width:0}.record-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.record-panel-head h2{font-size:20px;margin:5px 0 0}.record-panel-head .eyebrow{font-size:10px;padding:5px 9px}.record-panel-head .btn{white-space:nowrap;padding:10px 12px;font-size:12px}.record-list{border-top:1px solid var(--line)}.record-row{display:flex;align-items:center;gap:10px;padding:12px 3px;border-bottom:1px solid #edf1ee;color:var(--ink)}.record-row:hover,.record-row.selected{background:#f6faf8}.record-symbol{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e6f4ed;color:#176b57;display:grid;place-items:center;font-size:13px;font-weight:800}.record-description{min-width:0;flex:1}.record-description strong,.record-description small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-description strong{font-size:13px}.record-description small{font-size:10px;color:#7b8b99;margin-top:3px}.record-chevron{font-size:20px;color:#82958b}.empty-state{min-height:180px;display:grid;align-content:center;gap:8px;color:var(--muted);font-size:13px}.empty-state strong{color:var(--ink);font-size:15px}.json-editor{min-height:360px;font-family:Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.55!important;tab-size:2}.editor-actions{display:flex;gap:10px;flex-wrap:wrap}.btn-danger{background:#fff1ef;border-color:#f4cbc6;color:#9d2520}.btn-danger:hover{background:#ffe5e1;color:#842018}.record-editor .field small{line-height:1.5}@media(max-width:1020px){.webapp-layout{grid-template-columns:210px minmax(0,1fr)}.webapp-main{grid-template-columns:1fr}.json-editor{min-height:260px}}@media(max-width:700px){.webapp-hero{align-items:flex-start;flex-direction:column}.webapp-layout{grid-template-columns:1fr}.webapp-sidebar{padding:18px}.module-list{grid-template-columns:repeat(2,minmax(0,1fr))}.module-list a{font-size:12px}.small-copy{margin-bottom:0}.webapp-main{grid-template-columns:1fr}.record-panel-head{align-items:flex-start}.record-panel-head .btn{padding:9px}.sync-status{white-space:normal}}
.attached-files{display:grid;gap:8px;padding:14px;margin:0 0 18px;border-radius:11px;background:#f4faf6;border:1px solid #dcebe2}.attached-files strong{font-size:12px;color:#53687b}.attached-files a{overflow-wrap:anywhere;font-size:13px;font-weight:700}
.webapp-layout.webapp-focused-layout{grid-template-columns:minmax(0,1fr)}
.webapp-main.webapp-focused-main{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr)}
.webapp-main.webapp-new-record{grid-template-columns:minmax(0,1fr)}
.workspace-back-link{display:inline-flex;align-items:center;gap:7px;margin:0 0 16px;color:#176b57;font-size:13px;font-weight:800}
.workspace-back-link:hover{color:#0d7c4b;text-decoration:underline}
@media(max-width:1020px){.webapp-main.webapp-focused-main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.webapp-main.webapp-focused-main{grid-template-columns:minmax(0,1fr)}}
.record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 0 14px}.record-field{display:flex;align-items:flex-end;gap:6px;min-width:0}.record-field label{display:block;flex:1;min-width:0;color:#30465b;font-size:12px;font-weight:700}.field-key{display:block;margin:2px 0 5px;color:#8492a0;font:10px Consolas,monospace;font-weight:400}.record-field input,.record-field select,.record-field textarea{display:block;width:100%;min-height:42px;border:1px solid #d4e0d9;border-radius:8px;padding:9px 10px;background:#fff;color:var(--ink);font:13px 'DM Sans',Arial,sans-serif}.record-field textarea{min-height:92px;resize:vertical;font:12px Consolas,monospace}.record-field input:focus,.record-field select:focus,.record-field textarea:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px #176b5714}.field-remove{flex:0 0 30px;width:30px;height:36px;border:0;background:transparent;color:#8a9b94;font-size:22px;cursor:pointer}.field-remove:hover{color:#ad3128}.add-field{width:auto!important;margin:0 0 16px;padding:9px 12px}.advanced-json{border-top:1px solid var(--line);padding-top:14px}.advanced-json summary{cursor:pointer;color:var(--green);font-size:13px;font-weight:800;margin-bottom:13px}.advanced-json[open] summary{margin-bottom:16px}.editor-hint{font-size:13px;margin:0 0 14px}@media(max-width:520px){.record-fields{grid-template-columns:1fr}.record-field input,.record-field select{min-height:44px}}
.record-search{display:flex;align-items:center;gap:8px;margin:0 0 14px}.record-search input{flex:1;min-width:0;height:42px;border:1px solid #d4e0d9;border-radius:8px;padding:9px 11px;color:var(--ink);font:13px 'DM Sans',Arial,sans-serif}.record-search .btn{padding:10px 12px;font-size:12px}.clear-search{font-size:12px;font-weight:700;color:var(--green)}.record-field{display:block;min-width:0;color:#30465b;font-size:12px;font-weight:700}.record-field>span{display:block;margin:0 0 6px}.record-field input[readonly]{background:#f4f7f5;color:#667783}.print-link{display:inline-flex;margin:0 0 16px}.print-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.print-sheet{background:#fff;border:1px solid #dce5df;border-radius:14px;padding:34px;color:#172b3b}.print-sheet header{border-bottom:2px solid #176b57;padding-bottom:18px;margin-bottom:18px}.print-sheet h1{margin:5px 0;font-size:30px}.print-sheet h2{margin:0 0 10px;font-size:16px;color:#176b57}.print-sheet p{line-height:1.5;margin:7px 0;font-size:13px}.print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.print-grid section{border:1px solid #e1e9e4;border-radius:10px;padding:14px}.print-signatures{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:60px 18px 0}.print-signatures div{padding-top:9px;border-top:1px solid #53687b;text-align:center;font-size:12px}@media(max-width:520px){.record-search{flex-wrap:wrap}.record-search input{flex-basis:100%}.print-grid{grid-template-columns:1fr}.print-toolbar{flex-direction:column}}@media print{body{background:#fff!important}.print-page{padding:0!important}.print-page .container{max-width:none;padding:0!important}.print-toolbar,.site-header,.site-footer,.webapp-hero{display:none!important}.print-sheet{border:0;border-radius:0;padding:8mm;box-shadow:none}.print-sheet header{margin-top:0}.print-grid{grid-template-columns:1fr 1fr;gap:10px}.print-grid section{break-inside:avoid}.print-signatures{margin-top:32mm}}
