:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2c4c;background:#eaf0fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}#app{min-height:100dvh;max-width:760px;margin:auto;background:#f5f7fc;box-shadow:0 0 60px #1a2c4730}.splash{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:32px;font-weight:900;background:#11274d;color:white}.splash small{font-size:13px;margin-top:10px;color:#bccffb}.header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 18px 12px;background:#fff;border-bottom:1px solid #e2e8f1}.logo{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:850;letter-spacing:-.6px}.mark{background:linear-gradient(145deg,#426bf6,#213c8c);color:#fff;display:grid;place-items:center;width:37px;height:37px;border-radius:12px;box-shadow:0 4px 10px #416af447}.small{color:#7b88a1;font-size:12px}.labelchip{font-size:11px;padding:5px 8px;background:#e7eefb;border-radius:20px;color:#39568a}.body{padding:18px 16px 105px;min-height:calc(100dvh - 70px)}h1{font-size:25px;line-height:1.2;letter-spacing:-.8px;margin:0 0 8px}h2{font-size:18px;letter-spacing:-.35px;margin:0 0 12px}h3{font-size:15px;margin:0 0 12px}.muted{color:#78849a;font-size:13px;line-height:1.45}.hero{background:linear-gradient(115deg,#132b57,#436be1);color:#fff;border-radius:20px;padding:21px;margin-bottom:16px;box-shadow:0 7px 18px #243e7630}.hero p{color:#d7e5ff;font-size:13px}.hero h2{font-size:21px}.card{background:white;padding:16px;border:1px solid #e3e9f3;border-radius:17px;margin-bottom:13px;box-shadow:0 3px 12px #25345006}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.kpi{background:white;padding:15px;border:1px solid #e5eaf4;border-radius:15px}.kpi strong{display:block;font-size:27px;letter-spacing:-1px}.kpi span{color:#8995a8;font-size:12px}.btn{background:#3d66eb;color:#fff;border:0;border-radius:12px;padding:12px 15px;font-weight:750;min-height:43px}.btn.alt{background:#eaf0ff;color:#3357c0}.btn.line{background:#fff;color:#3151a4;border:1px solid #dae3f3}.btn.red{background:#fff0f0;color:#ba3e3e}.btn.full{width:100%}.btn.smallbtn{padding:8px 10px;min-height:32px;font-size:12px}.row{display:flex;align-items:center;gap:9px}.between{display:flex;justify-content:space-between;align-items:center;gap:8px}.wrap{flex-wrap:wrap}label{font-size:12px;font-weight:750;display:block;margin:14px 0 5px;color:#425170}input:not([type=file]):not([type=checkbox]),textarea,select{width:100%;border:1px solid #d7dfed;background:#fff;color:#1c2c4c;border-radius:11px;min-height:45px;padding:11px;font-size:15px;outline:0}textarea{resize:vertical;min-height:70px}input:focus,textarea:focus,select:focus{border-color:#6485ed;box-shadow:0 0 0 3px #e5ebff}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);padding:8px 8px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e3e9f1;display:flex;gap:4px;z-index:10;overflow-x:auto}.bottom button{border:0;background:transparent;min-width:59px;flex:1;white-space:nowrap;border-radius:12px;padding:8px 5px;color:#7d8ca3;font-size:11px;font-weight:700}.bottom button.selected{background:#ecf1ff;color:#315bdd}.bottom .sym{display:block;font-size:19px;margin:0 0 1px}.segment{display:flex;gap:5px;overflow:auto;margin:10px 0 13px}.segment button{flex:1;min-width:max-content;border:1px solid #e0e7f2;background:white;border-radius:10px;padding:10px 12px;color:#63758e;font-size:12px;font-weight:700}.segment .active{background:#172e58;color:#fff}.listItem{padding:12px 0;border-bottom:1px solid #e6eaf2}.listItem:last-child{border:0}.pill{display:inline-flex;padding:4px 7px;font-size:10px;font-weight:750;border-radius:8px;background:#e9efff;color:#3658ab}.pill.green{background:#e4f8ee;color:#16734d}.pill.orange{background:#fff1d9;color:#9e671b}.pill.red{background:#ffeaeb;color:#ab3e46}.note{padding:11px;border-radius:11px;background:#fff3e0;color:#8a6320;font-size:12px;line-height:1.45;margin:12px 0}.ok{padding:11px;border-radius:11px;background:#e6f9ed;color:#11653c;font-size:12px;margin:9px 0}.error{padding:11px;border-radius:11px;background:#fce9e9;color:#ab3137;font-size:12px;margin:9px 0}.loginScreen{min-height:100dvh;background:linear-gradient(145deg,#112549,#3559ac);display:flex;align-items:center;justify-content:center;padding:20px}.loginBox{width:100%;max-width:390px;background:white;border-radius:24px;padding:24px;box-shadow:0 22px 70px #0b204d66}.loginBox h1{margin-top:22px}.sectionHead{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:13px}.circle{width:114px;height:114px;border-radius:50%;background:conic-gradient(#3564e5 0 45%,#22ab99 45% 75%,#eab458 75% 100%);position:relative;flex-shrink:0;display:grid;place-items:center}.circle:after{content:"";position:absolute;inset:23px;border-radius:100%;background:white}.circle strong{position:relative;z-index:1;font-size:21px}.legend{flex:1;min-width:0;font-size:11px}.dot{width:9px;height:9px;border-radius:3px;display:inline-block;margin-right:5px}.filePill{display:inline-flex;align-items:center;gap:6px;padding:12px 13px;border-radius:11px;background:#edf2ff;color:#345ab7;font-weight:800;font-size:13px;margin:7px 6px 7px 0;cursor:pointer}.thumb{width:100%;max-height:230px;object-fit:contain;border-radius:12px;margin:9px 0}.hide{display:none!important}.banner{font-size:11px;background:#fef1d6;color:#8d651c;padding:8px 16px}.sep{border-top:1px solid #e9edf4;margin:13px 0}.progress{height:8px;border-radius:20px;background:#e8edf5;overflow:hidden}.progress>span{display:block;height:100%;background:#436aec;border-radius:20px}.selectGroup{display:flex;gap:7px;align-items:center}.selectGroup select{flex:1}.toast{position:fixed;z-index:30;left:50%;bottom:85px;transform:translateX(-50%);background:#12274b;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 8px 30px #10253d55;max-width:90vw;font-size:13px}.loadingText{padding:25px;text-align:center;color:#71819c}.sensitive{font-size:11px;color:#8993a6}.checkboxLine{display:flex;gap:7px;align-items:flex-start;font-size:12px}.checkboxLine input{margin-top:3px}.btn:focus-visible,button:focus-visible{outline:3px solid #81a6ff}@media(min-width:680px){.body{padding:25px 30px 115px}.header{padding:20px 28px}.loginScreen{min-height:100vh}}

/* Sklepanje: jasno dosegljivo na ozkih zaslonih. */
.bottom button{min-width:45px;font-size:10px;padding:8px 3px}.bottom .sym{font-size:18px}
.contractHeroBtn{background:#fff;color:#2448a2}.contractExtras{background:#f4f7fd;border-radius:12px;margin-top:12px;padding:12px}.contractExtras .checkboxLine{margin:8px 0;display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.4}.contractSummary{border:1px solid #dce4f1;border-radius:12px;padding:13px;background:#f8faff}.contractSummary p{margin-bottom:6px}

/* Sklepanje: odzivna podpisna polja za iPhone/Android in miško. */
.signature-panel{background:#f8faff;border:1px solid #dce5f3;border-radius:13px;padding:11px;margin:12px 0}
.sign-canvas{display:block;width:100%;height:158px;margin-top:10px;border:2px dashed #b9c9e5;border-radius:10px;background:#fff;touch-action:none;user-select:none;-webkit-user-select:none;overscroll-behavior:contain;cursor:crosshair}
.signature-actions{margin-top:9px}.signature-actions .small{font-size:11px;max-width:55%}
@media(max-width:370px){.sign-canvas{height:135px}}
