:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:#1b2d3f;background:#f3f6fa;font-synthesis:none;--navy:#18364e;--blue:#2b5c82;--line:#e1e8ef;--muted:#667a8d;--shadow:0 10px 35px rgba(19,52,75,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #70a7d5;outline-offset:2px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.shell{max-width:1190px;margin:auto;padding:0 22px}.top{background:linear-gradient(118deg,#162e43,#244963);color:#fff;box-shadow:0 3px 18px #16344a16}.bar{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:11px;align-items:center;color:white;text-decoration:none;font-weight:850;font-size:15px;letter-spacing:.11em;line-height:1.25}.brand-sub{display:block;font-size:9px;letter-spacing:.18em;color:#c2d6e9;margin-top:4px}.logo{background:#d9e9f7;color:#1e4b70;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;font-size:21px;font-weight:900}.account{display:flex;align-items:center;gap:18px;font-size:13px;color:#d9e8f3}.top-btn{border:1px solid #7794a6;background:transparent;color:white;padding:9px 13px;border-radius:9px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:42px 0 22px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.11em;color:#5686ab;margin-bottom:10px}.heading h1,.login-panel h1{font-size:clamp(27px,4vw,39px);letter-spacing:-.045em;line-height:1.14;margin:0 0 10px;font-weight:830}.login-panel h1 span{color:#417096}.muted{color:var(--muted);font-size:14px;line-height:1.5;margin:0}.scope{display:flex;gap:9px;align-items:center;border:1px solid #dce6ed;background:#fff;padding:11px 14px;border-radius:12px;font-size:12px;color:#43627c;white-space:nowrap;font-weight:650}.scope-dot{width:8px;height:8px;border-radius:50%;background:#2ca587}.controls,.item,.login-panel{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:17px}.controls{padding:20px}.search-wrap{position:relative}.search-wrap input{padding-left:47px!important;font-size:15px!important}.search-icon{position:absolute;left:17px;top:11px;font-size:27px;color:#6686a2;line-height:1}.filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-top:15px}.filters label{font-size:12px;color:#4d6174;font-weight:750}.filters input,.filters select,.search-wrap input,.form-stack input{display:block;width:100%;min-width:0;border:1px solid #dce5ec;background:#fafcfe;color:#19364f;border-radius:10px;padding:12px 10px;font-weight:500;margin-top:7px;font-size:13px;height:44px}.search-wrap input{margin:0}.filter-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.hint{font-size:12px;color:#76899a}.secondary{border:1px solid #d5e1ea;background:#fff;color:#285477;border-radius:9px;font-size:13px;font-weight:700;padding:10px 13px;white-space:nowrap}.primary{border:0;background:var(--blue);color:white;border-radius:10px;font-weight:750;padding:14px 16px;width:100%;display:flex;align-items:center;justify-content:space-between}.result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:29px 0 13px}.result-head h2{font-size:19px;letter-spacing:-.02em;margin:0 0 3px}.icon-btn{width:40px;height:40px;border:1px solid #d7e2ec;background:#fff;border-radius:11px;font-size:24px;color:#416885}.list{display:grid;gap:10px}.item{padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,auto);gap:15px;align-items:center}.item-top{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.type{font-size:10px;font-weight:850;padding:5px 8px;border-radius:6px;background:#e9f1f9;color:#38648a;letter-spacing:.04em}.type.invoice{background:#edf5ed;color:#447b4a}.item-title{font-size:15px;font-weight:850;color:#213b51;margin:10px 0 5px;overflow-wrap:anywhere}.item-sub{font-size:13px;color:#5c7184;line-height:1.5}.item-meta{display:flex;gap:7px 15px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#75879a}.item-meta strong{color:#4c6880}.item-action{text-align:right;display:grid;gap:10px;justify-items:end}.net-label{font-size:10px;color:#6c8192;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.net{font-size:17px;color:#1e405a;font-weight:850;margin-top:3px;font-variant-numeric:tabular-nums}.download{padding:10px 14px;border:0;border-radius:9px;background:#2a5d84;color:#fff;font-weight:750;font-size:12px;white-space:nowrap}.no-pdf{font-size:12px;color:#8a99a5;background:#f1f4f6;border-radius:9px;padding:10px 12px}.pagination{display:flex;align-items:center;gap:12px;justify-content:center;margin:24px 0}.download-note{font-size:12px;color:#798b99;text-align:center;margin:0 0 50px}.empty{padding:45px 15px;text-align:center;background:#fff;border:1px dashed #d5e0e9;border-radius:15px;color:#61788a}.login-view{min-height:calc(100vh - 75px);display:flex;justify-content:center;align-items:center;padding:50px 0}.login-panel{padding:43px;max-width:480px;width:100%}.login-icon{width:49px;height:49px;background:#e5eff8;color:#3e6e97;border-radius:13px;font-size:29px;display:grid;place-items:center;margin-bottom:26px}.form-stack{display:grid;gap:17px;margin-top:26px}.form-stack label{font-size:12px;font-weight:800;color:#4c6478}.form-stack input{height:50px;font-size:15px;padding:13px;margin-top:8px}.error{color:#b52b36;background:#fff3f4;border:1px solid #f5d4d9;border-radius:9px;padding:10px 12px;font-size:13px;margin-top:16px}.footnote{font-size:11px;color:#8ba0af;margin-top:25px;line-height:1.6}.text-button{border:0;background:transparent;padding:10px;font-size:13px;color:#356386}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#203f56;color:white;padding:13px 21px;border-radius:12px;box-shadow:0 9px 30px #1c394559;z-index:9;font-size:13px;max-width:90vw}@media(max-width:1040px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.shell{padding:0 15px}.bar{min-height:66px}.account{gap:9px;font-size:12px}.top-btn{padding:8px 10px}.heading{display:block;margin:30px 0 20px}.heading h1{font-size:29px}.scope{display:inline-flex;margin-top:17px}.controls{padding:15px;border-radius:13px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.filters label:nth-child(2){grid-column:span 1}.filters label:nth-child(5){grid-column:span 2}.filter-footer{align-items:flex-end}.hint{max-width:210px;line-height:1.5}.item{display:block;padding:17px;border-radius:14px}.item-action{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:15px;border-top:1px solid #eaf0f4;gap:10px}.download{min-width:145px}.result-head{margin-top:24px}.login-view{align-items:start;padding:45px 0}.login-panel{padding:25px 20px}.brand{font-size:13px}.logo{width:32px;height:32px}.heading .muted{max-width:460px}}@media(max-width:390px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.item-action{flex-wrap:wrap}.filter-footer{display:block}.filter-footer button{margin-top:10px}.scope{white-space:normal}}



