*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Arial;background:#f6f8ff;color:#17233b}header{background:linear-gradient(120deg,#123a96,#1d4ed8);color:white;padding:27px 20px}header .wrap{max-width:1030px;margin:auto}header h1{margin:0 0 6px;font-size:clamp(23px,3.8vw,35px)}header p{opacity:.88;margin:0}.wrap{max-width:1030px;margin:22px auto;padding:0 18px}.card{background:white;border:1px solid #e1e8ff;border-radius:17px;padding:23px;box-shadow:0 12px 40px #1d4ed80d}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.full{grid-column:1/-1}label{font-weight:680;display:block;margin:0 0 7px}input,select,textarea{width:100%;border:1px solid #ccd6f4;border-radius:10px;padding:12px;font:inherit;background:#fff;color:#17233b}textarea{min-height:90px}input:focus,textarea:focus,select:focus{outline:3px solid #acc7ff;border-color:#1d4ed8}input[type=checkbox]{width:auto;accent-color:#1d4ed8}input[type=file]{font-size:13px}button{background:#1d4ed8;color:white;border:0;border-radius:10px;padding:12px 17px;cursor:pointer;font:inherit;font-weight:760}button:hover:not(:disabled){filter:brightness(1.07)}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#eaf0ff;color:#1d4ed8}.danger{background:#ad2436}.warning{color:#a45a00}.note{font-size:14px;color:#596983}.msg{margin-top:16px;font-weight:650;min-height:22px}.error{color:#b42331}.success{color:#1d4ed8}.pill{display:inline-block;padding:5px 10px;border-radius:99px;background:#eaf0ff;color:#1d4ed8;font-weight:750;font-size:12px}.pill.closed{background:#f1f1f1;color:#676767}.pill.pending{background:#fff2d8;color:#986000}.pill.rejected{background:#ffe5e7;color:#a32935}.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.hide{display:none!important}h2{font-size:21px;margin:0 0 16px}h3{margin:0 0 10px}.section{padding:16px 0;border-top:1px solid #e1e8ff}.category-panel{border:1px solid #d8e2ff;padding:16px;border-radius:12px;background:#f6f8ff;margin:14px 0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:11px 8px;border-bottom:1px solid #e1e8ff;text-align:left;vertical-align:top}th{color:#566987;font-size:12px;white-space:nowrap}td input[type=number]{min-width:85px;max-width:105px}.actions{display:flex;flex-wrap:wrap;gap:7px}a{color:#1d4ed8}.doclinks a{margin-right:14px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.team-detail{background:#f8faff;padding:16px;border-radius:12px;white-space:pre-wrap;line-height:1.6}.foot{padding:28px;text-align:center;color:#687994;font-size:13px}@media(max-width:720px){.grid,.admin-grid{grid-template-columns:1fr}.card{padding:16px}}
/* LS2027 visual identity */
header{background:linear-gradient(112deg,#123a96 0%,#1d4ed8 72%,#ff4d18 135%)}
header .wrap{display:flex;align-items:center;gap:18px}
.ls-logo{width:76px;height:76px;object-fit:contain;flex:0 0 auto;background:white;border-radius:16px;padding:6px;box-shadow:0 8px 20px #061c4633}
button:hover:not(:disabled){filter:brightness(1.06)}
button.danger{background:#c5303e}
.category-panel{border-left:4px solid #ff4d18}
@media(max-width:600px){.ls-logo{width:56px;height:56px;border-radius:10px}header .wrap{gap:12px}}

/* V1.4: single-page document preview and approved team editing */
.doclinks{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.doclinks button{width:auto}.document-viewer{background:#f6f8ff;border:1px solid #dbe5ff;border-radius:14px;padding:14px;min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.document-viewer img{max-width:100%;max-height:560px;object-fit:contain;border-radius:8px;box-shadow:0 2px 12px #1d4ed81c}.edit-section{margin-top:24px;padding-top:20px;border-top:2px solid #ff4d18}.edit-section textarea{min-height:90px}
