:root{color-scheme:light;--ink:#263c38;--muted:#7b8581;--green:#215b50;--deep:#153f37;--pale:#edf4ef;--line:#e4e8e2;--paper:#f7f8f4;--white:#fff;--amber:#ab7830;--red:#b54f42;--radius:13px;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #76b4a2;outline-offset:3px}button{color:inherit}input,select,textarea{color:var(--ink);background:white;border:1px solid #dce2db;border-radius:7px;padding:11px 12px;min-width:0}input::placeholder,textarea::placeholder{color:#9aa29b}input:focus,textarea:focus,select:focus{border-color:#69a08d;outline:2px solid #b8d9cd66}input[type=date]{min-height:41px}textarea{resize:vertical;line-height:1.8}h1,h2,h3,p{margin:0}h1{font-family:"Microsoft YaHei",sans-serif;font-size:30px;letter-spacing:1px;font-weight:600}h2{font-size:17px;font-weight:600}h3{font-size:17px}svg.icon{width:19px;height:19px;display:block;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-icon]{display:inline-flex;align-items:center;justify-content:center}.sidebar{width:225px;background:#f0f3ec;border-right:1px solid #e3e7df;position:fixed;inset:0 auto 0 0;padding:36px 21px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--deep);margin:0 7px 52px}.brand-icon{font-family:serif;font-size:34px;width:47px;height:47px;background:var(--deep);color:#f2e8ce;border-radius:13px;display:flex;align-items:center;justify-content:center}.brand strong{display:block;font-size:25px;letter-spacing:6px;font-family:"SimSun",serif}.brand small{display:block;font-size:12px;color:#6d7e6b;margin-top:7px;white-space:nowrap}.nav-label{color:#939b8e;font-size:12px;letter-spacing:2px;margin:0 15px 17px}.nav-item{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:13px;padding:14px 15px;margin:4px 0;border-radius:9px;text-align:left;color:#6b786d;font-weight:500}.nav-item.active{background:var(--green);color:white;box-shadow:0 4px 9px #1c473713}.nav-item:hover:not(.active){background:#e5eadf;color:var(--green)}.nav-count{margin-left:auto;background:#ffffff22;padding:2px 6px;border-radius:4px;font-size:12px}.nav-divider{height:1px;background:#e0e5da;margin:25px 14px}.sidebar-bottom{margin-top:auto;padding:21px 12px 0;border-top:1px solid #dce3d6;color:#64725f;font-size:12px;line-height:1.7}.sidebar-bottom strong{font-weight:500}.sidebar-bottom p{margin:5px 0 20px 14px;color:#889181}.offline-dot,.dot{display:inline-block;background:#63966d;width:6px;height:6px;border-radius:50%;margin-right:8px}.version{letter-spacing:1px;font-size:11px;color:#929b8b}.shell{margin-left:225px}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fdfdfb;font-size:13px}.slash{margin:0 15px;color:#c2c9be}.muted{color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:24px;color:var(--muted)}.local-status{display:flex;align-items:center;gap:7px;font-size:12px}.local-status i{width:6px;height:6px;border-radius:50%;background:#58997d}.avatar-small{width:36px;height:36px;border-radius:50%;background:#e6ecdf;color:#6a7a5d;display:flex;align-items:center;justify-content:center;font-size:12px}main{padding:34px 38px 28px;max-width:1740px;margin:auto}.page{display:none}.page.active{display:block}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:2px;color:#83917d;font-weight:600;margin-bottom:9px}.subtitle{font-size:14px;color:var(--muted);margin-top:11px;line-height:1.7}.heading-actions{display:flex;gap:10px}.button{border:1px solid #dce2d9;border-radius:7px;background:#fff;display:inline-flex;gap:8px;justify-content:center;align-items:center;min-height:41px;padding:10px 17px;line-height:1.4;font-weight:500;white-space:nowrap}.button:hover{background:#f3f6ee;border-color:#afc3b4}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:var(--deep)}.button.danger{color:#aa473d;border-color:#e5c4be;background:#fff9f7}.button.small{min-height:34px;padding:6px 11px;font-size:13px}.text-button{border:0;background:none;color:var(--green);padding:8px;white-space:nowrap}.icon-button{border:1px solid #e1e6dc;border-radius:6px;background:white;width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;font-size:21px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stats .stat-card{background:#fff;border:1px solid var(--line);padding:20px 24px;position:relative;border-radius:var(--radius);min-height:125px}.stats .stat-card:after{content:"";position:absolute;top:22px;right:22px;width:7px;height:7px;border-radius:50%;border:2px solid #b5c6ad}.stats .stat-card:nth-child(2):after{border-color:#cfb178}.stats .stat-card:nth-child(3):after{border-color:#86aea7}.stats .stat-card:nth-child(4):after{border-color:#bca8c4}.stats .stat-card>span{display:block;color:#657260;font-size:13px}.stats .stat-card strong{font-size:32px;font-weight:500;color:var(--deep);display:inline-block;margin-top:11px;line-height:1.1;font-variant-numeric:tabular-nums}.stats .stat-card small{margin-left:10px;color:#99a08f;font-size:11px}.quick-strip{display:flex;align-items:center;gap:16px;border:1px solid #dbe5d8;background:#ecf2e9;padding:17px 20px;border-radius:var(--radius);margin-bottom:27px}.quick-symbol{color:#577c55;background:#e1e9d7;padding:10px;border-radius:10px;flex:none}.quick-label{min-width:185px}.quick-label strong{font-size:14px;font-weight:600;display:block}.quick-label span{font-size:12px;color:#929d85;display:block;margin-top:6px}.quick-strip input{flex:1;border-color:#e2e7dc;background:#ffffffb5;min-height:43px;font-size:13px}.records-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.records-heading{padding:24px 24px 20px;display:flex;align-items:center;justify-content:space-between}.section-title{display:flex;align-items:center;gap:11px}.count-pill{font-size:12px;color:#7b8973;background:#f1f4ec;padding:3px 9px;border-radius:5px}.quiet-label{font-size:12px;color:#969e91}.filterbar{display:flex;align-items:center;gap:12px;padding:0 24px 23px;flex-wrap:wrap}.search-field{display:flex;align-items:center;flex:1;min-width:190px;position:relative}.search-field>span{position:absolute;left:13px;color:#9ca796}.search-field input{width:100%;padding-left:40px;background:#fcfdfa}.filter-date{display:flex;gap:10px;align-items:center;font-size:13px;color:#828d7c}.filter-date input{max-width:153px;font-size:13px}.filterbar select{font-size:13px}.table-scroll{overflow:auto}.guest-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.guest-table thead{background:#f7f9f4;border-top:1px solid #ebeee7;border-bottom:1px solid #ebeee7}.guest-table th{font-size:12px;color:#819078;font-weight:500;padding:15px 17px}.guest-table td{padding:20px 17px;border-bottom:1px solid #edf0e9;font-size:14px}.guest-table td:first-child,.guest-table th:first-child{padding-left:24px}.guest-table tr:last-child td{border-bottom:0}.guest-table tbody tr:hover{background:#fcfdf9}.name-cell{display:flex;align-items:center;gap:11px}.guest-avatar{height:39px;width:39px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#edf1e5;color:#78866a;font-family:serif;font-size:18px;flex-shrink:0}.name-button{border:0;background:transparent;font-size:14px;font-weight:600;padding:0;text-align:left;color:var(--ink)}.name-button:hover{color:var(--green);text-decoration:underline}.subline{display:block;color:#939d8b;font-size:12px;line-height:1.5;margin-top:5px}.date-main{font-size:13px;font-variant-numeric:tabular-nums}.tags{display:flex;gap:6px;align-items:center;max-width:330px;flex-wrap:wrap;white-space:normal}.tag{font-size:12px;line-height:1.7;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;padding:2px 7px;border:1px solid #e2e7db;border-radius:4px;color:#738265;background:#f6f8f1}.tag.alert{background:#fcf2ec;color:#b17750;border-color:#efdfd2}.tag.special{background:#f3eff7;color:#8c7aa4;border-color:#e9e2f1}.status{font-size:12px;display:inline-flex;gap:6px;align-items:center;border-radius:5px;padding:5px 9px;color:#b58c43;background:#f9f3e6}.status:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.status.ready{background:#edf5eb;color:#6b9165}.status.progress{background:#eef3f8;color:#6e91ad}.status.none{background:#f0f2ed;color:#949c8c}.empty-state{text-align:center;padding:56px 20px 62px}.empty-symbol{background:#f2f5ed;color:#8ca27e;border-radius:16px;padding:16px;margin-bottom:18px}.empty-symbol svg{width:31px;height:31px}.empty-state h3{font-size:17px;font-weight:500;margin-bottom:10px}.empty-state p{color:#96a08d;font-size:14px;margin-bottom:24px}.empty-state .button{margin:0 4px}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-top:1px solid #edf0e9;color:#9aa290;font-size:12px}.pagination{display:flex;align-items:center;gap:13px}.footnote{display:flex;align-items:center;gap:7px;color:#a1a993;font-size:11px;margin:18px 1px}.footnote svg{width:14px;height:14px}.footnote>div{margin-left:auto}.card{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:28px}.card p{color:var(--muted);font-size:14px;line-height:1.9}.card h2{margin-bottom:15px}.steps{display:flex;align-items:center;gap:20px;margin:10px 0 30px;color:#a0a892;max-width:700px;font-size:13px}.steps>span{display:flex;align-items:center;gap:10px}.steps b{font-size:12px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e9eee1;font-weight:500}.steps .active{color:var(--green)}.steps .active b{background:var(--green);color:white}.steps i{height:1px;background:#dee4d6;flex:1}.import-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.dropzone{border:1px dashed #abc3a7;border-radius:12px;background:#fafcf8;padding:35px;text-align:center;transition:background .2s}.dropzone.dragover{background:#e8f2e4;border-color:var(--green)}.upload-symbol{color:#7c9f70;background:#edf3e7;padding:17px;border-radius:14px;margin-bottom:18px}.upload-symbol svg{width:27px;height:27px}.dropzone p{font-size:13px;margin-bottom:20px}.dropzone small{display:block;margin-top:15px;color:#99a48e;font-size:12px}.or{display:flex;align-items:center;gap:20px;color:#9aa68f;font-size:12px;margin:27px 0}.or:before,.or:after{content:"";height:1px;flex:1;background:var(--line)}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;min-width:0}.field>span{font-size:13px;color:#64735d}.field input,.field select,.field textarea{width:100%}.field small{color:#8d9885;font-size:12px}.field .required{color:var(--red)}.import-help ol{padding-left:19px;color:#7a8c6c}.import-help li{padding:12px 0 13px 4px}.import-help li strong{font-size:14px;font-weight:500;color:var(--ink)}.import-help li p{font-size:13px;margin-top:7px}.notice{border:1px solid #e0e8d5;border-radius:8px;background:#f4f7ec;color:#82916e;padding:13px 15px;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.notice.error{color:#a25245;background:#fff3ef;border-color:#efd4cb;margin-bottom:16px}.notice.warning{color:#a17f48;background:#fbf5e8;border-color:#eee3c8}#import-preview{margin-top:24px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.preview-heading h2{margin:0}.preview-table{border-collapse:collapse;width:100%;font-size:13px}.preview-table th,.preview-table td{border-bottom:1px solid var(--line);padding:13px 10px;text-align:left;vertical-align:top}.preview-table th{background:#f5f8f1;font-weight:500;color:#7f8f73}.preview-table select{max-width:240px;font-size:13px}.preview-table td small{display:block;color:#96a18b;font-size:11px;margin-top:5px}.preview-details{margin-top:6px;font-size:12px;max-width:330px;white-space:normal;overflow-wrap:anywhere}.preview-details summary{cursor:pointer;color:var(--green)}.preview-details p{font-size:12px;padding:4px 0;line-height:1.6;color:#7a8771}.preview-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:20px;flex-wrap:wrap}.preview-actions>span{margin-right:auto;color:var(--muted);font-size:13px}.quick-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.quick-layout .section-title{margin-bottom:28px}.quick-layout .section-title h2{margin:0}.example-chips{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 25px}.example-chips button{border:1px solid #e2e8dc;background:#f8faf5;color:#809572;border-radius:5px;padding:7px 10px;font-size:12px}.format-example{padding:17px;background:#f2f6ed;border-radius:7px;color:#8e9d80;margin:14px 0 22px;font-size:13px}.format-example b{color:var(--green);margin-left:12px;font-weight:500}.quick-help .notice{margin-top:22px}.backup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.large-symbol{padding:14px;background:#edf4e8;border-radius:12px;color:#72965f;margin-bottom:22px}.large-symbol svg{width:25px;height:25px}.backup-grid .card{display:flex;flex-direction:column;align-items:flex-start}.backup-grid .card p{margin-bottom:25px;flex:1}.storage-info{margin-top:25px}.storage-info dl{display:grid;grid-template-columns:145px 1fr;gap:16px;font-size:13px;margin:25px 0}.storage-info dt{color:#829175}.storage-info dd{margin:0;overflow-wrap:anywhere;font-family:Consolas,monospace;color:#667c5b}.storage-info p{font-size:13px;margin-bottom:15px}dialog{color:var(--ink);border:0;padding:0;border-radius:16px;box-shadow:0 24px 100px #17362b44;max-height:92dvh;max-width:calc(100vw - 28px);background:white}dialog::backdrop{background:#17362b55;backdrop-filter:blur(3px)}.editor-dialog{width:920px}.detail-dialog{width:790px}.compact-dialog{width:550px}.dialog-header{padding:24px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-header h2{font-size:21px;font-weight:500}.dialog-header p{font-size:13px;color:var(--muted);margin-top:7px}.close-dialog{border:0;background:#f4f6f0;border-radius:50%;width:33px;height:33px;color:#8c9a7f;display:flex;align-items:center;justify-content:center;font-size:25px;flex-shrink:0}.dialog-body{padding:25px 28px;max-height:calc(92dvh - 182px);overflow:auto;overscroll-behavior:contain}.compact-dialog .dialog-body{max-height:calc(92dvh - 90px)}.dialog-footer{border-top:1px solid var(--line);padding:17px 28px;background:#fcfdf9;display:flex;gap:10px;justify-content:flex-end;align-items:center}.dialog-footer .left{margin-right:auto}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-section-title{font-size:15px;font-weight:600;margin:10px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:14px}.visit-editor{border:1px solid var(--line);border-radius:10px;margin-bottom:18px;overflow:hidden}.visit-editor summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:15px 17px;background:#f5f8f0;font-size:14px;list-style:none}.visit-editor summary:after{content:"⌄";color:#879a75}.visit-editor .visit-content{padding:20px}.visit-section{border:0;border-top:1px solid #edf0e7;padding:19px 0 0;margin:7px 0}.visit-section legend{font-size:13px;font-weight:600;color:#7c906b;padding:0 10px 0 0}.custom-row{display:grid;grid-template-columns:1fr 2fr 32px;gap:10px;margin-bottom:12px;align-items:start}.custom-row input,.custom-row textarea{font-size:13px;width:100%}.custom-row textarea{min-height:43px;padding:8px 12px}.custom-row .icon-button{margin-top:5px}.custom-hint{margin:0 0 18px;color:#9ca58f;font-size:12px;line-height:1.8}.empty-custom{background:#f6f8f1;padding:19px;text-align:center;border-radius:8px;color:#9ba48d;font-size:13px}.detail-name{display:flex;align-items:center;gap:15px}.detail-name .guest-avatar{width:50px;height:50px;font-size:24px}.detail-name h2{font-size:23px}.detail-info{margin-bottom:25px}.detail-info .section-title{margin-bottom:15px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.detail-field{background:#f6f8f2;border:1px solid #e8eddf;border-radius:8px;padding:13px 15px;overflow-wrap:anywhere}.detail-field dt{font-size:12px;color:#8b9a7a;margin-bottom:8px}.detail-field dd{margin:0;font-size:14px;white-space:pre-wrap;line-height:1.7}.detail-field.special{background:#f7f4fa;border-color:#ebe4f0}.detail-field.special dt{color:#a18eb0}.detail-field.alert{background:#fff7ef;border-color:#f2e2d3}.detail-field.alert dt{color:#b7814f}.visit-detail{border:1px solid var(--line);border-radius:10px;margin-top:16px;overflow:hidden}.visit-detail summary{padding:17px 19px;background:#f8faf5;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.visit-detail .visit-detail-body{padding:18px}.detail-section-label{font-size:12px;color:#9eaa8f;margin:18px 0 12px}.detail-section-label:first-child{margin-top:0}.empty-note{font-size:13px;color:#98a28a;padding:10px 0;line-height:1.8}.quick-preview-note{margin-bottom:21px}.candidate-info{font-size:12px;color:#9eaa91;margin-top:8px}.confirm-copy{line-height:1.9;font-size:14px;color:#7f8e72;margin-bottom:20px}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.toast{position:fixed;bottom:29px;left:50%;transform:translateX(-50%);padding:14px 23px;background:var(--deep);color:white;border-radius:9px;box-shadow:0 6px 25px #103e3833;z-index:100;font-size:14px;max-width:90vw}.toast.error{background:#a65043}.busy{pointer-events:none;opacity:.6}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-wrap{white-space:nowrap}.warning-text{color:var(--red);font-size:12px}.select-required{border-color:#d2b885}.source-label{font-size:12px;color:#a0ab94}details>summary::marker{color:#8da17b}
@media(min-width:1600px){main{padding-top:42px}.stats .stat-card{padding:24px 28px}.guest-table td{padding-top:24px;padding-bottom:24px}}@media(max-width:1250px){.sidebar{width:200px;padding:30px 15px}.shell{margin-left:200px}.brand{gap:9px;margin-left:3px}.brand small{font-size:11px}.topbar{padding:0 26px}main{padding:28px 26px}.quick-label{min-width:140px}.quick-label span{font-size:11px}.quick-strip{gap:12px}.quick-strip input{font-size:12px}.stats{gap:12px}.stats .stat-card{padding:18px}.stats .stat-card small{display:block;margin:6px 0 0}.import-layout,.quick-layout{grid-template-columns:minmax(0,1fr) 270px}.backup-grid{gap:14px}.backup-grid .card{padding:22px}.guest-table{min-width:850px}.quiet-label{display:none}}@media(max-width:1000px){.sidebar{width:80px;padding:28px 11px}.brand{margin:0 4px 37px}.brand>span:last-child,.nav-label,.nav-item:not(.active) .nav-count,.sidebar-bottom{display:none}.brand-icon{width:47px;height:47px}.nav-item{font-size:0;padding:16px;gap:0;justify-content:center}.nav-item svg{width:22px;height:22px}.nav-count{display:none}.nav-divider{margin:18px 9px}.shell{margin-left:80px}.quick-label{display:none}.import-layout,.quick-layout{grid-template-columns:1fr}.import-help ol{display:flex;gap:32px}.import-help li{flex:1}.stats .stat-card small{font-size:11px}.backup-grid{grid-template-columns:1fr}.backup-grid .card{display:block}.backup-grid .card p{margin-bottom:16px}.topbar-right{gap:12px}}@media(max-width:680px){:root{font-size:14px}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:69px;padding:6px 12px;z-index:20;border:0;border-top:1px solid #dae2d5;background:#f5f8ef}.sidebar .brand{display:none}.sidebar nav{display:flex;justify-content:space-around;width:100%}.nav-item{width:auto;min-width:64px;flex-direction:column;gap:5px;padding:7px 12px;font-size:11px;margin:0}.nav-item.active{box-shadow:none;background:#e1ebd9;color:var(--green)}.nav-item svg{width:20px;height:20px}.nav-divider{display:none}.shell{margin:0 0 69px}.topbar{height:61px;padding:0 18px;font-size:12px}.topbar #today,.avatar-small{display:none}.topbar-right{gap:6px}main{padding:23px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:18px;margin-bottom:22px}h1{font-size:27px}.eyebrow{font-size:10px}.subtitle{font-size:13px}.heading-actions .button{font-size:13px;padding:9px 13px}.stats{grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:18px}.stats .stat-card{padding:17px;min-height:108px}.stats .stat-card:after{right:16px;top:19px}.stats .stat-card strong{font-size:29px}.stats .stat-card small{font-size:10px}.quick-strip{flex-wrap:wrap;gap:10px;padding:13px;margin-bottom:20px}.quick-strip .quick-symbol{padding:8px}.quick-strip input{width:calc(100% - 48px);flex:1;font-size:12px}.quick-strip .button{margin-left:auto;min-height:34px;padding:7px 11px;font-size:12px}.records-heading{padding:20px 16px 18px}.filterbar{padding:0 16px 18px;gap:10px}.search-field{flex-basis:100%}.filter-date{flex:1;font-size:12px}.filter-date input{max-width:140px}.filterbar select{max-width:132px;font-size:12px;padding-left:8px}.guest-table{min-width:820px}.table-footer{padding:14px 16px}.empty-state{padding:40px 15px}.footnote{font-size:10px;line-height:1.8}.footnote>div{display:none}.card{padding:21px}.steps{gap:8px;font-size:11px}.steps b{width:22px;height:22px}.steps>span{gap:5px}.steps i{min-width:5px}.dropzone{padding:27px 14px}.dropzone h2{font-size:17px}.dropzone p{font-size:12px}.import-help ol{display:block}.storage-info dl{grid-template-columns:1fr;gap:10px}.storage-info dd{margin-bottom:8px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.dialog-header{padding:20px}.dialog-body{padding:20px}.dialog-footer{padding:15px 20px}.visit-editor .visit-content{padding:15px}.custom-row{grid-template-columns:1fr 30px}.custom-row>textarea{grid-row:2;grid-column:1 / -1}.custom-row .icon-button{grid-row:1;grid-column:2}.detail-grid{grid-template-columns:1fr}.dialog-footer .left{font-size:12px}.preview-heading{align-items:flex-start;flex-wrap:wrap}.quick-layout .section-title h2{font-size:16px}.confirm-actions .button{font-size:13px}.toast{bottom:83px}.editor-dialog,.detail-dialog,.compact-dialog{max-width:calc(100vw - 18px)}.dialog-body{max-height:calc(92dvh - 172px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Hotel identity: use the supplied artwork without altering its lettering. */
.brand.hotel-brand{display:block;margin:0 0 34px;padding:0;background:transparent;border-radius:9px;overflow:hidden}
.hotel-logo{display:block;width:100%;height:auto}
.hotel-caption{display:block;text-align:center;font-size:14px;font-weight:600;letter-spacing:1px;margin-top:6px;padding-bottom:6px}
.hotel-caption small{font-size:12px;font-weight:400;letter-spacing:2px}
.logo-filter-definitions{position:absolute;pointer-events:none;overflow:hidden}
.hotel-logo,.hotel-mark{filter:url('#hotel-logo-transparency')}
.hotel-mark{display:none}
@media(max-width:1000px) and (min-width:681px){
  .brand.hotel-brand{margin:0 2px 37px;width:54px;height:57px}
  .hotel-brand .hotel-logo{display:none}
  .hotel-brand .hotel-mark{display:block;width:54px;height:57px;background:transparent url('/hotel-logo.jpg') no-repeat -8px -13px;background-size:177px auto}
}
@media(max-width:680px){.sidebar .brand.hotel-brand{display:none}}

/* Keep required markers aligned with native validation, including conditional fields. */
.required { color: var(--red); }
.stats .stat-card { font:inherit; color:inherit; text-align:left; cursor:pointer; transition:border-color .15s,box-shadow .15s; }
.stats .stat-card:hover { border-color:#93ab84; box-shadow:0 4px 14px #27442512; }
.stats .stat-card[aria-pressed="true"] { border-color:var(--green); box-shadow:inset 0 0 0 1px var(--green); }
.stats .stat-card:focus-visible { outline:3px solid #accba0; outline-offset:3px; }
.stats .stat-card .stat-link { display:block; margin-top:12px; font-size:11px; color:var(--green); }
.records-card { scroll-margin-top:22px; }
.records-context { font-size:12px; color:#718266; line-height:1.7; }
.custom-preview { min-width:180px; max-width:360px; white-space:normal; overflow-wrap:anywhere; margin-bottom:10px; }
.custom-preview p { margin:0 0 8px; font-size:12px; line-height:1.65; }
.custom-preview b { display:block; color:#795e89; font-weight:500; }
.custom-preview span { white-space:pre-wrap; }
.custom-preview .text-button { font-size:12px; }
.same-name-badge { display:inline-block; margin-left:7px; padding:2px 6px; border-radius:4px; color:#936325; background:#fff0d5; font-size:11px; font-weight:500; white-space:nowrap; vertical-align:middle; }
.guest-reference { display:block; margin-top:5px; font-size:12px; font-weight:400; color:#64735d; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.birthday-person .guest-reference { margin-top:0; }
#same-name-warning { margin-bottom:20px; }
#same-name-warning ul { padding-left:20px; margin:8px 0; }
#same-name-warning li { margin:5px 0; }
.field:has(> :is(input, textarea, select):required:not(:disabled)) > span:first-child::after,
.quick-strip:has(> input:required:not(:disabled)) .quick-label strong::after {
  content: " *";
  color: var(--red);
  font-weight: 700;
}
