:root{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#183b44;background:#eff6f7}*{box-sizing:border-box}body{margin:0}.wrap{max-width:980px;margin:auto;padding:22px}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #cddede;padding:12px 0 24px}.brand{font-size:21px;font-weight:750;color:#0b5963}.tag{font-size:12px;color:#497179}.card{background:#fff;border:1px solid #dbe8e8;border-radius:16px;padding:24px;margin:18px 0;box-shadow:0 10px 30px #1d60600b}.muted{color:#617a81}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin:14px 0}label{display:block;font-weight:650;margin-bottom:7px}input,select,textarea{width:100%;font:inherit;border:1px solid #b6cdce;border-radius:9px;padding:10px 12px;background:#fff;color:#163e42}textarea{min-height:110px}button,.btn{background:#006d64;color:white;display:inline-block;border:0;border-radius:9px;padding:11px 17px;font:inherit;font-weight:680;cursor:pointer;text-decoration:none}button:hover,.btn:hover{background:#005248}.secondary{background:#e4f0ed;color:#074f4c}.danger{background:#8d3c3c}.alert{padding:14px 18px;border-radius:9px;background:#fff3d9;border-left:4px solid #c8903f}.success{background:#ddf5e9;border-left-color:#2b9761}.status{padding:4px 8px;background:#e6f1f0;border-radius:6px}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #dae8e8;padding:10px;text-align:left}a{color:#006d64}footer{padding:30px 0;color:#70878c;font-size:12px}.preview{background:#f4f9f9;padding:18px;border-radius:12px}.media{display:flex;flex-wrap:wrap;gap:12px}.media img{max-width:150px;max-height:110px;object-fit:cover;border-radius:8px}.small{font-size:13px}.inline{display:inline}.inline button{padding:7px 10px}.tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}@media(max-width:650px){.grid{grid-template-columns:1fr}.wrap{padding:12px}.card{padding:17px}.top{flex-direction:column;align-items:flex-start}table{display:block;overflow:auto}} 

/* V2: компактный рабочий интерфейс, без правок основного сайта */
:root {--brand:#075b64;--border:#d9e7e8;--surface:#fff;--ink:#183b44}
body{background:linear-gradient(160deg,#eef7f7 0%,#f7fafb 80%);min-height:100vh}
.wrap{max-width:1060px}.top{background:rgba(255,255,255,.72);padding:16px 22px;border-radius:14px;border:1px solid var(--border);margin-top:6px}
.card{box-shadow:0 8px 30px rgba(8,70,74,.055)}.card h1{letter-spacing:-.025em}.field label{font-size:14px}
input:focus,textarea:focus,select:focus{outline:2px solid #8ac7c2;outline-offset:1px}
button:focus-visible,.btn:focus-visible,a:focus-visible{outline:3px solid #efa92f;outline-offset:2px}
.field-hint{font-size:12px;color:#617a81;margin-top:5px}.status-pill{display:inline-block;font-weight:700;font-size:13px;padding:8px 12px;border-radius:30px;background:#e3f1ef;color:#075b64}
.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px;margin-top:12px}.file-card{border:1px solid var(--border);border-radius:13px;padding:12px;background:#fbfdfd;min-width:0}.file-card img{width:100%;height:132px;object-fit:contain;background:#e7f0f1;border-radius:8px}.file-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px;font-size:13px}.file-card strong{font-size:13px}.file-name{overflow-wrap:anywhere;font-size:11px;color:#647e85}
.action-note{padding:14px;background:#e8f5f3;border-radius:9px;border-left:4px solid #08766c;margin-top:12px}.file-card button{font-size:12px;padding:7px 10px}.step-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#458080}
@media(max-width:650px){.top{padding:12px 15px}.card{border-radius:12px;margin:12px 0}.file-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
/* V4.0.01 - BLUE DESIGN */

:root {
    --brand: #8fc8ff;
    --border: #345575;
    --surface: #102e4d;
    --ink: #f1f6fc;
    color: #f1f6fc;
    background: #071e38;
    color-scheme: dark;
}

body {
    background: linear-gradient(160deg, #173c60, #071e38);
    min-height: 100vh;
}

.top {
    background: #102e4d;
    border-color: #345575;
}

.brand {
    color: #ffffff;
}

.tag, .muted, footer,
.field-hint, .file-name, .step-label {
    color: #adc6df;
}

.card, .file-card, .preview {
    background: #102e4d;
    border-color: #345575;
    color: #f1f6fc;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

input, select, textarea {
    background: #193b5d;
    border-color: #466b8e;
    color: #ffffff;
}

input::placeholder,
textarea::placeholder {
    color: #adc6df;
}

input:focus,
textarea:focus,
select:focus {
    outline-color: #8fc8ff;
}

button, .btn {
    background: #f12b32;
    color: #ffffff;
}

button:hover, .btn:hover {
    background: #d91f28;
}

.secondary {
    background: #234c73;
    color: #ffffff;
}

.danger {
    background: #922c38;
    color: #ffffff;
}

a {
    color: #9bcfff;
}

.status, .status-pill {
    background: #234c73;
    color: #d5eaff;
}

.alert {
    background: #49391e;
    color: #ffe3a3;
}

.success {
    background: #153e35;
    color: #b9f5d5;
}

.action-note {
    background: #193b5d;
    border-left-color: #8fc8ff;
}

.file-card img {
    background: #193b5d;
}

td, th {
    border-bottom-color: #345575;
}

/* END V4.0.01 */
