/* V9 deliberately affects only the new import screen and result tools. */
.v9-shell{width:min(960px,calc(100% - 36px));margin:45px auto 80px;border:1px solid #d1e7da;border-radius:28px;padding:clamp(22px,5vw,55px);background:#fff;box-shadow:0 20px 60px #17463416;color:#163f32;font-family:inherit}
.v9-brand,.v9-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:850;color:#007a55}.v9-shell h1{font-size:clamp(37px,6vw,65px);letter-spacing:-.055em;line-height:1.1;margin:18px 0}.v9-shell h1 em{color:#198363;font-style:normal}.v9-shell h2{font-size:clamp(26px,4vw,38px);margin:18px 0}.v9-shell p{line-height:1.75;color:#436459}.v9-file-name{font-weight:750;word-break:break-word;color:#164a36!important}.v9-consent{display:flex;align-items:flex-start;gap:13px;padding:18px;background:#eaf5ed;border-radius:15px;line-height:1.65;font-size:14px;color:#194534}.v9-consent input{width:20px;height:20px;margin-top:2px;accent-color:#068963;flex:none}.v9-actions,.v9-manual-row,.v9-result-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}.v9-actions button,.v9-manual-row button,.v9-result-actions button{border:1px solid #b8d4c4;background:white;color:#125440;border-radius:12px;font-weight:800;padding:12px 18px;cursor:pointer}.v9-actions .v9-primary,.v9-result-actions .v9-primary{background:#067b59;color:white;border-color:#067b59}.v9-manual{margin-top:35px;border-top:1px solid #e4eae6;padding-top:22px}.v9-manual strong{font-size:17px}.v9-manual-row label{font-size:12px;font-weight:750}.v9-manual-row select{max-width:310px;min-width:200px;padding:12px;border:1px solid #b6d3c1;border-radius:10px;background:white;color:#183d32}.v9-notice{color:#aa3a24!important}.v9-spinner{display:grid;place-items:center;margin:0 auto 23px;border:5px solid #d2eee0;border-top-color:#09805e;width:94px;height:94px;border-radius:50%;font-size:38px;color:#087456;animation:v9-spin 2s linear infinite}@keyframes v9-spin{to{transform:rotate(360deg)}}.v9-alert{display:grid;place-items:center;background:#fff0e9;border-radius:18px;color:#b63b25;font-size:40px;font-weight:900;width:60px;height:60px}.v9-tools{border:1px solid #d2e8d9;border-radius:20px;background:#f6fbf8;padding:22px;margin:23px 0;color:#174d38}.v9-tools-head{display:flex;gap:15px}.v9-tools-head>span{color:#22845e;font-size:32px}.v9-tools-head strong{font-size:21px}.v9-tools-head p{font-size:13px;line-height:1.7}.v9-result-actions button{font-size:13px}.v9-tools-status{font-size:12px;color:#477866}.v9-details{border-top:1px solid #d3e7d8;margin-top:14px;padding-top:15px}.v9-details summary{font-weight:850;cursor:pointer;padding:7px}.v9-day-read{margin:13px 0;border:1px solid #d6eadd;border-radius:13px;background:white;padding:14px}.v9-day-read h4{font-size:17px;margin:0 0 10px}.v9-meal-note{padding:10px;border-top:1px solid #e9f1eb}.v9-meal-note strong{font-size:13px}.v9-meal-note p{margin:5px 0;font-size:13px}.v9-meal-note small{display:block;font-size:10px;font-weight:800;color:#477866}.v9-meal-note>div{display:flex;flex-wrap:wrap;gap:8px}.v9-meal-note span{border-radius:7px;background:#e9f6ed;padding:5px 9px;font-size:11px}.v9-meal-note .v9-uncertain{color:#a23c23;background:#fff0eb}
@media(max-width:640px){.v9-shell{width:calc(100% - 20px);margin:16px auto 45px;border-radius:18px;padding:21px 17px}.v9-consent{font-size:13px}.v9-actions button,.v9-result-actions button{width:100%}.v9-manual-row{align-items:stretch;flex-direction:column}.v9-manual-row select,.v9-manual-row button{max-width:none;width:100%}.v9-tools{padding:15px}.v9-tools-head strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.v9-spinner{animation:none}}

/* KONTROLKA_V9_3_DIRECT_RESULTS — only the existing upload/processing screens */
.v9-upload-consent{margin:16px 0 18px;max-width:100%}
.v9-upload-consent .v9-consent{font-size:13px;padding:14px 16px}
.v9-upload-note{font-size:12px;color:#50776b;margin:8px 0 0;line-height:1.5}
.v9-upload-pending{font-size:13px;font-weight:700;color:#096c51;margin:8px 0 0;line-height:1.5}
.v9-compact-manual{border:1px solid #d4e7dc;border-radius:12px;padding:12px 16px;margin:16px 0;color:#195b48;background:#f7fbf8}
.v9-compact-manual summary{cursor:pointer;font-weight:800;font-size:13px}
.v9-compact-manual .v9-manual-row{margin-top:12px}
.v9-inline-error{border:1px solid #e6b5a4;background:#fff5f0;border-radius:14px;padding:15px;margin:17px 0;color:#842f1d}
.v9-inline-error[hidden]{display:none!important}
.v9-inline-error strong{font-size:15px}
.v9-inline-error p{font-size:13px;line-height:1.6}
.v9-inline-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.v9-inline-actions button{background:#fff;color:#824029;border:1px solid #e3b8a7;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}
.v76-stepper [hidden],.v76-timeline [hidden]{display:none!important}
@media(max-width:640px){.v9-upload-consent .v9-consent{font-size:12px}.v9-inline-actions button{width:100%}}
