:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#22252a;background:#f5f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #d4d8df;border-radius:9px;background:#fff;color:#323944;padding:10px 16px;min-height:44px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:background .15s}button:hover,.button:hover{background:#edf0f5}button:disabled{opacity:.55;cursor:wait}.primary{background:#275bd4;color:#fff;border-color:#275bd4}.primary:hover{background:#2049a8}.quiet{background:transparent;border-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ab3ff;outline-offset:2px}input,select,textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd2db;border-radius:8px;background:#fff;color:#242a33}textarea{resize:vertical;line-height:1.6}label{display:grid;gap:8px;font-size:14px;font-weight:550}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:10px}h2{font-size:18px}h3{font-size:17px;line-height:1.5;margin-bottom:7px}p{line-height:1.7;color:#5c6370;margin-bottom:8px}.muted{font-size:13px;color:#616b7a}.eyebrow{font-size:12px;letter-spacing:1px;color:#687487;display:block;margin-bottom:14px}.app-shell{max-width:1120px;margin:0 auto;padding:0 36px}.app-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dee3e9}.brand{font-weight:700;color:#202b3c;text-decoration:none;font-size:20px}.brand span{font-size:13px;font-weight:400;margin-left:12px;color:#697487}nav{display:flex;gap:10px;margin:24px 0 34px}nav button{border:none;background:transparent;color:#647084;min-width:80px}nav button[aria-current]{background:#e4ebfb;color:#244da6;font-weight:650}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading p{margin-bottom:0}.filters{display:flex;gap:10px;margin-bottom:14px}.search-label{flex:1}.filters select{min-width:135px}.list-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.list-heading h2{margin:0}.list-heading span{font-size:13px;color:#6b7482}.record-list{list-style:none;padding:0;margin:0;border:1px solid #dee3e9;border-radius:12px;background:#fff;overflow:hidden}.record-list>li{padding:22px 24px;display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid #e6e9ed}.record-list>li:last-child{border-bottom:0}.record-main{min-width:0}.record-main h3,.record-main p{overflow-wrap:anywhere}.tag{display:inline-block;font-size:11px;color:#63718a;margin-bottom:8px;background:#f0f3f8;border-radius:4px;padding:3px 7px}.record-list button{flex-shrink:0}.empty{text-align:center;border:1px dashed #cbd3df;border-radius:12px;padding:56px 24px;background:#fafbfd}.empty h3{font-weight:500}.pagination{display:flex;gap:22px;justify-content:center;align-items:center;margin-top:24px}.pagination span{font-size:13px;color:#626d7d}.success,.error{padding:14px 18px;border-radius:9px;margin:16px 0;font-size:14px}.success{background:#e9f3ed;color:#216542}.error{background:#fff0eb;color:#8d3921}.error button{margin-left:12px;background:transparent}.totals{background:#edf2fc;border-radius:12px;padding:20px;margin-top:24px}.totals h2{margin-bottom:5px}.totals p:last-child{margin-bottom:0}footer{text-align:center;font-size:12px;color:#758091;padding:44px 0}.login-shell{max-width:540px;margin:12vh auto;padding:36px}.login-shell h1{font-size:42px;line-height:1.3;margin:24px 0}.login-shell .primary{margin:25px 0 15px}.editor{border:1px solid #d6dce5;border-radius:16px;padding:28px;width:min(650px,calc(100% - 24px));max-height:90vh;overflow:auto;color:#22252a}.editor::backdrop{background:#18253870}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.editor-heading .eyebrow{margin-bottom:6px}.editor-heading h2{margin:0;font-size:22px}.editor form{display:grid;gap:18px}.editor-actions,.secondary-actions{display:flex;gap:10px;flex-wrap:wrap}.secondary-actions{border-top:1px solid #e0e5ec;padding-top:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}fieldset{border:1px solid #dbe1e9;border-radius:10px;padding:16px;min-width:0}legend{padding:0 7px;font-weight:600}.trip-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f5f7fa;border-radius:8px;padding:14px;margin-bottom:16px}.entry-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.app-shell{padding:0 18px}.app-header{height:72px}nav{gap:2px;justify-content:space-between;margin:18px 0 28px}nav button{min-width:0;flex:1;padding:10px 8px}.page-heading{align-items:flex-start}h1{font-size:28px}.page-heading .primary{padding:10px 12px}.filters{flex-wrap:wrap}.search-label{min-width:65%}.filters>label:last-child:not(.search-label){width:100%}.record-list>li{padding:18px 16px;align-items:flex-start;gap:10px}.record-list button{padding:8px 10px;font-size:13px}.editor{padding:20px}.trip-entry,.form-grid{grid-template-columns:1fr}.editor-heading h2{font-size:20px}.login-shell{margin:7vh auto}.login-shell h1{font-size:36px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.certificates{margin:0 0 36px;padding-bottom:28px;border-bottom:1px solid #dce2ea}.certificates .list-heading{margin-top:0}.certificates .tag{margin-bottom:0}.certificate-title{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.certificate-title h3{margin:0}.certificate-domains{margin-top:10px}.certificate-list .record-main{width:100%}.certificate-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;margin:18px 0 0}.certificate-facts div:last-child{grid-column:1/-1}.certificate-facts dt{font-size:12px;color:#616b7a;margin-bottom:5px}.certificate-facts dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.certificate-ok{background:#e9f3ed;color:#216542}.expiry-fees-title{margin-bottom:18px}@media(max-width:600px){.certificates .filters button{flex:1}.certificate-facts{grid-template-columns:1fr}.certificates .search-label{flex-basis:100%}}