/* MADAK_CUDITECH_BRANDING_V3_START */
.brand{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:13px;padding:7px 13px;min-height:50px;font-size:0;letter-spacing:0;max-width:100%}
.brand-image{display:block;height:auto;width:auto;max-width:min(235px,58vw);max-height:54px;object-fit:contain}
.bar{min-height:88px}
.login-brand-wrap{display:flex;justify-content:center;align-items:center;margin-bottom:24px}
.login-brand{display:block;width:160px;height:160px;max-width:55vw;max-height:180px;object-fit:contain}
@media(max-width:650px){.bar{min-height:74px}.brand{padding:5px 9px;border-radius:10px}.brand-image{max-width:min(200px,60vw);max-height:44px}.login-brand{width:138px;height:138px}.login-brand-wrap{margin-bottom:20px}}
/* MADAK_CUDITECH_BRANDING_V3_END */


/* MADAK_MOBILE_WIDTH_V1_START */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-x: clip;
    }

    main.shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .login-view {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .login-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        padding: clamp(16px, 5vw, 25px);
    }

    .login-panel > *,
    .login-panel .form-stack,
    .login-panel .form-stack label {
        min-width: 0;
        max-width: 100%;
    }

    .login-panel input,
    .login-panel button {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .brand,
    .brand-image,
    .login-brand {
        max-width: 100%;
    }
}

/* MADAK_MOBILE_WIDTH_V1_END */

/* MADAK_WELCOME_SCREEN_V1 */
.welcome-view {
    width: 100%; min-width: 0; max-width: 100%;
    min-height: calc(100dvh - 88px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 0; box-sizing: border-box;
}
.welcome-panel {
    width: 100%; max-width: 480px; min-width: 0;
    padding: clamp(24px, 5vw, 44px);
    margin: 0 auto; text-align: center;
    background: #fff; border: 1px solid var(--line);
    border-radius: 17px; box-shadow: var(--shadow);
    box-sizing: border-box;
}
.welcome-brand {
    display: block; width: min(160px, 45vw); height: auto;
    max-width: 100%; max-height: 180px; object-fit: contain;
    margin: 0 auto 18px;
}
.welcome-panel h1 {
    font-size: clamp(27px, 6vw, 37px); line-height: 1.15;
    letter-spacing: -.04em; font-weight: 830;
    margin: 0; overflow-wrap: anywhere;
}
.welcome-description {
    color: var(--muted); font-size: 14px; line-height: 1.5;
    margin: 12px 0 25px;
}
.welcome-start {min-height: 52px; font-size: 15px; gap: 12px; text-align: left;}
@media(max-width: 650px) {
    .welcome-view { min-height: calc(100dvh - 74px); padding: 30px 0; }
    .welcome-panel {padding: 28px 20px;}
    .welcome-start {font-size: 16px;}
}
