*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:#172943;font:14px system-ui,-apple-system,Segoe UI,sans-serif}button,.button{border:1px solid #cdd8e6;background:white;border-radius:8px;padding:10px 13px;cursor:pointer;color:#17375e;font-weight:600;text-decoration:none}button:hover,.button:hover{background:#e9f2ff}.primary,.button{background:#1266ce;color:white;border-color:#1266ce}.primary:hover,.button:hover{background:#0754b1;color:white}header{height:62px;background:#fff;border-bottom:1px solid #e0e8f1;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand{font-size:20px;color:#0754b1}.brand small{font-size:12px;margin-left:12px;color:#64748b}.account{font-weight:600}.account span{font-weight:400;color:#64748b}.top{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;gap:12px}.top h1{margin:0;font-size:21px}.top p{margin:5px 0 0;color:#64748b}.tools{display:flex;gap:8px}.workspace{height:calc(100vh - 152px);min-height:540px;display:grid;grid-template-columns:minmax(230px,20%) minmax(340px,43%) minmax(350px,37%);gap:10px;padding:0 12px 12px}.sidebar,.pdfpane,.editpane{background:white;border:1px solid #dfe7f1;border-radius:12px;overflow:hidden}.sidebar{display:flex;flex-direction:column}.sidebarhead,.paneltitle{padding:13px 15px;border-bottom:1px solid #e5ebf2;display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebarhead span{background:#eaf2ff;color:#095bbb;border-radius:18px;padding:4px 9px}.sidebar>input{margin:12px;width:calc(100% - 24px)}input,select,textarea{border:1px solid #cbd6e4;border-radius:7px;padding:10px;font:inherit;width:100%;background:white;color:#172943}input:focus,select:focus,textarea:focus{outline:2px solid #a4caff;border-color:#3175c9}.filters{display:flex;padding:0 10px 10px;gap:4px}.filters button{font-size:12px;padding:7px;flex:1}.filters .active,.tabs .active{background:#e7f1ff;color:#075fcb;border-color:#b8d7fa}.guidelist{overflow:auto;flex:1}.guide{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #edf1f6;border-radius:0;padding:12px 15px;font-weight:400}.guide strong{display:block}.guide small{display:block;color:#667b96;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guide.selected{background:#e6f2ff;border-left:4px solid #176fd4}.guide .state{float:right;font-size:11px;color:#d04b3c}.guide .state.done{color:#14945e}.docselect{padding:12px;border-top:1px solid #e5ebf2}.docselect label{font-weight:700}.muted{color:#718096;font-size:12px}.pdfpane{display:flex;flex-direction:column}.pdfpane iframe{border:0;width:100%;flex:1;background:#e2e8f0}.paneltitle button{padding:5px 10px}.paneltitle span{margin:0 5px}.editpane{display:flex;flex-direction:column}.pill{font-size:11px;border-radius:16px;background:#fff0e9;color:#aa4b18;padding:5px 9px}.pill.done{background:#e4f8ee;color:#138650}.tabs{display:flex;border-bottom:1px solid #e5ebf2}.tabs button{border:0;border-radius:0;flex:1;padding:13px 5px}form{flex:1;overflow:auto}.tabbody{padding:18px}.tabbody label{display:block;font-size:12px;font-weight:700;margin-bottom:17px;color:#334967}.tabbody label input,.tabbody label select,.tabbody label textarea{display:block;margin-top:7px;font-weight:400}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hidden{display:none!important}.pending{border:1px solid #df3c3c!important;background:#fff0f0!important;color:#9b2424!important}.validation{margin:0 16px 12px;padding:10px 12px;border-radius:8px;background:#fff1ed;color:#9c3c2d;font-size:12px}.validation.ok{background:#e6f8ee;color:#0c7b48}footer{display:flex;gap:8px;padding:14px 16px;border-top:1px solid #e5ebf2;justify-content:space-between}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#16395f;color:white;border-radius:9px;padding:12px 18px;display:none}.auth{max-width:550px;margin:14vh auto;padding:30px;border-radius:12px;background:white;box-shadow:0 8px 30px #cbd5e155}@media(max-width:1050px){.workspace{height:auto;grid-template-columns:260px 1fr}.sidebar{grid-row:span 2;min-height:650px}.pdfpane{height:550px}.editpane{min-height:550px}}@media(max-width:700px){header{padding:0 12px}.top{flex-wrap:wrap}.workspace{display:block}.sidebar,.pdfpane,.editpane{margin-bottom:10px}.sidebar{height:300px;min-height:0}.pdfpane{height:430px}.editpane{min-height:530px}.two{grid-template-columns:1fr}}